granularity level: instruction

		.class final Lcom/google/android/gms/tasks/zzh;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-tasks@@18.0.1"
.implements Lcom/google/android/gms/tasks/zzq;

.annotation system Ldalvik/annotation/Signature;
value = {
"<TResult:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lcom/google/android/gms/tasks/zzq<",
"TTResult;>;"
}
.end annotation

.field private final zza:Ljava/util/concurrent/Executor;
.field private final zzb:Ljava/lang/Object;
.field private zzc:Lcom/google/android/gms/tasks/OnCanceledListener;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field


.method public constructor <init>(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/OnCanceledListener;)V
	.locals 1

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	new-instance v0, Ljava/lang/Object;
	invoke-direct {v0}, Ljava/lang/Object;-><init>()V
	iput-object v0, p0, Lcom/google/android/gms/tasks/zzh;->zzb:Ljava/lang/Object;
	iput-object p1, p0, Lcom/google/android/gms/tasks/zzh;->zza:Ljava/util/concurrent/Executor;
	iput-object p2, p0, Lcom/google/android/gms/tasks/zzh;->zzc:Lcom/google/android/gms/tasks/OnCanceledListener;
	return-void
.end method

.method static bridge synthetic zza(Lcom/google/android/gms/tasks/zzh;)Lcom/google/android/gms/tasks/OnCanceledListener;
	.locals 0

	iget-object p0, p0, Lcom/google/android/gms/tasks/zzh;->zzc:Lcom/google/android/gms/tasks/OnCanceledListener;
	return-object p0
.end method

.method static bridge synthetic zzb(Lcom/google/android/gms/tasks/zzh;)Ljava/lang/Object;
	.locals 0

	iget-object p0, p0, Lcom/google/android/gms/tasks/zzh;->zzb:Ljava/lang/Object;
	return-object p0
.end method

.method public final zzc()V
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/tasks/zzh;->zzb:Ljava/lang/Object;
	monitor-enter v0
	const/4 v1, 0x0
	:try_start_0
	iput-object v1, p0, Lcom/google/android/gms/tasks/zzh;->zzc:Lcom/google/android/gms/tasks/OnCanceledListener;
	monitor-exit v0
	return-void
	:catchall_0
	move-exception v1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw v1
.end method

.method public final zzd(Lcom/google/android/gms/tasks/Task;)V
	.locals 1
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/tasks/Task<",
	"TTResult;>;)V"
	}
	.end annotation

	invoke-virtual {p1}, Lcom/google/android/gms/tasks/Task;->isCanceled()Z
	move-result p1
	if-eqz p1, :cond_1
	iget-object p1, p0, Lcom/google/android/gms/tasks/zzh;->zzb:Ljava/lang/Object;
	monitor-enter p1
	:try_start_0
	iget-object v0, p0, Lcom/google/android/gms/tasks/zzh;->zzc:Lcom/google/android/gms/tasks/OnCanceledListener;
	if-nez v0, :cond_0
	monitor-exit p1
	return-void
	:cond_0
	monitor-exit p1
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	iget-object p1, p0, Lcom/google/android/gms/tasks/zzh;->zza:Ljava/util/concurrent/Executor;
	new-instance v0, Lcom/google/android/gms/tasks/zzg;
	invoke-direct {v0, p0}, Lcom/google/android/gms/tasks/zzg;-><init>(Lcom/google/android/gms/tasks/zzh;)V
	invoke-interface {p1, v0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
	return-void
	:catchall_0
	move-exception v0
	:try_start_1
	monitor-exit p1
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	throw v0
	:cond_1
	return-void
.end method