b$g.smali

.class final Landroidx/work/impl/utils/futures/b$g;
.super Landroidx/work/impl/utils/futures/b$a;
.source "AbstractFuture.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Landroidx/work/impl/utils/futures/b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1a
    name = "g"
.end annotation


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

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, v0}, Landroidx/work/impl/utils/futures/b$a;-><init>(Landroidx/work/impl/utils/futures/a;)V

    return-void
.end method


# virtual methods
.method a(Landroidx/work/impl/utils/futures/b$h;Landroidx/work/impl/utils/futures/b$h;)V
    .registers 3

    .line 2
    iput-object p2, p1, Landroidx/work/impl/utils/futures/b$h;->c:Landroidx/work/impl/utils/futures/b$h;

    return-void
.end method

.method a(Landroidx/work/impl/utils/futures/b$h;Ljava/lang/Thread;)V
    .registers 3

    .line 1
    iput-object p2, p1, Landroidx/work/impl/utils/futures/b$h;->b:Ljava/lang/Thread;

    return-void
.end method

.method a(Landroidx/work/impl/utils/futures/b;Landroidx/work/impl/utils/futures/b$d;Landroidx/work/impl/utils/futures/b$d;)Z
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroidx/work/impl/utils/futures/b<",
            "*>;",
            "Landroidx/work/impl/utils/futures/b$d;",
            "Landroidx/work/impl/utils/futures/b$d;",
            ")Z"
        }
    .end annotation

    .line 9
    monitor-enter p1

    .line 10
    :try_start_1
    iget-object v0, p1, Landroidx/work/impl/utils/futures/b;->f:Landroidx/work/impl/utils/futures/b$d;

    if-ne v0, p2, :cond_a

    .line 11
    iput-object p3, p1, Landroidx/work/impl/utils/futures/b;->f:Landroidx/work/impl/utils/futures/b$d;

    const/4 p2, 0x1

    .line 12
    monitor-exit p1

    return p2

    :cond_a
    const/4 p2, 0x0

    .line 13
    monitor-exit p1

    return p2

    :catchall_d
    move-exception p2

    .line 14
    monitor-exit p1
    :try_end_f
    .catchall {:try_start_1 .. :try_end_f} :catchall_d

    throw p2
.end method

.method a(Landroidx/work/impl/utils/futures/b;Landroidx/work/impl/utils/futures/b$h;Landroidx/work/impl/utils/futures/b$h;)Z
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroidx/work/impl/utils/futures/b<",
            "*>;",
            "Landroidx/work/impl/utils/futures/b$h;",
            "Landroidx/work/impl/utils/futures/b$h;",
            ")Z"
        }
    .end annotation

    .line 3
    monitor-enter p1

    .line 4
    :try_start_1
    iget-object v0, p1, Landroidx/work/impl/utils/futures/b;->g:Landroidx/work/impl/utils/futures/b$h;

    if-ne v0, p2, :cond_a

    .line 5
    iput-object p3, p1, Landroidx/work/impl/utils/futures/b;->g:Landroidx/work/impl/utils/futures/b$h;

    const/4 p2, 0x1

    .line 6
    monitor-exit p1

    return p2

    :cond_a
    const/4 p2, 0x0

    .line 7
    monitor-exit p1

    return p2

    :catchall_d
    move-exception p2

    .line 8
    monitor-exit p1
    :try_end_f
    .catchall {:try_start_1 .. :try_end_f} :catchall_d

    throw p2
.end method

.method a(Landroidx/work/impl/utils/futures/b;Ljava/lang/Object;Ljava/lang/Object;)Z
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroidx/work/impl/utils/futures/b<",
            "*>;",
            "Ljava/lang/Object;",
            "Ljava/lang/Object;",
            ")Z"
        }
    .end annotation

    .line 15
    monitor-enter p1

    .line 16
    :try_start_1
    iget-object v0, p1, Landroidx/work/impl/utils/futures/b;->e:Ljava/lang/Object;

    if-ne v0, p2, :cond_a

    .line 17
    iput-object p3, p1, Landroidx/work/impl/utils/futures/b;->e:Ljava/lang/Object;

    const/4 p2, 0x1

    .line 18
    monitor-exit p1

    return p2

    :cond_a
    const/4 p2, 0x0

    .line 19
    monitor-exit p1

    return p2

    :catchall_d
    move-exception p2

    .line 20
    monitor-exit p1
    :try_end_f
    .catchall {:try_start_1 .. :try_end_f} :catchall_d

    throw p2
.end method