package v;

import I0.AbstractC0303l;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.media3.extractor.text.ttml.TtmlNode;
import i0.AbstractC2254r;
import m0.C2463c;
import p0.AbstractC2711q;
import p0.C2714u;
import q.AbstractC2761L;

/* JADX INFO: renamed from: v.F, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
@StabilityInferred(parameters = 1)
public final class C2976F extends I0.Z {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final float f24719a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final AbstractC2711q f24720b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final p0.X f24721c;

    public C2976F(float f6, AbstractC2711q abstractC2711q, p0.X x6) {
        this.f24719a = f6;
        this.f24720b = abstractC2711q;
        this.f24721c = x6;
    }

    @Override // I0.Z
    public final AbstractC2254r create() {
        return new C2974E(this.f24719a, this.f24720b, this.f24721c);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C2976F)) {
            return false;
        }
        C2976F c2976f = (C2976F) obj;
        return h1.f.c(this.f24719a, c2976f.f24719a) && kotlin.jvm.internal.o.c(this.f24720b, c2976f.f24720b) && kotlin.jvm.internal.o.c(this.f24721c, c2976f.f24721c);
    }

    public final int hashCode() {
        return this.f24721c.hashCode() + ((this.f24720b.hashCode() + (Float.hashCode(this.f24719a) * 31)) * 31);
    }

    @Override // I0.Z
    public final void inspectableProperties(J0.L0 l02) {
        l02.f2894a = "border";
        h1.f fVar = new h1.f(this.f24719a);
        H4.f fVar2 = l02.f2896c;
        fVar2.c(fVar, "width");
        AbstractC2711q abstractC2711q = this.f24720b;
        if (abstractC2711q instanceof p0.Z) {
            p0.Z z6 = (p0.Z) abstractC2711q;
            fVar2.c(new C2714u(z6.f22898a), TtmlNode.ATTR_TTS_COLOR);
            l02.f2895b = new C2714u(z6.f22898a);
        } else {
            fVar2.c(abstractC2711q, "brush");
        }
        fVar2.c(this.f24721c, "shape");
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("BorderModifierNodeElement(width=");
        AbstractC2761L.k(this.f24719a, sb, ", brush=");
        sb.append(this.f24720b);
        sb.append(", shape=");
        sb.append(this.f24721c);
        sb.append(')');
        return sb.toString();
    }

    @Override // I0.Z
    public final void update(AbstractC2254r abstractC2254r) {
        C2974E c2974e = (C2974E) abstractC2254r;
        float f6 = c2974e.f24713d;
        float f7 = this.f24719a;
        boolean zC = h1.f.c(f6, f7);
        C2463c c2463c = c2974e.f24716j;
        if (!zC) {
            c2974e.f24713d = f7;
            c2463c.t0();
        }
        AbstractC2711q abstractC2711q = c2974e.f24714e;
        AbstractC2711q abstractC2711q2 = this.f24720b;
        if (!kotlin.jvm.internal.o.c(abstractC2711q, abstractC2711q2)) {
            c2974e.f24714e = abstractC2711q2;
            c2463c.t0();
        }
        p0.X x6 = c2974e.f24715f;
        p0.X x7 = this.f24721c;
        if (kotlin.jvm.internal.o.c(x6, x7)) {
            return;
        }
        c2974e.f24715f = x7;
        c2463c.t0();
        AbstractC0303l.t(c2974e).D();
    }
}
