* 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>
1417 lines
47 KiB
Smali
1417 lines
47 KiB
Smali
.class Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000:\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0004\n\u0002\u0010\u0011\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0002\u0008\u0007\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\r\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0010\u0000\n\u0002\u0008\u0007\u001aY\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u0003\u001a\u0002H\u00022\u0006\u0010\u0004\u001a\u0002H\u000226\u0010\u0005\u001a\u001c\u0012\u0018\u0008\u0001\u0012\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u00070\u0006\"\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u0007\u00a2\u0006\u0002\u0010\t\u001aG\u0010\n\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u0003\u001a\u0002H\u00022\u0006\u0010\u0004\u001a\u0002H\u00022 \u0010\u0005\u001a\u001c\u0012\u0018\u0008\u0001\u0012\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u00070\u0006H\u0002\u00a2\u0006\u0004\u0008\u000b\u0010\t\u001aA\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u0003\u001a\u0002H\u00022\u0006\u0010\u0004\u001a\u0002H\u00022\u0018\u0010\u000c\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\r\u001a]\u0010\u0000\u001a\u00020\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000e2\u0006\u0010\u0003\u001a\u0002H\u00022\u0006\u0010\u0004\u001a\u0002H\u00022\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u000e0\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u000e`\u00112\u0012\u0010\u000c\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000e0\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0012\u001a-\u0010\u0013\u001a\u00020\u0001\"\u000c\u0008\u0000\u0010\u0002*\u0006\u0012\u0002\u0008\u00030\u00082\u0008\u0010\u0003\u001a\u0004\u0018\u0001H\u00022\u0008\u0010\u0004\u001a\u0004\u0018\u0001H\u0002\u00a2\u0006\u0002\u0010\u0014\u001aY\u0010\u0015\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u000226\u0010\u0005\u001a\u001c\u0012\u0018\u0008\u0001\u0012\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u00070\u0006\"\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u0007\u00a2\u0006\u0002\u0010\u0016\u001aC\u0010\u0015\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u00022\u001a\u0008\u0004\u0010\u000c\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0017\u001a_\u0010\u0015\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000e2\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u000e0\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u000e`\u00112\u0014\u0008\u0004\u0010\u000c\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000e0\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0018\u001aC\u0010\u0019\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u00022\u001a\u0008\u0004\u0010\u000c\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0017\u001a_\u0010\u0019\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000e2\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u000e0\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u000e`\u00112\u0014\u0008\u0004\u0010\u000c\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000e0\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0018\u001aW\u0010\u001a\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u00112\u001a\u0008\u0004\u0010\u000c\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0018\u001as\u0010\u001a\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000e*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u00112\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u000e0\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u000e`\u00112\u0014\u0008\u0004\u0010\u000c\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000e0\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u001b\u001aW\u0010\u001c\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u00112\u001a\u0008\u0004\u0010\u000c\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00080\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0018\u001as\u0010\u001c\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u000e*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u00112\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u000e0\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u000e`\u00112\u0014\u0008\u0004\u0010\u000c\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u000e0\u0007H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u001b\u001au\u0010\u001d\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u001128\u0008\u0004\u0010\u001e\u001a2\u0012\u0013\u0012\u0011H\u0002\u00a2\u0006\u000c\u0008 \u0012\u0008\u0008!\u0012\u0004\u0008\u0008(\u0003\u0012\u0013\u0012\u0011H\u0002\u00a2\u0006\u000c\u0008 \u0012\u0008\u0008!\u0012\u0004\u0008\u0008(\u0004\u0012\u0004\u0012\u00020\u00010\u001fH\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\"\u001aT\u0010#\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u00112\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u0002`\u0011H\u0086\u0004\u00a2\u0006\u0002\u0010$\u001aT\u0010%\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u00112\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u0002`\u0011H\u0086\u0004\u00a2\u0006\u0002\u0010$\u001aE\u0010&\u001a\u0016\u0012\u0006\u0012\u0004\u0018\u0001H\u00020\u0010j\n\u0012\u0006\u0012\u0004\u0018\u0001H\u0002`\u0011\"\u0008\u0008\u0000\u0010\u0002*\u00020\'2\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u0002`\u0011\u00a2\u0006\u0002\u0010(\u001a2\u0010&\u001a\u0016\u0012\u0006\u0012\u0004\u0018\u0001H\u00020\u0010j\n\u0012\u0006\u0012\u0004\u0018\u0001H\u0002`\u0011\"\u000e\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0008H\u0087\u0008\u00a2\u0006\u0002\u0010)\u001aE\u0010*\u001a\u0016\u0012\u0006\u0012\u0004\u0018\u0001H\u00020\u0010j\n\u0012\u0006\u0012\u0004\u0018\u0001H\u0002`\u0011\"\u0008\u0008\u0000\u0010\u0002*\u00020\'2\u001a\u0010\u000f\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\u00020\u0010j\n\u0012\u0006\u0008\u0000\u0012\u0002H\u0002`\u0011\u00a2\u0006\u0002\u0010(\u001a2\u0010*\u001a\u0016\u0012\u0006\u0012\u0004\u0018\u0001H\u00020\u0010j\n\u0012\u0006\u0012\u0004\u0018\u0001H\u0002`\u0011\"\u000e\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0008H\u0087\u0008\u00a2\u0006\u0002\u0010)\u001a+\u0010+\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u000e\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\u00a2\u0006\u0002\u0010)\u001a+\u0010,\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u000e\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u0008\u00a2\u0006\u0002\u0010)\u001a5\u0010-\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\"\u0004\u0008\u0000\u0010\u0002*\u0012\u0012\u0004\u0012\u0002H\u00020\u0010j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0011\u00a2\u0006\u0002\u0010(\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006."
|
|
}
|
|
d2 = {
|
|
"compareValuesBy",
|
|
"",
|
|
"T",
|
|
"a",
|
|
"b",
|
|
"selectors",
|
|
"",
|
|
"Lkotlin/Function1;",
|
|
"",
|
|
"(Ljava/lang/Object;Ljava/lang/Object;[Lkotlin/jvm/functions/Function1;)I",
|
|
"compareValuesByImpl",
|
|
"compareValuesByImpl$ComparisonsKt__ComparisonsKt",
|
|
"selector",
|
|
"(Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)I",
|
|
"K",
|
|
"comparator",
|
|
"Ljava/util/Comparator;",
|
|
"Lkotlin/Comparator;",
|
|
"(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)I",
|
|
"compareValues",
|
|
"(Ljava/lang/Comparable;Ljava/lang/Comparable;)I",
|
|
"compareBy",
|
|
"([Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;",
|
|
"(Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;",
|
|
"(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;",
|
|
"compareByDescending",
|
|
"thenBy",
|
|
"(Ljava/util/Comparator;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;",
|
|
"thenByDescending",
|
|
"thenComparator",
|
|
"comparison",
|
|
"Lkotlin/Function2;",
|
|
"Lkotlin/ParameterName;",
|
|
"name",
|
|
"(Ljava/util/Comparator;Lkotlin/jvm/functions/Function2;)Ljava/util/Comparator;",
|
|
"then",
|
|
"(Ljava/util/Comparator;Ljava/util/Comparator;)Ljava/util/Comparator;",
|
|
"thenDescending",
|
|
"nullsFirst",
|
|
"",
|
|
"(Ljava/util/Comparator;)Ljava/util/Comparator;",
|
|
"()Ljava/util/Comparator;",
|
|
"nullsLast",
|
|
"naturalOrder",
|
|
"reverseOrder",
|
|
"reversed",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x31
|
|
xs = "kotlin/comparisons/ComparisonsKt"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p2, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->nullsFirst$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic b(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1, p2, p3}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->thenDescending$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic c(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1, p2, p3}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->then$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final compareBy(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"K:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Comparator<",
|
|
"-TK;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+TK;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 5
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareBy$3;
|
|
|
|
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareBy$3;-><init>(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final compareBy(Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareBy$2;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareBy$2;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final varargs compareBy([Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 2
|
|
.param p0 # [Lkotlin/jvm/functions/Function1;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">([",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "selectors"
|
|
|
|
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
|
|
|
|
.line 2
|
|
new-instance v0, Lkotlin/comparisons/a;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
invoke-direct {v0, v1, p0}, Lkotlin/comparisons/a;-><init>(ILjava/lang/Object;)V
|
|
|
|
return-object v0
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "Failed requirement."
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static final compareBy$lambda$0$ComparisonsKt__ComparisonsKt([Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p1, p2, p0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->compareValuesByImpl$ComparisonsKt__ComparisonsKt(Ljava/lang/Object;Ljava/lang/Object;[Lkotlin/jvm/functions/Function1;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p0
|
|
|
|
.line 5
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final compareByDescending(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"K:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Comparator<",
|
|
"-TK;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+TK;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareByDescending$2;
|
|
|
|
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareByDescending$2;-><init>(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final compareByDescending(Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareByDescending$1;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$compareByDescending$1;-><init>(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
|
.locals 0
|
|
.param p0 # Ljava/lang/Comparable;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.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;TT;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
if-ne p0, p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p0, 0x0
|
|
|
|
.line 4
|
|
return p0
|
|
|
|
.line 5
|
|
:cond_0
|
|
if-nez p0, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 p0, -0x1
|
|
|
|
.line 8
|
|
return p0
|
|
|
|
.line 9
|
|
:cond_1
|
|
if-nez p1, :cond_2
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 p0, 0x1
|
|
|
|
.line 12
|
|
return p0
|
|
|
|
.line 13
|
|
:cond_2
|
|
invoke-interface {p0, p1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result p0
|
|
|
|
.line 17
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final compareValuesBy(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"K:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;TT;",
|
|
"Ljava/util/Comparator<",
|
|
"-TK;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+TK;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 5
|
|
invoke-interface {p3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p3, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p2, p0, p1}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final compareValuesBy(Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;TT;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
invoke-interface {p2, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/Comparable;
|
|
|
|
invoke-interface {p2, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Comparable;
|
|
|
|
invoke-static {p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final varargs compareValuesBy(Ljava/lang/Object;Ljava/lang/Object;[Lkotlin/jvm/functions/Function1;)I
|
|
.locals 1
|
|
.param p2 # [Lkotlin/jvm/functions/Function1;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;TT;[",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "selectors"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
array-length v0, p2
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {p0, p1, p2}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->compareValuesByImpl$ComparisonsKt__ComparisonsKt(Ljava/lang/Object;Ljava/lang/Object;[Lkotlin/jvm/functions/Function1;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Failed requirement."
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static final compareValuesByImpl$ComparisonsKt__ComparisonsKt(Ljava/lang/Object;Ljava/lang/Object;[Lkotlin/jvm/functions/Function1;)I
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(TT;TT;[",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
array-length v0, p2
|
|
|
|
.line 2
|
|
const/4 v1, 0x0
|
|
|
|
.line 3
|
|
move v2, v1
|
|
|
|
.line 4
|
|
:goto_0
|
|
if-ge v2, v0, :cond_1
|
|
|
|
.line 5
|
|
.line 6
|
|
aget-object v3, p2, v2
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-interface {v3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object v4
|
|
|
|
.line 12
|
|
check-cast v4, Ljava/lang/Comparable;
|
|
|
|
.line 13
|
|
.line 14
|
|
invoke-interface {v3, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-result-object v3
|
|
|
|
.line 18
|
|
check-cast v3, Ljava/lang/Comparable;
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {v4, v3}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result v3
|
|
|
|
.line 24
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 25
|
|
.line 26
|
|
return v3
|
|
|
|
.line 27
|
|
:cond_0
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 28
|
|
.line 29
|
|
goto :goto_0
|
|
|
|
.line 30
|
|
:cond_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public static synthetic d([Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1, p2}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->compareBy$lambda$0$ComparisonsKt__ComparisonsKt([Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic e(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p2, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->nullsLast$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static naturalOrder()Ljava/util/Comparator;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>()",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlin/comparisons/NaturalOrderComparator;->INSTANCE:Lkotlin/comparisons/NaturalOrderComparator;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "null cannot be cast to non-null type java.util.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.naturalOrder>"
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final nullsFirst()Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>()",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 2
|
|
invoke-static {}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->naturalOrder()Ljava/util/Comparator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->nullsFirst(Ljava/util/Comparator;)Ljava/util/Comparator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final nullsFirst(Ljava/util/Comparator;)Ljava/util/Comparator;
|
|
.locals 2
|
|
.param p0 # 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/Comparator<",
|
|
"-TT;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/comparisons/a;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, v1, p0}, Lkotlin/comparisons/a;-><init>(ILjava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final nullsFirst$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
if-ne p1, p2, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p0, 0x0
|
|
|
|
.line 4
|
|
return p0
|
|
|
|
.line 5
|
|
:cond_0
|
|
if-nez p1, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 p0, -0x1
|
|
|
|
.line 8
|
|
return p0
|
|
|
|
.line 9
|
|
:cond_1
|
|
if-nez p2, :cond_2
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 p0, 0x1
|
|
|
|
.line 12
|
|
return p0
|
|
|
|
.line 13
|
|
:cond_2
|
|
invoke-interface {p0, p1, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result p0
|
|
|
|
.line 17
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final nullsLast()Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>()",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.end annotation
|
|
|
|
.line 2
|
|
invoke-static {}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->naturalOrder()Ljava/util/Comparator;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->nullsLast(Ljava/util/Comparator;)Ljava/util/Comparator;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final nullsLast(Ljava/util/Comparator;)Ljava/util/Comparator;
|
|
.locals 2
|
|
.param p0 # 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/Comparator<",
|
|
"-TT;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "comparator"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/comparisons/a;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1, p0}, Lkotlin/comparisons/a;-><init>(ILjava/lang/Object;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final nullsLast$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
if-ne p1, p2, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 p0, 0x0
|
|
|
|
.line 4
|
|
return p0
|
|
|
|
.line 5
|
|
:cond_0
|
|
if-nez p1, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
const/4 p0, 0x1
|
|
|
|
.line 8
|
|
return p0
|
|
|
|
.line 9
|
|
:cond_1
|
|
if-nez p2, :cond_2
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 p0, -0x1
|
|
|
|
.line 12
|
|
return p0
|
|
|
|
.line 13
|
|
:cond_2
|
|
invoke-interface {p0, p1, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result p0
|
|
|
|
.line 17
|
|
return p0
|
|
.end method
|
|
|
|
.method public static reverseOrder()Ljava/util/Comparator;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T::",
|
|
"Ljava/lang/Comparable<",
|
|
"-TT;>;>()",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlin/comparisons/ReverseOrderComparator;->INSTANCE:Lkotlin/comparisons/ReverseOrderComparator;
|
|
|
|
.line 2
|
|
.line 3
|
|
const-string v1, "null cannot be cast to non-null type java.util.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.reverseOrder>"
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final reversed(Ljava/util/Comparator;)Ljava/util/Comparator;
|
|
.locals 3
|
|
.param p0 # 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/Comparator<",
|
|
"TT;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"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
|
|
instance-of v0, p0, Lkotlin/comparisons/ReversedComparator;
|
|
|
|
.line 7
|
|
.line 8
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
check-cast p0, Lkotlin/comparisons/ReversedComparator;
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-virtual {p0}, Lkotlin/comparisons/ReversedComparator;->getComparator()Ljava/util/Comparator;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object p0
|
|
|
|
.line 16
|
|
return-object p0
|
|
|
|
.line 17
|
|
:cond_0
|
|
sget-object v0, Lkotlin/comparisons/NaturalOrderComparator;->INSTANCE:Lkotlin/comparisons/NaturalOrderComparator;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result v1
|
|
|
|
.line 23
|
|
const-string v2, "null cannot be cast to non-null type java.util.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.reversed>"
|
|
|
|
.line 24
|
|
.line 25
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 26
|
|
.line 27
|
|
sget-object p0, Lkotlin/comparisons/ReverseOrderComparator;->INSTANCE:Lkotlin/comparisons/ReverseOrderComparator;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {p0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
return-object p0
|
|
|
|
.line 33
|
|
:cond_1
|
|
sget-object v1, Lkotlin/comparisons/ReverseOrderComparator;->INSTANCE:Lkotlin/comparisons/ReverseOrderComparator;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result v1
|
|
|
|
.line 39
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
return-object v0
|
|
|
|
.line 45
|
|
:cond_2
|
|
new-instance v0, Lkotlin/comparisons/ReversedComparator;
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-direct {v0, p0}, Lkotlin/comparisons/ReversedComparator;-><init>(Ljava/util/Comparator;)V
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final then(Ljava/util/Comparator;Ljava/util/Comparator;)Ljava/util/Comparator;
|
|
.locals 2
|
|
.param p0 # Ljava/util/Comparator;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # 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/Comparator<",
|
|
"TT;>;",
|
|
"Ljava/util/Comparator<",
|
|
"-TT;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"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
|
|
const-string v0, "comparator"
|
|
|
|
.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
|
|
new-instance v0, Lkotlin/comparisons/b;
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 v1, 0x1
|
|
|
|
.line 14
|
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/comparisons/b;-><init>(Ljava/util/Comparator;Ljava/util/Comparator;I)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final then$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-interface {p0, p2, p3}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p0
|
|
|
|
.line 5
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
return p0
|
|
|
|
.line 8
|
|
:cond_0
|
|
invoke-interface {p1, p2, p3}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result p0
|
|
|
|
.line 12
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final thenBy(Ljava/util/Comparator;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"K:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;",
|
|
"Ljava/util/Comparator<",
|
|
"-TK;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+TK;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenBy$2;
|
|
|
|
invoke-direct {v0, p0, p1, p2}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenBy$2;-><init>(Ljava/util/Comparator;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final thenBy(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.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, "selector"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenBy$1;
|
|
|
|
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenBy$1;-><init>(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final thenByDescending(Ljava/util/Comparator;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
"K:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;",
|
|
"Ljava/util/Comparator<",
|
|
"-TK;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+TK;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "selector"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenByDescending$2;
|
|
|
|
invoke-direct {v0, p0, p1, p2}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenByDescending$2;-><init>(Ljava/util/Comparator;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final thenByDescending(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-TT;+",
|
|
"Ljava/lang/Comparable<",
|
|
"*>;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/internal/InlineOnly;
|
|
.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, "selector"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenByDescending$1;
|
|
|
|
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenByDescending$1;-><init>(Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final thenComparator(Ljava/util/Comparator;Lkotlin/jvm/functions/Function2;)Ljava/util/Comparator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;",
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
"-TT;-TT;",
|
|
"Ljava/lang/Integer;",
|
|
">;)",
|
|
"Ljava/util/Comparator<",
|
|
"TT;>;"
|
|
}
|
|
.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, "comparison"
|
|
|
|
.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
|
|
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenComparator$1;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenComparator$1;-><init>(Ljava/util/Comparator;Lkotlin/jvm/functions/Function2;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final thenDescending(Ljava/util/Comparator;Ljava/util/Comparator;)Ljava/util/Comparator;
|
|
.locals 2
|
|
.param p0 # Ljava/util/Comparator;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # 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/Comparator<",
|
|
"TT;>;",
|
|
"Ljava/util/Comparator<",
|
|
"-TT;>;)",
|
|
"Ljava/util/Comparator<",
|
|
"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
|
|
const-string v0, "comparator"
|
|
|
|
.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
|
|
new-instance v0, Lkotlin/comparisons/b;
|
|
|
|
.line 12
|
|
.line 13
|
|
const/4 v1, 0x0
|
|
|
|
.line 14
|
|
invoke-direct {v0, p0, p1, v1}, Lkotlin/comparisons/b;-><init>(Ljava/util/Comparator;Ljava/util/Comparator;I)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static final thenDescending$lambda$0$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-interface {p0, p2, p3}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p0
|
|
|
|
.line 5
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
return p0
|
|
|
|
.line 8
|
|
:cond_0
|
|
invoke-interface {p1, p3, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result p0
|
|
|
|
.line 12
|
|
return p0
|
|
.end method
|