granularity level: instruction

		.class final Lcom/google/android/gms/common/api/zab;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-base@@18.0.1"
.implements Lcom/google/android/gms/common/api/PendingResult$StatusListener;


.field final synthetic zaa:Lcom/google/android/gms/common/api/Batch;


.method constructor <init>(Lcom/google/android/gms/common/api/Batch;)V
	.locals 0

	iput-object p1, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public final onComplete(Lcom/google/android/gms/common/api/Status;)V
	.locals 4

	iget-object v0, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	invoke-static {v0}, Lcom/google/android/gms/common/api/Batch;->zab(Lcom/google/android/gms/common/api/Batch;)Ljava/lang/Object;
	move-result-object v0
	monitor-enter v0
	:try_start_0
	iget-object v1, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	invoke-virtual {v1}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->isCanceled()Z
	move-result v1
	if-eqz v1, :cond_0
	monitor-exit v0
	return-void
	:cond_0
	invoke-virtual {p1}, Lcom/google/android/gms/common/api/Status;->isCanceled()Z
	move-result v1
	const/4 v2, 0x1
	if-eqz v1, :cond_1
	iget-object p1, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	invoke-static {p1, v2}, Lcom/google/android/gms/common/api/Batch;->zad(Lcom/google/android/gms/common/api/Batch;Z)V
	goto :goto_0
	:cond_1
	invoke-virtual {p1}, Lcom/google/android/gms/common/api/Status;->isSuccess()Z
	move-result p1
	if-nez p1, :cond_2
	iget-object p1, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	invoke-static {p1, v2}, Lcom/google/android/gms/common/api/Batch;->zac(Lcom/google/android/gms/common/api/Batch;Z)V
	:goto_0
	:cond_2
	iget-object p1, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	invoke-static {p1}, Lcom/google/android/gms/common/api/Batch;->zaa(Lcom/google/android/gms/common/api/Batch;)I
	move-result v1
	add-int/lit8 v1, v1, -0x1
	invoke-static {p1, v1}, Lcom/google/android/gms/common/api/Batch;->zae(Lcom/google/android/gms/common/api/Batch;I)V
	iget-object p1, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	invoke-static {p1}, Lcom/google/android/gms/common/api/Batch;->zaa(Lcom/google/android/gms/common/api/Batch;)I
	move-result v1
	if-nez v1, :cond_5
	invoke-static {p1}, Lcom/google/android/gms/common/api/Batch;->zah(Lcom/google/android/gms/common/api/Batch;)Z
	move-result v1
	if-eqz v1, :cond_3
	invoke-static {p1}, Lcom/google/android/gms/common/api/Batch;->zaf(Lcom/google/android/gms/common/api/Batch;)V
	goto :goto_2
	:cond_3
	invoke-static {p1}, Lcom/google/android/gms/common/api/Batch;->zag(Lcom/google/android/gms/common/api/Batch;)Z
	move-result p1
	if-eqz p1, :cond_4
	new-instance p1, Lcom/google/android/gms/common/api/Status;
	const/16 v1, 0xd
	invoke-direct {p1, v1}, Lcom/google/android/gms/common/api/Status;-><init>(I)V
	goto :goto_1
	:cond_4
	sget-object p1, Lcom/google/android/gms/common/api/Status;->RESULT_SUCCESS:Lcom/google/android/gms/common/api/Status;
	:goto_1
	iget-object v1, p0, Lcom/google/android/gms/common/api/zab;->zaa:Lcom/google/android/gms/common/api/Batch;
	new-instance v2, Lcom/google/android/gms/common/api/BatchResult;
	invoke-static {v1}, Lcom/google/android/gms/common/api/Batch;->zai(Lcom/google/android/gms/common/api/Batch;)[Lcom/google/android/gms/common/api/PendingResult;
	move-result-object v3
	invoke-direct {v2, p1, v3}, Lcom/google/android/gms/common/api/BatchResult;-><init>(Lcom/google/android/gms/common/api/Status;[Lcom/google/android/gms/common/api/PendingResult;)V
	invoke-virtual {v1, v2}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->setResult(Lcom/google/android/gms/common/api/Result;)V
	:goto_2
	:cond_5
	monitor-exit v0
	return-void
	:catchall_0
	move-exception p1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw p1
.end method