granularity level: instruction

		.class public final synthetic Lw/h;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Ljava/lang/Runnable;


.field public final synthetic a:I
.field public final synthetic b:Lw/j;


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

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

.method public final run()V
	.locals 9

	iget v0, p0, Lw/h;->a:I
	const/4 v1, 0x1
	const/4 v2, 0x2
	packed-switch v0, :pswitch_data_0
	goto/16 :goto_3
	:pswitch_0
	iget-object v0, p0, Lw/h;->b:Lw/j;
	:goto_0
	monitor-enter v0
	:try_start_0
	iget v3, v0, Lw/j;->a:I
	iget-object v3, v0, Lw/j;->d:Ljava/util/ArrayDeque;
	invoke-virtual {v3}, Ljava/util/ArrayDeque;->isEmpty()Z
	move-result v3
	if-eqz v3, :cond_1
	invoke-virtual {v0}, Lw/j;->c()V
	:goto_1
	monitor-exit v0
	return-void
	:cond_1
	iget-object v3, v0, Lw/j;->d:Ljava/util/ArrayDeque;
	invoke-virtual {v3}, Ljava/util/ArrayDeque;->poll()Ljava/lang/Object;
	move-result-object v3
	check-cast v3, Lw/l;
	iget-object v4, v0, Lw/j;->e:Landroid/util/SparseArray;
	iget v5, v3, Lw/l;->a:I
	invoke-virtual {v4, v5, v3}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
	iget-object v4, v0, Lw/j;->f:Lw/m;
	iget-object v4, v4, Lw/m;->b:Ljava/util/concurrent/ScheduledExecutorService;
	new-instance v5, Lw/i;
	invoke-direct {v5, v0, v3, v1}, Lw/i;-><init>(Ljava/lang/Object;Ljava/lang/Object;I)V
	const-wide/16 v6, 0x1e
	sget-object v8, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
	invoke-interface {v4, v5, v6, v7, v8}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	const-string v4, "MessengerIpcClient"
	const/4 v5, 0x3
	invoke-static {v4, v5}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
	move-result v4
	iget-object v4, v0, Lw/j;->f:Lw/m;
	iget-object v4, v4, Lw/m;->a:Landroid/content/Context;
	iget-object v5, v0, Lw/j;->b:Landroid/os/Messenger;
	invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;
	move-result-object v6
	iget v7, v3, Lw/l;->c:I
	iput v7, v6, Landroid/os/Message;->what:I
	iget v7, v3, Lw/l;->a:I
	iput v7, v6, Landroid/os/Message;->arg1:I
	iput-object v5, v6, Landroid/os/Message;->replyTo:Landroid/os/Messenger;
	new-instance v5, Landroid/os/Bundle;
	invoke-direct {v5}, Landroid/os/Bundle;-><init>()V
	const-string v7, "oneWay"
	move-object v8, v3
	check-cast v8, Lw/k;
	iget v8, v8, Lw/k;->e:I
	packed-switch v8, :pswitch_data_1
	const/4 v8, 0x0
	goto :goto_2
	:pswitch_1
	const/4 v8, 0x1
	:goto_2
	invoke-virtual {v5, v7, v8}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
	const-string v7, "pkg"
	invoke-virtual {v4}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v4
	invoke-virtual {v5, v7, v4}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	const-string v4, "data"
	iget-object v3, v3, Lw/l;->d:Landroid/os/Bundle;
	invoke-virtual {v5, v4, v3}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
	invoke-virtual {v6, v5}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V
	iget-object v3, v0, Lw/j;->c:Lk/j;
	iget-object v4, v3, Lk/j;->b:Ljava/lang/Object;
	check-cast v4, Landroid/os/Messenger;
	invoke-virtual {v4, v6}, Landroid/os/Messenger;->send(Landroid/os/Message;)V
	goto/16 :goto_0
	:catchall_0
	move-exception v1
	monitor-exit v0
	throw v1
	:goto_3
	iget-object v0, p0, Lw/h;->b:Lw/j;
	monitor-enter v0
	iget v2, v0, Lw/j;->a:I
	monitor-exit v0
	return-void
	:catchall_1
	move-exception v1
	monitor-exit v0
	throw v1
	:pswitch_data_0
	.packed-switch 0x0
	:pswitch_0
	:pswitch_0
	.end packed-switch
	:pswitch_data_1
	.packed-switch 0x0
	:pswitch_1
	.end packed-switch
.end method