package com.google.android.gms.common.api; import com.google.android.gms.common.internal.Preconditions; import java.util.concurrent.TimeUnit; /* loaded from: classes.dex */ public final class BatchResult implements Result { private final Status zaa; private final PendingResult[] zab; public final R take(BatchResultToken batchResultToken) { Preconditions.checkArgument(batchResultToken.mId < this.zab.length, "The result token does not belong to this batch"); return (R) this.zab[batchResultToken.mId].await(0L, TimeUnit.MILLISECONDS); } @Override // com.google.android.gms.common.api.Result public final Status getStatus() { return this.zaa; } /* JADX INFO: Access modifiers changed from: package-private */ public BatchResult(Status status, PendingResult[] pendingResultArr) { this.zaa = status; this.zab = pendingResultArr; } }