package androidx.compose.foundation;

import o.C0148Fs;
import o.C0265Kf;
import o.C1780le;
import o.F3;
import o.L70;
import o.LP;
import o.Q90;
import o.RP;

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

    public BorderModifierNodeElement(float f, Q90 q90, L70 l70) {
        this.a = f;
        this.b = q90;
        this.c = l70;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof BorderModifierNodeElement)) {
            return false;
        }
        BorderModifierNodeElement borderModifierNodeElement = (BorderModifierNodeElement) obj;
        return C0148Fs.a(this.a, borderModifierNodeElement.a) && this.b.equals(borderModifierNodeElement.b) && F3.c(this.c, borderModifierNodeElement.c);
    }

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

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

    @Override // o.RP
    public final void j(LP lp) {
        C1780le c1780le = (C1780le) lp;
        float f = c1780le.C;
        C0265Kf c0265Kf = c1780le.F;
        float f2 = this.a;
        if (!C0148Fs.a(f, f2)) {
            c1780le.C = f2;
            c0265Kf.H0();
        }
        Q90 q90 = c1780le.D;
        Q90 q902 = this.b;
        if (!F3.c(q90, q902)) {
            c1780le.D = q902;
            c0265Kf.H0();
        }
        L70 l70 = c1780le.E;
        L70 l702 = this.c;
        if (F3.c(l70, l702)) {
            return;
        }
        c1780le.E = l702;
        c0265Kf.H0();
    }

    public final String toString() {
        return "BorderModifierNodeElement(width=" + ((Object) C0148Fs.b(this.a)) + ", brush=" + this.b + ", shape=" + this.c + ')';
    }
}
