apkfuckery/com.discord/smali_classes2/s/z/a.smali

342 lines
6.3 KiB
Smali
Raw Normal View History

2019-12-13 02:35:12 +00:00
.class public final Ls/z/a;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "Sequences.kt"
# interfaces
.implements Ljava/util/Iterator;
2019-12-13 02:35:12 +00:00
.implements Ls/u/b/z/a;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"K:",
"Ljava/lang/Object;",
">",
2019-12-13 02:35:12 +00:00
"Ls/z/a<",
2019-12-06 03:29:40 +00:00
"TT;>;"
}
.end annotation
# instance fields
2019-12-13 02:35:12 +00:00
.field public d:Ls/q/v;
2019-12-06 03:29:40 +00:00
.field public e:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field public final f:Ljava/util/HashSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashSet<",
"TK;>;"
}
.end annotation
.end field
.field public final g:Ljava/util/Iterator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Iterator<",
"TT;>;"
}
.end annotation
.end field
.field public final h:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"TT;TK;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/Iterator;Lkotlin/jvm/functions/Function1;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Iterator<",
"+TT;>;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+TK;>;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-13 02:35:12 +00:00
sget-object v0, Ls/q/v;->e:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iput-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iput-object p1, p0, Ls/z/a;->g:Ljava/util/Iterator;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iput-object p2, p0, Ls/z/a;->h:Lkotlin/jvm/functions/Function1;
2019-12-06 03:29:40 +00:00
new-instance p1, Ljava/util/HashSet;
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
2019-12-13 02:35:12 +00:00
iput-object p1, p0, Ls/z/a;->f:Ljava/util/HashSet;
2019-12-06 03:29:40 +00:00
return-void
:cond_0
const-string p1, "keySelector"
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_1
const-string p1, "source"
2019-12-13 02:35:12 +00:00
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
.end method
# virtual methods
.method public final a()Z
.locals 3
2019-12-13 02:35:12 +00:00
sget-object v0, Ls/q/v;->g:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iput-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
:cond_0
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->g:Ljava/util/Iterator;
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->g:Ljava/util/Iterator;
2019-12-06 03:29:40 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
2019-12-13 02:35:12 +00:00
iget-object v1, p0, Ls/z/a;->h:Lkotlin/jvm/functions/Function1;
2019-12-06 03:29:40 +00:00
invoke-interface {v1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
2019-12-13 02:35:12 +00:00
iget-object v2, p0, Ls/z/a;->f:Ljava/util/HashSet;
2019-12-06 03:29:40 +00:00
invoke-virtual {v2, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
2019-12-13 02:35:12 +00:00
iput-object v0, p0, Ls/z/a;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
sget-object v0, Ls/q/v;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iput-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_1
2019-12-13 02:35:12 +00:00
sget-object v0, Ls/q/v;->f:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iput-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
:goto_0
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
sget-object v1, Ls/q/v;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
if-ne v0, v1, :cond_2
const/4 v0, 0x1
goto :goto_1
:cond_2
const/4 v0, 0x0
:goto_1
return v0
.end method
.method public hasNext()Z
.locals 4
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
sget-object v1, Ls/q/v;->g:Ls/q/v;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
const/4 v3, 0x1
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_3
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
sget-object v1, Ls/q/b;->a:[I
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
move-result v0
aget v0, v1, v0
if-eq v0, v3, :cond_2
const/4 v1, 0x2
if-eq v0, v1, :cond_1
2019-12-13 02:35:12 +00:00
invoke-virtual {p0}, Ls/z/a;->a()Z
2019-12-06 03:29:40 +00:00
move-result v2
goto :goto_1
:cond_1
const/4 v2, 0x1
:cond_2
:goto_1
return v2
:cond_3
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Failed requirement."
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public next()Ljava/lang/Object;
.locals 4
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
sget-object v1, Ls/q/v;->g:Ls/q/v;
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
const/4 v3, 0x1
if-eq v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_4
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
sget-object v1, Ls/q/b;->a:[I
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
move-result v0
aget v0, v1, v0
if-eq v0, v3, :cond_2
const/4 v1, 0x2
if-eq v0, v1, :cond_1
2019-12-13 02:35:12 +00:00
invoke-virtual {p0}, Ls/z/a;->a()Z
2019-12-06 03:29:40 +00:00
move-result v2
goto :goto_1
:cond_1
const/4 v2, 0x1
:cond_2
:goto_1
if-eqz v2, :cond_3
2019-12-13 02:35:12 +00:00
sget-object v0, Ls/q/v;->e:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iput-object v0, p0, Ls/z/a;->d:Ls/q/v;
2019-12-06 03:29:40 +00:00
2019-12-13 02:35:12 +00:00
iget-object v0, p0, Ls/z/a;->e:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
return-object v0
:cond_3
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
throw v0
:cond_4
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Failed requirement."
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public remove()V
.locals 2
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Operation is not supported for read-only collection"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method