package p3; import android.graphics.RectF; import java.util.Arrays; /* loaded from: classes2.dex */ public final class b implements c { /* renamed from: a, reason: collision with root package name */ private final c f13118a; /* renamed from: b, reason: collision with root package name */ private final float f13119b; public b(float f10, c cVar) { while (cVar instanceof b) { cVar = ((b) cVar).f13118a; f10 += ((b) cVar).f13119b; } this.f13118a = cVar; this.f13119b = f10; } @Override // p3.c public float a(RectF rectF) { return Math.max(0.0f, this.f13118a.a(rectF) + this.f13119b); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof b)) { return false; } b bVar = (b) obj; return this.f13118a.equals(bVar.f13118a) && this.f13119b == bVar.f13119b; } public int hashCode() { return Arrays.hashCode(new Object[]{this.f13118a, Float.valueOf(this.f13119b)}); } }