Changes of com.discord v1255
This commit is contained in:
parent
f9a1079ca0
commit
de564f6f1c
12605 changed files with 896612 additions and 782429 deletions
|
@ -105,7 +105,7 @@
|
|||
|
||||
aget-byte v15, v15, v12
|
||||
|
||||
invoke-static {v15, v14}, Lo0/g0/b;->a(BI)I
|
||||
invoke-static {v15, v14}, Lo0/h0/c;->a(BI)I
|
||||
|
||||
move-result v15
|
||||
|
||||
|
@ -120,7 +120,7 @@
|
|||
|
||||
aget-byte v3, v0, v16
|
||||
|
||||
invoke-static {v3, v14}, Lo0/g0/b;->a(BI)I
|
||||
invoke-static {v3, v14}, Lo0/h0/c;->a(BI)I
|
||||
|
||||
move-result v3
|
||||
|
||||
|
@ -209,7 +209,7 @@
|
|||
|
||||
const-string v2, "UTF_8"
|
||||
|
||||
invoke-static {v1, v2}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v1, v2}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v2, Ljava/lang/String;
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
const-string v0, "*"
|
||||
|
||||
invoke-static {v0}, Lf/n/a/k/a;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||||
invoke-static {v0}, Lf/h/a/f/e/n/f;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
|
@ -109,74 +109,62 @@
|
|||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/lang/String;)Ljava/lang/String;
|
||||
.locals 16
|
||||
.locals 13
|
||||
|
||||
move-object/from16 v1, p0
|
||||
const-string v0, "domain"
|
||||
|
||||
move-object/from16 v2, p1
|
||||
invoke-static {p1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
if-eqz v2, :cond_17
|
||||
|
||||
invoke-static/range {p1 .. p1}, Ljava/net/IDN;->toUnicode(Ljava/lang/String;)Ljava/lang/String;
|
||||
invoke-static {p1}, Ljava/net/IDN;->toUnicode(Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v4, "unicodeDomain"
|
||||
const-string v1, "unicodeDomain"
|
||||
|
||||
invoke-static {v0, v4}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v0, v1}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
const/4 v4, 0x1
|
||||
invoke-virtual {p0, v0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c(Ljava/lang/String;)Ljava/util/List;
|
||||
|
||||
new-array v5, v4, [C
|
||||
move-result-object v0
|
||||
|
||||
const/4 v6, 0x0
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
const/16 v7, 0x2e
|
||||
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
|
||||
|
||||
aput-char v7, v5, v6
|
||||
move-result v1
|
||||
|
||||
const/4 v8, 0x6
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-static {v0, v5, v6, v6, v8}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
const/4 v3, 0x0
|
||||
|
||||
move-result-object v5
|
||||
if-nez v1, :cond_1
|
||||
|
||||
iget-object v0, v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
|
||||
invoke-virtual {v1, v3, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||||
|
||||
move-result v0
|
||||
move-result v1
|
||||
|
||||
if-nez v0, :cond_1
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
iget-object v0, v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
invoke-virtual {v0, v6, v4}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v9, 0x0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
:try_start_0
|
||||
invoke-virtual/range {p0 .. p0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b()V
|
||||
invoke-virtual {p0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b()V
|
||||
:try_end_0
|
||||
.catch Ljava/io/InterruptedIOException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
if-eqz v9, :cond_2
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
:try_start_1
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v0
|
||||
move-result-object v4
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
||||
invoke-virtual {v4}, Ljava/lang/Thread;->interrupt()V
|
||||
:try_end_1
|
||||
.catch Ljava/io/InterruptedIOException; {:try_start_1 .. :try_end_1} :catch_1
|
||||
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
|
@ -184,33 +172,33 @@
|
|||
goto :goto_2
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_0
|
||||
move-exception v0
|
||||
move-exception v4
|
||||
|
||||
:try_start_2
|
||||
sget-object v10, Lo0/g0/h/f;->c:Lo0/g0/h/f$a;
|
||||
sget-object v5, Lo0/h0/k/h;->c:Lo0/h0/k/h$a;
|
||||
|
||||
sget-object v10, Lo0/g0/h/f;->a:Lo0/g0/h/f;
|
||||
sget-object v5, Lo0/h0/k/h;->a:Lo0/h0/k/h;
|
||||
|
||||
const/4 v11, 0x5
|
||||
const-string v6, "Failed to read public suffix list"
|
||||
|
||||
const-string v12, "Failed to read public suffix list"
|
||||
const/4 v7, 0x5
|
||||
|
||||
invoke-virtual {v10, v11, v12, v0}, Lo0/g0/h/f;->k(ILjava/lang/String;Ljava/lang/Throwable;)V
|
||||
invoke-virtual {v5, v6, v7, v4}, Lo0/h0/k/h;->i(Ljava/lang/String;ILjava/lang/Throwable;)V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
if-eqz v9, :cond_2
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v0
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
||||
invoke-virtual {v1}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
goto :goto_2
|
||||
|
||||
|
@ -220,27 +208,27 @@
|
|||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
const/4 v9, 0x1
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:goto_1
|
||||
if-eqz v9, :cond_0
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v2
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Thread;->interrupt()V
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
:cond_0
|
||||
throw v0
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
:try_start_4
|
||||
iget-object v0, v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b:Ljava/util/concurrent/CountDownLatch;
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->b:Ljava/util/concurrent/CountDownLatch;
|
||||
|
||||
invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->await()V
|
||||
invoke-virtual {v1}, Ljava/util/concurrent/CountDownLatch;->await()V
|
||||
:try_end_4
|
||||
.catch Ljava/lang/InterruptedException; {:try_start_4 .. :try_end_4} :catch_2
|
||||
|
||||
|
@ -249,364 +237,362 @@
|
|||
:catch_2
|
||||
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
||||
|
||||
move-result-object v0
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
||||
invoke-virtual {v1}, Ljava/lang/Thread;->interrupt()V
|
||||
|
||||
:cond_2
|
||||
:goto_2
|
||||
iget-object v0, v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
iget-object v1, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
const/4 v0, 0x1
|
||||
const/4 v1, 0x1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_3
|
||||
const/4 v0, 0x0
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_3
|
||||
if-eqz v0, :cond_16
|
||||
if-eqz v1, :cond_16
|
||||
|
||||
invoke-interface {v5}, Ljava/util/List;->size()I
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
move-result v1
|
||||
|
||||
new-array v9, v0, [[B
|
||||
new-array v4, v1, [[B
|
||||
|
||||
const/4 v10, 0x0
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_4
|
||||
if-ge v10, v0, :cond_5
|
||||
if-ge v5, v1, :cond_5
|
||||
|
||||
invoke-interface {v5, v10}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v11
|
||||
move-result-object v6
|
||||
|
||||
check-cast v11, Ljava/lang/String;
|
||||
check-cast v6, Ljava/lang/String;
|
||||
|
||||
sget-object v12, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
||||
sget-object v7, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
||||
|
||||
const-string v13, "UTF_8"
|
||||
const-string v8, "UTF_8"
|
||||
|
||||
invoke-static {v12, v13}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v7, v8}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
if-eqz v11, :cond_4
|
||||
if-eqz v6, :cond_4
|
||||
|
||||
invoke-virtual {v11, v12}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
||||
invoke-virtual {v6, v7}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
||||
|
||||
move-result-object v11
|
||||
move-result-object v6
|
||||
|
||||
const-string v12, "(this as java.lang.String).getBytes(charset)"
|
||||
const-string v7, "(this as java.lang.String).getBytes(charset)"
|
||||
|
||||
invoke-static {v11, v12}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {v6, v7}, Lk0/n/c/i;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
aput-object v11, v9, v10
|
||||
aput-object v6, v4, v5
|
||||
|
||||
add-int/lit8 v10, v10, 0x1
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
new-instance v0, Lkotlin/TypeCastException;
|
||||
new-instance p1, Lkotlin/TypeCastException;
|
||||
|
||||
const-string v2, "null cannot be cast to non-null type java.lang.String"
|
||||
const-string v0, "null cannot be cast to non-null type java.lang.String"
|
||||
|
||||
invoke-direct {v0, v2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
||||
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
throw p1
|
||||
|
||||
:cond_5
|
||||
const/4 v10, 0x0
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_5
|
||||
const-string v11, "publicSuffixListBytes"
|
||||
const-string v6, "publicSuffixListBytes"
|
||||
|
||||
if-ge v10, v0, :cond_8
|
||||
const/4 v7, 0x0
|
||||
|
||||
sget-object v12, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
if-ge v5, v1, :cond_8
|
||||
|
||||
iget-object v13, v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
sget-object v8, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
if-eqz v13, :cond_7
|
||||
iget-object v9, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
|
||||
invoke-static {v12, v13, v9, v10}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
if-eqz v9, :cond_7
|
||||
|
||||
move-result-object v12
|
||||
invoke-static {v8, v9, v4, v5}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
|
||||
if-eqz v12, :cond_6
|
||||
move-result-object v8
|
||||
|
||||
if-eqz v8, :cond_6
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:cond_6
|
||||
add-int/lit8 v10, v10, 0x1
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_7
|
||||
invoke-static {v11}, Lk0/n/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v6}, Lk0/n/c/i;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v3
|
||||
throw v7
|
||||
|
||||
:cond_8
|
||||
move-object v12, v3
|
||||
move-object v8, v7
|
||||
|
||||
:goto_6
|
||||
if-le v0, v4, :cond_b
|
||||
if-le v1, v2, :cond_b
|
||||
|
||||
invoke-virtual {v9}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
||||
invoke-virtual {v4}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
||||
|
||||
move-result-object v10
|
||||
move-result-object v5
|
||||
|
||||
check-cast v10, [[B
|
||||
check-cast v5, [[B
|
||||
|
||||
array-length v13, v10
|
||||
array-length v9, v5
|
||||
|
||||
sub-int/2addr v13, v4
|
||||
sub-int/2addr v9, v2
|
||||
|
||||
const/4 v14, 0x0
|
||||
const/4 v10, 0x0
|
||||
|
||||
:goto_7
|
||||
if-ge v14, v13, :cond_b
|
||||
if-ge v10, v9, :cond_b
|
||||
|
||||
sget-object v15, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->e:[B
|
||||
sget-object v11, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->e:[B
|
||||
|
||||
aput-object v15, v10, v14
|
||||
aput-object v11, v5, v10
|
||||
|
||||
sget-object v15, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
sget-object v11, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
iget-object v8, v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
iget-object v12, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c:[B
|
||||
|
||||
if-eqz v8, :cond_a
|
||||
if-eqz v12, :cond_a
|
||||
|
||||
invoke-static {v15, v8, v10, v14}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
invoke-static {v11, v12, v5, v10}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
|
||||
move-result-object v8
|
||||
move-result-object v11
|
||||
|
||||
if-eqz v8, :cond_9
|
||||
if-eqz v11, :cond_9
|
||||
|
||||
goto :goto_8
|
||||
|
||||
:cond_9
|
||||
add-int/lit8 v14, v14, 0x1
|
||||
|
||||
const/4 v8, 0x6
|
||||
add-int/lit8 v10, v10, 0x1
|
||||
|
||||
goto :goto_7
|
||||
|
||||
:cond_a
|
||||
invoke-static {v11}, Lk0/n/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {v6}, Lk0/n/c/i;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v3
|
||||
throw v7
|
||||
|
||||
:cond_b
|
||||
move-object v8, v3
|
||||
move-object v11, v7
|
||||
|
||||
:goto_8
|
||||
if-eqz v8, :cond_e
|
||||
if-eqz v11, :cond_e
|
||||
|
||||
sub-int/2addr v0, v4
|
||||
sub-int/2addr v1, v2
|
||||
|
||||
const/4 v10, 0x0
|
||||
const/4 v5, 0x0
|
||||
|
||||
:goto_9
|
||||
if-ge v10, v0, :cond_e
|
||||
if-ge v5, v1, :cond_e
|
||||
|
||||
sget-object v11, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
sget-object v6, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
||||
|
||||
iget-object v13, v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->d:[B
|
||||
iget-object v9, p0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->d:[B
|
||||
|
||||
if-eqz v13, :cond_d
|
||||
if-eqz v9, :cond_d
|
||||
|
||||
invoke-static {v11, v13, v9, v10}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
invoke-static {v6, v9, v4, v5}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a(Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;[B[[BI)Ljava/lang/String;
|
||||
|
||||
move-result-object v11
|
||||
move-result-object v6
|
||||
|
||||
if-eqz v11, :cond_c
|
||||
if-eqz v6, :cond_c
|
||||
|
||||
goto :goto_a
|
||||
|
||||
:cond_c
|
||||
add-int/lit8 v10, v10, 0x1
|
||||
add-int/lit8 v5, v5, 0x1
|
||||
|
||||
goto :goto_9
|
||||
|
||||
:cond_d
|
||||
const-string v0, "publicSuffixExceptionListBytes"
|
||||
const-string p1, "publicSuffixExceptionListBytes"
|
||||
|
||||
invoke-static {v0}, Lk0/n/c/h;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
invoke-static {p1}, Lk0/n/c/i;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
||||
|
||||
throw v3
|
||||
throw v7
|
||||
|
||||
:cond_e
|
||||
move-object v11, v3
|
||||
move-object v6, v7
|
||||
|
||||
:goto_a
|
||||
const/16 v0, 0x21
|
||||
const/4 v1, 0x6
|
||||
|
||||
if-eqz v11, :cond_f
|
||||
const/16 v4, 0x2e
|
||||
|
||||
const/16 v5, 0x21
|
||||
|
||||
if-eqz v6, :cond_f
|
||||
|
||||
new-instance v8, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {v8, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v8
|
||||
move-result-object v6
|
||||
|
||||
new-array v9, v4, [C
|
||||
new-array v8, v2, [C
|
||||
|
||||
aput-char v7, v9, v6
|
||||
aput-char v4, v8, v3
|
||||
|
||||
const/4 v10, 0x6
|
||||
invoke-static {v6, v8, v3, v3, v1}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
invoke-static {v8, v9, v6, v6, v10}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object v8
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_d
|
||||
|
||||
:cond_f
|
||||
const/4 v10, 0x6
|
||||
|
||||
if-nez v12, :cond_10
|
||||
|
||||
if-nez v8, :cond_10
|
||||
|
||||
sget-object v8, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->f:Ljava/util/List;
|
||||
if-nez v11, :cond_10
|
||||
|
||||
sget-object v1, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->f:Ljava/util/List;
|
||||
|
||||
goto :goto_d
|
||||
|
||||
:cond_10
|
||||
if-eqz v12, :cond_11
|
||||
if-eqz v8, :cond_11
|
||||
|
||||
new-array v9, v4, [C
|
||||
new-array v6, v2, [C
|
||||
|
||||
aput-char v7, v9, v6
|
||||
aput-char v4, v6, v3
|
||||
|
||||
invoke-static {v12, v9, v6, v6, v10}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
invoke-static {v8, v6, v3, v3, v1}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object v9
|
||||
move-result-object v6
|
||||
|
||||
goto :goto_b
|
||||
|
||||
:cond_11
|
||||
sget-object v9, Lk0/i/n;->d:Lk0/i/n;
|
||||
sget-object v6, Lk0/i/l;->d:Lk0/i/l;
|
||||
|
||||
:goto_b
|
||||
if-eqz v8, :cond_12
|
||||
if-eqz v11, :cond_12
|
||||
|
||||
new-array v11, v4, [C
|
||||
new-array v8, v2, [C
|
||||
|
||||
aput-char v7, v11, v6
|
||||
aput-char v4, v8, v3
|
||||
|
||||
invoke-static {v8, v11, v6, v6, v10}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
invoke-static {v11, v8, v3, v3, v1}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object v8
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_c
|
||||
|
||||
:cond_12
|
||||
sget-object v8, Lk0/i/n;->d:Lk0/i/n;
|
||||
sget-object v1, Lk0/i/l;->d:Lk0/i/l;
|
||||
|
||||
:goto_c
|
||||
invoke-interface {v9}, Ljava/util/List;->size()I
|
||||
invoke-interface {v6}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v10
|
||||
move-result v4
|
||||
|
||||
invoke-interface {v8}, Ljava/util/List;->size()I
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v11
|
||||
move-result v8
|
||||
|
||||
if-le v10, v11, :cond_13
|
||||
if-le v4, v8, :cond_13
|
||||
|
||||
move-object v8, v9
|
||||
move-object v1, v6
|
||||
|
||||
:cond_13
|
||||
:goto_d
|
||||
invoke-interface {v5}, Ljava/util/List;->size()I
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v9
|
||||
move-result v4
|
||||
|
||||
invoke-interface {v8}, Ljava/util/List;->size()I
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v10
|
||||
move-result v6
|
||||
|
||||
if-ne v9, v10, :cond_14
|
||||
if-ne v4, v6, :cond_14
|
||||
|
||||
invoke-interface {v8, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v9
|
||||
move-result-object v4
|
||||
|
||||
check-cast v9, Ljava/lang/String;
|
||||
check-cast v4, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v9, v6}, Ljava/lang/String;->charAt(I)C
|
||||
invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
|
||||
|
||||
move-result v9
|
||||
move-result v4
|
||||
|
||||
if-eq v9, v0, :cond_14
|
||||
if-eq v4, v5, :cond_14
|
||||
|
||||
return-object v3
|
||||
return-object v7
|
||||
|
||||
:cond_14
|
||||
invoke-interface {v8, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v4
|
||||
|
||||
check-cast v3, Ljava/lang/String;
|
||||
check-cast v4, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v3, v6}, Ljava/lang/String;->charAt(I)C
|
||||
invoke-virtual {v4, v3}, Ljava/lang/String;->charAt(I)C
|
||||
|
||||
move-result v3
|
||||
|
||||
if-ne v3, v0, :cond_15
|
||||
if-ne v3, v5, :cond_15
|
||||
|
||||
invoke-interface {v5}, Ljava/util/List;->size()I
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-interface {v8}, Ljava/util/List;->size()I
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v3
|
||||
move-result v1
|
||||
|
||||
goto :goto_e
|
||||
|
||||
:cond_15
|
||||
invoke-interface {v5}, Ljava/util/List;->size()I
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-interface {v8}, Ljava/util/List;->size()I
|
||||
invoke-interface {v1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v3
|
||||
move-result v1
|
||||
|
||||
add-int/2addr v3, v4
|
||||
add-int/2addr v1, v2
|
||||
|
||||
:goto_e
|
||||
sub-int/2addr v0, v3
|
||||
sub-int/2addr v0, v1
|
||||
|
||||
new-array v3, v4, [C
|
||||
invoke-virtual {p0, p1}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->c(Ljava/lang/String;)Ljava/util/List;
|
||||
|
||||
aput-char v7, v3, v6
|
||||
move-result-object p1
|
||||
|
||||
const/4 v4, 0x6
|
||||
invoke-static {p1}, Lk0/i/g;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
||||
|
||||
invoke-static {v2, v3, v6, v6, v4}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
move-result-object p1
|
||||
|
||||
move-result-object v2
|
||||
invoke-static {p1, v0}, Lk0/j/a;->drop(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence;
|
||||
|
||||
invoke-static {v2}, Lk0/i/l;->asSequence(Ljava/lang/Iterable;)Lkotlin/sequences/Sequence;
|
||||
move-result-object v1
|
||||
|
||||
move-result-object v2
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {v2, v0}, Lf/n/a/k/a;->drop(Lkotlin/sequences/Sequence;I)Lkotlin/sequences/Sequence;
|
||||
|
||||
move-result-object v3
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
|
@ -614,39 +600,28 @@
|
|||
|
||||
const/4 v7, 0x0
|
||||
|
||||
const/4 v8, 0x0
|
||||
const/16 v8, 0x3e
|
||||
|
||||
const/4 v9, 0x0
|
||||
const-string v2, "."
|
||||
|
||||
const/16 v10, 0x3e
|
||||
invoke-static/range {v1 .. v8}, Lk0/j/a;->joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
|
||||
|
||||
const-string v4, "."
|
||||
move-result-object p1
|
||||
|
||||
invoke-static/range {v3 .. v10}, Lf/n/a/k/a;->joinToString$default(Lkotlin/sequences/Sequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
|
||||
return-object p1
|
||||
|
||||
:cond_16
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Unable to load publicsuffixes.gz resource from the classpath."
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
:cond_16
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v2, "Unable to load publicsuffixes.gz resource from the classpath."
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {v0, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_17
|
||||
const-string v0, "domain"
|
||||
|
||||
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v3
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final b()V
|
||||
|
@ -667,17 +642,29 @@
|
|||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
new-instance v1, Lp0/k;
|
||||
new-instance v1, Lp0/l;
|
||||
|
||||
invoke-static {v0}, Lf/n/a/k/a;->X(Ljava/io/InputStream;)Lp0/w;
|
||||
const-string v2, "$this$source"
|
||||
|
||||
move-result-object v0
|
||||
invoke-static {v0, v2}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-direct {v1, v0}, Lp0/k;-><init>(Lp0/w;)V
|
||||
new-instance v2, Lp0/n;
|
||||
|
||||
invoke-static {v1}, Lf/n/a/k/a;->p(Lp0/w;)Lp0/g;
|
||||
new-instance v3, Lp0/y;
|
||||
|
||||
move-result-object v0
|
||||
invoke-direct {v3}, Lp0/y;-><init>()V
|
||||
|
||||
invoke-direct {v2, v0, v3}, Lp0/n;-><init>(Ljava/io/InputStream;Lp0/y;)V
|
||||
|
||||
invoke-direct {v1, v2}, Lp0/l;-><init>(Lp0/x;)V
|
||||
|
||||
const-string v0, "$this$buffer"
|
||||
|
||||
invoke-static {v1, v0}, Lk0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v0, Lp0/r;
|
||||
|
||||
invoke-direct {v0, v1}, Lp0/r;-><init>(Lp0/x;)V
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {v0}, Lp0/g;->readInt()I
|
||||
|
@ -686,7 +673,7 @@
|
|||
|
||||
int-to-long v1, v1
|
||||
|
||||
invoke-interface {v0, v1, v2}, Lp0/g;->t0(J)[B
|
||||
invoke-interface {v0, v1, v2}, Lp0/g;->x0(J)[B
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -696,7 +683,7 @@
|
|||
|
||||
int-to-long v2, v2
|
||||
|
||||
invoke-interface {v0, v2, v3}, Lp0/g;->t0(J)[B
|
||||
invoke-interface {v0, v2, v3}, Lp0/g;->x0(J)[B
|
||||
|
||||
move-result-object v2
|
||||
:try_end_0
|
||||
|
@ -704,7 +691,7 @@
|
|||
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-static {v0, v3}, Lf/n/a/k/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
invoke-static {v0, v3}, Lk0/j/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
|
@ -729,7 +716,7 @@
|
|||
|
||||
:cond_0
|
||||
:try_start_2
|
||||
invoke-static {}, Lk0/n/c/h;->throwNpe()V
|
||||
invoke-static {}, Lk0/n/c/i;->throwNpe()V
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
||||
|
||||
|
@ -742,7 +729,7 @@
|
|||
|
||||
:cond_1
|
||||
:try_start_3
|
||||
invoke-static {}, Lk0/n/c/h;->throwNpe()V
|
||||
invoke-static {}, Lk0/n/c/i;->throwNpe()V
|
||||
:try_end_3
|
||||
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||||
|
||||
|
@ -764,10 +751,79 @@
|
|||
:catchall_2
|
||||
move-exception v2
|
||||
|
||||
invoke-static {v0, v1}, Lf/n/a/k/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
invoke-static {v0, v1}, Lk0/j/a;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v2
|
||||
|
||||
:cond_2
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final c(Ljava/lang/String;)Ljava/util/List;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/String;",
|
||||
")",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
new-array v1, v0, [C
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/16 v3, 0x2e
|
||||
|
||||
aput-char v3, v1, v2
|
||||
|
||||
const/4 v3, 0x6
|
||||
|
||||
invoke-static {p1, v1, v2, v2, v3}, Lk0/t/p;->split$default(Ljava/lang/CharSequence;[CZII)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Lk0/i/g;->last(Ljava/util/List;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Ljava/lang/String;
|
||||
|
||||
const-string v3, ""
|
||||
|
||||
invoke-static {v1, v3}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
const-string v1, "$this$dropLast"
|
||||
|
||||
invoke-static {p1, v1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-interface {p1}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
sub-int/2addr v1, v0
|
||||
|
||||
if-gez v1, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
move v2, v1
|
||||
|
||||
:goto_0
|
||||
invoke-static {p1, v2}, Lk0/i/g;->take(Ljava/lang/Iterable;I)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:cond_1
|
||||
return-object p1
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue