* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1734 lines
28 KiB
Smali
1734 lines
28 KiB
Smali
.class public final Lokio/SegmentedByteString;
|
|
.super Lokio/ByteString;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0008\u0000\u0018\u00002\u00020\u0001\u00a8\u0006\u0002"
|
|
}
|
|
d2 = {
|
|
"Lokio/SegmentedByteString;",
|
|
"Lokio/ByteString;",
|
|
"okio"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nSegmentedByteString.kt\nKotlin\n*S Kotlin\n*F\n+ 1 SegmentedByteString.kt\nokio/SegmentedByteString\n+ 2 SegmentedByteString.kt\nokio/internal/-SegmentedByteString\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,140:1\n63#2,12:141\n63#2,12:153\n104#2,2:165\n106#2,26:168\n135#2,5:194\n142#2:199\n145#2,3:200\n63#2,8:203\n148#2,8:211\n71#2,4:219\n156#2:223\n63#2,12:224\n160#2:236\n85#2,10:237\n161#2,9:247\n95#2,4:256\n170#2,2:260\n179#2,4:262\n85#2,10:266\n183#2,3:276\n95#2,4:279\n186#2:283\n195#2,8:284\n85#2,10:292\n203#2,3:302\n95#2,4:305\n206#2:309\n215#2,5:310\n85#2,10:315\n220#2,3:325\n95#2,4:328\n223#2:332\n226#2,4:333\n234#2,6:337\n63#2,8:343\n240#2,7:351\n71#2,4:358\n247#2,2:362\n1#3:167\n*S KotlinDebug\n*F\n+ 1 SegmentedByteString.kt\nokio/SegmentedByteString\n*L\n54#1:141,12\n66#1:153,12\n78#1:165,2\n78#1:168,26\n80#1:194,5\n82#1:199\n84#1:200,3\n84#1:203,8\n84#1:211,8\n84#1:219,4\n84#1:223\n90#1:224,12\n96#1:236\n96#1:237,10\n96#1:247,9\n96#1:256,4\n96#1:260,2\n103#1:262,4\n103#1:266,10\n103#1:276,3\n103#1:279,4\n103#1:283\n110#1:284,8\n110#1:292,10\n110#1:302,3\n110#1:305,4\n110#1:309\n117#1:310,5\n117#1:315,10\n117#1:325,3\n117#1:328,4\n117#1:332\n131#1:333,4\n133#1:337,6\n133#1:343,8\n133#1:351,7\n133#1:358,4\n133#1:362,2\n78#1:167\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final transient i:[[B
|
|
|
|
.field public final transient j:[I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([[B[I)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "segments"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "directory"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
sget-object v0, Lokio/ByteString;->h:Lokio/ByteString;
|
|
|
|
.line 12
|
|
.line 13
|
|
iget-object v0, v0, Lokio/ByteString;->c:[B
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-direct {p0, v0}, Lokio/ByteString;-><init>([B)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
iput-object p1, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 19
|
|
.line 20
|
|
iput-object p2, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 21
|
|
.line 22
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public final c(Ljava/lang/String;)Lokio/ByteString;
|
|
.locals 7
|
|
|
|
.line 1
|
|
const-string v0, "algorithm"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p1
|
|
|
|
.line 10
|
|
iget-object v0, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 11
|
|
.line 12
|
|
array-length v1, v0
|
|
|
|
.line 13
|
|
const/4 v2, 0x0
|
|
|
|
.line 14
|
|
move v3, v2
|
|
|
|
.line 15
|
|
:goto_0
|
|
if-ge v2, v1, :cond_0
|
|
|
|
.line 16
|
|
.line 17
|
|
add-int v4, v1, v2
|
|
|
|
.line 18
|
|
.line 19
|
|
iget-object v5, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 20
|
|
.line 21
|
|
aget v4, v5, v4
|
|
|
|
.line 22
|
|
.line 23
|
|
aget v5, v5, v2
|
|
|
|
.line 24
|
|
.line 25
|
|
aget-object v6, v0, v2
|
|
|
|
.line 26
|
|
.line 27
|
|
sub-int v3, v5, v3
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {p1, v6, v4, v3}, Ljava/security/MessageDigest;->update([BII)V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 33
|
|
.line 34
|
|
move v3, v5
|
|
|
|
.line 35
|
|
goto :goto_0
|
|
|
|
.line 36
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/security/MessageDigest;->digest()[B
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
move-result-object p1
|
|
|
|
.line 40
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
invoke-direct {v0, p1}, Lokio/ByteString;-><init>([B)V
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final d()I
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 2
|
|
.line 3
|
|
array-length v0, v0
|
|
|
|
.line 4
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
.line 5
|
|
.line 6
|
|
iget-object v1, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 7
|
|
.line 8
|
|
aget v0, v1, v0
|
|
|
|
.line 9
|
|
.line 10
|
|
return v0
|
|
.end method
|
|
|
|
.method public final e()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->v()Lokio/ByteString;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Lokio/ByteString;->e()Ljava/lang/String;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 3
|
|
|
|
.line 1
|
|
if-ne p1, p0, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
instance-of v0, p1, Lokio/ByteString;
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v1, 0x0
|
|
|
|
.line 7
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
check-cast p1, Lokio/ByteString;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p1}, Lokio/ByteString;->d()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result v0
|
|
|
|
.line 15
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result v2
|
|
|
|
.line 19
|
|
if-ne v0, v2, :cond_1
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v0
|
|
|
|
.line 25
|
|
invoke-virtual {p0, v1, p1, v0}, Lokio/SegmentedByteString;->l(ILokio/ByteString;I)Z
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result p1
|
|
|
|
.line 29
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
.line 32
|
|
return p1
|
|
|
|
.line 33
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public final f([BI)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "other"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->v()Lokio/ByteString;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
invoke-virtual {v0, p1, p2}, Lokio/ByteString;->f([BI)I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result p1
|
|
|
|
.line 14
|
|
return p1
|
|
.end method
|
|
|
|
.method public final h()[B
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->u()[B
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget v0, p0, Lokio/ByteString;->f:I
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
return v0
|
|
|
|
.line 6
|
|
:cond_0
|
|
iget-object v0, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 7
|
|
.line 8
|
|
array-length v1, v0
|
|
|
|
.line 9
|
|
const/4 v2, 0x0
|
|
|
|
.line 10
|
|
const/4 v3, 0x1
|
|
|
|
.line 11
|
|
move v4, v3
|
|
|
|
.line 12
|
|
move v3, v2
|
|
|
|
.line 13
|
|
:goto_0
|
|
if-ge v2, v1, :cond_2
|
|
|
|
.line 14
|
|
.line 15
|
|
add-int v5, v1, v2
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-object v6, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 18
|
|
.line 19
|
|
aget v5, v6, v5
|
|
|
|
.line 20
|
|
.line 21
|
|
aget v6, v6, v2
|
|
|
|
.line 22
|
|
.line 23
|
|
aget-object v7, v0, v2
|
|
|
|
.line 24
|
|
.line 25
|
|
sub-int v3, v6, v3
|
|
|
|
.line 26
|
|
.line 27
|
|
add-int/2addr v3, v5
|
|
|
|
.line 28
|
|
:goto_1
|
|
if-ge v5, v3, :cond_1
|
|
|
|
.line 29
|
|
.line 30
|
|
mul-int/lit8 v4, v4, 0x1f
|
|
|
|
.line 31
|
|
.line 32
|
|
aget-byte v8, v7, v5
|
|
|
|
.line 33
|
|
.line 34
|
|
add-int/2addr v4, v8
|
|
|
|
.line 35
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
.line 36
|
|
.line 37
|
|
goto :goto_1
|
|
|
|
.line 38
|
|
:cond_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 39
|
|
.line 40
|
|
move v3, v6
|
|
|
|
.line 41
|
|
goto :goto_0
|
|
|
|
.line 42
|
|
:cond_2
|
|
iput v4, p0, Lokio/ByteString;->f:I
|
|
|
|
.line 43
|
|
.line 44
|
|
return v4
|
|
.end method
|
|
|
|
.method public final i(I)B
|
|
.locals 9
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 2
|
|
.line 3
|
|
array-length v1, v0
|
|
|
|
.line 4
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
.line 5
|
|
.line 6
|
|
iget-object v2, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 7
|
|
.line 8
|
|
aget v1, v2, v1
|
|
|
|
.line 9
|
|
.line 10
|
|
int-to-long v3, v1
|
|
|
|
.line 11
|
|
int-to-long v5, p1
|
|
|
|
.line 12
|
|
const-wide/16 v7, 0x1
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static/range {v3 .. v8}, Lokio/-SegmentedByteString;->b(JJJ)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
invoke-static {p0, p1}, Lokio/internal/-SegmentedByteString;->a(Lokio/SegmentedByteString;I)I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v1
|
|
|
|
.line 21
|
|
if-nez v1, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v3, 0x0
|
|
|
|
.line 24
|
|
goto :goto_0
|
|
|
|
.line 25
|
|
:cond_0
|
|
add-int/lit8 v3, v1, -0x1
|
|
|
|
.line 26
|
|
.line 27
|
|
aget v3, v2, v3
|
|
|
|
.line 28
|
|
.line 29
|
|
:goto_0
|
|
array-length v4, v0
|
|
|
|
.line 30
|
|
add-int/2addr v4, v1
|
|
|
|
.line 31
|
|
aget v2, v2, v4
|
|
|
|
.line 32
|
|
.line 33
|
|
aget-object v0, v0, v1
|
|
|
|
.line 34
|
|
.line 35
|
|
sub-int/2addr p1, v3
|
|
|
|
.line 36
|
|
add-int/2addr p1, v2
|
|
|
|
.line 37
|
|
aget-byte p1, v0, p1
|
|
|
|
.line 38
|
|
.line 39
|
|
return p1
|
|
.end method
|
|
|
|
.method public final j([B)I
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "other"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->v()Lokio/ByteString;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Lokio/ByteString;->j([B)I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result p1
|
|
|
|
.line 14
|
|
return p1
|
|
.end method
|
|
|
|
.method public final l(ILokio/ByteString;I)Z
|
|
.locals 8
|
|
|
|
.line 1
|
|
const-string v0, "other"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x0
|
|
|
|
.line 7
|
|
if-ltz p1, :cond_4
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v1
|
|
|
|
.line 13
|
|
sub-int/2addr v1, p3
|
|
|
|
.line 14
|
|
if-le p1, v1, :cond_0
|
|
|
|
.line 15
|
|
.line 16
|
|
goto :goto_2
|
|
|
|
.line 17
|
|
:cond_0
|
|
add-int/2addr p3, p1
|
|
|
|
.line 18
|
|
invoke-static {p0, p1}, Lokio/internal/-SegmentedByteString;->a(Lokio/SegmentedByteString;I)I
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result v1
|
|
|
|
.line 22
|
|
move v2, v0
|
|
|
|
.line 23
|
|
:goto_0
|
|
if-ge p1, p3, :cond_3
|
|
|
|
.line 24
|
|
.line 25
|
|
iget-object v3, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 26
|
|
.line 27
|
|
if-nez v1, :cond_1
|
|
|
|
.line 28
|
|
.line 29
|
|
move v4, v0
|
|
|
|
.line 30
|
|
goto :goto_1
|
|
|
|
.line 31
|
|
:cond_1
|
|
add-int/lit8 v4, v1, -0x1
|
|
|
|
.line 32
|
|
.line 33
|
|
aget v4, v3, v4
|
|
|
|
.line 34
|
|
.line 35
|
|
:goto_1
|
|
aget v5, v3, v1
|
|
|
|
.line 36
|
|
.line 37
|
|
sub-int/2addr v5, v4
|
|
|
|
.line 38
|
|
iget-object v6, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 39
|
|
.line 40
|
|
array-length v7, v6
|
|
|
|
.line 41
|
|
add-int/2addr v7, v1
|
|
|
|
.line 42
|
|
aget v3, v3, v7
|
|
|
|
.line 43
|
|
.line 44
|
|
add-int/2addr v5, v4
|
|
|
|
.line 45
|
|
invoke-static {p3, v5}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result v5
|
|
|
|
.line 49
|
|
sub-int/2addr v5, p1
|
|
|
|
.line 50
|
|
sub-int v4, p1, v4
|
|
|
|
.line 51
|
|
.line 52
|
|
add-int/2addr v4, v3
|
|
|
|
.line 53
|
|
aget-object v3, v6, v1
|
|
|
|
.line 54
|
|
.line 55
|
|
invoke-virtual {p2, v3, v2, v4, v5}, Lokio/ByteString;->n([BIII)Z
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
move-result v3
|
|
|
|
.line 59
|
|
if-nez v3, :cond_2
|
|
|
|
.line 60
|
|
.line 61
|
|
goto :goto_2
|
|
|
|
.line 62
|
|
:cond_2
|
|
add-int/2addr v2, v5
|
|
|
|
.line 63
|
|
add-int/2addr p1, v5
|
|
|
|
.line 64
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 65
|
|
.line 66
|
|
goto :goto_0
|
|
|
|
.line 67
|
|
:cond_3
|
|
const/4 p1, 0x1
|
|
|
|
.line 68
|
|
return p1
|
|
|
|
.line 69
|
|
:cond_4
|
|
:goto_2
|
|
return v0
|
|
.end method
|
|
|
|
.method public final n([BIII)Z
|
|
.locals 7
|
|
|
|
.line 1
|
|
const-string v0, "other"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x0
|
|
|
|
.line 7
|
|
if-ltz p2, :cond_4
|
|
|
|
.line 8
|
|
.line 9
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result v1
|
|
|
|
.line 13
|
|
sub-int/2addr v1, p4
|
|
|
|
.line 14
|
|
if-gt p2, v1, :cond_4
|
|
|
|
.line 15
|
|
.line 16
|
|
if-ltz p3, :cond_4
|
|
|
|
.line 17
|
|
.line 18
|
|
array-length v1, p1
|
|
|
|
.line 19
|
|
sub-int/2addr v1, p4
|
|
|
|
.line 20
|
|
if-le p3, v1, :cond_0
|
|
|
|
.line 21
|
|
.line 22
|
|
goto :goto_2
|
|
|
|
.line 23
|
|
:cond_0
|
|
add-int/2addr p4, p2
|
|
|
|
.line 24
|
|
invoke-static {p0, p2}, Lokio/internal/-SegmentedByteString;->a(Lokio/SegmentedByteString;I)I
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result v1
|
|
|
|
.line 28
|
|
:goto_0
|
|
if-ge p2, p4, :cond_3
|
|
|
|
.line 29
|
|
.line 30
|
|
iget-object v2, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 31
|
|
.line 32
|
|
if-nez v1, :cond_1
|
|
|
|
.line 33
|
|
.line 34
|
|
move v3, v0
|
|
|
|
.line 35
|
|
goto :goto_1
|
|
|
|
.line 36
|
|
:cond_1
|
|
add-int/lit8 v3, v1, -0x1
|
|
|
|
.line 37
|
|
.line 38
|
|
aget v3, v2, v3
|
|
|
|
.line 39
|
|
.line 40
|
|
:goto_1
|
|
aget v4, v2, v1
|
|
|
|
.line 41
|
|
.line 42
|
|
sub-int/2addr v4, v3
|
|
|
|
.line 43
|
|
iget-object v5, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 44
|
|
.line 45
|
|
array-length v6, v5
|
|
|
|
.line 46
|
|
add-int/2addr v6, v1
|
|
|
|
.line 47
|
|
aget v2, v2, v6
|
|
|
|
.line 48
|
|
.line 49
|
|
add-int/2addr v4, v3
|
|
|
|
.line 50
|
|
invoke-static {p4, v4}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result v4
|
|
|
|
.line 54
|
|
sub-int/2addr v4, p2
|
|
|
|
.line 55
|
|
sub-int v3, p2, v3
|
|
|
|
.line 56
|
|
.line 57
|
|
add-int/2addr v3, v2
|
|
|
|
.line 58
|
|
aget-object v2, v5, v1
|
|
|
|
.line 59
|
|
.line 60
|
|
invoke-static {v2, p1, v3, p3, v4}, Lokio/-SegmentedByteString;->a([B[BIII)Z
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move-result v2
|
|
|
|
.line 64
|
|
if-nez v2, :cond_2
|
|
|
|
.line 65
|
|
.line 66
|
|
return v0
|
|
|
|
.line 67
|
|
:cond_2
|
|
add-int/2addr p3, v4
|
|
|
|
.line 68
|
|
add-int/2addr p2, v4
|
|
|
|
.line 69
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 70
|
|
.line 71
|
|
goto :goto_0
|
|
|
|
.line 72
|
|
:cond_3
|
|
const/4 p1, 0x1
|
|
|
|
.line 73
|
|
return p1
|
|
|
|
.line 74
|
|
:cond_4
|
|
:goto_2
|
|
return v0
|
|
.end method
|
|
|
|
.method public final o(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "charset"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->v()Lokio/ByteString;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
invoke-virtual {v0, p1}, Lokio/ByteString;->o(Ljava/nio/charset/Charset;)Ljava/lang/String;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p1
|
|
|
|
.line 14
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final p(II)Lokio/ByteString;
|
|
.locals 11
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const v0, -0x499602d2
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
if-ne p2, v0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result p2
|
|
|
|
.line 15
|
|
:cond_0
|
|
if-ltz p1, :cond_7
|
|
|
|
.line 16
|
|
.line 17
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result v0
|
|
|
|
.line 21
|
|
const-string v1, "endIndex="
|
|
|
|
.line 22
|
|
.line 23
|
|
if-gt p2, v0, :cond_6
|
|
|
|
.line 24
|
|
.line 25
|
|
sub-int v0, p2, p1
|
|
|
|
.line 26
|
|
.line 27
|
|
if-ltz v0, :cond_5
|
|
|
|
.line 28
|
|
.line 29
|
|
if-nez p1, :cond_1
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result v1
|
|
|
|
.line 35
|
|
if-ne p2, v1, :cond_1
|
|
|
|
.line 36
|
|
.line 37
|
|
return-object p0
|
|
|
|
.line 38
|
|
:cond_1
|
|
if-ne p1, p2, :cond_2
|
|
|
|
.line 39
|
|
.line 40
|
|
sget-object p1, Lokio/ByteString;->h:Lokio/ByteString;
|
|
|
|
.line 41
|
|
.line 42
|
|
return-object p1
|
|
|
|
.line 43
|
|
:cond_2
|
|
invoke-static {p0, p1}, Lokio/internal/-SegmentedByteString;->a(Lokio/SegmentedByteString;I)I
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result v1
|
|
|
|
.line 47
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
.line 48
|
|
.line 49
|
|
invoke-static {p0, p2}, Lokio/internal/-SegmentedByteString;->a(Lokio/SegmentedByteString;I)I
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
move-result p2
|
|
|
|
.line 53
|
|
add-int/lit8 v2, p2, 0x1
|
|
|
|
.line 54
|
|
.line 55
|
|
iget-object v3, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 56
|
|
.line 57
|
|
invoke-static {v3, v1, v2}, Lkotlin/collections/ArraysKt;->copyOfRange([Ljava/lang/Object;II)[Ljava/lang/Object;
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
move-result-object v2
|
|
|
|
.line 61
|
|
check-cast v2, [[B
|
|
|
|
.line 62
|
|
.line 63
|
|
array-length v4, v2
|
|
|
|
.line 64
|
|
mul-int/lit8 v4, v4, 0x2
|
|
|
|
.line 65
|
|
.line 66
|
|
new-array v4, v4, [I
|
|
|
|
.line 67
|
|
.line 68
|
|
const/4 v5, 0x0
|
|
|
|
.line 69
|
|
iget-object v6, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 70
|
|
.line 71
|
|
if-gt v1, p2, :cond_3
|
|
|
|
.line 72
|
|
.line 73
|
|
move v8, v1
|
|
|
|
.line 74
|
|
move v7, v5
|
|
|
|
.line 75
|
|
:goto_0
|
|
aget v9, v6, v8
|
|
|
|
.line 76
|
|
.line 77
|
|
sub-int/2addr v9, p1
|
|
|
|
.line 78
|
|
invoke-static {v9, v0}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
move-result v9
|
|
|
|
.line 82
|
|
aput v9, v4, v7
|
|
|
|
.line 83
|
|
.line 84
|
|
add-int/lit8 v9, v7, 0x1
|
|
|
|
.line 85
|
|
.line 86
|
|
array-length v10, v2
|
|
|
|
.line 87
|
|
add-int/2addr v7, v10
|
|
|
|
.line 88
|
|
array-length v10, v3
|
|
|
|
.line 89
|
|
add-int/2addr v10, v8
|
|
|
|
.line 90
|
|
aget v10, v6, v10
|
|
|
|
.line 91
|
|
.line 92
|
|
aput v10, v4, v7
|
|
|
|
.line 93
|
|
.line 94
|
|
if-eq v8, p2, :cond_3
|
|
|
|
.line 95
|
|
.line 96
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
.line 97
|
|
.line 98
|
|
move v7, v9
|
|
|
|
.line 99
|
|
goto :goto_0
|
|
|
|
.line 100
|
|
:cond_3
|
|
if-nez v1, :cond_4
|
|
|
|
.line 101
|
|
.line 102
|
|
goto :goto_1
|
|
|
|
.line 103
|
|
:cond_4
|
|
add-int/lit8 v1, v1, -0x1
|
|
|
|
.line 104
|
|
.line 105
|
|
aget v5, v6, v1
|
|
|
|
.line 106
|
|
.line 107
|
|
:goto_1
|
|
array-length p2, v2
|
|
|
|
.line 108
|
|
aget v0, v4, p2
|
|
|
|
.line 109
|
|
.line 110
|
|
sub-int/2addr p1, v5
|
|
|
|
.line 111
|
|
add-int/2addr p1, v0
|
|
|
|
.line 112
|
|
aput p1, v4, p2
|
|
|
|
.line 113
|
|
.line 114
|
|
new-instance p1, Lokio/SegmentedByteString;
|
|
|
|
.line 115
|
|
.line 116
|
|
invoke-direct {p1, v2, v4}, Lokio/SegmentedByteString;-><init>([[B[I)V
|
|
|
|
.line 117
|
|
.line 118
|
|
.line 119
|
|
return-object p1
|
|
|
|
.line 120
|
|
:cond_5
|
|
const-string v0, " < beginIndex="
|
|
|
|
.line 121
|
|
.line 122
|
|
invoke-static {v1, p2, p1, v0}, Landroidx/work/impl/workers/a;->s(Ljava/lang/String;IILjava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 123
|
|
.line 124
|
|
.line 125
|
|
move-result-object p1
|
|
|
|
.line 126
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 127
|
|
.line 128
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 129
|
|
.line 130
|
|
.line 131
|
|
move-result-object p1
|
|
|
|
.line 132
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 133
|
|
.line 134
|
|
.line 135
|
|
throw p2
|
|
|
|
.line 136
|
|
:cond_6
|
|
const-string p1, " > length("
|
|
|
|
.line 137
|
|
.line 138
|
|
invoke-static {p2, v1, p1}, Landroid/support/v4/media/a;->s(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 139
|
|
.line 140
|
|
.line 141
|
|
move-result-object p1
|
|
|
|
.line 142
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 143
|
|
.line 144
|
|
.line 145
|
|
move-result p2
|
|
|
|
.line 146
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 147
|
|
.line 148
|
|
.line 149
|
|
const/16 p2, 0x29
|
|
|
|
.line 150
|
|
.line 151
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 152
|
|
.line 153
|
|
.line 154
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 155
|
|
.line 156
|
|
.line 157
|
|
move-result-object p1
|
|
|
|
.line 158
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 159
|
|
.line 160
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 161
|
|
.line 162
|
|
.line 163
|
|
move-result-object p1
|
|
|
|
.line 164
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 165
|
|
.line 166
|
|
.line 167
|
|
throw p2
|
|
|
|
.line 168
|
|
:cond_7
|
|
const-string p2, "beginIndex="
|
|
|
|
.line 169
|
|
.line 170
|
|
const-string v0, " < 0"
|
|
|
|
.line 171
|
|
.line 172
|
|
invoke-static {p1, p2, v0}, Landroid/support/v4/media/a;->f(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 173
|
|
.line 174
|
|
.line 175
|
|
move-result-object p1
|
|
|
|
.line 176
|
|
new-instance p2, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 177
|
|
.line 178
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 179
|
|
.line 180
|
|
.line 181
|
|
move-result-object p1
|
|
|
|
.line 182
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 183
|
|
.line 184
|
|
.line 185
|
|
throw p2
|
|
.end method
|
|
|
|
.method public final r()Lokio/ByteString;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->v()Lokio/ByteString;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Lokio/ByteString;->r()Lokio/ByteString;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final t(Lokio/Buffer;I)V
|
|
.locals 13
|
|
|
|
.line 1
|
|
const-string v0, "buffer"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x0
|
|
|
|
.line 7
|
|
invoke-static {p0, v0}, Lokio/internal/-SegmentedByteString;->a(Lokio/SegmentedByteString;I)I
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result v1
|
|
|
|
.line 11
|
|
move v2, v0
|
|
|
|
.line 12
|
|
:goto_0
|
|
if-ge v2, p2, :cond_2
|
|
|
|
.line 13
|
|
.line 14
|
|
iget-object v3, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 15
|
|
.line 16
|
|
if-nez v1, :cond_0
|
|
|
|
.line 17
|
|
.line 18
|
|
move v4, v0
|
|
|
|
.line 19
|
|
goto :goto_1
|
|
|
|
.line 20
|
|
:cond_0
|
|
add-int/lit8 v4, v1, -0x1
|
|
|
|
.line 21
|
|
.line 22
|
|
aget v4, v3, v4
|
|
|
|
.line 23
|
|
.line 24
|
|
:goto_1
|
|
aget v5, v3, v1
|
|
|
|
.line 25
|
|
.line 26
|
|
sub-int/2addr v5, v4
|
|
|
|
.line 27
|
|
iget-object v6, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 28
|
|
.line 29
|
|
array-length v7, v6
|
|
|
|
.line 30
|
|
add-int/2addr v7, v1
|
|
|
|
.line 31
|
|
aget v3, v3, v7
|
|
|
|
.line 32
|
|
.line 33
|
|
add-int/2addr v5, v4
|
|
|
|
.line 34
|
|
invoke-static {p2, v5}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result v5
|
|
|
|
.line 38
|
|
sub-int/2addr v5, v2
|
|
|
|
.line 39
|
|
sub-int v4, v2, v4
|
|
|
|
.line 40
|
|
.line 41
|
|
add-int v9, v4, v3
|
|
|
|
.line 42
|
|
.line 43
|
|
aget-object v8, v6, v1
|
|
|
|
.line 44
|
|
.line 45
|
|
new-instance v7, Lokio/Segment;
|
|
|
|
.line 46
|
|
.line 47
|
|
add-int v10, v9, v5
|
|
|
|
.line 48
|
|
.line 49
|
|
const/4 v11, 0x1
|
|
|
|
.line 50
|
|
const/4 v12, 0x0
|
|
|
|
.line 51
|
|
invoke-direct/range {v7 .. v12}, Lokio/Segment;-><init>([BIIZZ)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
iget-object v3, p1, Lokio/Buffer;->c:Lokio/Segment;
|
|
|
|
.line 55
|
|
.line 56
|
|
if-nez v3, :cond_1
|
|
|
|
.line 57
|
|
.line 58
|
|
iput-object v7, v7, Lokio/Segment;->g:Lokio/Segment;
|
|
|
|
.line 59
|
|
.line 60
|
|
iput-object v7, v7, Lokio/Segment;->f:Lokio/Segment;
|
|
|
|
.line 61
|
|
.line 62
|
|
iput-object v7, p1, Lokio/Buffer;->c:Lokio/Segment;
|
|
|
|
.line 63
|
|
.line 64
|
|
goto :goto_2
|
|
|
|
.line 65
|
|
:cond_1
|
|
invoke-static {v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 66
|
|
.line 67
|
|
.line 68
|
|
iget-object v3, v3, Lokio/Segment;->g:Lokio/Segment;
|
|
|
|
.line 69
|
|
.line 70
|
|
invoke-static {v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {v3, v7}, Lokio/Segment;->b(Lokio/Segment;)V
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
:goto_2
|
|
add-int/2addr v2, v5
|
|
|
|
.line 77
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 78
|
|
.line 79
|
|
goto :goto_0
|
|
|
|
.line 80
|
|
:cond_2
|
|
iget-wide v0, p1, Lokio/Buffer;->f:J
|
|
|
|
.line 81
|
|
.line 82
|
|
int-to-long v2, p2
|
|
|
|
.line 83
|
|
add-long/2addr v0, v2
|
|
|
|
.line 84
|
|
iput-wide v0, p1, Lokio/Buffer;->f:J
|
|
|
|
.line 85
|
|
.line 86
|
|
return-void
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->v()Lokio/ByteString;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Lokio/ByteString;->toString()Ljava/lang/String;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v0
|
|
|
|
.line 9
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final u()[B
|
|
.locals 10
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->d()I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
new-array v0, v0, [B
|
|
|
|
.line 6
|
|
.line 7
|
|
iget-object v1, p0, Lokio/SegmentedByteString;->i:[[B
|
|
|
|
.line 8
|
|
.line 9
|
|
array-length v2, v1
|
|
|
|
.line 10
|
|
const/4 v3, 0x0
|
|
|
|
.line 11
|
|
move v4, v3
|
|
|
|
.line 12
|
|
move v5, v4
|
|
|
|
.line 13
|
|
:goto_0
|
|
if-ge v3, v2, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
add-int v6, v2, v3
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-object v7, p0, Lokio/SegmentedByteString;->j:[I
|
|
|
|
.line 18
|
|
.line 19
|
|
aget v6, v7, v6
|
|
|
|
.line 20
|
|
.line 21
|
|
aget v7, v7, v3
|
|
|
|
.line 22
|
|
.line 23
|
|
aget-object v8, v1, v3
|
|
|
|
.line 24
|
|
.line 25
|
|
sub-int v4, v7, v4
|
|
|
|
.line 26
|
|
.line 27
|
|
add-int v9, v6, v4
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {v8, v0, v5, v6, v9}, Lkotlin/collections/ArraysKt;->copyInto([B[BIII)[B
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
add-int/2addr v5, v4
|
|
|
|
.line 33
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
.line 34
|
|
.line 35
|
|
move v4, v7
|
|
|
|
.line 36
|
|
goto :goto_0
|
|
|
|
.line 37
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final v()Lokio/ByteString;
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Lokio/ByteString;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {p0}, Lokio/SegmentedByteString;->u()[B
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result-object v1
|
|
|
|
.line 7
|
|
invoke-direct {v0, v1}, Lokio/ByteString;-><init>([B)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
return-object v0
|
|
.end method
|