apkfuckery/com.discord/smali_classes2/okhttp3/v$b.smali
2019-11-28 01:30:53 +01:00

1377 lines
27 KiB
Smali

.class public final Lokhttp3/v$b;
.super Ljava/lang/Object;
.source "HttpUrl.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/v;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(B)V
.locals 0
invoke-direct {p0}, Lokhttp3/v$b;-><init>()V
return-void
.end method
.method private a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
.locals 18
move-object/from16 v0, p1
move/from16 v1, p3
move-object/from16 v2, p4
move-object/from16 v3, p9
const-string v4, "$this$canonicalize"
invoke-static {v0, v4}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v4, "encodeSet"
invoke-static {v2, v4}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move/from16 v4, p2
:goto_0
const-string v5, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
if-ge v4, v1, :cond_1a
invoke-virtual {v0, v4}, Ljava/lang/String;->codePointAt(I)I
move-result v6
const/16 v7, 0x2b
const/4 v8, 0x2
const/16 v9, 0x80
const/16 v10, 0x7f
const/16 v11, 0x20
const/16 v12, 0x25
const/4 v13, 0x0
const/4 v14, 0x0
if-lt v6, v11, :cond_3
if-eq v6, v10, :cond_3
if-lt v6, v9, :cond_0
if-eqz p8, :cond_3
:cond_0
move-object v15, v2
check-cast v15, Ljava/lang/CharSequence;
int-to-char v9, v6
invoke-static {v15, v9, v14, v8, v13}, Lkotlin/text/l;->contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
move-result v9
if-nez v9, :cond_3
if-ne v6, v12, :cond_1
if-eqz p5, :cond_3
if-eqz p6, :cond_1
invoke-static {v0, v4, v1}, Lokhttp3/v$b;->k(Ljava/lang/String;II)Z
move-result v9
if-eqz v9, :cond_3
:cond_1
if-ne v6, v7, :cond_2
if-eqz p7, :cond_2
goto :goto_1
:cond_2
invoke-static {v6}, Ljava/lang/Character;->charCount(I)I
move-result v5
add-int/2addr v4, v5
goto :goto_0
:cond_3
:goto_1
new-instance v6, Lokio/f;
invoke-direct {v6}, Lokio/f;-><init>()V
move/from16 v9, p2
invoke-virtual {v6, v0, v9, v4}, Lokio/f;->p(Ljava/lang/String;II)Lokio/f;
move-object v9, v13
:goto_2
if-ge v4, v1, :cond_19
const-string v15, "null cannot be cast to non-null type java.lang.String"
if-eqz v0, :cond_18
invoke-virtual {v0, v4}, Ljava/lang/String;->codePointAt(I)I
move-result v12
if-eqz p5, :cond_5
const/16 v8, 0x9
if-eq v12, v8, :cond_4
const/16 v8, 0xa
if-eq v12, v8, :cond_4
const/16 v8, 0xc
if-eq v12, v8, :cond_4
const/16 v8, 0xd
if-eq v12, v8, :cond_4
goto :goto_4
:cond_4
:goto_3
const/4 v10, 0x2
goto :goto_6
:cond_5
:goto_4
if-ne v12, v7, :cond_7
if-eqz p7, :cond_7
if-eqz p5, :cond_6
const-string v8, "+"
goto :goto_5
:cond_6
const-string v8, "%2B"
:goto_5
invoke-virtual {v6, v8}, Lokio/f;->es(Ljava/lang/String;)Lokio/f;
goto :goto_3
:cond_7
if-lt v12, v11, :cond_b
if-eq v12, v10, :cond_b
const/16 v8, 0x80
if-lt v12, v8, :cond_8
if-eqz p8, :cond_b
:cond_8
move-object v7, v2
check-cast v7, Ljava/lang/CharSequence;
int-to-char v8, v12
const/4 v10, 0x2
invoke-static {v7, v8, v14, v10, v13}, Lkotlin/text/l;->contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
move-result v7
if-nez v7, :cond_c
const/16 v7, 0x25
if-ne v12, v7, :cond_9
if-eqz p5, :cond_c
if-eqz p6, :cond_9
invoke-static {v0, v4, v1}, Lokhttp3/v$b;->k(Ljava/lang/String;II)Z
move-result v7
if-nez v7, :cond_9
goto :goto_7
:cond_9
invoke-virtual {v6, v12}, Lokio/f;->dz(I)Lokio/f;
:cond_a
:goto_6
const/16 v8, 0x25
goto/16 :goto_d
:cond_b
const/4 v10, 0x2
:cond_c
:goto_7
if-nez v9, :cond_d
new-instance v9, Lokio/f;
invoke-direct {v9}, Lokio/f;-><init>()V
:cond_d
if-eqz v3, :cond_17
sget-object v7, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
invoke-static {v3, v7}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v7
if-eqz v7, :cond_e
goto/16 :goto_b
:cond_e
invoke-static {v12}, Ljava/lang/Character;->charCount(I)I
move-result v7
add-int/2addr v7, v4
const-string v8, "string"
invoke-static {v0, v8}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v8, "charset"
invoke-static {v3, v8}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-ltz v4, :cond_f
const/16 v17, 0x1
goto :goto_8
:cond_f
const/16 v17, 0x0
:goto_8
if-eqz v17, :cond_16
if-lt v7, v4, :cond_10
const/16 v17, 0x1
goto :goto_9
:cond_10
const/16 v17, 0x0
:goto_9
if-eqz v17, :cond_15
invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->length()I
move-result v8
if-gt v7, v8, :cond_11
const/16 v17, 0x1
goto :goto_a
:cond_11
const/16 v17, 0x0
:goto_a
if-eqz v17, :cond_14
sget-object v8, Lkotlin/text/d;->tx:Ljava/nio/charset/Charset;
invoke-static {v3, v8}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v8
if-eqz v8, :cond_12
invoke-virtual {v9, v0, v4, v7}, Lokio/f;->p(Ljava/lang/String;II)Lokio/f;
goto/16 :goto_c
:cond_12
invoke-virtual {v0, v4, v7}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v7
invoke-static {v7, v5}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz v7, :cond_13
invoke-virtual {v7, v3}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
move-result-object v7
const-string v8, "(this as java.lang.String).getBytes(charset)"
invoke-static {v7, v8}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
array-length v8, v7
invoke-virtual {v9, v7, v14, v8}, Lokio/f;->k([BII)Lokio/f;
goto :goto_c
:cond_13
new-instance v0, Lkotlin/r;
invoke-direct {v0, v15}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw v0
:cond_14
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "endIndex > string.length: "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, v7}, 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/range {p1 .. p1}, Ljava/lang/String;->length()I
move-result v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, 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
check-cast v1, Ljava/lang/Throwable;
throw v1
:cond_15
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "endIndex < beginIndex: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, " < "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, v4}, 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
check-cast v1, Ljava/lang/Throwable;
throw v1
:cond_16
invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
const-string v1, "beginIndex < 0: "
invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)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
check-cast v1, Ljava/lang/Throwable;
throw v1
:cond_17
:goto_b
invoke-virtual {v9, v12}, Lokio/f;->dz(I)Lokio/f;
:goto_c
invoke-virtual {v9}, Lokio/f;->Ij()Z
move-result v7
if-nez v7, :cond_a
invoke-virtual {v9}, Lokio/f;->readByte()B
move-result v7
and-int/lit16 v7, v7, 0xff
const/16 v8, 0x25
invoke-virtual {v6, v8}, Lokio/f;->dA(I)Lokio/f;
invoke-static {}, Lokhttp3/v;->FV()[C
move-result-object v15
shr-int/lit8 v16, v7, 0x4
and-int/lit8 v16, v16, 0xf
aget-char v15, v15, v16
invoke-virtual {v6, v15}, Lokio/f;->dA(I)Lokio/f;
invoke-static {}, Lokhttp3/v;->FV()[C
move-result-object v15
and-int/lit8 v7, v7, 0xf
aget-char v7, v15, v7
invoke-virtual {v6, v7}, Lokio/f;->dA(I)Lokio/f;
goto :goto_c
:goto_d
invoke-static {v12}, Ljava/lang/Character;->charCount(I)I
move-result v7
add-int/2addr v4, v7
const/16 v7, 0x2b
const/4 v8, 0x2
const/16 v10, 0x7f
const/16 v12, 0x25
goto/16 :goto_2
:cond_18
new-instance v0, Lkotlin/r;
invoke-direct {v0, v15}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw v0
:cond_19
invoke-virtual {v6}, Lokio/f;->Iq()Ljava/lang/String;
move-result-object v0
return-object v0
:cond_1a
move/from16 v9, p2
invoke-virtual/range {p1 .. p3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
invoke-static {v0, v5}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
.end method
.method public static synthetic a(Lokhttp3/v$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
.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
invoke-direct/range {v3 .. v12}, Lokhttp3/v$b;->a(Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public static synthetic a(Lokhttp3/v$b;Ljava/lang/String;IIZI)Ljava/lang/String;
.locals 1
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
invoke-static {p1, p2, p3, p4}, Lokhttp3/v$b;->b(Ljava/lang/String;IIZ)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method static synthetic a(Lokhttp3/v$b;Ljava/util/List;)Ljava/util/List;
.locals 1
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lokhttp3/v$b;->b(Ljava/util/List;Z)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static 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-string v0, "$this$toPathString"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "out"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_0
const/16 v2, 0x2f
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method private static b(Ljava/lang/String;IIZ)Ljava/lang/String;
.locals 8
const-string v0, "$this$percentDecode"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
move v0, p1
:goto_0
if-ge v0, p2, :cond_6
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
move-result v1
const/16 v2, 0x2b
const/16 v3, 0x25
if-eq v1, v3, :cond_1
if-ne v1, v2, :cond_0
if-eqz p3, :cond_0
goto :goto_1
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
:goto_1
new-instance v1, Lokio/f;
invoke-direct {v1}, Lokio/f;-><init>()V
invoke-virtual {v1, p0, p1, v0}, Lokio/f;->p(Ljava/lang/String;II)Lokio/f;
:goto_2
if-ge v0, p2, :cond_5
if-eqz p0, :cond_4
invoke-virtual {p0, v0}, Ljava/lang/String;->codePointAt(I)I
move-result p1
if-ne p1, v3, :cond_2
add-int/lit8 v4, v0, 0x2
if-ge v4, p2, :cond_2
add-int/lit8 v5, v0, 0x1
invoke-virtual {p0, v5}, Ljava/lang/String;->charAt(I)C
move-result v5
invoke-static {v5}, Lokhttp3/internal/b;->b(C)I
move-result v5
invoke-virtual {p0, v4}, Ljava/lang/String;->charAt(I)C
move-result v6
invoke-static {v6}, Lokhttp3/internal/b;->b(C)I
move-result v6
const/4 v7, -0x1
if-eq v5, v7, :cond_3
if-eq v6, v7, :cond_3
shl-int/lit8 v0, v5, 0x4
add-int/2addr v0, v6
invoke-virtual {v1, v0}, Lokio/f;->dA(I)Lokio/f;
invoke-static {p1}, Ljava/lang/Character;->charCount(I)I
move-result p1
add-int v0, v4, p1
goto :goto_2
:cond_2
if-ne p1, v2, :cond_3
if-eqz p3, :cond_3
const/16 p1, 0x20
invoke-virtual {v1, p1}, Lokio/f;->dA(I)Lokio/f;
add-int/lit8 v0, v0, 0x1
goto :goto_2
:cond_3
invoke-virtual {v1, p1}, Lokio/f;->dz(I)Lokio/f;
invoke-static {p1}, Ljava/lang/Character;->charCount(I)I
move-result p1
add-int/2addr v0, p1
goto :goto_2
:cond_4
new-instance p0, Lkotlin/r;
const-string p1, "null cannot be cast to non-null type java.lang.String"
invoke-direct {p0, p1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw p0
:cond_5
invoke-virtual {v1}, Lokio/f;->Iq()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_6
invoke-virtual {p0, p1, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
const-string p1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method private final b(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
move-object v2, p0
check-cast v2, Lokhttp3/v$b;
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v7, 0x3
move v6, p2
invoke-static/range {v2 .. v7}, Lokhttp3/v$b;->a(Lokhttp3/v$b;Ljava/lang/String;IIZI)Ljava/lang/String;
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
check-cast v1, Ljava/util/List;
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
const-string p2, "Collections.unmodifiableList(result)"
invoke-static {p1, p2}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p1
.end method
.method public static final synthetic b(Lokhttp3/v$b;Ljava/util/List;)Ljava/util/List;
.locals 1
const/4 v0, 0x1
invoke-direct {p0, p1, v0}, Lokhttp3/v$b;->b(Ljava/util/List;Z)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static 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-string v0, "$this$toQueryString"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "out"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
invoke-static {v1, v0}, Lkotlin/ranges/c;->until(II)Lkotlin/ranges/IntRange;
move-result-object v0
check-cast v0, Lkotlin/ranges/IntProgression;
const/4 v1, 0x2
invoke-static {v0, v1}, Lkotlin/ranges/c;->step(Lkotlin/ranges/IntProgression;I)Lkotlin/ranges/IntProgression;
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 {p0, 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 {p0, 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 {p1, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
:cond_1
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
if-eqz v4, :cond_2
const/16 v3, 0x3d
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {p1, 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
.end method
.method public static dI(Ljava/lang/String;)Lokhttp3/v;
.locals 1
const-string v0, "$this$toHttpUrlOrNull"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:try_start_0
invoke-static {p0}, Lokhttp3/v$b;->dM(Ljava/lang/String;)Lokhttp3/v;
move-result-object p0
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 p0, 0x0
:goto_0
return-object p0
.end method
.method public static dK(Ljava/lang/String;)I
.locals 2
const-string v0, "scheme"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, 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 {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_2
const/16 p0, 0x1bb
return p0
:cond_1
const-string v0, "http"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_2
const/16 p0, 0x50
return p0
:cond_2
:goto_0
const/4 p0, -0x1
return p0
.end method
.method public static dL(Ljava/lang/String;)Ljava/util/List;
.locals 11
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
const-string v0, "$this$toQueryNamesAndValues"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
check-cast v0, Ljava/util/List;
const/4 v1, 0x0
:goto_0
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v2
if-gt v1, v2, :cond_3
move-object v8, p0
check-cast v8, Ljava/lang/CharSequence;
const/16 v3, 0x26
const/4 v5, 0x0
const/4 v6, 0x4
const/4 v7, 0x0
move-object v2, v8
move v4, v1
invoke-static/range {v2 .. v7}, Lkotlin/text/l;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
move-result v2
const/4 v9, -0x1
if-ne v2, v9, :cond_0
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v2
:cond_0
move v10, v2
const/16 v3, 0x3d
const/4 v5, 0x0
const/4 v6, 0x4
const/4 v7, 0x0
move-object v2, v8
move v4, v1
invoke-static/range {v2 .. v7}, Lkotlin/text/l;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
move-result v2
const-string v3, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
if-eq v2, v9, :cond_2
if-le v2, v10, :cond_1
goto :goto_1
:cond_1
invoke-virtual {p0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v1
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
invoke-virtual {p0, v2, v10}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v1
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_2
:cond_2
:goto_1
invoke-virtual {p0, v1, v10}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v1
invoke-static {v1, v3}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:goto_2
add-int/lit8 v1, v10, 0x1
goto :goto_0
:cond_3
return-object v0
.end method
.method public static dM(Ljava/lang/String;)Lokhttp3/v;
.locals 2
const-string v0, "$this$toHttpUrl"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lokhttp3/v$a;
invoke-direct {v0}, Lokhttp3/v$a;-><init>()V
const/4 v1, 0x0
invoke-virtual {v0, v1, p0}, Lokhttp3/v$a;->a(Lokhttp3/v;Ljava/lang/String;)Lokhttp3/v$a;
move-result-object p0
invoke-virtual {p0}, Lokhttp3/v$a;->FX()Lokhttp3/v;
move-result-object p0
return-object p0
.end method
.method private static k(Ljava/lang/String;II)Z
.locals 2
add-int/lit8 v0, p1, 0x2
if-ge v0, p2, :cond_0
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
move-result p2
const/16 v1, 0x25
if-ne p2, v1, :cond_0
const/4 p2, 0x1
add-int/2addr p1, p2
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
move-result p1
invoke-static {p1}, Lokhttp3/internal/b;->b(C)I
move-result p1
const/4 v1, -0x1
if-eq p1, v1, :cond_0
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
move-result p0
invoke-static {p0}, Lokhttp3/internal/b;->b(C)I
move-result p0
if-eq p0, v1, :cond_0
return p2
:cond_0
const/4 p0, 0x0
return p0
.end method