apkfuckery/com.discord/smali_classes2/g0/z.smali
2020-10-05 23:18:16 +00:00

1410 lines
31 KiB
Smali

.class public Lg0/z;
.super Ljava/lang/Object;
.source "OkHttpClient.kt"
# interfaces
.implements Ljava/lang/Cloneable;
.implements Lg0/f$a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lg0/z$a;,
Lg0/z$b;
}
.end annotation
# static fields
.field public static final H:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lg0/a0;",
">;"
}
.end annotation
.end field
.field public static final I:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lg0/n;",
">;"
}
.end annotation
.end field
.field public static final J:Lg0/z$b;
# instance fields
.field public final A:I
.field public final B:I
.field public final C:I
.field public final D:I
.field public final E:I
.field public final F:J
.field public final G:Lg0/h0/g/l;
.field public final d:Lg0/r;
.field public final e:Lg0/m;
.field public final f:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.end field
.field public final g:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lokhttp3/Interceptor;",
">;"
}
.end annotation
.end field
.field public final h:Lg0/u$b;
.field public final i:Z
.field public final j:Lg0/c;
.field public final k:Z
.field public final l:Z
.field public final m:Lg0/q;
.field public final n:Lg0/d;
.field public final o:Lg0/t;
.field public final p:Ljava/net/Proxy;
.field public final q:Ljava/net/ProxySelector;
.field public final r:Lg0/c;
.field public final s:Ljavax/net/SocketFactory;
.field public final t:Ljavax/net/ssl/SSLSocketFactory;
.field public final u:Ljavax/net/ssl/X509TrustManager;
.field public final v:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lg0/n;",
">;"
}
.end annotation
.end field
.field public final w:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lg0/a0;",
">;"
}
.end annotation
.end field
.field public final x:Ljavax/net/ssl/HostnameVerifier;
.field public final y:Lg0/h;
.field public final z:Lg0/h0/m/c;
# direct methods
.method public static constructor <clinit>()V
.locals 5
new-instance v0, Lg0/z$b;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lg0/z$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lg0/z;->J:Lg0/z$b;
const/4 v0, 0x2
new-array v1, v0, [Lg0/a0;
sget-object v2, Lg0/a0;->g:Lg0/a0;
const/4 v3, 0x0
aput-object v2, v1, v3
sget-object v2, Lg0/a0;->e:Lg0/a0;
const/4 v4, 0x1
aput-object v2, v1, v4
invoke-static {v1}, Lg0/h0/c;->o([Ljava/lang/Object;)Ljava/util/List;
move-result-object v1
sput-object v1, Lg0/z;->H:Ljava/util/List;
new-array v0, v0, [Lg0/n;
sget-object v1, Lg0/n;->g:Lg0/n;
aput-object v1, v0, v3
sget-object v1, Lg0/n;->h:Lg0/n;
aput-object v1, v0, v4
invoke-static {v0}, Lg0/h0/c;->o([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
sput-object v0, Lg0/z;->I:Ljava/util/List;
return-void
.end method
.method public constructor <init>()V
.locals 1
new-instance v0, Lg0/z$a;
invoke-direct {v0}, Lg0/z$a;-><init>()V
invoke-direct {p0, v0}, Lg0/z;-><init>(Lg0/z$a;)V
return-void
.end method
.method public constructor <init>(Lg0/z$a;)V
.locals 4
const-string v0, "builder"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iget-object v0, p1, Lg0/z$a;->a:Lg0/r;
iput-object v0, p0, Lg0/z;->d:Lg0/r;
iget-object v0, p1, Lg0/z$a;->b:Lg0/m;
iput-object v0, p0, Lg0/z;->e:Lg0/m;
iget-object v0, p1, Lg0/z$a;->c:Ljava/util/List;
invoke-static {v0}, Lg0/h0/c;->E(Ljava/util/List;)Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lg0/z;->f:Ljava/util/List;
iget-object v0, p1, Lg0/z$a;->d:Ljava/util/List;
invoke-static {v0}, Lg0/h0/c;->E(Ljava/util/List;)Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lg0/z;->g:Ljava/util/List;
iget-object v0, p1, Lg0/z$a;->e:Lg0/u$b;
iput-object v0, p0, Lg0/z;->h:Lg0/u$b;
iget-boolean v0, p1, Lg0/z$a;->f:Z
iput-boolean v0, p0, Lg0/z;->i:Z
iget-object v0, p1, Lg0/z$a;->g:Lg0/c;
iput-object v0, p0, Lg0/z;->j:Lg0/c;
iget-boolean v0, p1, Lg0/z$a;->h:Z
iput-boolean v0, p0, Lg0/z;->k:Z
iget-boolean v0, p1, Lg0/z$a;->i:Z
iput-boolean v0, p0, Lg0/z;->l:Z
iget-object v0, p1, Lg0/z$a;->j:Lg0/q;
iput-object v0, p0, Lg0/z;->m:Lg0/q;
const/4 v0, 0x0
iput-object v0, p0, Lg0/z;->n:Lg0/d;
iget-object v1, p1, Lg0/z$a;->l:Lg0/t;
iput-object v1, p0, Lg0/z;->o:Lg0/t;
iget-object v1, p1, Lg0/z$a;->m:Ljava/net/Proxy;
iput-object v1, p0, Lg0/z;->p:Ljava/net/Proxy;
if-eqz v1, :cond_0
sget-object v1, Lg0/h0/l/a;->a:Lg0/h0/l/a;
goto :goto_1
:cond_0
iget-object v1, p1, Lg0/z$a;->n:Ljava/net/ProxySelector;
if-eqz v1, :cond_1
goto :goto_0
:cond_1
invoke-static {}, Ljava/net/ProxySelector;->getDefault()Ljava/net/ProxySelector;
move-result-object v1
:goto_0
if-eqz v1, :cond_2
goto :goto_1
:cond_2
sget-object v1, Lg0/h0/l/a;->a:Lg0/h0/l/a;
:goto_1
iput-object v1, p0, Lg0/z;->q:Ljava/net/ProxySelector;
iget-object v1, p1, Lg0/z$a;->o:Lg0/c;
iput-object v1, p0, Lg0/z;->r:Lg0/c;
iget-object v1, p1, Lg0/z$a;->p:Ljavax/net/SocketFactory;
iput-object v1, p0, Lg0/z;->s:Ljavax/net/SocketFactory;
iget-object v1, p1, Lg0/z$a;->s:Ljava/util/List;
iput-object v1, p0, Lg0/z;->v:Ljava/util/List;
iget-object v1, p1, Lg0/z$a;->t:Ljava/util/List;
iput-object v1, p0, Lg0/z;->w:Ljava/util/List;
iget-object v1, p1, Lg0/z$a;->u:Ljavax/net/ssl/HostnameVerifier;
iput-object v1, p0, Lg0/z;->x:Ljavax/net/ssl/HostnameVerifier;
iget v1, p1, Lg0/z$a;->x:I
iput v1, p0, Lg0/z;->A:I
iget v1, p1, Lg0/z$a;->y:I
iput v1, p0, Lg0/z;->B:I
iget v1, p1, Lg0/z$a;->z:I
iput v1, p0, Lg0/z;->C:I
iget v1, p1, Lg0/z$a;->A:I
iput v1, p0, Lg0/z;->D:I
iget v1, p1, Lg0/z$a;->B:I
iput v1, p0, Lg0/z;->E:I
iget-wide v1, p1, Lg0/z$a;->C:J
iput-wide v1, p0, Lg0/z;->F:J
iget-object v1, p1, Lg0/z$a;->D:Lg0/h0/g/l;
if-eqz v1, :cond_3
goto :goto_2
:cond_3
new-instance v1, Lg0/h0/g/l;
invoke-direct {v1}, Lg0/h0/g/l;-><init>()V
:goto_2
iput-object v1, p0, Lg0/z;->G:Lg0/h0/g/l;
iget-object v1, p0, Lg0/z;->v:Ljava/util/List;
instance-of v2, v1, Ljava/util/Collection;
const/4 v3, 0x0
if-eqz v2, :cond_4
invoke-interface {v1}, Ljava/util/Collection;->isEmpty()Z
move-result v2
if-eqz v2, :cond_4
goto :goto_3
:cond_4
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_5
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_6
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lg0/n;
iget-boolean v2, v2, Lg0/n;->a:Z
if-eqz v2, :cond_5
const/4 v1, 0x0
goto :goto_4
:cond_6
:goto_3
const/4 v1, 0x1
:goto_4
if-eqz v1, :cond_7
iput-object v0, p0, Lg0/z;->t:Ljavax/net/ssl/SSLSocketFactory;
iput-object v0, p0, Lg0/z;->z:Lg0/h0/m/c;
iput-object v0, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
sget-object p1, Lg0/h;->c:Lg0/h;
iput-object p1, p0, Lg0/z;->y:Lg0/h;
goto :goto_5
:cond_7
iget-object v1, p1, Lg0/z$a;->q:Ljavax/net/ssl/SSLSocketFactory;
if-eqz v1, :cond_a
iput-object v1, p0, Lg0/z;->t:Ljavax/net/ssl/SSLSocketFactory;
iget-object v1, p1, Lg0/z$a;->w:Lg0/h0/m/c;
if-eqz v1, :cond_9
iput-object v1, p0, Lg0/z;->z:Lg0/h0/m/c;
iget-object v2, p1, Lg0/z$a;->r:Ljavax/net/ssl/X509TrustManager;
if-eqz v2, :cond_8
iput-object v2, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
iget-object p1, p1, Lg0/z$a;->v:Lg0/h;
invoke-virtual {p1, v1}, Lg0/h;->b(Lg0/h0/m/c;)Lg0/h;
move-result-object p1
iput-object p1, p0, Lg0/z;->y:Lg0/h;
goto :goto_5
:cond_8
invoke-static {}, Lc0/n/c/j;->throwNpe()V
throw v0
:cond_9
invoke-static {}, Lc0/n/c/j;->throwNpe()V
throw v0
:cond_a
sget-object v1, Lg0/h0/k/h;->c:Lg0/h0/k/h$a;
sget-object v1, Lg0/h0/k/h;->a:Lg0/h0/k/h;
invoke-virtual {v1}, Lg0/h0/k/h;->n()Ljavax/net/ssl/X509TrustManager;
move-result-object v1
iput-object v1, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
sget-object v1, Lg0/h0/k/h;->c:Lg0/h0/k/h$a;
sget-object v1, Lg0/h0/k/h;->a:Lg0/h0/k/h;
iget-object v2, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
if-eqz v2, :cond_1f
invoke-virtual {v1, v2}, Lg0/h0/k/h;->m(Ljavax/net/ssl/X509TrustManager;)Ljavax/net/ssl/SSLSocketFactory;
move-result-object v1
iput-object v1, p0, Lg0/z;->t:Ljavax/net/ssl/SSLSocketFactory;
iget-object v1, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
if-eqz v1, :cond_1e
const-string v2, "trustManager"
invoke-static {v1, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v2, Lg0/h0/k/h;->c:Lg0/h0/k/h$a;
sget-object v2, Lg0/h0/k/h;->a:Lg0/h0/k/h;
invoke-virtual {v2, v1}, Lg0/h0/k/h;->b(Ljavax/net/ssl/X509TrustManager;)Lg0/h0/m/c;
move-result-object v1
iput-object v1, p0, Lg0/z;->z:Lg0/h0/m/c;
iget-object p1, p1, Lg0/z$a;->v:Lg0/h;
if-eqz v1, :cond_1d
invoke-virtual {p1, v1}, Lg0/h;->b(Lg0/h0/m/c;)Lg0/h;
move-result-object p1
iput-object p1, p0, Lg0/z;->y:Lg0/h;
:goto_5
iget-object p1, p0, Lg0/z;->f:Ljava/util/List;
const-string v1, "null cannot be cast to non-null type kotlin.collections.List<okhttp3.Interceptor?>"
if-eqz p1, :cond_1c
invoke-interface {p1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result p1
xor-int/lit8 p1, p1, 0x1
if-eqz p1, :cond_1b
iget-object p1, p0, Lg0/z;->g:Ljava/util/List;
if-eqz p1, :cond_1a
invoke-interface {p1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result p1
xor-int/lit8 p1, p1, 0x1
if-eqz p1, :cond_19
iget-object p1, p0, Lg0/z;->v:Ljava/util/List;
instance-of v0, p1, Ljava/util/Collection;
if-eqz v0, :cond_b
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-eqz v0, :cond_b
goto :goto_6
:cond_b
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_c
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_d
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lg0/n;
iget-boolean v0, v0, Lg0/n;->a:Z
if-eqz v0, :cond_c
const/4 p1, 0x0
goto :goto_7
:cond_d
:goto_6
const/4 p1, 0x1
:goto_7
if-eqz p1, :cond_15
iget-object p1, p0, Lg0/z;->t:Ljavax/net/ssl/SSLSocketFactory;
if-nez p1, :cond_e
const/4 p1, 0x1
goto :goto_8
:cond_e
const/4 p1, 0x0
:goto_8
const-string v0, "Check failed."
if-eqz p1, :cond_14
iget-object p1, p0, Lg0/z;->z:Lg0/h0/m/c;
if-nez p1, :cond_f
const/4 p1, 0x1
goto :goto_9
:cond_f
const/4 p1, 0x0
:goto_9
if-eqz p1, :cond_13
iget-object p1, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
if-nez p1, :cond_10
const/4 v3, 0x1
:cond_10
if-eqz v3, :cond_12
iget-object p1, p0, Lg0/z;->y:Lg0/h;
sget-object v1, Lg0/h;->c:Lg0/h;
invoke-static {p1, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_11
goto :goto_a
:cond_11
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_12
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_13
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_14
new-instance p1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_15
iget-object p1, p0, Lg0/z;->t:Ljavax/net/ssl/SSLSocketFactory;
if-eqz p1, :cond_18
iget-object p1, p0, Lg0/z;->z:Lg0/h0/m/c;
if-eqz p1, :cond_17
iget-object p1, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
if-eqz p1, :cond_16
:goto_a
return-void
:cond_16
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "x509TrustManager == null"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_17
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "certificateChainCleaner == null"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_18
new-instance p1, Ljava/lang/IllegalStateException;
const-string v0, "sslSocketFactory == null"
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:cond_19
const-string p1, "Null network interceptor: "
invoke-static {p1}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p1
iget-object v0, p0, Lg0/z;->g:Ljava/util/List;
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1a
new-instance p1, Lkotlin/TypeCastException;
invoke-direct {p1, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1b
const-string p1, "Null interceptor: "
invoke-static {p1}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p1
iget-object v0, p0, Lg0/z;->f:Ljava/util/List;
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
new-instance v0, Ljava/lang/IllegalStateException;
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1c
new-instance p1, Lkotlin/TypeCastException;
invoke-direct {p1, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1d
invoke-static {}, Lc0/n/c/j;->throwNpe()V
throw v0
:cond_1e
invoke-static {}, Lc0/n/c/j;->throwNpe()V
throw v0
:cond_1f
invoke-static {}, Lc0/n/c/j;->throwNpe()V
throw v0
.end method
# virtual methods
.method public b(Lg0/b0;)Lg0/f;
.locals 2
const-string v0, "request"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lg0/h0/g/e;
const/4 v1, 0x0
invoke-direct {v0, p0, p1, v1}, Lg0/h0/g/e;-><init>(Lg0/z;Lg0/b0;Z)V
return-object v0
.end method
.method public c()Lg0/z$a;
.locals 3
new-instance v0, Lg0/z$a;
const-string v1, "okHttpClient"
invoke-static {p0, v1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {v0}, Lg0/z$a;-><init>()V
iget-object v1, p0, Lg0/z;->d:Lg0/r;
iput-object v1, v0, Lg0/z$a;->a:Lg0/r;
iget-object v1, p0, Lg0/z;->e:Lg0/m;
iput-object v1, v0, Lg0/z$a;->b:Lg0/m;
iget-object v1, v0, Lg0/z$a;->c:Ljava/util/List;
iget-object v2, p0, Lg0/z;->f:Ljava/util/List;
invoke-static {v1, v2}, Lf/h/a/f/f/n/f;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
iget-object v1, v0, Lg0/z$a;->d:Ljava/util/List;
iget-object v2, p0, Lg0/z;->g:Ljava/util/List;
invoke-static {v1, v2}, Lf/h/a/f/f/n/f;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
iget-object v1, p0, Lg0/z;->h:Lg0/u$b;
iput-object v1, v0, Lg0/z$a;->e:Lg0/u$b;
iget-boolean v1, p0, Lg0/z;->i:Z
iput-boolean v1, v0, Lg0/z$a;->f:Z
iget-object v1, p0, Lg0/z;->j:Lg0/c;
iput-object v1, v0, Lg0/z$a;->g:Lg0/c;
iget-boolean v1, p0, Lg0/z;->k:Z
iput-boolean v1, v0, Lg0/z$a;->h:Z
iget-boolean v1, p0, Lg0/z;->l:Z
iput-boolean v1, v0, Lg0/z$a;->i:Z
iget-object v1, p0, Lg0/z;->m:Lg0/q;
iput-object v1, v0, Lg0/z$a;->j:Lg0/q;
const/4 v1, 0x0
iput-object v1, v0, Lg0/z$a;->k:Lg0/d;
iget-object v1, p0, Lg0/z;->o:Lg0/t;
iput-object v1, v0, Lg0/z$a;->l:Lg0/t;
iget-object v1, p0, Lg0/z;->p:Ljava/net/Proxy;
iput-object v1, v0, Lg0/z$a;->m:Ljava/net/Proxy;
iget-object v1, p0, Lg0/z;->q:Ljava/net/ProxySelector;
iput-object v1, v0, Lg0/z$a;->n:Ljava/net/ProxySelector;
iget-object v1, p0, Lg0/z;->r:Lg0/c;
iput-object v1, v0, Lg0/z$a;->o:Lg0/c;
iget-object v1, p0, Lg0/z;->s:Ljavax/net/SocketFactory;
iput-object v1, v0, Lg0/z$a;->p:Ljavax/net/SocketFactory;
iget-object v1, p0, Lg0/z;->t:Ljavax/net/ssl/SSLSocketFactory;
iput-object v1, v0, Lg0/z$a;->q:Ljavax/net/ssl/SSLSocketFactory;
iget-object v1, p0, Lg0/z;->u:Ljavax/net/ssl/X509TrustManager;
iput-object v1, v0, Lg0/z$a;->r:Ljavax/net/ssl/X509TrustManager;
iget-object v1, p0, Lg0/z;->v:Ljava/util/List;
iput-object v1, v0, Lg0/z$a;->s:Ljava/util/List;
iget-object v1, p0, Lg0/z;->w:Ljava/util/List;
iput-object v1, v0, Lg0/z$a;->t:Ljava/util/List;
iget-object v1, p0, Lg0/z;->x:Ljavax/net/ssl/HostnameVerifier;
iput-object v1, v0, Lg0/z$a;->u:Ljavax/net/ssl/HostnameVerifier;
iget-object v1, p0, Lg0/z;->y:Lg0/h;
iput-object v1, v0, Lg0/z$a;->v:Lg0/h;
iget-object v1, p0, Lg0/z;->z:Lg0/h0/m/c;
iput-object v1, v0, Lg0/z$a;->w:Lg0/h0/m/c;
iget v1, p0, Lg0/z;->A:I
iput v1, v0, Lg0/z$a;->x:I
iget v1, p0, Lg0/z;->B:I
iput v1, v0, Lg0/z$a;->y:I
iget v1, p0, Lg0/z;->C:I
iput v1, v0, Lg0/z$a;->z:I
iget v1, p0, Lg0/z;->D:I
iput v1, v0, Lg0/z$a;->A:I
iget v1, p0, Lg0/z;->E:I
iput v1, v0, Lg0/z$a;->B:I
iget-wide v1, p0, Lg0/z;->F:J
iput-wide v1, v0, Lg0/z$a;->C:J
iget-object v1, p0, Lg0/z;->G:Lg0/h0/g/l;
iput-object v1, v0, Lg0/z$a;->D:Lg0/h0/g/l;
return-object v0
.end method
.method public clone()Ljava/lang/Object;
.locals 1
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
move-result-object v0
return-object v0
.end method
.method public d(Lg0/b0;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
.locals 19
move-object/from16 v0, p0
const-string v1, "request"
move-object/from16 v4, p1
invoke-static {v4, v1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v2, "listener"
move-object/from16 v5, p2
invoke-static {v5, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v12, Lg0/h0/n/d;
sget-object v3, Lg0/h0/f/d;->h:Lg0/h0/f/d;
new-instance v6, Ljava/util/Random;
invoke-direct {v6}, Ljava/util/Random;-><init>()V
iget v2, v0, Lg0/z;->E:I
int-to-long v7, v2
iget-wide v10, v0, Lg0/z;->F:J
const/4 v9, 0x0
move-object v2, v12
invoke-direct/range {v2 .. v11}, Lg0/h0/n/d;-><init>(Lg0/h0/f/d;Lg0/b0;Lokhttp3/WebSocketListener;Ljava/util/Random;JLg0/h0/n/f;J)V
const-string v2, "client"
invoke-static {v0, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v2, v12, Lg0/h0/n/d;->t:Lg0/b0;
const-string v3, "Sec-WebSocket-Extensions"
invoke-virtual {v2, v3}, Lg0/b0;->b(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
const/4 v4, 0x0
if-eqz v2, :cond_0
new-instance v1, Ljava/net/ProtocolException;
const-string v2, "Request header not permitted: \'Sec-WebSocket-Extensions\'"
invoke-direct {v1, v2}, Ljava/net/ProtocolException;-><init>(Ljava/lang/String;)V
invoke-virtual {v12, v1, v4}, Lg0/h0/n/d;->i(Ljava/lang/Exception;Lokhttp3/Response;)V
goto/16 :goto_3
:cond_0
invoke-virtual/range {p0 .. p0}, Lg0/z;->c()Lg0/z$a;
move-result-object v2
sget-object v5, Lg0/u;->a:Lg0/u;
const-string v6, "eventListener"
invoke-static {v5, v6}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v6, "$this$asFactory"
invoke-static {v5, v6}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v6, Lg0/h0/a;
invoke-direct {v6, v5}, Lg0/h0/a;-><init>(Lg0/u;)V
iput-object v6, v2, Lg0/z$a;->e:Lg0/u$b;
sget-object v5, Lg0/h0/n/d;->z:Ljava/util/List;
sget-object v6, Lg0/a0;->h:Lg0/a0;
const-string v7, "protocols"
invoke-static {v5, v7}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v5}, Lc0/i/f;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
move-result-object v5
move-object v7, v5
check-cast v7, Ljava/util/ArrayList;
invoke-virtual {v7, v6}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v8
const/4 v9, 0x0
const/4 v10, 0x1
if-nez v8, :cond_2
sget-object v8, Lg0/a0;->e:Lg0/a0;
invoke-virtual {v7, v8}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v8
if-eqz v8, :cond_1
goto :goto_0
:cond_1
const/4 v8, 0x0
goto :goto_1
:cond_2
:goto_0
const/4 v8, 0x1
:goto_1
if-eqz v8, :cond_c
invoke-virtual {v7, v6}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_3
invoke-virtual {v7}, Ljava/util/ArrayList;->size()I
move-result v6
if-gt v6, v10, :cond_4
:cond_3
const/4 v9, 0x1
:cond_4
if-eqz v9, :cond_b
sget-object v6, Lg0/a0;->d:Lg0/a0;
invoke-virtual {v7, v6}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v6
xor-int/2addr v6, v10
if-eqz v6, :cond_a
invoke-virtual {v7, v4}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z
move-result v6
xor-int/2addr v6, v10
if-eqz v6, :cond_9
sget-object v6, Lg0/a0;->f:Lg0/a0;
invoke-virtual {v7, v6}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
iget-object v6, v2, Lg0/z$a;->t:Ljava/util/List;
invoke-static {v5, v6}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v6
xor-int/2addr v6, v10
if-eqz v6, :cond_5
iput-object v4, v2, Lg0/z$a;->D:Lg0/h0/g/l;
:cond_5
invoke-static {v5}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object v5
const-string v6, "Collections.unmodifiableList(protocolsCopy)"
invoke-static {v5, v6}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iput-object v5, v2, Lg0/z$a;->t:Ljava/util/List;
new-instance v5, Lg0/z;
invoke-direct {v5, v2}, Lg0/z;-><init>(Lg0/z$a;)V
iget-object v2, v12, Lg0/h0/n/d;->t:Lg0/b0;
if-eqz v2, :cond_8
invoke-static {v2, v1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v1, Ljava/util/LinkedHashMap;
invoke-direct {v1}, Ljava/util/LinkedHashMap;-><init>()V
iget-object v14, v2, Lg0/b0;->b:Lg0/y;
iget-object v15, v2, Lg0/b0;->c:Ljava/lang/String;
iget-object v1, v2, Lg0/b0;->e:Lokhttp3/RequestBody;
iget-object v4, v2, Lg0/b0;->f:Ljava/util/Map;
invoke-interface {v4}, Ljava/util/Map;->isEmpty()Z
move-result v4
if-eqz v4, :cond_6
new-instance v4, Ljava/util/LinkedHashMap;
invoke-direct {v4}, Ljava/util/LinkedHashMap;-><init>()V
goto :goto_2
:cond_6
iget-object v4, v2, Lg0/b0;->f:Ljava/util/Map;
invoke-static {v4}, Lf/h/a/f/f/n/f;->toMutableMap(Ljava/util/Map;)Ljava/util/Map;
move-result-object v4
:goto_2
iget-object v2, v2, Lg0/b0;->d:Lokhttp3/Headers;
invoke-virtual {v2}, Lokhttp3/Headers;->e()Lokhttp3/Headers$a;
move-result-object v2
const-string v6, "websocket"
const-string v7, "Upgrade"
const-string v8, "name"
invoke-static {v7, v8}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v9, "value"
invoke-static {v6, v9}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2, v7, v6}, Lokhttp3/Headers$a;->e(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
const-string v6, "Connection"
invoke-static {v6, v8}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v7, v9}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2, v6, v7}, Lokhttp3/Headers$a;->e(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
const-string v6, "Sec-WebSocket-Key"
iget-object v7, v12, Lg0/h0/n/d;->a:Ljava/lang/String;
invoke-static {v6, v8}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v7, v9}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2, v6, v7}, Lokhttp3/Headers$a;->e(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
const-string v6, "Sec-WebSocket-Version"
const-string v7, "13"
invoke-static {v6, v8}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v7, v9}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2, v6, v7}, Lokhttp3/Headers$a;->e(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
const-string v6, "permessage-deflate"
invoke-static {v3, v8}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v6, v9}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2, v3, v6}, Lokhttp3/Headers$a;->e(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
if-eqz v14, :cond_7
invoke-virtual {v2}, Lokhttp3/Headers$a;->c()Lokhttp3/Headers;
move-result-object v16
invoke-static {v4}, Lg0/h0/c;->F(Ljava/util/Map;)Ljava/util/Map;
move-result-object v18
new-instance v2, Lg0/b0;
move-object v13, v2
move-object/from16 v17, v1
invoke-direct/range {v13 .. v18}, Lg0/b0;-><init>(Lg0/y;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/RequestBody;Ljava/util/Map;)V
new-instance v1, Lg0/h0/g/e;
invoke-direct {v1, v5, v2, v10}, Lg0/h0/g/e;-><init>(Lg0/z;Lg0/b0;Z)V
iput-object v1, v12, Lg0/h0/n/d;->b:Lg0/f;
new-instance v3, Lg0/h0/n/e;
invoke-direct {v3, v12, v2}, Lg0/h0/n/e;-><init>(Lg0/h0/n/d;Lg0/b0;)V
invoke-virtual {v1, v3}, Lg0/h0/g/e;->I(Lg0/g;)V
:goto_3
return-object v12
:cond_7
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "url == null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_8
throw v4
:cond_9
new-instance v1, Ljava/lang/IllegalArgumentException;
const-string v2, "protocols must not contain null"
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v2
invoke-direct {v1, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v1
:cond_a
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "protocols must not contain http/1.0: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
new-instance v2, Ljava/lang/IllegalArgumentException;
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v2
:cond_b
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "protocols containing h2_prior_knowledge cannot use other protocols: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
new-instance v2, Ljava/lang/IllegalArgumentException;
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v2
:cond_c
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "protocols must contain h2_prior_knowledge or http/1.1: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
new-instance v2, Ljava/lang/IllegalArgumentException;
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v2
.end method