Rabbit-R1/switch port/smali/smali_classes3/kotlin/collections/MapsKt___MapsJvmKt.smali

394 lines
12 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class Lkotlin/collections/MapsKt___MapsJvmKt;
.super Lkotlin/collections/MapsKt__MapsKt;
.source "_MapsJvm.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000(\n\u0000\n\u0002\u0010&\n\u0002\u0008\u0003\n\u0002\u0010\u000f\n\u0002\u0010$\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u001ah\u0010\u0000\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0003\"\u000e\u0008\u0002\u0010\u0004*\u0008\u0012\u0004\u0012\u0002H\u00040\u0005*\u0010\u0012\u0006\u0008\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00062\u001e\u0010\u0007\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0001\u0012\u0004\u0012\u0002H\u00040\u0008H\u0087\u0008\u00f8\u0001\u0000\u001ai\u0010\t\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0003*\u0010\u0012\u0006\u0008\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000622\u0010\n\u001a.\u0012\u0012\u0008\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00010\u000bj\u0016\u0012\u0012\u0008\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0001`\u000cH\u0087\u0008\u001ah\u0010\r\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0003\"\u000e\u0008\u0002\u0010\u0004*\u0008\u0012\u0004\u0012\u0002H\u00040\u0005*\u0010\u0012\u0006\u0008\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00062\u001e\u0010\u0007\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0001\u0012\u0004\u0012\u0002H\u00040\u0008H\u0087\u0008\u00f8\u0001\u0000\u001ah\u0010\u000e\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0001\"\u0004\u0008\u0000\u0010\u0002\"\u0004\u0008\u0001\u0010\u0003*\u0010\u0012\u0006\u0008\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000622\u0010\n\u001a.\u0012\u0012\u0008\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00010\u000bj\u0016\u0012\u0012\u0008\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0001`\u000cH\u0007\u0082\u0002\u0007\n\u0005\u0008\u009920\u0001\u00a8\u0006\u000f"
}
d2 = {
"maxBy",
"",
"K",
"V",
"R",
"",
"",
"selector",
"Lkotlin/Function1;",
"maxWith",
"comparator",
"Ljava/util/Comparator;",
"Lkotlin/Comparator;",
"minBy",
"minWith",
"kotlin-stdlib"
}
k = 0x5
mv = {
0x1,
0x9,
0x0
}
xi = 0x31
xs = "kotlin/collections/MapsKt"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lkotlin/collections/MapsKt__MapsKt;-><init>()V
return-void
.end method
.method private static final synthetic maxBy(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map$Entry;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/util/Map$Entry<",
"+TK;+TV;>;+TR;>;)",
"Ljava/util/Map$Entry<",
"TK;TV;>;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
message = "Use maxByOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.maxByOrNull(selector)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.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 24
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
check-cast p0, Ljava/lang/Iterable;
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
goto :goto_1
:cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_1
:goto_0
move-object p0, v0
goto :goto_1
:cond_1
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Comparable;
:cond_2
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Comparable;
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v4
if-gez v4, :cond_3
move-object v0, v2
move-object v1, v3
:cond_3
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_2
goto :goto_0
:goto_1
check-cast p0, Ljava/util/Map$Entry;
return-object p0
.end method
.method private static final synthetic maxWith(Ljava/util/Map;Ljava/util/Comparator;)Ljava/util/Map$Entry;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Ljava/util/Comparator<",
"-",
"Ljava/util/Map$Entry<",
"+TK;+TV;>;>;)",
"Ljava/util/Map$Entry<",
"TK;TV;>;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
message = "Use maxWithOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.maxWithOrNull(comparator)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.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 32
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
check-cast p0, Ljava/lang/Iterable;
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->maxWithOrNull(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/util/Map$Entry;
return-object p0
.end method
.method public static final synthetic minBy(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map$Entry;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"R::",
"Ljava/lang/Comparable<",
"-TR;>;>(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/util/Map$Entry<",
"+TK;+TV;>;+TR;>;)",
"Ljava/util/Map$Entry<",
"TK;TV;>;"
}
.end annotation
.annotation runtime Lkotlin/Deprecated;
message = "Use minByOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.minByOrNull(selector)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.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 39
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
check-cast p0, Ljava/lang/Iterable;
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_0
const/4 p0, 0x0
goto :goto_1
:cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_1
:goto_0
move-object p0, v0
goto :goto_1
:cond_1
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Comparable;
:cond_2
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
invoke-interface {p1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/Comparable;
invoke-interface {v1, v3}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
move-result v4
if-lez v4, :cond_3
move-object v0, v2
move-object v1, v3
:cond_3
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_2
goto :goto_0
:goto_1
check-cast p0, Ljava/util/Map$Entry;
return-object p0
.end method
.method public static final synthetic minWith(Ljava/util/Map;Ljava/util/Comparator;)Ljava/util/Map$Entry;
.locals 1
.annotation runtime Lkotlin/Deprecated;
message = "Use minWithOrNull instead."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "this.minWithOrNull(comparator)"
imports = {}
.end subannotation
.end annotation
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
errorSince = "1.5"
hiddenSince = "1.6"
warningSince = "1.4"
.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 46
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p0
check-cast p0, Ljava/lang/Iterable;
invoke-static {p0, p1}, Lkotlin/collections/CollectionsKt;->minWithOrNull(Ljava/lang/Iterable;Ljava/util/Comparator;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/util/Map$Entry;
return-object p0
.end method