.class public final Lg6/p;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/util/Iterator;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Iterator<",
        "Lg6/n;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic r:I

.field public s:I

.field public final synthetic t:Ljava/lang/Object;


# direct methods
.method public constructor <init>(Lg6/d;)V
    .registers 3

    const/4 v0, 0x2

    iput v0, p0, Lg6/p;->r:I

    .line 1
    iput-object p1, p0, Lg6/p;->t:Ljava/lang/Object;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 p1, 0x0

    iput p1, p0, Lg6/p;->s:I

    return-void
.end method

.method public constructor <init>(Lg6/q;I)V
    .registers 5

    iput p2, p0, Lg6/p;->r:I

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-eq p2, v1, :cond_e

    .line 2
    iput-object p1, p0, Lg6/p;->t:Ljava/lang/Object;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput v0, p0, Lg6/p;->s:I

    return-void

    .line 3
    :cond_e
    iput-object p1, p0, Lg6/p;->t:Ljava/lang/Object;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput v0, p0, Lg6/p;->s:I

    return-void
.end method


# virtual methods
.method public final hasNext()Z
    .registers 5

    iget v0, p0, Lg6/p;->r:I

    const/4 v1, 0x1

    const/4 v2, 0x0

    packed-switch v0, :pswitch_data_3a

    goto :goto_2a

    .line 1
    :pswitch_8
    iget v0, p0, Lg6/p;->s:I

    iget-object v3, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v3, Lg6/q;

    .line 2
    iget-object v3, v3, Lg6/q;->r:Ljava/lang/String;

    .line 3
    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v0, v3, :cond_17

    goto :goto_18

    :cond_17
    move v1, v2

    :goto_18
    return v1

    .line 4
    :pswitch_19
    iget v0, p0, Lg6/p;->s:I

    iget-object v3, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v3, Lg6/q;

    .line 5
    iget-object v3, v3, Lg6/q;->r:Ljava/lang/String;

    .line 6
    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v0, v3, :cond_28

    goto :goto_29

    :cond_28
    move v1, v2

    :goto_29
    return v1

    .line 7
    :goto_2a
    iget v0, p0, Lg6/p;->s:I

    iget-object v3, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v3, Lg6/d;

    invoke-virtual {v3}, Lg6/d;->h()I

    move-result v3

    if-ge v0, v3, :cond_37

    goto :goto_38

    :cond_37
    move v1, v2

    :goto_38
    return v1

    nop

    :pswitch_data_3a
    .packed-switch 0x0
        :pswitch_19
        :pswitch_8
    .end packed-switch
.end method

.method public final bridge synthetic next()Ljava/lang/Object;
    .registers 5

    iget v0, p0, Lg6/p;->r:I

    packed-switch v0, :pswitch_data_8e

    goto :goto_58

    .line 1
    :pswitch_6
    iget v0, p0, Lg6/p;->s:I

    iget-object v1, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v1, Lg6/q;

    .line 2
    iget-object v1, v1, Lg6/q;->r:Ljava/lang/String;

    .line 3
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-ge v0, v1, :cond_2e

    new-instance v0, Lg6/q;

    iget-object v1, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v1, Lg6/q;

    .line 4
    iget-object v1, v1, Lg6/q;->r:Ljava/lang/String;

    .line 5
    iget v2, p0, Lg6/p;->s:I

    add-int/lit8 v3, v2, 0x1

    iput v3, p0, Lg6/p;->s:I

    invoke-virtual {v1, v2}, Ljava/lang/String;->charAt(I)C

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lg6/q;-><init>(Ljava/lang/String;)V

    return-object v0

    :cond_2e
    new-instance v0, Ljava/util/NoSuchElementException;

    invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V

    throw v0

    .line 6
    :pswitch_34
    iget v0, p0, Lg6/p;->s:I

    iget-object v1, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v1, Lg6/q;

    .line 7
    iget-object v1, v1, Lg6/q;->r:Ljava/lang/String;

    .line 8
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-ge v0, v1, :cond_52

    new-instance v0, Lg6/q;

    iget v1, p0, Lg6/p;->s:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lg6/p;->s:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lg6/q;-><init>(Ljava/lang/String;)V

    return-object v0

    :cond_52
    new-instance v0, Ljava/util/NoSuchElementException;

    invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V

    throw v0

    .line 9
    :goto_58
    iget v0, p0, Lg6/p;->s:I

    iget-object v1, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v1, Lg6/d;

    invoke-virtual {v1}, Lg6/d;->h()I

    move-result v1

    if-ge v0, v1, :cond_73

    iget-object v0, p0, Lg6/p;->t:Ljava/lang/Object;

    check-cast v0, Lg6/d;

    iget v1, p0, Lg6/p;->s:I

    add-int/lit8 v2, v1, 0x1

    iput v2, p0, Lg6/p;->s:I

    invoke-virtual {v0, v1}, Lg6/d;->i(I)Lg6/n;

    move-result-object v0

    return-object v0

    :cond_73
    new-instance v0, Ljava/util/NoSuchElementException;

    iget v1, p0, Lg6/p;->s:I

    new-instance v2, Ljava/lang/StringBuilder;

    const/16 v3, 0x20

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string v3, "Out of bounds index: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/util/NoSuchElementException;-><init>(Ljava/lang/String;)V

    throw v0

    :pswitch_data_8e
    .packed-switch 0x0
        :pswitch_34
        :pswitch_6
    .end packed-switch
.end method
