granularity level: instruction

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


.field public static final zaa:Lcom/google/android/gms/common/api/Status;
.field final zab:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/google/android/gms/common/api/internal/BasePendingResult<",
"*>;>;"
}
.end annotation
.end field
.field private final zac:Lcom/google/android/gms/common/api/internal/zadb;


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

	new-instance v0, Lcom/google/android/gms/common/api/Status;
	const/16 v1, 0x8
	const-string v2, "The connection to Google Play services was lost"
	invoke-direct {v0, v1, v2}, Lcom/google/android/gms/common/api/Status;-><init>(ILjava/lang/String;)V
	sput-object v0, Lcom/google/android/gms/common/api/internal/zadc;->zaa:Lcom/google/android/gms/common/api/Status;
	return-void
.end method

.method public constructor <init>()V
	.locals 1

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	new-instance v0, Ljava/util/WeakHashMap;
	invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V
	invoke-static {v0}, Ljava/util/Collections;->newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
	move-result-object v0
	invoke-static {v0}, Ljava/util/Collections;->synchronizedSet(Ljava/util/Set;)Ljava/util/Set;
	move-result-object v0
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zadc;->zab:Ljava/util/Set;
	new-instance v0, Lcom/google/android/gms/common/api/internal/zadb;
	invoke-direct {v0, p0}, Lcom/google/android/gms/common/api/internal/zadb;-><init>(Lcom/google/android/gms/common/api/internal/zadc;)V
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zadc;->zac:Lcom/google/android/gms/common/api/internal/zadb;
	return-void
.end method

.method final zaa(Lcom/google/android/gms/common/api/internal/BasePendingResult;)V
	.locals 1
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/api/internal/BasePendingResult<",
	"+",
	"Lcom/google/android/gms/common/api/Result;",
	">;)V"
	}
	.end annotation

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zadc;->zab:Ljava/util/Set;
	invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zadc;->zac:Lcom/google/android/gms/common/api/internal/zadb;
	invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->zan(Lcom/google/android/gms/common/api/internal/zadb;)V
	return-void
.end method

.method public final zab()V
	.locals 5

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zadc;->zab:Ljava/util/Set;
	const/4 v1, 0x0
	new-array v2, v1, [Lcom/google/android/gms/common/api/internal/BasePendingResult;
	invoke-interface {v0, v2}, Ljava/util/Set;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
	move-result-object v0
	check-cast v0, [Lcom/google/android/gms/common/api/internal/BasePendingResult;
	array-length v2, v0
	:goto_0
	if-ge v1, v2, :cond_1
	aget-object v3, v0, v1
	const/4 v4, 0x0
	invoke-virtual {v3, v4}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->zan(Lcom/google/android/gms/common/api/internal/zadb;)V
	invoke-virtual {v3}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->zam()Z
	move-result v4
	if-eqz v4, :cond_0
	iget-object v4, p0, Lcom/google/android/gms/common/api/internal/zadc;->zab:Ljava/util/Set;
	invoke-interface {v4, v3}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
	:cond_0
	add-int/lit8 v1, v1, 0x1
	goto :goto_0
	:cond_1
	return-void
.end method