package androidx.compose.foundation.layout;

import o.AbstractC0126Ew;
import o.AbstractC2539te;
import o.C0148Fs;
import o.C2050oT;
import o.LP;
import o.RP;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
final class OffsetElement extends RP {
    public final float a;
    public final float b;

    public OffsetElement(float f, float f2) {
        this.a = f;
        this.b = f2;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        OffsetElement offsetElement = obj instanceof OffsetElement ? (OffsetElement) obj : null;
        return offsetElement != null && C0148Fs.a(this.a, offsetElement.a) && C0148Fs.a(this.b, offsetElement.b);
    }

    @Override // o.RP
    public final LP f() {
        C2050oT c2050oT = new C2050oT();
        c2050oT.z = this.a;
        c2050oT.A = this.b;
        c2050oT.B = true;
        return c2050oT;
    }

    public final int hashCode() {
        return Boolean.hashCode(true) + AbstractC0126Ew.d(this.b, Float.hashCode(this.a) * 31, 31);
    }

    @Override // o.RP
    public final void j(LP lp) {
        C2050oT c2050oT = (C2050oT) lp;
        float f = c2050oT.z;
        float f2 = this.a;
        boolean zA = C0148Fs.a(f, f2);
        float f3 = this.b;
        if (!zA || !C0148Fs.a(c2050oT.A, f3) || !c2050oT.B) {
            AbstractC2539te.S(c2050oT).P(false);
        }
        c2050oT.z = f2;
        c2050oT.A = f3;
        c2050oT.B = true;
    }

    public final String toString() {
        return "OffsetModifierElement(x=" + ((Object) C0148Fs.b(this.a)) + ", y=" + ((Object) C0148Fs.b(this.b)) + ", rtlAware=true)";
    }
}
