1348 lines
25 KiB
Smali
1348 lines
25 KiB
Smali
.class public final Lc0/l$a;
|
|
.super Ljava/lang/Object;
|
|
.source "Cookie.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lc0/l;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.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
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/lang/String;IIZ)I
|
|
.locals 4
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_7
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-ne v0, v1, :cond_5
|
|
|
|
:cond_0
|
|
const/16 v1, 0x7f
|
|
|
|
if-ge v0, v1, :cond_5
|
|
|
|
const/16 v1, 0x39
|
|
|
|
const/16 v3, 0x30
|
|
|
|
if-gt v3, v0, :cond_1
|
|
|
|
if-ge v1, v0, :cond_5
|
|
|
|
:cond_1
|
|
const/16 v1, 0x7a
|
|
|
|
const/16 v3, 0x61
|
|
|
|
if-gt v3, v0, :cond_2
|
|
|
|
if-ge v1, v0, :cond_5
|
|
|
|
:cond_2
|
|
const/16 v1, 0x5a
|
|
|
|
const/16 v3, 0x41
|
|
|
|
if-gt v3, v0, :cond_3
|
|
|
|
if-ge v1, v0, :cond_5
|
|
|
|
:cond_3
|
|
const/16 v1, 0x3a
|
|
|
|
if-ne v0, v1, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
:goto_1
|
|
const/4 v0, 0x1
|
|
|
|
:goto_2
|
|
xor-int/lit8 v1, p4, 0x1
|
|
|
|
if-ne v0, v1, :cond_6
|
|
|
|
return p2
|
|
|
|
:cond_6
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_7
|
|
return p3
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;II)J
|
|
.locals 12
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2, p3, v0}, Lc0/l$a;->a(Ljava/lang/String;IIZ)I
|
|
|
|
move-result p2
|
|
|
|
sget-object v1, Lc0/l;->m:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, -0x1
|
|
|
|
const/4 v3, -0x1
|
|
|
|
const/4 v4, -0x1
|
|
|
|
const/4 v5, -0x1
|
|
|
|
const/4 v6, -0x1
|
|
|
|
const/4 v7, -0x1
|
|
|
|
const/4 v8, -0x1
|
|
|
|
:goto_0
|
|
const/4 v9, 0x2
|
|
|
|
const/4 v10, 0x1
|
|
|
|
if-ge p2, p3, :cond_4
|
|
|
|
add-int/lit8 v11, p2, 0x1
|
|
|
|
invoke-virtual {p0, p1, v11, p3, v10}, Lc0/l$a;->a(Ljava/lang/String;IIZ)I
|
|
|
|
move-result v11
|
|
|
|
invoke-virtual {v1, p2, v11}, Ljava/util/regex/Matcher;->region(II)Ljava/util/regex/Matcher;
|
|
|
|
if-ne v4, v2, :cond_0
|
|
|
|
sget-object p2, Lc0/l;->m:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p2}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {v1, v9}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
const/4 v7, 0x3
|
|
|
|
invoke-virtual {v1, v7}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v7
|
|
|
|
move v8, v7
|
|
|
|
move v7, v4
|
|
|
|
move v4, p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
if-ne v5, v2, :cond_1
|
|
|
|
sget-object p2, Lc0/l;->l:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p2}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result p2
|
|
|
|
move v5, p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
if-ne v6, v2, :cond_2
|
|
|
|
sget-object p2, Lc0/l;->k:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p2}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v6, "matcher.group(1)"
|
|
|
|
invoke-static {p2, v6}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v6, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
const-string v9, "Locale.US"
|
|
|
|
invoke-static {v6, v9}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p2, v6}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v6, "(this as java.lang.String).toLowerCase(locale)"
|
|
|
|
invoke-static {p2, v6}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget-object v6, Lc0/l;->k:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v6}, Ljava/util/regex/Pattern;->pattern()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
const-string v9, "MONTH_PATTERN.pattern()"
|
|
|
|
invoke-static {v6, v9}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v9, 0x6
|
|
|
|
invoke-static {v6, p2, v0, v0, v9}, Ly/b0/u;->indexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
|
|
|
|
move-result p2
|
|
|
|
div-int/lit8 p2, p2, 0x4
|
|
|
|
move v6, p2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
if-ne v3, v2, :cond_3
|
|
|
|
sget-object p2, Lc0/l;->j:Ljava/util/regex/Pattern;
|
|
|
|
invoke-virtual {v1, p2}, Ljava/util/regex/Matcher;->usePattern(Ljava/util/regex/Pattern;)Ljava/util/regex/Matcher;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
invoke-virtual {v1, v10}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result p2
|
|
|
|
move v3, p2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
add-int/lit8 v11, v11, 0x1
|
|
|
|
invoke-virtual {p0, p1, v11, p3, v0}, Lc0/l$a;->a(Ljava/lang/String;IIZ)I
|
|
|
|
move-result p2
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_4
|
|
const/16 p1, 0x63
|
|
|
|
const/16 p2, 0x46
|
|
|
|
if-le p2, v3, :cond_5
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
if-lt p1, v3, :cond_6
|
|
|
|
add-int/lit16 v3, v3, 0x76c
|
|
|
|
:cond_6
|
|
:goto_2
|
|
const/16 p1, 0x45
|
|
|
|
if-gez v3, :cond_7
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
if-lt p1, v3, :cond_8
|
|
|
|
add-int/lit16 v3, v3, 0x7d0
|
|
|
|
:cond_8
|
|
:goto_3
|
|
const/16 p1, 0x641
|
|
|
|
if-lt v3, p1, :cond_9
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_9
|
|
const/4 p1, 0x0
|
|
|
|
:goto_4
|
|
const-string p2, "Failed requirement."
|
|
|
|
if-eqz p1, :cond_18
|
|
|
|
if-eq v6, v2, :cond_a
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_a
|
|
const/4 p1, 0x0
|
|
|
|
:goto_5
|
|
if-eqz p1, :cond_17
|
|
|
|
const/16 p1, 0x1f
|
|
|
|
if-le v10, v5, :cond_b
|
|
|
|
goto :goto_6
|
|
|
|
:cond_b
|
|
if-lt p1, v5, :cond_c
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_c
|
|
:goto_6
|
|
const/4 p1, 0x0
|
|
|
|
:goto_7
|
|
if-eqz p1, :cond_16
|
|
|
|
const/16 p1, 0x17
|
|
|
|
if-gez v4, :cond_d
|
|
|
|
goto :goto_8
|
|
|
|
:cond_d
|
|
if-lt p1, v4, :cond_e
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_9
|
|
|
|
:cond_e
|
|
:goto_8
|
|
const/4 p1, 0x0
|
|
|
|
:goto_9
|
|
if-eqz p1, :cond_15
|
|
|
|
const/16 p1, 0x3b
|
|
|
|
if-gez v7, :cond_f
|
|
|
|
goto :goto_a
|
|
|
|
:cond_f
|
|
if-lt p1, v7, :cond_10
|
|
|
|
const/4 p3, 0x1
|
|
|
|
goto :goto_b
|
|
|
|
:cond_10
|
|
:goto_a
|
|
const/4 p3, 0x0
|
|
|
|
:goto_b
|
|
if-eqz p3, :cond_14
|
|
|
|
if-gez v8, :cond_11
|
|
|
|
goto :goto_c
|
|
|
|
:cond_11
|
|
if-lt p1, v8, :cond_12
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_d
|
|
|
|
:cond_12
|
|
:goto_c
|
|
const/4 p1, 0x0
|
|
|
|
:goto_d
|
|
if-eqz p1, :cond_13
|
|
|
|
new-instance p1, Ljava/util/GregorianCalendar;
|
|
|
|
sget-object p2, Lc0/c0/a;->e:Ljava/util/TimeZone;
|
|
|
|
invoke-direct {p1, p2}, Ljava/util/GregorianCalendar;-><init>(Ljava/util/TimeZone;)V
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/GregorianCalendar;->setLenient(Z)V
|
|
|
|
invoke-virtual {p1, v10, v3}, Ljava/util/GregorianCalendar;->set(II)V
|
|
|
|
sub-int/2addr v6, v10
|
|
|
|
invoke-virtual {p1, v9, v6}, Ljava/util/GregorianCalendar;->set(II)V
|
|
|
|
const/4 p2, 0x5
|
|
|
|
invoke-virtual {p1, p2, v5}, Ljava/util/GregorianCalendar;->set(II)V
|
|
|
|
const/16 p2, 0xb
|
|
|
|
invoke-virtual {p1, p2, v4}, Ljava/util/GregorianCalendar;->set(II)V
|
|
|
|
const/16 p2, 0xc
|
|
|
|
invoke-virtual {p1, p2, v7}, Ljava/util/GregorianCalendar;->set(II)V
|
|
|
|
const/16 p2, 0xd
|
|
|
|
invoke-virtual {p1, p2, v8}, Ljava/util/GregorianCalendar;->set(II)V
|
|
|
|
const/16 p2, 0xe
|
|
|
|
invoke-virtual {p1, p2, v0}, Ljava/util/GregorianCalendar;->set(II)V
|
|
|
|
invoke-virtual {p1}, Ljava/util/GregorianCalendar;->getTimeInMillis()J
|
|
|
|
move-result-wide p1
|
|
|
|
return-wide p1
|
|
|
|
:cond_13
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_14
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_15
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_16
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_17
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_18
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "."
|
|
|
|
invoke-static {p1, v2, v1, v0}, Ly/b0/p;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
move-result v3
|
|
|
|
xor-int/lit8 v3, v3, 0x1
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
invoke-static {p1, v2, v1, v0}, Ly/b0/p;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-interface {v2}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "(this as java.lang.String).substring(startIndex)"
|
|
|
|
invoke-static {p1, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
invoke-static {p1}, Lf/o/a/j/a;->b(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "Failed requirement."
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final a(Lc0/u;Lokhttp3/Headers;)Ljava/util/List;
|
|
.locals 36
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lc0/u;",
|
|
"Lokhttp3/Headers;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Lc0/l;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
move-object/from16 v0, p2
|
|
|
|
if-eqz v2, :cond_21
|
|
|
|
if-eqz v0, :cond_20
|
|
|
|
const-string v4, "Set-Cookie"
|
|
|
|
invoke-virtual {v0, v4}, Lokhttp3/Headers;->b(Ljava/lang/String;)Ljava/util/List;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {v4}, Ljava/util/List;->size()I
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
:goto_0
|
|
if-ge v7, v5, :cond_1e
|
|
|
|
invoke-interface {v4, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v9, v0
|
|
|
|
check-cast v9, Ljava/lang/String;
|
|
|
|
if-eqz v9, :cond_1d
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v10
|
|
|
|
const/4 v12, 0x6
|
|
|
|
const/16 v13, 0x3b
|
|
|
|
invoke-static {v9, v13, v6, v6, v12}, Lc0/c0/a;->a(Ljava/lang/String;CIII)I
|
|
|
|
move-result v0
|
|
|
|
const/16 v14, 0x3d
|
|
|
|
const/4 v15, 0x2
|
|
|
|
invoke-static {v9, v14, v6, v0, v15}, Lc0/c0/a;->a(Ljava/lang/String;CIII)I
|
|
|
|
move-result v3
|
|
|
|
if-ne v3, v0, :cond_1
|
|
|
|
:cond_0
|
|
:goto_1
|
|
const/4 v9, 0x0
|
|
|
|
goto/16 :goto_c
|
|
|
|
:cond_1
|
|
invoke-static {v9, v6, v3}, Lc0/c0/a;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v17
|
|
|
|
invoke-interface/range {v17 .. v17}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v16
|
|
|
|
if-nez v16, :cond_2
|
|
|
|
const/16 v16, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/16 v16, 0x0
|
|
|
|
:goto_2
|
|
if-nez v16, :cond_0
|
|
|
|
invoke-static/range {v17 .. v17}, Lc0/c0/a;->b(Ljava/lang/String;)I
|
|
|
|
move-result v15
|
|
|
|
const/4 v6, -0x1
|
|
|
|
if-eq v15, v6, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
invoke-static {v9, v3, v0}, Lc0/c0/a;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v18
|
|
|
|
invoke-static/range {v18 .. v18}, Lc0/c0/a;->b(Ljava/lang/String;)I
|
|
|
|
move-result v3
|
|
|
|
if-eq v3, v6, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
invoke-virtual {v9}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
const-wide v19, 0xe677d21fdbffL
|
|
|
|
const-wide/16 v21, -0x1
|
|
|
|
move-wide/from16 v25, v19
|
|
|
|
move-wide/from16 v23, v21
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v15, 0x0
|
|
|
|
const/16 v27, 0x0
|
|
|
|
const/16 v28, 0x0
|
|
|
|
const/16 v29, 0x0
|
|
|
|
const/16 v30, 0x1
|
|
|
|
:goto_3
|
|
const-wide v31, 0x7fffffffffffffffL
|
|
|
|
const-wide/high16 v33, -0x8000000000000000L
|
|
|
|
if-ge v0, v3, :cond_f
|
|
|
|
invoke-static {v9, v13, v0, v3}, Lc0/c0/a;->a(Ljava/lang/String;CII)I
|
|
|
|
move-result v12
|
|
|
|
invoke-static {v9, v14, v0, v12}, Lc0/c0/a;->a(Ljava/lang/String;CII)I
|
|
|
|
move-result v13
|
|
|
|
invoke-static {v9, v0, v13}, Lc0/c0/a;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-ge v13, v12, :cond_5
|
|
|
|
add-int/lit8 v13, v13, 0x1
|
|
|
|
invoke-static {v9, v13, v12}, Lc0/c0/a;->c(Ljava/lang/String;II)Ljava/lang/String;
|
|
|
|
move-result-object v13
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
const-string v13, ""
|
|
|
|
:goto_4
|
|
const-string v14, "expires"
|
|
|
|
move/from16 v35, v3
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-static {v0, v14, v3}, Ly/b0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v14
|
|
|
|
if-eqz v14, :cond_6
|
|
|
|
:try_start_0
|
|
invoke-virtual {v13}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v14, 0x0
|
|
|
|
invoke-virtual {v1, v13, v14, v0}, Lc0/l$a;->a(Ljava/lang/String;II)J
|
|
|
|
move-result-wide v25
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
const-string v14, "max-age"
|
|
|
|
invoke-static {v0, v14, v3}, Ly/b0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v14
|
|
|
|
if-eqz v14, :cond_a
|
|
|
|
:try_start_1
|
|
invoke-static {v13}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v23
|
|
:try_end_1
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
const-wide/16 v13, 0x0
|
|
|
|
cmp-long v0, v23, v13
|
|
|
|
if-gtz v0, :cond_8
|
|
|
|
goto :goto_5
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
move-object v3, v0
|
|
|
|
:try_start_2
|
|
new-instance v0, Lkotlin/text/Regex;
|
|
|
|
const-string v14, "-?\\d+"
|
|
|
|
invoke-direct {v0, v14}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v13}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
const-string v0, "-"
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v14, 0x0
|
|
|
|
invoke-static {v13, v0, v14, v3}, Ly/b0/p;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
:goto_5
|
|
move-wide/from16 v23, v33
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
move-wide/from16 v23, v31
|
|
|
|
:cond_8
|
|
:goto_6
|
|
const/4 v14, 0x1
|
|
|
|
const/16 v29, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_9
|
|
throw v3
|
|
:try_end_2
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
:catch_1
|
|
const/4 v14, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_a
|
|
const-string v3, "domain"
|
|
|
|
const/4 v14, 0x1
|
|
|
|
invoke-static {v0, v3, v14}, Ly/b0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_b
|
|
|
|
:try_start_3
|
|
invoke-virtual {v1, v13}, Lc0/l$a;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
:try_end_3
|
|
.catch Ljava/lang/IllegalArgumentException; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
move-object v6, v0
|
|
|
|
const/16 v30, 0x0
|
|
|
|
goto :goto_7
|
|
|
|
:cond_b
|
|
const-string v3, "path"
|
|
|
|
invoke-static {v0, v3, v14}, Ly/b0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_c
|
|
|
|
move-object v15, v13
|
|
|
|
goto :goto_7
|
|
|
|
:cond_c
|
|
const-string v3, "secure"
|
|
|
|
invoke-static {v0, v3, v14}, Ly/b0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_d
|
|
|
|
const/16 v27, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_d
|
|
const-string v3, "httponly"
|
|
|
|
invoke-static {v0, v3, v14}, Ly/b0/p;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_e
|
|
|
|
const/16 v28, 0x1
|
|
|
|
:catch_2
|
|
:cond_e
|
|
:goto_7
|
|
add-int/lit8 v0, v12, 0x1
|
|
|
|
move/from16 v3, v35
|
|
|
|
const/16 v13, 0x3b
|
|
|
|
const/16 v14, 0x3d
|
|
|
|
goto/16 :goto_3
|
|
|
|
:cond_f
|
|
cmp-long v0, v23, v33
|
|
|
|
if-nez v0, :cond_10
|
|
|
|
move-wide/from16 v19, v33
|
|
|
|
goto :goto_8
|
|
|
|
:cond_10
|
|
cmp-long v0, v23, v21
|
|
|
|
if-eqz v0, :cond_13
|
|
|
|
const-wide v12, 0x20c49ba5e353f7L
|
|
|
|
cmp-long v0, v23, v12
|
|
|
|
if-gtz v0, :cond_11
|
|
|
|
const/16 v0, 0x3e8
|
|
|
|
int-to-long v12, v0
|
|
|
|
mul-long v31, v23, v12
|
|
|
|
:cond_11
|
|
add-long v31, v10, v31
|
|
|
|
cmp-long v0, v31, v10
|
|
|
|
if-ltz v0, :cond_14
|
|
|
|
cmp-long v0, v31, v19
|
|
|
|
if-lez v0, :cond_12
|
|
|
|
goto :goto_8
|
|
|
|
:cond_12
|
|
move-wide/from16 v19, v31
|
|
|
|
goto :goto_8
|
|
|
|
:cond_13
|
|
move-wide/from16 v19, v25
|
|
|
|
:cond_14
|
|
:goto_8
|
|
iget-object v0, v2, Lc0/u;->e:Ljava/lang/String;
|
|
|
|
if-nez v6, :cond_15
|
|
|
|
move-object v6, v0
|
|
|
|
goto :goto_9
|
|
|
|
:cond_15
|
|
invoke-virtual {v1, v0, v6}, Lc0/l$a;->a(Ljava/lang/String;Ljava/lang/String;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_16
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_16
|
|
:goto_9
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {v6}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
if-eq v0, v3, :cond_17
|
|
|
|
sget-object v0, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->h:Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;
|
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase$a;->a()Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v6}, Lokhttp3/internal/publicsuffix/PublicSuffixDatabase;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_17
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_17
|
|
const-string v0, "/"
|
|
|
|
if-eqz v15, :cond_19
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v9, 0x0
|
|
|
|
invoke-static {v15, v0, v9, v3}, Ly/b0/p;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_18
|
|
|
|
goto :goto_a
|
|
|
|
:cond_18
|
|
move-object/from16 v22, v15
|
|
|
|
goto :goto_b
|
|
|
|
:cond_19
|
|
const/4 v9, 0x0
|
|
|
|
:goto_a
|
|
invoke-virtual/range {p1 .. p1}, Lc0/u;->b()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const/16 v10, 0x2f
|
|
|
|
const/4 v11, 0x6
|
|
|
|
invoke-static {v3, v10, v9, v9, v11}, Ly/b0/u;->lastIndexOf$default(Ljava/lang/CharSequence;CIZI)I
|
|
|
|
move-result v10
|
|
|
|
if-eqz v10, :cond_1a
|
|
|
|
invoke-virtual {v3, v9, v10}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v3, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {v0, v3}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:cond_1a
|
|
move-object/from16 v22, v0
|
|
|
|
:goto_b
|
|
new-instance v0, Lc0/l;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
move-object/from16 v16, v0
|
|
|
|
move-object/from16 v21, v6
|
|
|
|
move/from16 v23, v27
|
|
|
|
move/from16 v24, v28
|
|
|
|
move/from16 v25, v29
|
|
|
|
move/from16 v26, v30
|
|
|
|
move-object/from16 v27, v3
|
|
|
|
invoke-direct/range {v16 .. v27}, Lc0/l;-><init>(Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;ZZZZLkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
goto :goto_d
|
|
|
|
:goto_c
|
|
const/4 v0, 0x0
|
|
|
|
:goto_d
|
|
if-eqz v0, :cond_1c
|
|
|
|
if-nez v8, :cond_1b
|
|
|
|
new-instance v8, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v8}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
:cond_1b
|
|
invoke-interface {v8, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_1c
|
|
add-int/lit8 v7, v7, 0x1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_1d
|
|
const-string v0, "setCookie"
|
|
|
|
invoke-static {v0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
throw v2
|
|
|
|
:cond_1e
|
|
if-eqz v8, :cond_1f
|
|
|
|
invoke-static {v8}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "Collections.unmodifiableList(cookies)"
|
|
|
|
invoke-static {v0, v2}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
goto :goto_e
|
|
|
|
:cond_1f
|
|
sget-object v0, Ly/q/p;->d:Ly/q/p;
|
|
|
|
:goto_e
|
|
return-object v0
|
|
|
|
:cond_20
|
|
const-string v0, "headers"
|
|
|
|
invoke-static {v0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
throw v2
|
|
|
|
:cond_21
|
|
const/4 v2, 0x0
|
|
|
|
const-string v0, "url"
|
|
|
|
invoke-static {v0}, Ly/v/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
.end method
|
|
|
|
.method public final a(Lc0/u;Ljava/lang/String;)Z
|
|
.locals 4
|
|
|
|
invoke-virtual {p1}, Lc0/u;->b()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1, p2}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p1, p2, v2, v0}, Ly/b0/p;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
const-string v3, "/"
|
|
|
|
invoke-static {p2, v3, v2, v0}, Ly/b0/p;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
invoke-virtual {p2}, Ljava/lang/String;->length()I
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result p1
|
|
|
|
const/16 p2, 0x2f
|
|
|
|
if-ne p1, p2, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
return v2
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;Ljava/lang/String;)Z
|
|
.locals 3
|
|
|
|
invoke-static {p1, p2}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p1, p2, v2, v0}, Ly/b0/p;->endsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p2}, Ljava/lang/String;->length()I
|
|
|
|
move-result p2
|
|
|
|
sub-int/2addr v0, p2
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result p2
|
|
|
|
const/16 v0, 0x2e
|
|
|
|
if-ne p2, v0, :cond_1
|
|
|
|
invoke-static {p1}, Lc0/c0/a;->a(Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
return v1
|
|
.end method
|