apkfuckery/com.discord/smali_classes2/okhttp3/internal/b.smali

2245 lines
48 KiB
Smali
Raw Normal View History

2019-11-28 00:30:53 +00:00
.class public final Lokhttp3/internal/b;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-11-28 00:30:53 +00:00
.source "Util.kt"
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
# static fields
.field public static final bua:[B
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
.field public static final bub:Lokhttp3/Headers;
.field public static final buc:Lokhttp3/aa;
.field public static final bud:Lokhttp3/RequestBody;
.field private static final bue:Lokio/o;
.field public static final buf:Ljava/util/TimeZone;
.field private static final bug:Lkotlin/text/Regex;
2019-07-24 11:27:29 +00:00
# direct methods
2019-11-28 00:30:53 +00:00
.method static constructor <clinit>()V
.locals 5
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-array v1, v0, [B
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
sput-object v1, Lokhttp3/internal/b;->bua:[B
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
sget-object v1, Lokhttp3/Headers;->brO:Lokhttp3/Headers$b;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
new-array v1, v0, [Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v1}, Lokhttp3/Headers$b;->e([Ljava/lang/String;)Lokhttp3/Headers;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
sput-object v1, Lokhttp3/internal/b;->bub:Lokhttp3/Headers;
sget-object v1, Lokhttp3/aa;->btN:Lokhttp3/aa$b;
sget-object v1, Lokhttp3/internal/b;->bua:[B
const-string v2, "$this$toResponseBody"
invoke-static {v1, v2}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v2, Lokio/f;
invoke-direct {v2}, Lokio/f;-><init>()V
invoke-virtual {v2, v1}, Lokio/f;->C([B)Lokio/f;
move-result-object v2
check-cast v2, Lokio/g;
array-length v1, v1
int-to-long v3, v1
const/4 v1, 0x0
invoke-static {v2, v1, v3, v4}, Lokhttp3/aa$b;->a(Lokio/g;Lokhttp3/MediaType;J)Lokhttp3/aa;
move-result-object v2
sput-object v2, Lokhttp3/internal/b;->buc:Lokhttp3/aa;
sget-object v2, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
sget-object v2, Lokhttp3/internal/b;->bua:[B
const/4 v3, 0x7
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v2, v1, v0, v0, v3}, Lokhttp3/RequestBody$Companion;->a([BLokhttp3/MediaType;III)Lokhttp3/RequestBody;
move-result-object v1
sput-object v1, Lokhttp3/internal/b;->bud:Lokhttp3/RequestBody;
sget-object v1, Lokio/o;->bBQ:Lokio/o$a;
const/4 v2, 0x5
new-array v2, v2, [Lokio/ByteString;
sget-object v3, Lokio/ByteString;->bBE:Lokio/ByteString$a;
const-string v3, "efbbbf"
invoke-static {v3}, Lokio/ByteString$a;->ew(Ljava/lang/String;)Lokio/ByteString;
move-result-object v3
aput-object v3, v2, v0
sget-object v0, Lokio/ByteString;->bBE:Lokio/ByteString$a;
const-string v0, "feff"
invoke-static {v0}, Lokio/ByteString$a;->ew(Ljava/lang/String;)Lokio/ByteString;
move-result-object v0
const/4 v3, 0x1
aput-object v0, v2, v3
sget-object v0, Lokio/ByteString;->bBE:Lokio/ByteString$a;
const-string v0, "fffe"
invoke-static {v0}, Lokio/ByteString$a;->ew(Ljava/lang/String;)Lokio/ByteString;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-11-28 00:30:53 +00:00
const/4 v3, 0x2
aput-object v0, v2, v3
sget-object v0, Lokio/ByteString;->bBE:Lokio/ByteString$a;
const-string v0, "0000ffff"
invoke-static {v0}, Lokio/ByteString$a;->ew(Ljava/lang/String;)Lokio/ByteString;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-11-28 00:30:53 +00:00
const/4 v3, 0x3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
aput-object v0, v2, v3
sget-object v0, Lokio/ByteString;->bBE:Lokio/ByteString$a;
const-string v0, "ffff0000"
invoke-static {v0}, Lokio/ByteString$a;->ew(Ljava/lang/String;)Lokio/ByteString;
move-result-object v0
const/4 v3, 0x4
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
aput-object v0, v2, v3
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-virtual {v1, v2}, Lokio/o$a;->a([Lokio/ByteString;)Lokio/o;
move-result-object v0
sput-object v0, Lokhttp3/internal/b;->bue:Lokio/o;
const-string v0, "GMT"
invoke-static {v0}, Ljava/util/TimeZone;->getTimeZone(Ljava/lang/String;)Ljava/util/TimeZone;
move-result-object v0
if-nez v0, :cond_0
invoke-static {}, Lkotlin/jvm/internal/l;->throwNpe()V
:cond_0
sput-object v0, Lokhttp3/internal/b;->buf: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, Lokhttp3/internal/b;->bug:Lkotlin/text/Regex;
return-void
.end method
.method public static final B(Ljava/lang/Object;J)V
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;
}
.end annotation
const-string v0, "$this$lockAndWaitNanos"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
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
2019-07-24 11:27:29 +00:00
:try_start_0
2019-11-28 00:30:53 +00:00
const-string p1, "$this$waitMillis"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-wide/16 v0, 0x0
cmp-long p1, v2, v0
if-gtz p1, :cond_0
if-lez p2, :cond_1
:cond_0
invoke-virtual {p0, v2, v3, p2}, Ljava/lang/Object;->wait(JI)V
:cond_1
sget-object p1, Lkotlin/Unit;->bgy:Lkotlin/Unit;
2019-07-24 11:27:29 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-11-28 00:30:53 +00:00
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public static final T(Ljava/util/List;)Lokhttp3/Headers;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lokhttp3/internal/e/c;",
">;)",
"Lokhttp3/Headers;"
}
.end annotation
const-string v0, "$this$toHeaders"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lokhttp3/Headers$a;
invoke-direct {v0}, Lokhttp3/Headers$a;-><init>()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 v1
if-eqz v1, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v1
2019-11-28 00:30:53 +00:00
check-cast v1, Lokhttp3/internal/e/c;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
iget-object v2, v1, Lokhttp3/internal/e/c;->bxf:Lokio/ByteString;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
iget-object v1, v1, Lokhttp3/internal/e/c;->bxg:Lokio/ByteString;
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
invoke-static {v2}, Lokio/a/a;->o(Lokio/ByteString;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v2
2019-11-28 00:30:53 +00:00
invoke-static {v1}, Lokio/a/a;->o(Lokio/ByteString;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v2, v1}, Lokhttp3/Headers$a;->ah(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
goto :goto_0
:cond_0
invoke-virtual {v0}, Lokhttp3/Headers$a;->FM()Lokhttp3/Headers;
move-result-object p0
return-object p0
.end method
.method public static final U(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
const-string v0, "$this$toImmutableList"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/util/Collection;
invoke-static {p0}, Lkotlin/a/m;->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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final a(Ljava/lang/String;CII)I
.locals 1
const-string v0, "$this$delimiterOffset"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
: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
.end method
.method public static final a(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
.locals 7
const-string v0, "name"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-wide/16 v0, 0x0
const/4 v2, 0x1
const/4 v3, 0x0
cmp-long v4, p1, v0
if-ltz v4, :cond_0
const/4 v5, 0x1
goto :goto_0
:cond_0
const/4 v5, 0x0
:goto_0
if-eqz v5, :cond_8
if-eqz p3, :cond_1
const/4 v5, 0x1
goto :goto_1
:cond_1
const/4 v5, 0x0
:goto_1
if-eqz v5, :cond_7
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide p1
const-wide/32 v5, 0x7fffffff
cmp-long p3, p1, v5
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 v4, :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
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " too small."
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()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
check-cast p1, Ljava/lang/Throwable;
throw p1
:cond_6
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " too large."
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()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
check-cast p1, Ljava/lang/Throwable;
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
check-cast p0, Ljava/lang/Throwable;
throw p0
:cond_8
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " < 0"
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()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
check-cast p1, Ljava/lang/Throwable;
throw p1
.end method
.method public static final a(Ljava/lang/String;Ljava/lang/String;II)I
.locals 5
const-string v0, "$this$delimiterOffset"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "delimiters"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:goto_0
if-ge p2, p3, :cond_1
move-object v0, p1
check-cast v0, Ljava/lang/CharSequence;
invoke-virtual {p0, p2}, Ljava/lang/String;->charAt(I)C
move-result v1
const/4 v2, 0x0
const/4 v3, 0x2
const/4 v4, 0x0
invoke-static {v0, v1, v2, v3, v4}, Lkotlin/text/l;->contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)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
.end method
.method public static final a(S)I
.locals 1
const v0, 0xffff
and-int/2addr p0, v0
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-string v0, "$this$indexOf"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
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
return v2
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
const/4 p0, -0x1
return p0
.end method
.method public static final a(Lokhttp3/v;Z)Ljava/lang/String;
.locals 5
const-string v0, "$this$toHostHeader"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/v;->brS:Ljava/lang/String;
check-cast v0, Ljava/lang/CharSequence;
const-string v1, ":"
check-cast v1, Ljava/lang/CharSequence;
const/4 v2, 0x0
const/4 v3, 0x2
const/4 v4, 0x0
invoke-static {v0, v1, v2, v3, v4}, Lkotlin/text/l;->contains$default(Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZILjava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "["
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lokhttp3/v;->brS: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, Lokhttp3/v;->brS:Ljava/lang/String;
:goto_0
if-nez p1, :cond_2
iget p1, p0, Lokhttp3/v;->port:I
sget-object v1, Lokhttp3/v;->brX:Lokhttp3/v$b;
iget-object v1, p0, Lokhttp3/v;->brR:Ljava/lang/String;
invoke-static {v1}, Lokhttp3/v$b;->dK(Ljava/lang/String;)I
move-result v1
if-eq p1, v1, :cond_1
goto :goto_1
:cond_1
return-object v0
:cond_2
:goto_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, Lokhttp3/v;->port: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 p0
return-object p0
.end method
.method public static final a(Lokio/g;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "$this$readBomAsCharset"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "default"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lokhttp3/internal/b;->bue:Lokio/o;
invoke-interface {p0, v0}, Lokio/g;->a(Lokio/o;)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, Lkotlin/text/d;->biX:Lkotlin/text/d;
invoke-virtual {p0}, Lkotlin/text/d;->UTF32_LE()Ljava/nio/charset/Charset;
move-result-object p0
return-object p0
:cond_0
new-instance p0, Ljava/lang/AssertionError;
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
check-cast p0, Ljava/lang/Throwable;
throw p0
:cond_1
sget-object p0, Lkotlin/text/d;->biX:Lkotlin/text/d;
invoke-virtual {p0}, Lkotlin/text/d;->UTF32_BE()Ljava/nio/charset/Charset;
move-result-object p0
return-object p0
:cond_2
sget-object p0, Ljava/nio/charset/StandardCharsets;->UTF_16LE:Ljava/nio/charset/Charset;
const-string p1, "UTF_16LE"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_3
sget-object p0, Ljava/nio/charset/StandardCharsets;->UTF_16BE:Ljava/nio/charset/Charset;
const-string p1, "UTF_16BE"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_4
sget-object p0, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
const-string p1, "UTF_8"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_5
return-object p1
.end method
.method public static final a(Lokhttp3/s;)Lokhttp3/s$c;
.locals 1
const-string v0, "$this$asFactory"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lokhttp3/internal/b$a;
invoke-direct {v0, p0}, Lokhttp3/internal/b$a;-><init>(Lokhttp3/s;)V
check-cast v0, Lokhttp3/s$c;
return-object v0
.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
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method
.method public static final a(Ljava/net/Socket;)V
.locals 1
const-string v0, "$this$closeQuietly"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
: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
check-cast p0, Ljava/lang/Throwable;
throw p0
:catch_2
move-exception p0
check-cast p0, Ljava/lang/Throwable;
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
const-string v0, "$this$writeMedium"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
ushr-int/lit8 v0, p1, 0x10
and-int/lit16 v0, v0, 0xff
invoke-interface {p0, v0}, Lokio/BufferedSink;->dB(I)Lokio/BufferedSink;
ushr-int/lit8 v0, p1, 0x8
and-int/lit16 v0, v0, 0xff
invoke-interface {p0, v0}, Lokio/BufferedSink;->dB(I)Lokio/BufferedSink;
and-int/lit16 p1, p1, 0xff
invoke-interface {p0, p1}, Lokio/BufferedSink;->dB(I)Lokio/BufferedSink;
return-void
.end method
.method public static final a(Lokhttp3/v;Lokhttp3/v;)Z
.locals 2
const-string v0, "$this$canReuseConnectionFor"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "other"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/v;->brS:Ljava/lang/String;
iget-object v1, p1, Lokhttp3/v;->brS:Ljava/lang/String;
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget v0, p0, Lokhttp3/v;->port:I
iget v1, p1, Lokhttp3/v;->port:I
if-ne v0, v1, :cond_0
iget-object p0, p0, Lokhttp3/v;->brR:Ljava/lang/String;
iget-object p1, p1, Lokhttp3/v;->brR:Ljava/lang/String;
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p0
if-eqz p0, :cond_0
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method public static final a(Lokio/x;ILjava/util/concurrent/TimeUnit;)Z
.locals 11
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "$this$skipAll"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "timeUnit"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
invoke-interface {p0}, Lokio/x;->timeout()Lokio/y;
move-result-object v2
invoke-virtual {v2}, Lokio/y;->IB()Z
move-result v2
const-wide v3, 0x7fffffffffffffffL
if-eqz v2, :cond_0
invoke-interface {p0}, Lokio/x;->timeout()Lokio/y;
move-result-object v2
invoke-virtual {v2}, Lokio/y;->IC()J
move-result-wide v5
sub-long/2addr v5, v0
goto :goto_0
:cond_0
move-wide v5, v3
:goto_0
invoke-interface {p0}, Lokio/x;->timeout()Lokio/y;
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}, Lokio/y;->aM(J)Lokio/y;
:try_start_0
new-instance p1, Lokio/f;
invoke-direct {p1}, Lokio/f;-><init>()V
:goto_1
const-wide/16 v7, 0x2000
invoke-interface {p0, p1, v7, v8}, Lokio/x;->a(Lokio/f;J)J
move-result-wide v7
const-wide/16 v9, -0x1
cmp-long p2, v7, v9
if-eqz p2, :cond_1
invoke-virtual {p1}, Lokio/f;->clear()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}, Lokio/x;->timeout()Lokio/y;
move-result-object p0
invoke-virtual {p0}, Lokio/y;->IE()Lokio/y;
goto :goto_4
:cond_2
invoke-interface {p0}, Lokio/x;->timeout()Lokio/y;
move-result-object p0
add-long/2addr v0, v5
invoke-virtual {p0, v0, v1}, Lokio/y;->aM(J)Lokio/y;
goto :goto_4
:catchall_0
move-exception p1
cmp-long p2, v5, v3
if-nez p2, :cond_3
invoke-interface {p0}, Lokio/x;->timeout()Lokio/y;
move-result-object p0
invoke-virtual {p0}, Lokio/y;->IE()Lokio/y;
goto :goto_3
:cond_3
invoke-interface {p0}, Lokio/x;->timeout()Lokio/y;
move-result-object p0
add-long/2addr v0, v5
invoke-virtual {p0, v0, v1}, Lokio/y;->aM(J)Lokio/y;
: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
.end method
.method public static final a(Lokio/x;Ljava/util/concurrent/TimeUnit;)Z
.locals 1
const-string v0, "$this$discard"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "timeUnit"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/16 v0, 0x64
:try_start_0
invoke-static {p0, v0, p1}, Lokhttp3/internal/b;->a(Lokio/x;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;)[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-string v0, "$this$intersect"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "other"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p2, 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;
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
check-cast v0, Ljava/util/Collection;
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, Lkotlin/r;
const-string p1, "null cannot be cast to non-null type kotlin.Array<T>"
invoke-direct {p0, p1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final at(J)Ljava/lang/String;
.locals 0
invoke-static {p0, p1}, Ljava/lang/Long;->toHexString(J)Ljava/lang/String;
move-result-object p0
const-string p1, "java.lang.Long.toHexString(this)"
invoke-static {p0, p1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final b(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
return p0
: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
return p0
: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
return p0
.end method
.method public static synthetic b(Ljava/lang/String;CII)I
.locals 0
and-int/lit8 p3, p3, 0x4
if-eqz p3, :cond_0
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result p2
:cond_0
const/4 p3, 0x0
invoke-static {p0, p1, p3, p2}, Lokhttp3/internal/b;->a(Ljava/lang/String;CII)I
move-result p0
return p0
.end method
.method public static final b([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}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->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 c([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
.locals 1
const-string v0, "$this$concat"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, [Ljava/lang/String;
invoke-static {p0}, Lkotlin/a/g;->getLastIndex([Ljava/lang/Object;)I
move-result v0
aput-object p1, p0, v0
if-eqz p0, :cond_0
return-object p0
:cond_0
new-instance p0, Lkotlin/r;
const-string p1, "null cannot be cast to non-null type kotlin.Array<kotlin.String>"
invoke-direct {p0, p1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final closeQuietly(Ljava/io/Closeable;)V
.locals 1
const-string v0, "$this$closeQuietly"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
: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
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method
.method public static final d(Lokio/g;)I
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "$this$readMedium"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Lokio/g;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
shl-int/lit8 v0, v0, 0x10
invoke-interface {p0}, Lokio/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}, Lokio/g;->readByte()B
move-result p0
and-int/lit16 p0, p0, 0xff
or-int/2addr p0, v0
return p0
.end method
.method public static final varargs d([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}, Lkotlin/jvm/internal/l;->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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static synthetic dW(Ljava/lang/String;)I
.locals 2
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
const/4 v1, 0x0
invoke-static {p0, v1, v0}, Lokhttp3/internal/b;->m(Ljava/lang/String;II)I
move-result p0
return p0
.end method
.method public static final dX(Ljava/lang/String;)I
.locals 4
const-string v0, "$this$indexOfControlOrNonAscii"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_2
invoke-virtual {p0, v1}, 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 v1, v1, 0x1
goto :goto_0
:cond_1
:goto_1
return v1
:cond_2
const/4 p0, -0x1
return p0
.end method
.method public static final dY(Ljava/lang/String;)Z
.locals 1
const-string v0, "$this$canParseAsIpAddress"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lokhttp3/internal/b;->bug:Lkotlin/text/Regex;
check-cast p0, Ljava/lang/CharSequence;
invoke-virtual {v0, p0}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
move-result p0
return p0
.end method
.method public static final dZ(Ljava/lang/String;)J
.locals 2
const-string v0, "$this$toLongOrDefault"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
: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
goto :goto_0
:catch_0
const-wide/16 v0, -0x1
:goto_0
return-wide v0
.end method
.method public static final dh(I)J
.locals 4
int-to-long v0, p0
const-wide/32 v2, 0x7fffffff
and-long/2addr v0, v2
return-wide v0
.end method
.method public static final di(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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static synthetic e(Lokhttp3/v;)Ljava/lang/String;
.locals 1
const/4 v0, 0x0
invoke-static {p0, v0}, Lokhttp3/internal/b;->a(Lokhttp3/v;Z)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static final e(Lokhttp3/Headers;)Ljava/util/List;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/Headers;",
")",
"Ljava/util/List<",
"Lokhttp3/internal/e/c;",
">;"
}
.end annotation
const-string v0, "$this$toHeaderList"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lokhttp3/Headers;->brN:[Ljava/lang/String;
array-length v0, v0
div-int/lit8 v0, v0, 0x2
const/4 v1, 0x0
invoke-static {v1, v0}, Lkotlin/ranges/c;->until(II)Lkotlin/ranges/IntRange;
move-result-object v0
check-cast v0, Ljava/lang/Iterable;
new-instance v1, Ljava/util/ArrayList;
const/16 v2, 0xa
invoke-static {v0, v2}, Lkotlin/a/m;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
move-result v2
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
check-cast v1, Ljava/util/Collection;
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, Lkotlin/a/ab;
invoke-virtual {v2}, Lkotlin/a/ab;->nextInt()I
move-result v2
new-instance v3, Lokhttp3/internal/e/c;
invoke-virtual {p0, v2}, Lokhttp3/Headers;->de(I)Ljava/lang/String;
move-result-object v4
invoke-virtual {p0, v2}, Lokhttp3/Headers;->df(I)Ljava/lang/String;
move-result-object v2
invoke-direct {v3, v4, v2}, Lokhttp3/internal/e/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
check-cast v1, Ljava/util/List;
return-object v1
.end method
.method public static final g(B)I
.locals 0
and-int/lit16 p0, p0, 0xff
return p0
.end method
.method public static final g(Lokhttp3/Response;)J
.locals 2
const-string v0, "$this$headersContentLength"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lokhttp3/Response;->bsA:Lokhttp3/Headers;
const-string v0, "Content-Length"
invoke-virtual {p0, v0}, Lokhttp3/Headers;->dB(Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
if-eqz p0, :cond_0
invoke-static {p0}, Lokhttp3/internal/b;->dZ(Ljava/lang/String;)J
move-result-wide v0
return-wide v0
:cond_0
const-wide/16 v0, -0x1
return-wide v0
.end method
.method public static final varargs h(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
.locals 2
const-string v0, "format"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "args"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lkotlin/jvm/internal/ab;->bhQ:Lkotlin/jvm/internal/ab;
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
const-string v1, "Locale.US"
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final h(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
.locals 1
const-string v0, "name"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lokhttp3/internal/b$b;
invoke-direct {v0, p0, p1}, Lokhttp3/internal/b$b;-><init>(Ljava/lang/String;Z)V
check-cast v0, Ljava/util/concurrent/ThreadFactory;
return-object v0
.end method
.method private static m(Ljava/lang/String;II)I
.locals 2
const-string v0, "$this$indexOfFirstNonAsciiWhitespace"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
: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
.end method
.method public static synthetic n(Ljava/lang/String;I)I
.locals 1
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
invoke-static {p0, p1, v0}, Lokhttp3/internal/b;->n(Ljava/lang/String;II)I
move-result p0
return p0
.end method
.method private static n(Ljava/lang/String;II)I
.locals 2
const-string v0, "$this$indexOfLastNonAsciiWhitespace"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
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
.end method
.method public static synthetic o(Ljava/lang/String;I)Ljava/lang/String;
.locals 1
const/4 v0, 0x0
invoke-static {p0, v0, p1}, Lokhttp3/internal/b;->o(Ljava/lang/String;II)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static final o(Ljava/lang/String;II)Ljava/lang/String;
.locals 1
const-string v0, "$this$trimSubstring"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0, p1, p2}, Lokhttp3/internal/b;->m(Ljava/lang/String;II)I
move-result p1
invoke-static {p0, p1, p2}, Lokhttp3/internal/b;->n(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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final p(Ljava/lang/String;I)I
.locals 3
const-string v0, "$this$indexOfNonWhitespace"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
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
.end method
.method public static final p(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
const-string v0, "$this$toImmutableMap"
invoke-static {p0, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
move-result-object p0
return-object p0
:cond_0
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
check-cast v0, Ljava/util/Map;
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}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final q(Ljava/lang/String;I)I
.locals 3
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-wide/32 v0, 0x7fffffff
cmp-long v2, p0, v0
if-lez v2, :cond_0
const p0, 0x7fffffff
return p0
:cond_0
const-wide/16 v0, 0x0
cmp-long v2, p0, v0
if-gez v2, :cond_1
const/4 p0, 0x0
return p0
:cond_1
long-to-int p1, p0
2019-07-24 11:27:29 +00:00
2019-11-28 00:30:53 +00:00
:catch_0
:cond_2
return p1
2019-07-24 11:27:29 +00:00
.end method