granularity level: instruction

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

.annotation system Ldalvik/annotation/Signature;
value = {
"<A:",
"Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl<",
"+",
"Lcom/google/android/gms/common/api/Result;",
"Lcom/google/android/gms/common/api/Api$AnyClient;",
">;>",
"Lcom/google/android/gms/common/api/internal/zai;"
}
.end annotation

.field protected final zaa:Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;
.annotation system Ldalvik/annotation/Signature;
value = {
"TA;"
}
.end annotation
.end field


.method public constructor <init>(ILcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;)V
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(ITA;)V"
	}
	.end annotation

	invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zai;-><init>(I)V
	const-string p1, "Null methods are not runnable."
	invoke-static {p2, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;
	iput-object p1, p0, Lcom/google/android/gms/common/api/internal/zae;->zaa:Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;
	return-void
.end method

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

	:try_start_0
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zae;->zaa:Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;
	invoke-virtual {v0, p1}, Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;->setFailedResult(Lcom/google/android/gms/common/api/Status;)V
	:try_end_0
	.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
	return-void
	:catch_0
	move-exception p1
	const-string v0, "ApiCallRunner"
	const-string v1, "Exception reporting failure"
	invoke-static {v0, v1, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	return-void
.end method

.method public final zae(Ljava/lang/Exception;)V
	.locals 5

	new-instance v0, Lcom/google/android/gms/common/api/Status;
	invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object v1
	invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
	move-result-object v1
	invoke-virtual {p1}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;
	move-result-object p1
	invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v2
	invoke-virtual {v2}, Ljava/lang/String;->length()I
	move-result v2
	invoke-static {p1}, 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
	new-instance v4, Ljava/lang/StringBuilder;
	add-int/lit8 v2, v2, 0x2
	add-int/2addr v2, v3
	invoke-direct {v4, v2}, Ljava/lang/StringBuilder;-><init>(I)V
	invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v1, ": "
	invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	const/16 v1, 0xa
	invoke-direct {v0, v1, p1}, Lcom/google/android/gms/common/api/Status;-><init>(ILjava/lang/String;)V
	:try_start_0
	iget-object p1, p0, Lcom/google/android/gms/common/api/internal/zae;->zaa:Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;
	invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;->setFailedResult(Lcom/google/android/gms/common/api/Status;)V
	:try_end_0
	.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
	return-void
	:catch_0
	move-exception p1
	const-string v0, "ApiCallRunner"
	const-string v1, "Exception reporting failure"
	invoke-static {v0, v1, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	return-void
.end method

.method public final zaf(Lcom/google/android/gms/common/api/internal/zabq;)V
	.locals 1
	.annotation system Ldalvik/annotation/Throws;
	value = {
	Landroid/os/DeadObjectException;
	}
	.end annotation
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Lcom/google/android/gms/common/api/internal/zabq<",
	"*>;)V"
	}
	.end annotation

	:try_start_0
	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zae;->zaa:Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;
	invoke-virtual {p1}, Lcom/google/android/gms/common/api/internal/zabq;->zaf()Lcom/google/android/gms/common/api/Api$Client;
	move-result-object p1
	invoke-virtual {v0, p1}, Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;->run(Lcom/google/android/gms/common/api/Api$AnyClient;)V
	:try_end_0
	.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
	return-void
	:catch_0
	move-exception p1
	invoke-virtual {p0, p1}, Lcom/google/android/gms/common/api/internal/zae;->zae(Ljava/lang/Exception;)V
	return-void
.end method

.method public final zag(Lcom/google/android/gms/common/api/internal/zaad;Z)V
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zae;->zaa:Lcom/google/android/gms/common/api/internal/BaseImplementation$ApiMethodImpl;
	invoke-virtual {p1, v0, p2}, Lcom/google/android/gms/common/api/internal/zaad;->zac(Lcom/google/android/gms/common/api/internal/BasePendingResult;Z)V
	return-void
.end method