.class public abstract Lz5/yv;
.super Lz5/n1;
.source ""

# interfaces
.implements Lz5/zv;


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

    const-string v0, "com.google.android.gms.ads.internal.instream.client.IInstreamAd"

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

    return-void
.end method


# virtual methods
.method public final zzbz(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
    .registers 8

    const/4 p4, 0x3

    const-string v0, "getVideoController: Instream ad should not be used after destroyed"

    const/4 v1, 0x0

    const-string v2, "#008 Must be called on the main UI thread."

    if-eq p1, p4, :cond_7b

    const/4 p4, 0x4

    if-eq p1, p4, :cond_71

    const/4 p4, 0x5

    if-eq p1, p4, :cond_48

    const/4 p4, 0x6

    if-eq p1, p4, :cond_31

    const/4 p2, 0x7

    if-eq p1, p2, :cond_16

    const/4 p1, 0x0

    return p1

    :cond_16
    move-object p1, p0

    check-cast p1, Lz5/io0;

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

    iget-boolean p2, p1, Lz5/io0;->u:Z

    if-eqz p2, :cond_24

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

    goto :goto_8b

    :cond_24
    iget-object p1, p1, Lz5/io0;->t:Lz5/em0;

    if-eqz p1, :cond_8b

    .line 2
    iget-object p1, p1, Lz5/em0;->B:Lz5/gm0;

    if-eqz p1, :cond_8b

    .line 3
    invoke-virtual {p1}, Lz5/gm0;->a()Lz5/zq;

    move-result-object v1

    goto :goto_8b

    .line 4
    :cond_31
    invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;

    move-result-object p1

    invoke-static {p1}, Lx5/a$a;->p(Landroid/os/IBinder;)Lx5/a;

    move-result-object p1

    move-object p2, p0

    check-cast p2, Lz5/io0;

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

    new-instance p4, Lz5/ho0;

    invoke-direct {p4}, Lz5/ho0;-><init>()V

    invoke-virtual {p2, p1, p4}, Lz5/io0;->G2(Lx5/a;Lz5/bw;)V

    goto :goto_77

    .line 6
    :cond_48
    invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;

    move-result-object p1

    invoke-static {p1}, Lx5/a$a;->p(Landroid/os/IBinder;)Lx5/a;

    move-result-object p1

    invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;

    move-result-object p2

    if-nez p2, :cond_57

    goto :goto_6a

    :cond_57
    const-string p4, "com.google.android.gms.ads.internal.instream.client.IInstreamAdCallback"

    invoke-interface {p2, p4}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object p4

    instance-of v0, p4, Lz5/bw;

    if-eqz v0, :cond_65

    move-object v1, p4

    check-cast v1, Lz5/bw;

    goto :goto_6a

    :cond_65
    new-instance v1, Lz5/aw;

    invoke-direct {v1, p2}, Lz5/aw;-><init>(Landroid/os/IBinder;)V

    :goto_6a
    move-object p2, p0

    check-cast p2, Lz5/io0;

    invoke-virtual {p2, p1, v1}, Lz5/io0;->G2(Lx5/a;Lz5/bw;)V

    goto :goto_77

    :cond_71
    move-object p1, p0

    check-cast p1, Lz5/io0;

    invoke-virtual {p1}, Lz5/io0;->zzc()V

    :goto_77
    invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V

    goto :goto_91

    :cond_7b
    move-object p1, p0

    check-cast p1, Lz5/io0;

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

    iget-boolean p2, p1, Lz5/io0;->u:Z

    if-eqz p2, :cond_89

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

    goto :goto_8b

    :cond_89
    iget-object v1, p1, Lz5/io0;->s:Lz5/an;

    .line 8
    :cond_8b
    :goto_8b
    invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V

    invoke-static {p3, v1}, Lz5/o1;->e(Landroid/os/Parcel;Landroid/os/IInterface;)V

    :goto_91
    const/4 p1, 0x1

    return p1
.end method
