package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.bj0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0837bj0 extends AbstractC2811wV {
    public final MV q = AbstractC0752ap.X(new T80(0));
    public final MV r = AbstractC0752ap.X(Boolean.FALSE);
    public final Mi0 s;
    public final JV t;
    public float u;
    public C0444Rd v;
    public int w;

    public C0837bj0(C2130pE c2130pE) {
        Mi0 mi0 = new Mi0(c2130pE);
        mi0.f = new U4(26, this);
        this.s = mi0;
        this.t = new JV(0);
        this.u = 1.0f;
        this.w = -1;
    }

    @Override // o.AbstractC2811wV
    public final boolean b(float f) {
        this.u = f;
        return true;
    }

    @Override // o.AbstractC2811wV
    public final boolean c(C0444Rd c0444Rd) {
        this.v = c0444Rd;
        return true;
    }

    @Override // o.AbstractC2811wV
    public final long g() {
        return ((T80) this.q.getValue()).a;
    }

    @Override // o.AbstractC2811wV
    public final void i(C2610uK c2610uK) {
        C3113zg c3113zg = c2610uK.l;
        C0444Rd c0444Rd = this.v;
        Mi0 mi0 = this.s;
        if (c0444Rd == null) {
            c0444Rd = (C0444Rd) mi0.g.getValue();
        }
        if (((Boolean) this.r.getValue()).booleanValue() && c2610uK.getLayoutDirection() == EnumC1280gK.m) {
            long jQ = c3113zg.Q();
            C3126zm0 c3126zm0 = c3113zg.m;
            long jD = c3126zm0.D();
            c3126zm0.x().n();
            try {
                ((OD) c3126zm0.m).G(-1.0f, 1.0f, jQ);
                mi0.e(c2610uK, this.u, c0444Rd);
            } finally {
                AbstractC2462sn.t(c3126zm0, jD);
            }
        } else {
            mi0.e(c2610uK, this.u, c0444Rd);
        }
        this.w = this.t.g();
    }
}
