a$d.smali

.class public final Ld1/a$d;
.super Ljava/lang/ref/WeakReference;
.source "ActiveResources.java"


# annotations
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation

.annotation system Ldalvik/annotation/EnclosingClass;
    value = Ld1/a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "d"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/ref/WeakReference<",
        "Ld1/o<",
        "*>;>;"
    }
.end annotation


# instance fields
.field public final a:La1/d;

.field public final b:Z

.field public c:Ld1/u;
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ld1/u<",
            "*>;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(La1/d;Ld1/o;Ljava/lang/ref/ReferenceQueue;Z)V
    .registers 5
    .param p1    # La1/d;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Ld1/o;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p3    # Ljava/lang/ref/ReferenceQueue;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "La1/d;",
            "Ld1/o<",
            "*>;",
            "Ljava/lang/ref/ReferenceQueue<",
            "-",
            "Ld1/o<",
            "*>;>;Z)V"
        }
    .end annotation

    invoke-direct {p0, p2, p3}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V

    invoke-static {p1}, Ly1/j;->a(Ljava/lang/Object;)Ljava/lang/Object;

    check-cast p1, La1/d;

    iput-object p1, p0, Ld1/a$d;->a:La1/d;

    invoke-virtual {p2}, Ld1/o;->d()Z

    move-result p1

    if-eqz p1, :cond_1c

    if-eqz p4, :cond_1c

    invoke-virtual {p2}, Ld1/o;->c()Ld1/u;

    move-result-object p1

    invoke-static {p1}, Ly1/j;->a(Ljava/lang/Object;)Ljava/lang/Object;

    check-cast p1, Ld1/u;

    goto :goto_1d

    :cond_1c
    const/4 p1, 0x0

    :goto_1d
    iput-object p1, p0, Ld1/a$d;->c:Ld1/u;

    invoke-virtual {p2}, Ld1/o;->d()Z

    move-result p1

    iput-boolean p1, p0, Ld1/a$d;->b:Z

    return-void
.end method


# virtual methods
.method public a()V
    .registers 2

    const/4 v0, 0x0

    iput-object v0, p0, Ld1/a$d;->c:Ld1/u;

    invoke-virtual {p0}, Ljava/lang/ref/WeakReference;->clear()V

    return-void
.end method