.class public final Lm3/v;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lm3/w;
.implements Lh4/a$d;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<Z:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Lm3/w<",
        "TZ;>;",
        "Lh4/a$d;"
    }
.end annotation


# static fields
.field public static final v:Lk0/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lk0/c<",
            "Lm3/v<",
            "*>;>;"
        }
    .end annotation
.end field


# instance fields
.field public final r:Lh4/d;

.field public s:Lm3/w;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lm3/w<",
            "TZ;>;"
        }
    .end annotation
.end field

.field public t:Z

.field public u:Z


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

    new-instance v0, Lm3/v$a;

    invoke-direct {v0}, Lm3/v$a;-><init>()V

    const/16 v1, 0x14

    invoke-static {v1, v0}, Lh4/a;->a(ILh4/a$b;)Lk0/c;

    move-result-object v0

    sput-object v0, Lm3/v;->v:Lk0/c;

    return-void
.end method

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

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

    .line 1
    new-instance v0, Lh4/d$b;

    invoke-direct {v0}, Lh4/d$b;-><init>()V

    .line 2
    iput-object v0, p0, Lm3/v;->r:Lh4/d;

    return-void
.end method

.method public static e(Lm3/w;)Lm3/v;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<Z:",
            "Ljava/lang/Object;",
            ">(",
            "Lm3/w<",
            "TZ;>;)",
            "Lm3/v<",
            "TZ;>;"
        }
    .end annotation

    sget-object v0, Lm3/v;->v:Lk0/c;

    check-cast v0, Lh4/a$c;

    invoke-virtual {v0}, Lh4/a$c;->b()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lm3/v;

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

    .line 1
    invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    const/4 v1, 0x0

    .line 2
    iput-boolean v1, v0, Lm3/v;->u:Z

    const/4 v1, 0x1

    iput-boolean v1, v0, Lm3/v;->t:Z

    iput-object p0, v0, Lm3/v;->s:Lm3/w;

    return-object v0
.end method


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

    iget-object v0, p0, Lm3/v;->s:Lm3/w;

    invoke-interface {v0}, Lm3/w;->a()I

    move-result v0

    return v0
.end method

.method public b()Ljava/lang/Class;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class<",
            "TZ;>;"
        }
    .end annotation

    iget-object v0, p0, Lm3/v;->s:Lm3/w;

    invoke-interface {v0}, Lm3/w;->b()Ljava/lang/Class;

    move-result-object v0

    return-object v0
.end method

.method public declared-synchronized c()V
    .registers 2

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lm3/v;->r:Lh4/d;

    invoke-virtual {v0}, Lh4/d;->a()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lm3/v;->u:Z

    iget-boolean v0, p0, Lm3/v;->t:Z

    if-nez v0, :cond_1c

    iget-object v0, p0, Lm3/v;->s:Lm3/w;

    invoke-interface {v0}, Lm3/w;->c()V

    const/4 v0, 0x0

    .line 1
    iput-object v0, p0, Lm3/v;->s:Lm3/w;

    sget-object v0, Lm3/v;->v:Lk0/c;

    check-cast v0, Lh4/a$c;

    invoke-virtual {v0, p0}, Lh4/a$c;->a(Ljava/lang/Object;)Z
    :try_end_1c
    .catchall {:try_start_1 .. :try_end_1c} :catchall_1e

    .line 2
    :cond_1c
    monitor-exit p0

    return-void

    :catchall_1e
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public d()Lh4/d;
    .registers 2

    iget-object v0, p0, Lm3/v;->r:Lh4/d;

    return-object v0
.end method

.method public declared-synchronized f()V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lm3/v;->r:Lh4/d;

    invoke-virtual {v0}, Lh4/d;->a()V

    iget-boolean v0, p0, Lm3/v;->t:Z

    if-eqz v0, :cond_16

    const/4 v0, 0x0

    iput-boolean v0, p0, Lm3/v;->t:Z

    iget-boolean v0, p0, Lm3/v;->u:Z

    if-eqz v0, :cond_14

    invoke-virtual {p0}, Lm3/v;->c()V
    :try_end_14
    .catchall {:try_start_1 .. :try_end_14} :catchall_1e

    :cond_14
    monitor-exit p0

    return-void

    :cond_16
    :try_start_16
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Already unlocked"

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

    throw v0
    :try_end_1e
    .catchall {:try_start_16 .. :try_end_1e} :catchall_1e

    :catchall_1e
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public get()Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TZ;"
        }
    .end annotation

    iget-object v0, p0, Lm3/v;->s:Lm3/w;

    invoke-interface {v0}, Lm3/w;->get()Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method
