package androidx.compose.ui.layout;

import o.AbstractC2539te;
import o.C2420sK;
import o.D30;
import o.LP;
import o.NH;
import o.RP;

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

    public RulerProviderModifierElement(NH nh) {
        this.a = nh;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        RulerProviderModifierElement rulerProviderModifierElement = obj instanceof RulerProviderModifierElement ? (RulerProviderModifierElement) obj : null;
        return (rulerProviderModifierElement != null ? rulerProviderModifierElement.a : null) == this.a;
    }

    @Override // o.RP
    public final LP f() {
        return new D30(this.a);
    }

    public final int hashCode() {
        return this.a.hashCode();
    }

    @Override // o.RP
    public final void j(LP lp) {
        D30 d30 = (D30) lp;
        NH nh = d30.z;
        NH nh2 = this.a;
        if (nh != nh2) {
            d30.z = nh2;
            C2420sK.Q(AbstractC2539te.S(d30), false, 7);
        }
    }
}
