package androidx.compose.ui.draw;

import o.AbstractC0126Ew;
import o.AbstractC2239qS;
import o.AbstractC2539te;
import o.Ag0;
import o.C0148Fs;
import o.C0190Hi;
import o.C0470Sd;
import o.C2302r30;
import o.C2769w;
import o.LP;
import o.RP;

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

    public ShadowGraphicsLayerElement(float f, C2302r30 c2302r30, boolean z, long j, long j2) {
        this.a = f;
        this.b = c2302r30;
        this.c = z;
        this.d = j;
        this.e = j2;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof ShadowGraphicsLayerElement)) {
            return false;
        }
        ShadowGraphicsLayerElement shadowGraphicsLayerElement = (ShadowGraphicsLayerElement) obj;
        return C0148Fs.a(this.a, shadowGraphicsLayerElement.a) && this.b.equals(shadowGraphicsLayerElement.b) && this.c == shadowGraphicsLayerElement.c && C0190Hi.c(this.d, shadowGraphicsLayerElement.d) && C0190Hi.c(this.e, shadowGraphicsLayerElement.e);
    }

    @Override // o.RP
    public final LP f() {
        return new C0470Sd(new C2769w(29, this));
    }

    public final int hashCode() {
        int iD = Ag0.d((this.b.hashCode() + (Float.hashCode(this.a) * 31)) * 31, this.c, 31);
        int i = C0190Hi.h;
        return Long.hashCode(this.e) + AbstractC0126Ew.f(iD, 31, this.d);
    }

    @Override // o.RP
    public final void j(LP lp) {
        C0470Sd c0470Sd = (C0470Sd) lp;
        c0470Sd.z = new C2769w(29, this);
        AbstractC2239qS abstractC2239qS = AbstractC2539te.Q(c0470Sd, 2).A;
        if (abstractC2239qS != null) {
            abstractC2239qS.o1(c0470Sd.z, true);
        }
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("ShadowGraphicsLayerElement(elevation=");
        sb.append((Object) C0148Fs.b(this.a));
        sb.append(", shape=");
        sb.append(this.b);
        sb.append(", clip=");
        sb.append(this.c);
        sb.append(", ambientColor=");
        AbstractC0126Ew.q(this.d, sb, ", spotColor=");
        sb.append((Object) C0190Hi.i(this.e));
        sb.append(')');
        return sb.toString();
    }
}
