Rabbit-R1/switch port/smali/smali_classes3/kotlin/comparisons/ComparisonsKt__ComparisonsKt.smali

1157 lines
43 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;
.super Ljava/lang/Object;
.source "Comparisons.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000<\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\u0011\n\u0002\u0008\u0005\n\u0002\u0010\u0008\n\u0002\u0008\u000b\n\u0002\u0010\u0000\n\u0002\u0008\u0008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u001a>\u0010\u0000\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0001j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0003\"\u0004\u0008\u0000\u0010\u00022\u001a\u0008\u0004\u0010\u0004\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u0005H\u0087\u0008\u00f8\u0001\u0000\u001aY\u0010\u0000\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0001j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0003\"\u0004\u0008\u0000\u0010\u000226\u0010\u0007\u001a\u001c\u0012\u0018\u0008\u0001\u0012\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u00050\u0008\"\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u0005\u00a2\u0006\u0002\u0010\t\u001aZ\u0010\u0000\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0001j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0003\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\n2\u001a\u0010\u000b\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\n0\u0001j\n\u0012\u0006\u0008\u0000\u0012\u0002H\n`\u00032\u0014\u0008\u0004\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\n0\u0005H\u0087\u0008\u00f8\u0001\u0000\u001a>\u0010\u000c\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0001j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0003\"\u0004\u0008\u0000\u0010\u00022\u001a\u0008\u0004\u0010\u0004\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u0005H\u0087\u0008\u00f8\u0001\u0000\u001aZ\u0010\u000c\u001a\u0012\u0012\u0004\u0012\u0002H\u00020\u0001j\u0008\u0012\u0004\u0012\u0002H\u0002`\u0003\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\n2\u001a\u0010\u000b\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\n0\u0001j\n\u0012\u0006\u0008\u0000\u0012\u0002H\n`\u00032\u0014\u0008\u0004\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\n0\u0005H\u0087\u0008\u00f8\u0001\u0000\u001a-\u0010\r\u001a\u00020\u000e\"\u000c\u0008\u0000\u0010\u0002*\u0006\u0012\u0002\u0008\u00030\u00062\u0008\u0010\u000f\u001a\u0004\u0018\u0001H\u00022\u0008\u0010\u0010\u001a\u0004\u0018\u0001H\u0002\u00a2\u0006\u0002\u0010\u0011\u001aA\u0010\u0012\u001a\u00020\u000e\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u000f\u001a\u0002H\u00022\u0006\u0010\u0010\u001a\u0002H\u00022\u0018\u0010\u0004\u001a\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u0005H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0013\u001aY\u0010\u0012\u001a\u00020\u000e\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u000f\u001a\u0002H\u00022\u0006\u0010\u0010\u001a\u0002H\u000226\u0010\u0007\u001a\u001c\u0012\u0018\u0008\u0001\u0012\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u00050\u0008\"\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u0005\u00a2\u0006\u0002\u0010\u0014\u001a]\u0010\u0012\u001a\u00020\u000e\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\n2\u0006\u0010\u000f\u001a\u0002H\u00022\u0006\u0010\u0010\u001a\u0002H\u00022\u001a\u0010\u000b\u001a\u0016\u0012\u0006\u0008\u0000\u0012\u0002H\n0\u0001j\n\u0012\u0006\u0008\u0000\u0012\u0002H\n`\u00032\u0012\u0010\u0004\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\n0\u0005H\u0087\u0008\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0015\u001aG\u0010\u0016\u001a\u00020\u000e\"\u0004\u0008\u0000\u0010\u00022\u0006\u0010\u000f\u001a\u0002H\u00022\u0006\u0010\u0010\u001a\u0002H\u00022 \u0010\u0007\u001a\u001c\u0012\u0018\u0008\u0001\u0012\u0014\u0012\u0004\u0012\u0002H\u0002\u0012\n\u0012\u0008\u0012\u0002\u0008\u0003\u0018\u00010\u00060\u00050\u0008H\u0002\u00a2\u
}
d2 = {
"compareBy",
"Ljava/util/Comparator;",
"T",
"Lkotlin/Comparator;",
"selector",
"Lkotlin/Function1;",
"",
"selectors",
"",
"([Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator;",
"K",
"comparator",
"compareByDescending",
"compareValues",
"",
"a",
"b",
"(Ljava/lang/Comparable;Ljava/lang/Comparable;)I",
"compareValuesBy",
"(Ljava/lang/Object;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)I",
"(Ljava/lang/Object;Ljava/lang/Object;[Lkotlin/jvm/functions/Function1;)I",
"(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)I",
"compareValuesByImpl",
"compareValuesByImpl$ComparisonsKt__ComparisonsKt",
"naturalOrder",
"nullsFirst",
"",
"nullsLast",
"reverseOrder",
"reversed",
"then",
"thenBy",
"thenByDescending",
"thenComparator",
"comparison",
"Lkotlin/Function2;",
"Lkotlin/ParameterName;",
"name",
"thenDescending",
"kotlin-stdlib"
}
k = 0x5
mv = {
0x1,
0x9,
0x0
}
xi = 0x31
xs = "kotlin/comparisons/ComparisonsKt"
.end annotation
# direct methods
.method public static synthetic $r8$lambda$-gpd5rn26uA_qKcB-hI2DNr-hgw(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
invoke-static {p0, p1, p2, p3}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->thenDescending$lambda$2$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 $r8$lambda$6WnilmL2ArBCKOeeYXXH8ELrg4w(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
invoke-static {p0, p1, p2}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->nullsFirst$lambda$3$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
return p0
.end method
.method public static synthetic $r8$lambda$Uw4BAo9Vwbm4C3dkpmfByDP7hFs(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
invoke-static {p0, p1, p2}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->nullsLast$lambda$4$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
return p0
.end method
.method public static synthetic $r8$lambda$iapHOTD2lDnsDFFbGrAXPm4qZHg(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
invoke-static {p0, p1, p2, p3}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->then$lambda$1$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 $r8$lambda$nq8UCGW90ISdL04-oV8sJ24EEKI([Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
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 constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.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
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 112
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
check-cast v0, Ljava/util/Comparator;
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
const-string v0, "selector"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 102
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
check-cast v0, Ljava/util/Comparator;
return-object v0
.end method
.method public static final varargs 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
const-string v0, "selectors"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 90
array-length v0, p0
if-lez v0, :cond_0
.line 91
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda1;
invoke-direct {v0, p0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda1;-><init>([Lkotlin/jvm/functions/Function1;)V
return-object v0
.line 90
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Failed requirement."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
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 1
const-string v0, "$selectors"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 91
invoke-static {p1, p2, p0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt;->compareValuesByImpl$ComparisonsKt__ComparisonsKt(Ljava/lang/Object;Ljava/lang/Object;[Lkotlin/jvm/functions/Function1;)I
move-result p0
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
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 133
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
check-cast v0, Ljava/util/Comparator;
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
const-string v0, "selector"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 121
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
check-cast v0, Ljava/util/Comparator;
return-object v0
.end method
.method public static final compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"*>;>(TT;TT;)I"
}
.end annotation
if-ne p0, p1, :cond_0
const/4 p0, 0x0
return p0
:cond_0
if-nez p0, :cond_1
const/4 p0, -0x1
return p0
:cond_1
if-nez p1, :cond_2
const/4 p0, 0x1
return p0
.line 78
:cond_2
invoke-interface {p0, p1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result p0
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
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 54
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
const-string v0, "selector"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 42
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;->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
.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 19
array-length v0, p2
if-lez v0, :cond_0
.line 20
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 19
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Failed requirement."
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.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 24
array-length v0, p2
const/4 v1, 0x0
move v2, v1
:goto_0
if-ge v2, v0, :cond_1
aget-object v3, p2, v2
.line 25
invoke-interface {v3, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Comparable;
.line 26
invoke-interface {v3, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Comparable;
.line 27
invoke-static {v4, v3}, Lkotlin/comparisons/ComparisonsKt;->compareValues(Ljava/lang/Comparable;Ljava/lang/Comparable;)I
move-result v3
if-eqz v3, :cond_0
return v3
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
return v1
.end method
.method public static final naturalOrder()Ljava/util/Comparator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>()",
"Ljava/util/Comparator<",
"TT;>;"
}
.end annotation
.line 286
sget-object v0, Lkotlin/comparisons/NaturalOrderComparator;->INSTANCE:Lkotlin/comparisons/NaturalOrderComparator;
const-string v1, "null cannot be cast to non-null type java.util.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.naturalOrder>{ kotlin.TypeAliasesKt.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.naturalOrder> }"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v0, Ljava/util/Comparator;
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
.line 250
invoke-static {}, Lkotlin/comparisons/ComparisonsKt;->naturalOrder()Ljava/util/Comparator;
move-result-object v0
invoke-static {v0}, Lkotlin/comparisons/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 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Comparator<",
"-TT;>;)",
"Ljava/util/Comparator<",
"TT;>;"
}
.end annotation
const-string v0, "comparator"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 233
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda3;
invoke-direct {v0, p0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda3;-><init>(Ljava/util/Comparator;)V
return-object v0
.end method
.method private static final nullsFirst$lambda$3$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
const-string v0, "$comparator"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ne p1, p2, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
if-nez p1, :cond_1
const/4 p0, -0x1
goto :goto_0
:cond_1
if-nez p2, :cond_2
const/4 p0, 0x1
goto :goto_0
.line 238
:cond_2
invoke-interface {p0, p1, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
:goto_0
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
.line 277
invoke-static {}, Lkotlin/comparisons/ComparisonsKt;->naturalOrder()Ljava/util/Comparator;
move-result-object v0
invoke-static {v0}, Lkotlin/comparisons/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 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Comparator<",
"-TT;>;)",
"Ljava/util/Comparator<",
"TT;>;"
}
.end annotation
const-string v0, "comparator"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 260
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda4;
invoke-direct {v0, p0}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda4;-><init>(Ljava/util/Comparator;)V
return-object v0
.end method
.method private static final nullsLast$lambda$4$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
const-string v0, "$comparator"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
if-ne p1, p2, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
if-nez p1, :cond_1
const/4 p0, 0x1
goto :goto_0
:cond_1
if-nez p2, :cond_2
const/4 p0, -0x1
goto :goto_0
.line 265
:cond_2
invoke-interface {p0, p1, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
:goto_0
return p0
.end method
.method public static final reverseOrder()Ljava/util/Comparator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/Comparable<",
"-TT;>;>()",
"Ljava/util/Comparator<",
"TT;>;"
}
.end annotation
.line 295
sget-object v0, Lkotlin/comparisons/ReverseOrderComparator;->INSTANCE:Lkotlin/comparisons/ReverseOrderComparator;
const-string v1, "null cannot be cast to non-null type java.util.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.reverseOrder>{ kotlin.TypeAliasesKt.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.reverseOrder> }"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast v0, Ljava/util/Comparator;
return-object v0
.end method
.method public static final reversed(Ljava/util/Comparator;)Ljava/util/Comparator;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Comparator<",
"TT;>;)",
"Ljava/util/Comparator<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 304
instance-of v0, p0, Lkotlin/comparisons/ReversedComparator;
if-eqz v0, :cond_0
check-cast p0, Lkotlin/comparisons/ReversedComparator;
invoke-virtual {p0}, Lkotlin/comparisons/ReversedComparator;->getComparator()Ljava/util/Comparator;
move-result-object p0
goto :goto_0
.line 305
:cond_0
sget-object v0, Lkotlin/comparisons/NaturalOrderComparator;->INSTANCE:Lkotlin/comparisons/NaturalOrderComparator;
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
const-string v1, "null cannot be cast to non-null type java.util.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.reversed>{ kotlin.TypeAliasesKt.Comparator<T of kotlin.comparisons.ComparisonsKt__ComparisonsKt.reversed> }"
if-eqz v0, :cond_1
sget-object p0, Lkotlin/comparisons/ReverseOrderComparator;->INSTANCE:Lkotlin/comparisons/ReverseOrderComparator;
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/util/Comparator;
goto :goto_0
.line 306
:cond_1
sget-object v0, Lkotlin/comparisons/ReverseOrderComparator;->INSTANCE:Lkotlin/comparisons/ReverseOrderComparator;
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_2
sget-object p0, Lkotlin/comparisons/NaturalOrderComparator;->INSTANCE:Lkotlin/comparisons/NaturalOrderComparator;
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p0, Ljava/util/Comparator;
goto :goto_0
.line 307
:cond_2
new-instance v0, Lkotlin/comparisons/ReversedComparator;
invoke-direct {v0, p0}, Lkotlin/comparisons/ReversedComparator;-><init>(Ljava/util/Comparator;)V
move-object p0, v0
check-cast p0, Ljava/util/Comparator;
:goto_0
return-object p0
.end method
.method public static final then(Ljava/util/Comparator;Ljava/util/Comparator;)Ljava/util/Comparator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Comparator<",
"TT;>;",
"Ljava/util/Comparator<",
"-TT;>;)",
"Ljava/util/Comparator<",
"TT;>;"
}
.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
.line 207
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda0;
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda0;-><init>(Ljava/util/Comparator;Ljava/util/Comparator;)V
return-object v0
.end method
.method private static final then$lambda$1$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
const-string v0, "$this_then"
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
.line 208
invoke-interface {p0, p2, p3}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
if-eqz p0, :cond_0
goto :goto_0
.line 209
:cond_0
invoke-interface {p1, p2, p3}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
:goto_0
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
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 156
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
check-cast v0, Ljava/util/Comparator;
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
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 143
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
check-cast v0, Ljava/util/Comparator;
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
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 182
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
check-cast v0, Ljava/util/Comparator;
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
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 169
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
check-cast v0, Ljava/util/Comparator;
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
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 {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 195
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenComparator$1;
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$thenComparator$1;-><init>(Ljava/util/Comparator;Lkotlin/jvm/functions/Function2;)V
check-cast v0, Ljava/util/Comparator;
return-object v0
.end method
.method public static final thenDescending(Ljava/util/Comparator;Ljava/util/Comparator;)Ljava/util/Comparator;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Comparator<",
"TT;>;",
"Ljava/util/Comparator<",
"-TT;>;)",
"Ljava/util/Comparator<",
"TT;>;"
}
.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
.line 219
new-instance v0, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda2;
invoke-direct {v0, p0, p1}, Lkotlin/comparisons/ComparisonsKt__ComparisonsKt$$ExternalSyntheticLambda2;-><init>(Ljava/util/Comparator;Ljava/util/Comparator;)V
return-object v0
.end method
.method private static final thenDescending$lambda$2$ComparisonsKt__ComparisonsKt(Ljava/util/Comparator;Ljava/util/Comparator;Ljava/lang/Object;Ljava/lang/Object;)I
.locals 1
const-string v0, "$this_thenDescending"
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
.line 220
invoke-interface {p0, p2, p3}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
if-eqz p0, :cond_0
goto :goto_0
.line 221
:cond_0
invoke-interface {p1, p3, p2}, Ljava/util/Comparator;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
move-result p0
:goto_0
return p0
.end method