package o; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.util.Arrays; import java.util.HashSet; /* loaded from: classes.dex */ public final class EsB implements Comparable { static int b = 1; public float c; RVV i; public boolean j; private String q; public int d = -1; int a = -1; public int h = 0; public boolean g = false; float[] m = new float[9]; float[] e = new float[9]; private paA[] n = new paA[16]; private int k = 0; public int l = 0; boolean f = false; private int p = -1; private float s = BitmapDescriptorFactory.HUE_RED; /* renamed from: o, reason: collision with root package name */ private HashSet f8152o = null; /* loaded from: classes.dex */ public enum RVV { UNRESTRICTED, CONSTANT, SLACK, ERROR, UNKNOWN } @Override // java.lang.Comparable public final /* bridge */ /* synthetic */ int compareTo(EsB esB) { return this.d - esB.d; } public EsB(RVV rvv) { this.i = rvv; } public final void e(paA paa) { int i = 0; while (true) { int i2 = this.k; if (i < i2) { if (this.n[i] == paa) { return; } else { i++; } } else { paA[] paaArr = this.n; if (i2 >= paaArr.length) { this.n = (paA[]) Arrays.copyOf(paaArr, paaArr.length << 1); } paA[] paaArr2 = this.n; int i3 = this.k; paaArr2[i3] = paa; this.k = i3 + 1; return; } } } public final void c(paA paa) { int i = this.k; int i2 = 0; while (i2 < i) { if (this.n[i2] == paa) { while (i2 < i - 1) { paA[] paaArr = this.n; int i3 = i2 + 1; paaArr[i2] = paaArr[i3]; i2 = i3; } this.k--; return; } i2++; } } public final void c(Npn npn, paA paa) { int i = this.k; for (int i2 = 0; i2 < i; i2++) { this.n[i2].a(npn, paa, false); } this.k = 0; } public final void e(Npn npn, float f) { this.c = f; this.g = true; this.f = false; this.p = -1; this.s = BitmapDescriptorFactory.HUE_RED; int i = this.k; this.a = -1; for (int i2 = 0; i2 < i; i2++) { this.n[i2].a(npn, this, false); } this.k = 0; } public final void c() { this.q = null; this.i = RVV.UNKNOWN; this.h = 0; this.d = -1; this.a = -1; this.c = BitmapDescriptorFactory.HUE_RED; this.g = false; this.f = false; this.p = -1; this.s = BitmapDescriptorFactory.HUE_RED; int i = this.k; for (int i2 = 0; i2 < i; i2++) { this.n[i2] = null; } this.k = 0; this.l = 0; this.j = false; Arrays.fill(this.e, BitmapDescriptorFactory.HUE_RED); } public final String toString() { StringBuilder sb = new StringBuilder(""); sb.append(this.d); return sb.toString(); } }