package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ee0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1113ee0 {
    public static final C1390hY g;
    public final IV a;
    public final IV b = new IV(0.0f);
    public final JV c = new JV(0);
    public T00 d = T00.e;
    public long e = Ue0.b;
    public final MV f;

    static {
        C2494t40 c2494t40 = new C2494t40(23);
        C2694v90 c2694v90 = new C2694v90(8);
        C1825m2 c1825m2 = new C1825m2(7, c2494t40);
        AbstractC1692kh0.l(1, c2694v90);
        g = new C1390hY(11, c1825m2, c2694v90);
    }

    public C1113ee0(OU ou, float f) {
        this.a = new IV(f);
        this.f = new MV(ou, ME.G);
    }

    public final void a(OU ou, T00 t00, int i, int i2) {
        float f = i2 - i;
        this.b.h(f);
        float f2 = t00.a;
        float f3 = t00.b;
        T00 t002 = this.d;
        float f4 = t002.a;
        IV iv = this.a;
        if (f2 != f4 || f3 != t002.b) {
            boolean z = ou == OU.l;
            if (z) {
                f2 = f3;
            }
            float f5 = z ? t00.d : t00.c;
            float fG = iv.g();
            float f6 = i;
            float f7 = fG + f6;
            iv.h(iv.g() + ((f5 <= f7 && (f2 >= fG || f5 - f2 <= f6)) ? (f2 >= fG || f5 - f2 > f6) ? 0.0f : f2 - fG : f5 - f7));
            this.d = t00;
        }
        iv.h(AbstractC0940cn0.j(iv.g(), 0.0f, f));
        this.c.h(i);
    }
}
