54 lines
1.3 KiB
Java
54 lines
1.3 KiB
Java
|
package o;
|
||
|
|
||
|
/* renamed from: o.blp, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class C5057blp {
|
||
|
public static final C5057blp c = new C5057blp();
|
||
|
public final cVU a;
|
||
|
public final cVU i;
|
||
|
public final int e = 929;
|
||
|
public final int[] d = new int[929];
|
||
|
public final int[] b = new int[929];
|
||
|
|
||
|
private C5057blp() {
|
||
|
int i = 1;
|
||
|
for (int i2 = 0; i2 < 929; i2++) {
|
||
|
this.d[i2] = i;
|
||
|
i = (i * 3) % 929;
|
||
|
}
|
||
|
for (int i3 = 0; i3 < 928; i3++) {
|
||
|
this.b[this.d[i3]] = i3;
|
||
|
}
|
||
|
this.i = new cVU(this, new int[]{0});
|
||
|
this.a = new cVU(this, new int[]{1});
|
||
|
}
|
||
|
|
||
|
public final cVU b(int i, int i2) {
|
||
|
if (i < 0) {
|
||
|
throw new IllegalArgumentException();
|
||
|
}
|
||
|
if (i2 == 0) {
|
||
|
return this.i;
|
||
|
}
|
||
|
int[] iArr = new int[i + 1];
|
||
|
iArr[0] = i2;
|
||
|
return new cVU(this, iArr);
|
||
|
}
|
||
|
|
||
|
public final int d(int i) {
|
||
|
if (i == 0) {
|
||
|
throw new ArithmeticException();
|
||
|
}
|
||
|
return this.d[(this.e - this.b[i]) - 1];
|
||
|
}
|
||
|
|
||
|
public final int c(int i, int i2) {
|
||
|
if (i == 0 || i2 == 0) {
|
||
|
return 0;
|
||
|
}
|
||
|
int[] iArr = this.d;
|
||
|
int[] iArr2 = this.b;
|
||
|
return iArr[(iArr2[i] + iArr2[i2]) % (this.e - 1)];
|
||
|
}
|
||
|
}
|