package y;

import androidx.core.view.ViewCompat;
import androidx.media3.datasource.DataSchemeDataSource;
import b0.D;
import b0.t;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import okhttp3.HttpUrl;

/* JADX INFO: renamed from: y.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
abstract class AbstractC0739a {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final int f6880b = D.u("ftyp");

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final int f6883c = D.u("avc1");

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final int f6886d = D.u("avc3");

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final int f6888e = D.u("hvc1");

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static final int f6890f = D.u("hev1");

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public static final int f6892g = D.u("s263");

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public static final int f6894h = D.u("d263");

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public static final int f6896i = D.u("mdat");

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public static final int f6898j = D.u("mp4a");

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public static final int f6900k = D.u(".mp3");

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public static final int f6902l = D.u("wave");

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public static final int f6904m = D.u("lpcm");

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public static final int f6906n = D.u("sowt");

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public static final int f6908o = D.u("ac-3");

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public static final int f6910p = D.u("dac3");

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public static final int f6912q = D.u("ec-3");

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public static final int f6914r = D.u("dec3");

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public static final int f6916s = D.u("dtsc");

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public static final int f6918t = D.u("dtsh");

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public static final int f6920u = D.u("dtsl");

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public static final int f6922v = D.u("dtse");

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public static final int f6924w = D.u("ddts");

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public static final int f6926x = D.u("tfdt");

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public static final int f6928y = D.u("tfhd");

    /* JADX INFO: renamed from: z, reason: collision with root package name */
    public static final int f6930z = D.u("trex");

    /* JADX INFO: renamed from: A, reason: collision with root package name */
    public static final int f6826A = D.u("trun");

    /* JADX INFO: renamed from: B, reason: collision with root package name */
    public static final int f6828B = D.u("sidx");

    /* JADX INFO: renamed from: C, reason: collision with root package name */
    public static final int f6830C = D.u("moov");

    /* JADX INFO: renamed from: D, reason: collision with root package name */
    public static final int f6832D = D.u("mvhd");

    /* JADX INFO: renamed from: E, reason: collision with root package name */
    public static final int f6834E = D.u("trak");

    /* JADX INFO: renamed from: F, reason: collision with root package name */
    public static final int f6836F = D.u("mdia");

    /* JADX INFO: renamed from: G, reason: collision with root package name */
    public static final int f6838G = D.u("minf");

    /* JADX INFO: renamed from: H, reason: collision with root package name */
    public static final int f6840H = D.u("stbl");

    /* JADX INFO: renamed from: I, reason: collision with root package name */
    public static final int f6842I = D.u("avcC");

    /* JADX INFO: renamed from: J, reason: collision with root package name */
    public static final int f6844J = D.u("hvcC");

    /* JADX INFO: renamed from: K, reason: collision with root package name */
    public static final int f6846K = D.u("esds");

    /* JADX INFO: renamed from: L, reason: collision with root package name */
    public static final int f6848L = D.u("moof");

    /* JADX INFO: renamed from: M, reason: collision with root package name */
    public static final int f6850M = D.u("traf");

    /* JADX INFO: renamed from: N, reason: collision with root package name */
    public static final int f6852N = D.u("mvex");

    /* JADX INFO: renamed from: O, reason: collision with root package name */
    public static final int f6854O = D.u("mehd");

    /* JADX INFO: renamed from: P, reason: collision with root package name */
    public static final int f6856P = D.u("tkhd");

    /* JADX INFO: renamed from: Q, reason: collision with root package name */
    public static final int f6858Q = D.u("edts");

    /* JADX INFO: renamed from: R, reason: collision with root package name */
    public static final int f6860R = D.u("elst");

    /* JADX INFO: renamed from: S, reason: collision with root package name */
    public static final int f6862S = D.u("mdhd");

    /* JADX INFO: renamed from: T, reason: collision with root package name */
    public static final int f6864T = D.u("hdlr");

    /* JADX INFO: renamed from: U, reason: collision with root package name */
    public static final int f6866U = D.u("stsd");

    /* JADX INFO: renamed from: V, reason: collision with root package name */
    public static final int f6868V = D.u("pssh");

    /* JADX INFO: renamed from: W, reason: collision with root package name */
    public static final int f6870W = D.u("sinf");

    /* JADX INFO: renamed from: X, reason: collision with root package name */
    public static final int f6872X = D.u("schm");

    /* JADX INFO: renamed from: Y, reason: collision with root package name */
    public static final int f6874Y = D.u("schi");

    /* JADX INFO: renamed from: Z, reason: collision with root package name */
    public static final int f6876Z = D.u("tenc");

    /* JADX INFO: renamed from: a0, reason: collision with root package name */
    public static final int f6878a0 = D.u("encv");

    /* JADX INFO: renamed from: b0, reason: collision with root package name */
    public static final int f6881b0 = D.u("enca");

    /* JADX INFO: renamed from: c0, reason: collision with root package name */
    public static final int f6884c0 = D.u("frma");

    /* JADX INFO: renamed from: d0, reason: collision with root package name */
    public static final int f6887d0 = D.u("saiz");

    /* JADX INFO: renamed from: e0, reason: collision with root package name */
    public static final int f6889e0 = D.u("saio");

    /* JADX INFO: renamed from: f0, reason: collision with root package name */
    public static final int f6891f0 = D.u("sbgp");

    /* JADX INFO: renamed from: g0, reason: collision with root package name */
    public static final int f6893g0 = D.u("sgpd");

    /* JADX INFO: renamed from: h0, reason: collision with root package name */
    public static final int f6895h0 = D.u("uuid");

    /* JADX INFO: renamed from: i0, reason: collision with root package name */
    public static final int f6897i0 = D.u("senc");

    /* JADX INFO: renamed from: j0, reason: collision with root package name */
    public static final int f6899j0 = D.u("pasp");

    /* JADX INFO: renamed from: k0, reason: collision with root package name */
    public static final int f6901k0 = D.u("TTML");

    /* JADX INFO: renamed from: l0, reason: collision with root package name */
    public static final int f6903l0 = D.u("vmhd");

    /* JADX INFO: renamed from: m0, reason: collision with root package name */
    public static final int f6905m0 = D.u("mp4v");

    /* JADX INFO: renamed from: n0, reason: collision with root package name */
    public static final int f6907n0 = D.u("stts");

    /* JADX INFO: renamed from: o0, reason: collision with root package name */
    public static final int f6909o0 = D.u("stss");

    /* JADX INFO: renamed from: p0, reason: collision with root package name */
    public static final int f6911p0 = D.u("ctts");

    /* JADX INFO: renamed from: q0, reason: collision with root package name */
    public static final int f6913q0 = D.u("stsc");

    /* JADX INFO: renamed from: r0, reason: collision with root package name */
    public static final int f6915r0 = D.u("stsz");

    /* JADX INFO: renamed from: s0, reason: collision with root package name */
    public static final int f6917s0 = D.u("stz2");

    /* JADX INFO: renamed from: t0, reason: collision with root package name */
    public static final int f6919t0 = D.u("stco");

    /* JADX INFO: renamed from: u0, reason: collision with root package name */
    public static final int f6921u0 = D.u("co64");

    /* JADX INFO: renamed from: v0, reason: collision with root package name */
    public static final int f6923v0 = D.u("tx3g");

    /* JADX INFO: renamed from: w0, reason: collision with root package name */
    public static final int f6925w0 = D.u("wvtt");

    /* JADX INFO: renamed from: x0, reason: collision with root package name */
    public static final int f6927x0 = D.u("stpp");

    /* JADX INFO: renamed from: y0, reason: collision with root package name */
    public static final int f6929y0 = D.u("samr");

    /* JADX INFO: renamed from: z0, reason: collision with root package name */
    public static final int f6931z0 = D.u("sawb");

    /* JADX INFO: renamed from: A0, reason: collision with root package name */
    public static final int f6827A0 = D.u("udta");

    /* JADX INFO: renamed from: B0, reason: collision with root package name */
    public static final int f6829B0 = D.u("meta");

    /* JADX INFO: renamed from: C0, reason: collision with root package name */
    public static final int f6831C0 = D.u("ilst");

    /* JADX INFO: renamed from: D0, reason: collision with root package name */
    public static final int f6833D0 = D.u("mean");

    /* JADX INFO: renamed from: E0, reason: collision with root package name */
    public static final int f6835E0 = D.u("name");

    /* JADX INFO: renamed from: F0, reason: collision with root package name */
    public static final int f6837F0 = D.u(DataSchemeDataSource.SCHEME_DATA);

    /* JADX INFO: renamed from: G0, reason: collision with root package name */
    public static final int f6839G0 = D.u("emsg");

    /* JADX INFO: renamed from: H0, reason: collision with root package name */
    public static final int f6841H0 = D.u("st3d");

    /* JADX INFO: renamed from: I0, reason: collision with root package name */
    public static final int f6843I0 = D.u("sv3d");

    /* JADX INFO: renamed from: J0, reason: collision with root package name */
    public static final int f6845J0 = D.u("proj");

    /* JADX INFO: renamed from: K0, reason: collision with root package name */
    public static final int f6847K0 = D.u("vp08");

    /* JADX INFO: renamed from: L0, reason: collision with root package name */
    public static final int f6849L0 = D.u("vp09");

    /* JADX INFO: renamed from: M0, reason: collision with root package name */
    public static final int f6851M0 = D.u("vpcC");

    /* JADX INFO: renamed from: N0, reason: collision with root package name */
    public static final int f6853N0 = D.u("camm");

    /* JADX INFO: renamed from: O0, reason: collision with root package name */
    public static final int f6855O0 = D.u("----");

    /* JADX INFO: renamed from: P0, reason: collision with root package name */
    public static final int f6857P0 = D.u("vc-1");

    /* JADX INFO: renamed from: Q0, reason: collision with root package name */
    public static final int f6859Q0 = D.u("dvc1");

    /* JADX INFO: renamed from: R0, reason: collision with root package name */
    public static final int f6861R0 = D.u("wma ");

    /* JADX INFO: renamed from: S0, reason: collision with root package name */
    public static final int f6863S0 = D.u("WMA ");

    /* JADX INFO: renamed from: T0, reason: collision with root package name */
    public static final int f6865T0 = D.u("wma1");

    /* JADX INFO: renamed from: U0, reason: collision with root package name */
    public static final int f6867U0 = D.u("WMA1");

    /* JADX INFO: renamed from: V0, reason: collision with root package name */
    public static final int f6869V0 = D.u("wma2");

    /* JADX INFO: renamed from: W0, reason: collision with root package name */
    public static final int f6871W0 = D.u("WMA2");

    /* JADX INFO: renamed from: X0, reason: collision with root package name */
    public static final int f6873X0 = D.u("wma3");

    /* JADX INFO: renamed from: Y0, reason: collision with root package name */
    public static final int f6875Y0 = D.u("WMA3");

    /* JADX INFO: renamed from: Z0, reason: collision with root package name */
    public static final int f6877Z0 = D.u("wmap");

    /* JADX INFO: renamed from: a1, reason: collision with root package name */
    public static final int f6879a1 = D.u("WMAP");

    /* JADX INFO: renamed from: b1, reason: collision with root package name */
    public static final int f6882b1 = D.u("wfex");

    /* JADX INFO: renamed from: c1, reason: collision with root package name */
    public static final int f6885c1 = D.u("WFEX");

    /* JADX INFO: renamed from: y.a$a, reason: collision with other inner class name */
    static final class C0104a extends AbstractC0739a {

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

        /* JADX INFO: renamed from: e1, reason: collision with root package name */
        public final List f6934e1;

        /* JADX INFO: renamed from: f1, reason: collision with root package name */
        public final List f6935f1;

        public C0104a(int i2, long j2) {
            super(i2);
            this.f6933d1 = j2;
            this.f6934e1 = new ArrayList();
            this.f6935f1 = new ArrayList();
        }

        public void d(C0104a c0104a) {
            this.f6935f1.add(c0104a);
        }

        public void e(b bVar) {
            this.f6934e1.add(bVar);
        }

        public int f(int i2) {
            int size = this.f6934e1.size();
            int i3 = 0;
            for (int i4 = 0; i4 < size; i4++) {
                if (((b) this.f6934e1.get(i4)).f6932a == i2) {
                    i3++;
                }
            }
            int size2 = this.f6935f1.size();
            for (int i5 = 0; i5 < size2; i5++) {
                if (((C0104a) this.f6935f1.get(i5)).f6932a == i2) {
                    i3++;
                }
            }
            return i3;
        }

        public C0104a g(int i2) {
            int size = this.f6935f1.size();
            for (int i3 = 0; i3 < size; i3++) {
                C0104a c0104a = (C0104a) this.f6935f1.get(i3);
                if (c0104a.f6932a == i2) {
                    return c0104a;
                }
            }
            return null;
        }

        public b h(int i2) {
            int size = this.f6934e1.size();
            for (int i3 = 0; i3 < size; i3++) {
                b bVar = (b) this.f6934e1.get(i3);
                if (bVar.f6932a == i2) {
                    return bVar;
                }
            }
            return null;
        }

        @Override // y.AbstractC0739a
        public String toString() {
            return AbstractC0739a.a(this.f6932a) + " leaves: " + Arrays.toString(this.f6934e1.toArray(new b[0])) + " containers: " + Arrays.toString(this.f6935f1.toArray(new C0104a[0]));
        }
    }

    /* JADX INFO: renamed from: y.a$b */
    static final class b extends AbstractC0739a {

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

        public b(int i2, t tVar) {
            super(i2);
            this.f6936d1 = tVar;
        }
    }

    public AbstractC0739a(int i2) {
        this.f6932a = i2;
    }

    public static String a(int i2) {
        return HttpUrl.FRAGMENT_ENCODE_SET + ((char) (i2 >> 24)) + ((char) ((i2 >> 16) & 255)) + ((char) ((i2 >> 8) & 255)) + ((char) (i2 & 255));
    }

    public static int b(int i2) {
        return i2 & ViewCompat.MEASURED_SIZE_MASK;
    }

    public static int c(int i2) {
        return (i2 >> 24) & 255;
    }

    public String toString() {
        return a(this.f6932a);
    }
}
