package androidx.compose.foundation;

import o.AbstractC0126Ew;
import o.AbstractC0601Xe;
import o.AbstractC2461sm0;
import o.C0106Ec;
import o.C0190Hi;
import o.C2232qL;
import o.F3;
import o.L70;
import o.LP;
import o.RP;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
final class BackgroundElement extends RP {
    public final long a;
    public final AbstractC0601Xe b;
    public final float c;
    public final L70 d;

    public BackgroundElement(long j, C2232qL c2232qL, L70 l70, int i) {
        j = (i & 1) != 0 ? C0190Hi.g : j;
        c2232qL = (i & 2) != 0 ? null : c2232qL;
        this.a = j;
        this.b = c2232qL;
        this.c = 1.0f;
        this.d = l70;
    }

    public final boolean equals(Object obj) {
        BackgroundElement backgroundElement = obj instanceof BackgroundElement ? (BackgroundElement) obj : null;
        return backgroundElement != null && C0190Hi.c(this.a, backgroundElement.a) && F3.c(this.b, backgroundElement.b) && this.c == backgroundElement.c && F3.c(this.d, backgroundElement.d);
    }

    @Override // o.RP
    public final LP f() {
        C0106Ec c0106Ec = new C0106Ec();
        c0106Ec.z = this.a;
        c0106Ec.A = this.b;
        c0106Ec.B = this.c;
        c0106Ec.C = this.d;
        c0106Ec.D = 9205357640488583168L;
        return c0106Ec;
    }

    public final int hashCode() {
        int i = C0190Hi.h;
        int iHashCode = Long.hashCode(this.a) * 31;
        AbstractC0601Xe abstractC0601Xe = this.b;
        return this.d.hashCode() + AbstractC0126Ew.d(this.c, (iHashCode + (abstractC0601Xe != null ? abstractC0601Xe.hashCode() : 0)) * 31, 31);
    }

    @Override // o.RP
    public final void j(LP lp) {
        C0106Ec c0106Ec = (C0106Ec) lp;
        c0106Ec.z = this.a;
        c0106Ec.A = this.b;
        c0106Ec.B = this.c;
        c0106Ec.C = this.d;
        AbstractC2461sm0.A(c0106Ec);
    }
}
