package androidx.compose.foundation.layout;

import o.AbstractC0126Ew;
import o.C0148Fs;
import o.LP;
import o.RP;
import o.Y80;

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

    public SizeElement(float f, float f2, float f3, float f4, boolean z) {
        this.a = f;
        this.b = f2;
        this.c = f3;
        this.d = f4;
        this.e = z;
    }

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

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

    public final int hashCode() {
        return Boolean.hashCode(this.e) + AbstractC0126Ew.d(this.d, AbstractC0126Ew.d(this.c, AbstractC0126Ew.d(this.b, Float.hashCode(this.a) * 31, 31), 31), 31);
    }

    @Override // o.RP
    public final void j(LP lp) {
        Y80 y80 = (Y80) lp;
        y80.z = this.a;
        y80.A = this.b;
        y80.B = this.c;
        y80.C = this.d;
        y80.D = this.e;
    }

    public /* synthetic */ SizeElement(float f, float f2, float f3, float f4, int i) {
        this((i & 1) != 0 ? Float.NaN : f, (i & 2) != 0 ? Float.NaN : f2, (i & 4) != 0 ? Float.NaN : f3, (i & 8) != 0 ? Float.NaN : f4, true);
    }
}
