granularity level: instruction

		.class public final Lcom/google/android/gms/common/api/Batch;
.super Lcom/google/android/gms/common/api/internal/BasePendingResult;
.source "com.google.android.gms:play-services-base@@18.0.1"

.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/common/api/Batch$Builder;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/gms/common/api/internal/BasePendingResult<",
"Lcom/google/android/gms/common/api/BatchResult;",
">;"
}
.end annotation

.field private zae:I
.field private zaf:Z
.field private zag:Z
.field private final zah:[Lcom/google/android/gms/common/api/PendingResult;
.annotation system Ldalvik/annotation/Signature;
value = {
"[",
"Lcom/google/android/gms/common/api/PendingResult<",
"*>;"
}
.end annotation
.end field
.field private final zai:Ljava/lang/Object;


.method synthetic constructor <init>(Ljava/util/List;Lcom/google/android/gms/common/api/GoogleApiClient;Lcom/google/android/gms/common/api/zac;)V
	.locals 1

	invoke-direct {p0, p2}, Lcom/google/android/gms/common/api/internal/BasePendingResult;-><init>(Lcom/google/android/gms/common/api/GoogleApiClient;)V
	new-instance p2, Ljava/lang/Object;
	invoke-direct {p2}, Ljava/lang/Object;-><init>()V
	iput-object p2, p0, Lcom/google/android/gms/common/api/Batch;->zai:Ljava/lang/Object;
	invoke-interface {p1}, Ljava/util/List;->size()I
	move-result p2
	iput p2, p0, Lcom/google/android/gms/common/api/Batch;->zae:I
	new-array p2, p2, [Lcom/google/android/gms/common/api/PendingResult;
	iput-object p2, p0, Lcom/google/android/gms/common/api/Batch;->zah:[Lcom/google/android/gms/common/api/PendingResult;
	invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
	move-result p3
	if-nez p3, :cond_1
	const/4 p2, 0x0
	:goto_0
	invoke-interface {p1}, Ljava/util/List;->size()I
	move-result p3
	if-ge p2, p3, :cond_0
	invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
	move-result-object p3
	check-cast p3, Lcom/google/android/gms/common/api/PendingResult;
	iget-object v0, p0, Lcom/google/android/gms/common/api/Batch;->zah:[Lcom/google/android/gms/common/api/PendingResult;
	aput-object p3, v0, p2
	new-instance v0, Lcom/google/android/gms/common/api/zab;
	invoke-direct {v0, p0}, Lcom/google/android/gms/common/api/zab;-><init>(Lcom/google/android/gms/common/api/Batch;)V
	invoke-virtual {p3, v0}, Lcom/google/android/gms/common/api/PendingResult;->addStatusListener(Lcom/google/android/gms/common/api/PendingResult$StatusListener;)V
	add-int/lit8 p2, p2, 0x1
	goto :goto_0
	:cond_0
	return-void
	:cond_1
	new-instance p1, Lcom/google/android/gms/common/api/BatchResult;
	sget-object p3, Lcom/google/android/gms/common/api/Status;->RESULT_SUCCESS:Lcom/google/android/gms/common/api/Status;
	invoke-direct {p1, p3, p2}, 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 {p0, p1}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->setResult(Lcom/google/android/gms/common/api/Result;)V
	return-void
.end method

.method static bridge synthetic zaa(Lcom/google/android/gms/common/api/Batch;)I
	.locals 0

	iget p0, p0, Lcom/google/android/gms/common/api/Batch;->zae:I
	return p0
.end method

.method static bridge synthetic zab(Lcom/google/android/gms/common/api/Batch;)Ljava/lang/Object;
	.locals 0

	iget-object p0, p0, Lcom/google/android/gms/common/api/Batch;->zai:Ljava/lang/Object;
	return-object p0
.end method

.method static bridge synthetic zac(Lcom/google/android/gms/common/api/Batch;Z)V
	.locals 0

	const/4 p1, 0x1
	iput-boolean p1, p0, Lcom/google/android/gms/common/api/Batch;->zaf:Z
	return-void
.end method

.method static bridge synthetic zad(Lcom/google/android/gms/common/api/Batch;Z)V
	.locals 0

	const/4 p1, 0x1
	iput-boolean p1, p0, Lcom/google/android/gms/common/api/Batch;->zag:Z
	return-void
.end method

.method static bridge synthetic zae(Lcom/google/android/gms/common/api/Batch;I)V
	.locals 0

	iput p1, p0, Lcom/google/android/gms/common/api/Batch;->zae:I
	return-void
.end method

.method static synthetic zaf(Lcom/google/android/gms/common/api/Batch;)V
	.locals 0

	invoke-super {p0}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->cancel()V
	return-void
.end method

.method static bridge synthetic zag(Lcom/google/android/gms/common/api/Batch;)Z
	.locals 0

	iget-boolean p0, p0, Lcom/google/android/gms/common/api/Batch;->zaf:Z
	return p0
.end method

.method static bridge synthetic zah(Lcom/google/android/gms/common/api/Batch;)Z
	.locals 0

	iget-boolean p0, p0, Lcom/google/android/gms/common/api/Batch;->zag:Z
	return p0
.end method

.method static bridge synthetic zai(Lcom/google/android/gms/common/api/Batch;)[Lcom/google/android/gms/common/api/PendingResult;
	.locals 0

	iget-object p0, p0, Lcom/google/android/gms/common/api/Batch;->zah:[Lcom/google/android/gms/common/api/PendingResult;
	return-object p0
.end method

.method public cancel()V
	.locals 4

	invoke-super {p0}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->cancel()V
	iget-object v0, p0, Lcom/google/android/gms/common/api/Batch;->zah:[Lcom/google/android/gms/common/api/PendingResult;
	array-length v1, v0
	const/4 v2, 0x0
	:goto_0
	if-ge v2, v1, :cond_0
	aget-object v3, v0, v2
	invoke-virtual {v3}, Lcom/google/android/gms/common/api/PendingResult;->cancel()V
	add-int/lit8 v2, v2, 0x1
	goto :goto_0
	:cond_0
	return-void
.end method

.method public createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/BatchResult;
	.locals 2

	new-instance v0, Lcom/google/android/gms/common/api/BatchResult;
	iget-object v1, p0, Lcom/google/android/gms/common/api/Batch;->zah:[Lcom/google/android/gms/common/api/PendingResult;
	invoke-direct {v0, p1, v1}, Lcom/google/android/gms/common/api/BatchResult;-><init>(Lcom/google/android/gms/common/api/Status;[Lcom/google/android/gms/common/api/PendingResult;)V
	return-object v0
.end method

.method public final bridge synthetic createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/Result;
	.locals 0

	invoke-virtual {p0, p1}, Lcom/google/android/gms/common/api/Batch;->createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/BatchResult;
	move-result-object p1
	return-object p1
.end method