package m1;

import C3.G;
import C3.W;
import T0.AbstractC0302b;
import T0.F;
import T0.j;
import T0.l;
import T0.m;
import T0.n;
import T0.t;
import T0.v;
import T0.x;
import com.google.android.gms.internal.measurement.C1;
import java.io.EOFException;
import java.io.InterruptedIOException;
import java.math.RoundingMode;
import java.util.List;
import u0.C;
import u0.C1578n;
import u0.D;
import u0.E;
import x0.AbstractC1709a;
import x0.o;

/* JADX INFO: loaded from: classes.dex */
public final class d implements m {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final long f14560a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final o f14561b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final x f14562c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final t f14563d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final v f14564e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final l f14565f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public T0.o f14566g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public F f14567h;
    public F i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public int f14568j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public D f14569k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public long f14570l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public long f14571m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public long f14572n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public long f14573o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public int f14574p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public f f14575q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public boolean f14576r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public boolean f14577s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public long f14578t;

    public d() {
        this(-9223372036854775807L);
    }

    public final void b() {
        f fVar = this.f14575q;
        if ((fVar instanceof C1160a) && ((C1160a) fVar).b()) {
            long j8 = this.f14573o;
            if (j8 == -1 || j8 == this.f14575q.g()) {
                return;
            }
            C1160a c1160a = (C1160a) this.f14575q;
            long j9 = this.f14573o;
            int i = c1160a.f14554j;
            this.f14575q = new C1160a(j9, c1160a.f14553h, c1160a.i, i, c1160a.f14555k);
            T0.o oVar = this.f14566g;
            oVar.getClass();
            oVar.v(this.f14575q);
            this.f14567h.getClass();
            this.f14575q.k();
        }
    }

    @Override // T0.m
    public final m c() {
        return this;
    }

    /* JADX WARN: Removed duplicated region for block: B:14:0x001b A[EXC_TOP_SPLITTER, SYNTHETIC] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final boolean d(j jVar) {
        f fVar = this.f14575q;
        if (fVar != null) {
            long jG = fVar.g();
            if (jG == -1 || jVar.i() <= jG - 4) {
                try {
                    return !jVar.f(this.f14561b.f18539a, 0, 4, true);
                } catch (EOFException unused) {
                }
            }
        }
        return true;
    }

    /* JADX WARN: Removed duplicated region for block: B:118:0x027f  */
    /* JADX WARN: Removed duplicated region for block: B:145:0x0308  */
    /* JADX WARN: Removed duplicated region for block: B:14:0x0051  */
    /* JADX WARN: Removed duplicated region for block: B:162:0x0361 A[LOOP:2: B:161:0x035f->B:162:0x0361, LOOP_END] */
    /* JADX WARN: Removed duplicated region for block: B:165:0x0396  */
    /* JADX WARN: Removed duplicated region for block: B:168:0x039c  */
    /* JADX WARN: Removed duplicated region for block: B:169:0x03a4  */
    /* JADX WARN: Removed duplicated region for block: B:180:0x0421  */
    /* JADX WARN: Removed duplicated region for block: B:182:0x0433  */
    /* JADX WARN: Removed duplicated region for block: B:189:0x0454  */
    /* JADX WARN: Removed duplicated region for block: B:204:0x04c1  */
    /* JADX WARN: Removed duplicated region for block: B:213:0x04eb  */
    /* JADX WARN: Removed duplicated region for block: B:21:0x006f  */
    /* JADX WARN: Removed duplicated region for block: B:25:0x007b  */
    /* JADX WARN: Removed duplicated region for block: B:30:0x008c  */
    /* JADX WARN: Removed duplicated region for block: B:36:0x00a4  */
    /* JADX WARN: Removed duplicated region for block: B:9:0x002d  */
    @Override // T0.m
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final int e(n nVar, L4.h hVar) throws Throwable {
        Throwable th;
        int i;
        int i5;
        long j8;
        f fVar;
        long j9;
        int iF;
        int i8;
        long[] jArr;
        int i9;
        int i10;
        int i11;
        t tVar;
        long j10;
        f c1160a;
        D d8;
        c cVar;
        f c1160a2;
        int i12;
        long jL;
        int length;
        int i13;
        j jVar;
        int iT;
        AbstractC1709a.k(this.f14567h);
        int i14 = x0.v.f18553a;
        int i15 = this.f14568j;
        x xVar = this.f14562c;
        if (i15 == 0) {
            try {
                g((j) nVar, false);
                fVar = this.f14575q;
                o oVar = this.f14561b;
                if (fVar != null) {
                    th = null;
                    o oVar2 = new o(xVar.f6476b);
                    j8 = 1000000;
                    j9 = 0;
                    ((j) nVar).f(oVar2.f18539a, 0, xVar.f6476b, false);
                    if ((xVar.f6475a & 1) != 0) {
                        i8 = xVar.f6478d != 1 ? 36 : 21;
                        if (oVar2.f18541c < i8 + 4) {
                            oVar2.F(i8);
                            int iG = oVar2.g();
                            if (iG != 1483304551 && iG != 1231971951) {
                                if (oVar2.f18541c >= 40) {
                                    oVar2.F(36);
                                    iG = oVar2.g() == 1447187017 ? 1447187017 : 0;
                                }
                            }
                            t tVar2 = this.f14563d;
                            if (iG == 1231971951) {
                                int iG2 = oVar2.g();
                                int iX = (iG2 & 1) != 0 ? oVar2.x() : -1;
                                long jV = (iG2 & 2) != 0 ? oVar2.v() : -1L;
                                if ((iG2 & 4) == 4) {
                                    long[] jArr2 = new long[100];
                                    for (int i16 = 0; i16 < 100; i16++) {
                                        jArr2[i16] = oVar2.t();
                                    }
                                    jArr = jArr2;
                                } else {
                                    jArr = null;
                                }
                                if ((iG2 & 8) != 0) {
                                    oVar2.G(4);
                                }
                                if (oVar2.a() >= 24) {
                                    oVar2.G(21);
                                    int iW = oVar2.w();
                                    i10 = (16773120 & iW) >> 12;
                                    i9 = iW & 4095;
                                } else {
                                    i9 = -1;
                                    i10 = -1;
                                }
                                long j11 = iX;
                                int i17 = xVar.f6476b;
                                int i18 = xVar.f6477c;
                                int i19 = xVar.f6479e;
                                int i20 = xVar.f6480f;
                                if ((tVar2.f6457a == -1 || tVar2.f6458b == -1) && i10 != -1 && i9 != -1) {
                                    tVar2.f6457a = i10;
                                    tVar2.f6458b = i9;
                                }
                                j jVar2 = (j) nVar;
                                long j12 = jVar2.f6428t;
                                long j13 = jVar2.f6427s;
                                if (j13 == -1 || jV == -1) {
                                    i11 = i19;
                                    tVar = tVar2;
                                } else {
                                    tVar = tVar2;
                                    long j14 = j12 + jV;
                                    if (j13 != j14) {
                                        i11 = i19;
                                        AbstractC1709a.t("Mp3Extractor", "Data size mismatch between stream (" + j13 + ") and Xing frame (" + j14 + "), using Xing value.");
                                    } else {
                                        i11 = i19;
                                    }
                                }
                                jVar2.b(xVar.f6476b);
                                if (iG == 1483304551) {
                                    long jQ = (j11 == -1 || j11 == 0) ? -9223372036854775807L : x0.v.Q((j11 * ((long) i20)) - 1, i18);
                                    c1160a = jQ == -9223372036854775807L ? null : (jV == -1 || jArr == null) ? new h(j12, i17, jQ, i11, -1L, null) : new h(j12, i17, jQ, i11, jV, jArr);
                                    d8 = this.f14569k;
                                    j jVar3 = (j) nVar;
                                    long j15 = jVar3.f6428t;
                                    if (d8 == null) {
                                        for (C c3 : d8.f17150a) {
                                            if (c3 instanceof h1.l) {
                                                h1.l lVar = (h1.l) c3;
                                                if (d8 != null) {
                                                    for (C c8 : d8.f17150a) {
                                                        if (c8 instanceof h1.n) {
                                                            h1.n nVar2 = (h1.n) c8;
                                                            if (nVar2.f13338a.equals("TLEN")) {
                                                                jL = x0.v.L(Long.parseLong((String) nVar2.f13351c.get(0)));
                                                                i12 = 1;
                                                                break;
                                                            }
                                                        }
                                                    }
                                                    i12 = 1;
                                                    jL = -9223372036854775807L;
                                                    length = lVar.f13346e.length;
                                                    int i21 = length + 1;
                                                    long[] jArr3 = new long[i21];
                                                    long[] jArr4 = new long[i21];
                                                    jArr3[0] = j15;
                                                    jArr4[0] = 0;
                                                    long j16 = 0;
                                                    i13 = i12;
                                                    while (i13 <= length) {
                                                        int i22 = i13 - 1;
                                                        long j17 = j15 + ((long) (lVar.f13344c + lVar.f13346e[i22]));
                                                        j16 += (long) (lVar.f13345d + lVar.f13347f[i22]);
                                                        jArr3[i13] = j17;
                                                        jArr4[i13] = j16;
                                                        i13++;
                                                        length = length;
                                                        j15 = j17;
                                                    }
                                                    cVar = new c(jL, jArr3, jArr4);
                                                    if (this.f14576r) {
                                                        if (cVar != null) {
                                                            c1160a = cVar;
                                                        } else if (c1160a == null) {
                                                            c1160a = null;
                                                        }
                                                        if (c1160a != null) {
                                                            c1160a.b();
                                                            c1160a2 = c1160a;
                                                        } else {
                                                            jVar3.f(oVar.f18539a, 0, 4, false);
                                                            oVar.F(0);
                                                            xVar.b(oVar.g());
                                                            c1160a2 = new C1160a(jVar3.f6427s, jVar3.f6428t, xVar.f6479e, xVar.f6476b, false);
                                                        }
                                                        F f3 = this.f14567h;
                                                        c1160a2.k();
                                                        f3.getClass();
                                                    } else {
                                                        c1160a2 = new e(-9223372036854775807L);
                                                    }
                                                    this.f14575q = c1160a2;
                                                    this.f14566g.v(c1160a2);
                                                    C1578n c1578n = new C1578n();
                                                    c1578n.f17319l = E.m("audio/mpeg");
                                                    c1578n.f17320m = E.m((String) xVar.f6481g);
                                                    c1578n.f17321n = 4096;
                                                    c1578n.f17301C = xVar.f6478d;
                                                    c1578n.D = xVar.f6477c;
                                                    t tVar3 = tVar;
                                                    c1578n.f17303F = tVar3.f6457a;
                                                    c1578n.f17304G = tVar3.f6458b;
                                                    c1578n.f17318k = this.f14569k;
                                                    if (this.f14575q.j() != -2147483647) {
                                                        c1578n.f17316h = this.f14575q.j();
                                                    }
                                                    I1.a.w(c1578n, this.i);
                                                    this.f14572n = jVar3.f6428t;
                                                } else {
                                                    i12 = 1;
                                                    jL = -9223372036854775807L;
                                                    length = lVar.f13346e.length;
                                                    int i212 = length + 1;
                                                    long[] jArr32 = new long[i212];
                                                    long[] jArr42 = new long[i212];
                                                    jArr32[0] = j15;
                                                    jArr42[0] = 0;
                                                    long j162 = 0;
                                                    i13 = i12;
                                                    while (i13 <= length) {
                                                    }
                                                    cVar = new c(jL, jArr32, jArr42);
                                                    if (this.f14576r) {
                                                    }
                                                    this.f14575q = c1160a2;
                                                    this.f14566g.v(c1160a2);
                                                    C1578n c1578n2 = new C1578n();
                                                    c1578n2.f17319l = E.m("audio/mpeg");
                                                    c1578n2.f17320m = E.m((String) xVar.f6481g);
                                                    c1578n2.f17321n = 4096;
                                                    c1578n2.f17301C = xVar.f6478d;
                                                    c1578n2.D = xVar.f6477c;
                                                    t tVar32 = tVar;
                                                    c1578n2.f17303F = tVar32.f6457a;
                                                    c1578n2.f17304G = tVar32.f6458b;
                                                    c1578n2.f17318k = this.f14569k;
                                                    if (this.f14575q.j() != -2147483647) {
                                                    }
                                                    I1.a.w(c1578n2, this.i);
                                                    this.f14572n = jVar3.f6428t;
                                                }
                                            }
                                        }
                                        cVar = null;
                                        if (this.f14576r) {
                                        }
                                        this.f14575q = c1160a2;
                                        this.f14566g.v(c1160a2);
                                        C1578n c1578n22 = new C1578n();
                                        c1578n22.f17319l = E.m("audio/mpeg");
                                        c1578n22.f17320m = E.m((String) xVar.f6481g);
                                        c1578n22.f17321n = 4096;
                                        c1578n22.f17301C = xVar.f6478d;
                                        c1578n22.D = xVar.f6477c;
                                        t tVar322 = tVar;
                                        c1578n22.f17303F = tVar322.f6457a;
                                        c1578n22.f17304G = tVar322.f6458b;
                                        c1578n22.f17318k = this.f14569k;
                                        if (this.f14575q.j() != -2147483647) {
                                        }
                                        I1.a.w(c1578n22, this.i);
                                        this.f14572n = jVar3.f6428t;
                                    } else {
                                        cVar = null;
                                        if (this.f14576r) {
                                        }
                                        this.f14575q = c1160a2;
                                        this.f14566g.v(c1160a2);
                                        C1578n c1578n222 = new C1578n();
                                        c1578n222.f17319l = E.m("audio/mpeg");
                                        c1578n222.f17320m = E.m((String) xVar.f6481g);
                                        c1578n222.f17321n = 4096;
                                        c1578n222.f17301C = xVar.f6478d;
                                        c1578n222.D = xVar.f6477c;
                                        t tVar3222 = tVar;
                                        c1578n222.f17303F = tVar3222.f6457a;
                                        c1578n222.f17304G = tVar3222.f6458b;
                                        c1578n222.f17318k = this.f14569k;
                                        if (this.f14575q.j() != -2147483647) {
                                        }
                                        I1.a.w(c1578n222, this.i);
                                        this.f14572n = jVar3.f6428t;
                                    }
                                } else {
                                    long jQ2 = (j11 == -1 || j11 == 0) ? -9223372036854775807L : x0.v.Q((((long) i20) * j11) - 1, i18);
                                    if (jQ2 != -9223372036854775807L) {
                                        if (jV != -1) {
                                            j13 = j12 + jV;
                                            j10 = jV - ((long) i17);
                                        } else {
                                            if (j13 != -1) {
                                                j10 = (j13 - j12) - ((long) i17);
                                            }
                                            d8 = this.f14569k;
                                            j jVar32 = (j) nVar;
                                            long j152 = jVar32.f6428t;
                                            if (d8 == null) {
                                            }
                                        }
                                        long j18 = j13;
                                        long j19 = j10;
                                        RoundingMode roundingMode = RoundingMode.HALF_UP;
                                        c1160a = new C1160a(j18, j12 + ((long) i17), W3.b.h(x0.v.S(j19, 8000000L, jQ2, roundingMode)), W3.b.h(C1.q(j19, j11, roundingMode)), false);
                                        d8 = this.f14569k;
                                        j jVar322 = (j) nVar;
                                        long j1522 = jVar322.f6428t;
                                        if (d8 == null) {
                                        }
                                    }
                                }
                            } else {
                                if (iG == 1447187017) {
                                    j jVar4 = (j) nVar;
                                    long j20 = jVar4.f6428t;
                                    oVar2.G(6);
                                    tVar = tVar2;
                                    long jG = ((long) xVar.f6476b) + j20 + ((long) oVar2.g());
                                    int iG3 = oVar2.g();
                                    if (iG3 <= 0) {
                                        c1160a = null;
                                        jVar = jVar4;
                                    } else {
                                        jVar = jVar4;
                                        long jQ3 = x0.v.Q((((long) iG3) * ((long) xVar.f6480f)) - 1, xVar.f6477c);
                                        int iZ = oVar2.z();
                                        int iZ2 = oVar2.z();
                                        int iZ3 = oVar2.z();
                                        oVar2.G(2);
                                        long j21 = j20 + ((long) xVar.f6476b);
                                        long[] jArr5 = new long[iZ];
                                        long[] jArr6 = new long[iZ];
                                        int i23 = 0;
                                        while (true) {
                                            if (i23 < iZ) {
                                                long[] jArr7 = jArr6;
                                                long[] jArr8 = jArr5;
                                                jArr8[i23] = (((long) i23) * jQ3) / ((long) iZ);
                                                jArr7[i23] = j21;
                                                if (iZ3 == 1) {
                                                    iT = oVar2.t();
                                                } else if (iZ3 == 2) {
                                                    iT = oVar2.z();
                                                } else if (iZ3 == 3) {
                                                    iT = oVar2.w();
                                                } else {
                                                    if (iZ3 != 4) {
                                                        c1160a = null;
                                                        break;
                                                    }
                                                    iT = oVar2.x();
                                                }
                                                j21 += ((long) iZ2) * ((long) iT);
                                                i23++;
                                                jArr5 = jArr8;
                                                jArr6 = jArr7;
                                            } else {
                                                long[] jArr9 = jArr6;
                                                long[] jArr10 = jArr5;
                                                long j22 = jVar.f6427s;
                                                if (j22 != -1 && j22 != jG) {
                                                    AbstractC1709a.B("VbriSeeker", "VBRI data size mismatch: " + j22 + ", " + jG);
                                                }
                                                if (jG != j21) {
                                                    AbstractC1709a.B("VbriSeeker", "VBRI bytes and ToC mismatch (using max): " + jG + ", " + j21 + "\nSeeking will be inaccurate.");
                                                    jG = Math.max(jG, j21);
                                                }
                                                c1160a = new g(jArr10, jArr9, jQ3, jG, xVar.f6479e);
                                            }
                                        }
                                    }
                                    jVar.b(xVar.f6476b);
                                } else if (iG != 1483304551) {
                                    ((j) nVar).f6430v = 0;
                                    c1160a = null;
                                    tVar = tVar2;
                                }
                                d8 = this.f14569k;
                                j jVar3222 = (j) nVar;
                                long j15222 = jVar3222.f6428t;
                                if (d8 == null) {
                                }
                            }
                        }
                    } else {
                        if (xVar.f6478d == 1) {
                            i8 = 13;
                        }
                        if (oVar2.f18541c < i8 + 4) {
                        }
                    }
                } else {
                    j8 = 1000000;
                    th = null;
                    j9 = 0;
                    long j23 = this.f14572n;
                    if (j23 != 0) {
                        long j24 = ((j) nVar).f6428t;
                        if (j24 < j23) {
                            ((j) nVar).b((int) (j23 - j24));
                        }
                    }
                }
                if (this.f14574p != 0) {
                    ((j) nVar).f6430v = 0;
                    j jVar5 = (j) nVar;
                    if (!d(jVar5)) {
                        oVar.F(0);
                        int iG4 = oVar.g();
                        if (((-128000) & iG4) != (((long) this.f14568j) & (-128000)) || AbstractC0302b.h(iG4) == -1) {
                            jVar5.b(1);
                            this.f14568j = 0;
                            i = 0;
                            i5 = -1;
                        } else {
                            xVar.b(iG4);
                            if (this.f14570l == -9223372036854775807L) {
                                this.f14570l = this.f14575q.d(jVar5.f6428t);
                                long j25 = this.f14560a;
                                if (j25 != -9223372036854775807L) {
                                    this.f14570l = (j25 - this.f14575q.d(j9)) + this.f14570l;
                                }
                            }
                            int i24 = xVar.f6476b;
                            this.f14574p = i24;
                            this.f14573o = jVar5.f6428t + ((long) i24);
                            f fVar2 = this.f14575q;
                            if (fVar2 instanceof b) {
                                long j26 = ((this.f14571m + ((long) xVar.f6480f)) * j8) / ((long) xVar.f6477c);
                                ((b) fVar2).getClass();
                                throw th;
                            }
                            iF = this.i.f(nVar, this.f14574p, true);
                            if (iF != -1) {
                                int i25 = this.f14574p - iF;
                                this.f14574p = i25;
                                if (i25 > 0) {
                                    i = 0;
                                } else {
                                    this.i.a(this.f14570l + ((this.f14571m * j8) / ((long) xVar.f6477c)), 1, xVar.f6476b, 0, null);
                                    this.f14571m += (long) xVar.f6480f;
                                    this.f14574p = 0;
                                    i = 0;
                                }
                            }
                            i5 = -1;
                        }
                    }
                    i = -1;
                    i5 = -1;
                } else {
                    iF = this.i.f(nVar, this.f14574p, true);
                    if (iF != -1) {
                        i = -1;
                    }
                    i5 = -1;
                }
            } catch (EOFException unused) {
                th = null;
                i = -1;
                i5 = -1;
                j8 = 1000000;
            }
        } else {
            fVar = this.f14575q;
            o oVar3 = this.f14561b;
            if (fVar != null) {
            }
            if (this.f14574p != 0) {
            }
        }
        if (i == i5) {
            f fVar3 = this.f14575q;
            if (fVar3 instanceof b) {
                if (fVar3.k() != ((this.f14571m * j8) / ((long) xVar.f6477c)) + this.f14570l) {
                    ((b) this.f14575q).getClass();
                    throw th;
                }
            }
        }
        return i;
    }

    @Override // T0.m
    public final boolean f(n nVar) {
        return g((j) nVar, true);
    }

    public final boolean g(j jVar, boolean z8) throws EOFException, InterruptedIOException {
        int i;
        int i5;
        int iH;
        int i8 = z8 ? 32768 : 131072;
        jVar.f6430v = 0;
        if (jVar.f6428t == 0) {
            D dB = this.f14564e.b(jVar, null);
            this.f14569k = dB;
            if (dB != null) {
                this.f14563d.b(dB);
            }
            i = (int) jVar.i();
            if (!z8) {
                jVar.b(i);
            }
            i5 = 0;
        } else {
            i = 0;
            i5 = 0;
        }
        int i9 = i5;
        int i10 = i9;
        while (true) {
            if (!d(jVar)) {
                o oVar = this.f14561b;
                oVar.F(0);
                int iG = oVar.g();
                if ((i5 == 0 || ((-128000) & iG) == (((long) i5) & (-128000))) && (iH = AbstractC0302b.h(iG)) != -1) {
                    i9++;
                    if (i9 != 1) {
                        if (i9 == 4) {
                            break;
                        }
                    } else {
                        this.f14562c.b(iG);
                        i5 = iG;
                    }
                    jVar.h(iH - 4, false);
                } else {
                    int i11 = i10 + 1;
                    if (i10 == i8) {
                        if (z8) {
                            return false;
                        }
                        b();
                        throw new EOFException();
                    }
                    if (z8) {
                        jVar.f6430v = 0;
                        jVar.h(i + i11, false);
                    } else {
                        jVar.b(1);
                    }
                    i9 = 0;
                    i10 = i11;
                    i5 = 0;
                }
            } else if (i9 <= 0) {
                b();
                throw new EOFException();
            }
        }
        if (z8) {
            jVar.b(i + i10);
        } else {
            jVar.f6430v = 0;
        }
        this.f14568j = i5;
        return true;
    }

    @Override // T0.m
    public final void i(long j8, long j9) {
        this.f14568j = 0;
        this.f14570l = -9223372036854775807L;
        this.f14571m = 0L;
        this.f14574p = 0;
        this.f14578t = j9;
        f fVar = this.f14575q;
        if (fVar instanceof b) {
            ((b) fVar).getClass();
            throw null;
        }
    }

    @Override // T0.m
    public final void l(T0.o oVar) {
        this.f14566g = oVar;
        F fJ = oVar.j(0, 1);
        this.f14567h = fJ;
        this.i = fJ;
        this.f14566g.h();
    }

    @Override // T0.m
    public final List m() {
        C3.E e8 = G.f1197r;
        return W.f1225u;
    }

    public d(long j8) {
        this.f14560a = j8;
        this.f14561b = new o(10);
        this.f14562c = new x();
        this.f14563d = new t();
        this.f14570l = -9223372036854775807L;
        this.f14564e = new v(0);
        l lVar = new l();
        this.f14565f = lVar;
        this.i = lVar;
        this.f14573o = -1L;
    }

    @Override // T0.m
    public final void a() {
    }
}
