apkfuckery/com.discord/smali_classes2/x/u$b.smali

1338 lines
24 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Lx/u$b;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "HttpUrl.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2019-12-21 01:41:59 +00:00
value = Lx/u;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
2019-12-21 01:41:59 +00:00
.method public static synthetic a(Lx/u$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
.locals 13
move/from16 v0, p10
and-int/lit8 v1, v0, 0x1
const/4 v2, 0x0
if-eqz v1, :cond_0
const/4 v5, 0x0
goto :goto_0
:cond_0
move v5, p2
:goto_0
and-int/lit8 v1, v0, 0x2
if-eqz v1, :cond_1
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v1
move v6, v1
goto :goto_1
:cond_1
move/from16 v6, p3
:goto_1
and-int/lit8 v1, v0, 0x8
if-eqz v1, :cond_2
const/4 v8, 0x0
goto :goto_2
:cond_2
move/from16 v8, p5
:goto_2
and-int/lit8 v1, v0, 0x10
if-eqz v1, :cond_3
const/4 v9, 0x0
goto :goto_3
:cond_3
move/from16 v9, p6
:goto_3
and-int/lit8 v1, v0, 0x20
if-eqz v1, :cond_4
const/4 v10, 0x0
goto :goto_4
:cond_4
move/from16 v10, p7
:goto_4
and-int/lit8 v1, v0, 0x40
if-eqz v1, :cond_5
const/4 v11, 0x0
goto :goto_5
:cond_5
move/from16 v11, p8
:goto_5
and-int/lit16 v0, v0, 0x80
if-eqz v0, :cond_6
const/4 v0, 0x0
move-object v12, v0
goto :goto_6
:cond_6
move-object/from16 v12, p9
:goto_6
move-object v3, p0
move-object v4, p1
move-object/from16 v7, p4
2019-12-21 01:41:59 +00:00
invoke-virtual/range {v3 .. v12}, Lx/u$b;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v0
return-object v0
.end method
2019-12-21 01:41:59 +00:00
.method public static synthetic a(Lx/u$b;Ljava/lang/String;IIZI)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
.locals 2
and-int/lit8 v0, p5, 0x1
const/4 v1, 0x0
if-eqz v0, :cond_0
const/4 p2, 0x0
:cond_0
and-int/lit8 v0, p5, 0x2
if-eqz v0, :cond_1
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p3
:cond_1
and-int/lit8 p5, p5, 0x4
if-eqz p5, :cond_2
const/4 p4, 0x0
:cond_2
2019-12-21 01:41:59 +00:00
invoke-virtual {p0, p1, p2, p3, p4}, Lx/u$b;->a(Ljava/lang/String;IIZ)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final a(Ljava/lang/String;)I
.locals 2
if-eqz p1, :cond_3
invoke-virtual {p1}, Ljava/lang/String;->hashCode()I
move-result v0
const v1, 0x310888 # 4.503E-39f
if-eq v0, v1, :cond_1
const v1, 0x5f008eb
if-eq v0, v1, :cond_0
goto :goto_0
:cond_0
const-string v0, "https"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_2
const/16 p1, 0x1bb
goto :goto_1
:cond_1
const-string v0, "http"
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_2
const/16 p1, 0x50
goto :goto_1
:cond_2
:goto_0
const/4 p1, -0x1
:goto_1
return p1
:cond_3
const-string p1, "scheme"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
.end method
.method public final a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
.locals 17
move-object/from16 v0, p0
move-object/from16 v1, p1
move/from16 v2, p3
move-object/from16 v3, p4
move-object/from16 v4, p9
if-eqz v1, :cond_19
if-eqz v3, :cond_18
move/from16 v5, p2
:goto_0
const-string v6, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
if-ge v5, v2, :cond_17
invoke-virtual {v1, v5}, Ljava/lang/String;->codePointAt(I)I
move-result v7
const/4 v8, 0x2
const/16 v9, 0x80
const/16 v10, 0x7f
const/16 v11, 0x25
const/16 v12, 0x2b
const/16 v13, 0x20
const/4 v14, 0x0
if-lt v7, v13, :cond_3
if-eq v7, v10, :cond_3
if-lt v7, v9, :cond_0
if-eqz p8, :cond_3
:cond_0
int-to-char v15, v7
2020-01-07 02:40:43 +00:00
invoke-static {v3, v15, v14, v8}, Lt/a0/s;->contains$default(Ljava/lang/CharSequence;CZI)Z
2019-12-06 03:29:40 +00:00
move-result v15
if-nez v15, :cond_3
if-ne v7, v11, :cond_1
if-eqz p5, :cond_3
if-eqz p6, :cond_1
2019-12-21 01:41:59 +00:00
invoke-virtual {v0, v1, v5, v2}, Lx/u$b;->a(Ljava/lang/String;II)Z
2019-12-06 03:29:40 +00:00
move-result v11
if-eqz v11, :cond_3
:cond_1
if-ne v7, v12, :cond_2
if-eqz p7, :cond_2
goto :goto_1
:cond_2
invoke-static {v7}, Ljava/lang/Character;->charCount(I)I
move-result v6
add-int/2addr v5, v6
goto :goto_0
:cond_3
:goto_1
2019-12-21 01:41:59 +00:00
new-instance v7, Ly/e;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v7}, Ly/e;-><init>()V
2019-12-06 03:29:40 +00:00
move/from16 v11, p2
2019-12-21 01:41:59 +00:00
invoke-virtual {v7, v1, v11, v5}, Ly/e;->a(Ljava/lang/String;II)Ly/e;
2019-12-06 03:29:40 +00:00
const/4 v11, 0x0
:goto_2
if-ge v5, v2, :cond_16
invoke-virtual {v1, v5}, Ljava/lang/String;->codePointAt(I)I
move-result v15
if-eqz p5, :cond_4
const/16 v14, 0x9
if-eq v15, v14, :cond_9
const/16 v14, 0xa
if-eq v15, v14, :cond_9
const/16 v14, 0xc
if-eq v15, v14, :cond_9
const/16 v14, 0xd
if-eq v15, v14, :cond_9
:cond_4
if-ne v15, v12, :cond_6
if-eqz p7, :cond_6
if-eqz p5, :cond_5
const-string v8, "+"
goto :goto_3
:cond_5
const-string v8, "%2B"
:goto_3
2019-12-21 01:41:59 +00:00
invoke-virtual {v7, v8}, Ly/e;->a(Ljava/lang/String;)Ly/e;
2019-12-06 03:29:40 +00:00
goto :goto_4
:cond_6
if-lt v15, v13, :cond_a
if-eq v15, v10, :cond_a
if-lt v15, v9, :cond_7
if-eqz p8, :cond_a
:cond_7
int-to-char v9, v15
const/4 v14, 0x0
2020-01-07 02:40:43 +00:00
invoke-static {v3, v9, v14, v8}, Lt/a0/s;->contains$default(Ljava/lang/CharSequence;CZI)Z
2019-12-06 03:29:40 +00:00
move-result v8
if-nez v8, :cond_a
const/16 v8, 0x25
if-ne v15, v8, :cond_8
if-eqz p5, :cond_a
if-eqz p6, :cond_8
2019-12-21 01:41:59 +00:00
invoke-virtual {v0, v1, v5, v2}, Lx/u$b;->a(Ljava/lang/String;II)Z
2019-12-06 03:29:40 +00:00
move-result v8
if-nez v8, :cond_8
goto :goto_5
:cond_8
2019-12-21 01:41:59 +00:00
invoke-virtual {v7, v15}, Ly/e;->b(I)Ly/e;
2019-12-06 03:29:40 +00:00
:cond_9
:goto_4
const/4 v14, 0x0
goto/16 :goto_b
:cond_a
:goto_5
if-nez v11, :cond_b
2019-12-21 01:41:59 +00:00
new-instance v11, Ly/e;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v11}, Ly/e;-><init>()V
2019-12-06 03:29:40 +00:00
:cond_b
if-eqz v4, :cond_14
sget-object v8, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
2019-12-21 01:41:59 +00:00
invoke-static {v4, v8}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result v8
if-eqz v8, :cond_c
goto/16 :goto_9
:cond_c
invoke-static {v15}, Ljava/lang/Character;->charCount(I)I
move-result v8
add-int/2addr v8, v5
const/4 v9, 0x1
if-ltz v5, :cond_d
const/4 v14, 0x1
goto :goto_6
:cond_d
const/4 v14, 0x0
:goto_6
if-eqz v14, :cond_13
if-lt v8, v5, :cond_e
const/4 v14, 0x1
goto :goto_7
:cond_e
const/4 v14, 0x0
:goto_7
if-eqz v14, :cond_12
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
move-result v14
if-gt v8, v14, :cond_f
goto :goto_8
:cond_f
const/4 v9, 0x0
:goto_8
if-eqz v9, :cond_11
2019-12-21 01:41:59 +00:00
sget-object v9, Lt/a0/a;->a:Ljava/nio/charset/Charset;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {v4, v9}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
move-result v9
if-eqz v9, :cond_10
2019-12-21 01:41:59 +00:00
invoke-virtual {v11, v1, v5, v8}, Ly/e;->a(Ljava/lang/String;II)Ly/e;
2019-12-06 03:29:40 +00:00
const/4 v14, 0x0
goto :goto_a
:cond_10
invoke-virtual {v1, v5, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v8
2019-12-21 01:41:59 +00:00
invoke-static {v8, v6}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-virtual {v8, v4}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
move-result-object v8
const-string v9, "(this as java.lang.String).getBytes(charset)"
2019-12-21 01:41:59 +00:00
invoke-static {v8, v9}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
array-length v9, v8
const/4 v14, 0x0
2019-12-21 01:41:59 +00:00
invoke-virtual {v11, v8, v14, v9}, Ly/e;->write([BII)Ly/e;
2019-12-06 03:29:40 +00:00
goto :goto_a
:cond_11
const-string v2, "endIndex > string.length: "
const-string v3, " > "
invoke-static {v2, v8, v3}, Le/e/b/a/a;->b(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
move-result v1
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v2}, 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_12
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "endIndex < beginIndex: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v2, " < "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(I)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_13
const-string v1, "beginIndex < 0: "
invoke-static {v1, v5}, Le/e/b/a/a;->a(Ljava/lang/String;I)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_14
:goto_9
const/4 v14, 0x0
2019-12-21 01:41:59 +00:00
invoke-virtual {v11, v15}, Ly/e;->b(I)Ly/e;
2019-12-06 03:29:40 +00:00
:goto_a
2019-12-21 01:41:59 +00:00
invoke-virtual {v11}, Ly/e;->q()Z
2019-12-06 03:29:40 +00:00
move-result v8
if-nez v8, :cond_15
2019-12-21 01:41:59 +00:00
invoke-virtual {v11}, Ly/e;->readByte()B
2019-12-06 03:29:40 +00:00
move-result v8
and-int/lit16 v8, v8, 0xff
const/16 v9, 0x25
2019-12-21 01:41:59 +00:00
invoke-virtual {v7, v9}, Ly/e;->writeByte(I)Ly/e;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {}, Lx/u;->j()[C
2019-12-06 03:29:40 +00:00
move-result-object v9
shr-int/lit8 v16, v8, 0x4
and-int/lit8 v16, v16, 0xf
aget-char v9, v9, v16
2019-12-21 01:41:59 +00:00
invoke-virtual {v7, v9}, Ly/e;->writeByte(I)Ly/e;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-static {}, Lx/u;->j()[C
2019-12-06 03:29:40 +00:00
move-result-object v9
and-int/lit8 v8, v8, 0xf
aget-char v8, v9, v8
2019-12-21 01:41:59 +00:00
invoke-virtual {v7, v8}, Ly/e;->writeByte(I)Ly/e;
2019-12-06 03:29:40 +00:00
goto :goto_a
:cond_15
:goto_b
invoke-static {v15}, Ljava/lang/Character;->charCount(I)I
move-result v8
add-int/2addr v5, v8
const/4 v8, 0x2
const/16 v9, 0x80
goto/16 :goto_2
:cond_16
2020-01-07 02:40:43 +00:00
invoke-virtual {v7}, Ly/e;->f()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v1
return-object v1
:cond_17
move/from16 v11, p2
invoke-virtual/range {p1 .. p3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v1
2019-12-21 01:41:59 +00:00
invoke-static {v1, v6}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v1
:cond_18
const-string v1, "encodeSet"
2019-12-21 01:41:59 +00:00
invoke-static {v1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
throw v1
:cond_19
const/4 v1, 0x0
const-string v2, "$this$canonicalize"
2019-12-21 01:41:59 +00:00
invoke-static {v2}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v1
.end method
.method public final a(Ljava/lang/String;IIZ)Ljava/lang/String;
2020-01-07 02:40:43 +00:00
.locals 7
const-string v0, "$this$percentDecode"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-static {p1, v0}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move v4, p2
2019-12-06 03:29:40 +00:00
:goto_0
2020-01-07 02:40:43 +00:00
if-ge v4, p3, :cond_2
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-virtual {p1, v4}, Ljava/lang/String;->charAt(I)C
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const/16 v1, 0x25
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-eq v0, v1, :cond_1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const/16 v1, 0x2b
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-ne v0, v1, :cond_0
2019-12-06 03:29:40 +00:00
if-eqz p4, :cond_0
goto :goto_1
:cond_0
2020-01-07 02:40:43 +00:00
add-int/lit8 v4, v4, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_1
:goto_1
2020-01-07 02:40:43 +00:00
new-instance v0, Ly/e;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-direct {v0}, Ly/e;-><init>()V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-virtual {v0, p1, p2, v4}, Ly/e;->a(Ljava/lang/String;II)Ly/e;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-object v1, p0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-object v2, v0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-object v3, p1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move v5, p3
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move v6, p4
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-virtual/range {v1 .. v6}, Lx/u$b;->a(Ly/e;Ljava/lang/String;IIZ)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-virtual {v0}, Ly/e;->f()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object p1
return-object p1
2020-01-07 02:40:43 +00:00
:cond_2
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, p2, p3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p1
const-string p2, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
2019-12-21 01:41:59 +00:00
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object p1
.end method
.method public final a(Ljava/util/List;Z)Ljava/util/List;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;Z)",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
move-object v3, v0
check-cast v3, Ljava/lang/String;
if-eqz v3, :cond_0
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v7, 0x3
move-object v2, p0
move v6, p2
2019-12-21 01:41:59 +00:00
invoke-static/range {v2 .. v7}, Lx/u$b;->a(Lx/u$b;Ljava/lang/String;IIZI)Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v0
goto :goto_1
:cond_0
const/4 v0, 0x0
:goto_1
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
const-string p2, "Collections.unmodifiableList(result)"
2019-12-21 01:41:59 +00:00
invoke-static {p1, p2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object p1
.end method
.method public final a(Ljava/util/List;Ljava/lang/StringBuilder;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/lang/StringBuilder;",
")V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p2, :cond_1
const/4 v0, 0x0
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v1
:goto_0
if-ge v0, v1, :cond_0
const/16 v2, 0x2f
invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
return-void
:cond_1
const-string p1, "out"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_2
const-string p1, "$this$toPathString"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
2020-01-07 02:40:43 +00:00
.method public final a(Ly/e;Ljava/lang/String;IIZ)V
.locals 5
:goto_0
if-ge p3, p4, :cond_3
if-eqz p2, :cond_2
invoke-virtual {p2, p3}, Ljava/lang/String;->codePointAt(I)I
move-result v0
const/16 v1, 0x25
if-ne v0, v1, :cond_0
add-int/lit8 v1, p3, 0x2
if-ge v1, p4, :cond_0
add-int/lit8 v2, p3, 0x1
invoke-virtual {p2, v2}, Ljava/lang/String;->charAt(I)C
move-result v2
invoke-static {v2}, Lx/c0/a;->a(C)I
move-result v2
invoke-virtual {p2, v1}, Ljava/lang/String;->charAt(I)C
move-result v3
invoke-static {v3}, Lx/c0/a;->a(C)I
move-result v3
const/4 v4, -0x1
if-eq v2, v4, :cond_1
if-eq v3, v4, :cond_1
shl-int/lit8 p3, v2, 0x4
add-int/2addr p3, v3
invoke-virtual {p1, p3}, Ly/e;->writeByte(I)Ly/e;
invoke-static {v0}, Ljava/lang/Character;->charCount(I)I
move-result p3
add-int/2addr p3, v1
goto :goto_0
:cond_0
const/16 v1, 0x2b
if-ne v0, v1, :cond_1
if-eqz p5, :cond_1
const/16 v0, 0x20
invoke-virtual {p1, v0}, Ly/e;->writeByte(I)Ly/e;
add-int/lit8 p3, p3, 0x1
goto :goto_0
:cond_1
invoke-virtual {p1, v0}, Ly/e;->b(I)Ly/e;
invoke-static {v0}, Ljava/lang/Character;->charCount(I)I
move-result v0
add-int/2addr p3, v0
goto :goto_0
:cond_2
new-instance p1, Lt/l;
const-string p2, "null cannot be cast to non-null type java.lang.String"
invoke-direct {p1, p2}, Lt/l;-><init>(Ljava/lang/String;)V
throw p1
:cond_3
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public final a(Ljava/lang/String;II)Z
.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
2019-12-21 01:41:59 +00:00
invoke-static {p2}, Lx/c0/a;->a(C)I
2019-12-06 03:29:40 +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
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lx/c0/a;->a(C)I
2019-12-06 03:29:40 +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
2019-12-21 01:41:59 +00:00
.method public final b(Ljava/lang/String;)Lx/u;
2019-12-06 03:29:40 +00:00
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_0
2019-12-21 01:41:59 +00:00
new-instance v1, Lx/u$a;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {v1}, Lx/u$a;-><init>()V
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v1, v0, p1}, Lx/u$a;->a(Lx/u;Ljava/lang/String;)Lx/u$a;
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v1}, Lx/u$a;->a()Lx/u;
2019-12-06 03:29:40 +00:00
move-result-object p1
return-object p1
:cond_0
const-string p1, "$this$toHttpUrl"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public final b(Ljava/util/List;Ljava/lang/StringBuilder;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/lang/StringBuilder;",
")V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_5
if-eqz p2, :cond_4
const/4 v0, 0x0
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v1
2019-12-21 01:41:59 +00:00
invoke-static {v0, v1}, Lt/x/c;->until(II)Lkotlin/ranges/IntRange;
2019-12-06 03:29:40 +00:00
move-result-object v0
const/4 v1, 0x2
2019-12-21 01:41:59 +00:00
invoke-static {v0, v1}, Lt/x/c;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
2019-12-06 03:29:40 +00:00
move-result-object v0
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getFirst()I
move-result v1
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getLast()I
move-result v2
invoke-virtual {v0}, Lkotlin/ranges/IntProgression;->getStep()I
move-result v0
if-ltz v0, :cond_0
if-gt v1, v2, :cond_3
goto :goto_0
:cond_0
if-lt v1, v2, :cond_3
:goto_0
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/String;
add-int/lit8 v4, v1, 0x1
invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/String;
if-lez v1, :cond_1
const/16 v5, 0x26
invoke-virtual {p2, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_1
invoke-virtual {p2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
if-eqz v4, :cond_2
const/16 v3, 0x3d
invoke-virtual {p2, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_2
if-eq v1, v2, :cond_3
add-int/2addr v1, v0
goto :goto_0
:cond_3
return-void
:cond_4
const-string p1, "out"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_5
const-string p1, "$this$toQueryString"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
2019-12-21 01:41:59 +00:00
.method public final c(Ljava/lang/String;)Lx/u;
2019-12-06 03:29:40 +00:00
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_0
:try_start_0
2019-12-21 01:41:59 +00:00
invoke-virtual {p0, p1}, Lx/u$b;->b(Ljava/lang/String;)Lx/u;
2019-12-06 03:29:40 +00:00
move-result-object v0
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
return-object v0
:cond_0
const-string p1, "$this$toHttpUrlOrNull"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
.method public final d(Ljava/lang/String;)Ljava/util/List;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_4
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-01-07 02:40:43 +00:00
invoke-static {p1, v4, v3, v2, v5}, Lt/a0/s;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +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-01-07 02:40:43 +00:00
invoke-static {p1, v7, v3, v2, v5}, Lt/a0/s;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
2019-12-06 03:29:40 +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
2019-12-21 01:41:59 +00:00
invoke-static {v3, v7}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +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
2019-12-21 01:41:59 +00:00
invoke-static {v3, v7}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +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
2019-12-21 01:41:59 +00:00
invoke-static {v3, v7}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +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
return-object v1
:cond_4
const-string p1, "$this$toQueryNamesAndValues"
2019-12-21 01:41:59 +00:00
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method