package androidx.compose.foundation.text.contextmenu.modifier;

import o.C0939cn;
import o.C1209fe0;
import o.C1305ge0;
import o.C2728vd0;
import o.LP;
import o.RP;
import o.WT;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
final class TextContextMenuToolbarHandlerElement extends RP {
    public final WT a;
    public final C1209fe0 b;
    public final C1305ge0 c;
    public final C0939cn d;

    public TextContextMenuToolbarHandlerElement(WT wt, C1209fe0 c1209fe0, C1305ge0 c1305ge0, C0939cn c0939cn) {
        this.a = wt;
        this.b = c1209fe0;
        this.c = c1305ge0;
        this.d = c0939cn;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof TextContextMenuToolbarHandlerElement)) {
            return false;
        }
        TextContextMenuToolbarHandlerElement textContextMenuToolbarHandlerElement = (TextContextMenuToolbarHandlerElement) obj;
        return this.a == textContextMenuToolbarHandlerElement.a && this.b == textContextMenuToolbarHandlerElement.b && this.c == textContextMenuToolbarHandlerElement.c && this.d == textContextMenuToolbarHandlerElement.d;
    }

    @Override // o.RP
    public final LP f() {
        return new C2728vd0(this.a, this.b, this.c, this.d);
    }

    public final int hashCode() {
        return this.d.hashCode() + ((this.c.hashCode() + ((this.b.hashCode() + (this.a.hashCode() * 31)) * 31)) * 31);
    }

    @Override // o.RP
    public final void j(LP lp) {
        C2728vd0 c2728vd0 = (C2728vd0) lp;
        c2728vd0.B.m = null;
        WT wt = this.a;
        c2728vd0.B = wt;
        wt.m = c2728vd0;
        c2728vd0.C = this.b;
        c2728vd0.D = this.c;
        c2728vd0.E = this.d;
    }
}
