47 lines
1.3 KiB
Java
47 lines
1.3 KiB
Java
|
package o;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes2.dex */
|
||
|
public abstract class yLN extends SpN {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public yLN(C17416wdP c17416wdP) {
|
||
|
super(c17416wdP);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final void d(StringBuilder sb, int i) {
|
||
|
sb.append("(01)");
|
||
|
int length = sb.length();
|
||
|
sb.append('9');
|
||
|
b(sb, i, length);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final void b(StringBuilder sb, int i, int i2) {
|
||
|
for (int i3 = 0; i3 < 4; i3++) {
|
||
|
int d = itT.d(d().c, (i3 * 10) + i, 10);
|
||
|
if (d / 100 == 0) {
|
||
|
sb.append('0');
|
||
|
}
|
||
|
if (d / 10 == 0) {
|
||
|
sb.append('0');
|
||
|
}
|
||
|
sb.append(d);
|
||
|
}
|
||
|
b(sb, i2);
|
||
|
}
|
||
|
|
||
|
private static void b(StringBuilder sb, int i) {
|
||
|
int i2 = 0;
|
||
|
for (int i3 = 0; i3 < 13; i3++) {
|
||
|
int charAt = sb.charAt(i3 + i) - '0';
|
||
|
if ((i3 & 1) == 0) {
|
||
|
charAt *= 3;
|
||
|
}
|
||
|
i2 += charAt;
|
||
|
}
|
||
|
int i4 = 10 - (i2 % 10);
|
||
|
sb.append(i4 != 10 ? i4 : 0);
|
||
|
}
|
||
|
}
|