a.smali

.class public abstract Lcom/cmcm/safewallet/utils/concurrent/a/a;
.super Ljava/lang/Object;
.source "RollbackablePromise.kt"

# interfaces
.implements Lcom/cmcm/safewallet/utils/concurrent/a/b;


# instance fields
.field aPa:Lcom/cmcm/safewallet/utils/concurrent/a/a;
    .annotation build Lorg/jetbrains/annotations/Nullable;
    .end annotation
.end field

.field aPb:Lcom/cmcm/safewallet/utils/concurrent/a/a;
    .annotation build Lorg/jetbrains/annotations/Nullable;
    .end annotation
.end field

.field private volatile aPc:Z


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method


# virtual methods
.method public final vo()Z
    .registers 4

    .prologue
    const/4 v0, 0x1

    const/4 v1, 0x0

    .line 87
    :cond_2
    :goto_2
    iget-boolean v2, p0, Lcom/cmcm/safewallet/utils/concurrent/a/a;->aPc:Z

    .line 93
    :try_start_4
    invoke-virtual {p0}, Lcom/cmcm/safewallet/utils/concurrent/a/a;->run()V
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_7} :catch_27

    .line 101
    iget-object v2, p0, Lcom/cmcm/safewallet/utils/concurrent/a/a;->aPa:Lcom/cmcm/safewallet/utils/concurrent/a/a;

    if-nez v2, :cond_1f

    .line 102
    :goto_b
    return v0

    .line 1113
    :goto_c
    if-eqz v0, :cond_17

    .line 1115
    invoke-virtual {p0, v2}, Lcom/cmcm/safewallet/utils/concurrent/a/a;->c(Ljava/lang/Exception;)V

    .line 1124
    :cond_11
    iget-object p0, p0, Lcom/cmcm/safewallet/utils/concurrent/a/a;->aPb:Lcom/cmcm/safewallet/utils/concurrent/a/a;

    if-eqz p0, :cond_1d

    move v0, v1

    .line 1125
    goto :goto_c

    .line 1118
    :cond_17
    invoke-virtual {p0}, Lcom/cmcm/safewallet/utils/concurrent/a/a;->lD()Z

    move-result v0

    if-nez v0, :cond_11

    :cond_1d
    move v0, v1

    .line 98
    goto :goto_b

    .line 104
    :cond_1f
    iget-object p0, p0, Lcom/cmcm/safewallet/utils/concurrent/a/a;->aPa:Lcom/cmcm/safewallet/utils/concurrent/a/a;

    if-nez p0, :cond_2

    invoke-static {}, Lkotlin/jvm/internal/e;->Qs()V

    goto :goto_2

    .line 94
    :catch_27
    move-exception v2

    goto :goto_c
.end method