.class public abstract Lcom/google/android/gms/internal/ads/p5;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/util/Iterator;


# instance fields
.field public r:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TT;"
        }
    .end annotation

    .annotation runtime Ljavax/annotation/CheckForNull;
    .end annotation
.end field

.field public s:I

.field public final t:Ljava/lang/CharSequence;

.field public u:I

.field public v:I


# direct methods
.method public constructor <init>(Lz5/t91;Ljava/lang/CharSequence;)V
    .registers 4

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

    const/4 v0, 0x2

    iput v0, p0, Lcom/google/android/gms/internal/ads/p5;->s:I

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    .line 3
    invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const p1, 0x7fffffff

    .line 4
    iput p1, p0, Lcom/google/android/gms/internal/ads/p5;->v:I

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    return-void
.end method


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

    .line 1
    iget v0, p0, Lcom/google/android/gms/internal/ads/p5;->s:I

    const/4 v1, 0x4

    if-eq v0, v1, :cond_bc

    add-int/lit8 v2, v0, -0x1

    const/4 v3, 0x0

    if-eqz v0, :cond_bb

    const/4 v0, 0x1

    if-eqz v2, :cond_ba

    const/4 v4, 0x2

    const/4 v5, 0x0

    if-eq v2, v4, :cond_b9

    iput v1, p0, Lcom/google/android/gms/internal/ads/p5;->s:I

    .line 2
    iget v1, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    :cond_15
    :goto_15
    iget v2, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    const/4 v4, 0x3

    const/4 v6, -0x1

    if-eq v2, v6, :cond_ae

    move-object v7, p0

    check-cast v7, Lz5/p91;

    iget v8, v7, Lz5/p91;->w:I

    packed-switch v8, :pswitch_data_c2

    goto :goto_46

    .line 3
    :pswitch_24
    iget-object v8, v7, Lz5/p91;->x:Ljava/lang/Object;

    check-cast v8, Lz5/g61;

    iget-object v8, v8, Lz5/g61;->r:Ljava/lang/Object;

    check-cast v8, Lz5/l91;

    iget-object v9, v7, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    invoke-interface {v9}, Ljava/lang/CharSequence;->length()I

    move-result v10

    const-string v11, "index"

    invoke-static {v2, v10, v11}, Lcom/google/android/gms/internal/ads/o5;->h(IILjava/lang/String;)I

    :goto_37
    if-ge v2, v10, :cond_51

    invoke-interface {v9, v2}, Ljava/lang/CharSequence;->charAt(I)C

    move-result v11

    invoke-virtual {v8, v11}, Lz5/l91;->a(C)Z

    move-result v11

    if-nez v11, :cond_52

    add-int/lit8 v2, v2, 0x1

    goto :goto_37

    :goto_46
    add-int/lit16 v2, v2, 0xfa0

    .line 4
    iget-object v8, v7, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    invoke-interface {v8}, Ljava/lang/CharSequence;->length()I

    move-result v8

    if-ge v2, v8, :cond_51

    goto :goto_52

    :cond_51
    move v2, v6

    :cond_52
    :goto_52
    if-ne v2, v6, :cond_5e

    .line 5
    iget-object v2, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    invoke-interface {v2}, Ljava/lang/CharSequence;->length()I

    move-result v2

    iput v6, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    move v7, v6

    goto :goto_69

    :cond_5e
    iget v7, v7, Lz5/p91;->w:I

    packed-switch v7, :pswitch_data_c8

    move v7, v2

    goto :goto_67

    :pswitch_65
    add-int/lit8 v7, v2, 0x1

    :goto_67
    iput v7, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    :goto_69
    if-ne v7, v1, :cond_7a

    add-int/lit8 v7, v7, 0x1

    iput v7, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    invoke-interface {v2}, Ljava/lang/CharSequence;->length()I

    move-result v2

    if-le v7, v2, :cond_15

    iput v6, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    goto :goto_15

    :cond_7a
    if-ge v1, v2, :cond_81

    iget-object v3, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    invoke-interface {v3, v1}, Ljava/lang/CharSequence;->charAt(I)C

    :cond_81
    if-ge v1, v2, :cond_8a

    iget-object v3, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    add-int/lit8 v7, v2, -0x1

    invoke-interface {v3, v7}, Ljava/lang/CharSequence;->charAt(I)C

    :cond_8a
    iget v3, p0, Lcom/google/android/gms/internal/ads/p5;->v:I

    if-ne v3, v0, :cond_a0

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    invoke-interface {v2}, Ljava/lang/CharSequence;->length()I

    move-result v2

    iput v6, p0, Lcom/google/android/gms/internal/ads/p5;->u:I

    if-le v2, v1, :cond_a3

    iget-object v3, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    add-int/lit8 v6, v2, -0x1

    invoke-interface {v3, v6}, Ljava/lang/CharSequence;->charAt(I)C

    goto :goto_a3

    :cond_a0
    add-int/2addr v3, v6

    iput v3, p0, Lcom/google/android/gms/internal/ads/p5;->v:I

    :cond_a3
    :goto_a3
    iget-object v3, p0, Lcom/google/android/gms/internal/ads/p5;->t:Ljava/lang/CharSequence;

    invoke-interface {v3, v1, v2}, Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_b0

    .line 6
    :cond_ae
    iput v4, p0, Lcom/google/android/gms/internal/ads/p5;->s:I

    .line 7
    :goto_b0
    iput-object v3, p0, Lcom/google/android/gms/internal/ads/p5;->r:Ljava/lang/Object;

    iget v1, p0, Lcom/google/android/gms/internal/ads/p5;->s:I

    if-eq v1, v4, :cond_b9

    iput v0, p0, Lcom/google/android/gms/internal/ads/p5;->s:I

    goto :goto_ba

    :cond_b9
    move v0, v5

    :cond_ba
    :goto_ba
    return v0

    :cond_bb
    throw v3

    :cond_bc
    new-instance v0, Ljava/lang/IllegalStateException;

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

    throw v0

    :pswitch_data_c2
    .packed-switch 0x0
        :pswitch_24
    .end packed-switch

    :pswitch_data_c8
    .packed-switch 0x0
        :pswitch_65
    .end packed-switch
.end method

.method public final next()Ljava/lang/Object;
    .registers 3

    .line 1
    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/p5;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_f

    const/4 v0, 0x2

    iput v0, p0, Lcom/google/android/gms/internal/ads/p5;->s:I

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/p5;->r:Ljava/lang/Object;

    const/4 v1, 0x0

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/p5;->r:Ljava/lang/Object;

    return-object v0

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

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

    throw v0
.end method

.method public final remove()V
    .registers 2

    .line 1
    new-instance v0, Ljava/lang/UnsupportedOperationException;

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

    throw v0
.end method
