apkfuckery/com.discord/smali/kotlin/sequences/l.smali

191 lines
5.1 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.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
2019-08-17 08:22:04 +00:00
sget-object v0, Lkotlin/sequences/l$a;->blx:Lkotlin/sequences/l$a;
2019-07-24 11:27:29 +00:00
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;
2019-07-31 00:08:31 +00:00
invoke-virtual {p0, p1}, Lkotlin/sequences/q;->h(Lkotlin/jvm/functions/Function1;)Lkotlin/sequences/Sequence;
2019-07-24 11:27:29 +00:00
move-result-object p0
return-object p0
:cond_0
new-instance v0, Lkotlin/sequences/g;
2019-08-17 08:22:04 +00:00
sget-object v1, Lkotlin/sequences/l$c;->blz:Lkotlin/sequences/l$c;
2019-07-24 11:27:29 +00:00
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
2019-08-17 08:22:04 +00:00
sget-object v0, Lkotlin/sequences/l$b;->bly:Lkotlin/sequences/l$b;
2019-07-24 11:27:29 +00:00
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
2019-08-14 23:59:34 +00:00
.method public static final varargs r([Ljava/lang/Object;)Lkotlin/sequences/Sequence;
2019-07-24 11:27:29 +00:00
.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
2019-08-17 08:22:04 +00:00
sget-object p0, Lkotlin/sequences/e;->blk:Lkotlin/sequences/e;
2019-07-24 11:27:29 +00:00
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