apkfuckery/com.discord/smali_classes2/kotlin/a/ae.smali

396 lines
9.1 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Lkotlin/a/ae;
.super Lkotlin/a/ad;
2019-02-04 20:29:01 +00:00
.source "Maps.kt"
2019-02-04 20:08:30 +00:00
# direct methods
.method public static final a(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Ljava/util/Map<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
2019-05-03 18:53:54 +00:00
const-string v0, "$this$plus"
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
const-string v0, "map"
2019-05-22 23:20:16 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
invoke-virtual {v0, p1}, Ljava/util/LinkedHashMap;->putAll(Ljava/util/Map;)V
check-cast v0, Ljava/util/Map;
return-object v0
.end method
.method public static final a(Ljava/util/Map;Lkotlin/Pair;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
2019-05-03 18:53:54 +00:00
const-string v0, "$this$plus"
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
const-string v0, "pair"
2019-05-22 23:20:16 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
invoke-static {p1}, Lkotlin/a/ab;->a(Lkotlin/Pair;)Ljava/util/Map;
move-result-object p0
return-object p0
:cond_0
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
iget-object p0, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
iget-object p1, p1, Lkotlin/Pair;->second:Ljava/lang/Object;
invoke-virtual {v0, p0, p1}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Ljava/util/Map;
return-object v0
.end method
.method public static final varargs a([Lkotlin/Pair;)Ljava/util/Map;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">([",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
const-string v0, "pairs"
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
array-length v0, p0
if-lez v0, :cond_0
new-instance v0, Ljava/util/LinkedHashMap;
array-length v1, p0
2019-05-16 22:41:35 +00:00
invoke-static {v1}, Lkotlin/a/ab;->cU(I)I
2019-02-04 20:08:30 +00:00
move-result v1
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
check-cast v0, Ljava/util/Map;
invoke-static {p0, v0}, Lkotlin/a/ab;->a([Lkotlin/Pair;Ljava/util/Map;)Ljava/util/Map;
move-result-object p0
return-object p0
:cond_0
invoke-static {}, Lkotlin/a/ab;->emptyMap()Ljava/util/Map;
move-result-object p0
return-object p0
.end method
.method public static final a([Lkotlin/Pair;Ljava/util/Map;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"M::",
"Ljava/util/Map<",
"-TK;-TV;>;>([",
"Lkotlin/Pair<",
"+TK;+TV;>;TM;)TM;"
}
.end annotation
2019-05-03 18:53:54 +00:00
const-string v0, "$this$toMap"
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
const-string v0, "destination"
2019-05-22 23:20:16 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
invoke-static {p1, p0}, Lkotlin/a/ab;->a(Ljava/util/Map;[Lkotlin/Pair;)V
return-object p1
.end method
.method public static final a(Ljava/util/Map;[Lkotlin/Pair;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"-TK;-TV;>;[",
"Lkotlin/Pair<",
"+TK;+TV;>;)V"
}
.end annotation
2019-05-03 18:53:54 +00:00
const-string v0, "$this$putAll"
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
const-string v0, "pairs"
2019-05-22 23:20:16 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
array-length v0, p1
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_0
aget-object v2, p1, v1
iget-object v3, v2, Lkotlin/Pair;->first:Ljava/lang/Object;
iget-object v2, v2, Lkotlin/Pair;->second:Ljava/lang/Object;
invoke-interface {p0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public static final varargs b([Lkotlin/Pair;)Ljava/util/Map;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">([",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
const-string v0, "pairs"
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
array-length v1, p0
2019-05-16 22:41:35 +00:00
invoke-static {v1}, Lkotlin/a/ab;->cU(I)I
2019-02-04 20:08:30 +00:00
move-result v1
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
check-cast v0, Ljava/util/Map;
invoke-static {v0, p0}, Lkotlin/a/ab;->a(Ljava/util/Map;[Lkotlin/Pair;)V
return-object v0
.end method
2019-05-16 22:41:35 +00:00
.method public static final cU(I)I
2019-02-04 20:08:30 +00:00
.locals 1
const/4 v0, 0x3
if-ge p0, v0, :cond_0
add-int/lit8 p0, p0, 0x1
return p0
:cond_0
const/high16 v0, 0x40000000 # 2.0f
if-ge p0, v0, :cond_1
div-int/lit8 v0, p0, 0x3
add-int/2addr p0, v0
return p0
:cond_1
const p0, 0x7fffffff
return p0
.end method
.method public static final emptyMap()Ljava/util/Map;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">()",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
2019-05-16 22:41:35 +00:00
sget-object v0, Lkotlin/a/y;->bfe:Lkotlin/a/y;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_0
check-cast v0, Ljava/util/Map;
return-object v0
:cond_0
new-instance v0, Lkotlin/r;
const-string v1, "null cannot be cast to non-null type kotlin.collections.Map<K, V>"
invoke-direct {v0, v1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw v0
.end method
2019-04-25 10:39:51 +00:00
2019-05-16 22:41:35 +00:00
.method public static final r(Ljava/util/Map;)Ljava/util/Map;
2019-04-25 10:39:51 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
2019-05-03 18:53:54 +00:00
const-string v0, "$this$toMutableMap"
2019-04-25 10:39:51 +00:00
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-04-25 10:39:51 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
check-cast v0, Ljava/util/Map;
return-object v0
.end method
2019-05-16 22:41:35 +00:00
.method public static final s(Ljava/util/Map;)Ljava/util/Map;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
}
.end annotation
const-string v0, "$this$optimizeReadOnlyMap"
2019-05-22 23:20:16 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-05-16 22:41:35 +00:00
invoke-interface {p0}, Ljava/util/Map;->size()I
move-result v0
if-eqz v0, :cond_1
const/4 v1, 0x1
if-eq v0, v1, :cond_0
return-object p0
:cond_0
invoke-static {p0}, Lkotlin/a/ab;->q(Ljava/util/Map;)Ljava/util/Map;
move-result-object p0
return-object p0
:cond_1
invoke-static {}, Lkotlin/a/ab;->emptyMap()Ljava/util/Map;
move-result-object p0
return-object p0
.end method