f.smali

.class public abstract Lf/b/b/b/r1/f;
.super Lf/b/b/b/r1/m;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lf/b/b/b/r1/f$a;
    }
.end annotation


# instance fields
.field private c:Lf/b/b/b/r1/f$a;


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

    invoke-direct {p0}, Lf/b/b/b/r1/m;-><init>()V

    return-void
.end method

.method private static f([Lf/b/b/b/w0;Lf/b/b/b/p1/o0;[IZ)I
    .registers 14

    array-length v0, p0

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x1

    :goto_6
    array-length v6, p0

    if-ge v3, v6, :cond_3b

    aget-object v6, p0, v3

    const/4 v7, 0x0

    const/4 v8, 0x0

    :goto_d
    iget v9, p1, Lf/b/b/b/p1/o0;->e:I

    if-ge v7, v9, :cond_24

    invoke-virtual {p1, v7}, Lf/b/b/b/p1/o0;->a(I)Lf/b/b/b/f0;

    move-result-object v9

    invoke-interface {v6, v9}, Lf/b/b/b/w0;->a(Lf/b/b/b/f0;)I

    move-result v9

    invoke-static {v9}, Lf/b/b/b/v0;->d(I)I

    move-result v9

    invoke-static {v8, v9}, Ljava/lang/Math;->max(II)I

    move-result v8

    add-int/lit8 v7, v7, 0x1

    goto :goto_d

    :cond_24
    aget v6, p2, v3

    if-nez v6, :cond_2a

    const/4 v6, 0x1

    goto :goto_2b

    :cond_2a
    const/4 v6, 0x0

    :goto_2b
    if-gt v8, v4, :cond_35

    if-ne v8, v4, :cond_38

    if-eqz p3, :cond_38

    if-nez v5, :cond_38

    if-eqz v6, :cond_38

    :cond_35
    move v0, v3

    move v5, v6

    move v4, v8

    :cond_38
    add-int/lit8 v3, v3, 0x1

    goto :goto_6

    :cond_3b
    return v0
.end method

.method private static h(Lf/b/b/b/w0;Lf/b/b/b/p1/o0;)[I
    .registers 5

    iget v0, p1, Lf/b/b/b/p1/o0;->e:I

    new-array v0, v0, [I

    const/4 v1, 0x0

    :goto_5
    iget v2, p1, Lf/b/b/b/p1/o0;->e:I

    if-ge v1, v2, :cond_16

    invoke-virtual {p1, v1}, Lf/b/b/b/p1/o0;->a(I)Lf/b/b/b/f0;

    move-result-object v2

    invoke-interface {p0, v2}, Lf/b/b/b/w0;->a(Lf/b/b/b/f0;)I

    move-result v2

    aput v2, v0, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_5

    :cond_16
    return-object v0
.end method

.method private static i([Lf/b/b/b/w0;)[I
    .registers 5

    array-length v0, p0

    new-array v1, v0, [I

    const/4 v2, 0x0

    :goto_4
    if-ge v2, v0, :cond_11

    aget-object v3, p0, v2

    invoke-interface {v3}, Lf/b/b/b/w0;->j()I

    move-result v3

    aput v3, v1, v2

    add-int/lit8 v2, v2, 0x1

    goto :goto_4

    :cond_11
    return-object v1
.end method


# virtual methods
.method public final d(Ljava/lang/Object;)V
    .registers 2

    check-cast p1, Lf/b/b/b/r1/f$a;

    iput-object p1, p0, Lf/b/b/b/r1/f;->c:Lf/b/b/b/r1/f$a;

    return-void
.end method

.method public final e([Lf/b/b/b/w0;Lf/b/b/b/p1/p0;Lf/b/b/b/p1/c0$a;Lf/b/b/b/b1;)Lf/b/b/b/r1/n;
    .registers 15

    array-length p3, p1

    const/4 p4, 0x1

    add-int/2addr p3, p4

    new-array p3, p3, [I

    array-length v0, p1

    add-int/2addr v0, p4

    new-array v1, v0, [[Lf/b/b/b/p1/o0;

    array-length v2, p1

    add-int/2addr v2, p4

    new-array v2, v2, [[[I

    const/4 v3, 0x0

    const/4 v4, 0x0

    :goto_f
    if-ge v4, v0, :cond_1e

    iget v5, p2, Lf/b/b/b/p1/p0;->e:I

    new-array v6, v5, [Lf/b/b/b/p1/o0;

    aput-object v6, v1, v4

    new-array v5, v5, [[I

    aput-object v5, v2, v4

    add-int/lit8 v4, v4, 0x1

    goto :goto_f

    :cond_1e
    invoke-static {p1}, Lf/b/b/b/r1/f;->i([Lf/b/b/b/w0;)[I

    move-result-object v0

    const/4 v4, 0x0

    :goto_23
    iget v5, p2, Lf/b/b/b/p1/p0;->e:I

    if-ge v4, v5, :cond_5f

    invoke-virtual {p2, v4}, Lf/b/b/b/p1/p0;->a(I)Lf/b/b/b/p1/o0;

    move-result-object v5

    invoke-virtual {v5, v3}, Lf/b/b/b/p1/o0;->a(I)Lf/b/b/b/f0;

    move-result-object v6

    iget-object v6, v6, Lf/b/b/b/f0;->m:Ljava/lang/String;

    invoke-static {v6}, Lf/b/b/b/s1/u;->h(Ljava/lang/String;)I

    move-result v6

    const/4 v7, 0x4

    if-ne v6, v7, :cond_3a

    const/4 v6, 0x1

    goto :goto_3b

    :cond_3a
    const/4 v6, 0x0

    :goto_3b
    invoke-static {p1, v5, p3, v6}, Lf/b/b/b/r1/f;->f([Lf/b/b/b/w0;Lf/b/b/b/p1/o0;[IZ)I

    move-result v6

    array-length v7, p1

    if-ne v6, v7, :cond_47

    iget v7, v5, Lf/b/b/b/p1/o0;->e:I

    new-array v7, v7, [I

    goto :goto_4d

    :cond_47
    aget-object v7, p1, v6

    invoke-static {v7, v5}, Lf/b/b/b/r1/f;->h(Lf/b/b/b/w0;Lf/b/b/b/p1/o0;)[I

    move-result-object v7

    :goto_4d
    aget v8, p3, v6

    aget-object v9, v1, v6

    aput-object v5, v9, v8

    aget-object v5, v2, v6

    aput-object v7, v5, v8

    aget v5, p3, v6

    add-int/2addr v5, p4

    aput v5, p3, v6

    add-int/lit8 v4, v4, 0x1

    goto :goto_23

    :cond_5f
    array-length p2, p1

    new-array v5, p2, [Lf/b/b/b/p1/p0;

    array-length p2, p1

    new-array v4, p2, [I

    :goto_65
    array-length p2, p1

    if-ge v3, p2, :cond_8e

    aget p2, p3, v3

    new-instance p4, Lf/b/b/b/p1/p0;

    aget-object v6, v1, v3

    invoke-static {v6, p2}, Lf/b/b/b/s1/m0;->v0([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v6

    check-cast v6, [Lf/b/b/b/p1/o0;

    invoke-direct {p4, v6}, Lf/b/b/b/p1/p0;-><init>([Lf/b/b/b/p1/o0;)V

    aput-object p4, v5, v3

    aget-object p4, v2, v3

    invoke-static {p4, p2}, Lf/b/b/b/s1/m0;->v0([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object p2

    check-cast p2, [[I

    aput-object p2, v2, v3

    aget-object p2, p1, v3

    invoke-interface {p2}, Lf/b/b/b/w0;->getTrackType()I

    move-result p2

    aput p2, v4, v3

    add-int/lit8 v3, v3, 0x1

    goto :goto_65

    :cond_8e
    array-length p2, p1

    aget p2, p3, p2

    new-instance v8, Lf/b/b/b/p1/p0;

    array-length p1, p1

    aget-object p1, v1, p1

    invoke-static {p1, p2}, Lf/b/b/b/s1/m0;->v0([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object p1

    check-cast p1, [Lf/b/b/b/p1/o0;

    invoke-direct {v8, p1}, Lf/b/b/b/p1/p0;-><init>([Lf/b/b/b/p1/o0;)V

    new-instance p1, Lf/b/b/b/r1/f$a;

    move-object v3, p1

    move-object v6, v0

    move-object v7, v2

    invoke-direct/range {v3 .. v8}, Lf/b/b/b/r1/f$a;-><init>([I[Lf/b/b/b/p1/p0;[I[[[ILf/b/b/b/p1/p0;)V

    invoke-virtual {p0, p1, v2, v0}, Lf/b/b/b/r1/f;->j(Lf/b/b/b/r1/f$a;[[[I[I)Landroid/util/Pair;

    move-result-object p2

    new-instance p3, Lf/b/b/b/r1/n;

    iget-object p4, p2, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast p4, [Lf/b/b/b/x0;

    iget-object p2, p2, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast p2, [Lf/b/b/b/r1/i;

    invoke-direct {p3, p4, p2, p1}, Lf/b/b/b/r1/n;-><init>([Lf/b/b/b/x0;[Lf/b/b/b/r1/i;Ljava/lang/Object;)V

    return-object p3
.end method

.method public final g()Lf/b/b/b/r1/f$a;
    .registers 2

    iget-object v0, p0, Lf/b/b/b/r1/f;->c:Lf/b/b/b/r1/f$a;

    return-object v0
.end method

.method protected abstract j(Lf/b/b/b/r1/f$a;[[[I[I)Landroid/util/Pair;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lf/b/b/b/r1/f$a;",
            "[[[I[I)",
            "Landroid/util/Pair<",
            "[",
            "Lf/b/b/b/x0;",
            "[",
            "Lf/b/b/b/r1/i;",
            ">;"
        }
    .end annotation
.end method