.class public final Ly8/g;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ly8/c;
.implements Ljava/io/Serializable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Ly8/c<",
        "TT;>;",
        "Ljava/io/Serializable;"
    }
.end annotation


# instance fields
.field public r:Lh9/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lh9/a<",
            "+TT;>;"
        }
    .end annotation
.end field

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

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


# direct methods
.method public constructor <init>(Lh9/a;Ljava/lang/Object;I)V
    .registers 4

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

    iput-object p1, p0, Ly8/g;->r:Lh9/a;

    sget-object p1, Ly8/i;->a:Ly8/i;

    iput-object p1, p0, Ly8/g;->s:Ljava/lang/Object;

    iput-object p0, p0, Ly8/g;->t:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public getValue()Ljava/lang/Object;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    iget-object v0, p0, Ly8/g;->s:Ljava/lang/Object;

    sget-object v1, Ly8/i;->a:Ly8/i;

    if-eq v0, v1, :cond_7

    return-object v0

    :cond_7
    iget-object v0, p0, Ly8/g;->t:Ljava/lang/Object;

    monitor-enter v0

    :try_start_a
    iget-object v2, p0, Ly8/g;->s:Ljava/lang/Object;

    if-eq v2, v1, :cond_f

    goto :goto_1d

    :cond_f
    iget-object v1, p0, Ly8/g;->r:Lh9/a;

    invoke-static {v1}, Lx/e;->d(Ljava/lang/Object;)V

    invoke-interface {v1}, Lh9/a;->b()Ljava/lang/Object;

    move-result-object v2

    iput-object v2, p0, Ly8/g;->s:Ljava/lang/Object;

    const/4 v1, 0x0

    iput-object v1, p0, Ly8/g;->r:Lh9/a;
    :try_end_1d
    .catchall {:try_start_a .. :try_end_1d} :catchall_1f

    :goto_1d
    monitor-exit v0

    return-object v2

    :catchall_1f
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method public toString()Ljava/lang/String;
    .registers 3

    .line 1
    iget-object v0, p0, Ly8/g;->s:Ljava/lang/Object;

    sget-object v1, Ly8/i;->a:Ly8/i;

    if-eq v0, v1, :cond_8

    const/4 v0, 0x1

    goto :goto_9

    :cond_8
    const/4 v0, 0x0

    :goto_9
    if-eqz v0, :cond_14

    .line 2
    invoke-virtual {p0}, Ly8/g;->getValue()Ljava/lang/Object;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    goto :goto_16

    :cond_14
    const-string v0, "Lazy value not initialized yet."

    :goto_16
    return-object v0
.end method
