apkfuckery/com.discord/smali/kotlin/sequences/l.smali
2019-04-03 02:06:05 +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/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "nextFunction"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->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, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lkotlin/sequences/l$a;->bfk: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;->g(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;->bfm: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, "receiver$0"
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lkotlin/sequences/l$b;->bfl: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 m([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/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;->beX:Lkotlin/sequences/e;
check-cast p0, Lkotlin/sequences/Sequence;
return-object p0
:cond_1
invoke-static {p0}, Lkotlin/a/g;->h([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
move-result-object p0
return-object p0
.end method