x$2.smali

.class final Lcom/cmcm/safewallet/ui/giftcard/x$2;
.super Ljava/lang/Object;
.source "GiftcardEditPayPresent.java"

# interfaces
.implements Lio/reactivex/aa;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/cmcm/safewallet/ui/giftcard/x;->P(Z)V
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lio/reactivex/aa",
        "<",
        "Ljava/util/List",
        "<",
        "Lcom/cmcm/safewallet/ui/exchange/data/b;",
        ">;>;"
    }
.end annotation


# instance fields
.field private synthetic amR:Lcom/cmcm/safewallet/ui/giftcard/x;


# direct methods
.method constructor <init>(Lcom/cmcm/safewallet/ui/giftcard/x;)V
    .registers 2

    .prologue
    .line 104
    iput-object p1, p0, Lcom/cmcm/safewallet/ui/giftcard/x$2;->amR:Lcom/cmcm/safewallet/ui/giftcard/x;

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

    return-void
.end method


# virtual methods
.method public final a(Lio/reactivex/y;)V
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/y",
            "<",
            "Ljava/util/List",
            "<",
            "Lcom/cmcm/safewallet/ui/exchange/data/b;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    .line 108
    iget-object v0, p0, Lcom/cmcm/safewallet/ui/giftcard/x$2;->amR:Lcom/cmcm/safewallet/ui/giftcard/x;

    invoke-static {}, Lcom/cmcm/safewallet/ui/giftcard/x;->pd()D

    move-result-wide v2

    .line 1054
    iput-wide v2, v0, Lcom/cmcm/safewallet/ui/giftcard/x;->amL:D

    .line 111
    invoke-static {}, Lcom/cmcm/safewallet/utils/as;->vi()Ljava/util/List;

    move-result-object v1

    .line 112
    if-nez v1, :cond_16

    .line 113
    new-instance v0, Ljava/lang/Exception;

    const-string v1, "getHasBalanceBTCWallet null"

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

    throw v0

    .line 115
    :cond_16
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    .line 116
    :cond_1a
    :goto_1a
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_34

    .line 118
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/cmcm/safewallet/ui/exchange/data/b;

    .line 1072
    iget v3, v0, Lcom/cmcm/safewallet/ui/exchange/data/b;->Ze:I

    .line 119
    const/4 v4, 0x3

    if-eq v3, v4, :cond_30

    .line 2072
    iget v0, v0, Lcom/cmcm/safewallet/ui/exchange/data/b;->Ze:I

    .line 120
    const/4 v3, 0x2

    if-ne v0, v3, :cond_1a

    .line 121
    :cond_30
    invoke-interface {v2}, Ljava/util/Iterator;->remove()V

    goto :goto_1a

    .line 124
    :cond_34
    invoke-interface {p1, v1}, Lio/reactivex/y;->onSuccess(Ljava/lang/Object;)V

    .line 125
    return-void
.end method