package androidx.compose.foundation.text.handwriting;

import o.C1775lb0;
import o.LP;
import o.NC;
import o.RP;

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

    public StylusHandwritingElement(NC nc) {
        this.a = nc;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof StylusHandwritingElement) {
            return this.a == ((StylusHandwritingElement) obj).a;
        }
        return false;
    }

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

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

    @Override // o.RP
    public final void j(LP lp) {
        ((C1775lb0) lp).B = this.a;
    }
}
