apkfuckery/com.discord/smali_classes2/g0/h0/c.smali
2020-10-27 04:20:34 +00:00

2123 lines
44 KiB
Smali

.class public final Lg0/h0/c;
.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:Lokhttp3/ResponseBody;
.field public static final d:Lh0/o;
.field public static final e:Ljava/util/TimeZone;
.field public static final f:Lkotlin/text/Regex;
.field public static final g:Z
.field public static final h:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 12
const/4 v0, 0x0
new-array v1, v0, [B
sput-object v1, Lg0/h0/c;->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;->c([Ljava/lang/String;)Lokhttp3/Headers;
move-result-object v1
sput-object v1, Lg0/h0/c;->b:Lokhttp3/Headers;
sget-object v1, Lg0/h0/c;->a:[B
const-string v2, "$this$toResponseBody"
invoke-static {v1, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v2, Lh0/e;
invoke-direct {v2}, Lh0/e;-><init>()V
invoke-virtual {v2, v1}, Lh0/e;->C([B)Lh0/e;
array-length v1, v1
int-to-long v3, v1
const-string v1, "$this$asResponseBody"
invoke-static {v2, v1}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v1, Lg0/e0;
const/4 v5, 0x0
invoke-direct {v1, v2, v5, v3, v4}, Lg0/e0;-><init>(Lh0/g;Lokhttp3/MediaType;J)V
sput-object v1, Lg0/h0/c;->c:Lokhttp3/ResponseBody;
sget-object v6, Lokhttp3/RequestBody;->Companion:Lokhttp3/RequestBody$Companion;
sget-object v7, Lg0/h0/c;->a:[B
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/4 v11, 0x7
invoke-static/range {v6 .. v11}, Lokhttp3/RequestBody$Companion;->d(Lokhttp3/RequestBody$Companion;[BLokhttp3/MediaType;III)Lokhttp3/RequestBody;
sget-object v1, Lh0/o;->f:Lh0/o$a;
const/4 v2, 0x5
new-array v2, v2, [Lokio/ByteString;
sget-object v3, Lokio/ByteString;->g:Lokio/ByteString$a;
const-string v4, "efbbbf"
invoke-virtual {v3, v4}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
move-result-object v3
aput-object v3, v2, v0
const/4 v0, 0x1
sget-object v3, Lokio/ByteString;->g:Lokio/ByteString$a;
const-string v4, "feff"
invoke-virtual {v3, v4}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
move-result-object v3
aput-object v3, v2, v0
const/4 v0, 0x2
sget-object v3, Lokio/ByteString;->g:Lokio/ByteString$a;
const-string v4, "fffe"
invoke-virtual {v3, v4}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
move-result-object v3
aput-object v3, v2, v0
const/4 v0, 0x3
sget-object v3, Lokio/ByteString;->g:Lokio/ByteString$a;
const-string v4, "0000ffff"
invoke-virtual {v3, v4}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
move-result-object v3
aput-object v3, v2, v0
const/4 v0, 0x4
sget-object v3, Lokio/ByteString;->g:Lokio/ByteString$a;
const-string v4, "ffff0000"
invoke-virtual {v3, v4}, Lokio/ByteString$a;->a(Ljava/lang/String;)Lokio/ByteString;
move-result-object v3
aput-object v3, v2, v0
invoke-virtual {v1, v2}, Lh0/o$a;->c([Lokio/ByteString;)Lh0/o;
move-result-object v0
sput-object v0, Lg0/h0/c;->d:Lh0/o;
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, Lg0/h0/c;->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, Lg0/h0/c;->f:Lkotlin/text/Regex;
const-class v0, Lg0/z;
invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z
move-result v0
sput-boolean v0, Lg0/h0/c;->g:Z
const-class v0, Lg0/z;
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "OkHttpClient::class.java.name"
invoke-static {v0, v1}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v1, "okhttp3."
invoke-static {v0, v1}, Lc0/t/p;->removePrefix(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
move-result-object v0
const-string v1, "Client"
invoke-static {v0, v1}, Lc0/t/p;->removeSuffix(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;
move-result-object v0
sput-object v0, Lg0/h0/c;->h:Ljava/lang/String;
return-void
:cond_0
invoke-static {}, Lc0/n/c/j;->throwNpe()V
throw v5
.end method
.method public static final A(Lh0/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}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "timeUnit"
invoke-static {p2, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
invoke-interface {p0}, Lh0/x;->timeout()Lh0/y;
move-result-object v2
invoke-virtual {v2}, Lh0/y;->e()Z
move-result v2
const-wide v3, 0x7fffffffffffffffL
if-eqz v2, :cond_0
invoke-interface {p0}, Lh0/x;->timeout()Lh0/y;
move-result-object v2
invoke-virtual {v2}, Lh0/y;->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}, Lh0/x;->timeout()Lh0/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}, Lh0/y;->d(J)Lh0/y;
:try_start_0
new-instance p1, Lh0/e;
invoke-direct {p1}, Lh0/e;-><init>()V
:goto_1
const-wide/16 v7, 0x2000
invoke-interface {p0, p1, v7, v8}, Lh0/x;->G0(Lh0/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, Lh0/e;->e:J
invoke-virtual {p1, v7, v8}, Lh0/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_3
goto :goto_3
:catchall_0
move-exception p1
cmp-long p2, v5, v3
if-nez p2, :cond_2
invoke-interface {p0}, Lh0/x;->timeout()Lh0/y;
move-result-object p0
invoke-virtual {p0}, Lh0/y;->a()Lh0/y;
goto :goto_2
:cond_2
invoke-interface {p0}, Lh0/x;->timeout()Lh0/y;
move-result-object p0
add-long/2addr v0, v5
invoke-virtual {p0, v0, v1}, Lh0/y;->d(J)Lh0/y;
:goto_2
throw p1
:catch_0
nop
const/4 p1, 0x0
cmp-long p2, v5, v3
if-nez p2, :cond_3
:goto_3
invoke-interface {p0}, Lh0/x;->timeout()Lh0/y;
move-result-object p0
invoke-virtual {p0}, Lh0/y;->a()Lh0/y;
goto :goto_4
:cond_3
invoke-interface {p0}, Lh0/x;->timeout()Lh0/y;
move-result-object p0
add-long/2addr v0, v5
invoke-virtual {p0, v0, v1}, Lh0/y;->d(J)Lh0/y;
:goto_4
return p1
.end method
.method public static final B(Ljava/util/List;)Lokhttp3/Headers;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lg0/h0/j/b;",
">;)",
"Lokhttp3/Headers;"
}
.end annotation
const-string v0, "$this$toHeaders"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/ArrayList;
const/16 v1, 0x14
invoke-direct {v0, v1}, 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 v1
if-eqz v1, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lg0/h0/j/b;
iget-object v2, v1, Lg0/h0/j/b;->b:Lokio/ByteString;
iget-object v1, v1, Lg0/h0/j/b;->c:Lokio/ByteString;
invoke-virtual {v2}, Lokio/ByteString;->p()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1}, Lokio/ByteString;->p()Ljava/lang/String;
move-result-object v1
const-string v3, "name"
invoke-static {v2, v3}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v3, "value"
invoke-static {v1, v3}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
invoke-static {v1}, Lc0/t/p;->trim(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
const/4 p0, 0x0
new-array p0, p0, [Ljava/lang/String;
invoke-virtual {v0, p0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p0
if-eqz p0, :cond_1
check-cast p0, [Ljava/lang/String;
const/4 v0, 0x0
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_1
new-instance p0, Lkotlin/TypeCastException;
const-string v0, "null cannot be cast to non-null type kotlin.Array<T>"
invoke-direct {p0, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final C(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}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final D(Lg0/y;Z)Ljava/lang/String;
.locals 4
const-string v0, "$this$toHostHeader"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lg0/y;->e:Ljava/lang/String;
const/4 v1, 0x0
const/4 v2, 0x2
const-string v3, ":"
invoke-static {v0, v3, v1, v2}, Lc0/t/p;->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}, Lf/e/c/a/a;->B(C)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lg0/y;->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, Lg0/y;->e:Ljava/lang/String;
:goto_0
if-nez p1, :cond_4
iget p1, p0, Lg0/y;->f:I
iget-object v1, p0, Lg0/y;->b:Ljava/lang/String;
const-string v2, "scheme"
invoke-static {v1, v2}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v2
const v3, 0x310888 # 4.503E-39f
if-eq v2, v3, :cond_2
const v3, 0x5f008eb
if-eq v2, v3, :cond_1
goto :goto_1
:cond_1
const-string v2, "https"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
const/16 v1, 0x1bb
goto :goto_2
:cond_2
const-string v2, "http"
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
const/16 v1, 0x50
goto :goto_2
:cond_3
:goto_1
const/4 v1, -0x1
:goto_2
if-eq p1, v1, :cond_5
:cond_4
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, Lg0/y;->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_5
return-object v0
.end method
.method public static final E(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}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Lc0/i/f;->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}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final F(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}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
sget-object p0, Lc0/i/m;->d:Lc0/i/m;
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}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:goto_0
return-object p0
.end method
.method public static final G(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 H(Ljava/lang/String;II)Ljava/lang/String;
.locals 1
const-string v0, "$this$trimSubstring"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0, p1, p2}, Lg0/h0/c;->r(Ljava/lang/String;II)I
move-result p1
invoke-static {p0, p1, p2}, Lg0/h0/c;->t(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}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final I(Ljava/lang/Exception;Ljava/util/List;)Ljava/lang/Throwable;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Exception;",
"Ljava/util/List<",
"+",
"Ljava/lang/Exception;",
">;)",
"Ljava/lang/Throwable;"
}
.end annotation
const-string v0, "$this$withSuppressed"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "suppressed"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p1}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x1
if-le v0, v1, :cond_0
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
invoke-virtual {v0, p1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
:cond_0
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Exception;
invoke-virtual {p0, v0}, Ljava/lang/Exception;->addSuppressed(Ljava/lang/Throwable;)V
goto :goto_0
:cond_1
return-object p0
.end method
.method public static final J(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}, Lc0/n/c/j;->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;->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
.end method
.method public static final a(BI)I
.locals 0
and-int/2addr p0, p1
return p0
.end method
.method public static final b(Ljava/lang/String;)Z
.locals 1
const-string v0, "$this$canParseAsIpAddress"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lg0/h0/c;->f:Lkotlin/text/Regex;
invoke-virtual {v0, p0}, Lkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
move-result p0
return p0
.end method
.method public static final c(Lg0/y;Lg0/y;)Z
.locals 2
const-string v0, "$this$canReuseConnectionFor"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "other"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Lg0/y;->e:Ljava/lang/String;
iget-object v1, p1, Lg0/y;->e:Ljava/lang/String;
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget v0, p0, Lg0/y;->f:I
iget v1, p1, Lg0/y;->f:I
if-ne v0, v1, :cond_0
iget-object p0, p0, Lg0/y;->b:Ljava/lang/String;
iget-object p1, p1, Lg0/y;->b:Ljava/lang/String;
invoke-static {p0, p1}, Lc0/n/c/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
.end method
.method public static final d(Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)I
.locals 7
const-string v0, "name"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
const/4 v1, 0x1
const-wide/16 v2, 0x0
cmp-long v4, p1, v2
if-ltz v4, :cond_0
const/4 v5, 0x1
goto :goto_0
:cond_0
const/4 v5, 0x0
:goto_0
if-eqz v5, :cond_7
if-eqz v1, :cond_6
invoke-virtual {p3, p1, p2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J
move-result-wide p1
const p3, 0x7fffffff
int-to-long v5, p3
cmp-long p3, p1, v5
if-gtz p3, :cond_1
const/4 p3, 0x1
goto :goto_1
:cond_1
const/4 p3, 0x0
:goto_1
if-eqz p3, :cond_5
cmp-long p3, p1, v2
if-nez p3, :cond_2
if-gtz v4, :cond_3
:cond_2
const/4 v0, 0x1
:cond_3
if-eqz v0, :cond_4
long-to-int p0, p1
return p0
:cond_4
const-string p1, " too small."
invoke-static {p0, p1}, Lf/e/c/a/a;->q(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_5
const-string p1, " too large."
invoke-static {p0, p1}, Lf/e/c/a/a;->q(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
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_7
const-string p1, " < 0"
invoke-static {p0, p1}, Lf/e/c/a/a;->q(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
.end method
.method public static final e(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 f(Ljava/io/Closeable;)V
.locals 1
const-string v0, "$this$closeQuietly"
invoke-static {p0, v0}, Lc0/n/c/j;->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
throw p0
.end method
.method public static final g(Ljava/net/Socket;)V
.locals 1
const-string v0, "$this$closeQuietly"
invoke-static {p0, v0}, Lc0/n/c/j;->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
throw p0
:catch_2
move-exception p0
throw p0
.end method
.method public static final h(Ljava/lang/String;CII)I
.locals 1
const-string v0, "$this$delimiterOffset"
invoke-static {p0, v0}, Lc0/n/c/j;->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 i(Ljava/lang/String;Ljava/lang/String;II)I
.locals 3
const-string v0, "$this$delimiterOffset"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "delimiters"
invoke-static {p1, v0}, Lc0/n/c/j;->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
const/4 v1, 0x0
const/4 v2, 0x2
invoke-static {p1, v0, v1, v2}, Lc0/t/p;->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
.end method
.method public static synthetic j(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}, Lg0/h0/c;->h(Ljava/lang/String;CII)I
move-result p0
return p0
.end method
.method public static final k(Lh0/x;ILjava/util/concurrent/TimeUnit;)Z
.locals 1
const-string v0, "$this$discard"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "timeUnit"
invoke-static {p2, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:try_start_0
invoke-static {p0, p1, p2}, Lg0/h0/c;->A(Lh0/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 varargs l(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
.locals 2
const-string v0, "format"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "args"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
const-string v1, "Locale.US"
invoke-static {v0, v1}, Lc0/n/c/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}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final m([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}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p2, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
const/4 v1, 0x0
const/4 v2, 0x1
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 v2
: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 v1
.end method
.method public static final n(Lokhttp3/Response;)J
.locals 2
const-string v0, "$this$headersContentLength"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p0, p0, Lokhttp3/Response;->i:Lokhttp3/Headers;
const-string v0, "Content-Length"
invoke-virtual {p0, v0}, Lokhttp3/Headers;->c(Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
if-eqz p0, :cond_0
const-string v0, "$this$toLongOrDefault"
invoke-static {p0, v0}, Lc0/n/c/j;->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
:cond_0
const-wide/16 v0, -0x1
:goto_0
return-wide v0
.end method
.method public static final varargs o([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}, Lc0/n/c/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}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final p([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}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "value"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p2, v0}, Lc0/n/c/j;->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
goto :goto_2
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
const/4 v2, -0x1
:goto_2
return v2
.end method
.method public static final q(Ljava/lang/String;)I
.locals 4
const-string v0, "$this$indexOfControlOrNonAscii"
invoke-static {p0, v0}, Lc0/n/c/j;->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 r(Ljava/lang/String;II)I
.locals 2
const-string v0, "$this$indexOfFirstNonAsciiWhitespace"
invoke-static {p0, v0}, Lc0/n/c/j;->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 s(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}, Lg0/h0/c;->r(Ljava/lang/String;II)I
move-result p0
return p0
.end method
.method public static final t(Ljava/lang/String;II)I
.locals 2
const-string v0, "$this$indexOfLastNonAsciiWhitespace"
invoke-static {p0, v0}, Lc0/n/c/j;->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 final u(Ljava/lang/String;I)I
.locals 3
const-string v0, "$this$indexOfNonWhitespace"
invoke-static {p0, v0}, Lc0/n/c/j;->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 v([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}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "other"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "comparator"
invoke-static {p2, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
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-virtual {v0, v4}, Ljava/util/ArrayList;->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-virtual {v0, p0}, Ljava/util/ArrayList;->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/TypeCastException;
const-string p1, "null cannot be cast to non-null type kotlin.Array<T>"
invoke-direct {p0, p1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static final w(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 x(Lh0/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}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "default"
invoke-static {p1, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lg0/h0/c;->d:Lh0/o;
invoke-interface {p0, v0}, Lh0/g;->a1(Lh0/o;)I
move-result p0
const/4 v0, -0x1
if-eq p0, v0, :cond_7
if-eqz p0, :cond_6
const/4 p1, 0x1
if-eq p0, p1, :cond_5
const/4 p1, 0x2
if-eq p0, p1, :cond_4
const/4 p1, 0x3
if-eq p0, p1, :cond_2
const/4 p1, 0x4
if-ne p0, p1, :cond_1
sget-object p0, Lc0/t/a;->d:Lc0/t/a;
sget-object p0, Lc0/t/a;->b:Ljava/nio/charset/Charset;
if-eqz p0, :cond_0
goto :goto_0
:cond_0
const-string p0, "UTF-32LE"
invoke-static {p0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
move-result-object p0
const-string p1, "Charset.forName(\"UTF-32LE\")"
invoke-static {p0, p1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
sput-object p0, Lc0/t/a;->b:Ljava/nio/charset/Charset;
goto :goto_1
:cond_1
new-instance p0, Ljava/lang/AssertionError;
invoke-direct {p0}, Ljava/lang/AssertionError;-><init>()V
throw p0
:cond_2
sget-object p0, Lc0/t/a;->d:Lc0/t/a;
sget-object p0, Lc0/t/a;->c:Ljava/nio/charset/Charset;
if-eqz p0, :cond_3
:goto_0
goto :goto_1
:cond_3
const-string p0, "UTF-32BE"
invoke-static {p0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
move-result-object p0
const-string p1, "Charset.forName(\"UTF-32BE\")"
invoke-static {p0, p1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
sput-object p0, Lc0/t/a;->c:Ljava/nio/charset/Charset;
:goto_1
move-object p1, p0
goto :goto_2
:cond_4
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_16LE:Ljava/nio/charset/Charset;
const-string p0, "UTF_16LE"
invoke-static {p1, p0}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_2
:cond_5
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_16BE:Ljava/nio/charset/Charset;
const-string p0, "UTF_16BE"
invoke-static {p1, p0}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
goto :goto_2
:cond_6
sget-object p1, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
const-string p0, "UTF_8"
invoke-static {p1, p0}, Lc0/n/c/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:cond_7
:goto_2
return-object p1
.end method
.method public static final y(Lh0/g;)I
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
const-string v0, "$this$readMedium"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {p0}, Lh0/g;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
shl-int/lit8 v0, v0, 0x10
invoke-interface {p0}, Lh0/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}, Lh0/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 z(Lh0/e;B)I
.locals 3
const-string v0, "$this$skipAll"
invoke-static {p0, v0}, Lc0/n/c/j;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
:goto_0
invoke-virtual {p0}, Lh0/e;->L()Z
move-result v1
if-nez v1, :cond_0
const-wide/16 v1, 0x0
invoke-virtual {p0, v1, v2}, Lh0/e;->e(J)B
move-result v1
if-ne v1, p1, :cond_0
add-int/lit8 v0, v0, 0x1
invoke-virtual {p0}, Lh0/e;->readByte()B
goto :goto_0
:cond_0
return v0
.end method