package com.airbnb.lottie.parser.moshi; import android.graphics.Color; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.airbnb.lottie.parser.moshi.JsonReader; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.io.EOFException; import java.io.IOException; import java.lang.reflect.Method; import o.C15111ghZ; import o.C15155gij; import o.InterfaceC15149gid; import o.dQY; import o.gdP; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class JsonUtf8Reader extends JsonReader { private static final C15155gij CLOSING_BLOCK_COMMENT; private static final C15155gij DOUBLE_QUOTE_OR_SLASH; private static final C15155gij LINEFEED_OR_CARRIAGE_RETURN; private static final long MIN_INCOMPLETE_INTEGER = -922337203685477580L; private static final int NUMBER_CHAR_DECIMAL = 3; private static final int NUMBER_CHAR_DIGIT = 2; private static final int NUMBER_CHAR_EXP_DIGIT = 7; private static final int NUMBER_CHAR_EXP_E = 5; private static final int NUMBER_CHAR_EXP_SIGN = 6; private static final int NUMBER_CHAR_FRACTION_DIGIT = 4; private static final int NUMBER_CHAR_NONE = 0; private static final int NUMBER_CHAR_SIGN = 1; private static final int PEEKED_BEGIN_ARRAY = 3; private static final int PEEKED_BEGIN_OBJECT = 1; private static final int PEEKED_BUFFERED = 11; private static final int PEEKED_BUFFERED_NAME = 15; private static final int PEEKED_DOUBLE_QUOTED = 9; private static final int PEEKED_DOUBLE_QUOTED_NAME = 13; private static final int PEEKED_END_ARRAY = 4; private static final int PEEKED_END_OBJECT = 2; private static final int PEEKED_EOF = 18; private static final int PEEKED_FALSE = 6; private static final int PEEKED_LONG = 16; private static final int PEEKED_NONE = 0; private static final int PEEKED_NULL = 7; private static final int PEEKED_NUMBER = 17; private static final int PEEKED_SINGLE_QUOTED = 8; private static final int PEEKED_SINGLE_QUOTED_NAME = 12; private static final int PEEKED_TRUE = 5; private static final int PEEKED_UNQUOTED = 10; private static final int PEEKED_UNQUOTED_NAME = 14; private static final C15155gij SINGLE_QUOTE_OR_SLASH; private static final C15155gij UNQUOTED_STRING_TERMINALS; private static char[] b; private static long c; private static int e; private final C15111ghZ buffer; private int peeked = 0; private long peekedLong; private int peekedNumberLength; private String peekedString; private final InterfaceC15149gid source; private static final byte[] $$a = {43, -33, 87, 81}; private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256; private static int $10 = 0; private static int $11 = 1; private static int d = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x0026 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002f). 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 f(short r6, int r7, short r8, java.lang.Object[] r9) { /* byte[] r0 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.$$a int r6 = r6 * 4 int r1 = 1 - r6 int r8 = r8 * 4 int r8 = 3 - r8 int r7 = 106 - r7 byte[] r1 = new byte[r1] r2 = 0 int r6 = 0 - r6 if (r0 != 0) goto L16 r3 = r8 r4 = r2 goto L2f L16: r3 = r2 L17: int r8 = r8 + 1 byte r4 = (byte) r7 r1[r3] = r4 if (r3 != r6) goto L26 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L26: r4 = r0[r8] int r3 = r3 + 1 r5 = r8 r8 = r7 r7 = r4 r4 = r3 r3 = r5 L2f: int r7 = r7 + r8 r8 = r3 r3 = r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.f(short, int, short, java.lang.Object[]):void"); } static { e = 1; e(); SINGLE_QUOTE_OR_SLASH = C15155gij.a("'\\"); DOUBLE_QUOTE_OR_SLASH = C15155gij.a("\"\\"); UNQUOTED_STRING_TERMINALS = C15155gij.a("{}[]:, \n\t\r\f/\\;#="); LINEFEED_OR_CARRIAGE_RETURN = C15155gij.a("\n\r"); CLOSING_BLOCK_COMMENT = C15155gij.a("*/"); int i = d + 123; e = i % 128; int i2 = i % 2; } private static void a(char c2, int i, int i2, Object[] objArr) { int i3; int i4 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; int i5 = $11 + 115; $10 = i5 % 128; int i6 = i5 % 2; while (true) { i3 = 4; if (dqy.a >= i2) { break; } int i7 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(b[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(307 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 32798)); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; f(b2, (byte) (b2 | 8), b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } try { Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(c), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - View.resolveSizeAndState(0, 0, 0), 5 - (Process.myPid() >> 22), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; f(b3, (byte) (b3 | 7), b3, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i7] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); try { Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777623, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (Color.rgb(0, 0, 0) + 16806450)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr7 = new Object[1]; f(b4, b5, b5, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { cArr[dqy.a] = (char) jArr[dqy.a]; try { Object[] objArr8 = {dqy, dqy}; Object obj4 = xzZ.y.get(1071125919); if (obj4 == null) { Class cls4 = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 406, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + i3, (char) (29234 - View.MeasureSpec.getMode(0))); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr9 = new Object[1]; f(b6, b7, b7, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, obj4); } ((Method) obj4).invoke(null, objArr8); int i8 = $10 + 1; $11 = i8 % 128; int i9 = i8 % 2; i3 = 4; } catch (Throwable th4) { Throwable cause4 = th4.getCause(); if (cause4 == null) { throw th4; } throw cause4; } } objArr[0] = new String(cArr); } /* JADX INFO: Access modifiers changed from: package-private */ public JsonUtf8Reader(InterfaceC15149gid interfaceC15149gid) { if (interfaceC15149gid == null) { throw new NullPointerException("source == null"); } this.source = interfaceC15149gid; this.buffer = interfaceC15149gid.c(); pushScope(6); int i = d + 27; e = i % 128; int i2 = i % 2; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final void beginArray() throws IOException { int i = 2 % 2; int i2 = e + 107; d = i2 % 128; if (i2 % 2 != 0) { throw null; } int i3 = this.peeked; if (i3 == 0) { i3 = doPeek(); } if (i3 != 3) { StringBuilder sb = new StringBuilder("Expected BEGIN_ARRAY but was "); sb.append(peek()); sb.append(" at path "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } int i4 = e + 65; d = i4 % 128; int i5 = i4 % 2; pushScope(1); this.pathIndices[this.stackSize - 1] = 0; this.peeked = 0; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final void endArray() throws IOException { int i = 2 % 2; int i2 = e + 57; int i3 = i2 % 128; d = i3; int i4 = i2 % 2; int i5 = this.peeked; if (i5 == 0) { int i6 = i3 + 77; e = i6 % 128; int i7 = i6 % 2; i5 = doPeek(); } if (i5 != 4) { StringBuilder sb = new StringBuilder("Expected END_ARRAY but was "); sb.append(peek()); sb.append(" at path "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } this.stackSize--; int[] iArr = this.pathIndices; int i8 = this.stackSize - 1; iArr[i8] = iArr[i8] + 1; this.peeked = 0; int i9 = d + 65; e = i9 % 128; if (i9 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:12:0x001b, code lost: r2 = r2 + 5; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2 % 128; r2 = r2 % 2; r1 = doPeek(); r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d + 73; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x002f, code lost: if ((r2 % 2) != 0) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0031, code lost: r0 = 4 % 4; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0019, code lost: if (r1 == 0) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost: if (r1 == 0) goto L9; */ @Override // com.airbnb.lottie.parser.moshi.JsonReader /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void beginObject() throws java.io.IOException { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d int r1 = r1 + 117 int r2 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r2 int r1 = r1 % r0 r3 = 0 if (r1 != 0) goto L17 int r1 = r5.peeked r4 = 62 int r4 = r4 / r3 if (r1 != 0) goto L33 goto L1b L17: int r1 = r5.peeked if (r1 != 0) goto L33 L1b: int r2 = r2 + 5 int r1 = r2 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r1 int r2 = r2 % r0 int r1 = r5.doPeek() int r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d int r2 = r2 + 73 int r4 = r2 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r4 int r2 = r2 % r0 if (r2 != 0) goto L33 r0 = 4 int r0 = r0 % r0 L33: r0 = 1 if (r1 != r0) goto L3d r0 = 3 r5.pushScope(r0) r5.peeked = r3 return L3d: java.lang.StringBuilder r0 = new java.lang.StringBuilder java.lang.String r1 = "Expected BEGIN_OBJECT but was " r0.(r1) com.airbnb.lottie.parser.moshi.JsonReader$Token r1 = r5.peek() r0.append(r1) java.lang.String r1 = " at path " r0.append(r1) com.airbnb.lottie.parser.moshi.JsonDataException r1 = new com.airbnb.lottie.parser.moshi.JsonDataException java.lang.String r2 = r5.getPath() r0.append(r2) java.lang.String r0 = r0.toString() r1.(r0) throw r1 */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.beginObject():void"); } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final void endObject() throws IOException { int i = 2 % 2; int i2 = this.peeked; if (i2 == 0) { i2 = doPeek(); int i3 = d + 79; e = i3 % 128; int i4 = i3 % 2; } if (i2 != 2) { StringBuilder sb = new StringBuilder("Expected END_OBJECT but was "); sb.append(peek()); sb.append(" at path "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } int i5 = e + 29; d = i5 % 128; if (i5 % 2 != 0) { this.stackSize = this.stackSize; this.pathNames[this.stackSize] = null; int[] iArr = this.pathIndices; int i6 = this.stackSize; iArr[i6] = iArr[i6]; } else { this.stackSize--; this.pathNames[this.stackSize] = null; int[] iArr2 = this.pathIndices; int i7 = this.stackSize - 1; iArr2[i7] = iArr2[i7] + 1; } this.peeked = 0; } /* JADX WARN: Code restructure failed: missing block: B:20:0x001b, code lost: r1 = r1 + 51; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r1 % 128; r1 = r1 % 2; r2 = doPeek(); r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e + 63; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x0019, code lost: if (r2 == 0) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost: if (r2 == 0) goto L9; */ @Override // com.airbnb.lottie.parser.moshi.JsonReader /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final boolean hasNext() throws java.io.IOException { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r2 = r1 + 11 int r3 = r2 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r3 int r2 = r2 % r0 r3 = 0 if (r2 == 0) goto L17 int r2 = r5.peeked r4 = 36 int r4 = r4 / r3 if (r2 != 0) goto L2f goto L1b L17: int r2 = r5.peeked if (r2 != 0) goto L2f L1b: int r1 = r1 + 51 int r2 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2 int r1 = r1 % r0 int r2 = r5.doPeek() int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r1 = r1 + 63 int r4 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r4 int r1 = r1 % r0 L2f: if (r2 == r0) goto L4e int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r1 = r1 + 97 int r4 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r4 int r1 = r1 % r0 if (r1 == 0) goto L3f if (r2 == r0) goto L4e goto L42 L3f: r1 = 4 if (r2 == r1) goto L4e L42: r1 = 18 if (r2 == r1) goto L4e int r4 = r4 + 125 int r1 = r4 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r1 int r4 = r4 % r0 r3 = 1 L4e: return r3 */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.hasNext():boolean"); } /* JADX WARN: Code restructure failed: missing block: B:29:0x001b, code lost: r1 = doPeek(); */ /* JADX WARN: Code restructure failed: missing block: B:31:0x0019, code lost: if (r1 == 0) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost: if (r1 == 0) goto L9; */ @Override // com.airbnb.lottie.parser.moshi.JsonReader /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final com.airbnb.lottie.parser.moshi.JsonReader.Token peek() throws java.io.IOException { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d int r1 = r1 + 53 int r2 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r2 int r1 = r1 % r0 if (r1 != 0) goto L17 int r1 = r4.peeked r2 = 93 int r2 = r2 / 0 if (r1 != 0) goto L1f goto L1b L17: int r1 = r4.peeked if (r1 != 0) goto L1f L1b: int r1 = r4.doPeek() L1f: switch(r1) { case 1: goto L55; case 2: goto L52; case 3: goto L4f; case 4: goto L43; case 5: goto L40; case 6: goto L40; case 7: goto L34; case 8: goto L31; case 9: goto L31; case 10: goto L31; case 11: goto L31; case 12: goto L2e; case 13: goto L2e; case 14: goto L2e; case 15: goto L2e; case 16: goto L2b; case 17: goto L2b; case 18: goto L28; default: goto L22; } L22: java.lang.AssertionError r0 = new java.lang.AssertionError r0.() throw r0 L28: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.END_DOCUMENT return r0 L2b: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.NUMBER return r0 L2e: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.NAME return r0 L31: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.STRING return r0 L34: com.airbnb.lottie.parser.moshi.JsonReader$Token r1 = com.airbnb.lottie.parser.moshi.JsonReader.Token.NULL int r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r2 = r2 + 9 int r3 = r2 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r3 int r2 = r2 % r0 return r1 L40: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.BOOLEAN return r0 L43: com.airbnb.lottie.parser.moshi.JsonReader$Token r1 = com.airbnb.lottie.parser.moshi.JsonReader.Token.END_ARRAY int r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r2 = r2 + 111 int r3 = r2 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r3 int r2 = r2 % r0 return r1 L4f: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.BEGIN_ARRAY return r0 L52: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.END_OBJECT return r0 L55: com.airbnb.lottie.parser.moshi.JsonReader$Token r0 = com.airbnb.lottie.parser.moshi.JsonReader.Token.BEGIN_OBJECT return r0 */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.peek():com.airbnb.lottie.parser.moshi.JsonReader$Token"); } /* JADX WARN: Code restructure failed: missing block: B:55:0x003f, code lost: if (r6 != 60) goto L13; */ /* JADX WARN: Code restructure failed: missing block: B:56:0x004d, code lost: if (r6 == 59) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:57:0x004f, code lost: if (r6 != 93) goto L20; */ /* JADX WARN: Code restructure failed: missing block: B:58:0x0051, code lost: r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d + 115; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:59:0x005a, code lost: if ((r2 % 2) != 0) goto L18; */ /* JADX WARN: Code restructure failed: missing block: B:60:0x005c, code lost: r16.peeked = 4; */ /* JADX WARN: Code restructure failed: missing block: B:61:?, code lost: return 2; */ /* JADX WARN: Code restructure failed: missing block: B:62:0x005f, code lost: r16.peeked = 4; */ /* JADX WARN: Code restructure failed: missing block: B:63:0x0062, code lost: return 4; */ /* JADX WARN: Code restructure failed: missing block: B:65:0x0069, code lost: throw syntaxError("Unterminated array"); */ /* JADX WARN: Code restructure failed: missing block: B:66:0x006a, code lost: checkLenient(); */ /* JADX WARN: Code restructure failed: missing block: B:68:0x004b, code lost: if (r6 != 44) goto L13; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private int doPeek() throws java.io.IOException { /* Method dump skipped, instructions count: 561 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.doPeek():int"); } private int peekKeyword() throws IOException { String str; String str2; int i; int i2 = 2 % 2; int i3 = d + 71; e = i3 % 128; int i4 = i3 % 2; byte d2 = this.buffer.d(0L); if (d2 == 116 || d2 == 84) { str = "true"; str2 = "TRUE"; i = 5; } else { int i5 = e; int i6 = i5 + 31; d = i6 % 128; if (i6 % 2 == 0 ? d2 != 102 : d2 != 39) { int i7 = i5 + 95; int i8 = i7 % 128; d = i8; if (i7 % 2 == 0 ? d2 != 70 : d2 != 77) { if (d2 != 110) { int i9 = i8 + 13; e = i9 % 128; int i10 = i9 % 2; if (d2 != 78) { return 0; } } Object[] objArr = new Object[1]; a((char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 45256), TextUtils.indexOf("", ""), Color.blue(0) + 4, objArr); str = ((String) objArr[0]).intern(); str2 = "NULL"; i = 7; } } str = "false"; str2 = "FALSE"; i = 6; } int length = str.length(); int i11 = 1; while (i11 < length) { int i12 = i11 + 1; if (!this.source.a(i12)) { return 0; } byte d3 = this.buffer.d(i11); if (d3 != str.charAt(i11) && d3 != str2.charAt(i11)) { int i13 = d; int i14 = i13 + 73; e = i14 % 128; int i15 = i14 % 2; int i16 = i13 + 29; e = i16 % 128; int i17 = i16 % 2; return 0; } i11 = i12; } if (this.source.a(length + 1)) { int i18 = e + 125; d = i18 % 128; int i19 = i18 % 2; if (!(!isLiteral(this.buffer.d(length)))) { return 0; } } this.buffer.j(length); this.peeked = i; int i20 = d + 85; e = i20 % 128; int i21 = i20 % 2; return i; } /* JADX WARN: Code restructure failed: missing block: B:51:0x008d, code lost: if (isLiteral(r12) != false) goto L45; */ /* JADX WARN: Code restructure failed: missing block: B:52:0x0090, code lost: r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e + 55; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:53:0x0099, code lost: if ((r2 % 2) != 0) goto L48; */ /* JADX WARN: Code restructure failed: missing block: B:54:0x009b, code lost: return 0; */ /* JADX WARN: Code restructure failed: missing block: B:55:0x009c, code lost: r1 = null; r1.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:56:0x00a0, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:57:0x00d3, code lost: if (r7 != 2) goto L87; */ /* JADX WARN: Code restructure failed: missing block: B:58:0x00d5, code lost: if (r9 == false) goto L87; */ /* JADX WARN: Code restructure failed: missing block: B:59:0x00d7, code lost: r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e; r3 = r2 + 55; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r3 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:60:0x00e0, code lost: if ((r3 % 2) != 0) goto L85; */ /* JADX WARN: Code restructure failed: missing block: B:62:0x00e6, code lost: if (r10 != Long.MIN_VALUE) goto L77; */ /* JADX WARN: Code restructure failed: missing block: B:63:0x00e8, code lost: if (r8 == false) goto L87; */ /* JADX WARN: Code restructure failed: missing block: B:65:0x00ee, code lost: if (r10 != 0) goto L80; */ /* JADX WARN: Code restructure failed: missing block: B:66:0x00f0, code lost: if (r8 != false) goto L87; */ /* JADX WARN: Code restructure failed: missing block: B:67:0x00f2, code lost: if (r8 != false) goto L82; */ /* JADX WARN: Code restructure failed: missing block: B:68:0x00f4, code lost: r10 = -r10; r2 = r2 + 13; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2 % 128; r2 = r2 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:69:0x00fc, code lost: r16.peekedLong = r10; r16.buffer.j(r6); r1 = 16; */ /* JADX WARN: Code restructure failed: missing block: B:70:0x0106, code lost: r16.peeked = r1; */ /* JADX WARN: Code restructure failed: missing block: B:71:0x0108, code lost: return r1; */ /* JADX WARN: Code restructure failed: missing block: B:73:0x010a, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:74:0x010b, code lost: if (r7 == 2) goto L96; */ /* JADX WARN: Code restructure failed: missing block: B:76:0x010e, code lost: if (r7 == 4) goto L96; */ /* JADX WARN: Code restructure failed: missing block: B:78:0x0111, code lost: if (r7 == 7) goto L96; */ /* JADX WARN: Code restructure failed: missing block: B:79:0x0113, code lost: r2 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e + 99; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:80:0x011c, code lost: if ((r2 % 2) == 0) goto L95; */ /* JADX WARN: Code restructure failed: missing block: B:81:0x011e, code lost: return 1; */ /* JADX WARN: Code restructure failed: missing block: B:82:0x011f, code lost: return 0; */ /* JADX WARN: Code restructure failed: missing block: B:83:0x0120, code lost: r16.peekedNumberLength = r6; r1 = 17; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private int peekNumber() throws java.io.IOException { /* Method dump skipped, instructions count: 293 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.peekNumber():int"); } private boolean isLiteral(int i) throws IOException { int i2 = 2 % 2; int i3 = e; int i4 = i3 + 47; d = i4 % 128; if (i4 % 2 != 0) { if (i == 124) { return false; } } else if (i == 9) { return false; } if (i == 10 || i == 12 || i == 13) { return false; } int i5 = i3 + 89; d = i5 % 128; if (i5 % 2 != 0) { if (i == 91) { return false; } } else if (i == 32) { return false; } if (i != 35) { int i6 = i3 + 63; int i7 = i6 % 128; d = i7; int i8 = i6 % 2; if (i == 44) { return false; } int i9 = i7 + 85; e = i9 % 128; int i10 = i9 % 2; if (i != 47 && i != 61) { if (i == 123) { return false; } int i11 = i7 + 39; e = i11 % 128; if (i11 % 2 == 0) { if (i == 118) { return false; } } else if (i == 125) { return false; } if (i == 58) { return false; } if (i != 59) { switch (i) { case 91: case 93: return false; case 92: break; default: int i12 = i7 + 75; e = i12 % 128; int i13 = i12 % 2; return true; } } } } checkLenient(); return false; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final String nextName() throws IOException { String str; int i = 2 % 2; int i2 = d + 109; e = i2 % 128; if (i2 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } int i3 = this.peeked; if (i3 == 0) { i3 = doPeek(); } if (i3 == 14) { str = nextUnquotedValue(); } else if (i3 == 13) { str = nextQuotedValue(DOUBLE_QUOTE_OR_SLASH); } else if (i3 == 12) { str = nextQuotedValue(SINGLE_QUOTE_OR_SLASH); int i4 = e + 13; d = i4 % 128; int i5 = i4 % 2; } else { if (i3 != 15) { StringBuilder sb = new StringBuilder("Expected a name but was "); sb.append(peek()); sb.append(" at path "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } str = this.peekedString; } this.peeked = 0; this.pathNames[this.stackSize - 1] = str; int i6 = d + 123; e = i6 % 128; int i7 = i6 % 2; return str; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final int selectName(JsonReader.Options options) throws IOException { int i = 2 % 2; int i2 = this.peeked; if (i2 == 0) { i2 = doPeek(); } if (i2 < 12 || i2 > 15) { return -1; } int i3 = e + 109; d = i3 % 128; int i4 = i3 % 2; if (i2 == 15) { return findName(this.peekedString, options); } int c2 = this.source.c(options.doubleQuoteSuffix); if (c2 != -1) { int i5 = e + 35; d = i5 % 128; int i6 = i5 % 2; this.peeked = 0; this.pathNames[this.stackSize - 1] = options.strings[c2]; return c2; } String str = this.pathNames[this.stackSize - 1]; String nextName = nextName(); int findName = findName(nextName, options); if (findName == -1) { int i7 = d + 41; e = i7 % 128; int i8 = i7 % 2; this.peeked = 15; this.peekedString = nextName; this.pathNames[this.stackSize - 1] = str; } return findName; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final void skipName() throws IOException { int i; int i2 = 2 % 2; int i3 = d + 125; e = i3 % 128; int i4 = i3 % 2; if (this.failOnUnknown) { StringBuilder sb = new StringBuilder("Cannot skip unexpected "); sb.append(peek()); sb.append(" at "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } int i5 = this.peeked; if (i5 == 0) { int i6 = d + 17; e = i6 % 128; int i7 = i6 % 2; i5 = doPeek(); } if (i5 != 14) { if (i5 == 13) { int i8 = d + 101; e = i8 % 128; int i9 = i8 % 2; skipQuotedValue(DOUBLE_QUOTE_OR_SLASH); } else if (i5 == 12) { int i10 = e + 65; d = i10 % 128; int i11 = i10 % 2; skipQuotedValue(SINGLE_QUOTE_OR_SLASH); i = d + 69; e = i % 128; } else if (i5 != 15) { StringBuilder sb2 = new StringBuilder("Expected a name but was "); sb2.append(peek()); sb2.append(" at path "); sb2.append(getPath()); throw new JsonDataException(sb2.toString()); } this.peeked = 0; String[] strArr = this.pathNames; int i12 = this.stackSize - 1; Object[] objArr = new Object[1]; a((char) ((ViewConfiguration.getEdgeSlop() >> 16) + 45256), ViewConfiguration.getTouchSlop() >> 8, 3 - TextUtils.indexOf((CharSequence) "", '0'), objArr); strArr[i12] = ((String) objArr[0]).intern(); } skipUnquotedValue(); i = e + 93; d = i % 128; int i13 = i % 2; this.peeked = 0; String[] strArr2 = this.pathNames; int i122 = this.stackSize - 1; Object[] objArr2 = new Object[1]; a((char) ((ViewConfiguration.getEdgeSlop() >> 16) + 45256), ViewConfiguration.getTouchSlop() >> 8, 3 - TextUtils.indexOf((CharSequence) "", '0'), objArr2); strArr2[i122] = ((String) objArr2[0]).intern(); } private int findName(String str, JsonReader.Options options) { int i = 2 % 2; int i2 = d + 125; e = i2 % 128; int i3 = i2 % 2; int length = options.strings.length; for (int i4 = 0; i4 < length; i4++) { if (str.equals(options.strings[i4])) { int i5 = e + 29; d = i5 % 128; if (i5 % 2 != 0) { this.peeked = 1; this.pathNames[this.stackSize >> 1] = str; return i4; } this.peeked = 0; this.pathNames[this.stackSize - 1] = str; return i4; } } return -1; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final String nextString() throws IOException { String b2; int i = 2 % 2; int i2 = d + 117; e = i2 % 128; int i3 = i2 % 2; int i4 = this.peeked; if (i4 == 0) { i4 = doPeek(); } if (i4 == 10) { int i5 = d + 97; e = i5 % 128; int i6 = i5 % 2; b2 = nextUnquotedValue(); int i7 = d + 123; e = i7 % 128; int i8 = i7 % 2; } else if (i4 == 9) { b2 = nextQuotedValue(DOUBLE_QUOTE_OR_SLASH); } else if (i4 == 8) { b2 = nextQuotedValue(SINGLE_QUOTE_OR_SLASH); } else if (i4 == 11) { b2 = this.peekedString; this.peekedString = null; } else if (i4 == 16) { int i9 = e + 85; d = i9 % 128; if (i9 % 2 != 0) { b2 = Long.toString(this.peekedLong); int i10 = 58 / 0; } else { b2 = Long.toString(this.peekedLong); } } else { if (i4 != 17) { StringBuilder sb = new StringBuilder("Expected a string but was "); sb.append(peek()); sb.append(" at path "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } b2 = this.buffer.b(this.peekedNumberLength, gdP.a); } this.peeked = 0; int[] iArr = this.pathIndices; int i11 = this.stackSize - 1; iArr[i11] = iArr[i11] + 1; return b2; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final boolean nextBoolean() throws IOException { int i = 2 % 2; int i2 = this.peeked; if (i2 == 0) { int i3 = d + 75; e = i3 % 128; int i4 = i3 % 2; i2 = doPeek(); } if (i2 == 5) { int i5 = e + 123; d = i5 % 128; int i6 = i5 % 2; this.peeked = 0; int[] iArr = this.pathIndices; int i7 = this.stackSize - 1; iArr[i7] = iArr[i7] + 1; int i8 = d + 67; e = i8 % 128; int i9 = i8 % 2; return true; } if (i2 != 6) { StringBuilder sb = new StringBuilder("Expected a boolean but was "); sb.append(peek()); sb.append(" at path "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } int i10 = e + 47; d = i10 % 128; if (i10 % 2 != 0) { this.peeked = 1; int[] iArr2 = this.pathIndices; int i11 = this.stackSize; iArr2[i11] = iArr2[i11] >> 1; return false; } this.peeked = 0; int[] iArr3 = this.pathIndices; int i12 = this.stackSize - 1; iArr3[i12] = iArr3[i12] + 1; return false; } /* JADX WARN: Code restructure failed: missing block: B:24:0x00c9, code lost: if (java.lang.Double.isInfinite(r5) == false) goto L46; */ @Override // com.airbnb.lottie.parser.moshi.JsonReader /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final double nextDouble() throws java.io.IOException { /* Method dump skipped, instructions count: 333 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.nextDouble():double"); } private String nextQuotedValue(C15155gij c15155gij) throws IOException { int i = 2 % 2; int i2 = d; int i3 = i2 + 51; e = i3 % 128; StringBuilder sb = null; if (i3 % 2 == 0) { sb.hashCode(); throw null; } int i4 = i2 + 39; e = i4 % 128; int i5 = i4 % 2; while (true) { long e2 = this.source.e(c15155gij); if (e2 == -1) { throw syntaxError("Unterminated string"); } if (this.buffer.d(e2) != 92) { if (sb != null) { sb.append(this.buffer.b(e2, gdP.a)); this.buffer.f(); return sb.toString(); } int i6 = e + 39; d = i6 % 128; int i7 = i6 % 2; String b2 = this.buffer.b(e2, gdP.a); this.buffer.f(); int i8 = d + 99; e = i8 % 128; int i9 = i8 % 2; return b2; } if (sb == null) { sb = new StringBuilder(); } sb.append(this.buffer.b(e2, gdP.a)); this.buffer.f(); sb.append(readEscapeCharacter()); } } private String nextUnquotedValue() throws IOException { String b2; int i = 2 % 2; long e2 = this.source.e(UNQUOTED_STRING_TERMINALS); if (e2 != -1) { int i2 = d + 105; e = i2 % 128; if (i2 % 2 == 0) { b2 = this.buffer.b(e2, gdP.a); int i3 = 92 / 0; } else { b2 = this.buffer.b(e2, gdP.a); } } else { C15111ghZ c15111ghZ = this.buffer; b2 = c15111ghZ.b(c15111ghZ.c, gdP.a); } int i4 = d + 27; e = i4 % 128; if (i4 % 2 != 0) { return b2; } Object obj = null; obj.hashCode(); throw null; } private void skipQuotedValue(C15155gij c15155gij) throws IOException { int i = 2 % 2; while (true) { long e2 = this.source.e(c15155gij); if (e2 == -1) { throw syntaxError("Unterminated string"); } int i2 = d + 37; e = i2 % 128; int i3 = i2 % 2; if (this.buffer.d(e2) != 92) { this.buffer.j(e2 + 1); return; } this.buffer.j(e2 + 1); readEscapeCharacter(); int i4 = d + 11; e = i4 % 128; if (i4 % 2 == 0) { int i5 = 3 % 3; } } } private void skipUnquotedValue() throws IOException { int i = 2 % 2; long e2 = this.source.e(UNQUOTED_STRING_TERMINALS); C15111ghZ c15111ghZ = this.buffer; if (e2 == -1) { int i2 = d + 61; e = i2 % 128; int i3 = i2 % 2; e2 = c15111ghZ.c; } c15111ghZ.j(e2); int i4 = d + 75; e = i4 % 128; int i5 = i4 % 2; } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final int nextInt() throws IOException { int i = 2 % 2; int i2 = d; int i3 = i2 + 111; e = i3 % 128; int i4 = i3 % 2; int i5 = this.peeked; if (i5 == 0) { int i6 = i2 + 111; e = i6 % 128; int i7 = i6 % 2; i5 = doPeek(); int i8 = d + 11; e = i8 % 128; int i9 = i8 % 2; } if (i5 == 16) { long j = this.peekedLong; int i10 = (int) j; if (j == i10) { this.peeked = 0; int[] iArr = this.pathIndices; int i11 = this.stackSize - 1; iArr[i11] = iArr[i11] + 1; return i10; } StringBuilder sb = new StringBuilder("Expected an int but was "); sb.append(this.peekedLong); sb.append(" at path "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } if (i5 == 17) { this.peekedString = this.buffer.b(this.peekedNumberLength, gdP.a); int i12 = e + 123; d = i12 % 128; int i13 = i12 % 2; } else { if (i5 != 9) { int i14 = e + 95; d = i14 % 128; int i15 = i14 % 2; if (i5 != 8) { if (i5 != 11) { StringBuilder sb2 = new StringBuilder("Expected an int but was "); sb2.append(peek()); sb2.append(" at path "); sb2.append(getPath()); throw new JsonDataException(sb2.toString()); } } } String nextQuotedValue = i5 == 9 ? nextQuotedValue(DOUBLE_QUOTE_OR_SLASH) : nextQuotedValue(SINGLE_QUOTE_OR_SLASH); this.peekedString = nextQuotedValue; try { int parseInt = Integer.parseInt(nextQuotedValue); this.peeked = 0; int[] iArr2 = this.pathIndices; int i16 = this.stackSize - 1; iArr2[i16] = iArr2[i16] + 1; return parseInt; } catch (NumberFormatException unused) { } } this.peeked = 11; try { double parseDouble = Double.parseDouble(this.peekedString); int i17 = (int) parseDouble; if (i17 != parseDouble) { StringBuilder sb3 = new StringBuilder("Expected an int but was "); sb3.append(this.peekedString); sb3.append(" at path "); sb3.append(getPath()); throw new JsonDataException(sb3.toString()); } this.peekedString = null; this.peeked = 0; int[] iArr3 = this.pathIndices; int i18 = this.stackSize - 1; iArr3[i18] = iArr3[i18] + 1; return i17; } catch (NumberFormatException unused2) { StringBuilder sb4 = new StringBuilder("Expected an int but was "); sb4.append(this.peekedString); sb4.append(" at path "); sb4.append(getPath()); throw new JsonDataException(sb4.toString()); } } @Override // java.io.Closeable, java.lang.AutoCloseable public final void close() throws IOException { int i = 2 % 2; int i2 = e + 15; d = i2 % 128; if (i2 % 2 != 0) { this.peeked = 1; this.scopes[0] = 52; } else { this.peeked = 0; this.scopes[0] = 8; } this.stackSize = 1; C15111ghZ c15111ghZ = this.buffer; c15111ghZ.j(c15111ghZ.c); this.source.close(); } @Override // com.airbnb.lottie.parser.moshi.JsonReader public final void skipValue() throws IOException { int i = 2 % 2; if (this.failOnUnknown) { StringBuilder sb = new StringBuilder("Cannot skip unexpected "); sb.append(peek()); sb.append(" at "); sb.append(getPath()); throw new JsonDataException(sb.toString()); } int i2 = e + 7; d = i2 % 128; int i3 = i2 % 2; int i4 = 0; do { int i5 = this.peeked; if (i5 == 0) { i5 = doPeek(); } if (i5 == 3) { pushScope(1); } else if (i5 == 1) { pushScope(3); } else { if (i5 == 4) { i4--; if (i4 < 0) { StringBuilder sb2 = new StringBuilder("Expected a value but was "); sb2.append(peek()); sb2.append(" at path "); sb2.append(getPath()); throw new JsonDataException(sb2.toString()); } this.stackSize--; } else if (i5 == 2) { int i6 = d + 47; e = i6 % 128; int i7 = i6 % 2; i4--; if (i4 < 0) { StringBuilder sb3 = new StringBuilder("Expected a value but was "); sb3.append(peek()); sb3.append(" at path "); sb3.append(getPath()); throw new JsonDataException(sb3.toString()); } this.stackSize--; } else { if (i5 != 14) { int i8 = d; int i9 = i8 + 37; e = i9 % 128; if (i9 % 2 != 0 ? i5 != 10 : i5 != 7) { int i10 = i8 + 13; e = i10 % 128; if (i10 % 2 != 0 ? i5 != 9 : i5 != 34) { if (i5 != 13) { if (i5 == 8 || i5 == 12) { skipQuotedValue(SINGLE_QUOTE_OR_SLASH); } else if (i5 == 17) { int i11 = i8 + 99; e = i11 % 128; int i12 = i11 % 2; this.buffer.j(this.peekedNumberLength); } else { if (i5 == 18) { StringBuilder sb4 = new StringBuilder("Expected a value but was "); sb4.append(peek()); sb4.append(" at path "); sb4.append(getPath()); throw new JsonDataException(sb4.toString()); } int i13 = i8 + 33; e = i13 % 128; int i14 = i13 % 2; } } } skipQuotedValue(DOUBLE_QUOTE_OR_SLASH); } } skipUnquotedValue(); } this.peeked = 0; } i4++; this.peeked = 0; } while (i4 != 0); int[] iArr = this.pathIndices; int i15 = this.stackSize - 1; iArr[i15] = iArr[i15] + 1; String[] strArr = this.pathNames; int i16 = this.stackSize - 1; Object[] objArr = new Object[1]; a((char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 45256), Color.blue(0), 3 - TextUtils.indexOf((CharSequence) "", '0'), objArr); strArr[i16] = ((String) objArr[0]).intern(); } private int nextNonWhitespace(boolean z) throws IOException { long j; byte d2; int i; int i2 = 2 % 2; while (true) { int i3 = 0; while (true) { int i4 = i3 + 1; if (!this.source.a(i4)) { if (z) { throw new EOFException("End of input"); } return -1; } j = i3; d2 = this.buffer.d(j); if (d2 != 10 && d2 != 32 && d2 != 13) { int i5 = d + 91; i = i5 % 128; e = i; if (i5 % 2 == 0) { if (d2 != 5) { break; } } else if (d2 != 9) { break; } } i3 = i4; } int i6 = i + 41; d = i6 % 128; int i7 = i6 % 2; this.buffer.j(j); if (d2 == 47) { int i8 = e + 39; d = i8 % 128; if (i8 % 2 != 0) { this.source.a(2L); Object obj = null; obj.hashCode(); throw null; } if (!this.source.a(2L)) { return d2; } checkLenient(); byte d3 = this.buffer.d(1L); if (d3 != 42) { int i9 = d + 33; e = i9 % 128; if (i9 % 2 == 0) { if (d3 != 12) { break; } this.buffer.f(); this.buffer.f(); skipToEndOfLine(); } else { if (d3 != 47) { break; } this.buffer.f(); this.buffer.f(); skipToEndOfLine(); } } else { this.buffer.f(); this.buffer.f(); if (!skipToEndOfBlockComment()) { int i10 = d + 1; e = i10 % 128; if (i10 % 2 != 0) { throw syntaxError("Unterminated comment"); } int i11 = 26 / 0; throw syntaxError("Unterminated comment"); } } } else { if (d2 != 35) { return d2; } checkLenient(); skipToEndOfLine(); } } return d2; } private void checkLenient() throws IOException { int i = 2 % 2; int i2 = d + 61; e = i2 % 128; int i3 = i2 % 2; if (!this.lenient) { throw syntaxError("Use JsonReader.setLenient(true) to accept malformed JSON"); } int i4 = d + 121; e = i4 % 128; if (i4 % 2 == 0) { throw null; } } private void skipToEndOfLine() throws IOException { long j; int i = 2 % 2; int i2 = d + 115; e = i2 % 128; int i3 = i2 % 2; long e2 = this.source.e(LINEFEED_OR_CARRIAGE_RETURN); C15111ghZ c15111ghZ = this.buffer; if (e2 != -1) { int i4 = e + 59; d = i4 % 128; int i5 = i4 % 2; j = e2 + 1; } else { j = c15111ghZ.c; } c15111ghZ.j(j); int i6 = d + 77; e = i6 % 128; int i7 = i6 % 2; } /* JADX WARN: Code restructure failed: missing block: B:12:0x002e, code lost: r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e + 123; r2 = r1 % 128; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2; r1 = r1 % 2; r2 = r2 + 23; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x003e, code lost: if ((r2 % 2) != 0) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0040, code lost: r1 = 2 % 3; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0042, code lost: r2 = true; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x002c, code lost: if (r7 != (-1)) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001f, code lost: if (r7 != (-1)) goto L9; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private boolean skipToEndOfBlockComment() throws java.io.IOException { /* r9 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r1 = r1 + 49 int r2 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2 int r1 = r1 % r0 r2 = 0 r3 = -1 r5 = 1 if (r1 == 0) goto L22 o.gid r1 = r9.source o.gij r6 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.CLOSING_BLOCK_COMMENT long r7 = r1.a(r6) int r1 = (r7 > r3 ? 1 : (r7 == r3 ? 0 : -1)) r3 = 36 int r3 = r3 / r2 if (r1 == 0) goto L43 goto L2e L22: o.gid r1 = r9.source o.gij r6 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.CLOSING_BLOCK_COMMENT long r7 = r1.a(r6) int r1 = (r7 > r3 ? 1 : (r7 == r3 ? 0 : -1)) if (r1 == 0) goto L43 L2e: int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r1 = r1 + 123 int r2 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r2 int r1 = r1 % r0 int r2 = r2 + 23 int r1 = r2 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r1 int r2 = r2 % r0 if (r2 != 0) goto L42 int r1 = r0 % 3 L42: r2 = r5 L43: o.ghZ r1 = r9.buffer r3 = r2 ^ 1 if (r3 == r5) goto L50 int r3 = r6.a() long r3 = (long) r3 long r7 = r7 + r3 goto L52 L50: long r7 = r1.c L52: r1.j(r7) int r1 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e int r1 = r1 + 125 int r3 = r1 % 128 com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d = r3 int r1 = r1 % r0 return r2 */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.skipToEndOfBlockComment():boolean"); } public final String toString() { int i = 2 % 2; StringBuilder sb = new StringBuilder("JsonReader("); sb.append(this.source); sb.append(")"); String obj = sb.toString(); int i2 = d + 55; e = i2 % 128; int i3 = i2 % 2; return obj; } /* JADX WARN: Code restructure failed: missing block: B:45:0x00b5, code lost: if (r6 >= 60) goto L53; */ /* JADX WARN: Code restructure failed: missing block: B:47:0x00cf, code lost: if (r6 < 97) goto L60; */ /* JADX WARN: Code restructure failed: missing block: B:48:0x00d1, code lost: if (r6 > 102) goto L60; */ /* JADX WARN: Code restructure failed: missing block: B:49:0x00d3, code lost: r6 = r6 - 87; r7 = com.airbnb.lottie.parser.moshi.JsonUtf8Reader.d + 35; com.airbnb.lottie.parser.moshi.JsonUtf8Reader.e = r7 % 128; r7 = r7 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:51:0x00ea, code lost: r2 = (char) (r2 + r6); r1 = r1 + 1; */ /* JADX WARN: Code restructure failed: missing block: B:53:0x00e2, code lost: if (r6 < 65) goto L85; */ /* JADX WARN: Code restructure failed: missing block: B:55:0x00e6, code lost: if (r6 > 70) goto L86; */ /* JADX WARN: Code restructure failed: missing block: B:56:0x00e8, code lost: r6 = r6 - 55; */ /* JADX WARN: Code restructure failed: missing block: B:59:0x00ef, code lost: r0 = new java.lang.StringBuilder("\\u"); r0.append(r9.buffer.b(4, o.gdP.a)); */ /* JADX WARN: Code restructure failed: missing block: B:60:0x0109, code lost: throw syntaxError(r0.toString()); */ /* JADX WARN: Code restructure failed: missing block: B:63:0x00c8, code lost: if (r6 > 57) goto L56; */ /* JADX WARN: Code restructure failed: missing block: B:64:0x00ca, code lost: r6 = r6 + net.sf.scuba.smartcards.ISO7816.INS_WRITE_BINARY; */ /* JADX WARN: Code restructure failed: missing block: B:67:0x00c4, code lost: if (r6 >= 48) goto L53; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private char readEscapeCharacter() throws java.io.IOException { /* Method dump skipped, instructions count: 318 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.airbnb.lottie.parser.moshi.JsonUtf8Reader.readEscapeCharacter():char"); } static void e() { b = new char[]{16244, 54695, 60134, 65326}; c = 6810259241485296922L; } }