2378 lines
44 KiB
Smali
2378 lines
44 KiB
Smali
.class public final Lx/c0/a;
|
|
.super Ljava/lang/Object;
|
|
.source "Util.kt"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:[B
|
|
|
|
.field public static final b:Lokhttp3/Headers;
|
|
|
|
.field public static final c:Lx/z;
|
|
|
|
.field public static final d:Ly/n;
|
|
|
|
.field public static final e:Ljava/util/TimeZone;
|
|
|
|
.field public static final f:Lkotlin/text/Regex;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 10
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [B
|
|
|
|
sput-object v1, Lx/c0/a;->a:[B
|
|
|
|
sget-object v1, Lokhttp3/Headers;->e:Lokhttp3/Headers$b;
|
|
|
|
new-array v2, v0, [Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2}, Lokhttp3/Headers$b;->a([Ljava/lang/String;)Lokhttp3/Headers;
|
|
|
|
move-result-object v1
|
|
|
|
sput-object v1, Lx/c0/a;->b:Lokhttp3/Headers;
|
|
|
|
sget-object v1, Lx/z;->e:Lx/z$b;
|
|
|
|
sget-object v2, Lx/c0/a;->a:[B
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v1, v2, v3}, Lx/z$b;->a([BLokhttp3/MediaType;)Lx/z;
|
|
|
|
move-result-object v1
|
|
|
|
sput-object v1, Lx/c0/a;->c:Lx/z;
|
|
|
|
sget-object v4, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
|
|
|
|
sget-object v5, Lx/c0/a;->a:[B
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x7
|
|
|
|
invoke-static/range {v4 .. v9}, Lokhttp3/RequestBody$Companion;->a(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;III)Lokhttp3/RequestBody;
|
|
|
|
sget-object v1, Ly/n;->f:Ly/n$a;
|
|
|
|
const/4 v2, 0x5
|
|
|
|
new-array v2, v2, [Lokio/ByteString;
|
|
|
|
sget-object v4, Lokio/ByteString;->g:Lokio/ByteString$a;
|
|
|
|
const-string v5, "efbbbf"
|
|
|
|
invoke-virtual {v4, v5}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v2, v0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
sget-object v4, Lokio/ByteString;->g:Lokio/ByteString$a;
|
|
|
|
const-string v5, "feff"
|
|
|
|
invoke-virtual {v4, v5}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v2, v0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
sget-object v4, Lokio/ByteString;->g:Lokio/ByteString$a;
|
|
|
|
const-string v5, "fffe"
|
|
|
|
invoke-virtual {v4, v5}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v2, v0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
sget-object v4, Lokio/ByteString;->g:Lokio/ByteString$a;
|
|
|
|
const-string v5, "0000ffff"
|
|
|
|
invoke-virtual {v4, v5}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v2, v0
|
|
|
|
const/4 v0, 0x4
|
|
|
|
sget-object v4, Lokio/ByteString;->g:Lokio/ByteString$a;
|
|
|
|
const-string v5, "ffff0000"
|
|
|
|
invoke-virtual {v4, v5}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v2, v0
|
|
|
|
invoke-virtual {v1, v2}, Ly/n$a;->a([Lokio/ByteString;)Ly/n;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lx/c0/a;->d:Ly/n;
|
|
|
|
const-string v0, "GMT"
|
|
|
|
invoke-static {v0}, Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
sput-object v0, Lx/c0/a;->e:Ljava/util/TimeZone;
|
|
|
|
new-instance v0, Lkotlin/text/Regex;
|
|
|
|
const-string v1, "([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\\d.]+)"
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
|
|
|
|
sput-object v0, Lx/c0/a;->f:Lkotlin/text/Regex;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
|
|
|
throw v3
|
|
.end method
|
|
|
|
.method public static final a(BI)I
|
|
.locals 0
|
|
|
|
and-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final a(C)I
|
|
.locals 2
|
|
|
|
const/16 v0, 0x30
|
|
|
|
if-le v0, p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/16 v1, 0x39
|
|
|
|
if-lt v1, p0, :cond_1
|
|
|
|
sub-int/2addr p0, v0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/16 v0, 0x66
|
|
|
|
const/16 v1, 0x61
|
|
|
|
if-le v1, p0, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
if-lt v0, p0, :cond_3
|
|
|
|
:goto_1
|
|
sub-int/2addr p0, v1
|
|
|
|
add-int/lit8 p0, p0, 0xa
|
|
|
|
goto :goto_4
|
|
|
|
:cond_3
|
|
:goto_2
|
|
const/16 v0, 0x46
|
|
|
|
const/16 v1, 0x41
|
|
|
|
if-le v1, p0, :cond_4
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
if-lt v0, p0, :cond_5
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
:goto_3
|
|
const/4 p0, -0x1
|
|
|
|
:goto_4
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;CII)I
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_1
|
|
|
|
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p3
|
|
|
|
:cond_2
|
|
const-string p0, "$this$delimiterOffset"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static synthetic a(Ljava/lang/String;CIII)I
|
|
.locals 1
|
|
|
|
and-int/lit8 v0, p4, 0x2
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p3
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3}, Lx/c0/a;->a(Ljava/lang/String;CII)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;I)I
|
|
.locals 3
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
:goto_0
|
|
if-ge p1, v0, :cond_1
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x20
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
const/16 v2, 0x9
|
|
|
|
if-eq v1, v2, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
const-string p0, "$this$indexOfNonWhitespace"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;II)I
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
:goto_0
|
|
if-ge p1, p2, :cond_1
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xc
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xd
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p2
|
|
|
|
:cond_2
|
|
const-string p0, "$this$indexOfFirstNonAsciiWhitespace"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static synthetic a(Ljava/lang/String;III)I
|
|
.locals 1
|
|
|
|
and-int/lit8 v0, p3, 0x1
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result p2
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2}, Lx/c0/a;->a(Ljava/lang/String;II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
|
|
.locals 6
|
|
|
|
if-eqz p0, :cond_9
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
cmp-long v3, p1, v0
|
|
|
|
if-ltz v3, :cond_0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v4, :cond_8
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
const/4 v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v4, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v4, :cond_7
|
|
|
|
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
const p3, 0x7fffffff
|
|
|
|
int-to-long v4, p3
|
|
|
|
cmp-long p3, p1, v4
|
|
|
|
if-gtz p3, :cond_2
|
|
|
|
const/4 p3, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 p3, 0x0
|
|
|
|
:goto_2
|
|
if-eqz p3, :cond_6
|
|
|
|
cmp-long p3, p1, v0
|
|
|
|
if-nez p3, :cond_4
|
|
|
|
if-gtz v3, :cond_3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v2, 0x0
|
|
|
|
:cond_4
|
|
:goto_3
|
|
if-eqz v2, :cond_5
|
|
|
|
long-to-int p0, p1
|
|
|
|
return p0
|
|
|
|
:cond_5
|
|
const-string p1, " too small."
|
|
|
|
invoke-static {p0, p1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_6
|
|
const-string p1, " too large."
|
|
|
|
invoke-static {p0, p1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_7
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "unit == null"
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_8
|
|
const-string p1, " < 0"
|
|
|
|
invoke-static {p0, p1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
|
|
:cond_9
|
|
const-string p0, "name"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;Ljava/lang/String;II)I
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
:goto_0
|
|
if-ge p2, p3, :cond_1
|
|
|
|
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-static {p1, v0, v1, v2}, Lt/a0/s;->contains$default(Ljava/lang/CharSequence;CZI)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p3
|
|
|
|
:cond_2
|
|
const-string p0, "delimiters"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_3
|
|
const-string p0, "$this$delimiterOffset"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Ly/g;)I
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-interface {p0}, Ly/g;->readByte()B
|
|
|
|
move-result v0
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
shl-int/lit8 v0, v0, 0x10
|
|
|
|
invoke-interface {p0}, Ly/g;->readByte()B
|
|
|
|
move-result v1
|
|
|
|
and-int/lit16 v1, v1, 0xff
|
|
|
|
shl-int/lit8 v1, v1, 0x8
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
invoke-interface {p0}, Ly/g;->readByte()B
|
|
|
|
move-result p0
|
|
|
|
and-int/lit16 p0, p0, 0xff
|
|
|
|
or-int/2addr p0, v0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$readMedium"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(SI)I
|
|
.locals 0
|
|
|
|
and-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final a([Ljava/lang/String;Ljava/lang/String;Ljava/util/Comparator;)I
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"([",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Comparator<",
|
|
"Ljava/lang/String;",
|
|
">;)I"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_2
|
|
|
|
aget-object v3, p0, v2
|
|
|
|
invoke-interface {p2, v3, p1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v3, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v3, :cond_1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v2, -0x1
|
|
|
|
:goto_2
|
|
return v2
|
|
|
|
:cond_3
|
|
const-string p0, "comparator"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_4
|
|
const-string p0, "value"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
const-string p0, "$this$indexOf"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(IJ)J
|
|
.locals 2
|
|
|
|
int-to-long v0, p0
|
|
|
|
and-long p0, v0, p1
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final a(Lokhttp3/Response;)J
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-virtual {p0}, Lokhttp3/Response;->f()Lokhttp3/Headers;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Content-Length"
|
|
|
|
invoke-virtual {p0, v0}, Lokhttp3/Headers;->a(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
:cond_0
|
|
return-wide v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$headersContentLength"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(I)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
invoke-static {p0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Integer.toHexString(this)"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final varargs a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
const-string v1, "Locale.US"
|
|
|
|
invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
array-length v1, p1
|
|
|
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
array-length v1, p1
|
|
|
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p0, p1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "java.lang.String.format(locale, format, *args)"
|
|
|
|
invoke-static {p0, p1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "args"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "format"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Lx/u;Z)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
iget-object v0, p0, Lx/u;->e:Ljava/lang/String;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x2
|
|
|
|
const-string v3, ":"
|
|
|
|
invoke-static {v0, v3, v1, v2}, Lt/a0/s;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZI)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0x5b
|
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lx/u;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x5d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lx/u;->e:Ljava/lang/String;
|
|
|
|
:goto_0
|
|
if-nez p1, :cond_1
|
|
|
|
iget p1, p0, Lx/u;->f:I
|
|
|
|
sget-object v1, Lx/u;->l:Lx/u$b;
|
|
|
|
iget-object v2, p0, Lx/u;->b:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v2}, Lx/u$b;->a(Ljava/lang/String;)I
|
|
|
|
move-result v1
|
|
|
|
if-eq p1, v1, :cond_2
|
|
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v0, 0x3a
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
iget p0, p0, Lx/u;->f:I
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_2
|
|
return-object v0
|
|
|
|
:cond_3
|
|
const-string p0, "$this$toHostHeader"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ly/g;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_7
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
sget-object v0, Lx/c0/a;->d:Ly/n;
|
|
|
|
invoke-interface {p0, v0}, Ly/g;->a(Ly/n;)I
|
|
|
|
move-result p0
|
|
|
|
const/4 v0, -0x1
|
|
|
|
if-eq p0, v0, :cond_5
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
const/4 p1, 0x1
|
|
|
|
if-eq p0, p1, :cond_3
|
|
|
|
const/4 p1, 0x2
|
|
|
|
if-eq p0, p1, :cond_2
|
|
|
|
const/4 p1, 0x3
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
const/4 p1, 0x4
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
sget-object p0, Lt/a0/a;->d:Lt/a0/a;
|
|
|
|
invoke-virtual {p0}, Lt/a0/a;->UTF32_LE()Ljava/nio/charset/Charset;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
sget-object p0, Lt/a0/a;->d:Lt/a0/a;
|
|
|
|
invoke-virtual {p0}, Lt/a0/a;->UTF32_BE()Ljava/nio/charset/Charset;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_16LE:Ljava/nio/charset/Charset;
|
|
|
|
const-string p0, "UTF_16LE"
|
|
|
|
invoke-static {p1, p0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_16BE:Ljava/nio/charset/Charset;
|
|
|
|
const-string p0, "UTF_16BE"
|
|
|
|
invoke-static {p1, p0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
const-string p0, "UTF_8"
|
|
|
|
invoke-static {p1, p0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:cond_5
|
|
:goto_0
|
|
return-object p1
|
|
|
|
:cond_6
|
|
const-string p0, "default"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_7
|
|
const-string p0, "$this$readBomAsCharset"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Lokhttp3/Headers;)Ljava/util/List;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lokhttp3/Headers;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Lx/c0/f/c;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0}, Lokhttp3/Headers;->size()I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v0, v1}, Lt/x/c;->until(II)Lkotlin/ranges/IntRange;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
const/16 v2, 0xa
|
|
|
|
invoke-static {v0, v2}, Le/k/a/b/e/p/g;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
move-object v2, v0
|
|
|
|
check-cast v2, Lt/q/r;
|
|
|
|
invoke-virtual {v2}, Lt/q/r;->nextInt()I
|
|
|
|
move-result v2
|
|
|
|
new-instance v3, Lx/c0/f/c;
|
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->g(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {p0, v2}, Lokhttp3/Headers;->h(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v3, v4, v2}, Lx/c0/f/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-object v1
|
|
|
|
:cond_1
|
|
const-string p0, "$this$toHeaderList"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final varargs a([Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/SafeVarargs;
|
|
.end annotation
|
|
|
|
const-string v0, "elements"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, [Ljava/lang/Object;
|
|
|
|
array-length v0, p0
|
|
|
|
invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Collections.unmodifiable\u2026sList(*elements.clone()))"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/util/Map;)Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<K:",
|
|
"Ljava/lang/Object;",
|
|
"V:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Map<",
|
|
"TK;+TV;>;)",
|
|
"Ljava/util/Map<",
|
|
"TK;TV;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {}, Lt/q/l;->emptyMap()Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Collections.unmodifiableMap(LinkedHashMap(this))"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:goto_0
|
|
return-object p0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$toImmutableMap"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Lx/c0/a$b;
|
|
|
|
invoke-direct {v0, p0, p1}, Lx/c0/a$b;-><init>(Ljava/lang/String;Z)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "name"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/util/List;)Lokhttp3/Headers;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/List<",
|
|
"Lx/c0/f/c;",
|
|
">;)",
|
|
"Lokhttp3/Headers;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
const/16 v2, 0x14
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lx/c0/f/c;
|
|
|
|
iget-object v3, v2, Lx/c0/f/c;->b:Lokio/ByteString;
|
|
|
|
iget-object v2, v2, Lx/c0/f/c;->c:Lokio/ByteString;
|
|
|
|
invoke-virtual {v3}, Lokio/ByteString;->l()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v2}, Lokio/ByteString;->l()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
invoke-static {v2}, Lt/a0/s;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string p0, "value"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "name"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const/4 p0, 0x0
|
|
|
|
new-array p0, p0, [Ljava/lang/String;
|
|
|
|
invoke-interface {v1, p0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
check-cast p0, [Ljava/lang/String;
|
|
|
|
new-instance v1, Lokhttp3/Headers;
|
|
|
|
invoke-direct {v1, p0, v0}, Lokhttp3/Headers;-><init>([Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object v1
|
|
|
|
:cond_3
|
|
new-instance p0, Lt/l;
|
|
|
|
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
|
|
|
|
invoke-direct {p0, v0}, Lt/l;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
const-string p0, "$this$toHeaders"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Lx/r;)Lx/r$b;
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance v0, Lx/c0/a$a;
|
|
|
|
invoke-direct {v0, p0}, Lx/c0/a$a;-><init>(Lx/r;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$asFactory"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(JJJ)V
|
|
.locals 5
|
|
|
|
or-long v0, p2, p4
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-ltz v4, :cond_0
|
|
|
|
cmp-long v0, p2, p0
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
sub-long/2addr p0, p2
|
|
|
|
cmp-long p2, p0, p4
|
|
|
|
if-ltz p2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/ArrayIndexOutOfBoundsException;
|
|
|
|
invoke-direct {p0}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>()V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/io/Closeable;)V
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-interface {p0}, Ljava/io/Closeable;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-void
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
throw p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$closeQuietly"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/Object;J)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/InterruptedException;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
const-wide/32 v0, 0xf4240
|
|
|
|
div-long v2, p1, v0
|
|
|
|
mul-long v0, v0, v2
|
|
|
|
sub-long/2addr p1, v0
|
|
|
|
monitor-enter p0
|
|
|
|
long-to-int p2, p1
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long p1, v2, v0
|
|
|
|
if-gtz p1, :cond_0
|
|
|
|
if-lez p2, :cond_1
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
invoke-virtual {p0, v2, v3, p2}, Ljava/lang/Object;->wait(JI)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
:cond_1
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
|
|
:cond_2
|
|
const-string p0, "$this$lockAndWaitNanos"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/net/Socket;)V
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/net/Socket;->close()V
|
|
:try_end_0
|
|
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_2
|
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-void
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
throw p0
|
|
|
|
:catch_2
|
|
move-exception p0
|
|
|
|
throw p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$closeQuietly"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Lokio/BufferedSink;I)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
ushr-int/lit8 v0, p1, 0x10
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
invoke-interface {p0, v0}, Lokio/BufferedSink;->writeByte(I)Lokio/BufferedSink;
|
|
|
|
ushr-int/lit8 v0, p1, 0x8
|
|
|
|
and-int/lit16 v0, v0, 0xff
|
|
|
|
invoke-interface {p0, v0}, Lokio/BufferedSink;->writeByte(I)Lokio/BufferedSink;
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
invoke-interface {p0, p1}, Lokio/BufferedSink;->writeByte(I)Lokio/BufferedSink;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p0, "$this$writeMedium"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Ljava/lang/String;)Z
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
sget-object v0, Lx/c0/a;->f:Lkotlin/text/Regex;
|
|
|
|
invoke-virtual {v0, p0}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$canParseAsIpAddress"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final a(Lx/u;Lx/u;)Z
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object v0, p0, Lx/u;->e:Ljava/lang/String;
|
|
|
|
iget-object v1, p1, Lx/u;->e:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget v0, p0, Lx/u;->f:I
|
|
|
|
iget v1, p1, Lx/u;->f:I
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object p0, p0, Lx/u;->b:Ljava/lang/String;
|
|
|
|
iget-object p1, p1, Lx/u;->b:Ljava/lang/String;
|
|
|
|
invoke-static {p0, p1}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
|
|
:cond_1
|
|
const-string p0, "other"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p0, "$this$canReuseConnectionFor"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final a(Ly/w;ILjava/util/concurrent/TimeUnit;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "$this$discard"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "timeUnit"
|
|
|
|
invoke-static {p2, v0}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
:try_start_0
|
|
invoke-static {p0, p1, p2}, Lx/c0/a;->b(Ly/w;ILjava/util/concurrent/TimeUnit;)Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final a([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"([",
|
|
"Ljava/lang/String;",
|
|
"[",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Comparator<",
|
|
"-",
|
|
"Ljava/lang/String;",
|
|
">;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "$this$hasIntersection"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p2, v0}, Lt/u/b/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
array-length v0, p0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-nez v0, :cond_5
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
array-length v0, p1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v0, :cond_2
|
|
|
|
goto :goto_4
|
|
|
|
:cond_2
|
|
array-length v0, p0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_2
|
|
if-ge v3, v0, :cond_5
|
|
|
|
aget-object v4, p0, v3
|
|
|
|
array-length v5, p1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_3
|
|
if-ge v6, v5, :cond_4
|
|
|
|
aget-object v7, p1, v6
|
|
|
|
invoke-interface {p2, v4, v7}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_3
|
|
|
|
return v1
|
|
|
|
:cond_3
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
:goto_4
|
|
return v2
|
|
.end method
|
|
|
|
.method public static final a([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
array-length v0, p0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "java.util.Arrays.copyOf(this, newSize)"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p0, [Ljava/lang/String;
|
|
|
|
invoke-static {p0}, Le/k/a/b/e/p/g;->getLastIndex([Ljava/lang/Object;)I
|
|
|
|
move-result v0
|
|
|
|
aput-object p1, p0, v0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "value"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p0, "$this$concat"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final b(Ljava/lang/String;)I
|
|
.locals 4
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
:goto_0
|
|
if-ge v0, v1, :cond_2
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v2
|
|
|
|
const/16 v3, 0x1f
|
|
|
|
if-le v2, v3, :cond_1
|
|
|
|
const/16 v3, 0x7f
|
|
|
|
if-lt v2, v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
return v0
|
|
|
|
:cond_2
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
|
|
:cond_3
|
|
const-string p0, "$this$indexOfControlOrNonAscii"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final b(Ljava/lang/String;I)I
|
|
.locals 4
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide p0
|
|
:try_end_0
|
|
.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
const v0, 0x7fffffff
|
|
|
|
int-to-long v1, v0
|
|
|
|
cmp-long v3, p0, v1
|
|
|
|
if-lez v3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v2, p0, v0
|
|
|
|
if-gez v2, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
long-to-int v0, p0
|
|
|
|
:goto_0
|
|
return v0
|
|
|
|
:catch_0
|
|
:cond_2
|
|
return p1
|
|
.end method
|
|
|
|
.method public static final b(Ljava/lang/String;II)I
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
if-lt p2, p1, :cond_1
|
|
|
|
:goto_0
|
|
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x9
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xa
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xc
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0xd
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/16 v1, 0x20
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
if-eq p2, p1, :cond_1
|
|
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p1
|
|
|
|
:cond_2
|
|
const-string p0, "$this$indexOfLastNonAsciiWhitespace"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final b(Ljava/util/List;)Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0}, Lt/q/l;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "Collections.unmodifiableList(toMutableList())"
|
|
|
|
invoke-static {p0, v0}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$toImmutableList"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final b(Ly/w;ILjava/util/concurrent/TimeUnit;)Z
|
|
.locals 11
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_5
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-interface {p0}, Ly/w;->timeout()Ly/x;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Ly/x;->d()Z
|
|
|
|
move-result v2
|
|
|
|
const-wide v3, 0x7fffffffffffffffL
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-interface {p0}, Ly/w;->timeout()Ly/x;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Ly/x;->c()J
|
|
|
|
move-result-wide v5
|
|
|
|
sub-long/2addr v5, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-wide v5, v3
|
|
|
|
:goto_0
|
|
invoke-interface {p0}, Ly/w;->timeout()Ly/x;
|
|
|
|
move-result-object v2
|
|
|
|
int-to-long v7, p1
|
|
|
|
invoke-virtual {p2, v7, v8}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
|
|
|
|
move-result-wide p1
|
|
|
|
invoke-static {v5, v6, p1, p2}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide p1
|
|
|
|
add-long/2addr p1, v0
|
|
|
|
invoke-virtual {v2, p1, p2}, Ly/x;->a(J)Ly/x;
|
|
|
|
:try_start_0
|
|
new-instance p1, Ly/e;
|
|
|
|
invoke-direct {p1}, Ly/e;-><init>()V
|
|
|
|
:goto_1
|
|
const-wide/16 v7, 0x2000
|
|
|
|
invoke-interface {p0, p1, v7, v8}, Ly/w;->b(Ly/e;J)J
|
|
|
|
move-result-wide v7
|
|
|
|
const-wide/16 v9, -0x1
|
|
|
|
cmp-long p2, v7, v9
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
iget-wide v7, p1, Ly/e;->e:J
|
|
|
|
invoke-virtual {p1, v7, v8}, Ly/e;->skip(J)V
|
|
:try_end_0
|
|
.catch Ljava/io/InterruptedIOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 p1, 0x1
|
|
|
|
cmp-long p2, v5, v3
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
:goto_2
|
|
invoke-interface {p0}, Ly/w;->timeout()Ly/x;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ly/x;->a()Ly/x;
|
|
|
|
goto :goto_4
|
|
|
|
:cond_2
|
|
invoke-interface {p0}, Ly/w;->timeout()Ly/x;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Ly/x;->a(J)Ly/x;
|
|
|
|
goto :goto_4
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
cmp-long p2, v5, v3
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
invoke-interface {p0}, Ly/w;->timeout()Ly/x;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ly/x;->a()Ly/x;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
invoke-interface {p0}, Ly/w;->timeout()Ly/x;
|
|
|
|
move-result-object p0
|
|
|
|
add-long/2addr v0, v5
|
|
|
|
invoke-virtual {p0, v0, v1}, Ly/x;->a(J)Ly/x;
|
|
|
|
:goto_3
|
|
throw p1
|
|
|
|
:catch_0
|
|
nop
|
|
|
|
const/4 p1, 0x0
|
|
|
|
cmp-long p2, v5, v3
|
|
|
|
if-nez p2, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:goto_4
|
|
return p1
|
|
|
|
:cond_4
|
|
const-string p0, "timeUnit"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
const-string p0, "$this$skipAll"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final b([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)[Ljava/lang/String;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"([",
|
|
"Ljava/lang/String;",
|
|
"[",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Comparator<",
|
|
"-",
|
|
"Ljava/lang/String;",
|
|
">;)[",
|
|
"Ljava/lang/String;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_6
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
array-length v1, p0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_2
|
|
|
|
aget-object v4, p0, v3
|
|
|
|
array-length v5, p1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_1
|
|
if-ge v6, v5, :cond_1
|
|
|
|
aget-object v7, p1, v6
|
|
|
|
invoke-interface {p2, v4, v7}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_0
|
|
|
|
invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_2
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
new-array p0, v2, [Ljava/lang/String;
|
|
|
|
invoke-interface {v0, p0}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
check-cast p0, [Ljava/lang/String;
|
|
|
|
return-object p0
|
|
|
|
:cond_3
|
|
new-instance p0, Lt/l;
|
|
|
|
const-string p1, "null cannot be cast to non-null type kotlin.Array<T>"
|
|
|
|
invoke-direct {p0, p1}, Lt/l;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
const-string p0, "comparator"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
const-string p0, "other"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_6
|
|
const-string p0, "$this$intersect"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final c(Ljava/lang/String;II)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-static {p0, p1, p2}, Lx/c0/a;->a(Ljava/lang/String;II)I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p0, p1, p2}, Lx/c0/a;->b(Ljava/lang/String;II)I
|
|
|
|
move-result p2
|
|
|
|
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}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, "$this$trimSubstring"
|
|
|
|
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|