granularity level: instruction
.class public final synthetic Lq/i;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Ls/b;
.field public final synthetic a:Lq/l;
.field public final synthetic b:Ljava/lang/Iterable;
.field public final synthetic c:Ll/l;
.field public final synthetic d:J
.method public synthetic constructor <init>(Lq/l;Ljava/lang/Iterable;Ll/l;J)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lq/i;->a:Lq/l;
iput-object p2, p0, Lq/i;->b:Ljava/lang/Iterable;
iput-object p3, p0, Lq/i;->c:Ll/l;
iput-wide p4, p0, Lq/i;->d:J
return-void
.end method
.method public final d()Ljava/lang/Object;
.locals 9
iget-object v0, p0, Lq/i;->a:Lq/l;
iget-object v1, p0, Lq/i;->b:Ljava/lang/Iterable;
iget-object v2, p0, Lq/i;->c:Ll/l;
iget-wide v3, p0, Lq/i;->d:J
iget-object v5, v0, Lq/l;->c:Lr/d;
check-cast v5, Lr/k;
invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
invoke-interface {v1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object v6
invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z
move-result v6
if-nez v6, :cond_0
goto :goto_0
:cond_0
const-string v6, "UPDATE events SET num_attempts = num_attempts + 1 WHERE _id in "
invoke-static {v6}, Lc0/b;->b(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v6
invoke-static {v1}, Lr/k;->f(Ljava/lang/Iterable;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v6, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
new-instance v6, Lp/b;
const/4 v7, 0x1
const-string v8, "SELECT COUNT(*), transport_name FROM events WHERE num_attempts >= 16 GROUP BY transport_name"
invoke-direct {v6, v5, v1, v8, v7}, Lp/b;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)V
invoke-virtual {v5, v6}, Lr/k;->c(Lr/i;)Ljava/lang/Object;
:goto_0
iget-object v1, v0, Lq/l;->c:Lr/d;
iget-object v0, v0, Lq/l;->g:Lt/a;
check-cast v0, Lt/b;
invoke-virtual {v0}, Lt/b;->a()J
move-result-wide v5
add-long/2addr v5, v3
check-cast v1, Lr/k;
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
new-instance v0, Lr/e;
invoke-direct {v0, v5, v6, v2}, Lr/e;-><init>(JLl/l;)V
invoke-virtual {v1, v0}, Lr/k;->c(Lr/i;)Ljava/lang/Object;
const/4 v0, 0x0
return-object v0
.end method