apkfuckery/com.discord/smali_classes2/g0/n$a.smali

428 lines
9.1 KiB
Smali
Raw Normal View History

2020-09-22 07:09:10 +00:00
.class public final Lg0/n$a;
2020-07-23 01:06:17 +00:00
.super Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
.source "ConnectionSpec.kt"
2020-07-23 01:06:17 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-22 07:09:10 +00:00
value = Lg0/n;
2020-07-23 01:06:17 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
2020-09-16 23:45:23 +00:00
# instance fields
.field public a:Z
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
.field public b:[Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
.field public c:[Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
.field public d:Z
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
# direct methods
2020-09-22 07:09:10 +00:00
.method public constructor <init>(Lg0/n;)V
2020-09-16 23:45:23 +00:00
.locals 1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "connectionSpec"
2020-07-23 01:06:17 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v0, p1, Lg0/n;->a:Z
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iput-boolean v0, p0, Lg0/n$a;->a:Z
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p1, Lg0/n;->c:[Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iput-object v0, p0, Lg0/n$a;->b:[Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p1, Lg0/n;->d:[Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iput-object v0, p0, Lg0/n$a;->c:[Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean p1, p1, Lg0/n;->b:Z
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iput-boolean p1, p0, Lg0/n$a;->d:Z
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
return-void
2020-09-16 21:45:36 +00:00
.end method
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
.method public constructor <init>(Z)V
.locals 0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iput-boolean p1, p0, Lg0/n$a;->a:Z
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
return-void
.end method
2020-07-23 01:06:17 +00:00
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
# virtual methods
2020-09-22 07:09:10 +00:00
.method public final a()Lg0/n;
2020-09-16 23:45:23 +00:00
.locals 5
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
new-instance v0, Lg0/n;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v1, p0, Lg0/n$a;->a:Z
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v2, p0, Lg0/n$a;->d:Z
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-object v3, p0, Lg0/n$a;->b:[Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-object v4, p0, Lg0/n$a;->c:[Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
invoke-direct {v0, v1, v2, v3, v4}, Lg0/n;-><init>(ZZ[Ljava/lang/String;[Ljava/lang/String;)V
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
return-object v0
.end method
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
.method public final varargs b([Ljava/lang/String;)Lg0/n$a;
2020-09-16 23:45:23 +00:00
.locals 2
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "cipherSuites"
2020-09-16 21:45:36 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v0, p0, Lg0/n$a;->a:Z
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_3
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
array-length v0, p1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const/4 v1, 0x1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
if-nez v0, :cond_0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const/4 v0, 0x1
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
goto :goto_0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
const/4 v0, 0x0
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
:goto_0
2020-09-16 23:45:23 +00:00
xor-int/2addr v0, v1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_2
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->clone()Ljava/lang/Object;
2020-07-23 01:06:17 +00:00
2020-09-16 21:45:36 +00:00
move-result-object p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
check-cast p1, [Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iput-object p1, p0, Lg0/n$a;->b:[Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
return-object p0
2020-09-16 21:45:36 +00:00
:cond_1
2020-09-16 23:45:23 +00:00
new-instance p1, Lkotlin/TypeCastException;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Array<kotlin.String>"
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
throw p1
2020-07-23 01:06:17 +00:00
2020-09-16 21:45:36 +00:00
:cond_2
2020-09-09 19:21:20 +00:00
new-instance p1, Ljava/lang/IllegalArgumentException;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "At least one cipher suite is required"
2020-07-23 01:06:17 +00:00
2020-09-09 19:21:20 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-09 19:21:20 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
2020-09-09 19:21:20 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-09 19:21:20 +00:00
throw p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_3
new-instance p1, Ljava/lang/IllegalArgumentException;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "no cipher suites for cleartext connections"
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
throw p1
.end method
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
.method public final varargs c([Lg0/k;)Lg0/n$a;
2020-09-16 23:45:23 +00:00
.locals 5
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "cipherSuites"
2020-09-16 21:45:36 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v0, p0, Lg0/n$a;->a:Z
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_2
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
new-instance v0, Ljava/util/ArrayList;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
array-length v1, p1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
array-length v1, p1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const/4 v2, 0x0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const/4 v3, 0x0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
:goto_0
if-ge v3, v1, :cond_0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
aget-object v4, p1, v3
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-object v4, v4, Lg0/k;->a:Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-interface {v0, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
add-int/lit8 v3, v3, 0x1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
goto :goto_0
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
:cond_0
2020-09-16 23:45:23 +00:00
new-array p1, v2, [Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-interface {v0, p1}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
move-result-object p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
check-cast p1, [Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
array-length v0, p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-static {p1, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
move-result-object p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
check-cast p1, [Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
invoke-virtual {p0, p1}, Lg0/n$a;->b([Ljava/lang/String;)Lg0/n$a;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
return-object p0
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
:cond_1
2020-09-16 23:45:23 +00:00
new-instance p1, Lkotlin/TypeCastException;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
throw p1
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
:cond_2
2020-09-16 23:45:23 +00:00
new-instance p1, Ljava/lang/IllegalArgumentException;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "no cipher suites for cleartext connections"
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
throw p1
.end method
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
.method public final d(Z)Lg0/n$a;
2020-09-16 23:45:23 +00:00
.locals 1
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v0, p0, Lg0/n$a;->a:Z
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_0
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iput-boolean p1, p0, Lg0/n$a;->d:Z
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
return-object p0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "no TLS extensions for cleartext connections"
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
throw p1
.end method
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
.method public final varargs e([Ljava/lang/String;)Lg0/n$a;
2020-09-16 23:45:23 +00:00
.locals 2
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "tlsVersions"
2020-07-23 01:06:17 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v0, p0, Lg0/n$a;->a:Z
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_3
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
array-length v0, p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const/4 v1, 0x1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-nez v0, :cond_0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const/4 v0, 0x1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
goto :goto_0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
const/4 v0, 0x0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:goto_0
xor-int/2addr v0, v1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_2
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->clone()Ljava/lang/Object;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
move-result-object p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
check-cast p1, [Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iput-object p1, p0, Lg0/n$a;->c:[Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
return-object p0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_1
new-instance p1, Lkotlin/TypeCastException;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Array<kotlin.String>"
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
throw p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "At least one TLS version is required"
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
throw p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_3
new-instance p1, Ljava/lang/IllegalArgumentException;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "no TLS versions for cleartext connections"
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
throw p1
.end method
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
.method public final varargs f([Lg0/g0;)Lg0/n$a;
2020-09-16 23:45:23 +00:00
.locals 5
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "tlsVersions"
2020-07-23 01:06:17 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-22 07:09:10 +00:00
iget-boolean v0, p0, Lg0/n$a;->a:Z
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_2
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
new-instance v0, Ljava/util/ArrayList;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
array-length v1, p1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
array-length v1, p1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const/4 v2, 0x0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const/4 v3, 0x0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
:goto_0
if-ge v3, v1, :cond_0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
aget-object v4, p1, v3
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
iget-object v4, v4, Lg0/g0;->javaName:Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
add-int/lit8 v3, v3, 0x1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
goto :goto_0
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
new-array p1, v2, [Ljava/lang/String;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
move-result-object p1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_1
2020-07-23 01:06:17 +00:00
2020-09-16 23:45:23 +00:00
check-cast p1, [Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
array-length v0, p1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-static {p1, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
move-result-object p1
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
check-cast p1, [Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
invoke-virtual {p0, p1}, Lg0/n$a;->e([Ljava/lang/String;)Lg0/n$a;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
return-object p0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
:cond_1
new-instance p1, Lkotlin/TypeCastException;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
2020-09-16 21:45:36 +00:00
throw p1
2020-09-16 23:45:23 +00:00
:cond_2
2020-09-16 21:45:36 +00:00
new-instance p1, Ljava/lang/IllegalArgumentException;
2020-09-16 23:45:23 +00:00
const-string v0, "no TLS versions for cleartext connections"
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-07-23 01:06:17 +00:00
2020-09-02 04:07:20 +00:00
throw p1
2020-07-23 01:06:17 +00:00
.end method