package com.drew.lang; import java.io.IOException; /* loaded from: classes.dex */ public final class BufferBoundsException extends IOException { public BufferBoundsException(String str) { super(str); } /* JADX WARN: Illegal instructions before constructor call */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public BufferBoundsException(int r7, int r8, long r9) { /* r6 = this; if (r7 >= 0) goto L11 java.lang.Integer r7 = java.lang.Integer.valueOf(r7) java.lang.Object[] r7 = new java.lang.Object[]{r7} java.lang.String r8 = "Attempt to read from buffer using a negative index (%d)" java.lang.String r7 = java.lang.String.format(r8, r7) goto L59 L11: if (r8 >= 0) goto L22 java.lang.Integer r7 = java.lang.Integer.valueOf(r8) java.lang.Object[] r7 = new java.lang.Object[]{r7} java.lang.String r8 = "Number of requested bytes cannot be negative (%d)" java.lang.String r7 = java.lang.String.format(r8, r7) goto L59 L22: long r0 = (long) r7 long r2 = (long) r8 long r0 = r0 + r2 r2 = 1 long r0 = r0 - r2 r4 = 2147483647(0x7fffffff, double:1.060997895E-314) int r0 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1)) if (r0 <= 0) goto L42 java.lang.Integer r7 = java.lang.Integer.valueOf(r7) java.lang.Integer r8 = java.lang.Integer.valueOf(r8) java.lang.Object[] r7 = new java.lang.Object[]{r7, r8} java.lang.String r8 = "Number of requested bytes summed with starting index exceed maximum range of signed 32 bit integers (requested index: %d, requested count: %d)" java.lang.String r7 = java.lang.String.format(r8, r7) goto L59 L42: java.lang.Integer r7 = java.lang.Integer.valueOf(r7) java.lang.Integer r8 = java.lang.Integer.valueOf(r8) long r9 = r9 - r2 java.lang.Long r9 = java.lang.Long.valueOf(r9) java.lang.Object[] r7 = new java.lang.Object[]{r7, r8, r9} java.lang.String r8 = "Attempt to read from beyond end of underlying data source (requested index: %d, requested count: %d, max index: %d)" java.lang.String r7 = java.lang.String.format(r8, r7) L59: r6.(r7) return */ throw new UnsupportedOperationException("Method not decompiled: com.drew.lang.BufferBoundsException.(int, int, long):void"); } }