granularity level: instruction

		.class public final synthetic Lr/g;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lr/i;


.field public final synthetic a:I
.field public final synthetic b:Lr/k;


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

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

.method public final apply(Ljava/lang/Object;)Ljava/lang/Object;
	.locals 9

	iget v0, p0, Lr/g;->a:I
	const/4 v1, 0x1
	const/4 v2, 0x0
	const/4 v3, 0x0
	packed-switch v0, :pswitch_data_0
	goto :goto_1
	:pswitch_0
	iget-object v0, p0, Lr/g;->b:Lr/k;
	check-cast p1, Landroid/database/Cursor;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	:goto_0
	invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z
	move-result v4
	if-eqz v4, :cond_0
	invoke-interface {p1, v2}, Landroid/database/Cursor;->getInt(I)I
	move-result v4
	invoke-interface {p1, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
	move-result-object v5
	int-to-long v6, v4
	sget-object v4, Lo/c;->c:Lo/c;
	new-instance v8, Lq/k;
	invoke-direct {v8, v5, v4, v6, v7}, Lq/k;-><init>(Ljava/lang/Object;Ljava/lang/Object;J)V
	invoke-virtual {v0, v8}, Lr/k;->c(Lr/i;)Ljava/lang/Object;
	goto :goto_0
	:cond_0
	return-object v3
	:pswitch_1
	iget-object v0, p0, Lr/g;->b:Lr/k;
	check-cast p1, Landroid/database/sqlite/SQLiteDatabase;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	const-string v1, "DELETE FROM log_event_dropped"
	invoke-virtual {p1, v1}, Landroid/database/sqlite/SQLiteDatabase;->compileStatement(Ljava/lang/String;)Landroid/database/sqlite/SQLiteStatement;
	move-result-object v1
	invoke-virtual {v1}, Landroid/database/sqlite/SQLiteStatement;->execute()V
	new-instance v1, Ljava/lang/StringBuilder;
	invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
	const-string v2, "UPDATE global_log_event_state SET last_metrics_upload_ms="
	invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget-object v0, v0, Lr/k;->b:Lt/a;
	check-cast v0, Lt/b;
	invoke-virtual {v0}, Lt/b;->a()J
	move-result-wide v4
	invoke-virtual {v1, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
	invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	invoke-virtual {p1, v0}, Landroid/database/sqlite/SQLiteDatabase;->compileStatement(Ljava/lang/String;)Landroid/database/sqlite/SQLiteStatement;
	move-result-object p1
	invoke-virtual {p1}, Landroid/database/sqlite/SQLiteStatement;->execute()V
	return-object v3
	:goto_1
	iget-object v0, p0, Lr/g;->b:Lr/k;
	check-cast p1, Landroid/database/Cursor;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	:goto_2
	invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z
	move-result v4
	if-eqz v4, :cond_1
	invoke-interface {p1, v2}, Landroid/database/Cursor;->getInt(I)I
	move-result v4
	invoke-interface {p1, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
	move-result-object v5
	int-to-long v6, v4
	sget-object v4, Lo/c;->f:Lo/c;
	new-instance v8, Lq/k;
	invoke-direct {v8, v5, v4, v6, v7}, Lq/k;-><init>(Ljava/lang/Object;Ljava/lang/Object;J)V
	invoke-virtual {v0, v8}, Lr/k;->c(Lr/i;)Ljava/lang/Object;
	goto :goto_2
	:cond_1
	return-object v3
	:pswitch_data_0
	.packed-switch 0x0
	:pswitch_1
	:pswitch_0
	.end packed-switch
.end method