granularity level: instruction

		.class public final Lcom/google/android/gms/common/api/internal/zabq;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-base@@18.0.1"
.implements Lcom/google/android/gms/common/api/GoogleApiClient$ConnectionCallbacks;
.implements Lcom/google/android/gms/common/api/GoogleApiClient$OnConnectionFailedListener;
.implements Lcom/google/android/gms/common/api/internal/zau;

.annotation system Ldalvik/annotation/Signature;
value = {
"<O::",
"Lcom/google/android/gms/common/api/Api$ApiOptions;",
">",
"Ljava/lang/Object;",
"Lcom/google/android/gms/common/api/GoogleApiClient$ConnectionCallbacks;",
"Lcom/google/android/gms/common/api/GoogleApiClient$OnConnectionFailedListener;",
"Lcom/google/android/gms/common/api/internal/zau;"
}
.end annotation

.field final synthetic zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
.field private final zab:Ljava/util/Queue;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Queue<",
"Lcom/google/android/gms/common/api/internal/zai;",
">;"
}
.end annotation
.end field
.field private final zac:Lcom/google/android/gms/common/api/Api$Client;
.annotation runtime Lorg/checkerframework/checker/initialization/qual/NotOnlyInitialized;
.end annotation
.end field
.field private final zad:Lcom/google/android/gms/common/api/internal/ApiKey;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/gms/common/api/internal/ApiKey<",
"TO;>;"
}
.end annotation
.end field
.field private final zae:Lcom/google/android/gms/common/api/internal/zaad;
.field private final zaf:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Lcom/google/android/gms/common/api/internal/zal;",
">;"
}
.end annotation
.end field
.field private final zag:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Lcom/google/android/gms/common/api/internal/ListenerHolder$ListenerKey<",
"*>;",
"Lcom/google/android/gms/common/api/internal/zaci;",
">;"
}
.end annotation
.end field
.field private final zah:I
.field private final zai:Lcom/google/android/gms/common/api/internal/zact;
.field private zaj:Z
.field private final zak:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/google/android/gms/common/api/internal/zabs;",
">;"
}
.end annotation
.end field
.field private zal:Lcom/google/android/gms/common/ConnectionResult;
.field private zam:I


.method public constructor <init>(Lcom/google/android/gms/common/api/internal/GoogleApiManager;Lcom/google/android/gms/common/api/GoogleApi;)V
	.locals 3
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/api/GoogleApi<",
	"TO;>;)V"
	}
	.end annotation

	iput-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	new-instance v0, Ljava/util/LinkedList;
	invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	new-instance v0, Ljava/util/HashSet;
	invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaf:Ljava/util/Set;
	new-instance v0, Ljava/util/HashMap;
	invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zag:Ljava/util/Map;
	new-instance v0, Ljava/util/ArrayList;
	invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zak:Ljava/util/List;
	const/4 v0, 0x0
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zal:Lcom/google/android/gms/common/ConnectionResult;
	const/4 v1, 0x0
	iput v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zam:I
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v1
	invoke-virtual {v1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
	move-result-object v1
	invoke-virtual {p2, v1, p0}, Lcom/google/android/gms/common/api/GoogleApi;->zab(Landroid/os/Looper;Lcom/google/android/gms/common/api/internal/zabq;)Lcom/google/android/gms/common/api/Api$Client;
	move-result-object v1
	iput-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-virtual {p2}, Lcom/google/android/gms/common/api/GoogleApi;->getApiKey()Lcom/google/android/gms/common/api/internal/ApiKey;
	move-result-object v2
	iput-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	new-instance v2, Lcom/google/android/gms/common/api/internal/zaad;
	invoke-direct {v2}, Lcom/google/android/gms/common/api/internal/zaad;-><init>()V
	iput-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zae:Lcom/google/android/gms/common/api/internal/zaad;
	invoke-virtual {p2}, Lcom/google/android/gms/common/api/GoogleApi;->zaa()I
	move-result v2
	iput v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zah:I
	invoke-interface {v1}, Lcom/google/android/gms/common/api/Api$Client;->requiresSignIn()Z
	move-result v1
	if-eqz v1, :cond_0
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zae(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/content/Context;
	move-result-object v0
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object p1
	invoke-virtual {p2, v0, p1}, Lcom/google/android/gms/common/api/GoogleApi;->zac(Landroid/content/Context;Landroid/os/Handler;)Lcom/google/android/gms/common/api/internal/zact;
	move-result-object p1
	iput-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zai:Lcom/google/android/gms/common/api/internal/zact;
	return-void
	:cond_0
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zai:Lcom/google/android/gms/common/api/internal/zact;
	return-void
.end method

.method private final zaB([Lcom/google/android/gms/common/Feature;)Lcom/google/android/gms/common/Feature;
	.locals 10

	const/4 v0, 0x0
	if-eqz p1, :cond_5
	array-length v1, p1
	if-nez v1, :cond_0
	goto :goto_3
	:cond_0
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v1}, Lcom/google/android/gms/common/api/Api$Client;->getAvailableFeatures()[Lcom/google/android/gms/common/Feature;
	move-result-object v1
	const/4 v2, 0x0
	if-nez v1, :cond_1
	new-array v1, v2, [Lcom/google/android/gms/common/Feature;
	:cond_1
	array-length v3, v1
	new-instance v4, Landroidx/collection/ArrayMap;
	invoke-direct {v4, v3}, Landroidx/collection/ArrayMap;-><init>(I)V
	const/4 v5, 0x0
	:goto_0
	if-ge v5, v3, :cond_2
	aget-object v6, v1, v5
	invoke-virtual {v6}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
	move-result-object v7
	invoke-virtual {v6}, Lcom/google/android/gms/common/Feature;->getVersion()J
	move-result-wide v8
	invoke-static {v8, v9}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
	move-result-object v6
	invoke-interface {v4, v7, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	add-int/lit8 v5, v5, 0x1
	goto :goto_0
	:cond_2
	array-length v1, p1
	:goto_1
	if-ge v2, v1, :cond_5
	aget-object v3, p1, v2
	invoke-virtual {v3}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
	move-result-object v5
	invoke-interface {v4, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v5
	check-cast v5, Ljava/lang/Long;
	if-eqz v5, :cond_4
	invoke-virtual {v5}, Ljava/lang/Long;->longValue()J
	move-result-wide v5
	invoke-virtual {v3}, Lcom/google/android/gms/common/Feature;->getVersion()J
	move-result-wide v7
	cmp-long v9, v5, v7
	if-gez v9, :cond_3
	goto :goto_2
	:cond_3
	add-int/lit8 v2, v2, 0x1
	goto :goto_1
	:goto_2
	:cond_4
	return-object v3
	:goto_3
	:cond_5
	return-object v0
.end method

.method private final zaC(Lcom/google/android/gms/common/ConnectionResult;)V
	.locals 4

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaf:Ljava/util/Set;
	invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
	move-result-object v0
	:goto_0
	invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
	move-result v1
	if-eqz v1, :cond_1
	invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v1
	check-cast v1, Lcom/google/android/gms/common/api/internal/zal;
	sget-object v2, Lcom/google/android/gms/common/ConnectionResult;->RESULT_SUCCESS:Lcom/google/android/gms/common/ConnectionResult;
	invoke-static {p1, v2}, Lcom/google/android/gms/common/internal/Objects;->equal(Ljava/lang/Object;Ljava/lang/Object;)Z
	move-result v2
	if-eqz v2, :cond_0
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v2}, Lcom/google/android/gms/common/api/Api$Client;->getEndpointPackageName()Ljava/lang/String;
	move-result-object v2
	goto :goto_1
	:cond_0
	const/4 v2, 0x0
	:goto_1
	iget-object v3, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-virtual {v1, v3, p1, v2}, Lcom/google/android/gms/common/api/internal/zal;->zac(Lcom/google/android/gms/common/api/internal/ApiKey;Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/String;)V
	goto :goto_0
	:cond_1
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaf:Ljava/util/Set;
	invoke-interface {p1}, Ljava/util/Set;->clear()V
	return-void
.end method

.method private final zaD(Lcom/google/android/gms/common/api/Status;)V
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	const/4 v0, 0x0
	const/4 v1, 0x0
	invoke-direct {p0, p1, v0, v1}, Lcom/google/android/gms/common/api/internal/zabq;->zaE(Lcom/google/android/gms/common/api/Status;Ljava/lang/Exception;Z)V
	return-void
.end method

.method private final zaE(Lcom/google/android/gms/common/api/Status;Ljava/lang/Exception;Z)V
	.locals 4

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	const/4 v0, 0x0
	const/4 v1, 0x1
	if-eqz p1, :cond_0
	const/4 v2, 0x0
	goto :goto_0
	:cond_0
	const/4 v2, 0x1
	:goto_0
	if-eqz p2, :cond_1
	goto :goto_1
	:cond_1
	const/4 v0, 0x1
	:goto_1
	if-eq v2, v0, :cond_6
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v0}, Ljava/util/Queue;->iterator()Ljava/util/Iterator;
	move-result-object v0
	:goto_2
	:cond_2
	invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
	move-result v1
	if-eqz v1, :cond_5
	invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v1
	check-cast v1, Lcom/google/android/gms/common/api/internal/zai;
	if-eqz p3, :cond_3
	iget v2, v1, Lcom/google/android/gms/common/api/internal/zai;->zac:I
	const/4 v3, 0x2
	if-ne v2, v3, :cond_2
	:cond_3
	if-eqz p1, :cond_4
	invoke-virtual {v1, p1}, Lcom/google/android/gms/common/api/internal/zai;->zad(Lcom/google/android/gms/common/api/Status;)V
	goto :goto_3
	:cond_4
	invoke-virtual {v1, p2}, Lcom/google/android/gms/common/api/internal/zai;->zae(Ljava/lang/Exception;)V
	:goto_3
	invoke-interface {v0}, Ljava/util/Iterator;->remove()V
	goto :goto_2
	:cond_5
	return-void
	:cond_6
	new-instance p1, Ljava/lang/IllegalArgumentException;
	const-string p2, "Status XOR exception should be null"
	invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
	throw p1
.end method

.method private final zaF()V
	.locals 5

	new-instance v0, Ljava/util/ArrayList;
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
	invoke-interface {v0}, Ljava/util/List;->size()I
	move-result v1
	const/4 v2, 0x0
	:goto_0
	if-ge v2, v1, :cond_2
	invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
	move-result-object v3
	check-cast v3, Lcom/google/android/gms/common/api/internal/zai;
	iget-object v4, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v4}, Lcom/google/android/gms/common/api/Api$Client;->isConnected()Z
	move-result v4
	if-nez v4, :cond_0
	goto :goto_1
	:cond_0
	invoke-direct {p0, v3}, Lcom/google/android/gms/common/api/internal/zabq;->zaL(Lcom/google/android/gms/common/api/internal/zai;)Z
	move-result v4
	if-eqz v4, :cond_1
	iget-object v4, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v4, v3}, Ljava/util/Queue;->remove(Ljava/lang/Object;)Z
	:cond_1
	add-int/lit8 v2, v2, 0x1
	goto :goto_0
	:cond_2
	:goto_1
	return-void
.end method

.method private final zaG()V
	.locals 4

	invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zan()V
	sget-object v0, Lcom/google/android/gms/common/ConnectionResult;->RESULT_SUCCESS:Lcom/google/android/gms/common/ConnectionResult;
	invoke-direct {p0, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zaC(Lcom/google/android/gms/common/ConnectionResult;)V
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaK()V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zag:Ljava/util/Map;
	invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
	move-result-object v0
	invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
	move-result-object v0
	:goto_0
	invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
	move-result v1
	if-eqz v1, :cond_1
	invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v1
	check-cast v1, Lcom/google/android/gms/common/api/internal/zaci;
	iget-object v2, v1, Lcom/google/android/gms/common/api/internal/zaci;->zaa:Lcom/google/android/gms/common/api/internal/RegisterListenerMethod;
	invoke-virtual {v2}, Lcom/google/android/gms/common/api/internal/RegisterListenerMethod;->getRequiredFeatures()[Lcom/google/android/gms/common/Feature;
	move-result-object v2
	invoke-direct {p0, v2}, Lcom/google/android/gms/common/api/internal/zabq;->zaB([Lcom/google/android/gms/common/Feature;)Lcom/google/android/gms/common/Feature;
	move-result-object v2
	if-eqz v2, :cond_0
	invoke-interface {v0}, Ljava/util/Iterator;->remove()V
	goto :goto_0
	:try_start_0
	:cond_0
	iget-object v1, v1, Lcom/google/android/gms/common/api/internal/zaci;->zaa:Lcom/google/android/gms/common/api/internal/RegisterListenerMethod;
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	new-instance v3, Lcom/google/android/gms/tasks/TaskCompletionSource;
	invoke-direct {v3}, Lcom/google/android/gms/tasks/TaskCompletionSource;-><init>()V
	invoke-virtual {v1, v2, v3}, Lcom/google/android/gms/common/api/internal/RegisterListenerMethod;->registerListener(Lcom/google/android/gms/common/api/Api$AnyClient;Lcom/google/android/gms/tasks/TaskCompletionSource;)V
	:try_end_0
	.catch Landroid/os/DeadObjectException; {:try_start_0 .. :try_end_0} :catch_1
	.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
	goto :goto_0
	:catch_0
	invoke-interface {v0}, Ljava/util/Iterator;->remove()V
	goto :goto_0
	:catch_1
	const/4 v0, 0x3
	invoke-virtual {p0, v0}, Lcom/google/android/gms/common/api/internal/zabq;->onConnectionSuspended(I)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	const-string v1, "DeadObjectException thrown while calling register listener method."
	invoke-interface {v0, v1}, Lcom/google/android/gms/common/api/Api$Client;->disconnect(Ljava/lang/String;)V
	:cond_1
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaF()V
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaI()V
	return-void
.end method

.method private final zaH(I)V
	.locals 3

	invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zan()V
	const/4 v0, 0x1
	iput-boolean v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zae:Lcom/google/android/gms/common/api/internal/zaad;
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v1}, Lcom/google/android/gms/common/api/Api$Client;->getLastDisconnectMessage()Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v0, p1, v1}, Lcom/google/android/gms/common/api/internal/zaad;->zae(ILjava/lang/String;)V
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object p1
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	const/16 v2, 0x9
	invoke-static {p1, v2, v1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
	move-result-object p1
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zab(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)J
	move-result-wide v1
	invoke-virtual {v0, p1, v1, v2}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object p1
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	const/16 v2, 0xb
	invoke-static {p1, v2, v1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
	move-result-object p1
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zac(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)J
	move-result-wide v1
	invoke-virtual {v0, p1, v1, v2}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zan(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Lcom/google/android/gms/common/internal/zal;
	move-result-object p1
	invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zal;->zac()V
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zag:Ljava/util/Map;
	invoke-interface {p1}, Ljava/util/Map;->values()Ljava/util/Collection;
	move-result-object p1
	invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
	move-result-object p1
	:goto_0
	invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
	move-result v0
	if-eqz v0, :cond_0
	invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Lcom/google/android/gms/common/api/internal/zaci;
	iget-object v0, v0, Lcom/google/android/gms/common/api/internal/zaci;->zac:Ljava/lang/Runnable;
	invoke-interface {v0}, Ljava/lang/Runnable;->run()V
	goto :goto_0
	:cond_0
	return-void
.end method

.method private final zaI()V
	.locals 4

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	const/16 v2, 0xc
	invoke-virtual {v0, v2, v1}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v1
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	iget-object v3, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-virtual {v0, v2, v3}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;
	move-result-object v0
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v2}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zad(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)J
	move-result-wide v2
	invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	return-void
.end method

.method private final zaJ(Lcom/google/android/gms/common/api/internal/zai;)V
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zae:Lcom/google/android/gms/common/api/internal/zaad;
	invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaz()Z
	move-result v1
	invoke-virtual {p1, v0, v1}, Lcom/google/android/gms/common/api/internal/zai;->zag(Lcom/google/android/gms/common/api/internal/zaad;Z)V
	:try_start_0
	invoke-virtual {p1, p0}, Lcom/google/android/gms/common/api/internal/zai;->zaf(Lcom/google/android/gms/common/api/internal/zabq;)V
	:try_end_0
	.catch Landroid/os/DeadObjectException; {:try_start_0 .. :try_end_0} :catch_0
	return-void
	:catch_0
	const/4 p1, 0x1
	invoke-virtual {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->onConnectionSuspended(I)V
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	const-string v0, "DeadObjectException thrown while running ApiCallRunner."
	invoke-interface {p1, v0}, Lcom/google/android/gms/common/api/Api$Client;->disconnect(Ljava/lang/String;)V
	return-void
.end method

.method private final zaK()V
	.locals 3

	iget-boolean v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	if-eqz v0, :cond_0
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	const/16 v1, 0xb
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-virtual {v0, v1, v2}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	const/16 v1, 0x9
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-virtual {v0, v1, v2}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	const/4 v0, 0x0
	iput-boolean v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	:cond_0
	return-void
.end method

.method private final zaL(Lcom/google/android/gms/common/api/internal/zai;)Z
	.locals 9

	instance-of v0, p1, Lcom/google/android/gms/common/api/internal/zac;
	const/4 v1, 0x1
	if-nez v0, :cond_0
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaJ(Lcom/google/android/gms/common/api/internal/zai;)V
	return v1
	:cond_0
	move-object v0, p1
	check-cast v0, Lcom/google/android/gms/common/api/internal/zac;
	invoke-virtual {v0, p0}, Lcom/google/android/gms/common/api/internal/zac;->zab(Lcom/google/android/gms/common/api/internal/zabq;)[Lcom/google/android/gms/common/Feature;
	move-result-object v2
	invoke-direct {p0, v2}, Lcom/google/android/gms/common/api/internal/zabq;->zaB([Lcom/google/android/gms/common/Feature;)Lcom/google/android/gms/common/Feature;
	move-result-object v2
	if-nez v2, :cond_1
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaJ(Lcom/google/android/gms/common/api/internal/zai;)V
	return v1
	:cond_1
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object p1
	invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
	move-result-object p1
	invoke-virtual {v2}, Lcom/google/android/gms/common/Feature;->getName()Ljava/lang/String;
	move-result-object v3
	invoke-virtual {v2}, Lcom/google/android/gms/common/Feature;->getVersion()J
	move-result-wide v4
	invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v6
	invoke-virtual {v6}, Ljava/lang/String;->length()I
	move-result v6
	invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v7
	invoke-virtual {v7}, Ljava/lang/String;->length()I
	move-result v7
	new-instance v8, Ljava/lang/StringBuilder;
	add-int/lit8 v6, v6, 0x4d
	add-int/2addr v6, v7
	invoke-direct {v8, v6}, Ljava/lang/StringBuilder;-><init>(I)V
	invoke-virtual {v8, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string p1, " could not execute call because it requires feature ("
	invoke-virtual {v8, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v8, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string p1, ", "
	invoke-virtual {v8, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v8, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
	const-string p1, ")."
	invoke-virtual {v8, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	const-string v3, "GoogleApiManager"
	invoke-static {v3, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaE(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Z
	move-result p1
	if-eqz p1, :cond_4
	invoke-virtual {v0, p0}, Lcom/google/android/gms/common/api/internal/zac;->zaa(Lcom/google/android/gms/common/api/internal/zabq;)Z
	move-result p1
	if-eqz p1, :cond_4
	new-instance p1, Lcom/google/android/gms/common/api/internal/zabs;
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	const/4 v1, 0x0
	invoke-direct {p1, v0, v2, v1}, Lcom/google/android/gms/common/api/internal/zabs;-><init>(Lcom/google/android/gms/common/api/internal/ApiKey;Lcom/google/android/gms/common/Feature;Lcom/google/android/gms/common/api/internal/zabr;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zak:Ljava/util/List;
	invoke-interface {v0, p1}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I
	move-result v0
	const/16 v2, 0xf
	if-ltz v0, :cond_2
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zak:Ljava/util/List;
	invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Lcom/google/android/gms/common/api/internal/zabs;
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-virtual {v0, v2, p1}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v1
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0, v2, p1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
	move-result-object p1
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zab(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)J
	move-result-wide v2
	invoke-virtual {v1, p1, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	goto :goto_0
	:cond_2
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zak:Ljava/util/List;
	invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v3
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0, v2, p1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
	move-result-object v0
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v2}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zab(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)J
	move-result-wide v4
	invoke-virtual {v3, v0, v4, v5}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v2
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	const/16 v3, 0x10
	invoke-static {v0, v3, p1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
	move-result-object p1
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zac(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)J
	move-result-wide v3
	invoke-virtual {v2, p1, v3, v4}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	new-instance p1, Lcom/google/android/gms/common/ConnectionResult;
	const/4 v0, 0x2
	invoke-direct {p1, v0, v1}, Lcom/google/android/gms/common/ConnectionResult;-><init>(ILandroid/app/PendingIntent;)V
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaM(Lcom/google/android/gms/common/ConnectionResult;)Z
	move-result v0
	if-nez v0, :cond_3
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	iget v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zah:I
	invoke-virtual {v0, p1, v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaG(Lcom/google/android/gms/common/ConnectionResult;I)Z
	:goto_0
	:cond_3
	const/4 p1, 0x0
	return p1
	:cond_4
	new-instance p1, Lcom/google/android/gms/common/api/UnsupportedApiCallException;
	invoke-direct {p1, v2}, Lcom/google/android/gms/common/api/UnsupportedApiCallException;-><init>(Lcom/google/android/gms/common/Feature;)V
	invoke-virtual {v0, p1}, Lcom/google/android/gms/common/api/internal/zac;->zae(Ljava/lang/Exception;)V
	return v1
.end method

.method private final zaM(Lcom/google/android/gms/common/ConnectionResult;)Z
	.locals 3

	invoke-static {}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zas()Ljava/lang/Object;
	move-result-object v0
	monitor-enter v0
	:try_start_0
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaj(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Lcom/google/android/gms/common/api/internal/zaae;
	move-result-object v2
	if-eqz v2, :cond_0
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zau(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Ljava/util/Set;
	move-result-object v1
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-interface {v1, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
	move-result v1
	if-eqz v1, :cond_0
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaj(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Lcom/google/android/gms/common/api/internal/zaae;
	move-result-object v1
	iget v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zah:I
	invoke-virtual {v1, p1, v2}, Lcom/google/android/gms/common/api/internal/zap;->zah(Lcom/google/android/gms/common/ConnectionResult;I)V
	monitor-exit v0
	const/4 p1, 0x1
	return p1
	:cond_0
	monitor-exit v0
	const/4 p1, 0x0
	return p1
	:catchall_0
	move-exception p1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw p1
.end method

.method private final zaN(Z)Z
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v0}, Lcom/google/android/gms/common/api/Api$Client;->isConnected()Z
	move-result v0
	const/4 v1, 0x0
	if-eqz v0, :cond_2
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zag:Ljava/util/Map;
	invoke-interface {v0}, Ljava/util/Map;->size()I
	move-result v0
	if-nez v0, :cond_2
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zae:Lcom/google/android/gms/common/api/internal/zaad;
	invoke-virtual {v0}, Lcom/google/android/gms/common/api/internal/zaad;->zag()Z
	move-result v0
	if-eqz v0, :cond_1
	if-eqz p1, :cond_0
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaI()V
	:cond_0
	return v1
	:cond_1
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	const-string v0, "Timing out service connection."
	invoke-interface {p1, v0}, Lcom/google/android/gms/common/api/Api$Client;->disconnect(Ljava/lang/String;)V
	const/4 p1, 0x1
	return p1
	:cond_2
	return v1
.end method

.method static bridge synthetic zae(Lcom/google/android/gms/common/api/internal/zabq;)Lcom/google/android/gms/common/api/Api$Client;
	.locals 0

	iget-object p0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	return-object p0
.end method

.method static bridge synthetic zag(Lcom/google/android/gms/common/api/internal/zabq;)Lcom/google/android/gms/common/api/internal/ApiKey;
	.locals 0

	iget-object p0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	return-object p0
.end method

.method static bridge synthetic zai(Lcom/google/android/gms/common/api/internal/zabq;Lcom/google/android/gms/common/api/Status;)V
	.locals 0

	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaD(Lcom/google/android/gms/common/api/Status;)V
	return-void
.end method

.method static bridge synthetic zaj(Lcom/google/android/gms/common/api/internal/zabq;)V
	.locals 0

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

.method static bridge synthetic zak(Lcom/google/android/gms/common/api/internal/zabq;I)V
	.locals 0

	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaH(I)V
	return-void
.end method

.method static bridge synthetic zal(Lcom/google/android/gms/common/api/internal/zabq;Lcom/google/android/gms/common/api/internal/zabs;)V
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zak:Ljava/util/List;
	invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
	move-result p1
	if-nez p1, :cond_0
	goto :goto_0
	:cond_0
	iget-boolean p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	if-nez p1, :cond_2
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {p1}, Lcom/google/android/gms/common/api/Api$Client;->isConnected()Z
	move-result p1
	if-nez p1, :cond_1
	invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zao()V
	return-void
	:cond_1
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaF()V
	:cond_2
	:goto_0
	return-void
.end method

.method static bridge synthetic zam(Lcom/google/android/gms/common/api/internal/zabq;Lcom/google/android/gms/common/api/internal/zabs;)V
	.locals 5

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zak:Ljava/util/List;
	invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
	move-result v0
	if-eqz v0, :cond_2
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	const/16 v1, 0xf
	invoke-virtual {v0, v1, p1}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	const/16 v1, 0x10
	invoke-virtual {v0, v1, p1}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/zabs;->zaa(Lcom/google/android/gms/common/api/internal/zabs;)Lcom/google/android/gms/common/Feature;
	move-result-object p1
	new-instance v0, Ljava/util/ArrayList;
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v1}, Ljava/util/Queue;->size()I
	move-result v1
	invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v1}, Ljava/util/Queue;->iterator()Ljava/util/Iterator;
	move-result-object v1
	:goto_0
	:cond_0
	invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
	move-result v2
	if-eqz v2, :cond_1
	invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v2
	check-cast v2, Lcom/google/android/gms/common/api/internal/zai;
	instance-of v3, v2, Lcom/google/android/gms/common/api/internal/zac;
	if-eqz v3, :cond_0
	move-object v3, v2
	check-cast v3, Lcom/google/android/gms/common/api/internal/zac;
	invoke-virtual {v3, p0}, Lcom/google/android/gms/common/api/internal/zac;->zab(Lcom/google/android/gms/common/api/internal/zabq;)[Lcom/google/android/gms/common/Feature;
	move-result-object v3
	if-eqz v3, :cond_0
	invoke-static {v3, p1}, Lcom/google/android/gms/common/util/ArrayUtils;->contains([Ljava/lang/Object;Ljava/lang/Object;)Z
	move-result v3
	if-eqz v3, :cond_0
	invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	goto :goto_0
	:cond_1
	invoke-interface {v0}, Ljava/util/List;->size()I
	move-result v1
	const/4 v2, 0x0
	:goto_1
	if-ge v2, v1, :cond_2
	invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
	move-result-object v3
	check-cast v3, Lcom/google/android/gms/common/api/internal/zai;
	iget-object v4, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v4, v3}, Ljava/util/Queue;->remove(Ljava/lang/Object;)Z
	new-instance v4, Lcom/google/android/gms/common/api/UnsupportedApiCallException;
	invoke-direct {v4, p1}, Lcom/google/android/gms/common/api/UnsupportedApiCallException;-><init>(Lcom/google/android/gms/common/Feature;)V
	invoke-virtual {v3, v4}, Lcom/google/android/gms/common/api/internal/zai;->zae(Ljava/lang/Exception;)V
	add-int/lit8 v2, v2, 0x1
	goto :goto_1
	:cond_2
	return-void
.end method

.method static bridge synthetic zax(Lcom/google/android/gms/common/api/internal/zabq;Z)Z
	.locals 0

	const/4 p1, 0x0
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaN(Z)Z
	move-result p0
	return p0
.end method

.method public final onConnected(Landroid/os/Bundle;)V
	.locals 1

	invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
	move-result-object p1
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-virtual {v0}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
	move-result-object v0
	if-ne p1, v0, :cond_0
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaG()V
	return-void
	:cond_0
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object p1
	new-instance v0, Lcom/google/android/gms/common/api/internal/zabm;
	invoke-direct {v0, p0}, Lcom/google/android/gms/common/api/internal/zabm;-><init>(Lcom/google/android/gms/common/api/internal/zabq;)V
	invoke-virtual {p1, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
	return-void
.end method

.method public final onConnectionFailed(Lcom/google/android/gms/common/ConnectionResult;)V
	.locals 1

	const/4 v0, 0x0
	invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zar(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/Exception;)V
	return-void
.end method

.method public final onConnectionSuspended(I)V
	.locals 2

	invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
	move-result-object v0
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v1
	invoke-virtual {v1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
	move-result-object v1
	if-ne v0, v1, :cond_0
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaH(I)V
	return-void
	:cond_0
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	new-instance v1, Lcom/google/android/gms/common/api/internal/zabn;
	invoke-direct {v1, p0, p1}, Lcom/google/android/gms/common/api/internal/zabn;-><init>(Lcom/google/android/gms/common/api/internal/zabq;I)V
	invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
	return-void
.end method

.method public final zaA()Z
	.locals 1

	const/4 v0, 0x1
	invoke-direct {p0, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zaN(Z)Z
	move-result v0
	return v0
.end method

.method public final zaa(Lcom/google/android/gms/common/ConnectionResult;Lcom/google/android/gms/common/api/Api;Z)V
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/ConnectionResult;",
	"Lcom/google/android/gms/common/api/Api<",
	"*>;Z)V"
	}
	.end annotation

	const/4 p1, 0x0
	throw p1
.end method

.method public final zab()I
	.locals 1

	iget v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zah:I
	return v0
.end method

.method final zac()I
	.locals 1

	iget v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zam:I
	return v0
.end method

.method public final zad()Lcom/google/android/gms/common/ConnectionResult;
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zal:Lcom/google/android/gms/common/ConnectionResult;
	return-object v0
.end method

.method public final zaf()Lcom/google/android/gms/common/api/Api$Client;
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	return-object v0
.end method

.method public final zah()Ljava/util/Map;
	.locals 1
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"()",
	"Ljava/util/Map<",
	"Lcom/google/android/gms/common/api/internal/ListenerHolder$ListenerKey<",
	"*>;",
	"Lcom/google/android/gms/common/api/internal/zaci;",
	">;"
	}
	.end annotation

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zag:Ljava/util/Map;
	return-object v0
.end method

.method public final zan()V
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	const/4 v0, 0x0
	iput-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zal:Lcom/google/android/gms/common/ConnectionResult;
	return-void
.end method

.method public final zao()V
	.locals 8

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v0}, Lcom/google/android/gms/common/api/Api$Client;->isConnected()Z
	move-result v0
	if-nez v0, :cond_3
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v0}, Lcom/google/android/gms/common/api/Api$Client;->isConnecting()Z
	move-result v0
	if-eqz v0, :cond_0
	goto/16 :goto_0
	:cond_0
	const/16 v0, 0xa
	:try_start_0
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zan(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Lcom/google/android/gms/common/internal/zal;
	move-result-object v2
	invoke-static {v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zae(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/content/Context;
	move-result-object v1
	iget-object v3, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-virtual {v2, v1, v3}, Lcom/google/android/gms/common/internal/zal;->zab(Landroid/content/Context;Lcom/google/android/gms/common/api/Api$Client;)I
	move-result v1
	if-eqz v1, :cond_1
	new-instance v2, Lcom/google/android/gms/common/ConnectionResult;
	const/4 v3, 0x0
	invoke-direct {v2, v1, v3}, Lcom/google/android/gms/common/ConnectionResult;-><init>(ILandroid/app/PendingIntent;)V
	const-string v1, "GoogleApiManager"
	iget-object v4, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object v4
	invoke-virtual {v4}, Ljava/lang/Class;->getName()Ljava/lang/String;
	move-result-object v4
	invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;
	move-result-object v5
	invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v6
	invoke-virtual {v6}, Ljava/lang/String;->length()I
	move-result v6
	add-int/lit8 v6, v6, 0x23
	invoke-virtual {v5}, Ljava/lang/String;->length()I
	move-result v7
	add-int/2addr v6, v7
	new-instance v7, Ljava/lang/StringBuilder;
	invoke-direct {v7, v6}, Ljava/lang/StringBuilder;-><init>(I)V
	const-string v6, "The service for "
	invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v4, " is not available: "
	invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v4
	invoke-static {v1, v4}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	invoke-virtual {p0, v2, v3}, Lcom/google/android/gms/common/api/internal/zabq;->zar(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/Exception;)V
	:try_end_0
	.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_1
	return-void
	:cond_1
	new-instance v1, Lcom/google/android/gms/common/api/internal/zabu;
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	iget-object v3, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	iget-object v4, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-direct {v1, v2, v3, v4}, Lcom/google/android/gms/common/api/internal/zabu;-><init>(Lcom/google/android/gms/common/api/internal/GoogleApiManager;Lcom/google/android/gms/common/api/Api$Client;Lcom/google/android/gms/common/api/internal/ApiKey;)V
	invoke-interface {v3}, Lcom/google/android/gms/common/api/Api$Client;->requiresSignIn()Z
	move-result v2
	if-eqz v2, :cond_2
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zai:Lcom/google/android/gms/common/api/internal/zact;
	invoke-static {v2}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v2
	check-cast v2, Lcom/google/android/gms/common/api/internal/zact;
	invoke-virtual {v2, v1}, Lcom/google/android/gms/common/api/internal/zact;->zae(Lcom/google/android/gms/common/api/internal/zacs;)V
	:try_start_1
	:cond_2
	iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v2, v1}, Lcom/google/android/gms/common/api/Api$Client;->connect(Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;)V
	:try_end_1
	.catch Ljava/lang/SecurityException; {:try_start_1 .. :try_end_1} :catch_0
	return-void
	:catch_0
	move-exception v1
	new-instance v2, Lcom/google/android/gms/common/ConnectionResult;
	invoke-direct {v2, v0}, Lcom/google/android/gms/common/ConnectionResult;-><init>(I)V
	invoke-virtual {p0, v2, v1}, Lcom/google/android/gms/common/api/internal/zabq;->zar(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/Exception;)V
	return-void
	:catch_1
	move-exception v1
	new-instance v2, Lcom/google/android/gms/common/ConnectionResult;
	invoke-direct {v2, v0}, Lcom/google/android/gms/common/ConnectionResult;-><init>(I)V
	invoke-virtual {p0, v2, v1}, Lcom/google/android/gms/common/api/internal/zabq;->zar(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/Exception;)V
	:goto_0
	:cond_3
	return-void
.end method

.method public final zap(Lcom/google/android/gms/common/api/internal/zai;)V
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v0}, Lcom/google/android/gms/common/api/Api$Client;->isConnected()Z
	move-result v0
	if-eqz v0, :cond_1
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaL(Lcom/google/android/gms/common/api/internal/zai;)Z
	move-result v0
	if-eqz v0, :cond_0
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaI()V
	return-void
	:cond_0
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v0, p1}, Ljava/util/Queue;->add(Ljava/lang/Object;)Z
	return-void
	:cond_1
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v0, p1}, Ljava/util/Queue;->add(Ljava/lang/Object;)Z
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zal:Lcom/google/android/gms/common/ConnectionResult;
	if-eqz p1, :cond_2
	invoke-virtual {p1}, Lcom/google/android/gms/common/ConnectionResult;->hasResolution()Z
	move-result p1
	if-eqz p1, :cond_2
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zal:Lcom/google/android/gms/common/ConnectionResult;
	const/4 v0, 0x0
	invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zar(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/Exception;)V
	return-void
	:cond_2
	invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zao()V
	return-void
.end method

.method final zaq()V
	.locals 1

	iget v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zam:I
	add-int/lit8 v0, v0, 0x1
	iput v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zam:I
	return-void
.end method

.method public final zar(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/Exception;)V
	.locals 5

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zai:Lcom/google/android/gms/common/api/internal/zact;
	if-eqz v0, :cond_0
	invoke-virtual {v0}, Lcom/google/android/gms/common/api/internal/zact;->zaf()V
	:cond_0
	invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zan()V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zan(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Lcom/google/android/gms/common/internal/zal;
	move-result-object v0
	invoke-virtual {v0}, Lcom/google/android/gms/common/internal/zal;->zac()V
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaC(Lcom/google/android/gms/common/ConnectionResult;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	instance-of v0, v0, Lcom/google/android/gms/common/internal/service/zap;
	const/4 v1, 0x1
	if-eqz v0, :cond_1
	invoke-virtual {p1}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
	move-result v0
	const/16 v2, 0x18
	if-eq v0, v2, :cond_1
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0, v1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zav(Lcom/google/android/gms/common/api/internal/GoogleApiManager;Z)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v2
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	const/16 v3, 0x13
	invoke-virtual {v0, v3}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;
	move-result-object v0
	const-wide/32 v3, 0x493e0
	invoke-virtual {v2, v0, v3, v4}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	:cond_1
	invoke-virtual {p1}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
	move-result v0
	const/4 v2, 0x4
	if-ne v0, v2, :cond_2
	invoke-static {}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zah()Lcom/google/android/gms/common/api/Status;
	move-result-object p1
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaD(Lcom/google/android/gms/common/api/Status;)V
	return-void
	:cond_2
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {v0}, Ljava/util/Queue;->isEmpty()Z
	move-result v0
	if-eqz v0, :cond_3
	iput-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zal:Lcom/google/android/gms/common/ConnectionResult;
	return-void
	:cond_3
	const/4 v0, 0x0
	if-eqz p2, :cond_4
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object p1
	invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	const/4 p1, 0x0
	invoke-direct {p0, v0, p2, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaE(Lcom/google/android/gms/common/api/Status;Ljava/lang/Exception;Z)V
	return-void
	:cond_4
	iget-object p2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p2}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaE(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Z
	move-result p2
	if-eqz p2, :cond_a
	iget-object p2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-static {p2, p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zai(Lcom/google/android/gms/common/api/internal/ApiKey;Lcom/google/android/gms/common/ConnectionResult;)Lcom/google/android/gms/common/api/Status;
	move-result-object p2
	invoke-direct {p0, p2, v0, v1}, Lcom/google/android/gms/common/api/internal/zabq;->zaE(Lcom/google/android/gms/common/api/Status;Ljava/lang/Exception;Z)V
	iget-object p2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zab:Ljava/util/Queue;
	invoke-interface {p2}, Ljava/util/Queue;->isEmpty()Z
	move-result p2
	if-eqz p2, :cond_5
	return-void
	:cond_5
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaM(Lcom/google/android/gms/common/ConnectionResult;)Z
	move-result p2
	if-eqz p2, :cond_6
	return-void
	:cond_6
	iget-object p2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	iget v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zah:I
	invoke-virtual {p2, p1, v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaG(Lcom/google/android/gms/common/ConnectionResult;I)Z
	move-result p2
	if-nez p2, :cond_9
	invoke-virtual {p1}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
	move-result p2
	const/16 v0, 0x12
	if-ne p2, v0, :cond_7
	iput-boolean v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	:cond_7
	iget-boolean p2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	if-eqz p2, :cond_8
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object p2
	invoke-static {p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object p1
	const/16 v0, 0x9
	iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-static {p1, v0, v1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
	move-result-object p1
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zab(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)J
	move-result-wide v0
	invoke-virtual {p2, p1, v0, v1}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
	return-void
	:cond_8
	iget-object p2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-static {p2, p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zai(Lcom/google/android/gms/common/api/internal/ApiKey;Lcom/google/android/gms/common/ConnectionResult;)Lcom/google/android/gms/common/api/Status;
	move-result-object p1
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaD(Lcom/google/android/gms/common/api/Status;)V
	:cond_9
	return-void
	:cond_a
	iget-object p2, p0, Lcom/google/android/gms/common/api/internal/zabq;->zad:Lcom/google/android/gms/common/api/internal/ApiKey;
	invoke-static {p2, p1}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zai(Lcom/google/android/gms/common/api/internal/ApiKey;Lcom/google/android/gms/common/ConnectionResult;)Lcom/google/android/gms/common/api/Status;
	move-result-object p1
	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaD(Lcom/google/android/gms/common/api/Status;)V
	return-void
.end method

.method public final zas(Lcom/google/android/gms/common/ConnectionResult;)V
	.locals 6

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object v1
	invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
	move-result-object v1
	invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v2
	invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v3
	invoke-virtual {v3}, Ljava/lang/String;->length()I
	move-result v3
	invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v4
	invoke-virtual {v4}, Ljava/lang/String;->length()I
	move-result v4
	new-instance v5, Ljava/lang/StringBuilder;
	add-int/lit8 v3, v3, 0x19
	add-int/2addr v3, v4
	invoke-direct {v5, v3}, Ljava/lang/StringBuilder;-><init>(I)V
	const-string v3, "onSignInFailed for "
	invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v1, " with "
	invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v1
	invoke-interface {v0, v1}, Lcom/google/android/gms/common/api/Api$Client;->disconnect(Ljava/lang/String;)V
	const/4 v0, 0x0
	invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zar(Lcom/google/android/gms/common/ConnectionResult;Ljava/lang/Exception;)V
	return-void
.end method

.method public final zat(Lcom/google/android/gms/common/api/internal/zal;)V
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaf:Ljava/util/Set;
	invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	return-void
.end method

.method public final zau()V
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-boolean v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	if-eqz v0, :cond_0
	invoke-virtual {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zao()V
	:cond_0
	return-void
.end method

.method public final zav()V
	.locals 6

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	sget-object v0, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaa:Lcom/google/android/gms/common/api/Status;
	invoke-direct {p0, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zaD(Lcom/google/android/gms/common/api/Status;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zae:Lcom/google/android/gms/common/api/internal/zaad;
	invoke-virtual {v0}, Lcom/google/android/gms/common/api/internal/zaad;->zaf()V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zag:Ljava/util/Map;
	invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;
	move-result-object v0
	const/4 v1, 0x0
	new-array v2, v1, [Lcom/google/android/gms/common/api/internal/ListenerHolder$ListenerKey;
	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/ListenerHolder$ListenerKey;
	array-length v2, v0
	:goto_0
	if-ge v1, v2, :cond_0
	aget-object v3, v0, v1
	new-instance v4, Lcom/google/android/gms/common/api/internal/zah;
	new-instance v5, Lcom/google/android/gms/tasks/TaskCompletionSource;
	invoke-direct {v5}, Lcom/google/android/gms/tasks/TaskCompletionSource;-><init>()V
	invoke-direct {v4, v3, v5}, Lcom/google/android/gms/common/api/internal/zah;-><init>(Lcom/google/android/gms/common/api/internal/ListenerHolder$ListenerKey;Lcom/google/android/gms/tasks/TaskCompletionSource;)V
	invoke-virtual {p0, v4}, Lcom/google/android/gms/common/api/internal/zabq;->zap(Lcom/google/android/gms/common/api/internal/zai;)V
	add-int/lit8 v1, v1, 0x1
	goto :goto_0
	:cond_0
	new-instance v0, Lcom/google/android/gms/common/ConnectionResult;
	const/4 v1, 0x4
	invoke-direct {v0, v1}, Lcom/google/android/gms/common/ConnectionResult;-><init>(I)V
	invoke-direct {p0, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zaC(Lcom/google/android/gms/common/ConnectionResult;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v0}, Lcom/google/android/gms/common/api/Api$Client;->isConnected()Z
	move-result v0
	if-eqz v0, :cond_1
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	new-instance v1, Lcom/google/android/gms/common/api/internal/zabp;
	invoke-direct {v1, p0}, Lcom/google/android/gms/common/api/internal/zabp;-><init>(Lcom/google/android/gms/common/api/internal/zabq;)V
	invoke-interface {v0, v1}, Lcom/google/android/gms/common/api/Api$Client;->onUserSignOut(Lcom/google/android/gms/common/internal/BaseGmsClient$SignOutCallbacks;)V
	:cond_1
	return-void
.end method

.method public final zaw()V
	.locals 3

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zaf(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/os/Handler;
	move-result-object v0
	invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkHandlerThread(Landroid/os/Handler;)V
	iget-boolean v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaj:Z
	if-eqz v0, :cond_1
	invoke-direct {p0}, Lcom/google/android/gms/common/api/internal/zabq;->zaK()V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zaa:Lcom/google/android/gms/common/api/internal/GoogleApiManager;
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zag(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Lcom/google/android/gms/common/GoogleApiAvailability;
	move-result-object v1
	invoke-static {v0}, Lcom/google/android/gms/common/api/internal/GoogleApiManager;->zae(Lcom/google/android/gms/common/api/internal/GoogleApiManager;)Landroid/content/Context;
	move-result-object v0
	invoke-virtual {v1, v0}, Lcom/google/android/gms/common/GoogleApiAvailability;->isGooglePlayServicesAvailable(Landroid/content/Context;)I
	move-result v0
	const/16 v1, 0x12
	if-ne v0, v1, :cond_0
	new-instance v0, Lcom/google/android/gms/common/api/Status;
	const/16 v1, 0x15
	const-string v2, "Connection timed out waiting for Google Play services update to complete."
	invoke-direct {v0, v1, v2}, Lcom/google/android/gms/common/api/Status;-><init>(ILjava/lang/String;)V
	goto :goto_0
	:cond_0
	new-instance v0, Lcom/google/android/gms/common/api/Status;
	const/16 v1, 0x16
	const-string v2, "API failed to connect while resuming due to an unknown error."
	invoke-direct {v0, v1, v2}, Lcom/google/android/gms/common/api/Status;-><init>(ILjava/lang/String;)V
	:goto_0
	invoke-direct {p0, v0}, Lcom/google/android/gms/common/api/internal/zabq;->zaD(Lcom/google/android/gms/common/api/Status;)V
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	const-string v1, "Timing out connection while resuming."
	invoke-interface {v0, v1}, Lcom/google/android/gms/common/api/Api$Client;->disconnect(Ljava/lang/String;)V
	:cond_1
	return-void
.end method

.method final zay()Z
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v0}, Lcom/google/android/gms/common/api/Api$Client;->isConnected()Z
	move-result v0
	return v0
.end method

.method public final zaz()Z
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zabq;->zac:Lcom/google/android/gms/common/api/Api$Client;
	invoke-interface {v0}, Lcom/google/android/gms/common/api/Api$Client;->requiresSignIn()Z
	move-result v0
	return v0
.end method