package androidx.compose.ui.input.key;

import o.LJ;
import o.LP;
import o.OC;
import o.RP;

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

    public KeyInputElement(OC oc, OC oc2) {
        this.a = oc;
        this.b = oc2;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof KeyInputElement)) {
            return false;
        }
        KeyInputElement keyInputElement = (KeyInputElement) obj;
        return this.a == keyInputElement.a && this.b == keyInputElement.b;
    }

    @Override // o.RP
    public final LP f() {
        LJ lj = new LJ();
        lj.z = this.a;
        lj.A = this.b;
        return lj;
    }

    public final int hashCode() {
        OC oc = this.a;
        int iHashCode = (oc != null ? oc.hashCode() : 0) * 31;
        OC oc2 = this.b;
        return iHashCode + (oc2 != null ? oc2.hashCode() : 0);
    }

    @Override // o.RP
    public final void j(LP lp) {
        LJ lj = (LJ) lp;
        lj.z = this.a;
        lj.A = this.b;
    }
}
