.class public final Lv9/l;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lv9/l$a;
    }
.end annotation


# static fields
.field public static final e:Lv9/l;

.field public static final f:Lv9/l;


# instance fields
.field public final a:Z

.field public final b:Z

.field public final c:[Ljava/lang/String;

.field public final d:[Ljava/lang/String;


# direct methods
.method public static constructor <clinit>()V
    .registers 20

    const/16 v0, 0x9

    new-array v1, v0, [Lv9/j;

    sget-object v2, Lv9/j;->q:Lv9/j;

    const/4 v3, 0x0

    aput-object v2, v1, v3

    sget-object v4, Lv9/j;->r:Lv9/j;

    const/4 v5, 0x1

    aput-object v4, v1, v5

    sget-object v6, Lv9/j;->s:Lv9/j;

    const/4 v7, 0x2

    aput-object v6, v1, v7

    sget-object v8, Lv9/j;->k:Lv9/j;

    const/4 v9, 0x3

    aput-object v8, v1, v9

    sget-object v10, Lv9/j;->m:Lv9/j;

    const/4 v11, 0x4

    aput-object v10, v1, v11

    sget-object v12, Lv9/j;->l:Lv9/j;

    const/4 v13, 0x5

    aput-object v12, v1, v13

    sget-object v14, Lv9/j;->n:Lv9/j;

    const/4 v15, 0x6

    aput-object v14, v1, v15

    sget-object v16, Lv9/j;->p:Lv9/j;

    const/16 v17, 0x7

    aput-object v16, v1, v17

    sget-object v18, Lv9/j;->o:Lv9/j;

    const/16 v19, 0x8

    aput-object v18, v1, v19

    const/16 v0, 0x10

    new-array v15, v0, [Lv9/j;

    aput-object v2, v15, v3

    aput-object v4, v15, v5

    aput-object v6, v15, v7

    aput-object v8, v15, v9

    aput-object v10, v15, v11

    aput-object v12, v15, v13

    const/4 v2, 0x6

    aput-object v14, v15, v2

    aput-object v16, v15, v17

    aput-object v18, v15, v19

    sget-object v2, Lv9/j;->i:Lv9/j;

    const/16 v4, 0x9

    aput-object v2, v15, v4

    sget-object v2, Lv9/j;->j:Lv9/j;

    const/16 v4, 0xa

    aput-object v2, v15, v4

    sget-object v2, Lv9/j;->g:Lv9/j;

    const/16 v4, 0xb

    aput-object v2, v15, v4

    sget-object v2, Lv9/j;->h:Lv9/j;

    const/16 v4, 0xc

    aput-object v2, v15, v4

    sget-object v2, Lv9/j;->e:Lv9/j;

    const/16 v4, 0xd

    aput-object v2, v15, v4

    sget-object v2, Lv9/j;->f:Lv9/j;

    const/16 v4, 0xe

    aput-object v2, v15, v4

    sget-object v2, Lv9/j;->d:Lv9/j;

    const/16 v4, 0xf

    aput-object v2, v15, v4

    new-instance v2, Lv9/l$a;

    invoke-direct {v2, v5}, Lv9/l$a;-><init>(Z)V

    const/16 v4, 0x9

    invoke-static {v1, v4}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [Lv9/j;

    invoke-virtual {v2, v1}, Lv9/l$a;->c([Lv9/j;)Lv9/l$a;

    new-array v1, v7, [Lv9/k0;

    sget-object v4, Lv9/k0;->s:Lv9/k0;

    aput-object v4, v1, v3

    sget-object v6, Lv9/k0;->t:Lv9/k0;

    aput-object v6, v1, v5

    invoke-virtual {v2, v1}, Lv9/l$a;->f([Lv9/k0;)Lv9/l$a;

    invoke-virtual {v2, v5}, Lv9/l$a;->d(Z)Lv9/l$a;

    invoke-virtual {v2}, Lv9/l$a;->a()Lv9/l;

    new-instance v1, Lv9/l$a;

    invoke-direct {v1, v5}, Lv9/l$a;-><init>(Z)V

    invoke-static {v15, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v2

    check-cast v2, [Lv9/j;

    invoke-virtual {v1, v2}, Lv9/l$a;->c([Lv9/j;)Lv9/l$a;

    new-array v2, v7, [Lv9/k0;

    aput-object v4, v2, v3

    aput-object v6, v2, v5

    invoke-virtual {v1, v2}, Lv9/l$a;->f([Lv9/k0;)Lv9/l$a;

    invoke-virtual {v1, v5}, Lv9/l$a;->d(Z)Lv9/l$a;

    invoke-virtual {v1}, Lv9/l$a;->a()Lv9/l;

    move-result-object v1

    sput-object v1, Lv9/l;->e:Lv9/l;

    new-instance v1, Lv9/l$a;

    invoke-direct {v1, v5}, Lv9/l$a;-><init>(Z)V

    invoke-static {v15, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Lv9/j;

    invoke-virtual {v1, v0}, Lv9/l$a;->c([Lv9/j;)Lv9/l$a;

    new-array v0, v11, [Lv9/k0;

    aput-object v4, v0, v3

    aput-object v6, v0, v5

    sget-object v2, Lv9/k0;->u:Lv9/k0;

    aput-object v2, v0, v7

    sget-object v2, Lv9/k0;->v:Lv9/k0;

    aput-object v2, v0, v9

    invoke-virtual {v1, v0}, Lv9/l$a;->f([Lv9/k0;)Lv9/l$a;

    invoke-virtual {v1, v5}, Lv9/l$a;->d(Z)Lv9/l$a;

    invoke-virtual {v1}, Lv9/l$a;->a()Lv9/l;

    .line 1
    new-instance v0, Lv9/l;

    const/4 v1, 0x0

    invoke-direct {v0, v3, v3, v1, v1}, Lv9/l;-><init>(ZZ[Ljava/lang/String;[Ljava/lang/String;)V

    .line 2
    sput-object v0, Lv9/l;->f:Lv9/l;

    return-void
.end method

.method public constructor <init>(ZZ[Ljava/lang/String;[Ljava/lang/String;)V
    .registers 5

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-boolean p1, p0, Lv9/l;->a:Z

    iput-boolean p2, p0, Lv9/l;->b:Z

    iput-object p3, p0, Lv9/l;->c:[Ljava/lang/String;

    iput-object p4, p0, Lv9/l;->d:[Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public final a()Ljava/util/List;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lv9/j;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lv9/l;->c:[Ljava/lang/String;

    if-eqz v0, :cond_21

    new-instance v1, Ljava/util/ArrayList;

    array-length v2, v0

    invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V

    array-length v2, v0

    const/4 v3, 0x0

    :goto_c
    if-ge v3, v2, :cond_1c

    aget-object v4, v0, v3

    sget-object v5, Lv9/j;->t:Lv9/j$b;

    invoke-virtual {v5, v4}, Lv9/j$b;->b(Ljava/lang/String;)Lv9/j;

    move-result-object v4

    invoke-interface {v1, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    add-int/lit8 v3, v3, 0x1

    goto :goto_c

    :cond_1c
    invoke-static {v1}, Lz8/i;->m(Ljava/lang/Iterable;)Ljava/util/List;

    move-result-object v0

    goto :goto_22

    :cond_21
    const/4 v0, 0x0

    :goto_22
    return-object v0
.end method

.method public final b(Ljavax/net/ssl/SSLSocket;)Z
    .registers 6

    const-string v0, "socket"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    iget-boolean v0, p0, Lv9/l;->a:Z

    const/4 v1, 0x0

    if-nez v0, :cond_b

    return v1

    :cond_b
    iget-object v0, p0, Lv9/l;->d:[Ljava/lang/String;

    if-eqz v0, :cond_1c

    invoke-virtual {p1}, Ljavax/net/ssl/SSLSocket;->getEnabledProtocols()[Ljava/lang/String;

    move-result-object v2

    sget-object v3, La9/a;->r:La9/a;

    invoke-static {v0, v2, v3}, Lw9/c;->j([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z

    move-result v0

    if-nez v0, :cond_1c

    return v1

    :cond_1c
    iget-object v0, p0, Lv9/l;->c:[Ljava/lang/String;

    if-eqz v0, :cond_31

    invoke-virtual {p1}, Ljavax/net/ssl/SSLSocket;->getEnabledCipherSuites()[Ljava/lang/String;

    move-result-object p1

    sget-object v2, Lv9/j;->t:Lv9/j$b;

    .line 1
    sget-object v2, Lv9/j;->b:Ljava/util/Comparator;

    sget-object v2, Lv9/j;->b:Ljava/util/Comparator;

    .line 2
    invoke-static {v0, p1, v2}, Lw9/c;->j([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z

    move-result p1

    if-nez p1, :cond_31

    return v1

    :cond_31
    const/4 p1, 0x1

    return p1
.end method

.method public final c()Ljava/util/List;
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lv9/k0;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lv9/l;->d:[Ljava/lang/String;

    if-eqz v0, :cond_21

    new-instance v1, Ljava/util/ArrayList;

    array-length v2, v0

    invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V

    array-length v2, v0

    const/4 v3, 0x0

    :goto_c
    if-ge v3, v2, :cond_1c

    aget-object v4, v0, v3

    sget-object v5, Lv9/k0;->y:Lv9/k0$a;

    invoke-virtual {v5, v4}, Lv9/k0$a;->a(Ljava/lang/String;)Lv9/k0;

    move-result-object v4

    invoke-interface {v1, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    add-int/lit8 v3, v3, 0x1

    goto :goto_c

    :cond_1c
    invoke-static {v1}, Lz8/i;->m(Ljava/lang/Iterable;)Ljava/util/List;

    move-result-object v0

    goto :goto_22

    :cond_21
    const/4 v0, 0x0

    :goto_22
    return-object v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .registers 6

    instance-of v0, p1, Lv9/l;

    const/4 v1, 0x0

    if-nez v0, :cond_6

    return v1

    :cond_6
    const/4 v0, 0x1

    if-ne p1, p0, :cond_a

    return v0

    :cond_a
    iget-boolean v2, p0, Lv9/l;->a:Z

    check-cast p1, Lv9/l;

    iget-boolean v3, p1, Lv9/l;->a:Z

    if-eq v2, v3, :cond_13

    return v1

    :cond_13
    if-eqz v2, :cond_32

    iget-object v2, p0, Lv9/l;->c:[Ljava/lang/String;

    iget-object v3, p1, Lv9/l;->c:[Ljava/lang/String;

    invoke-static {v2, v3}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_20

    return v1

    :cond_20
    iget-object v2, p0, Lv9/l;->d:[Ljava/lang/String;

    iget-object v3, p1, Lv9/l;->d:[Ljava/lang/String;

    invoke-static {v2, v3}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2b

    return v1

    :cond_2b
    iget-boolean v2, p0, Lv9/l;->b:Z

    iget-boolean p1, p1, Lv9/l;->b:Z

    if-eq v2, p1, :cond_32

    return v1

    :cond_32
    return v0
.end method

.method public hashCode()I
    .registers 4

    iget-boolean v0, p0, Lv9/l;->a:Z

    if-eqz v0, :cond_25

    const/16 v0, 0x20f

    iget-object v1, p0, Lv9/l;->c:[Ljava/lang/String;

    const/4 v2, 0x0

    if-eqz v1, :cond_10

    invoke-static {v1}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I

    move-result v1

    goto :goto_11

    :cond_10
    move v1, v2

    :goto_11
    add-int/2addr v0, v1

    mul-int/lit8 v0, v0, 0x1f

    iget-object v1, p0, Lv9/l;->d:[Ljava/lang/String;

    if-eqz v1, :cond_1c

    invoke-static {v1}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I

    move-result v2

    :cond_1c
    add-int/2addr v0, v2

    mul-int/lit8 v0, v0, 0x1f

    iget-boolean v1, p0, Lv9/l;->b:Z

    xor-int/lit8 v1, v1, 0x1

    add-int/2addr v0, v1

    goto :goto_27

    :cond_25
    const/16 v0, 0x11

    :goto_27
    return v0
.end method

.method public toString()Ljava/lang/String;
    .registers 5

    iget-boolean v0, p0, Lv9/l;->a:Z

    if-nez v0, :cond_7

    const-string v0, "ConnectionSpec()"

    return-object v0

    :cond_7
    const-string v0, "ConnectionSpec("

    const-string v1, "cipherSuites="

    invoke-static {v0, v1}, Le/k;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lv9/l;->a()Ljava/util/List;

    move-result-object v1

    const-string v2, "[all enabled]"

    invoke-static {v1, v2}, Ljava/util/Objects;->toString(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ", "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, "tlsVersions="

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lv9/l;->c()Ljava/util/List;

    move-result-object v3

    invoke-static {v3, v2}, Ljava/util/Objects;->toString(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "supportsTlsExtensions="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-boolean v1, p0, Lv9/l;->b:Z

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    const/16 v1, 0x29

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
