g$6.smali

.class final Lbolts/g$6;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lbolts/g;->d(Lbolts/h;Lbolts/f;Lbolts/g;Ljava/util/concurrent/Executor;Lbolts/c;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Lbolts/c;

.field final synthetic b:Lbolts/h;

.field final synthetic c:Lbolts/f;

.field final synthetic d:Lbolts/g;


# direct methods
.method constructor <init>(Lbolts/c;Lbolts/h;Lbolts/f;Lbolts/g;)V
    .registers 5

    .line 908
    iput-object p1, p0, Lbolts/g$6;->a:Lbolts/c;

    iput-object p2, p0, Lbolts/g$6;->b:Lbolts/h;

    iput-object p3, p0, Lbolts/g$6;->c:Lbolts/f;

    iput-object p4, p0, Lbolts/g$6;->d:Lbolts/g;

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 3

    .line 911
    iget-object v0, p0, Lbolts/g$6;->a:Lbolts/c;

    if-eqz v0, :cond_12

    .line 1044
    iget-object v0, v0, Lbolts/c;->a:Lbolts/e;

    invoke-virtual {v0}, Lbolts/e;->a()Z

    move-result v0

    if-eqz v0, :cond_12

    .line 912
    iget-object v0, p0, Lbolts/g$6;->b:Lbolts/h;

    invoke-virtual {v0}, Lbolts/h;->a()V

    return-void

    .line 917
    :cond_12
    :try_start_12
    iget-object v0, p0, Lbolts/g$6;->c:Lbolts/f;

    iget-object v1, p0, Lbolts/g$6;->d:Lbolts/g;

    invoke-interface {v0, v1}, Lbolts/f;->then(Lbolts/g;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbolts/g;

    if-nez v0, :cond_25

    .line 919
    iget-object v0, p0, Lbolts/g$6;->b:Lbolts/h;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lbolts/h;->b(Ljava/lang/Object;)V

    return-void

    .line 921
    :cond_25
    new-instance v1, Lbolts/g$6$1;

    invoke-direct {v1, p0}, Lbolts/g$6$1;-><init>(Lbolts/g$6;)V

    invoke-virtual {v0, v1}, Lbolts/g;->a(Lbolts/f;)Lbolts/g;
    :try_end_2d
    .catch Ljava/util/concurrent/CancellationException; {:try_start_12 .. :try_end_2d} :catch_35
    .catch Ljava/lang/Exception; {:try_start_12 .. :try_end_2d} :catch_2e

    return-void

    :catch_2e
    move-exception v0

    .line 943
    iget-object v1, p0, Lbolts/g$6;->b:Lbolts/h;

    invoke-virtual {v1, v0}, Lbolts/h;->a(Ljava/lang/Exception;)V

    return-void

    .line 941
    :catch_35
    iget-object v0, p0, Lbolts/g$6;->b:Lbolts/h;

    invoke-virtual {v0}, Lbolts/h;->a()V

    return-void
.end method