package com.google.android.gms.measurement.internal; import android.text.TextUtils; import android.util.Log; import android.util.TypedValue; import android.view.KeyEvent; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import net.sf.scuba.smartcards.ISO7816; import org.jmrtd.cbeff.ISO781611; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class zzei implements Runnable { final int zza; final String zzb; final Object zzc; final Object zzd; final Object zze; final zzel zzf; private static final byte[] $$a = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78}; private static final int $$b = ISO781611.CREATION_DATE_AND_TIME_TAG; private static int $10 = 0; private static int $11 = 1; private static int b = 0; private static int a = 1; private static char[] d = {42885}; private static long e = -6158897278968123479L; /* JADX WARN: Removed duplicated region for block: B:10:0x0024 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001c */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002c). 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(byte r6, int r7, byte r8, java.lang.Object[] r9) { /* int r8 = r8 * 2 int r8 = 3 - r8 byte[] r0 = com.google.android.gms.measurement.internal.zzei.$$a int r7 = 106 - r7 int r6 = r6 * 2 int r6 = 1 - r6 byte[] r1 = new byte[r6] r2 = 0 if (r0 != 0) goto L14 r3 = r8 r4 = r2 goto L2c L14: r3 = r2 L15: byte r4 = (byte) r7 r1[r3] = r4 int r3 = r3 + 1 if (r3 != r6) goto L24 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L24: int r8 = r8 + 1 r4 = r0[r8] r5 = r3 r3 = r8 r8 = r4 r4 = r5 L2c: int r7 = r7 + r8 r8 = r3 r3 = r4 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzei.f(byte, int, byte, java.lang.Object[]):void"); } @Override // java.lang.Runnable public final void run() { char c; long j; char c2; long j2; int i = 2 % 2; zzfa zzm = this.zzf.zzs.zzm(); if (!zzm.zzx()) { Log.println(6, this.zzf.zzq(), "Persisted config not initialized. Not logging error/warn"); return; } c = this.zzf.zza; if (c == 0) { int i2 = a + 123; b = i2 % 128; if (i2 % 2 != 0) { this.zzf.zzs.zzf().zzy(); Object obj = null; obj.hashCode(); throw null; } if (this.zzf.zzs.zzf().zzy()) { zzel zzelVar = this.zzf; zzelVar.zzs.zzaw(); zzelVar.zza = 'C'; } else { zzel zzelVar2 = this.zzf; zzelVar2.zzs.zzaw(); zzelVar2.zza = 'c'; } } j = this.zzf.zzb; if (j < 0) { zzel zzelVar3 = this.zzf; zzelVar3.zzs.zzf().zzh(); zzelVar3.zzb = 46000L; } char charAt = "01VDIWEA?".charAt(this.zza); c2 = this.zzf.zza; j2 = this.zzf.zzb; String zzo = zzel.zzo(true, this.zzb, this.zzc, this.zzd, this.zze); StringBuilder sb = new StringBuilder(zzo.length() + 24); Object[] objArr = new Object[1]; c((char) ((KeyEvent.getMaxKeyCode() >> 16) + 10341), TextUtils.indexOf("", "", 0, 0), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1, objArr); sb.append(((String) objArr[0]).intern()); sb.append(charAt); sb.append(c2); sb.append(j2); sb.append(":"); sb.append(zzo); String sb2 = sb.toString(); if (sb2.length() > 1024) { sb2 = this.zzb.substring(0, 1024); } zzey zzeyVar = zzm.zzb; if (zzeyVar != null) { int i3 = a + 41; b = i3 % 128; if (i3 % 2 != 0) { zzeyVar.zzb(sb2, 0L); } else { zzeyVar.zzb(sb2, 1L); } } int i4 = b + 63; a = i4 % 128; int i5 = i4 % 2; } /* JADX WARN: Removed duplicated region for block: B:32:0x03f1 */ /* JADX WARN: Removed duplicated region for block: B:34:0x03f2 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void c(char r20, int r21, int r22, java.lang.Object[] r23) { /* Method dump skipped, instructions count: 1020 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzei.c(char, int, int, java.lang.Object[]):void"); } /* JADX INFO: Access modifiers changed from: package-private */ public zzei(zzel zzelVar, int i, String str, Object obj, Object obj2, Object obj3) { this.zzf = zzelVar; this.zza = i; this.zzb = str; this.zzc = obj; this.zzd = obj2; this.zze = obj3; } }