.class public final Lg6/f7;
.super Lg6/k;
.source ""


# instance fields
.field public final s:Landroidx/fragment/app/k0;


# direct methods
.method public constructor <init>(Landroidx/fragment/app/k0;)V
    .registers 2

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

    iput-object p1, p0, Lg6/f7;->s:Landroidx/fragment/app/k0;

    return-void
.end method


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

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    move-object/from16 v3, p3

    invoke-virtual/range {p1 .. p1}, Ljava/lang/String;->hashCode()I

    move-result v4

    const/4 v6, 0x4

    const/4 v7, 0x3

    const-string v8, "setEventName"

    const-string v9, "setParamValue"

    const-string v10, "getParams"

    const-string v11, "getParamValue"

    const-string v12, "getTimestamp"

    const-string v13, "getEventName"

    const/4 v14, 0x2

    const/4 v15, 0x1

    const/4 v5, 0x0

    sparse-switch v4, :sswitch_data_154

    goto :goto_51

    :sswitch_21
    invoke-virtual {v1, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_51

    move v4, v6

    goto :goto_52

    :sswitch_29
    invoke-virtual {v1, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_51

    const/4 v4, 0x5

    goto :goto_52

    :sswitch_31
    invoke-virtual {v1, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_51

    move v4, v14

    goto :goto_52

    :sswitch_39
    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_51

    move v4, v15

    goto :goto_52

    :sswitch_41
    invoke-virtual {v1, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_51

    move v4, v7

    goto :goto_52

    :sswitch_49
    invoke-virtual {v1, v13}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_51

    move v4, v5

    goto :goto_52

    :cond_51
    :goto_51
    const/4 v4, -0x1

    :goto_52
    if-eqz v4, :cond_143

    if-eq v4, v15, :cond_117

    if-eq v4, v14, :cond_e6

    if-eq v4, v7, :cond_d0

    if-eq v4, v6, :cond_95

    const/4 v6, 0x5

    if-eq v4, v6, :cond_64

    invoke-super/range {p0 .. p3}, Lg6/k;->g(Ljava/lang/String;Ls1/g;Ljava/util/List;)Lg6/n;

    move-result-object v1

    return-object v1

    :cond_64
    invoke-static {v9, v14, v3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object v1

    check-cast v1, Lg6/n;

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

    move-result-object v1

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

    move-result-object v1

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

    move-result-object v3

    check-cast v3, Lg6/n;

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

    move-result-object v2

    iget-object v3, v0, Lg6/f7;->s:Landroidx/fragment/app/k0;

    .line 1
    iget-object v3, v3, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v3, Lg6/b;

    .line 2
    invoke-static {v2}, Le/d;->s(Lg6/n;)Ljava/lang/Object;

    move-result-object v4

    .line 3
    iget-object v3, v3, Lg6/b;->c:Ljava/util/Map;

    if-nez v4, :cond_91

    invoke-interface {v3, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_94

    :cond_91
    invoke-interface {v3, v1, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_94
    return-object v2

    .line 4
    :cond_95
    invoke-static {v8, v15, v3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object v1

    check-cast v1, Lg6/n;

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

    move-result-object v1

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

    invoke-virtual {v2, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_c8

    sget-object v2, Lg6/n;->c:Lg6/n;

    invoke-virtual {v2, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_c8

    iget-object v2, v0, Lg6/f7;->s:Landroidx/fragment/app/k0;

    .line 5
    iget-object v2, v2, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v2, Lg6/b;

    .line 6
    invoke-interface {v1}, Lg6/n;->zzi()Ljava/lang/String;

    move-result-object v3

    .line 7
    iput-object v3, v2, Lg6/b;->a:Ljava/lang/String;

    .line 8
    new-instance v2, Lg6/q;

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

    move-result-object v1

    invoke-direct {v2, v1}, Lg6/q;-><init>(Ljava/lang/String;)V

    return-object v2

    :cond_c8
    new-instance v1, Ljava/lang/IllegalArgumentException;

    const-string v2, "Illegal event name"

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

    throw v1

    :cond_d0
    invoke-static {v12, v5, v3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

    iget-object v1, v0, Lg6/f7;->s:Landroidx/fragment/app/k0;

    .line 9
    iget-object v1, v1, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v1, Lg6/b;

    .line 10
    new-instance v2, Lg6/g;

    .line 11
    iget-wide v3, v1, Lg6/b;->b:J

    long-to-double v3, v3

    .line 12
    invoke-static {v3, v4}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    invoke-direct {v2, v1}, Lg6/g;-><init>(Ljava/lang/Double;)V

    return-object v2

    :cond_e6
    invoke-static {v10, v5, v3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

    iget-object v1, v0, Lg6/f7;->s:Landroidx/fragment/app/k0;

    .line 13
    iget-object v1, v1, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v1, Lg6/b;

    .line 14
    iget-object v1, v1, Lg6/b;->c:Ljava/util/Map;

    .line 15
    new-instance v2, Lg6/k;

    invoke-direct {v2}, Lg6/k;-><init>()V

    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_fe
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_116

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-interface {v1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    invoke-static {v5}, Lw2/m;->g(Ljava/lang/Object;)Lg6/n;

    move-result-object v5

    invoke-virtual {v2, v4, v5}, Lg6/k;->e(Ljava/lang/String;Lg6/n;)V

    goto :goto_fe

    :cond_116
    return-object v2

    :cond_117
    invoke-static {v11, v15, v3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

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

    move-result-object v1

    check-cast v1, Lg6/n;

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

    move-result-object v1

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

    move-result-object v1

    iget-object v2, v0, Lg6/f7;->s:Landroidx/fragment/app/k0;

    .line 16
    iget-object v2, v2, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v2, Lg6/b;

    .line 17
    iget-object v3, v2, Lg6/b;->c:Ljava/util/Map;

    invoke-interface {v3, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_13d

    iget-object v2, v2, Lg6/b;->c:Ljava/util/Map;

    invoke-interface {v2, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    goto :goto_13e

    :cond_13d
    const/4 v1, 0x0

    .line 18
    :goto_13e
    invoke-static {v1}, Lw2/m;->g(Ljava/lang/Object;)Lg6/n;

    move-result-object v1

    return-object v1

    :cond_143
    invoke-static {v13, v5, v3}, Le/d;->u(Ljava/lang/String;ILjava/util/List;)V

    iget-object v1, v0, Lg6/f7;->s:Landroidx/fragment/app/k0;

    .line 19
    iget-object v1, v1, Landroidx/fragment/app/k0;->t:Ljava/lang/Object;

    check-cast v1, Lg6/b;

    .line 20
    new-instance v2, Lg6/q;

    .line 21
    iget-object v1, v1, Lg6/b;->a:Ljava/lang/String;

    .line 22
    invoke-direct {v2, v1}, Lg6/q;-><init>(Ljava/lang/String;)V

    return-object v2

    :sswitch_data_154
    .sparse-switch
        0x149f58f -> :sswitch_49
        0x2b69a60 -> :sswitch_41
        0x8bc90da -> :sswitch_39
        0x29c21c7c -> :sswitch_31
        0x36e0dee6 -> :sswitch_29
        0x5d9db603 -> :sswitch_21
    .end sparse-switch
.end method
