.class public final Lcom/google/android/gms/internal/ads/k2;
.super Lz5/zm;
.source ""


# instance fields
.field public A:F
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public B:F
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public C:Z
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public D:Z
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public E:Lz5/hs;
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public final r:Lz5/h60;

.field public final s:Ljava/lang/Object;

.field public final t:Z

.field public final u:Z

.field public v:I
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public w:Lz5/dn;
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public x:Z
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public y:Z
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field

.field public z:F
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "lock"
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lz5/h60;FZZ)V
    .registers 6

    invoke-direct {p0}, Lz5/zm;-><init>()V

    new-instance v0, Ljava/lang/Object;

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

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/google/android/gms/internal/ads/k2;->y:Z

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k2;->r:Lz5/h60;

    iput p2, p0, Lcom/google/android/gms/internal/ads/k2;->z:F

    iput-boolean p3, p0, Lcom/google/android/gms/internal/ads/k2;->t:Z

    iput-boolean p4, p0, Lcom/google/android/gms/internal/ads/k2;->u:Z

    return-void
.end method


# virtual methods
.method public final H2(Lz5/eo;)V
    .registers 10

    iget-boolean v0, p1, Lz5/eo;->r:Z

    iget-boolean v1, p1, Lz5/eo;->s:Z

    iget-boolean p1, p1, Lz5/eo;->t:Z

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v2

    :try_start_9
    iput-boolean v1, p0, Lcom/google/android/gms/internal/ads/k2;->C:Z

    iput-boolean p1, p0, Lcom/google/android/gms/internal/ads/k2;->D:Z

    monitor-exit v2
    :try_end_e
    .catchall {:try_start_9 .. :try_end_e} :catchall_43

    const/4 v2, 0x1

    if-eq v2, v0, :cond_14

    const-string v0, "0"

    goto :goto_16

    :cond_14
    const-string v0, "1"

    :goto_16
    if-eq v2, v1, :cond_1b

    const-string v1, "0"

    goto :goto_1d

    :cond_1b
    const-string v1, "1"

    :goto_1d
    if-eq v2, p1, :cond_22

    const-string p1, "0"

    goto :goto_24

    :cond_22
    const-string p1, "1"

    :goto_24
    const-string v2, "initialState"

    const-string v3, "muteStart"

    const-string v4, "customControlsRequested"

    const-string v5, "clickToExpandRequested"

    .line 1
    new-instance v6, Lr/a;

    const/4 v7, 0x3

    invoke-direct {v6, v7}, Lr/a;-><init>(I)V

    .line 2
    invoke-virtual {v6, v3, v0}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v6, v4, v1}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v6, v5, p1}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {v6}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;

    move-result-object p1

    .line 3
    invoke-virtual {p0, v2, p1}, Lcom/google/android/gms/internal/ads/k2;->J2(Ljava/lang/String;Ljava/util/Map;)V

    return-void

    :catchall_43
    move-exception p1

    :try_start_44
    monitor-exit v2
    :try_end_45
    .catchall {:try_start_44 .. :try_end_45} :catchall_43

    throw p1
.end method

.method public final I2(FFIZF)V
    .registers 9

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget v1, p0, Lcom/google/android/gms/internal/ads/k2;->z:F

    cmpl-float v1, p2, v1

    const/4 v2, 0x1

    if-nez v1, :cond_12

    iget v1, p0, Lcom/google/android/gms/internal/ads/k2;->B:F

    cmpl-float v1, p5, v1

    if-eqz v1, :cond_11

    goto :goto_12

    :cond_11
    const/4 v2, 0x0

    :cond_12
    :goto_12
    iput p2, p0, Lcom/google/android/gms/internal/ads/k2;->z:F

    iput p1, p0, Lcom/google/android/gms/internal/ads/k2;->A:F

    iget-boolean p1, p0, Lcom/google/android/gms/internal/ads/k2;->y:Z

    iput-boolean p4, p0, Lcom/google/android/gms/internal/ads/k2;->y:Z

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

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

    iget v1, p0, Lcom/google/android/gms/internal/ads/k2;->B:F

    iput p5, p0, Lcom/google/android/gms/internal/ads/k2;->B:F

    sub-float/2addr p5, v1

    invoke-static {p5}, Ljava/lang/Math;->abs(F)F

    move-result p5

    const v1, 0x38d1b717    # 1.0E-4f

    cmpl-float p5, p5, v1

    if-lez p5, :cond_37

    iget-object p5, p0, Lcom/google/android/gms/internal/ads/k2;->r:Lz5/h60;

    invoke-interface {p5}, Lz5/w80;->zzH()Landroid/view/View;

    move-result-object p5

    invoke-virtual {p5}, Landroid/view/View;->invalidate()V

    :cond_37
    monitor-exit v0
    :try_end_38
    .catchall {:try_start_3 .. :try_end_38} :catchall_51

    if-eqz v2, :cond_4d

    :try_start_3a
    iget-object p5, p0, Lcom/google/android/gms/internal/ads/k2;->E:Lz5/hs;

    if-eqz p5, :cond_4d

    .line 1
    invoke-virtual {p5}, Lz5/m1;->zza()Landroid/os/Parcel;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {p5, v1, v0}, Lz5/m1;->zzbj(ILandroid/os/Parcel;)V
    :try_end_46
    .catch Landroid/os/RemoteException; {:try_start_3a .. :try_end_46} :catch_47

    goto :goto_4d

    :catch_47
    move-exception p5

    const-string v0, "#007 Could not call remote method."

    .line 2
    invoke-static {v0, p5}, Lz5/d50;->zzl(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_4d
    :goto_4d
    invoke-virtual {p0, p2, p3, p1, p4}, Lcom/google/android/gms/internal/ads/k2;->K2(IIZZ)V

    return-void

    :catchall_51
    move-exception p1

    :try_start_52
    monitor-exit v0
    :try_end_53
    .catchall {:try_start_52 .. :try_end_53} :catchall_51

    throw p1
.end method

.method public final J2(Ljava/lang/String;Ljava/util/Map;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-nez p2, :cond_8

    new-instance p2, Ljava/util/HashMap;

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

    goto :goto_e

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

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

    move-object p2, v0

    :goto_e
    const-string v0, "action"

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

    sget-object p1, Lz5/k50;->e:Lz5/gc1;

    new-instance v0, Lz5/w8;

    invoke-direct {v0, p0, p2}, Lz5/w8;-><init>(Lcom/google/android/gms/internal/ads/k2;Ljava/util/Map;)V

    check-cast p1, Lz5/j50;

    invoke-virtual {p1, v0}, Lz5/j50;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final K2(IIZZ)V
    .registers 13

    sget-object v0, Lz5/k50;->e:Lz5/gc1;

    new-instance v7, Lz5/l80;

    move-object v1, v7

    move-object v2, p0

    move v3, p1

    move v4, p2

    move v5, p3

    move v6, p4

    invoke-direct/range {v1 .. v6}, Lz5/l80;-><init>(Lcom/google/android/gms/internal/ads/k2;IIZZ)V

    check-cast v0, Lz5/j50;

    invoke-virtual {v0, v7}, Lz5/j50;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method public final x1(Lz5/dn;)V
    .registers 3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iput-object p1, p0, Lcom/google/android/gms/internal/ads/k2;->w:Lz5/dn;

    monitor-exit v0

    return-void

    :catchall_7
    move-exception p1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw p1
.end method

.method public final zze()V
    .registers 3

    const-string v0, "play"

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/android/gms/internal/ads/k2;->J2(Ljava/lang/String;Ljava/util/Map;)V

    return-void
.end method

.method public final zzf()V
    .registers 3

    const-string v0, "pause"

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/android/gms/internal/ads/k2;->J2(Ljava/lang/String;Ljava/util/Map;)V

    return-void
.end method

.method public final zzg(Z)V
    .registers 3

    const/4 v0, 0x1

    if-eq v0, p1, :cond_6

    const-string p1, "unmute"

    goto :goto_8

    :cond_6
    const-string p1, "mute"

    :goto_8
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/ads/k2;->J2(Ljava/lang/String;Ljava/util/Map;)V

    return-void
.end method

.method public final zzh()Z
    .registers 3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-boolean v1, p0, Lcom/google/android/gms/internal/ads/k2;->y:Z

    monitor-exit v0

    return v1

    :catchall_7
    move-exception v1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw v1
.end method

.method public final zzi()I
    .registers 3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget v1, p0, Lcom/google/android/gms/internal/ads/k2;->v:I

    monitor-exit v0

    return v1

    :catchall_7
    move-exception v1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw v1
.end method

.method public final zzj()F
    .registers 3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget v1, p0, Lcom/google/android/gms/internal/ads/k2;->z:F

    monitor-exit v0

    return v1

    :catchall_7
    move-exception v1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw v1
.end method

.method public final zzk()F
    .registers 3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget v1, p0, Lcom/google/android/gms/internal/ads/k2;->A:F

    monitor-exit v0

    return v1

    :catchall_7
    move-exception v1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw v1
.end method

.method public final zzm()F
    .registers 3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget v1, p0, Lcom/google/android/gms/internal/ads/k2;->B:F

    monitor-exit v0

    return v1

    :catchall_7
    move-exception v1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw v1
.end method

.method public final zzn()Z
    .registers 4

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-boolean v1, p0, Lcom/google/android/gms/internal/ads/k2;->t:Z

    const/4 v2, 0x0

    if-eqz v1, :cond_d

    iget-boolean v1, p0, Lcom/google/android/gms/internal/ads/k2;->C:Z

    if-eqz v1, :cond_d

    const/4 v2, 0x1

    :cond_d
    monitor-exit v0

    return v2

    :catchall_f
    move-exception v1

    monitor-exit v0
    :try_end_11
    .catchall {:try_start_3 .. :try_end_11} :catchall_f

    throw v1
.end method

.method public final zzo()Lz5/dn;
    .registers 3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k2;->w:Lz5/dn;

    monitor-exit v0

    return-object v1

    :catchall_7
    move-exception v1

    monitor-exit v0
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_7

    throw v1
.end method

.method public final zzp()Z
    .registers 4

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/k2;->zzn()Z

    move-result v0

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/k2;->s:Ljava/lang/Object;

    monitor-enter v1

    const/4 v2, 0x0

    if-nez v0, :cond_16

    :try_start_a
    iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/k2;->D:Z

    if-eqz v0, :cond_16

    iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/k2;->u:Z

    if-eqz v0, :cond_16

    const/4 v2, 0x1

    goto :goto_16

    :catchall_14
    move-exception v0

    goto :goto_18

    :cond_16
    :goto_16
    monitor-exit v1

    return v2

    :goto_18
    monitor-exit v1
    :try_end_19
    .catchall {:try_start_a .. :try_end_19} :catchall_14

    throw v0
.end method

.method public final zzq()V
    .registers 3

    const-string v0, "stop"

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/google/android/gms/internal/ads/k2;->J2(Ljava/lang/String;Ljava/util/Map;)V

    return-void
.end method
