.class public final Lg6/ec;
.super Lg6/h;
.source ""


# instance fields
.field public final t:Z

.field public final u:Z

.field public final synthetic v:Lg6/h6;


# direct methods
.method public constructor <init>(Lg6/h6;ZZ)V
    .registers 4

    iput-object p1, p0, Lg6/ec;->v:Lg6/h6;

    const-string p1, "log"

    invoke-direct {p0, p1}, Lg6/h;-><init>(Ljava/lang/String;)V

    iput-boolean p2, p0, Lg6/ec;->t:Z

    iput-boolean p3, p0, Lg6/ec;->u:Z

    return-void
.end method


# virtual methods
.method public final b(Ls1/g;Ljava/util/List;)Lg6/n;
    .registers 14
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ls1/g;",
            "Ljava/util/List<",
            "Lg6/n;",
            ">;)",
            "Lg6/n;"
        }
    .end annotation

    const-string v0, "log"

    const/4 v1, 0x1

    invoke-static {v0, v1, p2}, Le/d;->v(Ljava/lang/String;ILjava/util/List;)V

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v0

    const/4 v2, 0x0

    if-ne v0, v1, :cond_31

    iget-object v0, p0, Lg6/ec;->v:Lg6/h6;

    .line 1
    iget-object v0, v0, Lg6/h6;->u:Ljava/lang/Object;

    move-object v3, v0

    check-cast v3, Lj6/w3;

    const/4 v4, 0x3

    .line 2
    invoke-interface {p2, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lg6/n;

    invoke-virtual {p1, p2}, Ls1/g;->g(Lg6/n;)Lg6/n;

    move-result-object p1

    invoke-interface {p1}, Lg6/n;->zzi()Ljava/lang/String;

    move-result-object v5

    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object v6

    iget-boolean v7, p0, Lg6/ec;->t:Z

    iget-boolean v8, p0, Lg6/ec;->u:Z

    invoke-virtual/range {v3 .. v8}, Lj6/w3;->b(ILjava/lang/String;Ljava/util/List;ZZ)V

    :goto_2e
    sget-object p1, Lg6/n;->b:Lg6/n;

    return-object p1

    :cond_31
    invoke-interface {p2, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lg6/n;

    invoke-virtual {p1, v0}, Ls1/g;->g(Lg6/n;)Lg6/n;

    move-result-object v0

    invoke-interface {v0}, Lg6/n;->zzh()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-static {v2, v3}, Le/d;->k(D)I

    move-result v0

    const/4 v2, 0x3

    const/4 v3, 0x5

    const/4 v4, 0x2

    if-eq v0, v4, :cond_5a

    if-eq v0, v2, :cond_58

    if-eq v0, v3, :cond_56

    const/4 v5, 0x6

    if-eq v0, v5, :cond_54

    goto :goto_5b

    :cond_54
    move v6, v4

    goto :goto_5c

    :cond_56
    move v6, v3

    goto :goto_5c

    :cond_58
    move v6, v1

    goto :goto_5c

    :cond_5a
    const/4 v2, 0x4

    :goto_5b
    move v6, v2

    :goto_5c
    invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lg6/n;

    invoke-virtual {p1, v0}, Ls1/g;->g(Lg6/n;)Lg6/n;

    move-result-object v0

    invoke-interface {v0}, Lg6/n;->zzi()Ljava/lang/String;

    move-result-object v7

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v0

    if-ne v0, v4, :cond_83

    iget-object p1, p0, Lg6/ec;->v:Lg6/h6;

    .line 3
    iget-object p1, p1, Lg6/h6;->u:Ljava/lang/Object;

    move-object v5, p1

    check-cast v5, Lj6/w3;

    .line 4
    invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;

    move-result-object v8

    :goto_7b
    iget-boolean v9, p0, Lg6/ec;->t:Z

    iget-boolean v10, p0, Lg6/ec;->u:Z

    invoke-virtual/range {v5 .. v10}, Lj6/w3;->b(ILjava/lang/String;Ljava/util/List;ZZ)V

    goto :goto_2e

    :cond_83
    new-instance v8, Ljava/util/ArrayList;

    invoke-direct {v8}, Ljava/util/ArrayList;-><init>()V

    :goto_88
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v0

    invoke-static {v0, v3}, Ljava/lang/Math;->min(II)I

    move-result v0

    if-ge v4, v0, :cond_a6

    invoke-interface {p2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lg6/n;

    invoke-virtual {p1, v0}, Ls1/g;->g(Lg6/n;)Lg6/n;

    move-result-object v0

    invoke-interface {v0}, Lg6/n;->zzi()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v8, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v4, v4, 0x1

    goto :goto_88

    :cond_a6
    iget-object p1, p0, Lg6/ec;->v:Lg6/h6;

    .line 5
    iget-object p1, p1, Lg6/h6;->u:Ljava/lang/Object;

    move-object v5, p1

    check-cast v5, Lj6/w3;

    goto :goto_7b
.end method
