granularity level: instruction

		.class public final Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;
.super Ljava/lang/Object;
.source "DoubleCheck.java"
.implements Ljavax/inject/Provider;
.implements Lcom/google/android/datatransport/runtime/dagger/Lazy;

.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljavax/inject/Provider<",
"TT;>;",
"Lcom/google/android/datatransport/runtime/dagger/Lazy<",
"TT;>;"
}
.end annotation

.field static final synthetic $assertionsDisabled:Z
.field private static final UNINITIALIZED:Ljava/lang/Object;
.field private volatile instance:Ljava/lang/Object;
.field private volatile provider:Ljavax/inject/Provider;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljavax/inject/Provider<",
"TT;>;"
}
.end annotation
.end field


.method static constructor <clinit>()V
	.locals 1

	new-instance v0, Ljava/lang/Object;
	invoke-direct {v0}, Ljava/lang/Object;-><init>()V
	sput-object v0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->UNINITIALIZED:Ljava/lang/Object;
	return-void
.end method

.method private constructor <init>(Ljavax/inject/Provider;)V
	.locals 1
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Ljavax/inject/Provider<",
	"TT;>;)V"
	}
	.end annotation

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	sget-object v0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->UNINITIALIZED:Ljava/lang/Object;
	iput-object v0, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->instance:Ljava/lang/Object;
	iput-object p1, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->provider:Ljavax/inject/Provider;
	return-void
.end method

.method public static lazy(Ljavax/inject/Provider;)Lcom/google/android/datatransport/runtime/dagger/Lazy;
	.locals 1
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<P::",
	"Ljavax/inject/Provider<",
	"TT;>;T:",
	"Ljava/lang/Object;",
	">(TP;)",
	"Lcom/google/android/datatransport/runtime/dagger/Lazy<",
	"TT;>;"
	}
	.end annotation

	const/4 v0, 0x0
	return-object v0
.end method

.method public static provider(Ljavax/inject/Provider;)Ljavax/inject/Provider;
	.locals 1
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<P::",
	"Ljavax/inject/Provider<",
	"TT;>;T:",
	"Ljava/lang/Object;",
	">(TP;)",
	"Ljavax/inject/Provider<",
	"TT;>;"
	}
	.end annotation

	invoke-static {p0}, Lcom/google/android/datatransport/runtime/dagger/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
	instance-of v0, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;
	new-instance v0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;
	invoke-direct {v0, p0}, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;-><init>(Ljavax/inject/Provider;)V
	return-object v0
.end method

.method public static reentrantCheck(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	.locals 3

	sget-object v0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->UNINITIALIZED:Ljava/lang/Object;
	const/4 v0, 0x0
	:goto_0
	:goto_1
	return-object p1
.end method

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

	iget-object v0, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->instance:Ljava/lang/Object;
	sget-object v1, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->UNINITIALIZED:Ljava/lang/Object;
	if-ne v0, v1, :cond_1
	monitor-enter p0
	iget-object v0, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->instance:Ljava/lang/Object;
	if-ne v0, v1, :cond_0
	iget-object v0, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->provider:Ljavax/inject/Provider;
	invoke-interface {v0}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
	move-result-object v0
	iget-object v1, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->instance:Ljava/lang/Object;
	invoke-static {v1, v0}, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->reentrantCheck(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v1
	iput-object v1, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->instance:Ljava/lang/Object;
	const/4 v1, 0x0
	iput-object v1, p0, Lcom/google/android/datatransport/runtime/dagger/internal/DoubleCheck;->provider:Ljavax/inject/Provider;
	:cond_0
	monitor-exit p0
	goto :goto_0
	:catchall_0
	move-exception v0
	monitor-exit p0
	:throw0
	throw v0
	:goto_0
	:cond_1
	return-object v0
.end method