apkfuckery/com.discord/smali/kotlin/a/k.smali
2019-02-04 21:20:43 +01:00

408 lines
8.2 KiB
Smali

.class public Lkotlin/a/k;
.super Lkotlin/a/j;
# direct methods
.method public static final a([C)C
.locals 1
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
packed-switch v0, :pswitch_data_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Array has more than one element."
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
:pswitch_0
const/4 v0, 0x0
aget-char p0, p0, v0
return p0
:pswitch_1
new-instance p0, Ljava/util/NoSuchElementException;
const-string v0, "Array is empty."
invoke-direct {p0, v0}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
nop
:pswitch_data_0
.packed-switch 0x0
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public static final a([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<C::",
"Ljava/util/Collection<",
"-TT;>;T:",
"Ljava/lang/Object;",
">([TT;TC;)TC;"
}
.end annotation
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "destination"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
:goto_0
const/4 v1, 0x3
if-ge v0, v1, :cond_1
aget-object v1, p0, v0
if-eqz v1, :cond_0
invoke-interface {p1, v1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method public static final b([Ljava/lang/Object;Ljava/lang/Object;)I
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;TT;)I"
}
.end annotation
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x0
if-nez p1, :cond_1
array-length p1, p0
:goto_0
if-ge v0, p1, :cond_3
aget-object v1, p0, v0
if-nez v1, :cond_0
return v0
:cond_0
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_1
array-length v1, p0
:goto_1
if-ge v0, v1, :cond_3
aget-object v2, p0, v0
invoke-static {p1, v2}, Lkotlin/jvm/internal/j;->x(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_2
return v0
:cond_2
add-int/lit8 v0, v0, 0x1
goto :goto_1
:cond_3
const/4 p0, -0x1
return p0
.end method
.method public static final b([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"C::",
"Ljava/util/Collection<",
"-TT;>;>([TT;TC;)TC;"
}
.end annotation
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "destination"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_0
aget-object v2, p0, v1
invoke-interface {p1, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
return-object p1
.end method
.method public static final f([Ljava/lang/Object;)I
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)I"
}
.end annotation
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
array-length p0, p0
add-int/lit8 p0, p0, -0x1
return p0
.end method
.method public static final g([Ljava/lang/Object;)Ljava/util/Set;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Ljava/util/Set<",
"TT;>;"
}
.end annotation
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
packed-switch v0, :pswitch_data_0
new-instance v0, Ljava/util/LinkedHashSet;
array-length v1, p0
invoke-static {v1}, Lkotlin/a/ab;->eU(I)I
move-result v1
invoke-direct {v0, v1}, Ljava/util/LinkedHashSet;-><init>(I)V
check-cast v0, Ljava/util/Collection;
invoke-static {p0, v0}, Lkotlin/a/g;->b([Ljava/lang/Object;Ljava/util/Collection;)Ljava/util/Collection;
move-result-object p0
check-cast p0, Ljava/util/Set;
return-object p0
:pswitch_0
const/4 v0, 0x0
aget-object p0, p0, v0
invoke-static {p0}, Lkotlin/a/ai;->bz(Ljava/lang/Object;)Ljava/util/Set;
move-result-object p0
return-object p0
:pswitch_1
sget-object p0, Lkotlin/a/z;->bPD:Lkotlin/a/z;
check-cast p0, Ljava/util/Set;
return-object p0
nop
:pswitch_data_0
.packed-switch 0x0
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public static final h([I)Lkotlin/ranges/IntRange;
.locals 2
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lkotlin/ranges/IntRange;
invoke-static {p0}, Lkotlin/a/g;->i([I)I
move-result p0
const/4 v1, 0x0
invoke-direct {v0, v1, p0}, Lkotlin/ranges/IntRange;-><init>(II)V
return-object v0
.end method
.method public static final h([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">([TT;)",
"Lkotlin/sequences/Sequence<",
"TT;>;"
}
.end annotation
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
array-length v0, p0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
sget-object p0, Lkotlin/sequences/e;->bQB:Lkotlin/sequences/e;
check-cast p0, Lkotlin/sequences/Sequence;
return-object p0
:cond_1
new-instance v0, Lkotlin/a/k$a;
invoke-direct {v0, p0}, Lkotlin/a/k$a;-><init>([Ljava/lang/Object;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final i([I)I
.locals 1
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
array-length p0, p0
add-int/lit8 p0, p0, -0x1
return p0
.end method
.method public static final j([I)Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"([I)",
"Ljava/util/List<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
const-string v0, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Ljava/util/ArrayList;
array-length v1, p0
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
array-length v1, p0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
aget v3, p0, v2
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
check-cast v0, Ljava/util/List;
return-object v0
.end method