.class public final Lz5/zl0;
.super Lz5/yq;
.source ""


# instance fields
.field public final r:Lz5/hm0;

.field public s:Lx5/a;


# direct methods
.method public constructor <init>(Lz5/hm0;)V
    .registers 2

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

    iput-object p1, p0, Lz5/zl0;->r:Lz5/hm0;

    return-void
.end method

.method public static G2(Lx5/a;)F
    .registers 4

    const/4 v0, 0x0

    if-nez p0, :cond_4

    return v0

    :cond_4
    invoke-static {p0}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Landroid/graphics/drawable/Drawable;

    if-eqz p0, :cond_24

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v1

    const/4 v2, -0x1

    if-eq v1, v2, :cond_24

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v1

    if-eq v1, v2, :cond_24

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result p0

    int-to-float p0, p0

    div-float/2addr v0, p0

    :cond_24
    return v0
.end method


# virtual methods
.method public final zze()F
    .registers 5

    sget-object v0, Lz5/so;->X3:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

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

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

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_14

    return v1

    :cond_14
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    .line 3
    monitor-enter v0

    :try_start_17
    iget v2, v0, Lz5/hm0;->v:F
    :try_end_19
    .catchall {:try_start_17 .. :try_end_19} :catchall_7d

    monitor-exit v0

    cmpl-float v0, v2, v1

    if-eqz v0, :cond_28

    .line 4
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    .line 5
    monitor-enter v0

    :try_start_21
    iget v1, v0, Lz5/hm0;->v:F
    :try_end_23
    .catchall {:try_start_21 .. :try_end_23} :catchall_25

    monitor-exit v0

    return v1

    :catchall_25
    move-exception v1

    monitor-exit v0

    throw v1

    .line 6
    :cond_28
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    if-eqz v0, :cond_42

    :try_start_30
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    invoke-interface {v0}, Lz5/an;->zzm()F

    move-result v1
    :try_end_3a
    .catch Landroid/os/RemoteException; {:try_start_30 .. :try_end_3a} :catch_3b

    goto :goto_41

    :catch_3b
    move-exception v0

    const-string v2, "Remote exception getting video controller aspect ratio."

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

    :goto_41
    return v1

    :cond_42
    iget-object v0, p0, Lz5/zl0;->s:Lx5/a;

    if-eqz v0, :cond_4b

    invoke-static {v0}, Lz5/zl0;->G2(Lx5/a;)F

    move-result v1

    goto :goto_7c

    :cond_4b
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->b()Lz5/br;

    move-result-object v0

    if-nez v0, :cond_54

    goto :goto_7c

    :cond_54
    invoke-interface {v0}, Lz5/br;->zze()I

    move-result v2

    const/4 v3, -0x1

    if-eq v2, v3, :cond_6d

    invoke-interface {v0}, Lz5/br;->zzf()I

    move-result v2

    if-eq v2, v3, :cond_6d

    invoke-interface {v0}, Lz5/br;->zze()I

    move-result v2

    int-to-float v2, v2

    invoke-interface {v0}, Lz5/br;->zzf()I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v2, v3

    goto :goto_6e

    :cond_6d
    move v2, v1

    :goto_6e
    cmpl-float v1, v2, v1

    if-nez v1, :cond_7b

    invoke-interface {v0}, Lz5/br;->zzb()Lx5/a;

    move-result-object v0

    invoke-static {v0}, Lz5/zl0;->G2(Lx5/a;)F

    move-result v0

    return v0

    :cond_7b
    move v1, v2

    :goto_7c
    return v1

    :catchall_7d
    move-exception v1

    .line 7
    monitor-exit v0

    throw v1
.end method

.method public final zzf(Lx5/a;)V
    .registers 2

    iput-object p1, p0, Lz5/zl0;->s:Lx5/a;

    return-void
.end method

.method public final zzg()Lx5/a;
    .registers 2

    iget-object v0, p0, Lz5/zl0;->s:Lx5/a;

    if-eqz v0, :cond_5

    return-object v0

    :cond_5
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->b()Lz5/br;

    move-result-object v0

    if-nez v0, :cond_f

    const/4 v0, 0x0

    return-object v0

    :cond_f
    invoke-interface {v0}, Lz5/br;->zzb()Lx5/a;

    move-result-object v0

    return-object v0
.end method

.method public final zzh()F
    .registers 3

    sget-object v0, Lz5/so;->Y3:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

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

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

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_14

    return v1

    :cond_14
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    if-eqz v0, :cond_27

    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    invoke-interface {v0}, Lz5/an;->zzj()F

    move-result v0

    return v0

    :cond_27
    return v1
.end method

.method public final zzi()F
    .registers 3

    sget-object v0, Lz5/so;->Y3:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

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

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

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_14

    return v1

    :cond_14
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    if-eqz v0, :cond_27

    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    invoke-interface {v0}, Lz5/an;->zzk()F

    move-result v0

    return v0

    :cond_27
    return v1
.end method

.method public final zzj()Lz5/an;
    .registers 3

    sget-object v0, Lz5/so;->Y3:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

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

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

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    if-nez v0, :cond_14

    const/4 v0, 0x0

    return-object v0

    :cond_14
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    return-object v0
.end method

.method public final zzk()Z
    .registers 3

    sget-object v0, Lz5/so;->Y3:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

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

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

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    const/4 v1, 0x0

    if-nez v0, :cond_14

    return v1

    :cond_14
    iget-object v0, p0, Lz5/zl0;->r:Lz5/hm0;

    invoke-virtual {v0}, Lz5/hm0;->u()Lz5/an;

    move-result-object v0

    if-eqz v0, :cond_1e

    const/4 v0, 0x1

    return v0

    :cond_1e
    return v1
.end method
