package defpackage;

/* renamed from: ᵩᐧˉʾ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3806 implements InterfaceC0772 {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public boolean f14189;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final InterfaceC0772 f14190;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final /* synthetic */ C0954 f14191;

    public C3806(C0954 c0954, InterfaceC0772 interfaceC0772) {
        this.f14191 = c0954;
        this.f14190 = interfaceC0772;
    }

    @Override // defpackage.InterfaceC0772
    /* renamed from: ˇʼʤˎ */
    public final int mo1125(C2720 c2720, C2441 c2441, int i) {
        C0954 c0954 = this.f14191;
        if (c0954.m3233()) {
            return -3;
        }
        if (this.f14189) {
            c2441.f17323 = 4;
            return -4;
        }
        long jMo1668 = c0954.mo1668();
        int iMo1125 = this.f14190.mo1125(c2720, c2441, i);
        if (c0954.f4292 != -9223372036854775807L && iMo1125 != -3) {
            c0954.f4292 = -9223372036854775807L;
        }
        if (iMo1125 != -5) {
            long j = c0954.f4288;
            if (j == Long.MIN_VALUE || ((iMo1125 != -4 || c2441.f9512 < j) && !(iMo1125 == -3 && jMo1668 == Long.MIN_VALUE && !c2441.f9516))) {
                return iMo1125;
            }
            c2441.mo6221();
            c2441.f17323 = 4;
            this.f14189 = true;
            return -4;
        }
        long j2 = c0954.f4290;
        long j3 = c0954.f4288;
        C3446 c3446 = (C3446) c2720.f10550;
        c3446.getClass();
        int i2 = c3446.f12900;
        int i3 = c3446.f12931;
        if (i3 != 0 || i2 != 0) {
            if (j2 != 0) {
                i3 = 0;
            }
            if (j3 != Long.MIN_VALUE) {
                i2 = 0;
            }
            C2153 c2153M7829 = c3446.m7829();
            c2153M7829.f8502 = i3;
            c2153M7829.f8521 = i2;
            c2720.f10550 = new C3446(c2153M7829);
        }
        return -5;
    }

    @Override // defpackage.InterfaceC0772
    /* renamed from: ˌᵜᵹᵩ */
    public final int mo1126(long j) {
        if (this.f14191.m3233()) {
            return -3;
        }
        return this.f14190.mo1126(j);
    }

    @Override // defpackage.InterfaceC0772
    /* renamed from: ᵥᵯˎ */
    public final boolean mo1128() {
        return !this.f14191.m3233() && this.f14190.mo1128();
    }

    @Override // defpackage.InterfaceC0772
    /* renamed from: ᵴᵳ */
    public final void mo1129() {
        this.f14190.mo1129();
    }
}
