65 lines
2.2 KiB
Java
65 lines
2.2 KiB
Java
package c.i.e.s.b;
|
|
/* compiled from: FormatInformation */
|
|
public final class g {
|
|
public static final int[][] a = {new int[]{21522, 0}, new int[]{20773, 1}, new int[]{24188, 2}, new int[]{23371, 3}, new int[]{17913, 4}, new int[]{16590, 5}, new int[]{20375, 6}, new int[]{19104, 7}, new int[]{30660, 8}, new int[]{29427, 9}, new int[]{32170, 10}, new int[]{30877, 11}, new int[]{26159, 12}, new int[]{25368, 13}, new int[]{27713, 14}, new int[]{26998, 15}, new int[]{5769, 16}, new int[]{5054, 17}, new int[]{7399, 18}, new int[]{6608, 19}, new int[]{1890, 20}, new int[]{597, 21}, new int[]{3340, 22}, new int[]{2107, 23}, new int[]{13663, 24}, new int[]{12392, 25}, new int[]{16177, 26}, new int[]{14854, 27}, new int[]{9396, 28}, new int[]{8579, 29}, new int[]{11994, 30}, new int[]{11245, 31}};
|
|
public final f b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final byte f1445c;
|
|
|
|
public g(int i) {
|
|
int i2 = (i >> 3) & 3;
|
|
if (i2 >= 0) {
|
|
f[] fVarArr = f.m;
|
|
if (i2 < fVarArr.length) {
|
|
this.b = fVarArr[i2];
|
|
this.f1445c = (byte) (i & 7);
|
|
return;
|
|
}
|
|
}
|
|
throw new IllegalArgumentException();
|
|
}
|
|
|
|
public static g a(int i, int i2) {
|
|
int b;
|
|
int[][] iArr = a;
|
|
int i3 = Integer.MAX_VALUE;
|
|
int i4 = 0;
|
|
for (int[] iArr2 : iArr) {
|
|
int i5 = iArr2[0];
|
|
if (i5 == i || i5 == i2) {
|
|
return new g(iArr2[1]);
|
|
}
|
|
int b2 = b(i, i5);
|
|
if (b2 < i3) {
|
|
i4 = iArr2[1];
|
|
i3 = b2;
|
|
}
|
|
if (i != i2 && (b = b(i2, i5)) < i3) {
|
|
i4 = iArr2[1];
|
|
i3 = b;
|
|
}
|
|
}
|
|
if (i3 <= 3) {
|
|
return new g(i4);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public static int b(int i, int i2) {
|
|
return Integer.bitCount(i ^ i2);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (!(obj instanceof g)) {
|
|
return false;
|
|
}
|
|
g gVar = (g) obj;
|
|
return this.b == gVar.b && this.f1445c == gVar.f1445c;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (this.b.ordinal() << 3) | this.f1445c;
|
|
}
|
|
}
|