apkfuckery/com.discord/smali_classes2/kotlin/text/e$a.smali

354 lines
7.2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lkotlin/text/e$a;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Strings.kt"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/util/Iterator;
.implements Lkotlin/jvm/internal/a/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lkotlin/text/e;->iterator()Ljava/util/Iterator;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Iterator<",
"Lkotlin/ranges/IntRange;",
">;",
"Lkotlin/jvm/internal/a/a;"
}
.end annotation
# instance fields
2019-02-21 02:16:48 +00:00
.field private beT:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
.field private beU:I
.field private beV:Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
.field private beW:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
.field final synthetic beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
.field private bev:I
2019-02-04 20:08:30 +00:00
# direct methods
.method constructor <init>(Lkotlin/text/e;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
2019-02-22 00:19:04 +00:00
iput-object p1, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, -0x1
2019-02-22 00:19:04 +00:00
iput v0, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
invoke-static {p1}, Lkotlin/text/e;->d(Lkotlin/text/e;)I
move-result v0
invoke-static {p1}, Lkotlin/text/e;->b(Lkotlin/text/e;)Ljava/lang/CharSequence;
move-result-object p1
invoke-interface {p1}, Ljava/lang/CharSequence;->length()I
move-result p1
const/4 v1, 0x0
2019-02-04 20:32:01 +00:00
invoke-static {v0, v1, p1}, Lkotlin/ranges/b;->m(III)I
2019-02-04 20:08:30 +00:00
move-result p1
2019-02-22 00:19:04 +00:00
iput p1, p0, Lkotlin/text/e$a;->beT:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget p1, p0, Lkotlin/text/e$a;->beT:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iput p1, p0, Lkotlin/text/e$a;->beU:I
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-02-21 02:16:48 +00:00
.method private final ym()V
2019-02-04 20:08:30 +00:00
.locals 6
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->beU:I
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
if-gez v0, :cond_0
2019-02-22 00:19:04 +00:00
iput v1, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
const/4 v0, 0x0
2019-02-22 00:19:04 +00:00
iput-object v0, p0, Lkotlin/text/e$a;->beV:Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
return-void
:cond_0
2019-02-22 00:19:04 +00:00
iget-object v0, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Lkotlin/text/e;->a(Lkotlin/text/e;)I
move-result v0
const/4 v2, -0x1
const/4 v3, 0x1
if-lez v0, :cond_1
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->beW:I
2019-02-04 20:08:30 +00:00
add-int/2addr v0, v3
2019-02-22 00:19:04 +00:00
iput v0, p0, Lkotlin/text/e$a;->beW:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->beW:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget-object v4, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-static {v4}, Lkotlin/text/e;->a(Lkotlin/text/e;)I
move-result v4
if-ge v0, v4, :cond_2
:cond_1
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->beU:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget-object v4, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-static {v4}, Lkotlin/text/e;->b(Lkotlin/text/e;)Ljava/lang/CharSequence;
move-result-object v4
invoke-interface {v4}, Ljava/lang/CharSequence;->length()I
move-result v4
if-le v0, v4, :cond_3
:cond_2
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->beT:I
2019-02-04 20:08:30 +00:00
new-instance v1, Lkotlin/ranges/IntRange;
2019-02-22 00:19:04 +00:00
iget-object v4, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-static {v4}, Lkotlin/text/e;->b(Lkotlin/text/e;)Ljava/lang/CharSequence;
move-result-object v4
invoke-static {v4}, Lkotlin/text/l;->l(Ljava/lang/CharSequence;)I
move-result v4
invoke-direct {v1, v0, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
2019-02-22 00:19:04 +00:00
iput-object v1, p0, Lkotlin/text/e$a;->beV:Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iput v2, p0, Lkotlin/text/e$a;->beU:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:cond_3
2019-02-22 00:19:04 +00:00
iget-object v0, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-static {v0}, Lkotlin/text/e;->c(Lkotlin/text/e;)Lkotlin/jvm/functions/Function2;
move-result-object v0
2019-02-22 00:19:04 +00:00
iget-object v4, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-static {v4}, Lkotlin/text/e;->b(Lkotlin/text/e;)Ljava/lang/CharSequence;
move-result-object v4
2019-02-22 00:19:04 +00:00
iget v5, p0, Lkotlin/text/e$a;->beU:I
2019-02-04 20:08:30 +00:00
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
invoke-interface {v0, v4, v5}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lkotlin/Pair;
if-nez v0, :cond_4
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->beT:I
2019-02-04 20:08:30 +00:00
new-instance v1, Lkotlin/ranges/IntRange;
2019-02-22 00:19:04 +00:00
iget-object v4, p0, Lkotlin/text/e$a;->beX:Lkotlin/text/e;
2019-02-04 20:08:30 +00:00
invoke-static {v4}, Lkotlin/text/e;->b(Lkotlin/text/e;)Ljava/lang/CharSequence;
move-result-object v4
invoke-static {v4}, Lkotlin/text/l;->l(Ljava/lang/CharSequence;)I
move-result v4
invoke-direct {v1, v0, v4}, Lkotlin/ranges/IntRange;-><init>(II)V
2019-02-22 00:19:04 +00:00
iput-object v1, p0, Lkotlin/text/e$a;->beV:Lkotlin/ranges/IntRange;
2019-02-04 20:29:01 +00:00
2019-02-22 00:19:04 +00:00
iput v2, p0, Lkotlin/text/e$a;->beU:I
2019-02-04 20:29:01 +00:00
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_4
iget-object v2, v0, Lkotlin/Pair;->first:Ljava/lang/Object;
check-cast v2, Ljava/lang/Number;
invoke-virtual {v2}, Ljava/lang/Number;->intValue()I
move-result v2
iget-object v0, v0, Lkotlin/Pair;->second:Ljava/lang/Object;
check-cast v0, Ljava/lang/Number;
invoke-virtual {v0}, Ljava/lang/Number;->intValue()I
move-result v0
2019-02-22 00:19:04 +00:00
iget v4, p0, Lkotlin/text/e$a;->beT:I
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
invoke-static {v4, v2}, Lkotlin/ranges/b;->Y(II)Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
move-result-object v4
2019-02-22 00:19:04 +00:00
iput-object v4, p0, Lkotlin/text/e$a;->beV:Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
add-int/2addr v2, v0
2019-02-22 00:19:04 +00:00
iput v2, p0, Lkotlin/text/e$a;->beT:I
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iget v2, p0, Lkotlin/text/e$a;->beT:I
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_5
const/4 v1, 0x1
:cond_5
add-int/2addr v2, v1
2019-02-22 00:19:04 +00:00
iput v2, p0, Lkotlin/text/e$a;->beU:I
2019-02-04 20:08:30 +00:00
2019-02-04 20:29:01 +00:00
:goto_0
2019-02-22 00:19:04 +00:00
iput v3, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method public final hasNext()Z
.locals 2
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
const/4 v1, -0x1
if-ne v0, v1, :cond_0
2019-02-21 02:16:48 +00:00
invoke-direct {p0}, Lkotlin/text/e$a;->ym()V
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
const/4 v1, 0x1
if-ne v0, v1, :cond_1
return v1
:cond_1
const/4 v0, 0x0
return v0
.end method
.method public final synthetic next()Ljava/lang/Object;
.locals 3
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
const/4 v1, -0x1
if-ne v0, v1, :cond_0
2019-02-21 02:16:48 +00:00
invoke-direct {p0}, Lkotlin/text/e$a;->ym()V
2019-02-04 20:08:30 +00:00
:cond_0
2019-02-22 00:19:04 +00:00
iget v0, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_2
2019-02-22 00:19:04 +00:00
iget-object v0, p0, Lkotlin/text/e$a;->beV:Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
if-eqz v0, :cond_1
const/4 v2, 0x0
2019-02-22 00:19:04 +00:00
iput-object v2, p0, Lkotlin/text/e$a;->beV:Lkotlin/ranges/IntRange;
2019-02-04 20:08:30 +00:00
2019-02-22 00:19:04 +00:00
iput v1, p0, Lkotlin/text/e$a;->bev:I
2019-02-04 20:08:30 +00:00
return-object v0
:cond_1
new-instance v0, Lkotlin/r;
const-string v1, "null cannot be cast to non-null type kotlin.ranges.IntRange"
invoke-direct {v0, v1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
throw v0
:cond_2
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
check-cast v0, Ljava/lang/Throwable;
throw v0
.end method
.method public final 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