package com.google.android.gms.internal.gtm; import android.content.Context; import android.graphics.Color; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.analytics.ecommerce.Product; import com.google.android.gms.analytics.ecommerce.ProductAction; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.common.util.CollectionUtils; import io.beid.beidk.definitions.BeIDParams; import java.lang.reflect.Method; import java.util.Arrays; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import net.sf.scuba.smartcards.ISOFileInfo; import o.dQY; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; import org.simpleframework.xml.strategy.Name; /* loaded from: classes.dex */ public final class zzmj extends zzhb { private static final String ID; private static char[] a; private static int c; private static long d; private static final List zzamg; private static final Pattern zzamh; private static final Pattern zzami; private static final Set zzasb; private static final Map zzasc; private static final Map zzasd; private final zzfj zzapc; private final zzgu zzase; private Map zzasf; private static final byte[] $$a = {67, -87, -63, ISOFileInfo.FCI_EXT}; private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384; private static int $10 = 0; private static int $11 = 1; private static int e = 1; public zzmj(Context context, zzfj zzfjVar) { this(new zzgu(context), zzfjVar); } /* JADX WARN: Removed duplicated region for block: B:10:0x0023 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001b */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). 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(int r5, short r6, int r7, java.lang.Object[] r8) { /* int r7 = r7 * 2 int r0 = r7 + 1 int r6 = r6 * 2 int r6 = r6 + 4 byte[] r1 = com.google.android.gms.internal.gtm.zzmj.$$a int r5 = r5 + 98 byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L15 r4 = r6 r5 = r7 r3 = r2 goto L27 L15: r3 = r2 L16: byte r4 = (byte) r5 r0[r3] = r4 if (r3 != r7) goto L23 java.lang.String r5 = new java.lang.String r5.(r0, r2) r8[r2] = r5 return L23: int r3 = r3 + 1 r4 = r1[r6] L27: int r6 = r6 + 1 int r5 = r5 + r4 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzmj.f(int, short, int, java.lang.Object[]):void"); } private zzmj(zzgu zzguVar, zzfj zzfjVar) { this.zzapc = zzfjVar; this.zzase = zzguVar; } private static void b(char c2, int i, int i2, Object[] objArr) { int i3 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; while (dqy.a < i2) { int i4 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(a[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 309, TextUtils.getOffsetAfter("", 0) + 5, (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 32797)); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; f(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1095064095, obj); } Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(d), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - Color.alpha(0), View.MeasureSpec.getSize(0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1)); byte b3 = (byte) ($$b & 1); byte b4 = (byte) (b3 - 1); Object[] objArr5 = new Object[1]; f(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj2); } jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue(); Object[] objArr6 = {dqy, dqy}; Object obj3 = xzZ.y.get(1071125919); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 407, TextUtils.indexOf("", "") + 5, (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 29234)); byte b5 = (byte) 0; Object[] objArr7 = new Object[1]; f((byte) 8, 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; } } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { int i5 = $10 + 111; $11 = i5 % 128; int i6 = i5 % 2; cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr8 = {dqy, dqy}; Object obj4 = xzZ.y.get(1071125919); if (obj4 == null) { Class cls4 = (Class) xzZ.c(Color.alpha(0) + 407, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (29234 - View.MeasureSpec.getMode(0))); byte b6 = (byte) 0; Object[] objArr9 = new Object[1]; f((byte) 8, b6, b6, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, obj4); } ((Method) obj4).invoke(null, objArr8); int i7 = $10 + 41; $11 = i7 % 128; int i8 = i7 % 2; } objArr[0] = new String(cArr); } /* JADX WARN: Code restructure failed: missing block: B:149:0x0294, code lost: r5 = (java.util.Map) r6.get(r3); r0 = (java.util.List) r5.get("products"); */ /* JADX WARN: Code restructure failed: missing block: B:150:0x02a3, code lost: if (r0 == null) goto L283; */ /* JADX WARN: Code restructure failed: missing block: B:151:0x02a5, code lost: r6 = r0.iterator(); */ /* JADX WARN: Code restructure failed: missing block: B:153:0x02ad, code lost: if (r6.hasNext() == false) goto L283; */ /* JADX WARN: Code restructure failed: missing block: B:156:0x02b5, code lost: r7.addProduct(zzj((java.util.Map) r6.next())); */ /* JADX WARN: Code restructure failed: missing block: B:160:0x02bd, code lost: r0 = move-exception; */ /* JADX WARN: Code restructure failed: missing block: B:161:0x02be, code lost: r0 = java.lang.String.valueOf(r0.getMessage()); */ /* JADX WARN: Code restructure failed: missing block: B:162:0x02ca, code lost: if (r0.length() != 0) goto L162; */ /* JADX WARN: Code restructure failed: missing block: B:163:0x02cc, code lost: r0 = "Failed to extract a product from event data. ".concat(r0); */ /* JADX WARN: Code restructure failed: missing block: B:164:0x02d6, code lost: com.google.android.gms.internal.gtm.zzev.zzav(r0); */ /* JADX WARN: Code restructure failed: missing block: B:166:0x02d1, code lost: r0 = new java.lang.String("Failed to extract a product from event data. "); */ /* JADX WARN: Code restructure failed: missing block: B:169:0x02e0, code lost: if (r5.containsKey("actionField") == false) goto L200; */ /* JADX WARN: Code restructure failed: missing block: B:170:0x02e2, code lost: r0 = (java.util.Map) r5.get("actionField"); r5 = new com.google.android.gms.analytics.ecommerce.ProductAction(r3); r2 = r0.get(org.simpleframework.xml.strategy.Name.MARK); */ /* JADX WARN: Code restructure failed: missing block: B:171:0x02f3, code lost: if (r2 == null) goto L175; */ /* JADX WARN: Code restructure failed: missing block: B:172:0x02f5, code lost: r3 = com.google.android.gms.internal.gtm.zzmj.e + 123; com.google.android.gms.internal.gtm.zzmj.c = r3 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:173:0x02ff, code lost: if ((r3 % 2) != 0) goto L173; */ /* JADX WARN: Code restructure failed: missing block: B:174:0x0301, code lost: r5.setTransactionId(java.lang.String.valueOf(r2)); */ /* JADX WARN: Code restructure failed: missing block: B:175:0x0309, code lost: r5.setTransactionId(java.lang.String.valueOf(r2)); r2 = null; r2.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:176:0x0314, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:177:0x0315, code lost: r2 = r0.get("affiliation"); */ /* JADX WARN: Code restructure failed: missing block: B:178:0x031b, code lost: if (r2 == null) goto L178; */ /* JADX WARN: Code restructure failed: missing block: B:179:0x031d, code lost: r5.setTransactionAffiliation(java.lang.String.valueOf(r2)); */ /* JADX WARN: Code restructure failed: missing block: B:180:0x0324, code lost: r2 = r0.get("coupon"); */ /* JADX WARN: Code restructure failed: missing block: B:181:0x032a, code lost: if (r2 == null) goto L181; */ /* JADX WARN: Code restructure failed: missing block: B:182:0x032c, code lost: r5.setTransactionCouponCode(java.lang.String.valueOf(r2)); */ /* JADX WARN: Code restructure failed: missing block: B:183:0x0333, code lost: r2 = r0.get("list"); */ /* JADX WARN: Code restructure failed: missing block: B:184:0x0337, code lost: if (r2 == null) goto L184; */ /* JADX WARN: Code restructure failed: missing block: B:185:0x0339, code lost: r5.setProductActionList(java.lang.String.valueOf(r2)); */ /* JADX WARN: Code restructure failed: missing block: B:186:0x0340, code lost: r2 = r0.get("option"); */ /* JADX WARN: Code restructure failed: missing block: B:187:0x0346, code lost: if (r2 == null) goto L187; */ /* JADX WARN: Code restructure failed: missing block: B:188:0x0348, code lost: r5.setCheckoutOptions(java.lang.String.valueOf(r2)); */ /* JADX WARN: Code restructure failed: missing block: B:189:0x034f, code lost: r2 = r0.get("revenue"); */ /* JADX WARN: Code restructure failed: missing block: B:190:0x0355, code lost: if (r2 == null) goto L190; */ /* JADX WARN: Code restructure failed: missing block: B:191:0x0357, code lost: r5.setTransactionRevenue(zzm(r2).doubleValue()); */ /* JADX WARN: Code restructure failed: missing block: B:192:0x0362, code lost: r2 = r0.get("tax"); */ /* JADX WARN: Code restructure failed: missing block: B:193:0x0368, code lost: if (r2 == null) goto L193; */ /* JADX WARN: Code restructure failed: missing block: B:194:0x036a, code lost: r5.setTransactionTax(zzm(r2).doubleValue()); */ /* JADX WARN: Code restructure failed: missing block: B:195:0x0375, code lost: r2 = r0.get("shipping"); */ /* JADX WARN: Code restructure failed: missing block: B:196:0x037b, code lost: if (r2 == null) goto L196; */ /* JADX WARN: Code restructure failed: missing block: B:197:0x037d, code lost: r5.setTransactionShipping(zzm(r2).doubleValue()); */ /* JADX WARN: Code restructure failed: missing block: B:198:0x0388, code lost: r0 = r0.get("step"); */ /* JADX WARN: Code restructure failed: missing block: B:199:0x038e, code lost: if (r0 == null) goto L201; */ /* JADX WARN: Code restructure failed: missing block: B:200:0x0390, code lost: r2 = com.google.android.gms.internal.gtm.zzmj.e + 101; com.google.android.gms.internal.gtm.zzmj.c = r2 % 128; r2 = r2 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:201:0x039a, code lost: r5.setCheckoutStep(zzn(r0).intValue()); */ /* JADX WARN: Code restructure failed: missing block: B:202:0x03ab, code lost: r7.setProductAction(r5); */ /* JADX WARN: Code restructure failed: missing block: B:203:0x03a6, code lost: r5 = new com.google.android.gms.analytics.ecommerce.ProductAction(r3); */ /* JADX WARN: Code restructure failed: missing block: B:204:0x03af, code lost: r0 = move-exception; */ /* JADX WARN: Code restructure failed: missing block: B:205:0x03b0, code lost: r0 = java.lang.String.valueOf(r0.getMessage()); */ /* JADX WARN: Code restructure failed: missing block: B:206:0x03bc, code lost: if (r0.length() != 0) goto L206; */ /* JADX WARN: Code restructure failed: missing block: B:207:0x03be, code lost: r0 = "Failed to extract a product action from event data. ".concat(r0); */ /* JADX WARN: Code restructure failed: missing block: B:208:0x03cc, code lost: com.google.android.gms.internal.gtm.zzev.zzav(r0); */ /* JADX WARN: Code restructure failed: missing block: B:209:0x03c5, code lost: r0 = new java.lang.String("Failed to extract a product action from event data. "); */ /* JADX WARN: Removed duplicated region for block: B:224:0x03e6 A[Catch: all -> 0x0533, TryCatch #1 {all -> 0x0533, blocks: (B:6:0x0021, B:8:0x0036, B:9:0x0042, B:11:0x0045, B:12:0x004d, B:14:0x0051, B:15:0x0056, B:17:0x005a, B:18:0x005f, B:20:0x0063, B:21:0x006b, B:23:0x006f, B:24:0x0077, B:26:0x007b, B:27:0x0080, B:29:0x0087, B:30:0x008f, B:32:0x0098, B:36:0x00a0, B:38:0x00a7, B:42:0x00af, B:44:0x00b6, B:48:0x00be, B:51:0x00d8, B:53:0x00ea, B:54:0x00fb, B:56:0x00ff, B:58:0x0109, B:60:0x0113, B:61:0x0116, B:66:0x0130, B:67:0x0136, B:70:0x0146, B:72:0x014c, B:77:0x015b, B:79:0x0169, B:80:0x0173, B:82:0x016e, B:84:0x0177, B:85:0x0180, B:87:0x0181, B:91:0x0193, B:96:0x01c4, B:97:0x01c8, B:99:0x01ce, B:101:0x01d4, B:103:0x01e1, B:104:0x01e8, B:106:0x01f0, B:107:0x01f7, B:109:0x0201, B:110:0x0208, B:120:0x021e, B:115:0x0226, B:116:0x0231, B:121:0x0232, B:126:0x0237, B:129:0x0247, B:130:0x0251, B:132:0x024c, B:134:0x0256, B:137:0x025e, B:138:0x0265, B:139:0x026b, B:140:0x026f, B:141:0x0270, B:142:0x0276, B:146:0x0288, B:149:0x0294, B:151:0x02a5, B:152:0x02a9, B:154:0x02af, B:156:0x02b5, B:161:0x02be, B:163:0x02cc, B:164:0x02d6, B:166:0x02d1, B:168:0x02da, B:170:0x02e2, B:174:0x0301, B:175:0x0309, B:176:0x0314, B:177:0x0315, B:179:0x031d, B:180:0x0324, B:182:0x032c, B:183:0x0333, B:185:0x0339, B:186:0x0340, B:188:0x0348, B:189:0x034f, B:191:0x0357, B:192:0x0362, B:194:0x036a, B:195:0x0375, B:197:0x037d, B:198:0x0388, B:201:0x039a, B:202:0x03ab, B:203:0x03a6, B:205:0x03b0, B:207:0x03be, B:208:0x03cc, B:209:0x03c5, B:212:0x03d0, B:213:0x03dd, B:215:0x01a0, B:217:0x01a6, B:219:0x03de, B:223:0x00f3, B:224:0x03e6, B:226:0x03ec, B:227:0x03f6, B:229:0x03fc, B:231:0x0408, B:232:0x040e, B:234:0x0413, B:236:0x0422, B:237:0x0429, B:238:0x0431, B:240:0x0437, B:243:0x044b, B:248:0x0455, B:252:0x049b, B:253:0x049f, B:255:0x04a5, B:274:0x04b1, B:257:0x04b8, B:259:0x04ca, B:260:0x04d1, B:261:0x04d9, B:263:0x04df, B:266:0x04ef, B:271:0x04fd, B:272:0x04cd, B:276:0x0501, B:278:0x050b, B:280:0x046e, B:282:0x0472, B:283:0x0478, B:285:0x047e, B:289:0x0491, B:290:0x0498, B:292:0x0517, B:293:0x051e, B:294:0x0425, B:296:0x0520, B:297:0x0527, B:301:0x008a, B:302:0x007e, B:303:0x0072, B:304:0x0066, B:305:0x005d, B:306:0x0054, B:307:0x0048, B:308:0x0039), top: B:5:0x0021, inners: #0, #2, #3, #4, #5 }] */ /* JADX WARN: Removed duplicated region for block: B:44:0x00b6 A[Catch: all -> 0x0533, TryCatch #1 {all -> 0x0533, blocks: (B:6:0x0021, B:8:0x0036, B:9:0x0042, B:11:0x0045, B:12:0x004d, B:14:0x0051, B:15:0x0056, B:17:0x005a, B:18:0x005f, B:20:0x0063, B:21:0x006b, B:23:0x006f, B:24:0x0077, B:26:0x007b, B:27:0x0080, B:29:0x0087, B:30:0x008f, B:32:0x0098, B:36:0x00a0, B:38:0x00a7, B:42:0x00af, B:44:0x00b6, B:48:0x00be, B:51:0x00d8, B:53:0x00ea, B:54:0x00fb, B:56:0x00ff, B:58:0x0109, B:60:0x0113, B:61:0x0116, B:66:0x0130, B:67:0x0136, B:70:0x0146, B:72:0x014c, B:77:0x015b, B:79:0x0169, B:80:0x0173, B:82:0x016e, B:84:0x0177, B:85:0x0180, B:87:0x0181, B:91:0x0193, B:96:0x01c4, B:97:0x01c8, B:99:0x01ce, B:101:0x01d4, B:103:0x01e1, B:104:0x01e8, B:106:0x01f0, B:107:0x01f7, B:109:0x0201, B:110:0x0208, B:120:0x021e, B:115:0x0226, B:116:0x0231, B:121:0x0232, B:126:0x0237, B:129:0x0247, B:130:0x0251, B:132:0x024c, B:134:0x0256, B:137:0x025e, B:138:0x0265, B:139:0x026b, B:140:0x026f, B:141:0x0270, B:142:0x0276, B:146:0x0288, B:149:0x0294, B:151:0x02a5, B:152:0x02a9, B:154:0x02af, B:156:0x02b5, B:161:0x02be, B:163:0x02cc, B:164:0x02d6, B:166:0x02d1, B:168:0x02da, B:170:0x02e2, B:174:0x0301, B:175:0x0309, B:176:0x0314, B:177:0x0315, B:179:0x031d, B:180:0x0324, B:182:0x032c, B:183:0x0333, B:185:0x0339, B:186:0x0340, B:188:0x0348, B:189:0x034f, B:191:0x0357, B:192:0x0362, B:194:0x036a, B:195:0x0375, B:197:0x037d, B:198:0x0388, B:201:0x039a, B:202:0x03ab, B:203:0x03a6, B:205:0x03b0, B:207:0x03be, B:208:0x03cc, B:209:0x03c5, B:212:0x03d0, B:213:0x03dd, B:215:0x01a0, B:217:0x01a6, B:219:0x03de, B:223:0x00f3, B:224:0x03e6, B:226:0x03ec, B:227:0x03f6, B:229:0x03fc, B:231:0x0408, B:232:0x040e, B:234:0x0413, B:236:0x0422, B:237:0x0429, B:238:0x0431, B:240:0x0437, B:243:0x044b, B:248:0x0455, B:252:0x049b, B:253:0x049f, B:255:0x04a5, B:274:0x04b1, B:257:0x04b8, B:259:0x04ca, B:260:0x04d1, B:261:0x04d9, B:263:0x04df, B:266:0x04ef, B:271:0x04fd, B:272:0x04cd, B:276:0x0501, B:278:0x050b, B:280:0x046e, B:282:0x0472, B:283:0x0478, B:285:0x047e, B:289:0x0491, B:290:0x0498, B:292:0x0517, B:293:0x051e, B:294:0x0425, B:296:0x0520, B:297:0x0527, B:301:0x008a, B:302:0x007e, B:303:0x0072, B:304:0x0066, B:305:0x005d, B:306:0x0054, B:307:0x0048, B:308:0x0039), top: B:5:0x0021, inners: #0, #2, #3, #4, #5 }] */ /* JADX WARN: Removed duplicated region for block: B:51:0x00d8 A[Catch: all -> 0x0533, TRY_ENTER, TryCatch #1 {all -> 0x0533, blocks: (B:6:0x0021, B:8:0x0036, B:9:0x0042, B:11:0x0045, B:12:0x004d, B:14:0x0051, B:15:0x0056, B:17:0x005a, B:18:0x005f, B:20:0x0063, B:21:0x006b, B:23:0x006f, B:24:0x0077, B:26:0x007b, B:27:0x0080, B:29:0x0087, B:30:0x008f, B:32:0x0098, B:36:0x00a0, B:38:0x00a7, B:42:0x00af, B:44:0x00b6, B:48:0x00be, B:51:0x00d8, B:53:0x00ea, B:54:0x00fb, B:56:0x00ff, B:58:0x0109, B:60:0x0113, B:61:0x0116, B:66:0x0130, B:67:0x0136, B:70:0x0146, B:72:0x014c, B:77:0x015b, B:79:0x0169, B:80:0x0173, B:82:0x016e, B:84:0x0177, B:85:0x0180, B:87:0x0181, B:91:0x0193, B:96:0x01c4, B:97:0x01c8, B:99:0x01ce, B:101:0x01d4, B:103:0x01e1, B:104:0x01e8, B:106:0x01f0, B:107:0x01f7, B:109:0x0201, B:110:0x0208, B:120:0x021e, B:115:0x0226, B:116:0x0231, B:121:0x0232, B:126:0x0237, B:129:0x0247, B:130:0x0251, B:132:0x024c, B:134:0x0256, B:137:0x025e, B:138:0x0265, B:139:0x026b, B:140:0x026f, B:141:0x0270, B:142:0x0276, B:146:0x0288, B:149:0x0294, B:151:0x02a5, B:152:0x02a9, B:154:0x02af, B:156:0x02b5, B:161:0x02be, B:163:0x02cc, B:164:0x02d6, B:166:0x02d1, B:168:0x02da, B:170:0x02e2, B:174:0x0301, B:175:0x0309, B:176:0x0314, B:177:0x0315, B:179:0x031d, B:180:0x0324, B:182:0x032c, B:183:0x0333, B:185:0x0339, B:186:0x0340, B:188:0x0348, B:189:0x034f, B:191:0x0357, B:192:0x0362, B:194:0x036a, B:195:0x0375, B:197:0x037d, B:198:0x0388, B:201:0x039a, B:202:0x03ab, B:203:0x03a6, B:205:0x03b0, B:207:0x03be, B:208:0x03cc, B:209:0x03c5, B:212:0x03d0, B:213:0x03dd, B:215:0x01a0, B:217:0x01a6, B:219:0x03de, B:223:0x00f3, B:224:0x03e6, B:226:0x03ec, B:227:0x03f6, B:229:0x03fc, B:231:0x0408, B:232:0x040e, B:234:0x0413, B:236:0x0422, B:237:0x0429, B:238:0x0431, B:240:0x0437, B:243:0x044b, B:248:0x0455, B:252:0x049b, B:253:0x049f, B:255:0x04a5, B:274:0x04b1, B:257:0x04b8, B:259:0x04ca, B:260:0x04d1, B:261:0x04d9, B:263:0x04df, B:266:0x04ef, B:271:0x04fd, B:272:0x04cd, B:276:0x0501, B:278:0x050b, B:280:0x046e, B:282:0x0472, B:283:0x0478, B:285:0x047e, B:289:0x0491, B:290:0x0498, B:292:0x0517, B:293:0x051e, B:294:0x0425, B:296:0x0520, B:297:0x0527, B:301:0x008a, B:302:0x007e, B:303:0x0072, B:304:0x0066, B:305:0x005d, B:306:0x0054, B:307:0x0048, B:308:0x0039), top: B:5:0x0021, inners: #0, #2, #3, #4, #5 }] */ @Override // com.google.android.gms.internal.gtm.zzhb /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ protected final com.google.android.gms.internal.gtm.zzoa zza(com.google.android.gms.internal.gtm.zzfl r18, com.google.android.gms.internal.gtm.zzoa... r19) { /* Method dump skipped, instructions count: 1336 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzmj.zza(com.google.android.gms.internal.gtm.zzfl, com.google.android.gms.internal.gtm.zzoa[]):com.google.android.gms.internal.gtm.zzoa"); } private static Product zzj(Map map) { String group; int i = 2 % 2; Product product = new Product(); Object obj = map.get(Name.MARK); if (obj != null) { product.setId(String.valueOf(obj)); } Object obj2 = map.get("name"); if (obj2 != null) { product.setName(String.valueOf(obj2)); } Object obj3 = map.get("brand"); if (obj3 != null) { product.setBrand(String.valueOf(obj3)); int i2 = c + 99; e = i2 % 128; int i3 = i2 % 2; } Object obj4 = map.get("category"); Object obj5 = null; if (obj4 != null) { int i4 = c + 21; e = i4 % 128; if (i4 % 2 == 0) { product.setCategory(String.valueOf(obj4)); obj5.hashCode(); throw null; } product.setCategory(String.valueOf(obj4)); } Object obj6 = map.get("variant"); if (obj6 != null) { int i5 = c + 119; e = i5 % 128; if (i5 % 2 == 0) { product.setVariant(String.valueOf(obj6)); obj5.hashCode(); throw null; } product.setVariant(String.valueOf(obj6)); } Object obj7 = map.get("coupon"); if (obj7 != null) { product.setCouponCode(String.valueOf(obj7)); } Object obj8 = map.get("position"); if (obj8 != null) { int i6 = c + 19; e = i6 % 128; int i7 = i6 % 2; product.setPosition(zzn(obj8).intValue()); } Object obj9 = map.get("price"); if (obj9 != null) { int i8 = e + 81; c = i8 % 128; int i9 = i8 % 2; product.setPrice(zzm(obj9).doubleValue()); } Object obj10 = map.get("quantity"); if (obj10 != null) { product.setQuantity(zzn(obj10).intValue()); int i10 = c + 95; e = i10 % 128; int i11 = i10 % 2; } Iterator it = map.keySet().iterator(); while (it.hasNext()) { int i12 = c + 31; e = i12 % 128; if (i12 % 2 == 0) { zzamh.matcher(it.next()).matches(); obj5.hashCode(); throw null; } String next = it.next(); Matcher matcher = zzamh.matcher(next); if (matcher.matches()) { try { product.setCustomDimension(Integer.parseInt(matcher.group(1)), String.valueOf(map.get(next))); } catch (NumberFormatException unused) { String valueOf = String.valueOf(next); zzev.zzac(valueOf.length() != 0 ? "illegal number in custom dimension value: ".concat(valueOf) : new String("illegal number in custom dimension value: ")); } } else { Matcher matcher2 = zzami.matcher(next); if (matcher2.matches()) { int i13 = e + 121; c = i13 % 128; if (i13 % 2 != 0) { try { group = matcher2.group(0); } catch (NumberFormatException unused2) { String valueOf2 = String.valueOf(next); zzev.zzac(valueOf2.length() != 0 ? "illegal number in custom metric value: ".concat(valueOf2) : new String("illegal number in custom metric value: ")); } } else { group = matcher2.group(1); } product.setCustomMetric(Integer.parseInt(group), zzn(map.get(next)).intValue()); } } } return product; } private static Map zzh(zzoa zzoaVar) { int i = 2 % 2; Preconditions.checkNotNull(zzoaVar); Preconditions.checkArgument(zzoaVar instanceof zzok); LinkedHashMap linkedHashMap = new LinkedHashMap(); Object zzj = zzoo.zzj(zzoo.zzk(zzoaVar)); Preconditions.checkState(zzj instanceof Map); for (Map.Entry entry : ((Map) zzj).entrySet()) { int i2 = e + 113; c = i2 % 128; int i3 = i2 % 2; linkedHashMap.put(entry.getKey().toString(), entry.getValue().toString()); } int i4 = e + 119; c = i4 % 128; if (i4 % 2 == 0) { return linkedHashMap; } throw null; } /* JADX WARN: Code restructure failed: missing block: B:11:0x002b, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0037, code lost: if (com.google.android.gms.internal.gtm.zzmj.zzasb.contains(r1.toLowerCase()) == false) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0039, code lost: r1 = com.google.android.gms.internal.gtm.zzmj.c + 39; com.google.android.gms.internal.gtm.zzmj.e = r1 % 128; r1 = r1 % 2; r4.remove("&aip"); r1 = com.google.android.gms.internal.gtm.zzmj.c + 39; com.google.android.gms.internal.gtm.zzmj.e = r1 % 128; r1 = r1 % 2; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static java.util.Map zzi(com.google.android.gms.internal.gtm.zzoa r4) { /* r0 = 2 int r1 = r0 % r0 int r1 = com.google.android.gms.internal.gtm.zzmj.e int r1 = r1 + 79 int r2 = r1 % 128 com.google.android.gms.internal.gtm.zzmj.c = r2 int r1 = r1 % r0 java.lang.String r2 = "&aip" if (r1 == 0) goto L21 java.util.Map r4 = zzh(r4) java.lang.Object r1 = r4.get(r2) java.lang.String r1 = (java.lang.String) r1 r3 = 31 int r3 = r3 / 0 if (r1 == 0) goto L4e goto L2d L21: java.util.Map r4 = zzh(r4) java.lang.Object r1 = r4.get(r2) java.lang.String r1 = (java.lang.String) r1 if (r1 == 0) goto L4e L2d: java.util.Set r3 = com.google.android.gms.internal.gtm.zzmj.zzasb java.lang.String r1 = r1.toLowerCase() boolean r1 = r3.contains(r1) if (r1 == 0) goto L4e int r1 = com.google.android.gms.internal.gtm.zzmj.c int r1 = r1 + 39 int r3 = r1 % 128 com.google.android.gms.internal.gtm.zzmj.e = r3 int r1 = r1 % r0 r4.remove(r2) int r1 = com.google.android.gms.internal.gtm.zzmj.c int r1 = r1 + 39 int r2 = r1 % 128 com.google.android.gms.internal.gtm.zzmj.e = r2 int r1 = r1 % r0 L4e: return r4 */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.gtm.zzmj.zzi(com.google.android.gms.internal.gtm.zzoa):java.util.Map"); } private static Double zzm(Object obj) { String str; String str2; int i = 2 % 2; if (!(!(obj instanceof String))) { try { return Double.valueOf((String) obj); } catch (NumberFormatException e2) { String valueOf = String.valueOf(e2.getMessage()); if (valueOf.length() != 0) { str = "Cannot convert the object to Double: ".concat(valueOf); int i2 = c + 47; e = i2 % 128; int i3 = i2 % 2; } else { str = new String("Cannot convert the object to Double: "); } throw new RuntimeException(str); } } if (obj instanceof Integer) { return Double.valueOf(((Integer) obj).doubleValue()); } if (obj instanceof Double) { int i4 = e + 111; c = i4 % 128; int i5 = i4 % 2; return (Double) obj; } String valueOf2 = String.valueOf(obj.toString()); if (valueOf2.length() != 0) { str2 = "Cannot convert the object to Double: ".concat(valueOf2); int i6 = c + 109; e = i6 % 128; int i7 = i6 % 2; } else { str2 = new String("Cannot convert the object to Double: "); } throw new RuntimeException(str2); } private static Integer zzn(Object obj) { int i = 2 % 2; if (!(obj instanceof String)) { if (obj instanceof Double) { return Integer.valueOf(((Double) obj).intValue()); } if (!(obj instanceof Integer)) { String valueOf = String.valueOf(obj.toString()); throw new RuntimeException(valueOf.length() != 0 ? "Cannot convert the object to Integer: ".concat(valueOf) : new String("Cannot convert the object to Integer: ")); } int i2 = c + 83; e = i2 % 128; int i3 = i2 % 2; return (Integer) obj; } int i4 = e + 43; c = i4 % 128; int i5 = i4 % 2; try { Integer valueOf2 = Integer.valueOf((String) obj); int i6 = c + 9; e = i6 % 128; if (i6 % 2 != 0) { return valueOf2; } throw null; } catch (NumberFormatException e2) { String valueOf3 = String.valueOf(e2.getMessage()); throw new RuntimeException(valueOf3.length() != 0 ? "Cannot convert the object to Integer: ".concat(valueOf3) : new String("Cannot convert the object to Integer: ")); } } static { c = 0; a(); ID = zza.UNIVERSAL_ANALYTICS.toString(); zzamg = Arrays.asList(ProductAction.ACTION_DETAIL, ProductAction.ACTION_CHECKOUT, ProductAction.ACTION_CHECKOUT_OPTION, "click", ProductAction.ACTION_ADD, ProductAction.ACTION_REMOVE, ProductAction.ACTION_PURCHASE, ProductAction.ACTION_REFUND); zzamh = Pattern.compile("dimension(\\d+)"); zzami = Pattern.compile("metric(\\d+)"); Object[] objArr = new Object[1]; b((char) (Color.rgb(0, 0, 0) + 16813001), View.resolveSizeAndState(0, 0, 0), 1 - ((Process.getThreadPriority(0) + 20) >> 6), objArr); zzasb = CollectionUtils.setOf("", ((String) objArr[0]).intern(), "false"); zzasc = CollectionUtils.mapOf(BeIDParams.BEID_TRANSACTION_ID, "&ti", "transactionAffiliation", "&ta", "transactionTax", "&tt", "transactionShipping", "&ts", "transactionTotal", "&tr", "transactionCurrency", "&cu"); zzasd = CollectionUtils.mapOf("name", "&in", "sku", "&ic", "category", "&iv", "price", "&ip", "quantity", "&iq", "currency", "&cu"); int i = e + 43; c = i % 128; if (i % 2 != 0) { throw null; } } static void a() { a = new char[]{1067}; d = -4588217651949240215L; } }