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

# interfaces
.implements Ljava/util/Iterator;


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


# instance fields
.field public r:I

.field public s:Z

.field public t:Ljava/util/Iterator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Iterator<",
            "Ljava/util/Map$Entry;",
            ">;"
        }
    .end annotation
.end field

.field public final synthetic u:Lg6/c8;


# direct methods
.method public synthetic constructor <init>(Lg6/c8;)V
    .registers 2

    iput-object p1, p0, Lg6/a8;->u:Lg6/c8;

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

    const/4 p1, -0x1

    iput p1, p0, Lg6/a8;->r:I

    return-void
.end method


# virtual methods
.method public final a()Ljava/util/Iterator;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Iterator<",
            "Ljava/util/Map$Entry;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lg6/a8;->t:Ljava/util/Iterator;

    if-nez v0, :cond_12

    iget-object v0, p0, Lg6/a8;->u:Lg6/c8;

    .line 1
    iget-object v0, v0, Lg6/c8;->t:Ljava/util/Map;

    .line 2
    invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v0

    iput-object v0, p0, Lg6/a8;->t:Ljava/util/Iterator;

    :cond_12
    iget-object v0, p0, Lg6/a8;->t:Ljava/util/Iterator;

    return-object v0
.end method

.method public final hasNext()Z
    .registers 5

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

    const/4 v1, 0x1

    add-int/2addr v0, v1

    iget-object v2, p0, Lg6/a8;->u:Lg6/c8;

    .line 1
    iget-object v2, v2, Lg6/c8;->s:Ljava/util/List;

    .line 2
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    const/4 v3, 0x0

    if-lt v0, v2, :cond_26

    iget-object v0, p0, Lg6/a8;->u:Lg6/c8;

    .line 3
    iget-object v0, v0, Lg6/c8;->t:Ljava/util/Map;

    .line 4
    invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_25

    invoke-virtual {p0}, Lg6/a8;->a()Ljava/util/Iterator;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_24

    goto :goto_26

    :cond_24
    return v3

    :cond_25
    move v1, v3

    :cond_26
    :goto_26
    return v1
.end method

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

    const/4 v0, 0x1

    iput-boolean v0, p0, Lg6/a8;->s:Z

    iget v1, p0, Lg6/a8;->r:I

    add-int/2addr v1, v0

    iput v1, p0, Lg6/a8;->r:I

    iget-object v0, p0, Lg6/a8;->u:Lg6/c8;

    .line 1
    iget-object v0, v0, Lg6/c8;->s:Ljava/util/List;

    .line 2
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_1d

    iget-object v0, p0, Lg6/a8;->u:Lg6/c8;

    .line 3
    iget-object v0, v0, Lg6/c8;->s:Ljava/util/List;

    .line 4
    iget v1, p0, Lg6/a8;->r:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    goto :goto_25

    :cond_1d
    invoke-virtual {p0}, Lg6/a8;->a()Ljava/util/Iterator;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    :goto_25
    check-cast v0, Ljava/util/Map$Entry;

    return-object v0
.end method

.method public final remove()V
    .registers 4

    iget-boolean v0, p0, Lg6/a8;->s:Z

    if-eqz v0, :cond_2e

    const/4 v0, 0x0

    iput-boolean v0, p0, Lg6/a8;->s:Z

    iget-object v0, p0, Lg6/a8;->u:Lg6/c8;

    sget v1, Lg6/c8;->x:I

    .line 1
    invoke-virtual {v0}, Lg6/c8;->h()V

    .line 2
    iget v0, p0, Lg6/a8;->r:I

    iget-object v1, p0, Lg6/a8;->u:Lg6/c8;

    .line 3
    iget-object v1, v1, Lg6/c8;->s:Ljava/util/List;

    .line 4
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_26

    iget-object v0, p0, Lg6/a8;->u:Lg6/c8;

    iget v1, p0, Lg6/a8;->r:I

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

    iput v2, p0, Lg6/a8;->r:I

    .line 5
    invoke-virtual {v0, v1}, Lg6/c8;->f(I)Ljava/lang/Object;

    return-void

    .line 6
    :cond_26
    invoke-virtual {p0}, Lg6/a8;->a()Ljava/util/Iterator;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Iterator;->remove()V

    return-void

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

    const-string v1, "remove() was called before next()"

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

    throw v0
.end method
