granularity level: instruction

		.class final Lcom/google/android/gms/common/internal/zzb;
.super Lcom/google/android/gms/internal/common/zzi;
.source "com.google.android.gms:play-services-basement@@18.1.0"


.field final synthetic zza:Lcom/google/android/gms/common/internal/BaseGmsClient;


.method public constructor <init>(Lcom/google/android/gms/common/internal/BaseGmsClient;Landroid/os/Looper;)V
	.locals 0

	iput-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-direct {p0, p2}, Lcom/google/android/gms/internal/common/zzi;-><init>(Landroid/os/Looper;)V
	return-void
.end method

.method private static final zza(Landroid/os/Message;)V
	.locals 0

	iget-object p0, p0, Landroid/os/Message;->obj:Ljava/lang/Object;
	check-cast p0, Lcom/google/android/gms/common/internal/zzc;
	invoke-virtual {p0}, Lcom/google/android/gms/common/internal/zzc;->zzc()V
	invoke-virtual {p0}, Lcom/google/android/gms/common/internal/zzc;->zzg()V
	return-void
.end method

.method private static final zzb(Landroid/os/Message;)Z
	.locals 3

	iget v0, p0, Landroid/os/Message;->what:I
	const/4 v1, 0x1
	const/4 v2, 0x2
	if-eq v0, v2, :cond_1
	iget v0, p0, Landroid/os/Message;->what:I
	if-eq v0, v1, :cond_1
	iget p0, p0, Landroid/os/Message;->what:I
	const/4 v0, 0x7
	if-ne p0, v0, :cond_0
	goto :goto_0
	:cond_0
	const/4 p0, 0x0
	return p0
	:cond_1
	:goto_0
	return v1
.end method

.method public final handleMessage(Landroid/os/Message;)V
	.locals 7

	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	iget-object v0, v0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
	invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
	move-result v0
	iget v1, p1, Landroid/os/Message;->arg1:I
	if-eq v0, v1, :cond_1
	invoke-static {p1}, Lcom/google/android/gms/common/internal/zzb;->zzb(Landroid/os/Message;)Z
	move-result v0
	if-eqz v0, :cond_0
	invoke-static {p1}, Lcom/google/android/gms/common/internal/zzb;->zza(Landroid/os/Message;)V
	:cond_0
	return-void
	:cond_1
	iget v0, p1, Landroid/os/Message;->what:I
	const/4 v1, 0x4
	const/4 v2, 0x1
	const/4 v3, 0x5
	if-eq v0, v2, :cond_3
	iget v0, p1, Landroid/os/Message;->what:I
	const/4 v4, 0x7
	if-eq v0, v4, :cond_3
	iget v0, p1, Landroid/os/Message;->what:I
	if-ne v0, v1, :cond_2
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-virtual {v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->enableLocalFallback()Z
	move-result v0
	if-eqz v0, :cond_3
	:cond_2
	iget v0, p1, Landroid/os/Message;->what:I
	if-ne v0, v3, :cond_4
	:cond_3
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-virtual {v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->isConnecting()Z
	move-result v0
	if-eqz v0, :cond_12
	:cond_4
	iget v0, p1, Landroid/os/Message;->what:I
	const/16 v4, 0x8
	const/4 v5, 0x3
	const/4 v6, 0x0
	if-ne v0, v1, :cond_8
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	new-instance v1, Lcom/google/android/gms/common/ConnectionResult;
	iget p1, p1, Landroid/os/Message;->arg2:I
	invoke-direct {v1, p1}, Lcom/google/android/gms/common/ConnectionResult;-><init>(I)V
	invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzg(Lcom/google/android/gms/common/internal/BaseGmsClient;Lcom/google/android/gms/common/ConnectionResult;)V
	iget-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzo(Lcom/google/android/gms/common/internal/BaseGmsClient;)Z
	move-result p1
	if-eqz p1, :cond_6
	iget-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzm(Lcom/google/android/gms/common/internal/BaseGmsClient;)Z
	move-result v0
	if-eqz v0, :cond_5
	goto :goto_0
	:cond_5
	invoke-static {p1, v5, v6}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzi(Lcom/google/android/gms/common/internal/BaseGmsClient;ILandroid/os/IInterface;)V
	return-void
	:goto_0
	:cond_6
	iget-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/ConnectionResult;
	move-result-object v0
	if-eqz v0, :cond_7
	invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/ConnectionResult;
	move-result-object p1
	goto :goto_1
	:cond_7
	new-instance p1, Lcom/google/android/gms/common/ConnectionResult;
	invoke-direct {p1, v4}, Lcom/google/android/gms/common/ConnectionResult;-><init>(I)V
	:goto_1
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	iget-object v0, v0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzc:Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;
	invoke-interface {v0, p1}, Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;->onReportServiceBinding(Lcom/google/android/gms/common/ConnectionResult;)V
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-virtual {v0, p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->onConnectionFailed(Lcom/google/android/gms/common/ConnectionResult;)V
	return-void
	:cond_8
	iget v0, p1, Landroid/os/Message;->what:I
	if-ne v0, v3, :cond_a
	iget-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/ConnectionResult;
	move-result-object v0
	if-eqz v0, :cond_9
	invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/ConnectionResult;
	move-result-object p1
	goto :goto_2
	:cond_9
	new-instance p1, Lcom/google/android/gms/common/ConnectionResult;
	invoke-direct {p1, v4}, Lcom/google/android/gms/common/ConnectionResult;-><init>(I)V
	:goto_2
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	iget-object v0, v0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzc:Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;
	invoke-interface {v0, p1}, Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;->onReportServiceBinding(Lcom/google/android/gms/common/ConnectionResult;)V
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-virtual {v0, p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->onConnectionFailed(Lcom/google/android/gms/common/ConnectionResult;)V
	return-void
	:cond_a
	iget v0, p1, Landroid/os/Message;->what:I
	if-ne v0, v5, :cond_c
	iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
	instance-of v0, v0, Landroid/app/PendingIntent;
	if-eqz v0, :cond_b
	iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
	move-object v6, v0
	check-cast v6, Landroid/app/PendingIntent;
	:cond_b
	new-instance v0, Lcom/google/android/gms/common/ConnectionResult;
	iget p1, p1, Landroid/os/Message;->arg2:I
	invoke-direct {v0, p1, v6}, Lcom/google/android/gms/common/ConnectionResult;-><init>(ILandroid/app/PendingIntent;)V
	iget-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	iget-object p1, p1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzc:Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;
	invoke-interface {p1, v0}, Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;->onReportServiceBinding(Lcom/google/android/gms/common/ConnectionResult;)V
	iget-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-virtual {p1, v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->onConnectionFailed(Lcom/google/android/gms/common/ConnectionResult;)V
	return-void
	:cond_c
	iget v0, p1, Landroid/os/Message;->what:I
	const/4 v1, 0x6
	if-ne v0, v1, :cond_e
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-static {v0, v3, v6}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzi(Lcom/google/android/gms/common/internal/BaseGmsClient;ILandroid/os/IInterface;)V
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-static {v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;
	move-result-object v1
	if-eqz v1, :cond_d
	invoke-static {v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;
	move-result-object v0
	iget v1, p1, Landroid/os/Message;->arg2:I
	invoke-interface {v0, v1}, Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;->onConnectionSuspended(I)V
	:cond_d
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	iget p1, p1, Landroid/os/Message;->arg2:I
	invoke-virtual {v0, p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->onConnectionSuspended(I)V
	iget-object p1, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-static {p1, v3, v2, v6}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzn(Lcom/google/android/gms/common/internal/BaseGmsClient;IILandroid/os/IInterface;)Z
	return-void
	:cond_e
	iget v0, p1, Landroid/os/Message;->what:I
	const/4 v1, 0x2
	if-ne v0, v1, :cond_10
	iget-object v0, p0, Lcom/google/android/gms/common/internal/zzb;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
	invoke-virtual {v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->isConnected()Z
	move-result v0
	if-eqz v0, :cond_f
	goto :goto_3
	:cond_f
	invoke-static {p1}, Lcom/google/android/gms/common/internal/zzb;->zza(Landroid/os/Message;)V
	return-void
	:cond_10
	:goto_3
	invoke-static {p1}, Lcom/google/android/gms/common/internal/zzb;->zzb(Landroid/os/Message;)Z
	move-result v0
	if-eqz v0, :cond_11
	iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
	check-cast p1, Lcom/google/android/gms/common/internal/zzc;
	invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzc;->zze()V
	return-void
	:cond_11
	iget p1, p1, Landroid/os/Message;->what:I
	new-instance v0, Ljava/lang/StringBuilder;
	invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
	const-string v1, "Don\'t know how to handle message: "
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	new-instance p1, Ljava/lang/Exception;
	invoke-direct {p1}, Ljava/lang/Exception;-><init>()V
	invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	const-string v1, "GmsClient"
	invoke-static {v1, v0, p1}, Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	return-void
	:cond_12
	invoke-static {p1}, Lcom/google/android/gms/common/internal/zzb;->zza(Landroid/os/Message;)V
	return-void
.end method