2020-11-16 01:00:50 +00:00
|
|
|
.class public final Ld0/y$b;
|
2020-11-13 19:18:44 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "HttpUrl.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-11-16 01:00:50 +00:00
|
|
|
value = Ld0/y;
|
2020-11-13 19:18:44 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "b"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
.method public static a(Ld0/y$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
|
2020-11-13 19:18:44 +00:00
|
|
|
.locals 16
|
|
|
|
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
|
|
|
|
move-object/from16 v2, p4
|
|
|
|
|
|
|
|
move/from16 v3, p10
|
|
|
|
|
|
|
|
and-int/lit8 v4, v3, 0x1
|
|
|
|
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move/from16 v4, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 v5, v3, 0x2
|
|
|
|
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move/from16 v5, p3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
and-int/lit8 v6, v3, 0x8
|
|
|
|
|
|
|
|
if-eqz v6, :cond_2
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move/from16 v6, p5
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
and-int/lit8 v7, v3, 0x10
|
|
|
|
|
|
|
|
if-eqz v7, :cond_3
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move/from16 v7, p6
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
and-int/lit8 v8, v3, 0x20
|
|
|
|
|
|
|
|
if-eqz v8, :cond_4
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move/from16 v8, p7
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
and-int/lit8 v9, v3, 0x40
|
|
|
|
|
|
|
|
if-eqz v9, :cond_5
|
|
|
|
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
move/from16 v9, p8
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
and-int/lit16 v3, v3, 0x80
|
|
|
|
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
move-object/from16 v3, p9
|
|
|
|
|
|
|
|
:goto_6
|
|
|
|
const-string v10, "$this$canonicalize"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v1, v10}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
const-string v10, "encodeSet"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v2, v10}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move v10, v4
|
|
|
|
|
|
|
|
:goto_7
|
|
|
|
const-string v11, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
|
|
|
if-ge v10, v5, :cond_1f
|
|
|
|
|
|
|
|
invoke-virtual {v1, v10}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v12
|
|
|
|
|
|
|
|
const/16 v13, 0x7f
|
|
|
|
|
|
|
|
const/16 v14, 0x20
|
|
|
|
|
|
|
|
const/4 v15, 0x2
|
|
|
|
|
|
|
|
if-lt v12, v14, :cond_a
|
|
|
|
|
|
|
|
if-eq v12, v13, :cond_a
|
|
|
|
|
|
|
|
const/16 v13, 0x80
|
|
|
|
|
|
|
|
if-lt v12, v13, :cond_7
|
|
|
|
|
|
|
|
if-eqz v9, :cond_a
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
int-to-char v13, v12
|
|
|
|
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v2, v13, v14, v15}, Lz/t/p;->contains$default(Ljava/lang/CharSequence;CZI)Z
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-nez v13, :cond_a
|
|
|
|
|
|
|
|
const/16 v13, 0x25
|
|
|
|
|
|
|
|
if-ne v12, v13, :cond_8
|
|
|
|
|
|
|
|
if-eqz v6, :cond_a
|
|
|
|
|
|
|
|
if-eqz v7, :cond_8
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v0, v1, v10, v5}, Ld0/y$b;->b(Ljava/lang/String;II)Z
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-eqz v13, :cond_a
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
const/16 v13, 0x2b
|
|
|
|
|
|
|
|
if-ne v12, v13, :cond_9
|
|
|
|
|
|
|
|
if-eqz v8, :cond_9
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
invoke-static {v12}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v11
|
|
|
|
|
|
|
|
add-int/2addr v10, v11
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
:goto_8
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance v12, Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {v12}, Le0/e;-><init>()V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v12, v1, v4, v10}, Le0/e;->Q(Ljava/lang/String;II)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_9
|
|
|
|
if-ge v10, v5, :cond_1e
|
|
|
|
|
|
|
|
invoke-virtual {v1, v10}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result v13
|
|
|
|
|
|
|
|
if-eqz v6, :cond_b
|
|
|
|
|
|
|
|
const/16 v14, 0x9
|
|
|
|
|
|
|
|
if-eq v13, v14, :cond_d
|
|
|
|
|
|
|
|
const/16 v14, 0xa
|
|
|
|
|
|
|
|
if-eq v13, v14, :cond_d
|
|
|
|
|
|
|
|
const/16 v14, 0xc
|
|
|
|
|
|
|
|
if-eq v13, v14, :cond_d
|
|
|
|
|
|
|
|
const/16 v14, 0xd
|
|
|
|
|
|
|
|
if-eq v13, v14, :cond_d
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
const/16 v14, 0x2b
|
|
|
|
|
|
|
|
if-ne v13, v14, :cond_e
|
|
|
|
|
|
|
|
if-eqz v8, :cond_e
|
|
|
|
|
|
|
|
if-eqz v6, :cond_c
|
|
|
|
|
|
|
|
const-string v14, "+"
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
const-string v14, "%2B"
|
|
|
|
|
|
|
|
:goto_a
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v12, v14}, Le0/e;->N(Ljava/lang/String;)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
:cond_d
|
|
|
|
move/from16 p2, v8
|
|
|
|
|
|
|
|
goto/16 :goto_11
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
const/16 v14, 0x20
|
|
|
|
|
|
|
|
if-lt v13, v14, :cond_11
|
|
|
|
|
|
|
|
const/16 v14, 0x7f
|
|
|
|
|
|
|
|
if-eq v13, v14, :cond_11
|
|
|
|
|
|
|
|
const/16 v14, 0x80
|
|
|
|
|
|
|
|
if-lt v13, v14, :cond_f
|
|
|
|
|
|
|
|
if-eqz v9, :cond_11
|
|
|
|
|
|
|
|
:cond_f
|
|
|
|
int-to-char v14, v13
|
|
|
|
|
|
|
|
move/from16 p2, v8
|
|
|
|
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v2, v14, v8, v15}, Lz/t/p;->contains$default(Ljava/lang/CharSequence;CZI)Z
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_12
|
|
|
|
|
|
|
|
const/16 v8, 0x25
|
|
|
|
|
|
|
|
if-ne v13, v8, :cond_10
|
|
|
|
|
|
|
|
if-eqz v6, :cond_12
|
|
|
|
|
|
|
|
if-eqz v7, :cond_10
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v0, v1, v10, v5}, Ld0/y$b;->b(Ljava/lang/String;II)Z
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_10
|
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
:cond_10
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v12, v13}, Le0/e;->U(I)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
goto/16 :goto_11
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
move/from16 p2, v8
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
:goto_b
|
|
|
|
if-nez v4, :cond_13
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance v4, Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {v4}, Le0/e;-><init>()V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
:cond_13
|
|
|
|
if-eqz v3, :cond_1c
|
|
|
|
|
|
|
|
sget-object v8, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v3, v8}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_14
|
|
|
|
|
|
|
|
goto/16 :goto_f
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
invoke-static {v13}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
add-int/2addr v8, v10
|
|
|
|
|
|
|
|
const-string v14, "string"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v1, v14}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
const-string v14, "charset"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v3, v14}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
const/4 v14, 0x1
|
|
|
|
|
|
|
|
if-ltz v10, :cond_15
|
|
|
|
|
|
|
|
const/4 v15, 0x1
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
const/4 v15, 0x0
|
|
|
|
|
|
|
|
:goto_c
|
|
|
|
if-eqz v15, :cond_1b
|
|
|
|
|
|
|
|
if-lt v8, v10, :cond_16
|
|
|
|
|
|
|
|
const/4 v15, 0x1
|
|
|
|
|
|
|
|
goto :goto_d
|
|
|
|
|
|
|
|
:cond_16
|
|
|
|
const/4 v15, 0x0
|
|
|
|
|
|
|
|
:goto_d
|
|
|
|
if-eqz v15, :cond_1a
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v15
|
|
|
|
|
|
|
|
if-gt v8, v15, :cond_17
|
|
|
|
|
|
|
|
goto :goto_e
|
|
|
|
|
|
|
|
:cond_17
|
|
|
|
const/4 v14, 0x0
|
|
|
|
|
|
|
|
:goto_e
|
|
|
|
if-eqz v14, :cond_19
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
sget-object v14, Lz/t/a;->a:Ljava/nio/charset/Charset;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v3, v14}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v14
|
|
|
|
|
|
|
|
if-eqz v14, :cond_18
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v4, v1, v10, v8}, Le0/e;->Q(Ljava/lang/String;II)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
goto :goto_10
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
invoke-virtual {v1, v10, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v8, v11}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v8, v3}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
const-string v14, "(this as java.lang.String).getBytes(charset)"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v8, v14}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
array-length v14, v8
|
|
|
|
|
|
|
|
const/4 v15, 0x0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v4, v8, v15, v14}, Le0/e;->E([BII)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
goto :goto_10
|
|
|
|
|
|
|
|
:cond_19
|
|
|
|
const-string v0, "endIndex > string.length: "
|
|
|
|
|
|
|
|
const-string v2, " > "
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v0, v8, v2}, Lf/e/c/a/a;->F(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_1a
|
|
|
|
const-string v0, "endIndex < beginIndex: "
|
|
|
|
|
|
|
|
const-string v1, " < "
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v0, v8, v1, v10}, Lf/e/c/a/a;->k(Ljava/lang/String;ILjava/lang/String;I)Ljava/lang/String;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_1b
|
|
|
|
const-string v0, "beginIndex < 0: "
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v0, v10}, Lf/e/c/a/a;->i(Ljava/lang/String;I)Ljava/lang/String;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_1c
|
|
|
|
:goto_f
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v4, v13}, Le0/e;->U(I)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
:goto_10
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v4}, Le0/e;->K()Z
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
if-nez v8, :cond_1d
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v4}, Le0/e;->readByte()B
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
and-int/lit16 v8, v8, 0xff
|
|
|
|
|
|
|
|
const/16 v14, 0x25
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v12, v14}, Le0/e;->F(I)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
sget-object v14, Ld0/y;->k:[C
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
shr-int/lit8 v15, v8, 0x4
|
|
|
|
|
|
|
|
and-int/lit8 v15, v15, 0xf
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
aget-char v14, v14, v15
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v12, v14}, Le0/e;->F(I)Le0/e;
|
|
|
|
|
|
|
|
sget-object v14, Ld0/y;->k:[C
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
and-int/lit8 v8, v8, 0xf
|
|
|
|
|
|
|
|
aget-char v8, v14, v8
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v12, v8}, Le0/e;->F(I)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
goto :goto_10
|
|
|
|
|
|
|
|
:cond_1d
|
|
|
|
:goto_11
|
|
|
|
invoke-static {v13}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
add-int/2addr v10, v8
|
|
|
|
|
|
|
|
const/4 v15, 0x2
|
|
|
|
|
|
|
|
move/from16 v8, p2
|
|
|
|
|
|
|
|
goto/16 :goto_9
|
|
|
|
|
|
|
|
:cond_1e
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {v12}, Le0/e;->s()Ljava/lang/String;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_12
|
|
|
|
|
|
|
|
:cond_1f
|
|
|
|
invoke-virtual {v1, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v0, v11}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
:goto_12
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
.method public static c(Ld0/y$b;Ljava/lang/String;IIZI)Ljava/lang/String;
|
2020-11-13 19:18:44 +00:00
|
|
|
.locals 6
|
|
|
|
|
|
|
|
and-int/lit8 p0, p5, 0x1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
and-int/lit8 p0, p5, 0x2
|
|
|
|
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
and-int/lit8 p0, p5, 0x4
|
|
|
|
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
|
|
|
|
const/4 p4, 0x0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const-string p0, "$this$percentDecode"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1, p0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move p0, p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge p0, p3, :cond_8
|
|
|
|
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p5
|
|
|
|
|
|
|
|
const/16 v0, 0x2b
|
|
|
|
|
|
|
|
const/16 v1, 0x25
|
|
|
|
|
|
|
|
if-eq p5, v1, :cond_4
|
|
|
|
|
|
|
|
if-ne p5, v0, :cond_3
|
|
|
|
|
|
|
|
if-eqz p4, :cond_3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
2020-11-16 01:00:50 +00:00
|
|
|
new-instance p5, Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-direct {p5}, Le0/e;-><init>()V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {p5, p1, p2, p0}, Le0/e;->Q(Ljava/lang/String;II)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-ge p0, p3, :cond_7
|
|
|
|
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/String;->codePointAt(I)I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
if-ne p2, v1, :cond_5
|
|
|
|
|
|
|
|
add-int/lit8 v2, p0, 0x2
|
|
|
|
|
|
|
|
if-ge v2, p3, :cond_5
|
|
|
|
|
|
|
|
add-int/lit8 v3, p0, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v3}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v3}, Ld0/h0/c;->w(C)I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
invoke-virtual {p1, v2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v4}, Ld0/h0/c;->w(C)I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
const/4 v5, -0x1
|
|
|
|
|
|
|
|
if-eq v3, v5, :cond_6
|
|
|
|
|
|
|
|
if-eq v4, v5, :cond_6
|
|
|
|
|
|
|
|
shl-int/lit8 p0, v3, 0x4
|
|
|
|
|
|
|
|
add-int/2addr p0, v4
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {p5, p0}, Le0/e;->F(I)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
add-int/2addr p0, v2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
if-ne p2, v0, :cond_6
|
|
|
|
|
|
|
|
if-eqz p4, :cond_6
|
|
|
|
|
|
|
|
const/16 p2, 0x20
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {p5, p2}, Le0/e;->F(I)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_6
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {p5, p2}, Le0/e;->U(I)Le0/e;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Ljava/lang/Character;->charCount(I)I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
add-int/2addr p0, p2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_7
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-virtual {p5}, Le0/e;->s()Ljava/lang/String;
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
invoke-virtual {p1, p2, p3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
const-string p1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p0, p1}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
:goto_3
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-11-16 01:00:50 +00:00
|
|
|
.method public final b(Ljava/lang/String;II)Z
|
2020-11-13 19:18:44 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
add-int/lit8 v0, p2, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-ge v0, p3, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p3
|
|
|
|
|
|
|
|
const/16 v2, 0x25
|
|
|
|
|
|
|
|
if-ne p3, v2, :cond_0
|
|
|
|
|
|
|
|
add-int/2addr p2, v1
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p2}, Ld0/h0/c;->w(C)I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
const/4 p3, -0x1
|
|
|
|
|
|
|
|
if-eq p2, p3, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1}, Ld0/h0/c;->w(C)I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eq p1, p3, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
.method public final d(Ljava/lang/String;)Ljava/util/List;
|
2020-11-13 19:18:44 +00:00
|
|
|
.locals 7
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "$this$toQueryNamesAndValues"
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1, v0}, Lz/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-gt v2, v3, :cond_3
|
|
|
|
|
|
|
|
const/16 v3, 0x26
|
|
|
|
|
|
|
|
const/4 v4, 0x4
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1, v3, v2, v1, v4}, Lz/t/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
const/4 v5, -0x1
|
|
|
|
|
|
|
|
if-ne v3, v5, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/16 v6, 0x3d
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {p1, v6, v2, v1, v4}, Lz/t/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
const-string v6, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
|
|
|
|
if-eq v4, v5, :cond_2
|
|
|
|
|
|
|
|
if-le v4, v3, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p1, v2, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v2, v6}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v4, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v2, v6}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p1, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-11-16 01:00:50 +00:00
|
|
|
invoke-static {v2, v6}, Lz/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-13 19:18:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
add-int/lit8 v2, v3, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-object v0
|
|
|
|
.end method
|