* 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>
2113 lines
56 KiB
Smali
2113 lines
56 KiB
Smali
.class Lkotlin/collections/CollectionsKt__CollectionsKt;
|
|
.super Lkotlin/collections/CollectionsKt__CollectionsJVMKt;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u008e\u0001\n\u0000\n\u0002\u0010\u001e\n\u0000\n\u0002\u0010\u0011\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010 \n\u0002\u0008\u0004\n\u0002\u0010!\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0000\n\u0002\u0008\u0004\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u000c\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000f\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0011\u001a/\u0010\u0000\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u00032\u0008\u0008\u0002\u0010\u0004\u001a\u00020\u0005H\u0000\u00a2\u0006\u0002\u0010\u0006\u001a\u0012\u0010\u0007\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u0002\u001a+\u0010\t\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u00022\u0012\u0010\n\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0003\"\u0002H\u0002\u00a2\u0006\u0002\u0010\u000b\u001a\u0015\u0010\t\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u0002H\u0087\u0008\u001a\u0015\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\r\"\u0004\u0008\u0000\u0010\u0002H\u0087\u0008\u001a$\u0010\u000e\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u000fj\u0008\u0012\u0004\u0012\u0002H\u0002`\u0010\"\u0004\u0008\u0000\u0010\u0002H\u0087\u0008\u00a2\u0006\u0002\u0010\u0011\u001a+\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\r\"\u0004\u0008\u0000\u0010\u00022\u0012\u0010\n\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0003\"\u0002H\u0002\u00a2\u0006\u0002\u0010\u000b\u001a5\u0010\u000e\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u000fj\u0008\u0012\u0004\u0012\u0002H\u0002`\u0010\"\u0004\u0008\u0000\u0010\u00022\u0012\u0010\n\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0003\"\u0002H\u0002\u00a2\u0006\u0002\u0010\u0012\u001a%\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0008\u0008\u0000\u0010\u0002*\u00020\u00142\u0008\u0010\u0015\u001a\u0004\u0018\u0001H\u0002\u00a2\u0006\u0002\u0010\u0016\u001a3\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0008\u0008\u0000\u0010\u0002*\u00020\u00142\u0016\u0010\n\u001a\u000c\u0012\u0008\u0008\u0001\u0012\u0004\u0018\u0001H\u00020\u0003\"\u0004\u0018\u0001H\u0002\u00a2\u0006\u0002\u0010\u000b\u001aC\u0010\u0017\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u0018\u001a\u00020\u00192!\u0010\u001a\u001a\u001d\u0012\u0013\u0012\u00110\u0019\u00a2\u0006\u000c\u0008\u001c\u0012\u0008\u0008\u001d\u0012\u0004\u0008\u0008(\u001e\u0012\u0004\u0012\u0002H\u00020\u001bH\u0087\u0008\u00f8\u0001\u0000\u001aC\u0010\u001f\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\r\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u0018\u001a\u00020\u00192!\u0010\u001a\u001a\u001d\u0012\u0013\u0012\u00110\u0019\u00a2\u0006\u000c\u0008\u001c\u0012\u0008\u0008\u001d\u0012\u0004\u0008\u0008(\u001e\u0012\u0004\u0012\u0002H\u00020\u001bH\u0087\u0008\u00f8\u0001\u0000\u001aF\u0010 \u001a\u0008\u0012\u0004\u0012\u0002H!0\u0008\"\u0004\u0008\u0000\u0010!2\u001f\u0008\u0001\u0010\"\u001a\u0019\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H!0\r\u0012\u0004\u0012\u00020#0\u001b\u00a2\u0006\u0002\u0008$H\u0087\u0008\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u001aN\u0010 \u001a\u0008\u0012\u0004\u0012\u0002H!0\u0008\"\u0004\u0008\u0000\u0010!2\u0006\u0010%\u001a\u00020\u00192\u001f\u0008\u0001\u0010\"\u001a\u0019\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H!0\r\u0012\u0004\u0012\u00020#0\u001b\u00a2\u0006\u0002\u0008$H\u0087\u0008\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0002 \u0001\u001a\u0019\u0010-\u001a\u00020\u0005\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0001H\u0087\u0008\u001a,\u0010.\u001a\u00020\u0005\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0004\u0012\u0002H\u0002\u0018\u00010\u0001H\u0087\u0008\u0082\u0002\u000e\n\u000c\u0008\u0000\u0012\u0002\u0018\u0001\u001a\u0004\u0008\u0003\u0010\u0000\u001a!\u0010/\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0004\u0012\u0002H\u0002\u0018\u00010\u0001H\u0087\u0008\u001a!\u0010/\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u0002*\n\u0012\u0004\u0012\u0002H\u0002\u0018\u00010\u0008H\u0087\u0008\u001aH\u00100\u001a\u0002H1\"\u0010\u0008\u0000\u00102*\u0006\u0012\u0002\u0008\u00030\u0001*\u0002H1\"\u0004\u0008\u0001\u00101*\u0002H22\u000c\u00103\u001a\u0008\u0012\u0004\u0012\u0002H104H\u0087\u0008\u00f8\u0001\u0000\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0000\u00a2\u0006\u0002\u00105\u001a,\u00106\u001a\u00020\u0005\"\t\u0008\u0000\u0010\u0002\u00a2\u0006\u0002\u00087*\u0008\u0012\u0004\u0012\u0002H\u00020\u00012\u000c\u0010\n\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001H\u0087\u0008\u001a&\u00108\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u0002092\u0006\u0010:\u001a\u00020;H\u0007\u001a\u001e\u0010<\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0008H\u0000\u001aE\u0010=\u001a\u00020\u0019\"\u000e\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020>*\n\u0012\u0006\u0012\u0004\u0018\u0001H\u00020\u00082\u0008\u0010\u0015\u001a\u0004\u0018\u0001H\u00022\u0008\u0008\u0002\u0010?\u001a\u00020\u00192\u0008\u0008\u0002\u0010@\u001a\u00020\u0019\u00a2\u0006\u0002\u0010A\u001aS\u0010=\u001a\u00020\u0019\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00082\u0006\u0010\u0015\u001a\u0002H\u00022\u001a\u0010B\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u00020Cj\n\u0012\u0006\u0008\u0000\u0012\u0002H\u0002`D2\u0008\u0008\u0002\u0010?\u001a\u00020\u00192\u0008\u0008\u0002\u0010@\u001a\u00020\u0019\u00a2\u0006\u0002\u0010E\u001ag\u0010F\u001a\u00020\u0019\"\u0004\u0008\u0000\u0010\u0002\"\u000e\u0008\u0001\u0010G*\u0008\u0012\u0004\u0012\u0002HG0>*\u0008\u0012\u0004\u0012\u0002H\u00020\u00082\u0008\u0010H\u001a\u0004\u0018\u0001HG2\u0008\u0008\u0002\u0010?\u001a\u00020\u00192\u0008\u0008\u0002\u0010@\u001a\u00020\u00192\u0016\u0008\u0004\u0010I\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0006\u0012\u0004\u0018\u0001HG0\u001bH\u0086\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010J\u001a>\u0010=\u001a\u00020\u0019\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00082\u0008\u0008\u0002\u0010?\u001a\u00020\u00192\u0008\u0008\u0002\u0010@\u001a\u00020\u00192\u0012\u0010K\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u00020\u00190\u001b\u001a%\u0010L\u001a\u00020#2\u0006\u0010\u0018\u001a\u00020\u00192\u0006\u0010?\u001a\u00020\u00192\u0006\u0010@\u001a\u00020\u0019H\u0002\u00a2\u0006\u0002\u0008M\u001a\u0008\u0010N\u001a\u00020#H\u0001\u001a\u0008\u0010O\u001a\u00020#H\u0001\u001a!\u0010P\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00140\u00032\n\u0010Q\u001a\u0006\u0012\u0002\u0008\u00030\u0001H\u0000\u00a2\u0006\u0002\u0010R\u001a3\u0010P\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0003\"\u0004\u0008\u0000\u0010\u00022\n\u0010Q\u001a\u0006\u0012\u0002\u0008\u00030\u00012\u000c\u0010S\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0003H\u0000\u00a2\u0006\u0002\u0010T\"\u0019\u0010&\u001a\u00020\'*\u0006\u0012\u0002\u0008\u00030\u00018F\u00a2\u0006\u0006\u001a\u0004\u0008(\u0010)\"!\u0010*\u001a\u00020\u0019\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00088F\u00a2\u0006\u0006\u001a\u0004\u0008+\u0010,\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006U"
|
|
}
|
|
d2 = {
|
|
"asCollection",
|
|
"",
|
|
"T",
|
|
"",
|
|
"isVarargs",
|
|
"",
|
|
"([Ljava/lang/Object;Z)Ljava/util/Collection;",
|
|
"emptyList",
|
|
"",
|
|
"listOf",
|
|
"elements",
|
|
"([Ljava/lang/Object;)Ljava/util/List;",
|
|
"mutableListOf",
|
|
"",
|
|
"arrayListOf",
|
|
"Ljava/util/ArrayList;",
|
|
"Lkotlin/collections/ArrayList;",
|
|
"()Ljava/util/ArrayList;",
|
|
"([Ljava/lang/Object;)Ljava/util/ArrayList;",
|
|
"listOfNotNull",
|
|
"",
|
|
"element",
|
|
"(Ljava/lang/Object;)Ljava/util/List;",
|
|
"List",
|
|
"size",
|
|
"",
|
|
"init",
|
|
"Lkotlin/Function1;",
|
|
"Lkotlin/ParameterName;",
|
|
"name",
|
|
"index",
|
|
"MutableList",
|
|
"buildList",
|
|
"E",
|
|
"builderAction",
|
|
"",
|
|
"Lkotlin/ExtensionFunctionType;",
|
|
"capacity",
|
|
"indices",
|
|
"Lkotlin/ranges/IntRange;",
|
|
"getIndices",
|
|
"(Ljava/util/Collection;)Lkotlin/ranges/IntRange;",
|
|
"lastIndex",
|
|
"getLastIndex",
|
|
"(Ljava/util/List;)I",
|
|
"isNotEmpty",
|
|
"isNullOrEmpty",
|
|
"orEmpty",
|
|
"ifEmpty",
|
|
"R",
|
|
"C",
|
|
"defaultValue",
|
|
"Lkotlin/Function0;",
|
|
"(Ljava/util/Collection;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;",
|
|
"containsAll",
|
|
"Lkotlin/internal/OnlyInputTypes;",
|
|
"shuffled",
|
|
"",
|
|
"random",
|
|
"Lkotlin/random/Random;",
|
|
"optimizeReadOnlyList",
|
|
"binarySearch",
|
|
"",
|
|
"fromIndex",
|
|
"toIndex",
|
|
"(Ljava/util/List;Ljava/lang/Comparable;II)I",
|
|
"comparator",
|
|
"Ljava/util/Comparator;",
|
|
"Lkotlin/Comparator;",
|
|
"(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;II)I",
|
|
"binarySearchBy",
|
|
"K",
|
|
"key",
|
|
"selector",
|
|
"(Ljava/util/List;Ljava/lang/Comparable;IILkotlin/jvm/functions/Function1;)I",
|
|
"comparison",
|
|
"rangeCheck",
|
|
"rangeCheck$CollectionsKt__CollectionsKt",
|
|
"throwIndexOverflow",
|
|
"throwCountOverflow",
|
|
"collectionToArrayCommonImpl",
|
|
"collection",
|
|
"(Ljava/util/Collection;)[Ljava/lang/Object;",
|
|
"array",
|
|
"(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x31
|
|
xs = "kotlin/collections/CollectionsKt"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nCollections.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Collections.kt\nkotlin/collections/CollectionsKt__CollectionsKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,527:1\n1#2:528\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final List(ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Integer;",
|
|
"+TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.1"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "init"
|
|
|
|
.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
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const/4 v1, 0x0
|
|
|
|
.line 12
|
|
:goto_0
|
|
if-ge v1, p0, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v2
|
|
|
|
.line 18
|
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object v2
|
|
|
|
.line 22
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 26
|
|
.line 27
|
|
goto :goto_0
|
|
|
|
.line 28
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final MutableList(ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Integer;",
|
|
"+TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.1"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "init"
|
|
|
|
.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
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const/4 v1, 0x0
|
|
|
|
.line 12
|
|
:goto_0
|
|
if-ge v1, p0, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v2
|
|
|
|
.line 18
|
|
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object v2
|
|
|
|
.line 22
|
|
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 26
|
|
.line 27
|
|
goto :goto_0
|
|
|
|
.line 28
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final arrayListOf()Ljava/util/ArrayList;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Ljava/util/ArrayList<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.1"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final varargs arrayListOf([Ljava/lang/Object;)Ljava/util/ArrayList;
|
|
.locals 2
|
|
.param p0 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/ArrayList<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "elements"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
array-length v0, p0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance p0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {p0, v1}, Lkotlin/collections/CollectionsKt__CollectionsKt;->asCollection([Ljava/lang/Object;Z)Ljava/util/Collection;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final asCollection([Ljava/lang/Object;Z)Ljava/util/Collection;
|
|
.locals 1
|
|
.param p0 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;Z)",
|
|
"Ljava/util/Collection<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.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
|
|
new-instance v0, Lkotlin/collections/ArrayAsCollection;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {v0, p0, p1}, Lkotlin/collections/ArrayAsCollection;-><init>([Ljava/lang/Object;Z)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static synthetic asCollection$default([Ljava/lang/Object;ZILjava/lang/Object;)Ljava/util/Collection;
|
|
.locals 0
|
|
|
|
.line 1
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 p1, 0x0
|
|
|
|
.line 6
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__CollectionsKt;->asCollection([Ljava/lang/Object;Z)Ljava/util/Collection;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p0
|
|
|
|
.line 10
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
|
.locals 2
|
|
.param p0 # Ljava/util/List;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p3 # Lkotlin/jvm/functions/Function1;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;II",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;",
|
|
"Ljava/lang/Integer;",
|
|
">;)I"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "comparison"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 7
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0, p1, p2}, Lkotlin/collections/CollectionsKt__CollectionsKt;->rangeCheck$CollectionsKt__CollectionsKt(III)V
|
|
|
|
add-int/lit8 p2, p2, -0x1
|
|
|
|
:goto_0
|
|
if-gt p1, p2, :cond_2
|
|
|
|
add-int v0, p1, p2
|
|
|
|
ushr-int/lit8 v0, v0, 0x1
|
|
|
|
.line 8
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 9
|
|
invoke-interface {p3, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Number;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result v1
|
|
|
|
if-gez v1, :cond_0
|
|
|
|
add-int/lit8 p1, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lez v1, :cond_1
|
|
|
|
add-int/lit8 p2, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v0
|
|
|
|
:cond_2
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
neg-int p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final binarySearch(Ljava/util/List;Ljava/lang/Comparable;II)I
|
|
.locals 2
|
|
.param p0 # Ljava/util/List;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/Comparable;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;TT;II)I"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0, p2, p3}, Lkotlin/collections/CollectionsKt__CollectionsKt;->rangeCheck$CollectionsKt__CollectionsKt(III)V
|
|
|
|
add-int/lit8 p3, p3, -0x1
|
|
|
|
:goto_0
|
|
if-gt p2, p3, :cond_2
|
|
|
|
add-int v0, p2, p3
|
|
|
|
ushr-int/lit8 v0, v0, 0x1
|
|
|
|
.line 2
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Comparable;
|
|
|
|
.line 3
|
|
invoke-static {v1, p1}, Lkotlin/comparisons/ComparisonsKt;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
|
|
|
move-result v1
|
|
|
|
if-gez v1, :cond_0
|
|
|
|
add-int/lit8 p2, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lez v1, :cond_1
|
|
|
|
add-int/lit8 p3, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v0
|
|
|
|
:cond_2
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
neg-int p0, p2
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final binarySearch(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;II)I
|
|
.locals 2
|
|
.param p0 # Ljava/util/List;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/util/Comparator;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;TT;",
|
|
"Ljava/util/Comparator<",
|
|
"-TT;>;II)I"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0, p3, p4}, Lkotlin/collections/CollectionsKt__CollectionsKt;->rangeCheck$CollectionsKt__CollectionsKt(III)V
|
|
|
|
add-int/lit8 p4, p4, -0x1
|
|
|
|
:goto_0
|
|
if-gt p3, p4, :cond_2
|
|
|
|
add-int v0, p3, p4
|
|
|
|
ushr-int/lit8 v0, v0, 0x1
|
|
|
|
.line 5
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
.line 6
|
|
invoke-interface {p2, v1, p1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result v1
|
|
|
|
if-gez v1, :cond_0
|
|
|
|
add-int/lit8 p3, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lez v1, :cond_1
|
|
|
|
add-int/lit8 p4, v0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v0
|
|
|
|
:cond_2
|
|
add-int/lit8 p3, p3, 0x1
|
|
|
|
neg-int p0, p3
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic binarySearch$default(Ljava/util/List;IILkotlin/jvm/functions/Function1;ILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x2
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 3
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result p2
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3}, Lkotlin/collections/CollectionsKt__CollectionsKt;->binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic binarySearch$default(Ljava/util/List;Ljava/lang/Comparable;IIILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p4, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p4, p4, 0x4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result p3
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3}, Lkotlin/collections/CollectionsKt__CollectionsKt;->binarySearch(Ljava/util/List;Ljava/lang/Comparable;II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic binarySearch$default(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;IIILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
and-int/lit8 p6, p5, 0x4
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:cond_0
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
if-eqz p5, :cond_1
|
|
|
|
.line 2
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
move-result p4
|
|
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/collections/CollectionsKt__CollectionsKt;->binarySearch(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;II)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final binarySearchBy(Ljava/util/List;Ljava/lang/Comparable;IILkotlin/jvm/functions/Function1;)I
|
|
.locals 1
|
|
.param p0 # Ljava/util/List;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/Comparable;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Lkotlin/jvm/functions/Function1;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"K::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TK;>;>(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;TK;II",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+TK;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.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-string v0, "selector"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
new-instance v0, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-direct {v0, p4, p1}, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;-><init>(Lkotlin/jvm/functions/Function1;Ljava/lang/Comparable;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-static {p0, p2, p3, v0}, Lkotlin/collections/CollectionsKt__CollectionsKt;->binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result p0
|
|
|
|
.line 20
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic binarySearchBy$default(Ljava/util/List;Ljava/lang/Comparable;IILkotlin/jvm/functions/Function1;ILjava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
and-int/lit8 p6, p5, 0x2
|
|
|
|
.line 2
|
|
.line 3
|
|
if-eqz p6, :cond_0
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 p2, 0x0
|
|
|
|
.line 6
|
|
:cond_0
|
|
and-int/lit8 p5, p5, 0x4
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz p5, :cond_1
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result p3
|
|
|
|
.line 14
|
|
:cond_1
|
|
const-string p5, "<this>"
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-static {p0, p5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
const-string p5, "selector"
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-static {p4, p5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
new-instance p5, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-direct {p5, p4, p1}, Lkotlin/collections/CollectionsKt__CollectionsKt$binarySearchBy$1;-><init>(Lkotlin/jvm/functions/Function1;Ljava/lang/Comparable;)V
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
invoke-static {p0, p2, p3, p5}, Lkotlin/collections/CollectionsKt__CollectionsKt;->binarySearch(Ljava/util/List;IILkotlin/jvm/functions/Function1;)I
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result p0
|
|
|
|
.line 33
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final buildList(ILkotlin/jvm/functions/Function1;)Ljava/util/List;
|
|
.locals 1
|
|
.param p1 # Lkotlin/jvm/functions/Function1;
|
|
.annotation build Lkotlin/BuilderInference;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/util/List<",
|
|
"TE;>;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Ljava/util/List<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.6"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "builderAction"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->createListBuilder(I)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->build(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final buildList(Lkotlin/jvm/functions/Function1;)Ljava/util/List;
|
|
.locals 1
|
|
.param p0 # Lkotlin/jvm/functions/Function1;
|
|
.annotation build Lkotlin/BuilderInference;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<E:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/util/List<",
|
|
"TE;>;",
|
|
"Lkotlin/Unit;",
|
|
">;)",
|
|
"Ljava/util/List<",
|
|
"TE;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.6"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "builderAction"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->createListBuilder()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p0, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
invoke-static {v0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->build(Ljava/util/List;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final collectionToArrayCommonImpl(Ljava/util/Collection;)[Ljava/lang/Object;
|
|
.locals 4
|
|
.param p0 # Ljava/util/Collection;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Collection<",
|
|
"*>;)[",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "collection"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
new-array p0, v1, [Ljava/lang/Object;
|
|
|
|
return-object p0
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
move-result v0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
.line 3
|
|
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
.line 4
|
|
:goto_0
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
.line 5
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v0, v1
|
|
|
|
move v1, v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final collectionToArrayCommonImpl(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
.locals 4
|
|
.param p0 # Ljava/util/Collection;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"*>;[TT;)[TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "collection"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "array"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-static {v1, p1}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->terminateCollectionToArray(I[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 7
|
|
:cond_0
|
|
array-length v0, p1
|
|
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v0, v2, :cond_1
|
|
|
|
.line 8
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {p1, v0}, Lkotlin/collections/ArraysKt__ArraysJVMKt;->arrayOfNulls([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
.line 9
|
|
:cond_1
|
|
invoke-interface {p0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
.line 11
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, p1, v1
|
|
|
|
move v1, v2
|
|
|
|
goto :goto_0
|
|
|
|
.line 12
|
|
:cond_2
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->terminateCollectionToArray(I[Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final containsAll(Ljava/util/Collection;Ljava/util/Collection;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"+TT;>;",
|
|
"Ljava/util/Collection<",
|
|
"+TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.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-string v0, "elements"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-interface {p0, p1}, Ljava/util/Collection;->containsAll(Ljava/util/Collection;)Z
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result p0
|
|
|
|
.line 15
|
|
return p0
|
|
.end method
|
|
|
|
.method public static emptyList()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlin/collections/EmptyList;->INSTANCE:Lkotlin/collections/EmptyList;
|
|
|
|
.line 2
|
|
.line 3
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static getIndices(Ljava/util/Collection;)Lkotlin/ranges/IntRange;
|
|
.locals 2
|
|
.param p0 # Ljava/util/Collection;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Collection<",
|
|
"*>;)",
|
|
"Lkotlin/ranges/IntRange;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.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
|
|
new-instance v0, Lkotlin/ranges/IntRange;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-interface {p0}, Ljava/util/Collection;->size()I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result p0
|
|
|
|
.line 12
|
|
add-int/lit8 p0, p0, -0x1
|
|
|
|
.line 13
|
|
.line 14
|
|
const/4 v1, 0x0
|
|
|
|
.line 15
|
|
invoke-direct {v0, v1, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static getLastIndex(Ljava/util/List;)I
|
|
.locals 1
|
|
.param p0 # Ljava/util/List;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.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
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result p0
|
|
|
|
.line 10
|
|
add-int/lit8 p0, p0, -0x1
|
|
|
|
.line 11
|
|
.line 12
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final ifEmpty(Ljava/util/Collection;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<C::",
|
|
"Ljava/util/Collection<",
|
|
"*>;:TR;R:",
|
|
"Ljava/lang/Object;",
|
|
">(TC;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"+TR;>;)TR;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "defaultValue"
|
|
|
|
.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-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v0
|
|
|
|
.line 10
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object p0
|
|
|
|
.line 16
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final isNotEmpty(Ljava/util/Collection;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"+TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.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
|
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result p0
|
|
|
|
.line 10
|
|
xor-int/lit8 p0, p0, 0x1
|
|
|
|
.line 11
|
|
.line 12
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final isNullOrEmpty(Ljava/util/Collection;)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"+TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
move-result p0
|
|
|
|
.line 7
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
.line 11
|
|
return p0
|
|
|
|
.line 12
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
.line 13
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final listOf()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 2
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static varargs listOf([Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 1
|
|
.param p0 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "elements"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
array-length v0, p0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
invoke-static {p0}, Lkotlin/collections/ArraysKt___ArraysJvmKt;->asList([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final listOfNotNull(Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 0
|
|
.param p0 # Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static varargs listOfNotNull([Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 1
|
|
.param p0 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "elements"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
invoke-static {p0}, Lkotlin/collections/ArraysKt___ArraysKt;->filterNotNull([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final mutableListOf()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">()",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.1"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static varargs mutableListOf([Ljava/lang/Object;)Ljava/util/List;
|
|
.locals 2
|
|
.param p0 # [Ljava/lang/Object;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([TT;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "elements"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
array-length v0, p0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance p0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {p0, v1}, Lkotlin/collections/CollectionsKt__CollectionsKt;->asCollection([Ljava/lang/Object;Z)Ljava/util/Collection;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final optimizeReadOnlyList(Ljava/util/List;)Ljava/util/List;
|
|
.locals 2
|
|
.param p0 # Ljava/util/List;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.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
|
|
invoke-interface {p0}, Ljava/util/List;->size()I
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v0
|
|
|
|
.line 10
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 11
|
|
.line 12
|
|
const/4 v1, 0x1
|
|
|
|
.line 13
|
|
if-eq v0, v1, :cond_0
|
|
|
|
.line 14
|
|
.line 15
|
|
return-object p0
|
|
|
|
.line 16
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 17
|
|
invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result-object p0
|
|
|
|
.line 21
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt__CollectionsJVMKt;->listOf(Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object p0
|
|
|
|
.line 25
|
|
return-object p0
|
|
|
|
.line 26
|
|
:cond_1
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object p0
|
|
|
|
.line 30
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final orEmpty(Ljava/util/Collection;)Ljava/util/Collection;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Collection<",
|
|
"+TT;>;)",
|
|
"Ljava/util/Collection<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
.line 1
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final orEmpty(Ljava/util/List;)Ljava/util/List;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/List<",
|
|
"+TT;>;)",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {}, Lkotlin/collections/CollectionsKt__CollectionsKt;->emptyList()Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final rangeCheck$CollectionsKt__CollectionsKt(III)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
const-string v0, ")."
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "fromIndex ("
|
|
|
|
.line 4
|
|
.line 5
|
|
if-gt p1, p2, :cond_2
|
|
|
|
.line 6
|
|
.line 7
|
|
if-ltz p1, :cond_1
|
|
|
|
.line 8
|
|
.line 9
|
|
if-gt p2, p0, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
return-void
|
|
|
|
.line 12
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
.line 13
|
|
.line 14
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
.line 15
|
|
.line 16
|
|
const-string v2, "toIndex ("
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
const-string p2, ") is greater than size ("
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object p0
|
|
|
|
.line 39
|
|
invoke-direct {p1, p0}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
throw p1
|
|
|
|
.line 43
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IndexOutOfBoundsException;
|
|
|
|
.line 44
|
|
.line 45
|
|
const-string p2, ") is less than zero."
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-static {p1, v1, p2}, Landroid/support/v4/media/a;->f(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result-object p1
|
|
|
|
.line 51
|
|
invoke-direct {p0, p1}, Ljava/lang/IndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
throw p0
|
|
|
|
.line 55
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 56
|
|
.line 57
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
.line 58
|
|
.line 59
|
|
invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
const-string p1, ") is greater than toIndex ("
|
|
|
|
.line 66
|
|
.line 67
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result-object p1
|
|
|
|
.line 80
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 81
|
|
.line 82
|
|
.line 83
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final shuffled(Ljava/lang/Iterable;Lkotlin/random/Random;)Ljava/util/List;
|
|
.locals 1
|
|
.param p0 # Ljava/lang/Iterable;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Lkotlin/random/Random;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/Iterable<",
|
|
"+TT;>;",
|
|
"Lkotlin/random/Random;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.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-string v0, "random"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt___CollectionsKt;->toMutableList(Ljava/lang/Iterable;)Ljava/util/List;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p0
|
|
|
|
.line 15
|
|
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt___CollectionsKt;->shuffle(Ljava/util/List;Lkotlin/random/Random;)V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static throwCountOverflow()V
|
|
.locals 2
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/ArithmeticException;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "Count overflow has happened."
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v0, v1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static throwIndexOverflow()V
|
|
.locals 2
|
|
.annotation build Lkotlin/PublishedApi;
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.3"
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/ArithmeticException;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "Index overflow has happened."
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-direct {v0, v1}, Ljava/lang/ArithmeticException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
throw v0
|
|
.end method
|