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

1033 lines
32 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import com.google.gson.Gson;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.io.InvalidObjectException;
import java.io.ObjectStreamException;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.threeten.bp.DateTimeException;
import org.threeten.bp.temporal.UnsupportedTemporalTypeException;
/* loaded from: classes.dex */
public final class gsI extends AbstractC15502gsH implements gtK, gtJ, Comparable<gsI>, Serializable {
public static final gtQ<gsI> FROM;
private static final ConcurrentMap<String, gsI> ID_CACHE;
public static final gsI MAX;
private static final int MAX_SECONDS = 64800;
public static final gsI MIN;
private static final int MINUTES_PER_HOUR = 60;
private static final ConcurrentMap<Integer, gsI> SECONDS_CACHE;
private static final int SECONDS_PER_HOUR = 3600;
private static final int SECONDS_PER_MINUTE = 60;
public static final gsI UTC;
private static int a = 0;
private static char b = 0;
private static int c = 0;
private static long e = 0;
private static final long serialVersionUID = 2357656521762053153L;
private final transient String id;
private int totalSeconds;
private static final byte[] $$a = {60, -87, -31, 8};
private static final int $$b = 209;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void g(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r7 = 115 - r7
byte[] r0 = o.gsI.$$a
int r6 = r6 * 4
int r6 = r6 + 4
int r5 = r5 * 2
int r1 = 1 - r5
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L17
r3 = r5
r7 = r6
r4 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L27
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L27:
r3 = r0[r6]
L29:
int r3 = -r3
int r6 = r6 + 1
int r7 = r7 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.gsI.g(short, short, short, java.lang.Object[]):void");
}
@Override // java.lang.Comparable
public final /* bridge */ /* synthetic */ int compareTo(gsI gsi) {
int i = 2 % 2;
int i2 = d + 111;
a = i2 % 128;
int i3 = i2 % 2;
int compareTo2 = compareTo2(gsi);
if (i3 == 0) {
int i4 = 53 / 0;
}
int i5 = a + 125;
d = i5 % 128;
int i6 = i5 % 2;
return compareTo2;
}
static {
a = 1;
a();
FROM = new gtQ<gsI>() { // from class: o.gsI.5
@Override // o.gtQ
public final gsI queryFrom(gtK gtk) {
return gsI.from(gtk);
}
};
SECONDS_CACHE = new ConcurrentHashMap(16, 0.75f, 4);
ID_CACHE = new ConcurrentHashMap(16, 0.75f, 4);
UTC = ofTotalSeconds(0);
MIN = ofTotalSeconds(-64800);
MAX = ofTotalSeconds(MAX_SECONDS);
int i = d + 53;
a = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $11 + 19;
$10 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 46, 5 - Drawable.resolveOpacity(0, 0), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 304, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (52176 - AndroidCharacter.getMirror('0')));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
g(b2, b3, b3, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777964, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 402, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (21608 - (KeyEvent.getMaxKeyCode() >> 16)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
g(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (e ^ 9051040786702654117L)) ^ ((int) (c ^ 9051040786702654117L))) ^ ((char) (b ^ 9051040786702654117L)));
nhs.a++;
int i5 = $10 + 39;
$11 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i7 = $10 + 89;
$11 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
/* JADX WARN: Removed duplicated region for block: B:20:0x00db A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:24:0x00f0 */
/* JADX WARN: Removed duplicated region for block: B:30:0x010b */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static o.gsI of(java.lang.String r13) {
/*
Method dump skipped, instructions count: 298
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.gsI.of(java.lang.String):o.gsI");
}
private static int parseNumber(CharSequence charSequence, int i, boolean z) {
int i2 = 2 % 2;
int i3 = a + 71;
d = i3 % 128;
int i4 = i3 % 2;
if (z && charSequence.charAt(i - 1) != ':') {
throw new DateTimeException("Invalid ID for ZoneOffset, colon not found when expected: ".concat(String.valueOf(charSequence)));
}
char charAt = charSequence.charAt(i);
char charAt2 = charSequence.charAt(i + 1);
if (charAt >= '0' && charAt <= '9') {
int i5 = a + 15;
d = i5 % 128;
int i6 = i5 % 2;
if (charAt2 >= '0' && charAt2 <= '9') {
return ((charAt - '0') * 10) + (charAt2 - '0');
}
}
throw new DateTimeException("Invalid ID for ZoneOffset, non numeric characters found: ".concat(String.valueOf(charSequence)));
}
public static gsI ofHours(int i) {
int i2 = 2 % 2;
int i3 = a + 55;
d = i3 % 128;
int i4 = i3 % 2;
gsI ofHoursMinutesSeconds = ofHoursMinutesSeconds(i, 0, 0);
int i5 = a + 11;
d = i5 % 128;
int i6 = i5 % 2;
return ofHoursMinutesSeconds;
}
public static gsI ofHoursMinutes(int i, int i2) {
int i3 = 2 % 2;
int i4 = d + 3;
a = i4 % 128;
return ofHoursMinutesSeconds(i, i2, i4 % 2 == 0 ? 1 : 0);
}
public static gsI ofHoursMinutesSeconds(int i, int i2, int i3) {
int i4 = 2 % 2;
int i5 = d + 79;
a = i5 % 128;
if (i5 % 2 != 0) {
validate(i, i2, i3);
return ofTotalSeconds(totalSeconds(i, i2, i3));
}
validate(i, i2, i3);
ofTotalSeconds(totalSeconds(i, i2, i3));
throw null;
}
public static gsI from(gtK gtk) {
int i = 2 % 2;
gsI gsi = (gsI) gtk.query(gtM.offset());
if (gsi == null) {
StringBuilder sb = new StringBuilder("Unable to obtain ZoneOffset from TemporalAccessor: ");
sb.append(gtk);
sb.append(", type ");
sb.append(gtk.getClass().getName());
throw new DateTimeException(sb.toString());
}
int i2 = d + 27;
int i3 = i2 % 128;
a = i3;
if (i2 % 2 == 0) {
throw null;
}
int i4 = i3 + 85;
d = i4 % 128;
int i5 = i4 % 2;
return gsi;
}
private static void validate(int i, int i2, int i3) {
int i4 = 2 % 2;
if (i < -18 || i > 18) {
StringBuilder sb = new StringBuilder("Zone offset hours not in valid range: value ");
sb.append(i);
sb.append(" is not in the range -18 to 18");
throw new DateTimeException(sb.toString());
}
int i5 = a + 19;
int i6 = i5 % 128;
d = i6;
int i7 = i5 % 2;
if (i > 0) {
int i8 = i6 + 85;
a = i8 % 128;
int i9 = i8 % 2;
if (i2 < 0 || i3 < 0) {
throw new DateTimeException("Zone offset minutes and seconds must be positive because hours is positive");
}
} else if (i < 0) {
if (i2 > 0 || i3 > 0) {
throw new DateTimeException("Zone offset minutes and seconds must be negative because hours is negative");
}
} else if ((i2 > 0 && i3 < 0) || (i2 < 0 && i3 > 0)) {
throw new DateTimeException("Zone offset minutes and seconds must have the same sign");
}
if (Math.abs(i2) > 59) {
StringBuilder sb2 = new StringBuilder("Zone offset minutes not in valid range: abs(value) ");
sb2.append(Math.abs(i2));
sb2.append(" is not in the range 0 to 59");
throw new DateTimeException(sb2.toString());
}
if (Math.abs(i3) > 59) {
StringBuilder sb3 = new StringBuilder("Zone offset seconds not in valid range: abs(value) ");
sb3.append(Math.abs(i3));
sb3.append(" is not in the range 0 to 59");
throw new DateTimeException(sb3.toString());
}
if (Math.abs(i) == 18) {
if (Math.abs(i2) > 0 || Math.abs(i3) > 0) {
throw new DateTimeException("Zone offset not in valid range: -18:00 to +18:00");
}
}
}
public static gsI ofTotalSeconds(int i) {
int i2 = 2 % 2;
if (Math.abs(i) > MAX_SECONDS) {
throw new DateTimeException("Zone offset not in valid range: -18:00 to +18:00");
}
int i3 = d + 21;
int i4 = i3 % 128;
a = i4;
int i5 = i3 % 2;
if (i % 900 != 0) {
return new gsI(i);
}
int i6 = i4 + 41;
d = i6 % 128;
if (i6 % 2 != 0) {
SECONDS_CACHE.get(Integer.valueOf(i));
throw null;
}
Integer valueOf = Integer.valueOf(i);
ConcurrentMap<Integer, gsI> concurrentMap = SECONDS_CACHE;
gsI gsi = concurrentMap.get(valueOf);
if (gsi != null) {
return gsi;
}
concurrentMap.putIfAbsent(valueOf, new gsI(i));
gsI gsi2 = concurrentMap.get(valueOf);
ID_CACHE.putIfAbsent(gsi2.getId(), gsi2);
return gsi2;
}
private gsI(int i) {
this.totalSeconds = i;
this.id = buildId(i);
}
private static String buildId(int i) {
String str;
int i2 = 2 % 2;
if (i == 0) {
return "Z";
}
int abs = Math.abs(i);
StringBuilder sb = new StringBuilder();
int i3 = abs / SECONDS_PER_HOUR;
int i4 = (abs / 60) % 60;
if (i < 0) {
int i5 = a + 21;
d = i5 % 128;
int i6 = i5 % 2;
str = "-";
} else {
str = "+";
}
sb.append(str);
String str2 = "";
if (i3 < 10) {
Object[] objArr = new Object[1];
f((char) (47721 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), TextUtils.lastIndexOf("", '0', 0, 0) - 1487656194, new char[]{64885, 21546, 27303, 1210}, new char[]{64844}, new char[]{0, 0, 0, 0}, objArr);
str2 = ((String) objArr[0]).intern();
} else {
int i7 = d + 67;
a = i7 % 128;
int i8 = i7 % 2;
}
sb.append(str2);
sb.append(i3);
String str3 = ":";
sb.append(i4 < 10 ? ":0" : ":");
sb.append(i4);
int i9 = abs % 60;
if (i9 != 0) {
if (i9 < 10) {
int i10 = a + 57;
int i11 = i10 % 128;
d = i11;
int i12 = i10 % 2;
int i13 = i11 + 49;
a = i13 % 128;
int i14 = i13 % 2;
str3 = ":0";
}
sb.append(str3);
sb.append(i9);
}
return sb.toString();
}
@Override // o.AbstractC15502gsH
public final AbstractC15574gua getRules() {
int i = 2 % 2;
int i2 = d + 63;
a = i2 % 128;
if (i2 % 2 == 0) {
AbstractC15574gua.of(this);
Object obj = null;
obj.hashCode();
throw null;
}
AbstractC15574gua of = AbstractC15574gua.of(this);
int i3 = d + 9;
a = i3 % 128;
int i4 = i3 % 2;
return of;
}
/* JADX WARN: Code restructure failed: missing block: B:17:0x003d, code lost:
if (r6 == o.EnumC15534gtD.OFFSET_SECONDS) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x004e, code lost:
r6 = o.gsI.a + 19;
o.gsI.d = r6 % 128;
r6 = r6 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0058, code lost:
return false;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0044, code lost:
r6 = o.gsI.a + 63;
o.gsI.d = r6 % 128;
r6 = r6 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:?, code lost:
return true;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0042, code lost:
if (r6 == o.EnumC15534gtD.OFFSET_SECONDS) goto L21;
*/
@Override // o.gtK
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean isSupported(o.InterfaceC15537gtP r6) {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.gsI.d
int r1 = r1 + 55
int r2 = r1 % 128
o.gsI.a = r2
int r1 = r1 % r0
boolean r1 = r6 instanceof o.EnumC15534gtD
r3 = 1
r1 = r1 ^ r3
r4 = 0
if (r1 == 0) goto L2f
if (r6 == 0) goto L2d
int r2 = r2 + 123
int r1 = r2 % 128
o.gsI.d = r1
int r2 = r2 % r0
if (r2 != 0) goto L25
boolean r6 = r6.isSupportedBy(r5)
if (r6 == r3) goto L2e
goto L2d
L25:
r6.isSupportedBy(r5)
r6 = 0
r6.hashCode()
throw r6
L2d:
r3 = r4
L2e:
return r3
L2f:
int r2 = r2 + 59
int r1 = r2 % 128
o.gsI.d = r1
int r2 = r2 % r0
if (r2 == 0) goto L40
o.gtD r1 = o.EnumC15534gtD.OFFSET_SECONDS
r2 = 35
int r2 = r2 / r4
if (r6 != r1) goto L4e
goto L44
L40:
o.gtD r1 = o.EnumC15534gtD.OFFSET_SECONDS
if (r6 != r1) goto L4e
L44:
int r6 = o.gsI.a
int r6 = r6 + 63
int r1 = r6 % 128
o.gsI.d = r1
int r6 = r6 % r0
goto L58
L4e:
int r6 = o.gsI.a
int r6 = r6 + 19
int r1 = r6 % 128
o.gsI.d = r1
int r6 = r6 % r0
r3 = r4
L58:
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: o.gsI.isSupported(o.gtP):boolean");
}
@Override // o.gtK
public final gtT range(InterfaceC15537gtP interfaceC15537gtP) {
int i = 2 % 2;
int i2 = a + 123;
d = i2 % 128;
if (i2 % 2 == 0) {
if (interfaceC15537gtP == EnumC15534gtD.OFFSET_SECONDS) {
return interfaceC15537gtP.range();
}
if (interfaceC15537gtP instanceof EnumC15534gtD) {
throw new UnsupportedTemporalTypeException("Unsupported field: ".concat(String.valueOf(interfaceC15537gtP)));
}
gtT rangeRefinedBy = interfaceC15537gtP.rangeRefinedBy(this);
int i3 = a + 77;
d = i3 % 128;
if (i3 % 2 == 0) {
return rangeRefinedBy;
}
throw null;
}
EnumC15534gtD enumC15534gtD = EnumC15534gtD.OFFSET_SECONDS;
throw null;
}
@Override // o.gtK
public final int get(InterfaceC15537gtP interfaceC15537gtP) {
int i = 2 % 2;
if (interfaceC15537gtP == EnumC15534gtD.OFFSET_SECONDS) {
int i2 = d;
int i3 = i2 + 21;
a = i3 % 128;
int i4 = i3 % 2;
int i5 = this.totalSeconds;
int i6 = i2 + 1;
a = i6 % 128;
int i7 = i6 % 2;
return i5;
}
if (interfaceC15537gtP instanceof EnumC15534gtD) {
throw new UnsupportedTemporalTypeException("Unsupported field: ".concat(String.valueOf(interfaceC15537gtP)));
}
int i8 = a + 25;
d = i8 % 128;
Object obj = null;
if (i8 % 2 != 0) {
range(interfaceC15537gtP).checkValidIntValue(getLong(interfaceC15537gtP), interfaceC15537gtP);
obj.hashCode();
throw null;
}
int checkValidIntValue = range(interfaceC15537gtP).checkValidIntValue(getLong(interfaceC15537gtP), interfaceC15537gtP);
int i9 = d + 53;
a = i9 % 128;
if (i9 % 2 != 0) {
return checkValidIntValue;
}
throw null;
}
@Override // o.gtK
public final long getLong(InterfaceC15537gtP interfaceC15537gtP) {
int i = 2 % 2;
if (interfaceC15537gtP == EnumC15534gtD.OFFSET_SECONDS) {
int i2 = a + 103;
d = i2 % 128;
if (i2 % 2 == 0) {
return this.totalSeconds;
}
int i3 = 52 / 0;
return this.totalSeconds;
}
if (interfaceC15537gtP instanceof EnumC15534gtD) {
throw new DateTimeException("Unsupported field: ".concat(String.valueOf(interfaceC15537gtP)));
}
int i4 = a + 47;
d = i4 % 128;
if (i4 % 2 == 0) {
return interfaceC15537gtP.getFrom(this);
}
interfaceC15537gtP.getFrom(this);
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Multi-variable type inference failed */
@Override // o.gtK
public final <R> R query(gtQ<R> gtq) {
int i = 2 % 2;
Object obj = null;
if (gtq == gtM.offset() || gtq == gtM.zone()) {
int i2 = a + 3;
d = i2 % 128;
if (i2 % 2 == 0) {
return this;
}
obj.hashCode();
throw null;
}
int i3 = a + 31;
d = i3 % 128;
int i4 = i3 % 2;
if (gtq != gtM.localDate()) {
int i5 = a + 7;
d = i5 % 128;
int i6 = i5 % 2;
if (gtq != gtM.localTime() && gtq != gtM.precision() && gtq != gtM.chronology()) {
int i7 = d + 81;
a = i7 % 128;
int i8 = i7 % 2;
if (gtq != gtM.zoneId()) {
return gtq.queryFrom(this);
}
}
}
return null;
}
@Override // o.gtJ
public final InterfaceC15536gtL adjustInto(InterfaceC15536gtL interfaceC15536gtL) {
int i = 2 % 2;
int i2 = a + 91;
d = i2 % 128;
int i3 = i2 % 2;
EnumC15534gtD enumC15534gtD = EnumC15534gtD.OFFSET_SECONDS;
if (i3 == 0) {
return interfaceC15536gtL.with(enumC15534gtD, this.totalSeconds);
}
interfaceC15536gtL.with(enumC15534gtD, this.totalSeconds);
throw null;
}
/* renamed from: compareTo, reason: avoid collision after fix types in other method */
public final int compareTo2(gsI gsi) {
int i = 2 % 2;
int i2 = a + 113;
int i3 = i2 % 128;
d = i3;
int i4 = i2 % 2;
int i5 = gsi.totalSeconds - this.totalSeconds;
int i6 = i3 + 79;
a = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 90 / 0;
}
return i5;
}
@Override // o.AbstractC15502gsH
public final boolean equals(Object obj) {
int i = 2 % 2;
int i2 = a + 81;
int i3 = i2 % 128;
d = i3;
int i4 = i2 % 2;
if (this == obj) {
return true;
}
if (obj instanceof gsI) {
return this.totalSeconds == ((gsI) obj).totalSeconds;
}
int i5 = i3 + 33;
a = i5 % 128;
if (i5 % 2 != 0) {
return false;
}
throw null;
}
private Object writeReplace() {
int i = 2 % 2;
C15501gsD c15501gsD = new C15501gsD((byte) 8, this);
int i2 = d + 35;
a = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 83 / 0;
}
return c15501gsD;
}
private Object readResolve() throws ObjectStreamException {
int i = 2 % 2;
throw new InvalidObjectException("Deserialization via serialization delegate");
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15502gsH
public final void write(DataOutput dataOutput) throws IOException {
int i = 2 % 2;
int i2 = d + 81;
a = i2 % 128;
int i3 = i2 % 2;
dataOutput.writeByte(8);
writeExternal(dataOutput);
int i4 = a + 35;
d = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:16:0x001d, code lost:
r2 = r2 + 27;
o.gsI.a = r2 % 128;
r2 = r2 % 2;
r2 = r1 / 900;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x001b, code lost:
if ((r1 % 900) == 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if ((r1 / 7714) == 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0027, code lost:
r2 = r2 + 31;
o.gsI.a = r2 % 128;
r2 = r2 % 2;
r2 = 127;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void writeExternal(java.io.DataOutput r6) throws java.io.IOException {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.gsI.a
int r1 = r1 + 21
int r2 = r1 % 128
o.gsI.d = r2
int r1 = r1 % r0
r3 = 127(0x7f, float:1.78E-43)
if (r1 == 0) goto L17
int r1 = r5.totalSeconds
int r4 = r1 / 7714
if (r4 != 0) goto L27
goto L1d
L17:
int r1 = r5.totalSeconds
int r4 = r1 % 900
if (r4 != 0) goto L27
L1d:
int r2 = r2 + 27
int r4 = r2 % 128
o.gsI.a = r4
int r2 = r2 % r0
int r2 = r1 / 900
goto L2f
L27:
int r2 = r2 + 31
int r4 = r2 % 128
o.gsI.a = r4
int r2 = r2 % r0
r2 = r3
L2f:
r6.writeByte(r2)
if (r2 != r3) goto L48
int r2 = o.gsI.d
int r2 = r2 + 39
int r3 = r2 % 128
o.gsI.a = r3
int r2 = r2 % r0
if (r2 == 0) goto L43
r6.writeInt(r1)
goto L48
L43:
r6.writeInt(r1)
r6 = 0
throw r6
L48:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.gsI.writeExternal(java.io.DataOutput):void");
}
public static gsI readExternal(DataInput dataInput) throws IOException {
int i = 2 % 2;
byte readByte = dataInput.readByte();
if (readByte == Byte.MAX_VALUE) {
int i2 = d + 73;
a = i2 % 128;
int i3 = i2 % 2;
return ofTotalSeconds(dataInput.readInt());
}
gsI ofTotalSeconds = ofTotalSeconds(readByte * 900);
int i4 = a + 95;
d = i4 % 128;
int i5 = i4 % 2;
return ofTotalSeconds;
}
private /* synthetic */ void b(Gson gson, JsonReader jsonReader, int i) {
boolean z;
int i2 = 2 % 2;
int i3 = d + 1;
a = i3 % 128;
int i4 = i3 % 2;
if (jsonReader.peek() != JsonToken.NULL) {
int i5 = a + 1;
d = i5 % 128;
int i6 = i5 % 2;
z = true;
} else {
z = false;
}
if (i != 510) {
jsonReader.peek();
JsonToken jsonToken = JsonToken.NULL;
jsonReader.skipValue();
} else {
if (!z) {
jsonReader.nextNull();
return;
}
int i7 = d + 77;
a = i7 % 128;
int i8 = i7 % 2;
this.totalSeconds = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
int i9 = d + 105;
a = i9 % 128;
int i10 = i9 % 2;
}
}
static void a() {
e = 9051040786702654117L;
c = 1880542633;
b = (char) 55973;
}
public final /* synthetic */ void c(Gson gson, JsonReader jsonReader, InterfaceC15734iCu interfaceC15734iCu) {
int i = 2 % 2;
int i2 = a + 93;
d = i2 % 128;
int i3 = i2 % 2;
jsonReader.beginObject();
while (jsonReader.hasNext()) {
int i4 = d + 109;
a = i4 % 128;
int i5 = i4 % 2;
b(gson, jsonReader, interfaceC15734iCu.e(jsonReader));
int i6 = a + 91;
d = i6 % 128;
int i7 = i6 % 2;
}
jsonReader.endObject();
}
public /* synthetic */ gsI() {
}
private /* synthetic */ void b(Gson gson, JsonWriter jsonWriter, PYE pye) {
int i = 2 % 2;
int i2 = d + 57;
a = i2 % 128;
int i3 = i2 % 2;
pye.c(jsonWriter, 508);
Class cls = Integer.TYPE;
Integer valueOf = Integer.valueOf(this.totalSeconds);
DTh.b(gson, cls, valueOf).write(jsonWriter, valueOf);
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final /* synthetic */ void c(Gson gson, JsonWriter jsonWriter, PYE pye) {
int i = 2 % 2;
int i2 = d + 41;
a = i2 % 128;
int i3 = i2 % 2;
jsonWriter.beginObject();
b(gson, jsonWriter, pye);
jsonWriter.endObject();
if (i3 == 0) {
int i4 = 68 / 0;
}
int i5 = a + 93;
d = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.AbstractC15502gsH
public final String toString() {
int i = 2 % 2;
int i2 = a + 69;
int i3 = i2 % 128;
d = i3;
int i4 = i2 % 2;
String str = this.id;
int i5 = i3 + 69;
a = i5 % 128;
if (i5 % 2 != 0) {
return str;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractC15502gsH
public final int hashCode() {
int i;
int i2 = 2 % 2;
int i3 = d;
int i4 = i3 + 15;
a = i4 % 128;
if (i4 % 2 == 0) {
i = this.totalSeconds;
int i5 = 30 / 0;
} else {
i = this.totalSeconds;
}
int i6 = i3 + 99;
a = i6 % 128;
if (i6 % 2 != 0) {
return i;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final int getTotalSeconds() {
int i;
int i2 = 2 % 2;
int i3 = d;
int i4 = i3 + 87;
a = i4 % 128;
if (i4 % 2 == 0) {
i = this.totalSeconds;
int i5 = 76 / 0;
} else {
i = this.totalSeconds;
}
int i6 = i3 + 3;
a = i6 % 128;
if (i6 % 2 != 0) {
return i;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractC15502gsH
public final String getId() {
int i = 2 % 2;
int i2 = d;
int i3 = i2 + 11;
a = i3 % 128;
int i4 = i3 % 2;
String str = this.id;
int i5 = i2 + 15;
a = i5 % 128;
int i6 = i5 % 2;
return str;
}
private static int totalSeconds(int i, int i2, int i3) {
int i4 = 2 % 2;
int i5 = a + 85;
int i6 = i5 % 128;
d = i6;
int i7 = i5 % 2;
int i8 = (i * SECONDS_PER_HOUR) + (i2 * 60) + i3;
int i9 = i6 + 107;
a = i9 % 128;
if (i9 % 2 != 0) {
return i8;
}
throw null;
}
}