apkfuckery/com.discord/smali_classes2/o0/w$a.smali

2454 lines
44 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public final Lo0/w$a;
2020-07-08 16:44:49 +00:00
.super Ljava/lang/Object;
.source "HttpUrl.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-09-02 04:07:20 +00:00
value = Lo0/w;
2020-07-08 16:44:49 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-09-02 04:07:20 +00:00
Lo0/w$a$a;
2020-07-08 16:44:49 +00:00
}
.end annotation
# static fields
2020-09-02 04:07:20 +00:00
.field public static final i:Lo0/w$a$a;
2020-07-08 16:44:49 +00:00
# instance fields
.field public a:Ljava/lang/String;
.field public b:Ljava/lang/String;
.field public c:Ljava/lang/String;
.field public d:Ljava/lang/String;
.field public e:I
.field public final f:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public g:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public h:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 2
2020-09-02 04:07:20 +00:00
new-instance v0, Lo0/w$a$a;
2020-07-08 16:44:49 +00:00
const/4 v1, 0x0
2020-09-02 04:07:20 +00:00
invoke-direct {v0, v1}, Lo0/w$a$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
sput-object v0, Lo0/w$a;->i:Lo0/w$a$a;
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public constructor <init>()V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, ""
2020-09-02 04:07:20 +00:00
iput-object v0, p0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iput-object v0, p0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
const/4 v1, -0x1
2020-09-02 04:07:20 +00:00
iput v1, p0, Lo0/w$a;->e:I
2020-07-08 16:44:49 +00:00
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
2020-09-02 04:07:20 +00:00
iput-object v1, p0, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-void
.end method
# virtual methods
2020-09-02 04:07:20 +00:00
.method public final a(Ljava/lang/String;Ljava/lang/String;)Lo0/w$a;
2020-07-08 16:44:49 +00:00
.locals 13
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v1, p0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-nez v1, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
new-instance v1, Ljava/util/ArrayList;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput-object v1, p0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
:cond_0
2020-09-08 08:16:32 +00:00
iget-object v1, p0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_3
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
sget-object v2, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v7, 0x1
const/4 v8, 0x0
const/4 v9, 0x1
const/4 v10, 0x0
const/4 v11, 0x0
const/16 v12, 0xd3
const-string v6, " \"\'<>#&="
move-object v3, p1
2020-09-02 04:07:20 +00:00
invoke-static/range {v2 .. v12}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-09-08 08:16:32 +00:00
invoke-interface {v1, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-object p1, p0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_2
if-eqz p2, :cond_1
2020-09-08 08:16:32 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
const/4 v3, 0x0
2020-07-08 16:44:49 +00:00
const/4 v4, 0x0
2020-09-08 08:16:32 +00:00
const/4 v6, 0x1
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v7, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v8, 0x1
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v9, 0x0
2020-07-08 16:44:49 +00:00
const/4 v10, 0x0
2020-09-08 08:16:32 +00:00
const/16 v11, 0xd3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v5, " \"\'<>#&="
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-object v2, p2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static/range {v1 .. v11}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
:cond_1
2020-09-08 08:16:32 +00:00
invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
return-object p0
:cond_2
2020-09-08 08:16:32 +00:00
invoke-static {}, Lk0/n/c/h;->throwNpe()V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
throw v0
2020-07-08 16:44:49 +00:00
:cond_3
2020-09-08 08:16:32 +00:00
invoke-static {}, Lk0/n/c/h;->throwNpe()V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
throw v0
:cond_4
const-string p1, "encodedName"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
2020-09-02 04:07:20 +00:00
.method public final b()Lo0/w;
2020-07-08 16:44:49 +00:00
.locals 18
move-object/from16 v0, p0
2020-09-02 04:07:20 +00:00
new-instance v11, Lo0/w;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-object v2, v0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
if-eqz v2, :cond_3
2020-09-02 04:07:20 +00:00
sget-object v3, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-object v4, v0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x7
2020-09-02 04:07:20 +00:00
invoke-static/range {v3 .. v8}, Lo0/w$b;->d(Lo0/w$b;Ljava/lang/String;IIZI)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v3
2020-09-02 04:07:20 +00:00
sget-object v4, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-object v5, v0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
const/4 v8, 0x0
const/4 v9, 0x7
2020-09-02 04:07:20 +00:00
invoke-static/range {v4 .. v9}, Lo0/w$b;->d(Lo0/w$b;Ljava/lang/String;IIZI)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v4
2020-09-02 04:07:20 +00:00
iget-object v5, v0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
if-eqz v5, :cond_2
2020-09-02 04:07:20 +00:00
invoke-virtual/range {p0 .. p0}, Lo0/w$a;->c()I
2020-07-08 16:44:49 +00:00
move-result v6
2020-09-02 04:07:20 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-object v7, v0, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
const/4 v8, 0x0
2020-09-02 04:07:20 +00:00
invoke-virtual {v1, v7, v8}, Lo0/w$b;->c(Ljava/util/List;Z)Ljava/util/List;
2020-07-08 16:44:49 +00:00
move-result-object v7
2020-09-02 04:07:20 +00:00
iget-object v1, v0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
const/4 v8, 0x0
if-eqz v1, :cond_0
2020-09-02 04:07:20 +00:00
sget-object v9, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v10, 0x1
2020-09-02 04:07:20 +00:00
invoke-virtual {v9, v1, v10}, Lo0/w$b;->c(Ljava/util/List;Z)Ljava/util/List;
2020-07-08 16:44:49 +00:00
move-result-object v1
move-object v9, v1
goto :goto_0
:cond_0
move-object v9, v8
:goto_0
2020-09-02 04:07:20 +00:00
iget-object v13, v0, Lo0/w$a;->h:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
if-eqz v13, :cond_1
2020-09-02 04:07:20 +00:00
sget-object v12, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x0
const/16 v17, 0x7
2020-09-02 04:07:20 +00:00
invoke-static/range {v12 .. v17}, Lo0/w$b;->d(Lo0/w$b;Ljava/lang/String;IIZI)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
move-object v10, v1
goto :goto_1
:cond_1
move-object v10, v8
:goto_1
2020-09-02 04:07:20 +00:00
invoke-virtual/range {p0 .. p0}, Lo0/w$a;->toString()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v12
move-object v1, v11
move-object v8, v9
move-object v9, v10
move-object v10, v12
2020-09-02 04:07:20 +00:00
invoke-direct/range {v1 .. v10}, Lo0/w;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
return-object v11
:cond_2
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "host == null"
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
:cond_3
new-instance v1, Ljava/lang/IllegalStateException;
const-string v2, "scheme == null"
invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
.end method
.method public final c()I
.locals 4
2020-09-02 04:07:20 +00:00
iget v0, p0, Lo0/w$a;->e:I
2020-07-08 16:44:49 +00:00
const/4 v1, -0x1
if-eq v0, v1, :cond_0
goto :goto_1
:cond_0
2020-09-02 04:07:20 +00:00
iget-object v0, p0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v2, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v0, :cond_5
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v0, :cond_4
2020-07-08 16:44:49 +00:00
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v2
const v3, 0x310888 # 4.503E-39f
if-eq v2, v3, :cond_2
const v3, 0x5f008eb
if-eq v2, v3, :cond_1
goto :goto_0
:cond_1
const-string v2, "https"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_3
const/16 v0, 0x1bb
goto :goto_1
:cond_2
const-string v2, "http"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_3
const/16 v0, 0x50
goto :goto_1
:cond_3
:goto_0
const/4 v0, -0x1
:goto_1
return v0
:cond_4
2020-09-08 08:16:32 +00:00
const-string v0, "scheme"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
throw v2
:cond_5
invoke-static {}, Lk0/n/c/h;->throwNpe()V
throw v2
2020-07-08 16:44:49 +00:00
.end method
2020-09-02 04:07:20 +00:00
.method public final d(Ljava/lang/String;)Lo0/w$a;
2020-07-08 16:44:49 +00:00
.locals 12
const/4 v0, 0x0
if-eqz p1, :cond_4
2020-09-02 04:07:20 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v6, 0x1
const/4 v7, 0x0
const/4 v8, 0x1
const/4 v9, 0x0
const/4 v10, 0x0
const/16 v11, 0xd3
const-string v5, " \"\'<>#"
move-object v2, p1
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v11}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object p1
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v4
if-gt v3, v4, :cond_3
const/16 v4, 0x26
const/4 v5, 0x4
2020-09-08 08:16:32 +00:00
invoke-static {p1, v4, v3, v2, v5}, Lk0/t/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2020-07-08 16:44:49 +00:00
move-result v4
const/4 v6, -0x1
if-ne v4, v6, :cond_0
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v4
:cond_0
const/16 v7, 0x3d
2020-09-08 08:16:32 +00:00
invoke-static {p1, v7, v3, v2, v5}, Lk0/t/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2020-07-08 16:44:49 +00:00
move-result v5
const-string v7, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
if-eq v5, v6, :cond_2
if-le v5, v4, :cond_1
goto :goto_1
:cond_1
invoke-virtual {p1, v3, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v3
2020-09-08 08:16:32 +00:00
invoke-static {v3, v7}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v5, v5, 0x1
invoke-virtual {p1, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v3
2020-09-08 08:16:32 +00:00
invoke-static {v3, v7}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_2
:cond_2
:goto_1
invoke-virtual {p1, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v3
2020-09-08 08:16:32 +00:00
invoke-static {v3, v7}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:goto_2
add-int/lit8 v3, v4, 0x1
goto :goto_0
:cond_3
move-object v0, v1
:cond_4
2020-09-02 04:07:20 +00:00
iput-object v0, p0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
return-object p0
.end method
2020-09-02 04:07:20 +00:00
.method public final e(Lo0/w;Ljava/lang/String;)Lo0/w$a;
2020-09-08 08:16:32 +00:00
.locals 27
2020-07-08 16:44:49 +00:00
move-object/from16 v0, p0
move-object/from16 v1, p1
move-object/from16 v12, p2
2020-09-08 08:16:32 +00:00
if-eqz v12, :cond_40
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v2, 0x3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v3, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v12, v3, v3, v2}, Lo0/g0/b;->s(Ljava/lang/String;III)I
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-result v2
2020-07-08 16:44:49 +00:00
invoke-virtual/range {p2 .. p2}, Ljava/lang/String;->length()I
move-result v4
2020-09-08 08:16:32 +00:00
invoke-static {v12, v2, v4}, Lo0/g0/b;->t(Ljava/lang/String;II)I
2020-07-08 16:44:49 +00:00
move-result v13
2020-09-08 08:16:32 +00:00
sub-int v4, v13, v2
2020-07-08 16:44:49 +00:00
const/4 v5, 0x2
const/16 v6, 0x3a
const/4 v7, -0x1
const/4 v8, 0x1
if-ge v4, v5, :cond_0
goto :goto_5
:cond_0
2020-09-08 08:16:32 +00:00
invoke-virtual {v12, v2}, Ljava/lang/String;->charAt(I)C
2020-07-08 16:44:49 +00:00
move-result v4
const/16 v9, 0x5a
const/16 v10, 0x7a
const/16 v11, 0x41
const/16 v14, 0x61
if-lt v4, v14, :cond_1
if-le v4, v10, :cond_2
:cond_1
if-lt v4, v11, :cond_c
if-le v4, v9, :cond_2
goto :goto_5
:cond_2
2020-09-08 08:16:32 +00:00
move v4, v2
2020-07-08 16:44:49 +00:00
:goto_0
add-int/2addr v4, v8
if-ge v4, v13, :cond_c
invoke-virtual {v12, v4}, Ljava/lang/String;->charAt(I)C
move-result v15
if-le v14, v15, :cond_3
goto :goto_1
:cond_3
if-lt v10, v15, :cond_4
goto :goto_4
:cond_4
:goto_1
if-le v11, v15, :cond_5
goto :goto_2
:cond_5
if-lt v9, v15, :cond_6
goto :goto_4
:cond_6
:goto_2
const/16 v9, 0x39
const/16 v10, 0x30
if-le v10, v15, :cond_7
goto :goto_3
:cond_7
if-lt v9, v15, :cond_8
goto :goto_4
:cond_8
:goto_3
const/16 v9, 0x2b
if-ne v15, v9, :cond_9
goto :goto_4
:cond_9
const/16 v9, 0x2d
if-ne v15, v9, :cond_a
goto :goto_4
:cond_a
const/16 v9, 0x2e
if-ne v15, v9, :cond_b
:goto_4
const/16 v9, 0x5a
const/16 v10, 0x7a
goto :goto_0
:cond_b
if-ne v15, v6, :cond_c
goto :goto_6
:cond_c
:goto_5
const/4 v4, -0x1
:goto_6
const-string v14, "http"
const-string v15, "https"
const-string v11, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
if-eq v4, v7, :cond_f
const-string v6, "https:"
2020-09-08 08:16:32 +00:00
invoke-static {v12, v6, v2, v8}, Lk0/t/k;->startsWith(Ljava/lang/String;Ljava/lang/String;IZ)Z
2020-07-08 16:44:49 +00:00
move-result v6
if-eqz v6, :cond_d
2020-09-02 04:07:20 +00:00
iput-object v15, v0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
add-int/lit8 v2, v2, 0x6
2020-07-08 16:44:49 +00:00
goto :goto_7
:cond_d
const-string v6, "http:"
2020-09-08 08:16:32 +00:00
invoke-static {v12, v6, v2, v8}, Lk0/t/k;->startsWith(Ljava/lang/String;Ljava/lang/String;IZ)Z
2020-07-08 16:44:49 +00:00
move-result v6
if-eqz v6, :cond_e
2020-09-02 04:07:20 +00:00
iput-object v14, v0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
add-int/lit8 v2, v2, 0x5
2020-07-08 16:44:49 +00:00
goto :goto_7
:cond_e
const-string v1, "Expected URL scheme \'http\' or \'https\' but was \'"
2020-07-14 22:43:59 +00:00
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-09-08 08:16:32 +00:00
invoke-virtual {v12, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v2
2020-09-08 08:16:32 +00:00
invoke-static {v2, v11}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, "\'"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
new-instance v2, Ljava/lang/IllegalArgumentException;
invoke-direct {v2, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v2
:cond_f
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_3f
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v3, v1, Lo0/w;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput-object v3, v0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
:goto_7
2020-09-08 08:16:32 +00:00
const/4 v3, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v4, v2
2020-07-08 16:44:49 +00:00
:goto_8
const/16 v6, 0x2f
const/16 v9, 0x5c
if-ge v4, v13, :cond_11
invoke-virtual {v12, v4}, Ljava/lang/String;->charAt(I)C
move-result v10
if-eq v10, v9, :cond_10
if-ne v10, v6, :cond_11
:cond_10
2020-09-08 08:16:32 +00:00
add-int/lit8 v3, v3, 0x1
2020-07-08 16:44:49 +00:00
add-int/lit8 v4, v4, 0x1
goto :goto_8
:cond_11
const/16 v4, 0x23
2020-09-08 08:16:32 +00:00
if-ge v3, v5, :cond_15
2020-07-08 16:44:49 +00:00
if-eqz v1, :cond_15
2020-09-02 04:07:20 +00:00
iget-object v5, v1, Lo0/w;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-object v10, v0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v5, v10}, Lk0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
move-result v5
xor-int/2addr v5, v8
if-eqz v5, :cond_12
goto :goto_9
:cond_12
2020-09-02 04:07:20 +00:00
invoke-virtual/range {p1 .. p1}, Lo0/w;->e()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput-object v3, v0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual/range {p1 .. p1}, Lo0/w;->a()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput-object v3, v0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v3, v1, Lo0/w;->e:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput-object v3, v0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget v3, v1, Lo0/w;->f:I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput v3, v0, Lo0/w$a;->e:I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v3, v0, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v3}, Ljava/util/List;->clear()V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v3, v0, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual/range {p1 .. p1}, Lo0/w;->c()Ljava/util/List;
2020-07-08 16:44:49 +00:00
move-result-object v5
2020-09-08 08:16:32 +00:00
invoke-interface {v3, v5}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eq v2, v13, :cond_13
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v12, v2}, Ljava/lang/String;->charAt(I)C
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-ne v3, v4, :cond_14
2020-07-08 16:44:49 +00:00
:cond_13
2020-09-02 04:07:20 +00:00
invoke-virtual/range {p1 .. p1}, Lo0/w;->d()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-09-02 04:07:20 +00:00
invoke-virtual {v0, v1}, Lo0/w$a;->d(Ljava/lang/String;)Lo0/w$a;
2020-07-08 16:44:49 +00:00
:cond_14
const/4 v1, 0x1
move/from16 v18, v13
goto/16 :goto_19
:cond_15
:goto_9
2020-09-08 08:16:32 +00:00
add-int/2addr v2, v3
2020-07-08 16:44:49 +00:00
const/4 v1, 0x0
2020-09-08 08:16:32 +00:00
const/4 v3, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v10, v2
2020-07-08 16:44:49 +00:00
const/16 v16, 0x0
const/16 v17, 0x0
:goto_a
const-string v1, "@/\\?#"
2020-09-02 04:07:20 +00:00
invoke-static {v12, v1, v10, v13}, Lo0/g0/b;->i(Ljava/lang/String;Ljava/lang/String;II)I
2020-07-08 16:44:49 +00:00
move-result v8
if-eq v8, v13, :cond_16
invoke-virtual {v12, v8}, Ljava/lang/String;->charAt(I)C
move-result v1
goto :goto_b
:cond_16
const/4 v1, -0x1
:goto_b
if-eq v1, v7, :cond_1b
if-eq v1, v4, :cond_1b
if-eq v1, v6, :cond_1b
if-eq v1, v9, :cond_1b
const/16 v2, 0x3f
if-eq v1, v2, :cond_1b
const/16 v2, 0x40
if-eq v1, v2, :cond_17
move/from16 v18, v13
move-object/from16 v19, v14
move-object v13, v11
goto/16 :goto_e
:cond_17
const-string v9, "%40"
if-nez v16, :cond_1a
const/16 v1, 0x3a
2020-09-02 04:07:20 +00:00
invoke-static {v12, v1, v10, v8}, Lo0/g0/b;->h(Ljava/lang/String;CII)I
2020-07-08 16:44:49 +00:00
move-result v7
2020-09-02 04:07:20 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v6, 0x1
const/16 v18, 0x0
const/16 v19, 0x0
const/16 v20, 0x0
const/16 v21, 0x0
const/16 v22, 0xf0
const-string v5, " \"\':;<=>@[]^`{}|/\\?#"
move-object/from16 v2, p2
move v3, v10
move v4, v7
move v10, v7
move/from16 v7, v18
move/from16 v23, v8
move/from16 v8, v19
move-object/from16 v24, v9
move/from16 v9, v20
move/from16 v25, v10
move-object/from16 v10, v21
move/from16 v18, v13
move-object v13, v11
move/from16 v11, v22
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v11}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
if-eqz v17, :cond_18
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
2020-09-02 04:07:20 +00:00
iget-object v3, v0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-object/from16 v3, v24
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:cond_18
2020-09-02 04:07:20 +00:00
iput-object v1, v0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move/from16 v11, v23
move/from16 v1, v25
if-eq v1, v11, :cond_19
2020-09-02 04:07:20 +00:00
sget-object v2, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
add-int/lit8 v3, v1, 0x1
const/4 v6, 0x1
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/16 v16, 0xf0
const-string v5, " \"\':;<=>@[]^`{}|/\\?#"
move-object v1, v2
move-object/from16 v2, p2
move v4, v11
move/from16 v23, v11
move/from16 v11, v16
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v11}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-09-02 04:07:20 +00:00
iput-object v1, v0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
const/16 v16, 0x1
goto :goto_c
:cond_19
move/from16 v23, v11
:goto_c
const/16 v17, 0x1
move-object/from16 v19, v14
goto :goto_d
:cond_1a
move/from16 v23, v8
move-object v3, v9
move/from16 v18, v13
move-object v13, v11
new-instance v11, Ljava/lang/StringBuilder;
invoke-direct {v11}, Ljava/lang/StringBuilder;-><init>()V
2020-09-02 04:07:20 +00:00
iget-object v1, v0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-virtual {v11, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v11, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v6, 0x1
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/16 v19, 0x0
const/16 v20, 0xf0
const-string v5, " \"\':;<=>@[]^`{}|/\\?#"
move-object/from16 v2, p2
move v3, v10
move/from16 v4, v23
move-object/from16 v10, v19
move-object/from16 v19, v14
move-object v14, v11
move/from16 v11, v20
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v11}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
invoke-virtual {v14, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
2020-09-02 04:07:20 +00:00
iput-object v1, v0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
:goto_d
move/from16 v14, v23
add-int/lit8 v10, v14, 0x1
:goto_e
const/16 v4, 0x23
const/16 v6, 0x2f
const/4 v7, -0x1
const/16 v9, 0x5c
move-object v11, v13
move/from16 v13, v18
move-object/from16 v14, v19
goto/16 :goto_a
:cond_1b
move/from16 v18, v13
move-object/from16 v19, v14
move v14, v8
move-object v13, v11
2020-09-08 08:16:32 +00:00
const/16 v1, 0x3a
2020-07-08 16:44:49 +00:00
move v8, v10
:goto_f
if-ge v8, v14, :cond_1f
invoke-virtual {v12, v8}, Ljava/lang/String;->charAt(I)C
2020-09-08 08:16:32 +00:00
move-result v2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eq v2, v1, :cond_1e
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/16 v3, 0x5b
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eq v2, v3, :cond_1c
2020-07-08 16:44:49 +00:00
goto :goto_10
:cond_1c
add-int/lit8 v8, v8, 0x1
if-ge v8, v14, :cond_1d
invoke-virtual {v12, v8}, Ljava/lang/String;->charAt(I)C
2020-09-08 08:16:32 +00:00
move-result v2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/16 v3, 0x5d
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-ne v2, v3, :cond_1c
2020-07-08 16:44:49 +00:00
:cond_1d
:goto_10
add-int/lit8 v8, v8, 0x1
goto :goto_f
:cond_1e
move v11, v8
goto :goto_11
:cond_1f
move v11, v14
:goto_11
add-int/lit8 v9, v11, 0x1
if-ge v9, v14, :cond_24
2020-09-02 04:07:20 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v5, 0x0
const/4 v6, 0x4
move-object/from16 v2, p2
move v3, v10
move v4, v11
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v6}, Lo0/w$b;->d(Lo0/w$b;Ljava/lang/String;IIZI)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-09-08 08:16:32 +00:00
invoke-static {v1}, Lf/n/a/k/a;->i0(Ljava/lang/String;)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-09-02 04:07:20 +00:00
iput-object v1, v0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
:try_start_0
2020-09-02 04:07:20 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const-string v5, ""
:try_end_0
2020-09-08 08:16:32 +00:00
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
2020-07-08 16:44:49 +00:00
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v15, 0x0
const/16 v16, 0x0
const/16 v17, 0xf8
move-object/from16 v2, p2
move v3, v9
move v4, v14
move/from16 v26, v9
move v9, v15
move v15, v10
move-object/from16 v10, v16
move/from16 p1, v11
move/from16 v11, v17
:try_start_1
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v11}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v1
:try_end_1
2020-09-08 08:16:32 +00:00
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_1
2020-07-08 16:44:49 +00:00
const v2, 0xffff
const/4 v3, 0x1
if-le v3, v1, :cond_20
goto :goto_12
:cond_20
if-lt v2, v1, :cond_21
goto :goto_13
:catch_0
move/from16 v26, v9
move v15, v10
move/from16 p1, v11
2020-09-08 08:16:32 +00:00
:catch_1
const/4 v3, 0x1
2020-07-08 16:44:49 +00:00
:cond_21
:goto_12
const/4 v1, -0x1
:goto_13
2020-09-02 04:07:20 +00:00
iput v1, v0, Lo0/w$a;->e:I
2020-07-08 16:44:49 +00:00
const/4 v2, -0x1
if-eq v1, v2, :cond_22
const/4 v1, 0x1
goto :goto_14
:cond_22
const/4 v1, 0x0
:goto_14
if-eqz v1, :cond_23
const/16 v1, 0x22
move v10, v15
goto/16 :goto_17
:cond_23
const-string v1, "Invalid URL port: \""
2020-07-14 22:43:59 +00:00
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
move-result-object v1
move/from16 v11, v26
invoke-virtual {v12, v11, v14}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v2
2020-09-08 08:16:32 +00:00
invoke-static {v2, v13}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v2, 0x22
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)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_24
move/from16 p1, v11
const/16 v7, 0x22
const/4 v8, 0x1
2020-09-02 04:07:20 +00:00
sget-object v1, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/4 v5, 0x0
const/4 v6, 0x4
move-object/from16 v2, p2
move v3, v10
move/from16 v4, p1
2020-09-02 04:07:20 +00:00
invoke-static/range {v1 .. v6}, Lo0/w$b;->d(Lo0/w$b;Ljava/lang/String;IIZI)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-09-08 08:16:32 +00:00
invoke-static {v1}, Lf/n/a/k/a;->i0(Ljava/lang/String;)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-09-02 04:07:20 +00:00
iput-object v1, v0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-object v1, v0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_3e
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_3d
2020-09-02 04:07:20 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v2
const v3, 0x310888 # 4.503E-39f
if-eq v2, v3, :cond_26
const v3, 0x5f008eb
if-eq v2, v3, :cond_25
goto :goto_15
:cond_25
invoke-virtual {v1, v15}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_27
const/16 v1, 0x1bb
goto :goto_16
:cond_26
move-object/from16 v2, v19
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_27
const/16 v1, 0x50
goto :goto_16
:cond_27
:goto_15
const/4 v1, -0x1
:goto_16
2020-09-02 04:07:20 +00:00
iput v1, v0, Lo0/w$a;->e:I
2020-07-08 16:44:49 +00:00
const/16 v1, 0x22
2020-09-08 08:16:32 +00:00
const/4 v3, 0x1
2020-07-08 16:44:49 +00:00
:goto_17
2020-09-02 04:07:20 +00:00
iget-object v2, v0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
if-eqz v2, :cond_28
const/4 v2, 0x1
goto :goto_18
:cond_28
const/4 v2, 0x0
:goto_18
if-eqz v2, :cond_3c
2020-09-08 08:16:32 +00:00
move v1, v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v2, v14
2020-07-08 16:44:49 +00:00
:goto_19
2020-09-08 08:16:32 +00:00
const-string v3, "?#"
2020-07-08 16:44:49 +00:00
move/from16 v4, v18
2020-09-08 08:16:32 +00:00
invoke-static {v12, v3, v2, v4}, Lo0/g0/b;->i(Ljava/lang/String;Ljava/lang/String;II)I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-ne v2, v3, :cond_29
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-object v15, v0
2020-07-08 16:44:49 +00:00
move v14, v4
move-object v1, v12
move-object v2, v1
goto/16 :goto_26
:cond_29
2020-09-08 08:16:32 +00:00
invoke-virtual {v12, v2}, Ljava/lang/String;->charAt(I)C
2020-07-08 16:44:49 +00:00
move-result v5
const-string v6, ""
const/16 v7, 0x2f
if-eq v5, v7, :cond_2b
const/16 v7, 0x5c
if-ne v5, v7, :cond_2a
goto :goto_1a
:cond_2a
2020-09-02 04:07:20 +00:00
iget-object v5, v0, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
invoke-interface {v5}, Ljava/util/List;->size()I
move-result v7
sub-int/2addr v7, v1
invoke-interface {v5, v7, v6}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
move-object v8, v0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-object v9, v8
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v5, v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v13, v4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-object v7, v6
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v4, v2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v6, v5
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-object v2, v12
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v3, v1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v1, v2
2020-07-08 16:44:49 +00:00
goto :goto_1c
:cond_2b
:goto_1a
2020-09-02 04:07:20 +00:00
iget-object v5, v0, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
invoke-interface {v5}, Ljava/util/List;->clear()V
2020-09-02 04:07:20 +00:00
iget-object v5, v0, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
invoke-interface {v5, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
move-object v8, v0
move-object v9, v8
2020-09-08 08:16:32 +00:00
move v5, v3
2020-07-08 16:44:49 +00:00
move v13, v4
move-object v7, v6
2020-09-08 08:16:32 +00:00
move v4, v2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v6, v5
2020-07-08 16:44:49 +00:00
move-object v2, v12
move v3, v1
move-object v1, v2
:goto_1b
2020-09-08 08:16:32 +00:00
add-int/2addr v4, v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
:cond_2c
2020-07-08 16:44:49 +00:00
:goto_1c
2020-09-08 08:16:32 +00:00
if-ge v4, v6, :cond_39
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v10, "/\\"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v1, v10, v4, v6}, Lo0/g0/b;->i(Ljava/lang/String;Ljava/lang/String;II)I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v10
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-ge v10, v6, :cond_2d
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
const/4 v11, 0x1
2020-07-08 16:44:49 +00:00
goto :goto_1d
2020-09-08 08:16:32 +00:00
:cond_2d
const/4 v11, 0x0
2020-07-08 16:44:49 +00:00
:goto_1d
2020-09-08 08:16:32 +00:00
const/16 v19, 0x1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
sget-object v14, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
const/16 v20, 0x0
const/16 v21, 0x0
const/16 v22, 0x0
2020-09-08 08:16:32 +00:00
const/16 v23, 0x0
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
const/16 v24, 0xf0
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
const-string v18, " \"<>^`{}|/\\?#"
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v15, v1
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move/from16 v16, v4
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move/from16 v17, v10
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static/range {v14 .. v24}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v4
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
const-string v14, "."
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v4, v14}, Lk0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-nez v14, :cond_2f
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v14, "%2e"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v4, v14, v3}, Lk0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v14, :cond_2e
2020-07-08 16:44:49 +00:00
goto :goto_1e
2020-09-08 08:16:32 +00:00
:cond_2e
const/4 v14, 0x0
2020-07-08 16:44:49 +00:00
goto :goto_1f
2020-09-08 08:16:32 +00:00
:cond_2f
2020-07-08 16:44:49 +00:00
:goto_1e
2020-09-08 08:16:32 +00:00
const/4 v14, 0x1
2020-07-08 16:44:49 +00:00
:goto_1f
2020-09-08 08:16:32 +00:00
if-eqz v14, :cond_30
2020-07-08 16:44:49 +00:00
goto/16 :goto_25
2020-09-08 08:16:32 +00:00
:cond_30
const-string v14, ".."
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v4, v14}, Lk0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-nez v14, :cond_32
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v14, "%2e."
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v4, v14, v3}, Lk0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-nez v14, :cond_32
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v14, ".%2e"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v4, v14, v3}, Lk0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-nez v14, :cond_32
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v14, "%2e%2e"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v4, v14, v3}, Lk0/t/k;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v14, :cond_31
2020-07-08 16:44:49 +00:00
goto :goto_20
2020-09-08 08:16:32 +00:00
:cond_31
const/4 v14, 0x0
2020-07-08 16:44:49 +00:00
goto :goto_21
2020-09-08 08:16:32 +00:00
:cond_32
2020-07-08 16:44:49 +00:00
:goto_20
2020-09-08 08:16:32 +00:00
const/4 v14, 0x1
2020-07-08 16:44:49 +00:00
:goto_21
2020-09-08 08:16:32 +00:00
if-eqz v14, :cond_35
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v4, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v4}, Ljava/util/List;->size()I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
sub-int/2addr v14, v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v4, v14}, Ljava/util/List;->remove(I)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
check-cast v4, Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v4}, Ljava/lang/String;->length()I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-nez v4, :cond_33
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
const/4 v4, 0x1
2020-07-08 16:44:49 +00:00
goto :goto_22
2020-09-08 08:16:32 +00:00
:cond_33
const/4 v4, 0x0
2020-07-08 16:44:49 +00:00
:goto_22
2020-09-08 08:16:32 +00:00
if-eqz v4, :cond_34
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v4, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v4}, Ljava/util/Collection;->isEmpty()Z
2020-09-02 04:07:20 +00:00
move-result v4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
xor-int/2addr v4, v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v4, :cond_34
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v4, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v4}, Ljava/util/List;->size()I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
sub-int/2addr v14, v3
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v4, v14, v7}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
goto :goto_25
2020-09-02 04:07:20 +00:00
:cond_34
2020-09-08 08:16:32 +00:00
iget-object v4, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v4, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
goto :goto_25
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
:cond_35
iget-object v14, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v14}, Ljava/util/List;->size()I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v15
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
sub-int/2addr v15, v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v14, v15}, Ljava/util/List;->get(I)Ljava/lang/Object;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v14
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
check-cast v14, Ljava/lang/CharSequence;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v14}, Ljava/lang/CharSequence;->length()I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v14
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-nez v14, :cond_36
const/4 v14, 0x1
2020-07-08 16:44:49 +00:00
goto :goto_23
2020-09-08 08:16:32 +00:00
:cond_36
const/4 v14, 0x0
2020-07-08 16:44:49 +00:00
:goto_23
2020-09-08 08:16:32 +00:00
if-eqz v14, :cond_37
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v14, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v14}, Ljava/util/List;->size()I
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v15
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
sub-int/2addr v15, v3
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v14, v15, v4}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
goto :goto_24
2020-09-08 08:16:32 +00:00
:cond_37
iget-object v14, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v14, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
:goto_24
2020-09-08 08:16:32 +00:00
if-eqz v11, :cond_38
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iget-object v4, v9, Lo0/w$a;->f:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v4, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
:cond_38
2020-07-08 16:44:49 +00:00
:goto_25
2020-09-08 08:16:32 +00:00
move v4, v10
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v11, :cond_2c
2020-07-08 16:44:49 +00:00
goto/16 :goto_1b
2020-09-08 08:16:32 +00:00
:cond_39
move v3, v5
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v15, v8
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v1, v12
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move v14, v13
2020-07-08 16:44:49 +00:00
:goto_26
2020-09-08 08:16:32 +00:00
if-ge v3, v14, :cond_3a
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v2, v3}, Ljava/lang/String;->charAt(I)C
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result v4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/16 v5, 0x3f
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-ne v4, v5, :cond_3a
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/16 v4, 0x23
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v2, v4, v3, v14}, Lo0/g0/b;->h(Ljava/lang/String;CII)I
2020-07-08 16:44:49 +00:00
move-result v16
2020-09-08 08:16:32 +00:00
sget-object v13, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
add-int/lit8 v5, v3, 0x1
2020-07-08 16:44:49 +00:00
const/4 v8, 0x1
const/4 v9, 0x0
const/4 v10, 0x1
2020-09-08 08:16:32 +00:00
const/4 v11, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v12, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/16 v17, 0xd0
2020-07-08 16:44:49 +00:00
const-string v7, " \"\'<>#"
2020-09-08 08:16:32 +00:00
move-object v3, v13
2020-07-08 16:44:49 +00:00
move-object v4, v1
move/from16 v6, v16
2020-09-08 08:16:32 +00:00
move-object v0, v13
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move/from16 v13, v17
2020-09-02 04:07:20 +00:00
invoke-static/range {v3 .. v13}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object v3
2020-09-08 08:16:32 +00:00
invoke-virtual {v0, v3}, Lo0/w$b;->e(Ljava/lang/String;)Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v0
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
iput-object v0, v15, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
move/from16 v3, v16
:cond_3a
if-ge v3, v14, :cond_3b
invoke-virtual {v2, v3}, Ljava/lang/String;->charAt(I)C
2020-09-08 08:16:32 +00:00
move-result v0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/16 v2, 0x23
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-ne v0, v2, :cond_3b
sget-object v0, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
add-int/lit8 v5, v3, 0x1
const/4 v8, 0x1
const/4 v9, 0x0
const/4 v10, 0x0
const/4 v11, 0x1
const/4 v12, 0x0
const/16 v13, 0xb0
const-string v7, ""
2020-09-08 08:16:32 +00:00
move-object v3, v0
2020-07-08 16:44:49 +00:00
move-object v4, v1
move v6, v14
2020-09-02 04:07:20 +00:00
invoke-static/range {v3 .. v13}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
iput-object v0, v15, Lo0/w$a;->h:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
:cond_3b
return-object v15
:cond_3c
2020-09-08 08:16:32 +00:00
const-string v0, "Invalid URL host: \""
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
move/from16 v14, p1
invoke-virtual {v12, v10, v14}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2020-09-08 08:16:32 +00:00
move-result-object v2
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v2, v13}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
new-instance v1, Ljava/lang/IllegalArgumentException;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
throw v1
2020-07-08 16:44:49 +00:00
:cond_3d
2020-09-08 08:16:32 +00:00
const-string v0, "scheme"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
throw v0
2020-07-08 16:44:49 +00:00
:cond_3e
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {}, Lk0/n/c/h;->throwNpe()V
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
throw v0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
:cond_3f
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Expected URL scheme \'http\' or \'https\' but no colon was found"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_40
const/4 v0, 0x0
const-string v1, "input"
invoke-static {v1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
2020-09-02 04:07:20 +00:00
.method public final f(Ljava/lang/String;)Lo0/w$a;
2020-09-08 08:16:32 +00:00
.locals 11
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
sget-object v0, Lo0/w;->l:Lo0/w$b;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
const/4 v2, 0x0
2020-07-08 16:44:49 +00:00
const/4 v3, 0x0
2020-09-08 08:16:32 +00:00
const/4 v5, 0x0
2020-07-08 16:44:49 +00:00
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
2020-09-08 08:16:32 +00:00
const/16 v10, 0xfb
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-object v1, p1
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static/range {v0 .. v10}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-09-02 04:07:20 +00:00
iput-object p1, p0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
return-object p0
.end method
2020-09-02 04:07:20 +00:00
.method public final g(Ljava/lang/String;)Lo0/w$a;
2020-09-08 08:16:32 +00:00
.locals 11
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
sget-object v0, Lo0/w;->l:Lo0/w$b;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v2, 0x0
2020-07-08 16:44:49 +00:00
const/4 v3, 0x0
2020-09-08 08:16:32 +00:00
const/4 v5, 0x0
2020-07-08 16:44:49 +00:00
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
2020-09-08 08:16:32 +00:00
const/16 v10, 0xfb
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const-string v4, " \"\':;<=>@[]^`{}|/\\?#"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-object v1, p1
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static/range {v0 .. v10}, Lo0/w$b;->a(Lo0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-09-02 04:07:20 +00:00
iput-object p1, p0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
return-object p0
.end method
.method public toString()Ljava/lang/String;
.locals 10
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
if-eqz v1, :cond_0
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;
goto :goto_0
:cond_0
const-string v1, "//"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:goto_0
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
move-result v1
const/4 v2, 0x1
const/4 v3, 0x0
if-lez v1, :cond_1
const/4 v1, 0x1
goto :goto_1
:cond_1
const/4 v1, 0x0
:goto_1
const/16 v4, 0x3a
if-nez v1, :cond_3
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
move-result v1
if-lez v1, :cond_2
const/4 v1, 0x1
goto :goto_2
:cond_2
const/4 v1, 0x0
:goto_2
if-eqz v1, :cond_6
:cond_3
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->b:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
move-result v1
if-lez v1, :cond_4
goto :goto_3
:cond_4
const/4 v2, 0x0
:goto_3
if-eqz v2, :cond_5
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_5
const/16 v1, 0x40
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_6
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
const/4 v2, 0x2
const/4 v5, 0x0
if-eqz v1, :cond_9
if-eqz v1, :cond_8
2020-09-08 08:16:32 +00:00
invoke-static {v1, v4, v3, v2}, Lk0/t/p;->contains$default(Ljava/lang/CharSequence;CZI)Z
2020-07-08 16:44:49 +00:00
move-result v1
if-eqz v1, :cond_7
const/16 v1, 0x5b
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x5d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
goto :goto_4
:cond_7
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->d:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
goto :goto_4
:cond_8
2020-09-08 08:16:32 +00:00
invoke-static {}, Lk0/n/c/h;->throwNpe()V
2020-07-08 16:44:49 +00:00
throw v5
:cond_9
:goto_4
2020-09-02 04:07:20 +00:00
iget v1, p0, Lo0/w$a;->e:I
2020-07-08 16:44:49 +00:00
const/4 v6, -0x1
if-ne v1, v6, :cond_a
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_11
2020-07-08 16:44:49 +00:00
:cond_a
2020-09-02 04:07:20 +00:00
invoke-virtual {p0}, Lo0/w$a;->c()I
2020-07-08 16:44:49 +00:00
move-result v1
2020-09-02 04:07:20 +00:00
iget-object v7, p0, Lo0/w$a;->a:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v7, :cond_10
2020-07-08 16:44:49 +00:00
if-eqz v7, :cond_f
if-eqz v7, :cond_e
invoke-virtual {v7}, Ljava/lang/String;->hashCode()I
move-result v8
const v9, 0x310888 # 4.503E-39f
if-eq v8, v9, :cond_c
const v9, 0x5f008eb
if-eq v8, v9, :cond_b
goto :goto_5
:cond_b
const-string v8, "https"
invoke-virtual {v7, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_d
const/16 v6, 0x1bb
goto :goto_5
:cond_c
const-string v8, "http"
invoke-virtual {v7, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_d
const/16 v6, 0x50
:cond_d
:goto_5
2020-09-08 08:16:32 +00:00
if-eq v1, v6, :cond_11
2020-07-08 16:44:49 +00:00
goto :goto_6
:cond_e
2020-09-08 08:16:32 +00:00
const-string v0, "scheme"
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v5
:cond_f
2020-09-08 08:16:32 +00:00
invoke-static {}, Lk0/n/c/h;->throwNpe()V
throw v5
:cond_10
2020-07-08 16:44:49 +00:00
:goto_6
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
2020-09-08 08:16:32 +00:00
:cond_11
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->f:Ljava/util/List;
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_1a
2020-07-08 16:44:49 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
2020-09-08 08:16:32 +00:00
move-result v4
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v6, 0x0
2020-07-08 16:44:49 +00:00
:goto_7
2020-09-08 08:16:32 +00:00
if-ge v6, v4, :cond_12
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/16 v7, 0x2f
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v1, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
move-result-object v7
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
check-cast v7, Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
add-int/lit8 v6, v6, 0x1
2020-07-08 16:44:49 +00:00
goto :goto_7
2020-09-08 08:16:32 +00:00
:cond_12
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_18
2020-07-08 16:44:49 +00:00
const/16 v1, 0x3f
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->g:Ljava/util/List;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_17
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_16
2020-07-08 16:44:49 +00:00
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v4
2020-09-08 08:16:32 +00:00
invoke-static {v3, v4}, Lk0/q/f;->until(II)Lkotlin/ranges/IntRange;
2020-07-08 16:44:49 +00:00
move-result-object v3
2020-09-08 08:16:32 +00:00
invoke-static {v3, v2}, Lk0/q/f;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
2020-07-08 16:44:49 +00:00
move-result-object v2
iget v3, v2, Lkotlin/ranges/IntProgression;->d:I
iget v4, v2, Lkotlin/ranges/IntProgression;->e:I
iget v2, v2, Lkotlin/ranges/IntProgression;->f:I
2020-09-08 08:16:32 +00:00
if-ltz v2, :cond_13
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-gt v3, v4, :cond_18
2020-07-08 16:44:49 +00:00
goto :goto_8
2020-09-08 08:16:32 +00:00
:cond_13
if-lt v3, v4, :cond_18
2020-07-08 16:44:49 +00:00
:goto_8
invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/lang/String;
add-int/lit8 v6, v3, 0x1
invoke-interface {v1, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v6
check-cast v6, Ljava/lang/String;
2020-09-08 08:16:32 +00:00
if-lez v3, :cond_14
2020-07-08 16:44:49 +00:00
const/16 v7, 0x26
invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-08 08:16:32 +00:00
:cond_14
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-08 08:16:32 +00:00
if-eqz v6, :cond_15
2020-07-08 16:44:49 +00:00
const/16 v5, 0x3d
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-08 08:16:32 +00:00
:cond_15
if-eq v3, v4, :cond_18
2020-07-08 16:44:49 +00:00
add-int/2addr v3, v2
goto :goto_8
2020-09-08 08:16:32 +00:00
:cond_16
const-string v0, "$this$toQueryString"
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
throw v5
2020-09-08 08:16:32 +00:00
:cond_17
invoke-static {}, Lk0/n/c/h;->throwNpe()V
throw v5
:cond_18
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->h:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v1, :cond_19
2020-07-08 16:44:49 +00:00
const/16 v1, 0x23
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
iget-object v1, p0, Lo0/w$a;->h:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-08 08:16:32 +00:00
:cond_19
2020-07-08 16:44:49 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "StringBuilder().apply(builderAction).toString()"
2020-09-08 08:16:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
return-object v0
2020-09-08 08:16:32 +00:00
:cond_1a
const-string v0, "$this$toPathString"
invoke-static {v0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v5
2020-07-08 16:44:49 +00:00
.end method