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

# interfaces
.implements Lz5/fj0;
.implements Lz5/v61;
.implements Lz5/wi1;
.implements Lz5/sc1;


# instance fields
.field public final r:Ljava/lang/Object;


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

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

    new-instance v0, Ljava/util/ArrayDeque;

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

    iput-object v0, p0, Lz5/i51;->r:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(I)V
    .registers 2

    .line 2
    sget-object p1, Lcom/google/android/gms/internal/ads/q6;->s:Lz5/v91;

    .line 3
    sget-object p1, Lcom/google/android/gms/internal/ads/b7;->v:Lcom/google/android/gms/internal/ads/q6;

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

    iput-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/c51;)V
    .registers 2

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

    iput-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/du1;)V
    .registers 2

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

    iput-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/g90;)V
    .registers 2

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

    iput-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/v61;)V
    .registers 2

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

    iput-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(Lz5/x2;)V
    .registers 2

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

    iput-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public a(Landroid/view/View;Lorg/json/JSONObject;Lz5/t61;Z)V
    .registers 11

    new-instance p1, Ljava/util/ArrayList;

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

    .line 1
    sget-object p4, Lz5/n61;->c:Lz5/n61;

    if-eqz p4, :cond_83

    .line 2
    invoke-virtual {p4}, Lz5/n61;->b()Ljava/util/Collection;

    move-result-object p4

    invoke-interface {p4}, Ljava/util/Collection;->size()I

    move-result v0

    new-instance v1, Ljava/util/IdentityHashMap;

    add-int/2addr v0, v0

    add-int/lit8 v0, v0, 0x3

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

    invoke-interface {p4}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object p4

    :cond_1d
    :goto_1d
    invoke-interface {p4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_83

    invoke-interface {p4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lz5/k61;

    invoke-virtual {v0}, Lz5/k61;->e()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1d

    invoke-virtual {v0}, Landroid/view/View;->isAttachedToWindow()Z

    move-result v2

    if-eqz v2, :cond_1d

    invoke-virtual {v0}, Landroid/view/View;->isShown()Z

    move-result v2

    if-eqz v2, :cond_1d

    move-object v2, v0

    :goto_3c
    if-eqz v2, :cond_54

    invoke-virtual {v2}, Landroid/view/View;->getAlpha()F

    move-result v3

    const/4 v4, 0x0

    cmpl-float v3, v3, v4

    if-eqz v3, :cond_1d

    invoke-virtual {v2}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v2

    instance-of v3, v2, Landroid/view/View;

    if-eqz v3, :cond_52

    check-cast v2, Landroid/view/View;

    goto :goto_3c

    :cond_52
    const/4 v2, 0x0

    goto :goto_3c

    :cond_54
    invoke-virtual {v0}, Landroid/view/View;->getRootView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1d

    invoke-virtual {v1, v0}, Ljava/util/IdentityHashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1d

    invoke-virtual {v1, v0, v0}, Ljava/util/IdentityHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 3
    invoke-virtual {v0}, Landroid/view/View;->getZ()F

    move-result v2

    .line 4
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v3

    :goto_6b
    if-lez v3, :cond_7f

    add-int/lit8 v4, v3, -0x1

    invoke-virtual {p1, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/view/View;

    .line 5
    invoke-virtual {v5}, Landroid/view/View;->getZ()F

    move-result v5

    cmpl-float v5, v5, v2

    if-lez v5, :cond_7f

    move v3, v4

    goto :goto_6b

    .line 6
    :cond_7f
    invoke-virtual {p1, v3, v0}, Ljava/util/ArrayList;->add(ILjava/lang/Object;)V

    goto :goto_1d

    :cond_83
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p4

    const/4 v0, 0x0

    :goto_88
    if-ge v0, p4, :cond_9d

    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/View;

    iget-object v2, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v2, Lz5/v61;

    move-object v3, p3

    check-cast v3, Lz5/g71;

    invoke-virtual {v3, v1, v2, p2}, Lz5/g71;->a(Landroid/view/View;Lz5/v61;Lorg/json/JSONObject;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_88

    :cond_9d
    return-void
.end method

.method public b(Lz5/zj1;)V
    .registers 6

    invoke-virtual {p1}, Lz5/zj1;->L()Z

    move-result v0

    if-eqz v0, :cond_c7

    invoke-virtual {p1}, Lz5/zj1;->o()I

    move-result v0

    .line 1
    sget-object v1, Lz5/nm1;->y:[I

    invoke-static {v1, v0}, Ljava/util/Arrays;->binarySearch([II)I

    move-result v0

    if-gez v0, :cond_17

    add-int/lit8 v0, v0, 0x1

    neg-int v0, v0

    add-int/lit8 v0, v0, -0x1

    :cond_17
    add-int/lit8 v1, v0, 0x1

    .line 2
    invoke-static {v1}, Lz5/nm1;->q0(I)I

    move-result v1

    iget-object v2, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v2, Ljava/util/ArrayDeque;

    invoke-virtual {v2}, Ljava/util/ArrayDeque;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_bf

    iget-object v2, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v2, Ljava/util/ArrayDeque;

    invoke-virtual {v2}, Ljava/util/ArrayDeque;->peek()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lz5/zj1;

    invoke-virtual {v2}, Lz5/zj1;->o()I

    move-result v2

    if-lt v2, v1, :cond_39

    goto/16 :goto_bf

    :cond_39
    invoke-static {v0}, Lz5/nm1;->q0(I)I

    move-result v0

    iget-object v1, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v1, Ljava/util/ArrayDeque;

    invoke-virtual {v1}, Ljava/util/ArrayDeque;->pop()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/zj1;

    :goto_47
    iget-object v2, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v2, Ljava/util/ArrayDeque;

    invoke-virtual {v2}, Ljava/util/ArrayDeque;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_72

    iget-object v2, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v2, Ljava/util/ArrayDeque;

    invoke-virtual {v2}, Ljava/util/ArrayDeque;->peek()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lz5/zj1;

    invoke-virtual {v2}, Lz5/zj1;->o()I

    move-result v2

    if-ge v2, v0, :cond_72

    iget-object v2, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v2, Ljava/util/ArrayDeque;

    invoke-virtual {v2}, Ljava/util/ArrayDeque;->pop()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lz5/zj1;

    new-instance v3, Lz5/nm1;

    .line 3
    invoke-direct {v3, v2, v1}, Lz5/nm1;-><init>(Lz5/zj1;Lz5/zj1;)V

    move-object v1, v3

    goto :goto_47

    .line 4
    :cond_72
    new-instance v0, Lz5/nm1;

    .line 5
    invoke-direct {v0, v1, p1}, Lz5/nm1;-><init>(Lz5/zj1;Lz5/zj1;)V

    .line 6
    :goto_77
    iget-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast p1, Ljava/util/ArrayDeque;

    invoke-virtual {p1}, Ljava/util/ArrayDeque;->isEmpty()Z

    move-result p1

    if-nez p1, :cond_b7

    .line 7
    iget p1, v0, Lz5/nm1;->t:I

    .line 8
    sget-object v1, Lz5/nm1;->y:[I

    invoke-static {v1, p1}, Ljava/util/Arrays;->binarySearch([II)I

    move-result p1

    if-gez p1, :cond_90

    add-int/lit8 p1, p1, 0x1

    neg-int p1, p1

    add-int/lit8 p1, p1, -0x1

    :cond_90
    add-int/lit8 p1, p1, 0x1

    .line 9
    invoke-static {p1}, Lz5/nm1;->q0(I)I

    move-result p1

    iget-object v1, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v1, Ljava/util/ArrayDeque;

    invoke-virtual {v1}, Ljava/util/ArrayDeque;->peek()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lz5/zj1;

    invoke-virtual {v1}, Lz5/zj1;->o()I

    move-result v1

    if-ge v1, p1, :cond_b7

    iget-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast p1, Ljava/util/ArrayDeque;

    invoke-virtual {p1}, Ljava/util/ArrayDeque;->pop()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lz5/zj1;

    new-instance v1, Lz5/nm1;

    .line 10
    invoke-direct {v1, p1, v0}, Lz5/nm1;-><init>(Lz5/zj1;Lz5/zj1;)V

    move-object v0, v1

    goto :goto_77

    .line 11
    :cond_b7
    iget-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast p1, Ljava/util/ArrayDeque;

    invoke-virtual {p1, v0}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V

    return-void

    :cond_bf
    :goto_bf
    iget-object v0, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v0, Ljava/util/ArrayDeque;

    invoke-virtual {v0, p1}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V

    return-void

    :cond_c7
    instance-of v0, p1, Lz5/nm1;

    if-eqz v0, :cond_d8

    check-cast p1, Lz5/nm1;

    .line 12
    iget-object v0, p1, Lz5/nm1;->u:Lz5/zj1;

    .line 13
    invoke-virtual {p0, v0}, Lz5/i51;->b(Lz5/zj1;)V

    .line 14
    iget-object p1, p1, Lz5/nm1;->v:Lz5/zj1;

    .line 15
    invoke-virtual {p0, p1}, Lz5/i51;->b(Lz5/zj1;)V

    return-void

    :cond_d8
    new-instance v0, Ljava/lang/IllegalArgumentException;

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object p1

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

    move-result-object p1

    const-string v1, "Has a new type of ByteString been created? Found "

    invoke-virtual {v1, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

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

    throw v0
.end method

.method public c(Lcom/google/android/gms/internal/ads/g;)Ljava/util/List;
    .registers 14
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/google/android/gms/internal/ads/g;",
            ")",
            "Ljava/util/List<",
            "Lz5/x2;",
            ">;"
        }
    .end annotation

    new-instance v0, Lz5/j7;

    iget-object p1, p1, Lcom/google/android/gms/internal/ads/g;->t:Ljava/lang/Object;

    check-cast p1, [B

    const/4 v1, 0x0

    const/4 v2, 0x0

    invoke-direct {v0, p1, v1, v2}, Lz5/j7;-><init>([BILp/b;)V

    iget-object p1, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast p1, Ljava/util/List;

    :goto_f
    invoke-virtual {v0}, Lz5/j7;->l()I

    move-result v3

    if-lez v3, :cond_85

    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v3

    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v4

    invoke-virtual {v0}, Lz5/j7;->o()I

    move-result v5

    add-int/2addr v5, v4

    const/16 v4, 0x86

    if-ne v3, v4, :cond_81

    new-instance p1, Ljava/util/ArrayList;

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

    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v3

    and-int/lit8 v3, v3, 0x1f

    move v4, v1

    :goto_32
    if-ge v4, v3, :cond_81

    const/4 v6, 0x3

    sget-object v7, Lz5/m91;->b:Ljava/nio/charset/Charset;

    invoke-virtual {v0, v6, v7}, Lz5/j7;->e(ILjava/nio/charset/Charset;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v7

    and-int/lit16 v8, v7, 0x80

    const/4 v9, 0x1

    if-eqz v8, :cond_49

    and-int/lit8 v7, v7, 0x3f

    const-string v10, "application/cea-708"

    goto :goto_4c

    :cond_49
    const-string v10, "application/cea-608"

    move v7, v9

    :goto_4c
    invoke-virtual {v0}, Lz5/j7;->A()I

    move-result v11

    int-to-byte v11, v11

    invoke-virtual {v0, v9}, Lz5/j7;->u(I)V

    if-eqz v8, :cond_68

    and-int/lit8 v8, v11, 0x40

    if-eqz v8, :cond_5f

    new-array v8, v9, [B

    aput-byte v9, v8, v1

    goto :goto_63

    :cond_5f
    new-array v8, v9, [B

    aput-byte v1, v8, v1

    :goto_63
    invoke-static {v8}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;

    move-result-object v8

    goto :goto_69

    :cond_68
    move-object v8, v2

    :goto_69
    new-instance v9, Lz5/w2;

    invoke-direct {v9}, Lz5/w2;-><init>()V

    .line 1
    iput-object v10, v9, Lz5/w2;->j:Ljava/lang/String;

    .line 2
    iput-object v6, v9, Lz5/w2;->c:Ljava/lang/String;

    .line 3
    iput v7, v9, Lz5/w2;->B:I

    .line 4
    iput-object v8, v9, Lz5/w2;->l:Ljava/util/List;

    .line 5
    new-instance v6, Lz5/x2;

    .line 6
    invoke-direct {v6, v9}, Lz5/x2;-><init>(Lz5/w2;)V

    .line 7
    invoke-virtual {p1, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v4, v4, 0x1

    goto :goto_32

    :cond_81
    invoke-virtual {v0, v5}, Lz5/j7;->q(I)V

    goto :goto_f

    :cond_85
    return-object p1
.end method

.method public zza(Ljava/lang/Object;)I
    .registers 4

    iget-object v0, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v0, Lz5/x2;

    check-cast p1, Lz5/ja1;

    sget-object v1, Lz5/jj1;->a:Ljava/util/regex/Pattern;

    :try_start_8
    invoke-virtual {p1, v0}, Lz5/ja1;->c(Lz5/x2;)Z

    move-result p1
    :try_end_c
    .catch Lz5/uf1; {:try_start_8 .. :try_end_c} :catch_12

    if-nez p1, :cond_10

    const/4 p1, 0x0

    goto :goto_13

    :cond_10
    const/4 p1, 0x1

    return p1

    :catch_12
    const/4 p1, -0x1

    :goto_13
    return p1
.end method

.method public zza(Landroid/view/View;)Lorg/json/JSONObject;
    .registers 2

    const/4 p1, 0x0

    throw p1
.end method

.method public zza(Ljava/lang/Object;)V
    .registers 4

    iget-object v0, p0, Lz5/i51;->r:Ljava/lang/Object;

    check-cast v0, Lz5/c51;

    check-cast p1, Lz5/l51;

    .line 1
    iget-object v1, v0, Lz5/c51;->r:Ljava/lang/Object;

    .line 2
    iget-object v0, v0, Lz5/c51;->s:Ljava/lang/String;

    .line 3
    check-cast v1, Lcom/google/android/gms/internal/ads/g5;

    invoke-interface {p1, v1, v0}, Lz5/l51;->d(Lcom/google/android/gms/internal/ads/g5;Ljava/lang/String;)V

    return-void
.end method
