.class public final Ln6/p;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ln6/r;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<TResult:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Ln6/r<",
        "TTResult;>;"
    }
.end annotation


# instance fields
.field public final r:Ljava/util/concurrent/Executor;

.field public final s:Ljava/lang/Object;

.field public t:Ln6/e;
    .annotation runtime Ljavax/annotation/Nullable;
    .end annotation

    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "mLock"
    .end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/util/concurrent/Executor;Ln6/e;)V
    .registers 4

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

    new-instance v0, Ljava/lang/Object;

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

    iput-object v0, p0, Ln6/p;->s:Ljava/lang/Object;

    iput-object p1, p0, Ln6/p;->r:Ljava/util/concurrent/Executor;

    iput-object p2, p0, Ln6/p;->t:Ln6/e;

    return-void
.end method


# virtual methods
.method public final a(Ln6/i;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ln6/i<",
            "TTResult;>;)V"
        }
    .end annotation

    invoke-virtual {p1}, Ln6/i;->n()Z

    move-result v0

    if-nez v0, :cond_24

    invoke-virtual {p1}, Ln6/i;->l()Z

    move-result v0

    if-nez v0, :cond_24

    iget-object v0, p0, Ln6/p;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_f
    iget-object v1, p0, Ln6/p;->t:Ln6/e;

    if-nez v1, :cond_15

    monitor-exit v0

    return-void

    :cond_15
    monitor-exit v0
    :try_end_16
    .catchall {:try_start_f .. :try_end_16} :catchall_21

    iget-object v0, p0, Ln6/p;->r:Ljava/util/concurrent/Executor;

    new-instance v1, Lz5/w8;

    invoke-direct {v1, p0, p1}, Lz5/w8;-><init>(Ln6/p;Ln6/i;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    return-void

    :catchall_21
    move-exception p1

    :try_start_22
    monitor-exit v0
    :try_end_23
    .catchall {:try_start_22 .. :try_end_23} :catchall_21

    throw p1

    :cond_24
    return-void
.end method
