what-the-bank/sources/o/C6569cWs.java

85 lines
2.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* renamed from: o.cWs, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C6569cWs {
static final int[] b = new int[0];
static final long[] a = new long[0];
static final Object[] d = new Object[0];
public static int a(int i) {
int i2 = i << 2;
int i3 = 4;
while (true) {
if (i3 >= 32) {
break;
}
int i4 = (1 << i3) - 12;
if (i2 <= i4) {
i2 = i4;
break;
}
i3++;
}
return i2 / 4;
}
public static int e(int i) {
int i2 = i << 3;
int i3 = 4;
while (true) {
if (i3 >= 32) {
break;
}
int i4 = (1 << i3) - 12;
if (i2 <= i4) {
i2 = i4;
break;
}
i3++;
}
return i2 / 8;
}
public static boolean e(Object obj, Object obj2) {
return obj == obj2 || (obj != null && obj.equals(obj2));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static int e(int[] iArr, int i, int i2) {
int i3 = i - 1;
int i4 = 0;
while (i4 <= i3) {
int i5 = (i4 + i3) >>> 1;
int i6 = iArr[i5];
if (i6 < i2) {
i4 = i5 + 1;
} else {
if (i6 <= i2) {
return i5;
}
i3 = i5 - 1;
}
}
return ~i4;
}
public static int e(long[] jArr, int i, long j) {
int i2 = i - 1;
int i3 = 0;
while (i3 <= i2) {
int i4 = (i3 + i2) >>> 1;
long j2 = jArr[i4];
if (j2 < j) {
i3 = i4 + 1;
} else {
if (j2 <= j) {
return i4;
}
i2 = i4 - 1;
}
}
return ~i3;
}
}