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

# interfaces
.implements Lz5/cu;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lz5/cu<",
        "Lz5/h60;",
        ">;"
    }
.end annotation


# instance fields
.field public r:Z


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

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

    return-void
.end method

.method public static b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;",
            "Ljava/lang/String;",
            "I)I"
        }
    .end annotation

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

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    if-eqz p1, :cond_44

    .line 1
    :try_start_8
    sget-object v0, Lz5/wk;->f:Lz5/wk;

    iget-object v0, v0, Lz5/wk;->a:Lz5/z40;

    .line 2
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    .line 3
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p0

    invoke-virtual {p0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object p0

    invoke-static {p0, v0}, Lz5/z40;->f(Landroid/util/DisplayMetrics;I)I

    move-result p3
    :try_end_1c
    .catch Ljava/lang/NumberFormatException; {:try_start_8 .. :try_end_1c} :catch_1d

    goto :goto_44

    .line 4
    :catch_1d
    new-instance p0, Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    add-int/lit8 v0, v0, 0x22

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

    move-result v1

    add-int/2addr v1, v0

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

    const-string v0, "Could not parse "

    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, " in a video GMSG: "

    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

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

    :cond_44
    :goto_44
    invoke-static {}, Lcom/google/android/gms/ads/internal/util/zze;->zzc()Z

    move-result p0

    if-eqz p0, :cond_79

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

    move-result-object p0

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result p0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v1

    add-int/lit8 v1, v1, 0x30

    add-int/2addr v1, p0

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string p0, "Parse pixels for "

    const-string v1, ", got string "

    invoke-static {v0, p0, p2, v1, p1}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string p0, ", int "

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p0, "."

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Lcom/google/android/gms/ads/internal/util/zze;->zza(Ljava/lang/String;)V

    :cond_79
    return p3
.end method

.method public static c(Lcom/google/android/gms/internal/ads/b2;Ljava/util/Map;)V
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/android/gms/internal/ads/b2;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    const-string v0, "minBufferMs"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string v1, "maxBufferMs"

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

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string v2, "bufferForPlaybackMs"

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

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const-string v3, "bufferForPlaybackAfterRebufferMs"

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

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string v4, "socketReceiveBufferSize"

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

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    if-eqz v0, :cond_33

    :try_start_2a
    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v4

    .line 1
    iget-object v5, p0, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    invoke-virtual {v5, v4}, Lz5/u50;->x(I)V

    :cond_33
    if-eqz v1, :cond_3e

    .line 2
    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v4

    .line 3
    iget-object v5, p0, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    invoke-virtual {v5, v4}, Lz5/u50;->y(I)V

    :cond_3e
    if-eqz v2, :cond_49

    .line 4
    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    .line 5
    iget-object v4, p0, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    invoke-virtual {v4, v2}, Lz5/u50;->z(I)V

    :cond_49
    if-eqz v3, :cond_54

    .line 6
    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    .line 7
    iget-object v3, p0, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    invoke-virtual {v3, v2}, Lz5/u50;->a(I)V

    :cond_54
    if-eqz p1, :cond_72

    .line 8
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1

    .line 9
    iget-object p0, p0, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    invoke-virtual {p0, p1}, Lz5/u50;->f(I)V
    :try_end_5f
    .catch Ljava/lang/NumberFormatException; {:try_start_2a .. :try_end_5f} :catch_60

    return-void

    :catch_60
    const/4 p0, 0x2

    new-array p0, p0, [Ljava/lang/Object;

    const/4 p1, 0x0

    aput-object v0, p0, p1

    const/4 p1, 0x1

    aput-object v1, p0, p1

    const-string p1, "Could not parse buffer parameters in loadControl video GMSG: (%s, %s)"

    .line 10
    invoke-static {p1, p0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p0

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

    :cond_72
    return-void
.end method


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

    move-object/from16 v1, p0

    move-object/from16 v0, p2

    move-object/from16 v2, p1

    check-cast v2, Lz5/h60;

    const-string v3, "action"

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

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    if-nez v3, :cond_18

    const-string v0, "Action missing from video GMSG."

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

    return-void

    :cond_18
    const/4 v4, 0x3

    invoke-static {v4}, Lz5/d50;->zzm(I)Z

    move-result v5

    if-eqz v5, :cond_58

    new-instance v5, Lorg/json/JSONObject;

    invoke-direct {v5, v0}, Lorg/json/JSONObject;-><init>(Ljava/util/Map;)V

    const-string v6, "google.afma.Notify_dt"

    invoke-virtual {v5, v6}, Lorg/json/JSONObject;->remove(Ljava/lang/String;)Ljava/lang/Object;

    invoke-virtual {v5}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result v6

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v8

    add-int/lit8 v8, v8, 0xd

    add-int/2addr v8, v6

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(I)V

    const-string v6, "Video GMSG: "

    invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, " "

    invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

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

    :cond_58
    const-string v5, "background"

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

    move-result v5

    if-eqz v5, :cond_82

    const-string v3, "color"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

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

    move-result v3

    if-eqz v3, :cond_74

    const-string v0, "Color parameter missing from background video GMSG."

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

    return-void

    :cond_74
    :try_start_74
    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-interface {v2, v0}, Lz5/h60;->setBackgroundColor(I)V
    :try_end_7b
    .catch Ljava/lang/IllegalArgumentException; {:try_start_74 .. :try_end_7b} :catch_7c

    return-void

    :catch_7c
    const-string v0, "Invalid color parameter in background video GMSG."

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

    return-void

    :cond_82
    const-string v5, "playerBackground"

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

    move-result v5

    if-eqz v5, :cond_ac

    const-string v3, "color"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

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

    move-result v3

    if-eqz v3, :cond_9e

    const-string v0, "Color parameter missing from playerBackground video GMSG."

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

    return-void

    :cond_9e
    :try_start_9e
    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-interface {v2, v0}, Lz5/h60;->v(I)V
    :try_end_a5
    .catch Ljava/lang/IllegalArgumentException; {:try_start_9e .. :try_end_a5} :catch_a6

    return-void

    :catch_a6
    const-string v0, "Invalid color parameter in playerBackground video GMSG."

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

    return-void

    :cond_ac
    const-string v5, "decoderProps"

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

    move-result v5

    const/4 v6, 0x0

    if-eqz v5, :cond_112

    const-string v3, "mimeTypes"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-nez v0, :cond_dd

    const-string v0, "No MIME types specified for decoder properties inspection."

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

    new-instance v0, Ljava/util/HashMap;

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

    const-string v3, "event"

    const-string v4, "decoderProps"

    invoke-virtual {v0, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v3, "error"

    const-string v4, "missingMimeTypes"

    invoke-virtual {v0, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v3, "onVideoEvent"

    invoke-interface {v2, v3, v0}, Lz5/fw;->e(Ljava/lang/String;Ljava/util/Map;)V

    return-void

    :cond_dd
    new-instance v3, Ljava/util/HashMap;

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

    const-string v4, ","

    invoke-virtual {v0, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v4, v0

    :goto_e9
    if-ge v6, v4, :cond_fb

    aget-object v5, v0, v6

    invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v7

    invoke-static {v7}, Lcom/google/android/gms/ads/internal/util/zzck;->zza(Ljava/lang/String;)Ljava/util/List;

    move-result-object v7

    invoke-virtual {v3, v5, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 v6, v6, 0x1

    goto :goto_e9

    :cond_fb
    new-instance v0, Ljava/util/HashMap;

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

    const-string v4, "event"

    const-string v5, "decoderProps"

    invoke-virtual {v0, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v4, "mimeTypes"

    invoke-virtual {v0, v4, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v3, "onVideoEvent"

    invoke-interface {v2, v3, v0}, Lz5/fw;->e(Ljava/lang/String;Ljava/util/Map;)V

    return-void

    :cond_112
    invoke-interface {v2}, Lz5/h60;->zzf()Lz5/y50;

    move-result-object v5

    if-nez v5, :cond_11e

    const-string v0, "Could not get underlay container for a video GMSG."

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

    return-void

    :cond_11e
    const-string v7, "new"

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

    move-result v7

    const-string v8, "position"

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

    move-result v8

    if-nez v7, :cond_3d9

    if-eqz v8, :cond_130

    goto/16 :goto_3d9

    :cond_130
    invoke-interface {v2}, Lz5/h60;->zzh()Lcom/google/android/gms/internal/ads/k2;

    move-result-object v7

    if-eqz v7, :cond_18e

    const-string v8, "timeupdate"

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

    move-result v8

    if-eqz v8, :cond_174

    const-string v2, "currentTime"

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

    move-result-object v0

    move-object v2, v0

    check-cast v2, Ljava/lang/String;

    if-nez v2, :cond_14f

    const-string v0, "currentTime parameter missing from timeupdate video GMSG."

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

    return-void

    :cond_14f
    :try_start_14f
    invoke-static {v2}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v0

    .line 1
    iget-object v3, v7, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v3
    :try_end_156
    .catch Ljava/lang/NumberFormatException; {:try_start_14f .. :try_end_156} :catch_15d

    :try_start_156
    iput v0, v7, Lcom/google/android/gms/internal/ads/k2;->A:F

    monitor-exit v3

    return-void

    :catchall_15a
    move-exception v0

    monitor-exit v3
    :try_end_15c
    .catchall {:try_start_156 .. :try_end_15c} :catchall_15a

    :try_start_15c
    throw v0
    :try_end_15d
    .catch Ljava/lang/NumberFormatException; {:try_start_15c .. :try_end_15d} :catch_15d

    :catch_15d
    const-string v0, "Could not parse currentTime parameter from timeupdate video GMSG: "

    .line 2
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v3

    if-eqz v3, :cond_16a

    invoke-virtual {v0, v2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_170

    :cond_16a
    new-instance v2, Ljava/lang/String;

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

    move-object v0, v2

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

    return-void

    :cond_174
    const-string v8, "skip"

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

    move-result v8

    if-nez v8, :cond_17d

    goto :goto_18e

    .line 3
    :cond_17d
    iget-object v8, v7, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v8

    :try_start_180
    iget-boolean v0, v7, Lcom/google/android/gms/internal/ads/k2;->y:Z

    iget v2, v7, Lcom/google/android/gms/internal/ads/k2;->v:I

    iput v4, v7, Lcom/google/android/gms/internal/ads/k2;->v:I

    monitor-exit v8
    :try_end_187
    .catchall {:try_start_180 .. :try_end_187} :catchall_18b

    invoke-virtual {v7, v2, v4, v0, v0}, Lcom/google/android/gms/internal/ads/k2;->K2(IIZZ)V

    return-void

    :catchall_18b
    move-exception v0

    :try_start_18c
    monitor-exit v8
    :try_end_18d
    .catchall {:try_start_18c .. :try_end_18d} :catchall_18b

    throw v0

    .line 4
    :cond_18e
    :goto_18e
    invoke-virtual {v5}, Lz5/y50;->a()Lcom/google/android/gms/internal/ads/b2;

    move-result-object v4

    if-nez v4, :cond_1a6

    new-instance v0, Ljava/util/HashMap;

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

    const-string v3, "event"

    const-string v4, "no_video_view"

    invoke-virtual {v0, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v3, "onVideoEvent"

    invoke-interface {v2, v3, v0}, Lz5/fw;->e(Ljava/lang/String;Ljava/util/Map;)V

    return-void

    :cond_1a6
    const-string v5, "click"

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

    move-result v5

    if-eqz v5, :cond_1d7

    invoke-interface {v2}, Lz5/h60;->getContext()Landroid/content/Context;

    move-result-object v2

    const-string v3, "x"

    invoke-static {v2, v0, v3, v6}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v3

    const-string v5, "y"

    invoke-static {v2, v0, v5, v6}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v0

    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v7

    const/4 v9, 0x0

    int-to-float v10, v3

    int-to-float v11, v0

    const/4 v12, 0x0

    move-wide v5, v7

    invoke-static/range {v5 .. v12}, Landroid/view/MotionEvent;->obtain(JJIFFI)Landroid/view/MotionEvent;

    move-result-object v0

    .line 5
    iget-object v2, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v2, :cond_1d0

    goto :goto_1d3

    :cond_1d0
    invoke-virtual {v2, v0}, Landroid/view/TextureView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    .line 6
    :goto_1d3
    invoke-virtual {v0}, Landroid/view/MotionEvent;->recycle()V

    return-void

    :cond_1d7
    const-string v5, "currentTime"

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

    move-result v5

    if-eqz v5, :cond_216

    const-string v2, "time"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-nez v0, :cond_1ef

    const-string v0, "Time parameter missing from currentTime video GMSG."

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

    return-void

    :cond_1ef
    :try_start_1ef
    invoke-static {v0}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v2

    const/high16 v3, 0x447a0000    # 1000.0f

    mul-float/2addr v2, v3

    float-to-int v2, v2

    .line 7
    iget-object v3, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v3, :cond_1fc

    goto :goto_1ff

    :cond_1fc
    invoke-virtual {v3, v2}, Lz5/u50;->o(I)V
    :try_end_1ff
    .catch Ljava/lang/NumberFormatException; {:try_start_1ef .. :try_end_1ff} :catch_200

    :goto_1ff
    return-void

    :catch_200
    const-string v2, "Could not parse time parameter from currentTime video GMSG: "

    .line 8
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-eqz v3, :cond_20d

    invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_212

    :cond_20d
    new-instance v0, Ljava/lang/String;

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

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

    return-void

    :cond_216
    const-string v5, "hide"

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

    move-result v5

    if-eqz v5, :cond_223

    const/4 v0, 0x4

    invoke-virtual {v4, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V

    return-void

    :cond_223
    const-string v5, "load"

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

    move-result v5

    if-eqz v5, :cond_24a

    .line 9
    iget-object v0, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v0, :cond_230

    goto :goto_249

    :cond_230
    iget-object v0, v4, Lcom/google/android/gms/internal/ads/b2;->E:Ljava/lang/String;

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

    move-result v0

    if-nez v0, :cond_242

    iget-object v0, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    iget-object v2, v4, Lcom/google/android/gms/internal/ads/b2;->E:Ljava/lang/String;

    iget-object v3, v4, Lcom/google/android/gms/internal/ads/b2;->F:[Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lz5/u50;->w(Ljava/lang/String;[Ljava/lang/String;)V

    goto :goto_249

    :cond_242
    new-array v0, v6, [Ljava/lang/String;

    const-string v2, "no_src"

    invoke-virtual {v4, v2, v0}, Lcom/google/android/gms/internal/ads/b2;->c(Ljava/lang/String;[Ljava/lang/String;)V

    :goto_249
    return-void

    :cond_24a
    const-string v5, "loadControl"

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

    move-result v5

    if-eqz v5, :cond_256

    invoke-static {v4, v0}, Lz5/z60;->c(Lcom/google/android/gms/internal/ads/b2;Ljava/util/Map;)V

    return-void

    :cond_256
    const-string v5, "muted"

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

    move-result v5

    const/4 v7, 0x1

    if-eqz v5, :cond_28d

    const-string v2, "muted"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_27d

    .line 11
    iget-object v0, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v0, :cond_272

    goto :goto_27c

    :cond_272
    iget-object v2, v0, Lz5/u50;->s:Lz5/k60;

    .line 12
    iput-boolean v7, v2, Lz5/k60;->e:Z

    invoke-virtual {v2}, Lz5/k60;->b()V

    .line 13
    invoke-virtual {v0}, Lz5/u50;->zzt()V

    :goto_27c
    return-void

    .line 14
    :cond_27d
    iget-object v0, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v0, :cond_282

    goto :goto_28c

    :cond_282
    iget-object v2, v0, Lz5/u50;->s:Lz5/k60;

    .line 15
    iput-boolean v6, v2, Lz5/k60;->e:Z

    invoke-virtual {v2}, Lz5/k60;->b()V

    .line 16
    invoke-virtual {v0}, Lz5/u50;->zzt()V

    :goto_28c
    return-void

    :cond_28d
    const-string v5, "pause"

    .line 17
    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_29e

    .line 18
    iget-object v0, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v0, :cond_29a

    goto :goto_29d

    :cond_29a
    invoke-virtual {v0}, Lz5/u50;->l()V

    :goto_29d
    return-void

    :cond_29e
    const-string v5, "play"

    .line 19
    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2af

    .line 20
    iget-object v0, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v0, :cond_2ab

    goto :goto_2ae

    :cond_2ab
    invoke-virtual {v0}, Lz5/u50;->k()V

    :goto_2ae
    return-void

    :cond_2af
    const-string v5, "show"

    .line 21
    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2bb

    invoke-virtual {v4, v6}, Landroid/widget/FrameLayout;->setVisibility(I)V

    return-void

    :cond_2bb
    const-string v5, "src"

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

    move-result v5

    if-eqz v5, :cond_349

    const-string v3, "src"

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

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string v5, "periodicReportIntervalMs"

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

    move-result v8

    const/4 v9, 0x0

    if-nez v8, :cond_2d5

    goto :goto_2f7

    :cond_2d5
    :try_start_2d5
    invoke-interface {v0, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    invoke-static {v8}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v8

    invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v9
    :try_end_2e3
    .catch Ljava/lang/NumberFormatException; {:try_start_2d5 .. :try_end_2e3} :catch_2e4

    goto :goto_2f7

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

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    const-string v8, "Video gmsg invalid numeric parameter \'periodicReportIntervalMs\': "

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v8, v5}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

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

    :goto_2f7
    new-array v5, v7, [Ljava/lang/String;

    aput-object v3, v5, v6

    const-string v8, "demuxed"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-eqz v0, :cond_33b

    :try_start_305
    new-instance v5, Lorg/json/JSONArray;

    invoke-direct {v5, v0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5}, Lorg/json/JSONArray;->length()I

    move-result v8

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

    move v10, v6

    :goto_311
    invoke-virtual {v5}, Lorg/json/JSONArray;->length()I

    move-result v11

    if-ge v10, v11, :cond_320

    invoke-virtual {v5, v10}, Lorg/json/JSONArray;->getString(I)Ljava/lang/String;

    move-result-object v11

    aput-object v11, v8, v10
    :try_end_31d
    .catch Lorg/json/JSONException; {:try_start_305 .. :try_end_31d} :catch_322

    add-int/lit8 v10, v10, 0x1

    goto :goto_311

    :cond_320
    move-object v5, v8

    goto :goto_33b

    :catch_322
    const-string v5, "Malformed demuxed URL list for playback: "

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v8

    if-eqz v8, :cond_32f

    invoke-virtual {v5, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_334

    :cond_32f
    new-instance v0, Ljava/lang/String;

    invoke-direct {v0, v5}, Ljava/lang/String;-><init>(Ljava/lang/String;)V

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

    new-array v5, v7, [Ljava/lang/String;

    aput-object v3, v5, v6

    :cond_33b
    :goto_33b
    if-eqz v9, :cond_344

    invoke-virtual {v9}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-interface {v2, v0}, Lz5/h60;->A(I)V

    .line 22
    :cond_344
    iput-object v3, v4, Lcom/google/android/gms/internal/ads/b2;->E:Ljava/lang/String;

    iput-object v5, v4, Lcom/google/android/gms/internal/ads/b2;->F:[Ljava/lang/String;

    return-void

    :cond_349
    const-string v5, "touchMove"

    .line 23
    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_374

    invoke-interface {v2}, Lz5/h60;->getContext()Landroid/content/Context;

    move-result-object v3

    const-string v5, "dx"

    invoke-static {v3, v0, v5, v6}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v5

    int-to-float v5, v5

    const-string v8, "dy"

    invoke-static {v3, v0, v8, v6}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v0

    int-to-float v0, v0

    .line 24
    iget-object v3, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-eqz v3, :cond_36a

    invoke-virtual {v3, v5, v0}, Lz5/u50;->p(FF)V

    .line 25
    :cond_36a
    iget-boolean v0, v1, Lz5/z60;->r:Z

    if-nez v0, :cond_510

    invoke-interface {v2}, Lz5/h60;->zzl()V

    iput-boolean v7, v1, Lz5/z60;->r:Z

    return-void

    :cond_374
    const-string v2, "volume"

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

    move-result v2

    if-eqz v2, :cond_3b6

    const-string v2, "volume"

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

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-nez v0, :cond_38c

    const-string v0, "Level parameter missing from volume video GMSG."

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

    return-void

    :cond_38c
    :try_start_38c
    invoke-static {v0}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v2

    .line 26
    iget-object v3, v4, Lcom/google/android/gms/internal/ads/b2;->x:Lz5/u50;

    if-nez v3, :cond_395

    goto :goto_39f

    :cond_395
    iget-object v4, v3, Lz5/u50;->s:Lz5/k60;

    .line 27
    iput v2, v4, Lz5/k60;->f:F

    invoke-virtual {v4}, Lz5/k60;->b()V

    .line 28
    invoke-virtual {v3}, Lz5/u50;->zzt()V
    :try_end_39f
    .catch Ljava/lang/NumberFormatException; {:try_start_38c .. :try_end_39f} :catch_3a0

    :goto_39f
    return-void

    :catch_3a0
    const-string v2, "Could not parse volume parameter from volume video GMSG: "

    .line 29
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-eqz v3, :cond_3ad

    invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_3b2

    :cond_3ad
    new-instance v0, Ljava/lang/String;

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

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

    return-void

    :cond_3b6
    const-string v0, "watermark"

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

    move-result v0

    if-eqz v0, :cond_3c2

    invoke-virtual {v4}, Lcom/google/android/gms/internal/ads/b2;->a()V

    return-void

    :cond_3c2
    const-string v0, "Unknown video action: "

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v2

    if-eqz v2, :cond_3cf

    invoke-virtual {v0, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_3d5

    :cond_3cf
    new-instance v2, Ljava/lang/String;

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

    move-object v0, v2

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

    return-void

    :cond_3d9
    :goto_3d9
    invoke-interface {v2}, Lz5/h60;->getContext()Landroid/content/Context;

    move-result-object v3

    const-string v4, "x"

    invoke-static {v3, v0, v4, v6}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v4

    const-string v8, "y"

    invoke-static {v3, v0, v8, v6}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v8

    const-string v9, "w"

    const/4 v10, -0x1

    invoke-static {v3, v0, v9, v10}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v9

    sget-object v11, Lz5/so;->d2:Lz5/no;

    .line 30
    sget-object v12, Lz5/xk;->d:Lz5/xk;

    iget-object v13, v12, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 31
    invoke-virtual {v13, v11}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v13

    check-cast v13, Ljava/lang/Boolean;

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

    move-result v13

    if-eqz v13, :cond_40e

    if-ne v9, v10, :cond_409

    invoke-interface {v2}, Lz5/h60;->zzz()I

    move-result v9

    goto :goto_440

    :cond_409
    invoke-interface {v2}, Lz5/h60;->zzz()I

    move-result v13

    goto :goto_43c

    :cond_40e
    invoke-static {}, Lcom/google/android/gms/ads/internal/util/zze;->zzc()Z

    move-result v13

    if-eqz v13, :cond_436

    invoke-interface {v2}, Lz5/h60;->zzz()I

    move-result v13

    const/16 v14, 0x6e

    const-string v15, "Calculate width with original width "

    const-string v6, ", videoHost.getVideoBoundingWidth() "

    invoke-static {v14, v15, v9, v6, v13}, Ll5/p;->a(ILjava/lang/String;ILjava/lang/String;I)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v13, ", x "

    invoke-virtual {v6, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v13, "."

    invoke-virtual {v6, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Lcom/google/android/gms/ads/internal/util/zze;->zza(Ljava/lang/String;)V

    :cond_436
    invoke-interface {v2}, Lz5/h60;->zzz()I

    move-result v6

    sub-int v13, v6, v4

    :goto_43c
    invoke-static {v9, v13}, Ljava/lang/Math;->min(II)I

    move-result v9

    :goto_440
    const-string v6, "h"

    invoke-static {v3, v0, v6, v10}, Lz5/z60;->b(Landroid/content/Context;Ljava/util/Map;Ljava/lang/String;I)I

    move-result v3

    .line 32
    iget-object v6, v12, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 33
    invoke-virtual {v6, v11}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/Boolean;

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

    move-result v6

    if-eqz v6, :cond_45b

    invoke-interface {v2}, Lz5/h60;->zzy()I

    move-result v2

    if-ne v3, v10, :cond_488

    goto :goto_48c

    :cond_45b
    invoke-static {}, Lcom/google/android/gms/ads/internal/util/zze;->zzc()Z

    move-result v6

    if-eqz v6, :cond_483

    invoke-interface {v2}, Lz5/h60;->zzy()I

    move-result v6

    const/16 v11, 0x71

    const-string v12, "Calculate height with original height "

    const-string v13, ", videoHost.getVideoBoundingHeight() "

    invoke-static {v11, v12, v3, v13, v6}, Ll5/p;->a(ILjava/lang/String;ILjava/lang/String;I)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v11, ", y "

    invoke-virtual {v6, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v11, "."

    invoke-virtual {v6, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Lcom/google/android/gms/ads/internal/util/zze;->zza(Ljava/lang/String;)V

    :cond_483
    invoke-interface {v2}, Lz5/h60;->zzy()I

    move-result v2

    sub-int/2addr v2, v8

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

    move-result v2

    :goto_48c
    :try_start_48c
    const-string v3, "player"

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

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3
    :try_end_498
    .catch Ljava/lang/NumberFormatException; {:try_start_48c .. :try_end_498} :catch_49a

    move v14, v3

    goto :goto_49b

    :catch_49a
    const/4 v14, 0x0

    :goto_49b
    const-string v3, "spherical"

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

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v15

    if-eqz v7, :cond_511

    invoke-virtual {v5}, Lz5/y50;->a()Lcom/google/android/gms/internal/ads/b2;

    move-result-object v3

    if-nez v3, :cond_511

    new-instance v3, Lz5/g60;

    const-string v6, "flags"

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

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    invoke-direct {v3, v6}, Lz5/g60;-><init>(Ljava/lang/String;)V

    .line 34
    iget-object v6, v5, Lz5/y50;->d:Lcom/google/android/gms/internal/ads/b2;

    if-eqz v6, :cond_4c1

    goto :goto_507

    :cond_4c1
    iget-object v6, v5, Lz5/y50;->b:Lz5/h60;

    invoke-interface {v6}, Lz5/h60;->zzq()Lcom/google/android/gms/internal/ads/k0;

    move-result-object v6

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

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

    .line 36
    iget-object v7, v5, Lz5/y50;->b:Lz5/h60;

    invoke-interface {v7}, Lz5/h60;->zzi()Lcom/google/android/gms/internal/ads/j0;

    move-result-object v7

    const-string v11, "vpr2"

    filled-new-array {v11}, [Ljava/lang/String;

    move-result-object v11

    invoke-static {v6, v7, v11}, Lz5/vo;->d(Lcom/google/android/gms/internal/ads/l0;Lcom/google/android/gms/internal/ads/j0;[Ljava/lang/String;)Z

    new-instance v6, Lcom/google/android/gms/internal/ads/b2;

    iget-object v12, v5, Lz5/y50;->a:Landroid/content/Context;

    iget-object v13, v5, Lz5/y50;->b:Lz5/h60;

    invoke-interface {v13}, Lz5/h60;->zzq()Lcom/google/android/gms/internal/ads/k0;

    move-result-object v7

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

    move-object/from16 v16, v7

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

    move-object v11, v6

    move-object/from16 v17, v3

    .line 38
    invoke-direct/range {v11 .. v17}, Lcom/google/android/gms/internal/ads/b2;-><init>(Landroid/content/Context;Lz5/h60;IZLcom/google/android/gms/internal/ads/l0;Lz5/g60;)V

    iput-object v6, v5, Lz5/y50;->d:Lcom/google/android/gms/internal/ads/b2;

    iget-object v3, v5, Lz5/y50;->c:Landroid/view/ViewGroup;

    new-instance v7, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v7, v10, v10}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    const/4 v10, 0x0

    invoke-virtual {v3, v6, v10, v7}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, v5, Lz5/y50;->d:Lcom/google/android/gms/internal/ads/b2;

    invoke-virtual {v3, v4, v8, v9, v2}, Lcom/google/android/gms/internal/ads/b2;->k(IIII)V

    iget-object v2, v5, Lz5/y50;->b:Lz5/h60;

    invoke-interface {v2, v10}, Lz5/h60;->zzg(Z)V

    .line 39
    :goto_507
    invoke-virtual {v5}, Lz5/y50;->a()Lcom/google/android/gms/internal/ads/b2;

    move-result-object v2

    if-eqz v2, :cond_510

    invoke-static {v2, v0}, Lz5/z60;->c(Lcom/google/android/gms/internal/ads/b2;Ljava/util/Map;)V

    :cond_510
    return-void

    :cond_511
    const-string v0, "The underlay may only be modified from the UI thread."

    .line 40
    invoke-static {v0}, Lcom/google/android/gms/common/internal/d;->d(Ljava/lang/String;)V

    iget-object v0, v5, Lz5/y50;->d:Lcom/google/android/gms/internal/ads/b2;

    if-eqz v0, :cond_51d

    invoke-virtual {v0, v4, v8, v9, v2}, Lcom/google/android/gms/internal/ads/b2;->k(IIII)V

    :cond_51d
    return-void
.end method
