granularity level: instruction

		.class public final La0/f0;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Landroid/os/Handler$Callback;


.field public final synthetic a:La0/g0;


.method public synthetic constructor <init>(La0/g0;)V
	.locals 0

	iput-object p1, p0, La0/f0;->a:La0/g0;
	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public final handleMessage(Landroid/os/Message;)Z
	.locals 6

	iget v0, p1, Landroid/os/Message;->what:I
	const/4 v1, 0x0
	const/4 v2, 0x1
	if-eqz v0, :cond_4
	if-eq v0, v2, :cond_0
	return v1
	:cond_0
	iget-object v0, p0, La0/f0;->a:La0/g0;
	iget-object v0, v0, La0/g0;->a:Ljava/util/HashMap;
	monitor-enter v0
	:try_start_0
	iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
	check-cast p1, La0/c0;
	iget-object v1, p0, La0/f0;->a:La0/g0;
	iget-object v1, v1, La0/g0;->a:Ljava/util/HashMap;
	invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v1
	check-cast v1, La0/e0;
	if-eqz v1, :cond_3
	iget v3, v1, La0/e0;->b:I
	const/4 v4, 0x3
	if-ne v3, v4, :cond_3
	invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v3
	new-instance v4, Ljava/lang/StringBuilder;
	invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
	const-string v5, "Timeout waiting for ServiceConnection callback "
	invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	new-instance v3, Ljava/lang/Exception;
	invoke-direct {v3}, Ljava/lang/Exception;-><init>()V
	const-string v5, "GmsClientSupervisor"
	invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v4
	invoke-static {v5, v4, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	iget-object v3, v1, La0/e0;->f:Landroid/content/ComponentName;
	if-nez v3, :cond_1
	invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	const/4 v3, 0x0
	:cond_1
	if-nez v3, :cond_2
	new-instance v3, Landroid/content/ComponentName;
	iget-object p1, p1, La0/c0;->b:Ljava/lang/String;
	invoke-static {p1}, Lp0/a;->j(Ljava/lang/Object;)V
	const-string v4, "unknown"
	invoke-direct {v3, p1, v4}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
	:cond_2
	invoke-virtual {v1, v3}, La0/e0;->onServiceDisconnected(Landroid/content/ComponentName;)V
	:cond_3
	monitor-exit v0
	return v2
	:catchall_0
	move-exception p1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw p1
	:cond_4
	iget-object v0, p0, La0/f0;->a:La0/g0;
	iget-object v0, v0, La0/g0;->a:Ljava/util/HashMap;
	monitor-enter v0
	:try_start_1
	iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
	check-cast p1, La0/c0;
	iget-object v3, p0, La0/f0;->a:La0/g0;
	iget-object v3, v3, La0/g0;->a:Ljava/util/HashMap;
	invoke-virtual {v3, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v3
	check-cast v3, La0/e0;
	if-eqz v3, :cond_6
	iget-object v4, v3, La0/e0;->a:Ljava/util/HashMap;
	invoke-virtual {v4}, Ljava/util/HashMap;->isEmpty()Z
	move-result v4
	if-eqz v4, :cond_6
	iget-boolean v4, v3, La0/e0;->c:Z
	if-eqz v4, :cond_5
	iget-object v4, v3, La0/e0;->g:La0/g0;
	iget-object v4, v4, La0/g0;->c:Lh0/d;
	iget-object v5, v3, La0/e0;->e:La0/c0;
	invoke-virtual {v4, v2, v5}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
	iget-object v4, v3, La0/e0;->g:La0/g0;
	iget-object v5, v4, La0/g0;->d:Ld0/a;
	iget-object v4, v4, La0/g0;->b:Landroid/content/Context;
	invoke-virtual {v5, v4, v3}, Ld0/a;->b(Landroid/content/Context;Landroid/content/ServiceConnection;)V
	iput-boolean v1, v3, La0/e0;->c:Z
	const/4 v1, 0x2
	iput v1, v3, La0/e0;->b:I
	:cond_5
	iget-object v1, p0, La0/f0;->a:La0/g0;
	iget-object v1, v1, La0/g0;->a:Ljava/util/HashMap;
	invoke-virtual {v1, p1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
	goto :goto_0
	:catchall_1
	move-exception p1
	goto :goto_1
	:goto_0
	:cond_6
	monitor-exit v0
	return v2
	:goto_1
	monitor-exit v0
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_1
	throw p1
.end method