.class public final Lg6/v;
.super Lg6/t;
.source ""


# direct methods
.method public constructor <init>()V
    .registers 3

    invoke-direct {p0}, Lg6/t;-><init>()V

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->u:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->D:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->E:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->F:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->K:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->H:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->L:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->P:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->e0:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->q0:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->t0:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->w0:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lg6/t;->a:Ljava/util/List;

    sget-object v1, Lg6/d0;->x0:Lg6/d0;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public static c(Ls1/g;Ljava/util/List;)Lg6/n;
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ls1/g;",
            "Ljava/util/List<",
            "Lg6/n;",
            ">;)",
            "Lg6/n;"
        }
    .end annotation

    sget-object v0, Lg6/d0;->P:Lg6/d0;

    const-string v0, "FN"

    const/4 v1, 0x2

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

    const/4 v0, 0x0

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

    move-result-object v2

    check-cast v2, Lg6/n;

    invoke-virtual {p0, v2}, Ls1/g;->g(Lg6/n;)Lg6/n;

    move-result-object v2

    const/4 v3, 0x1

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

    move-result-object v4

    check-cast v4, Lg6/n;

    invoke-virtual {p0, v4}, Ls1/g;->g(Lg6/n;)Lg6/n;

    move-result-object v4

    instance-of v5, v4, Lg6/d;

    if-eqz v5, :cond_45

    check-cast v4, Lg6/d;

    invoke-virtual {v4}, Lg6/d;->l()Ljava/util/List;

    move-result-object v0

    new-instance v3, Ljava/util/ArrayList;

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

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

    move-result v4

    if-le v4, v1, :cond_3b

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

    move-result v3

    invoke-interface {p1, v1, v3}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    :cond_3b
    new-instance p1, Lg6/m;

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

    move-result-object v1

    invoke-direct {p1, v1, v0, v3, p0}, Lg6/m;-><init>(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ls1/g;)V

    return-object p1

    :cond_45
    new-instance p0, Ljava/lang/IllegalArgumentException;

    new-array p1, v3, [Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;

    move-result-object v1

    aput-object v1, p1, v0

    const-string v0, "FN requires an ArrayValue of parameter names found %s"

    invoke-static {v0, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

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

    throw p0
.end method


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

    sget-object v0, Lg6/d0;->s:Lg6/d0;

    invoke-static {p1}, Le/d;->q(Ljava/lang/String;)Lg6/d0;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x3

    const/4 v3, 0x2

    const/4 v4, 0x0

    if-eq v0, v3, :cond_1f5

    const/16 v5, 0xf

    const-string v6, "BREAK"

    if-eq v0, v5, :cond_1ed

    const/16 v5, 0x19

    if-eq v0, v5, :cond_1e8

    const/16 v5, 0x29

    const/4 v7, 0x0

    if-eq v0, v5, :cond_19a

    const/16 v5, 0x36

    if-eq v0, v5, :cond_194

    const/16 v5, 0x39

    const-string v8, "return"

    if-eq v0, v5, :cond_173

    const/16 v5, 0x13

    if-eq v0, v5, :cond_154

    const/16 v5, 0x14

    if-eq v0, v5, :cond_13c

    const/16 v5, 0x3c

    if-eq v0, v5, :cond_81

    const/16 v5, 0x3d

    if-eq v0, v5, :cond_56

    packed-switch v0, :pswitch_data_254

    invoke-virtual {p0, p1}, Lg6/t;->b(Ljava/lang/String;)Lg6/n;

    throw v7

    :pswitch_40
    sget-object p1, Lg6/d0;->E:Lg6/d0;

    invoke-static {v6, v4, p3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

    sget-object p1, Lg6/n;->e:Lg6/n;

    return-object p1

    :pswitch_48
    invoke-virtual {p2}, Ls1/g;->f()Ls1/g;

    move-result-object p1

    new-instance p2, Lg6/d;

    invoke-direct {p2, p3}, Lg6/d;-><init>(Ljava/util/List;)V

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

    move-result-object p1

    return-object p1

    :cond_56
    sget-object p1, Lg6/d0;->x0:Lg6/d0;

    const-string p1, "TERNARY"

    invoke-static {p1, v2, p3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object p1

    check-cast p1, Lg6/n;

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

    move-result-object p1

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

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-eqz p1, :cond_76

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

    move-result-object p1

    goto :goto_7a

    :cond_76
    invoke-interface {p3, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    :goto_7a
    check-cast p1, Lg6/n;

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

    move-result-object p1

    return-object p1

    :cond_81
    sget-object p1, Lg6/d0;->w0:Lg6/d0;

    const-string p1, "SWITCH"

    invoke-static {p1, v2, p3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object p1

    check-cast p1, Lg6/n;

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

    move-result-object p1

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

    move-result-object v0

    check-cast v0, Lg6/n;

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

    move-result-object v0

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

    move-result-object p3

    check-cast p3, Lg6/n;

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

    move-result-object p3

    instance-of v2, v0, Lg6/d;

    if-eqz v2, :cond_134

    instance-of v2, p3, Lg6/d;

    if-eqz v2, :cond_12c

    check-cast v0, Lg6/d;

    check-cast p3, Lg6/d;

    move v2, v4

    move v3, v2

    :goto_b4
    invoke-virtual {v0}, Lg6/d;->h()I

    move-result v5

    if-ge v2, v5, :cond_f5

    if-nez v3, :cond_d1

    invoke-virtual {v0, v2}, Lg6/d;->i(I)Lg6/n;

    move-result-object v3

    .line 1
    iget-object v5, p2, Ls1/g;->b:Ljava/lang/Object;

    check-cast v5, Landroidx/appcompat/widget/d0;

    invoke-virtual {v5, p2, v3}, Landroidx/appcompat/widget/d0;->c(Ls1/g;Lg6/n;)Lg6/n;

    move-result-object v3

    .line 2
    invoke-virtual {p1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_cf

    goto :goto_d1

    :cond_cf
    move v3, v4

    goto :goto_f2

    :cond_d1
    :goto_d1
    invoke-virtual {p3, v2}, Lg6/d;->i(I)Lg6/n;

    move-result-object v3

    .line 3
    iget-object v5, p2, Ls1/g;->b:Ljava/lang/Object;

    check-cast v5, Landroidx/appcompat/widget/d0;

    invoke-virtual {v5, p2, v3}, Landroidx/appcompat/widget/d0;->c(Ls1/g;Lg6/n;)Lg6/n;

    move-result-object v3

    .line 4
    instance-of v5, v3, Lg6/f;

    if-eqz v5, :cond_f1

    move-object p1, v3

    check-cast p1, Lg6/f;

    .line 5
    iget-object p1, p1, Lg6/f;->s:Ljava/lang/String;

    const-string p2, "break"

    .line 6
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_128

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

    return-object p1

    :cond_f1
    move v3, v1

    :goto_f2
    add-int/lit8 v2, v2, 0x1

    goto :goto_b4

    :cond_f5
    invoke-virtual {v0}, Lg6/d;->h()I

    move-result p1

    add-int/2addr p1, v1

    invoke-virtual {p3}, Lg6/d;->h()I

    move-result v1

    if-ne p1, v1, :cond_129

    invoke-virtual {v0}, Lg6/d;->h()I

    move-result p1

    invoke-virtual {p3, p1}, Lg6/d;->i(I)Lg6/n;

    move-result-object p1

    .line 7
    iget-object p3, p2, Ls1/g;->b:Ljava/lang/Object;

    check-cast p3, Landroidx/appcompat/widget/d0;

    invoke-virtual {p3, p2, p1}, Landroidx/appcompat/widget/d0;->c(Ls1/g;Lg6/n;)Lg6/n;

    move-result-object v3

    .line 8
    instance-of p1, v3, Lg6/f;

    if-eqz p1, :cond_129

    move-object p1, v3

    check-cast p1, Lg6/f;

    .line 9
    iget-object p1, p1, Lg6/f;->s:Ljava/lang/String;

    .line 10
    invoke-virtual {p1, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-nez p2, :cond_128

    const-string p2, "continue"

    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_128

    goto :goto_129

    :cond_128
    return-object v3

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

    return-object p1

    :cond_12c
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "Malformed SWITCH statement, case statements are not a list"

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_134
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "Malformed SWITCH statement, cases are not a list"

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_13c
    sget-object p1, Lg6/d0;->L:Lg6/d0;

    const-string p1, "DEFINE_FUNCTION"

    invoke-static {p1, v3, p3}, Le/d;->v(Ljava/lang/String;ILjava/util/List;)V

    invoke-static {p2, p3}, Lg6/v;->c(Ls1/g;Ljava/util/List;)Lg6/n;

    move-result-object p1

    move-object p3, p1

    check-cast p3, Lg6/h;

    .line 11
    iget-object p3, p3, Lg6/h;->r:Ljava/lang/String;

    if-nez p3, :cond_150

    const-string p3, ""

    .line 12
    :cond_150
    invoke-virtual {p2, p3, p1}, Ls1/g;->k(Ljava/lang/String;Lg6/n;)V

    return-object p1

    :cond_154
    :pswitch_154
    invoke-interface {p3}, Ljava/util/List;->isEmpty()Z

    move-result p1

    if-eqz p1, :cond_15b

    goto :goto_170

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

    move-result-object p1

    check-cast p1, Lg6/n;

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

    move-result-object p1

    instance-of p3, p1, Lg6/d;

    if-eqz p3, :cond_170

    check-cast p1, Lg6/d;

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

    move-result-object p1

    goto :goto_172

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

    :goto_172
    return-object p1

    :cond_173
    invoke-interface {p3}, Ljava/util/List;->isEmpty()Z

    move-result p1

    if-eqz p1, :cond_17c

    sget-object p1, Lg6/n;->f:Lg6/n;

    goto :goto_193

    :cond_17c
    sget-object p1, Lg6/d0;->t0:Lg6/d0;

    const-string p1, "RETURN"

    invoke-static {p1, v1, p3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object p1

    check-cast p1, Lg6/n;

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

    move-result-object p1

    new-instance p2, Lg6/f;

    invoke-direct {p2, v8, p1}, Lg6/f;-><init>(Ljava/lang/String;Lg6/n;)V

    move-object p1, p2

    :goto_193
    return-object p1

    :cond_194
    new-instance p1, Lg6/d;

    invoke-direct {p1, p3}, Lg6/d;-><init>(Ljava/util/List;)V

    return-object p1

    :cond_19a
    sget-object p1, Lg6/d0;->e0:Lg6/d0;

    const-string p1, "IF"

    invoke-static {p1, v3, p3}, Le/d;->v(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object p1

    check-cast p1, Lg6/n;

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

    move-result-object p1

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

    move-result-object v0

    check-cast v0, Lg6/n;

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

    move-result-object v0

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

    move-result v1

    if-le v1, v3, :cond_1c5

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

    move-result-object p3

    check-cast p3, Lg6/n;

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

    move-result-object v7

    :cond_1c5
    sget-object p3, Lg6/n;->b:Lg6/n;

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

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-eqz p1, :cond_1d8

    check-cast v0, Lg6/d;

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

    move-result-object p1

    goto :goto_1e2

    :cond_1d8
    if-eqz v7, :cond_1e1

    check-cast v7, Lg6/d;

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

    move-result-object p1

    goto :goto_1e2

    :cond_1e1
    move-object p1, p3

    :goto_1e2
    instance-of p2, p1, Lg6/f;

    if-eqz p2, :cond_1e7

    return-object p1

    :cond_1e7
    return-object p3

    :cond_1e8
    invoke-static {p2, p3}, Lg6/v;->c(Ls1/g;Ljava/util/List;)Lg6/n;

    move-result-object p1

    return-object p1

    :cond_1ed
    sget-object p1, Lg6/d0;->E:Lg6/d0;

    invoke-static {v6, v4, p3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

    sget-object p1, Lg6/n;->d:Lg6/n;

    return-object p1

    :cond_1f5
    sget-object p1, Lg6/d0;->u:Lg6/d0;

    const-string p1, "APPLY"

    invoke-static {p1, v2, p3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object p1

    check-cast p1, Lg6/n;

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

    move-result-object p1

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

    move-result-object v0

    check-cast v0, Lg6/n;

    invoke-virtual {p2, 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-interface {p3, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lg6/n;

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

    move-result-object p3

    instance-of v2, p3, Lg6/d;

    if-eqz v2, :cond_23b

    invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_233

    check-cast p3, Lg6/d;

    invoke-virtual {p3}, Lg6/d;->l()Ljava/util/List;

    move-result-object p3

    invoke-interface {p1, v0, p2, p3}, Lg6/n;->g(Ljava/lang/String;Ls1/g;Ljava/util/List;)Lg6/n;

    move-result-object p1

    return-object p1

    :cond_233
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "Function name for apply is undefined"

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_23b
    new-instance p1, Ljava/lang/IllegalArgumentException;

    new-array p2, v1, [Ljava/lang/Object;

    invoke-virtual {p3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object p3

    invoke-virtual {p3}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;

    move-result-object p3

    aput-object p3, p2, v4

    const-string p3, "Function arguments for Apply are not a list found %s"

    invoke-static {p3, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p2

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    nop

    :pswitch_data_254
    .packed-switch 0xb
        :pswitch_48
        :pswitch_40
        :pswitch_154
    .end packed-switch
.end method
