granularity level: instruction

		.class public final synthetic Lw/g;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Landroid/os/Handler$Callback;


.field public final synthetic a:Lw/j;


.method public synthetic constructor <init>(Lw/j;)V
	.locals 0

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

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

	iget-object v0, p0, Lw/g;->a:Lw/j;
	iget v1, p1, Landroid/os/Message;->arg1:I
	const-string v2, "MessengerIpcClient"
	const/4 v3, 0x3
	invoke-static {v2, v3}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
	move-result v2
	if-eqz v2, :cond_0
	new-instance v2, Ljava/lang/StringBuilder;
	const/16 v3, 0x29
	invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(I)V
	const-string v3, "Received response to request: "
	invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	const-string v3, "MessengerIpcClient"
	invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v2
	invoke-static {v3, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
	:cond_0
	monitor-enter v0
	:try_start_0
	iget-object v2, v0, Lw/j;->e:Landroid/util/SparseArray;
	invoke-virtual {v2, v1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
	move-result-object v2
	check-cast v2, Lw/l;
	if-nez v2, :cond_1
	new-instance p1, Ljava/lang/StringBuilder;
	const/16 v2, 0x32
	invoke-direct {p1, v2}, Ljava/lang/StringBuilder;-><init>(I)V
	const-string v2, "Received response for unknown request: "
	invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	const-string v1, "MessengerIpcClient"
	invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	invoke-static {v1, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	monitor-exit v0
	goto :goto_1
	:cond_1
	iget-object v3, v0, Lw/j;->e:Landroid/util/SparseArray;
	invoke-virtual {v3, v1}, Landroid/util/SparseArray;->remove(I)V
	invoke-virtual {v0}, Lw/j;->c()V
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	invoke-virtual {p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;
	move-result-object p1
	const-string v0, "unsupported"
	const/4 v1, 0x0
	invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
	move-result v0
	const/4 v3, 0x0
	if-eqz v0, :cond_2
	new-instance p1, Lh1/y;
	const-string v0, "Not supported by GmsCore"
	invoke-direct {p1, v0, v3}, Lh1/y;-><init>(Ljava/lang/String;Ljava/lang/SecurityException;)V
	invoke-virtual {v2, p1}, Lw/l;->a(Lh1/y;)V
	goto :goto_1
	:cond_2
	check-cast v2, Lw/k;
	iget v0, v2, Lw/k;->e:I
	packed-switch v0, :pswitch_data_0
	goto :goto_0
	:pswitch_0
	const-string v0, "ack"
	invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
	move-result p1
	if-eqz p1, :cond_3
	invoke-virtual {v2, v3}, Lw/l;->b(Landroid/os/Bundle;)V
	goto :goto_1
	:cond_3
	new-instance p1, Lh1/y;
	const-string v0, "Invalid response to one way request"
	invoke-direct {p1, v0, v3}, Lh1/y;-><init>(Ljava/lang/String;Ljava/lang/SecurityException;)V
	invoke-virtual {v2, p1}, Lw/l;->a(Lh1/y;)V
	goto :goto_1
	:goto_0
	const-string v0, "data"
	invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBundle(Ljava/lang/String;)Landroid/os/Bundle;
	move-result-object p1
	if-nez p1, :cond_4
	sget-object p1, Landroid/os/Bundle;->EMPTY:Landroid/os/Bundle;
	:cond_4
	invoke-virtual {v2, p1}, Lw/l;->b(Landroid/os/Bundle;)V
	:goto_1
	const/4 p1, 0x1
	return p1
	:catchall_0
	move-exception p1
	:try_start_1
	monitor-exit v0
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	throw p1
	nop
	:pswitch_data_0
	.packed-switch 0x0
	:pswitch_0
	.end packed-switch
.end method