.class public final Lz5/ht;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lz5/cu;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lz5/cu<",
        "Lcom/google/android/gms/internal/ads/g2;",
        ">;"
    }
.end annotation


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

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

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/Object;Ljava/util/Map;)V
    .registers 11

    check-cast p1, Lcom/google/android/gms/internal/ads/g2;

    const-string v0, "action"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string v1, "tick"

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

    move-result v1

    if-eqz v1, :cond_92

    const-string v0, "label"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string v1, "start_label"

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

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string v2, "timestamp"

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

    move-result-object p2

    check-cast p2, Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_36

    const-string p1, "No label given for CSI tick."

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V

    return-void

    :cond_36
    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_42

    const-string p1, "No timestamp given for CSI tick."

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V

    return-void

    :cond_42
    :try_start_42
    invoke-static {p2}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v2

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzj()Lu5/c;

    move-result-object p2

    invoke-interface {p2}, Lu5/c;->b()J

    move-result-wide v4

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzj()Lu5/c;

    move-result-object p2

    invoke-interface {p2}, Lu5/c;->c()J

    move-result-wide v6
    :try_end_56
    .catch Ljava/lang/NumberFormatException; {:try_start_42 .. :try_end_56} :catch_8b

    sub-long/2addr v2, v4

    add-long/2addr v2, v6

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p2

    const/4 v4, 0x1

    if-ne v4, p2, :cond_61

    const-string v1, "native:view_load"

    :cond_61
    invoke-interface {p1}, Lcom/google/android/gms/internal/ads/g2;->zzq()Lcom/google/android/gms/internal/ads/k0;

    move-result-object p1

    .line 1
    iget-object p2, p1, Lcom/google/android/gms/internal/ads/k0;->t:Ljava/lang/Object;

    check-cast p2, Lcom/google/android/gms/internal/ads/l0;

    iget-object v5, p1, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast v5, Ljava/util/Map;

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

    move-result-object v1

    check-cast v1, Lcom/google/android/gms/internal/ads/j0;

    new-array v4, v4, [Ljava/lang/String;

    const/4 v5, 0x0

    aput-object v0, v4, v5

    if-eqz v1, :cond_7d

    invoke-virtual {p2, v1, v2, v3, v4}, Lcom/google/android/gms/internal/ads/l0;->a(Lcom/google/android/gms/internal/ads/j0;J[Ljava/lang/String;)Z

    :cond_7d
    iget-object p1, p1, Lcom/google/android/gms/internal/ads/k0;->s:Ljava/lang/Object;

    check-cast p1, Ljava/util/Map;

    new-instance p2, Lcom/google/android/gms/internal/ads/j0;

    const/4 v1, 0x0

    invoke-direct {p2, v2, v3, v1, v1}, Lcom/google/android/gms/internal/ads/j0;-><init>(JLjava/lang/String;Lcom/google/android/gms/internal/ads/j0;)V

    invoke-interface {p1, v0, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void

    :catch_8b
    move-exception p1

    const-string p2, "Malformed timestamp for CSI tick."

    .line 2
    invoke-static {p2, p1}, Lz5/d50;->zzj(Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void

    :cond_92
    const-string v1, "experiment"

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

    move-result v1

    const-string v2, "value"

    if-eqz v1, :cond_bc

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

    move-result-object p2

    check-cast p2, Ljava/lang/String;

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_ae

    const-string p1, "No value given for CSI experiment."

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V

    return-void

    :cond_ae
    invoke-interface {p1}, Lcom/google/android/gms/internal/ads/g2;->zzq()Lcom/google/android/gms/internal/ads/k0;

    move-result-object p1

    .line 3
    iget-object p1, p1, Lcom/google/android/gms/internal/ads/k0;->t:Ljava/lang/Object;

    check-cast p1, Lcom/google/android/gms/internal/ads/l0;

    const-string v0, "e"

    .line 4
    invoke-virtual {p1, v0, p2}, Lcom/google/android/gms/internal/ads/l0;->c(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    :cond_bc
    const-string v1, "extra"

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

    move-result v0

    if-eqz v0, :cond_f5

    const-string v0, "name"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

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

    move-result-object p2

    check-cast p2, Ljava/lang/String;

    invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_de

    const-string p1, "No value given for CSI extra."

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V

    return-void

    :cond_de
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_ea

    const-string p1, "No name given for CSI extra."

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V

    return-void

    :cond_ea
    invoke-interface {p1}, Lcom/google/android/gms/internal/ads/g2;->zzq()Lcom/google/android/gms/internal/ads/k0;

    move-result-object p1

    .line 5
    iget-object p1, p1, Lcom/google/android/gms/internal/ads/k0;->t:Ljava/lang/Object;

    check-cast p1, Lcom/google/android/gms/internal/ads/l0;

    .line 6
    invoke-virtual {p1, v0, p2}, Lcom/google/android/gms/internal/ads/l0;->c(Ljava/lang/String;Ljava/lang/String;)V

    :cond_f5
    return-void
.end method
