d$a.smali

.class public final Lkotlin/l/d$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/util/Iterator;
.implements Lkotlin/f/b/a/a;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lkotlin/l/d;->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<",
        "TT;>;",
        "Lkotlin/f/b/a/a;"
    }
.end annotation


# instance fields
.field final synthetic a:Lkotlin/l/d;

.field private final b:Ljava/util/Iterator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Iterator<",
            "TT;>;"
        }
    .end annotation
.end field

.field private c:I

.field private d:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TT;"
        }
    .end annotation
.end field


# direct methods
.method constructor <init>(Lkotlin/l/d;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 125
    iput-object p1, p0, Lkotlin/l/d$a;->a:Lkotlin/l/d;

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

    .line 3119
    iget-object p1, p1, Lkotlin/l/d;->a:Lkotlin/l/g;

    .line 126
    invoke-interface {p1}, Lkotlin/l/g;->iterator()Ljava/util/Iterator;

    move-result-object p1

    iput-object p1, p0, Lkotlin/l/d$a;->b:Ljava/util/Iterator;

    const/4 p1, -0x1

    .line 127
    iput p1, p0, Lkotlin/l/d$a;->c:I

    return-void
.end method

.method private final a()V
    .registers 4

    .line 131
    :cond_0
    iget-object v0, p0, Lkotlin/l/d$a;->b:Ljava/util/Iterator;

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

    move-result v0

    if-eqz v0, :cond_28

    .line 132
    iget-object v0, p0, Lkotlin/l/d$a;->b:Ljava/util/Iterator;

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

    move-result-object v0

    .line 133
    iget-object v1, p0, Lkotlin/l/d$a;->a:Lkotlin/l/d;

    .line 1119
    iget-object v1, v1, Lkotlin/l/d;->c:Lkotlin/f/a/b;

    .line 133
    invoke-interface {v1, v0}, Lkotlin/f/a/b;->invoke(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    iget-object v2, p0, Lkotlin/l/d$a;->a:Lkotlin/l/d;

    .line 2119
    iget-boolean v2, v2, Lkotlin/l/d;->b:Z

    if-ne v1, v2, :cond_0

    .line 134
    iput-object v0, p0, Lkotlin/l/d$a;->d:Ljava/lang/Object;

    const/4 v0, 0x1

    .line 135
    iput v0, p0, Lkotlin/l/d$a;->c:I

    return-void

    :cond_28
    const/4 v0, 0x0

    .line 139
    iput v0, p0, Lkotlin/l/d$a;->c:I

    return-void
.end method


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

    .line 155
    iget v0, p0, Lkotlin/l/d$a;->c:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_8

    .line 156
    invoke-direct {p0}, Lkotlin/l/d$a;->a()V

    .line 157
    :cond_8
    iget v0, p0, Lkotlin/l/d$a;->c:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_e

    return v1

    :cond_e
    const/4 v0, 0x0

    return v0
.end method

.method public final next()Ljava/lang/Object;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .line 143
    iget v0, p0, Lkotlin/l/d$a;->c:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_8

    .line 144
    invoke-direct {p0}, Lkotlin/l/d$a;->a()V

    .line 145
    :cond_8
    iget v0, p0, Lkotlin/l/d$a;->c:I

    if-eqz v0, :cond_14

    .line 147
    iget-object v0, p0, Lkotlin/l/d$a;->d:Ljava/lang/Object;

    const/4 v2, 0x0

    .line 148
    iput-object v2, p0, Lkotlin/l/d$a;->d:Ljava/lang/Object;

    .line 149
    iput v1, p0, Lkotlin/l/d$a;->c:I

    return-object v0

    .line 146
    :cond_14
    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
    .registers 3

    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