package o; import android.graphics.Color; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import java.lang.reflect.Method; import java.text.DecimalFormat; import net.sf.scuba.smartcards.ISOFileInfo; /* loaded from: classes.dex */ public final class tsQ extends vTS { private DecimalFormat b; private int d; private static final byte[] $$a = {Ascii.DEL, ISOFileInfo.CHANNEL_SECURITY, -122, -31}; private static final int $$b = 225; private static int $10 = 0; private static int $11 = 1; private static int c = 0; private static int a = 1; private static char[] e = {40028}; private static void g(int i, short s, byte b, Object[] objArr) { int i2 = s * 4; int i3 = (b * 2) + 71; byte[] bArr = $$a; int i4 = 4 - (i * 4); byte[] bArr2 = new byte[i2 + 1]; int i5 = -1; if (bArr == null) { i3 = i4 + i2; i4++; } while (true) { i5++; bArr2[i5] = (byte) i3; if (i5 == i2) { objArr[0] = new String(bArr2, 0); return; } int i6 = i3; int i7 = i4 + 1; i3 = i6 + bArr[i4]; i4 = i7; } } public tsQ(int i) { a(i); } public final void a(int i) { int i2 = 2 % 2; this.d = i; StringBuffer stringBuffer = new StringBuffer(); for (int i3 = 0; i3 < i; i3++) { if (i3 == 0) { int i4 = a + 59; c = i4 % 128; if (i4 % 2 != 0) { stringBuffer.append("."); int i5 = 80 / 0; } else { stringBuffer.append("."); } } Object[] objArr = new Object[1]; f(new byte[]{1}, new int[]{0, 1, 127, 0}, false, objArr); stringBuffer.append(((String) objArr[0]).intern()); } StringBuilder sb = new StringBuilder("###,###,###,##0"); sb.append(stringBuffer.toString()); this.b = new DecimalFormat(sb.toString()); int i6 = a + 115; c = i6 % 128; if (i6 % 2 != 0) { int i7 = 91 / 0; } } @Override // o.vTS public final String c(float f) { int i = 2 % 2; int i2 = c + 9; a = i2 % 128; if (i2 % 2 != 0) { return this.b.format(f); } int i3 = 81 / 0; return this.b.format(f); } private static void f(byte[] bArr, int[] iArr, boolean z, Object[] objArr) { char[] cArr; int i = 2 % 2; TVH tvh = new TVH(); int i2 = 0; int i3 = iArr[0]; byte b = 1; int i4 = iArr[1]; int i5 = iArr[2]; int i6 = iArr[3]; char[] cArr2 = e; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i7 = 0; while (i7 < length) { int i8 = $10 + 95; $11 = i8 % 128; int i9 = i8 % 2; try { Object[] objArr2 = new Object[1]; objArr2[i2] = Integer.valueOf(cArr2[i7]); Object obj = xzZ.y.get(1645349359); if (obj != null) { cArr = cArr2; } else { Class cls = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 223, 5 - Color.red(i2), (char) (TextUtils.getCapsMode("", i2, i2) + 41977)); byte b2 = (byte) i2; byte b3 = b2; cArr = cArr2; Object[] objArr3 = new Object[1]; g(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i7++; cArr2 = cArr; i2 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } char[] cArr4 = new char[i4]; System.arraycopy(cArr2, i3, cArr4, 0, i4); if (bArr != null) { int i10 = $11 + 1; $10 = i10 % 128; int i11 = i10 % 2; char[] cArr5 = new char[i4]; tvh.c = 0; char c2 = 0; while (tvh.c < i4) { if (bArr[tvh.c] == b) { int i12 = tvh.c; char c3 = cArr4[tvh.c]; Object[] objArr4 = new Object[2]; objArr4[b] = Integer.valueOf(c2); objArr4[0] = Integer.valueOf(c3); Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c(502 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr5[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); } else { int i13 = tvh.c; Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c(15 - ExpandableListView.getPackedPositionGroup(0L), '5' - AndroidCharacter.getMirror('0'), (char) (TextUtils.indexOf("", "") + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr5[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } c2 = cArr5[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 402, Color.argb(0, 0, 0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0') + 21609)); 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], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); b = 1; } cArr4 = cArr5; } if (i6 > 0) { char[] cArr6 = new char[i4]; System.arraycopy(cArr4, 0, cArr6, 0, i4); int i14 = i4 - i6; System.arraycopy(cArr6, 0, cArr4, i14, i6); System.arraycopy(cArr6, i6, cArr4, 0, i14); } if (z) { int i15 = $11 + 79; $10 = i15 % 128; int i16 = 2; int i17 = i15 % 2; char[] cArr7 = new char[i4]; tvh.c = 0; int i18 = $10 + 53; $11 = i18 % 128; int i19 = i18 % 2; while (tvh.c < i4) { int i20 = $11 + 41; $10 = i20 % 128; int i21 = i20 % i16; cArr7[tvh.c] = cArr4[(i4 - tvh.c) - 1]; tvh.c++; int i22 = $10 + 5; $11 = i22 % 128; int i23 = i22 % 2; i16 = 2; } cArr4 = cArr7; } if (i5 > 0) { int i24 = 0; while (true) { tvh.c = i24; if (tvh.c >= i4) { break; } cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]); i24 = tvh.c + 1; } } objArr[0] = new String(cArr4); } }