package defpackage;

/* renamed from: ᵢᵳﹶ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public class C3300 implements InterfaceC5013 {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final Object f12356;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final /* synthetic */ int f12357;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final long f12358;

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public C3300(long j) {
        this(j, 0L);
        this.f12357 = 2;
    }

    public C3300(long j, long j2) {
        this.f12357 = 2;
        this.f12358 = j;
        C5531 c5531 = j2 == 0 ? C5531.f20783 : new C5531(0L, j2);
        this.f12356 = new C0611(c5531, c5531);
    }

    public /* synthetic */ C3300(Object obj, long j, int i) {
        this.f12357 = i;
        this.f12356 = obj;
        this.f12358 = j;
    }

    @Override // defpackage.InterfaceC5013
    /* renamed from: ˇʼʤˎ */
    public final C0611 mo1072(long j) {
        int i = this.f12357;
        int i2 = 1;
        Object obj = this.f12356;
        switch (i) {
            case 0:
                C2000 c2000 = (C2000) obj;
                C0611 c0611M9299 = c2000.f8032[0].m9299(j);
                while (true) {
                    C4334[] c4334Arr = c2000.f8032;
                    if (i2 >= c4334Arr.length) {
                        return c0611M9299;
                    }
                    C0611 c0611M92992 = c4334Arr[i2].m9299(j);
                    if (c0611M92992.f3073.f20785 < c0611M9299.f3073.f20785) {
                        c0611M9299 = c0611M92992;
                    }
                    i2++;
                }
            case 1:
                C4900 c4900 = (C4900) obj;
                c4900.f18245.getClass();
                C2720 c2720 = c4900.f18245;
                long[] jArr = (long[]) c2720.f10548;
                long[] jArr2 = (long[]) c2720.f10550;
                int iM8119 = AbstractC3558.m8119(jArr, AbstractC3558.m8153((c4900.f18236 * j) / 1000000, 0L, c4900.f18244 - 1), false);
                long j2 = iM8119 == -1 ? 0L : jArr[iM8119];
                long j3 = iM8119 != -1 ? jArr2[iM8119] : 0L;
                int i3 = c4900.f18236;
                long j4 = (j2 * 1000000) / i3;
                long j5 = this.f12358;
                C5531 c5531 = new C5531(j4, j3 + j5);
                if (j4 == j || iM8119 == jArr.length - 1) {
                    return new C0611(c5531, c5531);
                }
                int i4 = iM8119 + 1;
                return new C0611(c5531, new C5531((jArr[i4] * 1000000) / i3, j5 + jArr2[i4]));
            default:
                return (C0611) obj;
        }
    }

    @Override // defpackage.InterfaceC5013
    /* renamed from: ˎˏʜʾ */
    public final long mo1073() {
        switch (this.f12357) {
            case 0:
                return this.f12358;
            case 1:
                return ((C4900) this.f12356).m10348();
            default:
                return this.f12358;
        }
    }

    @Override // defpackage.InterfaceC5013
    /* renamed from: ˏᵙ */
    public final boolean mo1074() {
        switch (this.f12357) {
            case 0:
                return true;
            case 1:
                return true;
            default:
                return false;
        }
    }

    @Override // defpackage.InterfaceC5013
    /* renamed from: ᵻᵢﹳᵰ */
    public final /* synthetic */ boolean mo1075() {
        switch (this.f12357) {
        }
        return false;
    }
}
