2818 lines
57 KiB
Smali
2818 lines
57 KiB
Smali
.class public final Lak/b;
|
|
.super Ljava/lang/Object;
|
|
.source "ByteString.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nByteString.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ByteString.kt\nokio/internal/ByteStringKt\n+ 2 -Util.kt\nokio/-Util\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 4 Utf8.kt\nokio/Utf8\n*L\n1#1,342:1\n126#1:348\n127#1,9:350\n60#2:343\n66#2:344\n66#2:346\n66#2:347\n60#2:374\n66#2:386\n60#2:406\n66#2:414\n60#2:456\n66#2:464\n1#3:345\n1#3:349\n209#4,7:359\n122#4:366\n216#4,5:367\n122#4:372\n223#4:373\n225#4:375\n393#4,2:376\n122#4:378\n396#4,6:379\n127#4:385\n402#4:387\n122#4:388\n403#4,11:389\n122#4:400\n416#4:401\n122#4:402\n418#4,2:403\n227#4:405\n229#4:407\n434#4,3:408\n122#4:411\n437#4:412\n127#4:413\n440#4,10:415\n127#4:425\n450#4:426\n122#4:427\n451#4,4:428\n127#4:432\n455#4:433\n122#4:434\n456#4,12:435\n122#4:447\n469#4,2:448\n122#4:450\n473#4:451\n122#4:452\n475#4,2:453\n231#4:455\n233#4:457\n492#4,3:458\n122#4:461\n495#4:462\n127#4:463\n498#4,2:465\n127#4:467\n502#4,10:468\n127#4:478\n512#4:479\n122#4:480\n513#4,4:481\n127#4:485\n517#4:486\n122#4:487\n518#4,4:488\n127#4:492\n522#4:493\n122#4:494\n523#4,13:495\n122#4:508\n537#4,2:509\n122#4:511\n540#4,2:512\n122#4:514\n544#4:515\n122#4:516\n546#4,2:517\n238#4:519\n122#4:520\n239#4,5:521\n*E\n*S KotlinDebug\n*F\n+ 1 ByteString.kt\nokio/internal/ByteStringKt\n*L\n309#1:348\n309#1,9:350\n62#1:343\n63#1:344\n239#1:346\n240#1:347\n328#1:374\n328#1:386\n328#1:406\n328#1:414\n328#1:456\n328#1:464\n309#1:349\n328#1,7:359\n333#1:366\n328#1,5:367\n333#1:372\n328#1:373\n328#1:375\n328#1,2:376\n333#1:378\n328#1,6:379\n328#1:385\n328#1:387\n333#1:388\n328#1,11:389\n333#1:400\n328#1:401\n333#1:402\n328#1,2:403\n328#1:405\n328#1:407\n328#1,3:408\n333#1:411\n328#1:412\n328#1:413\n328#1,10:415\n328#1:425\n328#1:426\n333#1:427\n328#1,4:428\n328#1:432\n328#1:433\n333#1:434\n328#1,12:435\n333#1:447\n328#1,2:448\n333#1:450\n328#1:451\n333#1:452\n328#1,2:453\n328#1:455\n328#1:457\n328#1,3:458\n333#1:461\n328#1:462\n328#1:463\n328#1,2:465\n328#1:467\n328#1,10:468\n328#1:478\n328#1:479\n333#1:480\n328#1,4:481\n328#1:485\n328#1:486\n333#1:487\n328#1,4:488\n328#1:492\n328#1:493\n333#1:494\n328#1,13:495\n333#1:508\n328#1,2:509\n333#1:511\n328#1,2:512\n333#1:514\n328#1:515\n333#1:516\n328#1,2:517\n328#1:519\n333#1:520\n328#1,5:521\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000P\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0006\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0010\u0005\n\u0002\u0008\u0002\n\u0002\u0010\u0012\n\u0002\u0008\u0006\n\u0002\u0010\u000b\n\u0002\u0008\u000c\n\u0002\u0010\u0000\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000c\n\u0002\u0008\u0004\n\u0002\u0010\u0019\n\u0002\u0008\u0005\u001a\r\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u0080\u0008\u001a\r\u0010\u0003\u001a\u00020\u0001*\u00020\u0000H\u0080\u0008\u001a\r\u0010\u0004\u001a\u00020\u0001*\u00020\u0000H\u0080\u0008\u001a\r\u0010\u0005\u001a\u00020\u0001*\u00020\u0000H\u0080\u0008\u001a\r\u0010\u0006\u001a\u00020\u0000*\u00020\u0000H\u0080\u0008\u001a\r\u0010\u0007\u001a\u00020\u0000*\u00020\u0000H\u0080\u0008\u001a\u001d\u0010\u000b\u001a\u00020\u0000*\u00020\u00002\u0006\u0010\t\u001a\u00020\u00082\u0006\u0010\n\u001a\u00020\u0008H\u0080\u0008\u001a\u0015\u0010\u000e\u001a\u00020\r*\u00020\u00002\u0006\u0010\u000c\u001a\u00020\u0008H\u0080\u0008\u001a\r\u0010\u000f\u001a\u00020\u0008*\u00020\u0000H\u0080\u0008\u001a\r\u0010\u0011\u001a\u00020\u0010*\u00020\u0000H\u0080\u0008\u001a\r\u0010\u0012\u001a\u00020\u0010*\u00020\u0000H\u0080\u0008\u001a-\u0010\u0018\u001a\u00020\u0017*\u00020\u00002\u0006\u0010\u0013\u001a\u00020\u00082\u0006\u0010\u0014\u001a\u00020\u00002\u0006\u0010\u0015\u001a\u00020\u00082\u0006\u0010\u0016\u001a\u00020\u0008H\u0080\u0008\u001a-\u0010\u0019\u001a\u00020\u0017*\u00020\u00002\u0006\u0010\u0013\u001a\u00020\u00082\u0006\u0010\u0014\u001a\u00020\u00102\u0006\u0010\u0015\u001a\u00020\u00082\u0006\u0010\u0016\u001a\u00020\u0008H\u0080\u0008\u001a\u0015\u0010\u001b\u001a\u00020\u0017*\u00020\u00002\u0006\u0010\u001a\u001a\u00020\u0000H\u0080\u0008\u001a\u0015\u0010\u001c\u001a\u00020\u0017*\u00020\u00002\u0006\u0010\u001a\u001a\u00020\u0010H\u0080\u0008\u001a\u0015\u0010\u001e\u001a\u00020\u0017*\u00020\u00002\u0006\u0010\u001d\u001a\u00020\u0000H\u0080\u0008\u001a\u0015\u0010\u001f\u001a\u00020\u0017*\u00020\u00002\u0006\u0010\u001d\u001a\u00020\u0010H\u0080\u0008\u001a\u001d\u0010!\u001a\u00020\u0008*\u00020\u00002\u0006\u0010\u0014\u001a\u00020\u00102\u0006\u0010 \u001a\u00020\u0008H\u0080\u0008\u001a\u001d\u0010\"\u001a\u00020\u0008*\u00020\u00002\u0006\u0010\u0014\u001a\u00020\u00002\u0006\u0010 \u001a\u00020\u0008H\u0080\u0008\u001a\u001d\u0010#\u001a\u00020\u0008*\u00020\u00002\u0006\u0010\u0014\u001a\u00020\u00102\u0006\u0010 \u001a\u00020\u0008H\u0080\u0008\u001a\u0017\u0010%\u001a\u00020\u0017*\u00020\u00002\u0008\u0010\u0014\u001a\u0004\u0018\u00010$H\u0080\u0008\u001a\r\u0010&\u001a\u00020\u0008*\u00020\u0000H\u0080\u0008\u001a\u0015\u0010\'\u001a\u00020\u0008*\u00020\u00002\u0006\u0010\u0014\u001a\u00020\u0000H\u0080\u0008\u001a\u0011\u0010)\u001a\u00020\u00002\u0006\u0010(\u001a\u00020\u0010H\u0080\u0008\u001a\u001d\u0010*\u001a\u00020\u0000*\u00020\u00102\u0006\u0010\u0013\u001a\u00020\u00082\u0006\u0010\u0016\u001a\u00020\u0008H\u0080\u0008\u001a\r\u0010+\u001a\u00020\u0000*\u00020\u0001H\u0080\u0008\u001a\u000f\u0010,\u001a\u0004\u0018\u00010\u0000*\u00020\u0001H\u0080\u0008\u001a\r\u0010-\u001a\u00020\u0000*\u00020\u0001H\u0080\u0008\u001a$\u00101\u001a\u000200*\u00020\u00002\u0006\u0010/\u001a\u00020.2\u0006\u0010\u0013\u001a\u00020\u00082\u0006\u0010\u0016\u001a\u00020\u0008H\u0000\u001a\u0010\u00104\u001a\u00020\u00082\u0006\u00103\u001a\u000202H\u0002\u001a\r\u00105\u001a\u00020\u0001*\u00020\u0000H\u0080\u0008\u001a\u0018\u00103\u001a\u00020\u00082\u0006\u0010\"\u001a\u00020\u00102\u0006\u00106\u001a\u00020\u0008H\u0002\"\u001a\u00108\u001a\u0002078\u0000X\u0080\u0004\u00a2\u0006\u000c\n\u0004\u00088\u00109\u001a\u0004\u0008:\u0010;\u00a8\u0006<"
|
|
}
|
|
d2 = {
|
|
"Lokio/ByteString;",
|
|
"",
|
|
"F",
|
|
"d",
|
|
"e",
|
|
"p",
|
|
"A",
|
|
"B",
|
|
"",
|
|
"beginIndex",
|
|
"endIndex",
|
|
"z",
|
|
"pos",
|
|
"",
|
|
"m",
|
|
"n",
|
|
"",
|
|
"C",
|
|
"r",
|
|
"offset",
|
|
"other",
|
|
"otherOffset",
|
|
"byteCount",
|
|
"",
|
|
"v",
|
|
"w",
|
|
"prefix",
|
|
"x",
|
|
"y",
|
|
"suffix",
|
|
"j",
|
|
"k",
|
|
"fromIndex",
|
|
"q",
|
|
"s",
|
|
"t",
|
|
"",
|
|
"l",
|
|
"o",
|
|
"f",
|
|
"data",
|
|
"u",
|
|
"D",
|
|
"i",
|
|
"g",
|
|
"h",
|
|
"Lzj/m;",
|
|
"buffer",
|
|
"Lkotlin/d1;",
|
|
"G",
|
|
"",
|
|
"c",
|
|
"H",
|
|
"E",
|
|
"codePointCount",
|
|
"",
|
|
"HEX_DIGIT_CHARS",
|
|
"[C",
|
|
"I",
|
|
"()[C",
|
|
"okio"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:[C
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const/16 v0, 0x10
|
|
|
|
new-array v0, v0, [C
|
|
|
|
.line 1
|
|
fill-array-data v0, :array_0
|
|
|
|
sput-object v0, Lak/b;->a:[C
|
|
|
|
return-void
|
|
|
|
:array_0
|
|
.array-data 2
|
|
0x30s
|
|
0x31s
|
|
0x32s
|
|
0x33s
|
|
0x34s
|
|
0x35s
|
|
0x36s
|
|
0x37s
|
|
0x38s
|
|
0x39s
|
|
0x61s
|
|
0x62s
|
|
0x63s
|
|
0x64s
|
|
0x65s
|
|
0x66s
|
|
.end array-data
|
|
.end method
|
|
|
|
.method public static final A(Lokio/ByteString;)Lokio/ByteString;
|
|
.locals 5
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonToAsciiLowercase"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
:goto_0
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v1
|
|
|
|
array-length v1, v1
|
|
|
|
if-ge v0, v1, :cond_5
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v1
|
|
|
|
aget-byte v1, v1, v0
|
|
|
|
const/16 v2, 0x41
|
|
|
|
int-to-byte v2, v2
|
|
|
|
if-lt v1, v2, :cond_4
|
|
|
|
const/16 v3, 0x5a
|
|
|
|
int-to-byte v3, v3
|
|
|
|
if-le v1, v3, :cond_0
|
|
|
|
goto :goto_3
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length v4, p0
|
|
|
|
invoke-static {p0, v4}, Ljava/util/Arrays;->copyOf([BI)[B
|
|
|
|
move-result-object p0
|
|
|
|
const-string v4, "java.util.Arrays.copyOf(this, size)"
|
|
|
|
invoke-static {p0, v4}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
add-int/lit8 v4, v0, 0x1
|
|
|
|
add-int/lit8 v1, v1, 0x20
|
|
|
|
int-to-byte v1, v1
|
|
|
|
.line 4
|
|
aput-byte v1, p0, v0
|
|
|
|
.line 5
|
|
:goto_1
|
|
array-length v0, p0
|
|
|
|
if-ge v4, v0, :cond_3
|
|
|
|
.line 6
|
|
aget-byte v0, p0, v4
|
|
|
|
if-lt v0, v2, :cond_2
|
|
|
|
if-le v0, v3, :cond_1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
add-int/lit8 v0, v0, 0x20
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 7
|
|
aput-byte v0, p0, v4
|
|
|
|
:cond_2
|
|
:goto_2
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 8
|
|
:cond_3
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
invoke-direct {v0, p0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
return-object v0
|
|
|
|
:cond_4
|
|
:goto_3
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final B(Lokio/ByteString;)Lokio/ByteString;
|
|
.locals 5
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonToAsciiUppercase"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
:goto_0
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v1
|
|
|
|
array-length v1, v1
|
|
|
|
if-ge v0, v1, :cond_5
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v1
|
|
|
|
aget-byte v1, v1, v0
|
|
|
|
const/16 v2, 0x61
|
|
|
|
int-to-byte v2, v2
|
|
|
|
if-lt v1, v2, :cond_4
|
|
|
|
const/16 v3, 0x7a
|
|
|
|
int-to-byte v3, v3
|
|
|
|
if-le v1, v3, :cond_0
|
|
|
|
goto :goto_3
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length v4, p0
|
|
|
|
invoke-static {p0, v4}, Ljava/util/Arrays;->copyOf([BI)[B
|
|
|
|
move-result-object p0
|
|
|
|
const-string v4, "java.util.Arrays.copyOf(this, size)"
|
|
|
|
invoke-static {p0, v4}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
add-int/lit8 v4, v0, 0x1
|
|
|
|
add-int/lit8 v1, v1, -0x20
|
|
|
|
int-to-byte v1, v1
|
|
|
|
.line 4
|
|
aput-byte v1, p0, v0
|
|
|
|
.line 5
|
|
:goto_1
|
|
array-length v0, p0
|
|
|
|
if-ge v4, v0, :cond_3
|
|
|
|
.line 6
|
|
aget-byte v0, p0, v4
|
|
|
|
if-lt v0, v2, :cond_2
|
|
|
|
if-le v0, v3, :cond_1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
add-int/lit8 v0, v0, -0x20
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 7
|
|
aput-byte v0, p0, v4
|
|
|
|
:cond_2
|
|
:goto_2
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 8
|
|
:cond_3
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
invoke-direct {v0, p0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
return-object v0
|
|
|
|
:cond_4
|
|
:goto_3
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final C(Lokio/ByteString;)[B
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonToByteArray"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length v0, p0
|
|
|
|
invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([BI)[B
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "java.util.Arrays.copyOf(this, size)"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final D([BII)Lokio/ByteString;
|
|
.locals 7
|
|
.param p0 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonToByteString"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
array-length v0, p0
|
|
|
|
int-to-long v1, v0
|
|
|
|
int-to-long v3, p1
|
|
|
|
int-to-long v5, p2
|
|
|
|
invoke-static/range {v1 .. v6}, Lzj/j;->e(JJJ)V
|
|
|
|
.line 2
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
add-int/2addr p2, p1
|
|
|
|
invoke-static {p0, p1, p2}, Lkotlin/collections/n;->G1([BII)[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final E(Lokio/ByteString;)Ljava/lang/String;
|
|
.locals 22
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonToString"
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
move v0, v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v0, v3
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string v0, "[size=0]"
|
|
|
|
return-object v0
|
|
|
|
.line 2
|
|
:cond_1
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
const/16 v4, 0x40
|
|
|
|
invoke-static {v0, v4}, Lak/b;->a([BI)I
|
|
|
|
move-result v0
|
|
|
|
const/4 v5, -0x1
|
|
|
|
const-string v6, "\u2026]"
|
|
|
|
const/16 v7, 0x5d
|
|
|
|
const-string v8, "[size="
|
|
|
|
if-ne v0, v5, :cond_6
|
|
|
|
.line 3
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
if-gt v0, v4, :cond_2
|
|
|
|
const-string v0, "[hex="
|
|
|
|
.line 4
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->hex()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_3
|
|
|
|
.line 5
|
|
:cond_2
|
|
invoke-static {v8}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v5
|
|
|
|
array-length v5, v5
|
|
|
|
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v5, " hex="
|
|
|
|
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 6
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v5
|
|
|
|
array-length v5, v5
|
|
|
|
if-gt v4, v5, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
move v2, v3
|
|
|
|
:goto_1
|
|
if-eqz v2, :cond_5
|
|
|
|
.line 7
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v2
|
|
|
|
array-length v2, v2
|
|
|
|
if-ne v4, v2, :cond_4
|
|
|
|
goto :goto_2
|
|
|
|
.line 8
|
|
:cond_4
|
|
new-instance v2, Lokio/ByteString;
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v3, v4}, Lkotlin/collections/n;->G1([BII)[B
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v2, v1}, Lokio/ByteString;-><init>([B)V
|
|
|
|
move-object v1, v2
|
|
|
|
.line 9
|
|
:goto_2
|
|
invoke-virtual {v1}, Lokio/ByteString;->hex()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_3
|
|
return-object v0
|
|
|
|
:cond_5
|
|
const-string v0, "endIndex > length("
|
|
|
|
.line 10
|
|
invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v1
|
|
|
|
array-length v1, v1
|
|
|
|
const/16 v2, 0x29
|
|
|
|
invoke-static {v0, v1, v2}, Lc1/k;->a(Ljava/lang/StringBuilder;IC)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v1
|
|
|
|
.line 11
|
|
:cond_6
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->utf8()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v4, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
.line 12
|
|
invoke-static {v2, v4}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
invoke-virtual {v2, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
const-string v3, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {v9, v3}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x4
|
|
|
|
const/4 v15, 0x0
|
|
|
|
const-string v10, "\\"
|
|
|
|
const-string v11, "\\\\"
|
|
|
|
move v12, v3
|
|
|
|
move v13, v4
|
|
|
|
move-object v14, v15
|
|
|
|
.line 13
|
|
invoke-static/range {v9 .. v14}, Lkotlin/text/u;->k2(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v16
|
|
|
|
const/16 v19, 0x0
|
|
|
|
const/16 v20, 0x4
|
|
|
|
const/16 v21, 0x0
|
|
|
|
const-string v17, "\n"
|
|
|
|
const-string v18, "\\n"
|
|
|
|
.line 14
|
|
invoke-static/range {v16 .. v21}, Lkotlin/text/u;->k2(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
const-string v11, "\r"
|
|
|
|
const-string v12, "\\r"
|
|
|
|
move v13, v3
|
|
|
|
move v14, v4
|
|
|
|
.line 15
|
|
invoke-static/range {v10 .. v15}, Lkotlin/text/u;->k2(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
.line 16
|
|
invoke-virtual {v2}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v0, v2, :cond_7
|
|
|
|
.line 17
|
|
invoke-static {v8}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v1
|
|
|
|
array-length v1, v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, " text="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_4
|
|
|
|
.line 18
|
|
:cond_7
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "[text="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_4
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final F(Lokio/ByteString;)Ljava/lang/String;
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonUtf8"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getUtf8$okio()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Lokio/ByteString;->internalArray$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lzj/i;->c([B)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Lokio/ByteString;->setUtf8$okio(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final G(Lokio/ByteString;Lzj/m;II)V
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lzj/m;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonWrite"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "buffer"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p1, p0, p2, p3}, Lzj/m;->Y1([BII)Lzj/m;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final H(C)I
|
|
.locals 3
|
|
|
|
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_3
|
|
|
|
: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_3
|
|
|
|
:cond_3
|
|
:goto_2
|
|
const/16 v0, 0x46
|
|
|
|
const/16 v1, 0x41
|
|
|
|
if-gt v1, p0, :cond_4
|
|
|
|
if-lt v0, p0, :cond_4
|
|
|
|
goto :goto_1
|
|
|
|
:goto_3
|
|
return p0
|
|
|
|
.line 1
|
|
:cond_4
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "Unexpected hex digit: "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final I()[C
|
|
.locals 1
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lak/b;->a:[C
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final synthetic a([BI)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lak/b;->c([BI)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic b(C)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lak/b;->H(C)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final c([BI)I
|
|
.locals 19
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move/from16 v1, p1
|
|
|
|
.line 1
|
|
array-length v2, v0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:cond_0
|
|
:goto_0
|
|
if-ge v4, v2, :cond_59
|
|
|
|
.line 2
|
|
aget-byte v7, v0, v4
|
|
|
|
const/16 v8, 0x7f
|
|
|
|
const/16 v9, 0x9f
|
|
|
|
const/16 v10, 0x1f
|
|
|
|
const/16 v11, 0xd
|
|
|
|
const v12, 0xfffd
|
|
|
|
const/16 v13, 0xa
|
|
|
|
const/high16 v14, 0x10000
|
|
|
|
const/16 v16, -0x1
|
|
|
|
const/16 v17, 0x1
|
|
|
|
if-ltz v7, :cond_13
|
|
|
|
add-int/lit8 v18, v6, 0x1
|
|
|
|
if-ne v6, v1, :cond_1
|
|
|
|
return v5
|
|
|
|
:cond_1
|
|
if-eq v7, v13, :cond_6
|
|
|
|
if-eq v7, v11, :cond_6
|
|
|
|
if-ltz v7, :cond_2
|
|
|
|
if-ge v10, v7, :cond_4
|
|
|
|
:cond_2
|
|
if-le v8, v7, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
if-lt v9, v7, :cond_5
|
|
|
|
:cond_4
|
|
move/from16 v6, v17
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
:goto_1
|
|
const/4 v6, 0x0
|
|
|
|
:goto_2
|
|
if-nez v6, :cond_7
|
|
|
|
:cond_6
|
|
if-ne v7, v12, :cond_8
|
|
|
|
:cond_7
|
|
return v16
|
|
|
|
:cond_8
|
|
if-ge v7, v14, :cond_9
|
|
|
|
move/from16 v6, v17
|
|
|
|
goto :goto_3
|
|
|
|
:cond_9
|
|
const/4 v6, 0x2
|
|
|
|
:goto_3
|
|
add-int/2addr v5, v6
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
:goto_4
|
|
move/from16 v6, v18
|
|
|
|
if-ge v4, v2, :cond_0
|
|
|
|
.line 3
|
|
aget-byte v7, v0, v4
|
|
|
|
if-ltz v7, :cond_0
|
|
|
|
add-int/lit8 v7, v4, 0x1
|
|
|
|
.line 4
|
|
aget-byte v4, v0, v4
|
|
|
|
add-int/lit8 v18, v6, 0x1
|
|
|
|
if-ne v6, v1, :cond_a
|
|
|
|
return v5
|
|
|
|
:cond_a
|
|
if-eq v4, v13, :cond_f
|
|
|
|
if-eq v4, v11, :cond_f
|
|
|
|
if-ltz v4, :cond_b
|
|
|
|
if-ge v10, v4, :cond_d
|
|
|
|
:cond_b
|
|
if-le v8, v4, :cond_c
|
|
|
|
goto :goto_5
|
|
|
|
:cond_c
|
|
if-lt v9, v4, :cond_e
|
|
|
|
:cond_d
|
|
move/from16 v6, v17
|
|
|
|
goto :goto_6
|
|
|
|
:cond_e
|
|
:goto_5
|
|
const/4 v6, 0x0
|
|
|
|
:goto_6
|
|
if-nez v6, :cond_10
|
|
|
|
:cond_f
|
|
if-ne v4, v12, :cond_11
|
|
|
|
:cond_10
|
|
return v16
|
|
|
|
:cond_11
|
|
if-ge v4, v14, :cond_12
|
|
|
|
move/from16 v4, v17
|
|
|
|
goto :goto_7
|
|
|
|
:cond_12
|
|
const/4 v4, 0x2
|
|
|
|
:goto_7
|
|
add-int/2addr v5, v4
|
|
|
|
move v4, v7
|
|
|
|
goto :goto_4
|
|
|
|
:cond_13
|
|
shr-int/lit8 v3, v7, 0x5
|
|
|
|
const/4 v15, -0x2
|
|
|
|
const/16 v14, 0x80
|
|
|
|
if-ne v3, v15, :cond_24
|
|
|
|
add-int/lit8 v3, v4, 0x1
|
|
|
|
if-gt v2, v3, :cond_15
|
|
|
|
if-ne v6, v1, :cond_14
|
|
|
|
return v5
|
|
|
|
:cond_14
|
|
return v16
|
|
|
|
.line 5
|
|
:cond_15
|
|
aget-byte v7, v0, v4
|
|
|
|
.line 6
|
|
aget-byte v3, v0, v3
|
|
|
|
and-int/lit16 v15, v3, 0xc0
|
|
|
|
if-ne v15, v14, :cond_16
|
|
|
|
move/from16 v15, v17
|
|
|
|
goto :goto_8
|
|
|
|
:cond_16
|
|
const/4 v15, 0x0
|
|
|
|
:goto_8
|
|
if-nez v15, :cond_18
|
|
|
|
if-ne v6, v1, :cond_17
|
|
|
|
return v5
|
|
|
|
:cond_17
|
|
return v16
|
|
|
|
:cond_18
|
|
xor-int/lit16 v3, v3, 0xf80
|
|
|
|
shl-int/lit8 v7, v7, 0x6
|
|
|
|
xor-int/2addr v3, v7
|
|
|
|
if-ge v3, v14, :cond_1a
|
|
|
|
if-ne v6, v1, :cond_19
|
|
|
|
return v5
|
|
|
|
:cond_19
|
|
return v16
|
|
|
|
:cond_1a
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
if-ne v6, v1, :cond_1b
|
|
|
|
return v5
|
|
|
|
:cond_1b
|
|
if-eq v3, v13, :cond_20
|
|
|
|
if-eq v3, v11, :cond_20
|
|
|
|
if-ltz v3, :cond_1c
|
|
|
|
if-ge v10, v3, :cond_1e
|
|
|
|
:cond_1c
|
|
if-le v8, v3, :cond_1d
|
|
|
|
goto :goto_9
|
|
|
|
:cond_1d
|
|
if-lt v9, v3, :cond_1f
|
|
|
|
:cond_1e
|
|
move/from16 v6, v17
|
|
|
|
goto :goto_a
|
|
|
|
:cond_1f
|
|
:goto_9
|
|
const/4 v6, 0x0
|
|
|
|
:goto_a
|
|
if-nez v6, :cond_21
|
|
|
|
:cond_20
|
|
if-ne v3, v12, :cond_22
|
|
|
|
:cond_21
|
|
return v16
|
|
|
|
:cond_22
|
|
const/high16 v6, 0x10000
|
|
|
|
if-ge v3, v6, :cond_23
|
|
|
|
move/from16 v15, v17
|
|
|
|
goto :goto_b
|
|
|
|
:cond_23
|
|
const/4 v15, 0x2
|
|
|
|
:goto_b
|
|
add-int/2addr v5, v15
|
|
|
|
.line 7
|
|
sget-object v3, Lkotlin/d1;->a:Lkotlin/d1;
|
|
|
|
add-int/lit8 v4, v4, 0x2
|
|
|
|
:goto_c
|
|
move v6, v7
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_24
|
|
shr-int/lit8 v3, v7, 0x4
|
|
|
|
const v12, 0xd800
|
|
|
|
const v9, 0xdfff
|
|
|
|
if-ne v3, v15, :cond_3b
|
|
|
|
add-int/lit8 v3, v4, 0x2
|
|
|
|
if-gt v2, v3, :cond_26
|
|
|
|
if-ne v6, v1, :cond_25
|
|
|
|
return v5
|
|
|
|
:cond_25
|
|
return v16
|
|
|
|
.line 8
|
|
:cond_26
|
|
aget-byte v7, v0, v4
|
|
|
|
add-int/lit8 v15, v4, 0x1
|
|
|
|
.line 9
|
|
aget-byte v15, v0, v15
|
|
|
|
and-int/lit16 v8, v15, 0xc0
|
|
|
|
if-ne v8, v14, :cond_27
|
|
|
|
move/from16 v8, v17
|
|
|
|
goto :goto_d
|
|
|
|
:cond_27
|
|
const/4 v8, 0x0
|
|
|
|
:goto_d
|
|
if-nez v8, :cond_29
|
|
|
|
if-ne v6, v1, :cond_28
|
|
|
|
return v5
|
|
|
|
:cond_28
|
|
return v16
|
|
|
|
.line 10
|
|
:cond_29
|
|
aget-byte v3, v0, v3
|
|
|
|
and-int/lit16 v8, v3, 0xc0
|
|
|
|
if-ne v8, v14, :cond_2a
|
|
|
|
move/from16 v8, v17
|
|
|
|
goto :goto_e
|
|
|
|
:cond_2a
|
|
const/4 v8, 0x0
|
|
|
|
:goto_e
|
|
if-nez v8, :cond_2c
|
|
|
|
if-ne v6, v1, :cond_2b
|
|
|
|
return v5
|
|
|
|
:cond_2b
|
|
return v16
|
|
|
|
:cond_2c
|
|
const v8, -0x1e080
|
|
|
|
xor-int/2addr v3, v8
|
|
|
|
shl-int/lit8 v8, v15, 0x6
|
|
|
|
xor-int/2addr v3, v8
|
|
|
|
shl-int/lit8 v7, v7, 0xc
|
|
|
|
xor-int/2addr v3, v7
|
|
|
|
const/16 v7, 0x800
|
|
|
|
if-ge v3, v7, :cond_2e
|
|
|
|
if-ne v6, v1, :cond_2d
|
|
|
|
return v5
|
|
|
|
:cond_2d
|
|
return v16
|
|
|
|
:cond_2e
|
|
if-le v12, v3, :cond_2f
|
|
|
|
goto :goto_f
|
|
|
|
:cond_2f
|
|
if-lt v9, v3, :cond_31
|
|
|
|
if-ne v6, v1, :cond_30
|
|
|
|
return v5
|
|
|
|
:cond_30
|
|
return v16
|
|
|
|
:cond_31
|
|
:goto_f
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
if-ne v6, v1, :cond_32
|
|
|
|
return v5
|
|
|
|
:cond_32
|
|
if-eq v3, v13, :cond_37
|
|
|
|
if-eq v3, v11, :cond_37
|
|
|
|
if-ltz v3, :cond_33
|
|
|
|
if-ge v10, v3, :cond_35
|
|
|
|
:cond_33
|
|
const/16 v6, 0x7f
|
|
|
|
if-le v6, v3, :cond_34
|
|
|
|
goto :goto_10
|
|
|
|
:cond_34
|
|
const/16 v6, 0x9f
|
|
|
|
if-lt v6, v3, :cond_36
|
|
|
|
:cond_35
|
|
move/from16 v6, v17
|
|
|
|
goto :goto_11
|
|
|
|
:cond_36
|
|
:goto_10
|
|
const/4 v6, 0x0
|
|
|
|
:goto_11
|
|
if-nez v6, :cond_38
|
|
|
|
:cond_37
|
|
const v6, 0xfffd
|
|
|
|
if-ne v3, v6, :cond_39
|
|
|
|
:cond_38
|
|
return v16
|
|
|
|
:cond_39
|
|
const/high16 v6, 0x10000
|
|
|
|
if-ge v3, v6, :cond_3a
|
|
|
|
move/from16 v15, v17
|
|
|
|
goto :goto_12
|
|
|
|
:cond_3a
|
|
const/4 v15, 0x2
|
|
|
|
:goto_12
|
|
add-int/2addr v5, v15
|
|
|
|
.line 11
|
|
sget-object v3, Lkotlin/d1;->a:Lkotlin/d1;
|
|
|
|
add-int/lit8 v4, v4, 0x3
|
|
|
|
goto/16 :goto_c
|
|
|
|
:cond_3b
|
|
shr-int/lit8 v3, v7, 0x3
|
|
|
|
if-ne v3, v15, :cond_57
|
|
|
|
add-int/lit8 v3, v4, 0x3
|
|
|
|
if-gt v2, v3, :cond_3d
|
|
|
|
if-ne v6, v1, :cond_3c
|
|
|
|
return v5
|
|
|
|
:cond_3c
|
|
return v16
|
|
|
|
.line 12
|
|
:cond_3d
|
|
aget-byte v7, v0, v4
|
|
|
|
add-int/lit8 v8, v4, 0x1
|
|
|
|
.line 13
|
|
aget-byte v8, v0, v8
|
|
|
|
and-int/lit16 v15, v8, 0xc0
|
|
|
|
if-ne v15, v14, :cond_3e
|
|
|
|
move/from16 v15, v17
|
|
|
|
goto :goto_13
|
|
|
|
:cond_3e
|
|
const/4 v15, 0x0
|
|
|
|
:goto_13
|
|
if-nez v15, :cond_40
|
|
|
|
if-ne v6, v1, :cond_3f
|
|
|
|
return v5
|
|
|
|
:cond_3f
|
|
return v16
|
|
|
|
:cond_40
|
|
add-int/lit8 v15, v4, 0x2
|
|
|
|
.line 14
|
|
aget-byte v15, v0, v15
|
|
|
|
and-int/lit16 v10, v15, 0xc0
|
|
|
|
if-ne v10, v14, :cond_41
|
|
|
|
move/from16 v10, v17
|
|
|
|
goto :goto_14
|
|
|
|
:cond_41
|
|
const/4 v10, 0x0
|
|
|
|
:goto_14
|
|
if-nez v10, :cond_43
|
|
|
|
if-ne v6, v1, :cond_42
|
|
|
|
return v5
|
|
|
|
:cond_42
|
|
return v16
|
|
|
|
.line 15
|
|
:cond_43
|
|
aget-byte v3, v0, v3
|
|
|
|
and-int/lit16 v10, v3, 0xc0
|
|
|
|
if-ne v10, v14, :cond_44
|
|
|
|
move/from16 v10, v17
|
|
|
|
goto :goto_15
|
|
|
|
:cond_44
|
|
const/4 v10, 0x0
|
|
|
|
:goto_15
|
|
if-nez v10, :cond_46
|
|
|
|
if-ne v6, v1, :cond_45
|
|
|
|
return v5
|
|
|
|
:cond_45
|
|
return v16
|
|
|
|
:cond_46
|
|
const v10, 0x381f80
|
|
|
|
xor-int/2addr v3, v10
|
|
|
|
shl-int/lit8 v10, v15, 0x6
|
|
|
|
xor-int/2addr v3, v10
|
|
|
|
shl-int/lit8 v8, v8, 0xc
|
|
|
|
xor-int/2addr v3, v8
|
|
|
|
shl-int/lit8 v7, v7, 0x12
|
|
|
|
xor-int/2addr v3, v7
|
|
|
|
const v7, 0x10ffff
|
|
|
|
if-le v3, v7, :cond_48
|
|
|
|
if-ne v6, v1, :cond_47
|
|
|
|
return v5
|
|
|
|
:cond_47
|
|
return v16
|
|
|
|
:cond_48
|
|
if-le v12, v3, :cond_49
|
|
|
|
goto :goto_16
|
|
|
|
:cond_49
|
|
if-lt v9, v3, :cond_4b
|
|
|
|
if-ne v6, v1, :cond_4a
|
|
|
|
return v5
|
|
|
|
:cond_4a
|
|
return v16
|
|
|
|
:cond_4b
|
|
:goto_16
|
|
const/high16 v7, 0x10000
|
|
|
|
if-ge v3, v7, :cond_4d
|
|
|
|
if-ne v6, v1, :cond_4c
|
|
|
|
return v5
|
|
|
|
:cond_4c
|
|
return v16
|
|
|
|
:cond_4d
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
if-ne v6, v1, :cond_4e
|
|
|
|
return v5
|
|
|
|
:cond_4e
|
|
if-eq v3, v13, :cond_53
|
|
|
|
if-eq v3, v11, :cond_53
|
|
|
|
if-ltz v3, :cond_4f
|
|
|
|
const/16 v6, 0x1f
|
|
|
|
if-ge v6, v3, :cond_51
|
|
|
|
:cond_4f
|
|
const/16 v6, 0x7f
|
|
|
|
if-le v6, v3, :cond_50
|
|
|
|
goto :goto_17
|
|
|
|
:cond_50
|
|
const/16 v6, 0x9f
|
|
|
|
if-lt v6, v3, :cond_52
|
|
|
|
:cond_51
|
|
move/from16 v6, v17
|
|
|
|
goto :goto_18
|
|
|
|
:cond_52
|
|
:goto_17
|
|
const/4 v6, 0x0
|
|
|
|
:goto_18
|
|
if-nez v6, :cond_54
|
|
|
|
:cond_53
|
|
const v6, 0xfffd
|
|
|
|
if-ne v3, v6, :cond_55
|
|
|
|
:cond_54
|
|
return v16
|
|
|
|
:cond_55
|
|
const/high16 v6, 0x10000
|
|
|
|
if-ge v3, v6, :cond_56
|
|
|
|
move/from16 v15, v17
|
|
|
|
goto :goto_19
|
|
|
|
:cond_56
|
|
const/4 v15, 0x2
|
|
|
|
:goto_19
|
|
add-int/2addr v5, v15
|
|
|
|
.line 16
|
|
sget-object v3, Lkotlin/d1;->a:Lkotlin/d1;
|
|
|
|
add-int/lit8 v4, v4, 0x4
|
|
|
|
goto/16 :goto_c
|
|
|
|
:cond_57
|
|
if-ne v6, v1, :cond_58
|
|
|
|
return v5
|
|
|
|
:cond_58
|
|
return v16
|
|
|
|
:cond_59
|
|
return v5
|
|
.end method
|
|
|
|
.method public static final d(Lokio/ByteString;)Ljava/lang/String;
|
|
.locals 2
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonBase64"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {p0, v0, v1, v0}, Lzj/a;->c([B[BILjava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final e(Lokio/ByteString;)Ljava/lang/String;
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonBase64Url"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {}, Lzj/a;->e()[B
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p0, v0}, Lzj/a;->b([B[B)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final f(Lokio/ByteString;Lokio/ByteString;)I
|
|
.locals 9
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonCompareTo"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->size()I
|
|
|
|
move-result v0
|
|
|
|
.line 2
|
|
invoke-virtual {p1}, Lokio/ByteString;->size()I
|
|
|
|
move-result v1
|
|
|
|
.line 3
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
move v4, v3
|
|
|
|
:goto_0
|
|
const/4 v5, -0x1
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-ge v4, v2, :cond_2
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v4}, Lokio/ByteString;->getByte(I)B
|
|
|
|
move-result v7
|
|
|
|
and-int/lit16 v7, v7, 0xff
|
|
|
|
.line 5
|
|
invoke-virtual {p1, v4}, Lokio/ByteString;->getByte(I)B
|
|
|
|
move-result v8
|
|
|
|
and-int/lit16 v8, v8, 0xff
|
|
|
|
if-ne v7, v8, :cond_0
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-ge v7, v8, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v5, v6
|
|
|
|
:goto_1
|
|
return v5
|
|
|
|
:cond_2
|
|
if-ne v0, v1, :cond_3
|
|
|
|
return v3
|
|
|
|
:cond_3
|
|
if-ge v0, v1, :cond_4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
move v5, v6
|
|
|
|
:goto_2
|
|
return v5
|
|
.end method
|
|
|
|
.method public static final g(Ljava/lang/String;)Lokio/ByteString;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonDecodeBase64"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lzj/a;->a(Ljava/lang/String;)[B
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 2
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
invoke-direct {v0, p0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final h(Ljava/lang/String;)Lokio/ByteString;
|
|
.locals 6
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonDecodeHex"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
rem-int/lit8 v0, v0, 0x2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
move v0, v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v0, v1
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
div-int/lit8 v0, v0, 0x2
|
|
|
|
new-array v3, v0, [B
|
|
|
|
:goto_1
|
|
if-ge v1, v0, :cond_1
|
|
|
|
mul-int/lit8 v4, v1, 0x2
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v5
|
|
|
|
invoke-static {v5}, Lak/b;->b(C)I
|
|
|
|
move-result v5
|
|
|
|
shl-int/lit8 v5, v5, 0x4
|
|
|
|
add-int/2addr v4, v2
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v4
|
|
|
|
invoke-static {v4}, Lak/b;->b(C)I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
int-to-byte v4, v4
|
|
|
|
.line 5
|
|
aput-byte v4, v3, v1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 6
|
|
:cond_1
|
|
new-instance p0, Lokio/ByteString;
|
|
|
|
invoke-direct {p0, v3}, Lokio/ByteString;-><init>([B)V
|
|
|
|
return-object p0
|
|
|
|
:cond_2
|
|
const-string v0, "Unexpected hex string: "
|
|
|
|
.line 7
|
|
invoke-static {v0, p0}, Lc/g;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static final i(Ljava/lang/String;)Lokio/ByteString;
|
|
.locals 2
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonEncodeUtf8"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
invoke-static {p0}, Lzj/i;->a(Ljava/lang/String;)[B
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p0}, Lokio/ByteString;->setUtf8$okio(Ljava/lang/String;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final j(Lokio/ByteString;Lokio/ByteString;)Z
|
|
.locals 3
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonEndsWith"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "suffix"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p1}, Lokio/ByteString;->size()I
|
|
|
|
move-result v1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
invoke-virtual {p1}, Lokio/ByteString;->size()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {p0, v0, p1, v2, v1}, Lokio/ByteString;->rangeEquals(ILokio/ByteString;II)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final k(Lokio/ByteString;[B)Z
|
|
.locals 3
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonEndsWith"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "suffix"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->size()I
|
|
|
|
move-result v0
|
|
|
|
array-length v1, p1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
array-length v1, p1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {p0, v0, p1, v2, v1}, Lokio/ByteString;->rangeEquals(I[BII)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final l(Lokio/ByteString;Ljava/lang/Object;)Z
|
|
.locals 4
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonEquals"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-ne p1, p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 1
|
|
:cond_0
|
|
instance-of v2, p1, Lokio/ByteString;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
check-cast p1, Lokio/ByteString;
|
|
|
|
invoke-virtual {p1}, Lokio/ByteString;->size()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v3
|
|
|
|
array-length v3, v3
|
|
|
|
if-ne v2, v3, :cond_1
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length p0, p0
|
|
|
|
invoke-virtual {p1, v1, v2, v1, p0}, Lokio/ByteString;->rangeEquals(I[BII)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static final m(Lokio/ByteString;I)B
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonGetByte"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
aget-byte p0, p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final n(Lokio/ByteString;)I
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonGetSize"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length p0, p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final o(Lokio/ByteString;)I
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonHashCode"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getHashCode$okio()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Ljava/util/Arrays;->hashCode([B)I
|
|
|
|
move-result v0
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Lokio/ByteString;->setHashCode$okio(I)V
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public static final p(Lokio/ByteString;)Ljava/lang/String;
|
|
.locals 8
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonHex"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
mul-int/lit8 v0, v0, 0x2
|
|
|
|
new-array v0, v0, [C
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length v1, p0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_0
|
|
|
|
aget-byte v4, p0, v2
|
|
|
|
add-int/lit8 v5, v3, 0x1
|
|
|
|
.line 3
|
|
invoke-static {}, Lak/b;->I()[C
|
|
|
|
move-result-object v6
|
|
|
|
shr-int/lit8 v7, v4, 0x4
|
|
|
|
and-int/lit8 v7, v7, 0xf
|
|
|
|
aget-char v6, v6, v7
|
|
|
|
aput-char v6, v0, v3
|
|
|
|
add-int/lit8 v3, v5, 0x1
|
|
|
|
.line 4
|
|
invoke-static {}, Lak/b;->I()[C
|
|
|
|
move-result-object v6
|
|
|
|
and-int/lit8 v4, v4, 0xf
|
|
|
|
.line 5
|
|
aget-char v4, v6, v4
|
|
|
|
aput-char v4, v0, v5
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/String;
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/String;-><init>([C)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final q(Lokio/ByteString;[BI)I
|
|
.locals 4
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonIndexOf"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
array-length v1, p1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 2
|
|
invoke-static {p2, v1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p2
|
|
|
|
if-gt p2, v0, :cond_1
|
|
|
|
.line 3
|
|
:goto_0
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v2
|
|
|
|
array-length v3, p1
|
|
|
|
invoke-static {v2, p2, p1, v1, v3}, Lzj/j;->d([BI[BII)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
if-eq p2, v0, :cond_1
|
|
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final r(Lokio/ByteString;)[B
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonInternalArray"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final s(Lokio/ByteString;Lokio/ByteString;I)I
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonLastIndexOf"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Lokio/ByteString;->internalArray$okio()[B
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1, p2}, Lokio/ByteString;->lastIndexOf([BI)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final t(Lokio/ByteString;[BI)I
|
|
.locals 3
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonLastIndexOf"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
array-length v1, p1
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
.line 2
|
|
invoke-static {p2, v0}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p2
|
|
|
|
:goto_0
|
|
if-ltz p2, :cond_1
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
array-length v2, p1
|
|
|
|
invoke-static {v0, p2, p1, v1, v2}, Lzj/j;->d([BI[BII)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return p2
|
|
|
|
:cond_0
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final u([B)Lokio/ByteString;
|
|
.locals 2
|
|
.param p0 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "data"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
array-length v1, p0
|
|
|
|
invoke-static {p0, v1}, Ljava/util/Arrays;->copyOf([BI)[B
|
|
|
|
move-result-object p0
|
|
|
|
const-string v1, "java.util.Arrays.copyOf(this, size)"
|
|
|
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {v0, p0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final v(Lokio/ByteString;ILokio/ByteString;II)Z
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonRangeEquals"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p2, p3, p0, p1, p4}, Lokio/ByteString;->rangeEquals(I[BII)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final w(Lokio/ByteString;I[BII)Z
|
|
.locals 1
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonRangeEquals"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
sub-int/2addr v0, p4
|
|
|
|
if-gt p1, v0, :cond_0
|
|
|
|
if-ltz p3, :cond_0
|
|
|
|
.line 2
|
|
array-length v0, p2
|
|
|
|
sub-int/2addr v0, p4
|
|
|
|
if-gt p3, v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0, p1, p2, p3, p4}, Lzj/j;->d([BI[BII)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 x(Lokio/ByteString;Lokio/ByteString;)Z
|
|
.locals 2
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonStartsWith"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "prefix"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Lokio/ByteString;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v1, p1, v1, v0}, Lokio/ByteString;->rangeEquals(ILokio/ByteString;II)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final y(Lokio/ByteString;[B)Z
|
|
.locals 2
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
const-string v0, "$this$commonStartsWith"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "prefix"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
array-length v0, p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v1, p1, v1, v0}, Lokio/ByteString;->rangeEquals(I[BII)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final z(Lokio/ByteString;II)Lokio/ByteString;
|
|
.locals 3
|
|
.param p0 # Lokio/ByteString;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "$this$commonSubstring"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/f0;->p(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
move v2, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
if-eqz v2, :cond_6
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v2
|
|
|
|
array-length v2, v2
|
|
|
|
if-gt p2, v2, :cond_1
|
|
|
|
move v2, v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v2, v1
|
|
|
|
:goto_1
|
|
if-eqz v2, :cond_5
|
|
|
|
sub-int v2, p2, p1
|
|
|
|
if-ltz v2, :cond_2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move v0, v1
|
|
|
|
:goto_2
|
|
if-eqz v0, :cond_4
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object v0
|
|
|
|
array-length v0, v0
|
|
|
|
if-ne p2, v0, :cond_3
|
|
|
|
return-object p0
|
|
|
|
.line 3
|
|
:cond_3
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0, p1, p2}, Lkotlin/collections/n;->G1([BII)[B
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
return-object v0
|
|
|
|
.line 4
|
|
:cond_4
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "endIndex < beginIndex"
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
|
|
:cond_5
|
|
const-string p1, "endIndex > length("
|
|
|
|
.line 5
|
|
invoke-static {p1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Lokio/ByteString;->getData$okio()[B
|
|
|
|
move-result-object p0
|
|
|
|
array-length p0, p0
|
|
|
|
const/16 p2, 0x29
|
|
|
|
invoke-static {p1, p0, p2}, Lc1/k;->a(Ljava/lang/StringBuilder;IC)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
|
|
|
|
.line 6
|
|
:cond_6
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "beginIndex < 0"
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|