apkfuckery/com.discord/smali/kotlin/sequences/l.smali
2019-08-17 10:22:04 +02:00

190 lines
5.1 KiB
Smali

.class public Lkotlin/sequences/l;
.super Lkotlin/sequences/k;
.source "Sequences.kt"
# direct methods
.method public static final a(Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/jvm/functions/Function0<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+TT;>;)",
"Lkotlin/sequences/Sequence<",
"TT;>;"
}
.end annotation
const-string v0, "seedFunction"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "nextFunction"
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lkotlin/sequences/h;
invoke-direct {v0, p0, p1}, Lkotlin/sequences/h;-><init>(Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final a(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/sequences/Sequence<",
"+",
"Lkotlin/sequences/Sequence<",
"+TT;>;>;)",
"Lkotlin/sequences/Sequence<",
"TT;>;"
}
.end annotation
const-string v0, "$this$flatten"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lkotlin/sequences/l$a;->blx:Lkotlin/sequences/l$a;
check-cast v0, Lkotlin/jvm/functions/Function1;
invoke-static {p0, v0}, Lkotlin/sequences/l;->a(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method private static final a(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">(",
"Lkotlin/sequences/Sequence<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Ljava/util/Iterator<",
"+TR;>;>;)",
"Lkotlin/sequences/Sequence<",
"TR;>;"
}
.end annotation
instance-of v0, p0, Lkotlin/sequences/q;
if-eqz v0, :cond_0
check-cast p0, Lkotlin/sequences/q;
invoke-virtual {p0, p1}, Lkotlin/sequences/q;->h(Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
:cond_0
new-instance v0, Lkotlin/sequences/g;
sget-object v1, Lkotlin/sequences/l$c;->blz:Lkotlin/sequences/l$c;
check-cast v1, Lkotlin/jvm/functions/Function1;
invoke-direct {v0, p0, v1, p1}, Lkotlin/sequences/g;-><init>(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
check-cast v0, Lkotlin/sequences/Sequence;
return-object v0
.end method
.method public static final b(Lkotlin/sequences/Sequence;)Lkotlin/sequences/Sequence;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/sequences/Sequence<",
"+",
"Ljava/lang/Iterable<",
"+TT;>;>;)",
"Lkotlin/sequences/Sequence<",
"TT;>;"
}
.end annotation
const-string v0, "$this$flatten"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lkotlin/sequences/l$b;->bly:Lkotlin/sequences/l$b;
check-cast v0, Lkotlin/jvm/functions/Function1;
invoke-static {p0, v0}, Lkotlin/sequences/l;->a(Lkotlin/sequences/Sequence;Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method
.method public static final varargs r([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, "elements"
invoke-static {p0, v0}, Lkotlin/jvm/internal/k;->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;->blk:Lkotlin/sequences/e;
check-cast p0, Lkotlin/sequences/Sequence;
return-object p0
:cond_1
invoke-static {p0}, Lkotlin/a/g;->j([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method