package androidx.compose.ui.input.pointer;

import o.Ag0;
import o.C0252Js;
import o.C1965nb0;
import o.C2887xC;
import o.F3;
import o.LP;
import o.RP;
import o.W4;

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

    public StylusHoverIconModifierElement(C0252Js c0252Js) {
        this.a = c0252Js;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof StylusHoverIconModifierElement)) {
            return false;
        }
        StylusHoverIconModifierElement stylusHoverIconModifierElement = (StylusHoverIconModifierElement) obj;
        W4 w4 = C2887xC.e;
        return w4.equals(w4) && F3.c(this.a, stylusHoverIconModifierElement.a);
    }

    @Override // o.RP
    public final LP f() {
        return new C1965nb0(C2887xC.e, this.a);
    }

    public final int hashCode() {
        int iD = Ag0.d(1022 * 31, false, 31);
        C0252Js c0252Js = this.a;
        return iD + (c0252Js != null ? c0252Js.hashCode() : 0);
    }

    @Override // o.RP
    public final void j(LP lp) {
        C1965nb0 c1965nb0 = (C1965nb0) lp;
        W4 w4 = C2887xC.e;
        if (!F3.c(c1965nb0.A, w4)) {
            c1965nb0.A = w4;
            if (c1965nb0.B) {
                c1965nb0.J0();
            }
        }
        c1965nb0.z = this.a;
    }

    public final String toString() {
        return "StylusHoverIconModifierElement(icon=" + C2887xC.e + ", overrideDescendants=false, touchBoundsExpansion=" + this.a + ')';
    }
}
