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

396 lines
9.1 KiB
Smali
Raw Normal View History

2019-07-31 00:08:31 +00:00
.class public Lkotlin/a/ag;
.super Lkotlin/a/af;
.source "Maps.kt"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
# direct methods
.method public static final a(Ljava/util/Map;Ljava/util/Map;)Ljava/util/Map;
.locals 1
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-07-31 00:08:31 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Ljava/util/Map<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-07-31 00:08:31 +00:00
const-string v0, "$this$plus"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "map"
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
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;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
2019-07-31 00:08:31 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-07-31 00:08:31 +00:00
const-string v0, "$this$plus"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "pair"
2019-07-24 11:27:29 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-31 00:08:31 +00:00
invoke-interface {p0}, Ljava/util/Map;->isEmpty()Z
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
move-result v0
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
if-eqz v0, :cond_0
invoke-static {p1}, Lkotlin/a/ad;->a(Lkotlin/Pair;)Ljava/util/Map;
move-result-object p0
return-object p0
:cond_0
new-instance v0, Ljava/util/LinkedHashMap;
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
2019-07-29 20:14:17 +00:00
2019-07-31 00:08:31 +00:00
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
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-07-31 00:08:31 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">([",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-07-31 00:08:31 +00:00
const-string v0, "pairs"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
array-length v0, p0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
if-lez v0, :cond_0
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
array-length v1, p0
invoke-static {v1}, Lkotlin/a/ad;->dm(I)I
2019-07-24 11:27:29 +00:00
move-result v1
2019-07-31 00:08:31 +00:00
invoke-direct {v0, v1}, Ljava/util/LinkedHashMap;-><init>(I)V
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
check-cast v0, Ljava/util/Map;
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p0, v0}, Lkotlin/a/ad;->a([Lkotlin/Pair;Ljava/util/Map;)Ljava/util/Map;
move-result-object p0
return-object p0
2019-07-24 11:27:29 +00:00
:cond_0
2019-07-31 00:08:31 +00:00
invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
return-object p0
.end method
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
.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-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
const-string v0, "$this$toMap"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
const-string v0, "destination"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p1, p0}, Lkotlin/a/ad;->a(Ljava/util/Map;[Lkotlin/Pair;)V
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
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-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
const-string v0, "$this$putAll"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
const-string v0, "pairs"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
array-length v0, p1
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
:goto_0
if-ge v1, v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
aget-object v2, p1, v1
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
iget-object v3, v2, Lkotlin/Pair;->first:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
iget-object v2, v2, Lkotlin/Pair;->second:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-interface {p0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
add-int/lit8 v1, v1, 0x1
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
:cond_0
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-07-31 00:08:31 +00:00
.method public static final varargs b([Lkotlin/Pair;)Ljava/util/Map;
.locals 2
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-07-31 00:08:31 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">([",
"Lkotlin/Pair<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2019-07-24 11:27:29 +00:00
}
.end annotation
2019-07-31 00:08:31 +00:00
const-string v0, "pairs"
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
array-length v1, p0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {v1}, Lkotlin/a/ad;->dm(I)I
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +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/ad;->a(Ljava/util/Map;[Lkotlin/Pair;)V
return-object v0
2019-07-24 11:27:29 +00:00
.end method
2019-07-31 00:08:31 +00:00
.method public static final dm(I)I
2019-07-24 11:27:29 +00:00
.locals 1
2019-07-31 00:08:31 +00:00
const/4 v0, 0x3
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
if-ge p0, v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-07-31 00:08:31 +00:00
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
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
add-int/2addr p0, v0
return p0
:cond_1
const p0, 0x7fffffff
return p0
2019-07-26 02:05:13 +00:00
.end method
2019-07-31 00:08:31 +00:00
.method public static final emptyMap()Ljava/util/Map;
.locals 2
2019-07-26 02:05:13 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-07-31 00:08:31 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">()",
"Ljava/util/Map<",
"TK;TV;>;"
2019-07-26 02:05:13 +00:00
}
.end annotation
2019-08-01 02:26:13 +00:00
sget-object v0, Lkotlin/a/z;->bjM:Lkotlin/a/z;
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
if-eqz v0, :cond_0
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
check-cast v0, Ljava/util/Map;
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
return-object v0
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
:cond_0
new-instance v0, Lkotlin/r;
2019-07-26 02:05:13 +00:00
2019-07-31 00:08:31 +00:00
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
2019-07-27 00:12:07 +00:00
.end method
2019-07-31 00:08:31 +00:00
.method public static final r(Ljava/util/Map;)Ljava/util/Map;
2019-07-29 20:14:17 +00:00
.locals 1
2019-07-27 00:12:07 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-07-31 00:08:31 +00:00
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Map<",
"+TK;+TV;>;)",
"Ljava/util/Map<",
"TK;TV;>;"
2019-07-27 00:12:07 +00:00
}
.end annotation
2019-07-31 00:08:31 +00:00
const-string v0, "$this$toMutableMap"
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
new-instance v0, Ljava/util/LinkedHashMap;
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
invoke-direct {v0, p0}, Ljava/util/LinkedHashMap;-><init>(Ljava/util/Map;)V
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
check-cast v0, Ljava/util/Map;
2019-07-27 00:12:07 +00:00
2019-07-31 00:08:31 +00:00
return-object v0
.end method
.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"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
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/ad;->q(Ljava/util/Map;)Ljava/util/Map;
move-result-object p0
return-object p0
:cond_1
invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
move-result-object p0
return-object p0
2019-07-24 11:27:29 +00:00
.end method