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


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


# instance fields
.field public final a:Ln6/u;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ln6/u<",
            "TTResult;>;"
        }
    .end annotation
.end field


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

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

    new-instance v0, Ln6/u;

    invoke-direct {v0}, Ln6/u;-><init>()V

    iput-object v0, p0, Ln6/j;->a:Ln6/u;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/Exception;)Z
    .registers 5
    .param p1    # Ljava/lang/Exception;
        .annotation build Landroidx/annotation/RecentlyNonNull;
        .end annotation
    .end param

    iget-object v0, p0, Ln6/j;->a:Ln6/u;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const-string v1, "Exception must not be null"

    .line 1
    invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/d;->i(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, v0, Ln6/u;->a:Ljava/lang/Object;

    monitor-enter v1

    :try_start_d
    iget-boolean v2, v0, Ln6/u;->c:Z

    if-eqz v2, :cond_14

    monitor-exit v1

    const/4 p1, 0x0

    goto :goto_20

    :cond_14
    const/4 v2, 0x1

    iput-boolean v2, v0, Ln6/u;->c:Z

    iput-object p1, v0, Ln6/u;->f:Ljava/lang/Exception;

    monitor-exit v1
    :try_end_1a
    .catchall {:try_start_d .. :try_end_1a} :catchall_21

    iget-object p1, v0, Ln6/u;->b:Ln6/s;

    invoke-virtual {p1, v0}, Ln6/s;->b(Ln6/i;)V

    move p1, v2

    :goto_20
    return p1

    :catchall_21
    move-exception p1

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

    throw p1
.end method

.method public b(Ljava/lang/Object;)Z
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TTResult;)Z"
        }
    .end annotation

    iget-object v0, p0, Ln6/j;->a:Ln6/u;

    .line 1
    iget-object v1, v0, Ln6/u;->a:Ljava/lang/Object;

    monitor-enter v1

    :try_start_5
    iget-boolean v2, v0, Ln6/u;->c:Z

    if-eqz v2, :cond_c

    monitor-exit v1

    const/4 p1, 0x0

    goto :goto_18

    :cond_c
    const/4 v2, 0x1

    iput-boolean v2, v0, Ln6/u;->c:Z

    iput-object p1, v0, Ln6/u;->e:Ljava/lang/Object;

    monitor-exit v1
    :try_end_12
    .catchall {:try_start_5 .. :try_end_12} :catchall_19

    iget-object p1, v0, Ln6/u;->b:Ln6/s;

    invoke-virtual {p1, v0}, Ln6/s;->b(Ln6/i;)V

    move p1, v2

    :goto_18
    return p1

    :catchall_19
    move-exception p1

    :try_start_1a
    monitor-exit v1
    :try_end_1b
    .catchall {:try_start_1a .. :try_end_1b} :catchall_19

    throw p1
.end method
