package com.google.android.gms.measurement.internal; import android.graphics.Color; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.text.TextUtils; import android.view.KeyEvent; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.analytics.ecommerce.ProductAction; import com.google.android.gms.common.internal.Preconditions; import com.google.android.gms.internal.measurement.zznl; import com.google.android.gms.internal.measurement.zzoy; import com.google.android.gms.internal.measurement.zzpe; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Iterator; import java.util.Map; import o.IRS; import o.nyh; import o.pKi; import o.xzZ; /* loaded from: classes.dex */ public final class zzfm extends zzki implements zzae { final Map> zza; final Map> zzb; final pKi zzc; final com.google.android.gms.internal.measurement.zzr zzd; private final Map> zze; private final Map zzg; private final Map> zzh; private final Map zzi; private static final byte[] $$a = {101, 120, 60, 69}; private static final int $$b = 124; private static int $10 = 0; private static int $11 = 1; private static int a = 0; private static int c = 1; private static char[] b = {49026}; private static char e = 35368; /* JADX INFO: Access modifiers changed from: package-private */ public zzfm(zzks zzksVar) { super(zzksVar); this.zze = new nyh(); this.zza = new nyh(); this.zzb = new nyh(); this.zzg = new nyh(); this.zzi = new nyh(); this.zzh = new nyh(); this.zzc = new zzfj(this, 20); this.zzd = new zzfk(this); } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Removed duplicated region for block: B:10:0x0024 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001c */ /* JADX WARN: Type inference failed for: r5v2, types: [int] */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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 r5, int r6, short r7, java.lang.Object[] r8) { /* byte[] r0 = com.google.android.gms.measurement.internal.zzfm.$$a int r5 = r5 * 4 int r5 = 4 - r5 int r7 = r7 + 117 int r6 = r6 * 3 int r1 = r6 + 1 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L14 r3 = r5 r4 = r2 goto L26 L14: r3 = r2 L15: byte r4 = (byte) r7 r1[r3] = r4 int r4 = r3 + 1 if (r3 != r6) goto L24 java.lang.String r5 = new java.lang.String r5.(r1, r2) r8[r2] = r5 return L24: r3 = r0[r5] L26: int r5 = r5 + 1 int r3 = -r3 int r7 = r7 + r3 r3 = r4 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzfm.f(byte, int, short, java.lang.Object[]):void"); } /* JADX INFO: Access modifiers changed from: package-private */ public final boolean zzm(String str) { int i = 2 % 2; int i2 = c + 21; a = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; d(TextUtils.indexOf("", "") + 1, new char[]{13865}, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 127), objArr); boolean equals = ((String) objArr[0]).intern().equals(zza(str, "measurement.upload.blacklist_internal")); int i4 = c + 93; a = i4 % 128; if (i4 % 2 == 0) { return equals; } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public final boolean zzp(String str) { int i = 2 % 2; int i2 = c + 79; a = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; d(-TextUtils.indexOf((CharSequence) "", '0'), new char[]{13865}, (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 126), objArr); boolean equals = ((String) objArr[0]).intern().equals(zza(str, "measurement.upload.blacklist_public")); int i4 = c + 67; a = i4 % 128; if (i4 % 2 == 0) { return equals; } throw null; } /* JADX INFO: Access modifiers changed from: protected */ public final String zzf(String str) { int i = 2 % 2; int i2 = c + 107; a = i2 % 128; int i3 = i2 % 2; zzg(); String str2 = this.zzi.get(str); int i4 = c + 37; a = i4 % 128; if (i4 % 2 == 0) { return str2; } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: protected */ public final void zzi(String str) { int i = 2 % 2; int i2 = a + 69; c = i2 % 128; Object obj = null; if (i2 % 2 != 0) { zzg(); this.zzi.put(str, null); int i3 = a + 45; c = i3 % 128; if (i3 % 2 == 0) { throw null; } return; } zzg(); this.zzi.put(str, null); obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public final void zzj(String str) { int i = 2 % 2; int i2 = a + 77; c = i2 % 128; if (i2 % 2 == 0) { zzg(); this.zzg.remove(str); int i3 = 45 / 0; } else { zzg(); this.zzg.remove(str); } } /* JADX INFO: Access modifiers changed from: package-private */ public final boolean zzk(String str) { int i = 2 % 2; zzg(); com.google.android.gms.internal.measurement.zzfc zze = zze(str); if (zze == null) { int i2 = c + 43; a = i2 % 128; return i2 % 2 != 0; } boolean zzo = zze.zzo(); int i3 = a + 37; c = i3 % 128; int i4 = i3 % 2; return zzo; } private static final Map zzv(com.google.android.gms.internal.measurement.zzfc zzfcVar) { int i = 2 % 2; nyh nyhVar = new nyh(); if (zzfcVar != null) { int i2 = a + 87; c = i2 % 128; if (i2 % 2 == 0) { zzfcVar.zzk().iterator(); Object obj = null; obj.hashCode(); throw null; } Iterator it = zzfcVar.zzk().iterator(); int i3 = c + 25; a = i3 % 128; int i4 = i3 % 2; while (!(!it.hasNext())) { com.google.android.gms.internal.measurement.zzfe next = it.next(); nyhVar.put(next.zzb(), next.zzc()); } } return nyhVar; } @Override // com.google.android.gms.measurement.internal.zzae public final String zza(String str, String str2) { int i = 2 % 2; int i2 = c + 87; a = i2 % 128; Object obj = null; if (i2 % 2 == 0) { zzg(); zzt(str); Map map = this.zze.get(str); if (map == null) { return null; } String str3 = map.get(str2); int i3 = c + 93; a = i3 % 128; int i4 = i3 % 2; return str3; } zzg(); zzt(str); this.zze.get(str); obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public final int zzc(String str, String str2) { int i = 2 % 2; zzg(); zzt(str); Map map = this.zzh.get(str); if (map == null) { int i2 = c + 55; a = i2 % 128; if (i2 % 2 != 0) { int i3 = 4 / 0; } return 1; } int i4 = c + 123; a = i4 % 128; int i5 = i4 % 2; Integer num = map.get(str2); if (num != null) { return num.intValue(); } int i6 = a + 115; c = i6 % 128; int i7 = i6 % 2; return 1; } /* JADX INFO: Access modifiers changed from: protected */ public final com.google.android.gms.internal.measurement.zzfc zze(String str) { int i = 2 % 2; int i2 = c + 117; a = i2 % 128; int i3 = i2 % 2; zzY(); zzg(); Preconditions.checkNotEmpty(str); zzt(str); com.google.android.gms.internal.measurement.zzfc zzfcVar = this.zzg.get(str); int i4 = a + 69; c = i4 % 128; int i5 = i4 % 2; return zzfcVar; } /* JADX WARN: Code restructure failed: missing block: B:10:0x003c, code lost: return false; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x003d, code lost: r6 = r5.zzg.get(r6); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0045, code lost: if (r6 != null) goto L15; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x0047, code lost: return false; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x004c, code lost: if (r6.zza() == 0) goto L19; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x004e, code lost: r6 = com.google.android.gms.measurement.internal.zzfm.a + 73; com.google.android.gms.measurement.internal.zzfm.c = r6 % 128; r6 = r6 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x0058, code lost: return true; */ /* JADX WARN: Code restructure failed: missing block: B:19:0x0034, code lost: if (r5.zzs.zzf().zzs(null, com.google.android.gms.measurement.internal.zzdy.zzat) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0022, code lost: if (r5.zzs.zzf().zzs(null, com.google.android.gms.measurement.internal.zzdy.zzat) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x003a, code lost: if (android.text.TextUtils.isEmpty(r6) == false) goto L12; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final boolean zzl(java.lang.String r6) { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.google.android.gms.measurement.internal.zzfm.a int r1 = r1 + 35 int r2 = r1 % 128 com.google.android.gms.measurement.internal.zzfm.c = r2 int r1 = r1 % r0 r2 = 0 r3 = 0 if (r1 != 0) goto L25 com.google.android.gms.internal.measurement.zzpe.zzc() com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs com.google.android.gms.measurement.internal.zzaf r1 = r1.zzf() com.google.android.gms.measurement.internal.zzdx r4 = com.google.android.gms.measurement.internal.zzdy.zzat boolean r1 = r1.zzs(r2, r4) r2 = 26 int r2 = r2 / r3 if (r1 == 0) goto L59 goto L36 L25: com.google.android.gms.internal.measurement.zzpe.zzc() com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs com.google.android.gms.measurement.internal.zzaf r1 = r1.zzf() com.google.android.gms.measurement.internal.zzdx r4 = com.google.android.gms.measurement.internal.zzdy.zzat boolean r1 = r1.zzs(r2, r4) if (r1 == 0) goto L59 L36: boolean r1 = android.text.TextUtils.isEmpty(r6) if (r1 == 0) goto L3d return r3 L3d: java.util.Map r1 = r5.zzg java.lang.Object r6 = r1.get(r6) com.google.android.gms.internal.measurement.zzfc r6 = (com.google.android.gms.internal.measurement.zzfc) r6 if (r6 != 0) goto L48 return r3 L48: int r6 = r6.zza() if (r6 == 0) goto L59 int r6 = com.google.android.gms.measurement.internal.zzfm.a int r6 = r6 + 73 int r1 = r6 % 128 com.google.android.gms.measurement.internal.zzfm.c = r1 int r6 = r6 % r0 r6 = 1 return r6 L59: int r6 = com.google.android.gms.measurement.internal.zzfm.a int r6 = r6 + 101 int r1 = r6 % 128 com.google.android.gms.measurement.internal.zzfm.c = r1 int r6 = r6 % r0 return r3 */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzfm.zzl(java.lang.String):boolean"); } /* JADX INFO: Access modifiers changed from: package-private */ public final boolean zzo(String str, String str2) { int i = 2 % 2; int i2 = c + 69; a = i2 % 128; Object obj = null; if (i2 % 2 != 0) { zzg(); zzt(str); zzm(str); throw null; } zzg(); zzt(str); if (zzm(str) && zzkz.zzag(str2)) { return true; } if (zzp(str)) { int i3 = a + 97; c = i3 % 128; int i4 = i3 % 2; if (zzkz.zzah(str2)) { return true; } } Map map = this.zza.get(str); if (map == null) { return false; } int i5 = a + 89; c = i5 % 128; if (i5 % 2 == 0) { map.get(str2); obj.hashCode(); throw null; } Boolean bool = map.get(str2); if (bool == null) { return false; } return bool.booleanValue(); } /* JADX INFO: Access modifiers changed from: package-private */ public final boolean zzn(String str, String str2) { int i = 2 % 2; int i2 = a + 107; c = i2 % 128; int i3 = i2 % 2; zzg(); zzt(str); if ("ecommerce_purchase".equals(str2) || !(!ProductAction.ACTION_PURCHASE.equals(str2)) || ProductAction.ACTION_REFUND.equals(str2)) { return true; } Map map = this.zzb.get(str); if (map == null) { return false; } Boolean bool = map.get(str2); if (bool != null) { return bool.booleanValue(); } int i4 = c + 81; a = i4 % 128; int i5 = i4 % 2; return false; } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ com.google.android.gms.internal.measurement.zzc zzd(zzfm zzfmVar, String str) { int i = 2 % 2; zzfmVar.zzY(); Preconditions.checkNotEmpty(str); zzpe.zzc(); Object obj = null; if (!zzfmVar.zzs.zzf().zzs(null, zzdy.zzat)) { int i2 = a + 21; c = i2 % 128; int i3 = i2 % 2; return null; } if (!zzfmVar.zzl(str)) { return null; } if (!zzfmVar.zzg.containsKey(str) || zzfmVar.zzg.get(str) == null) { zzfmVar.zzt(str); int i4 = c + 77; a = i4 % 128; int i5 = i4 % 2; } else { int i6 = a + 69; c = i6 % 128; if (i6 % 2 == 0) { zzfmVar.zzu(str, zzfmVar.zzg.get(str)); obj.hashCode(); throw null; } zzfmVar.zzu(str, zzfmVar.zzg.get(str)); } return zzfmVar.zzc.snapshot().get(str); } private final com.google.android.gms.internal.measurement.zzfc zzr(String str, byte[] bArr) { int i = 2 % 2; int i2 = c + 39; a = i2 % 128; String str2 = null; if (i2 % 2 != 0) { throw null; } if (bArr == null) { return com.google.android.gms.internal.measurement.zzfc.zzg(); } try { com.google.android.gms.internal.measurement.zzfc zzaA = ((com.google.android.gms.internal.measurement.zzfb) zzku.zzl(com.google.android.gms.internal.measurement.zzfc.zze(), bArr)).zzaA(); zzej zzj = this.zzs.zzay().zzj(); Long valueOf = zzaA.zzq() ? Long.valueOf(zzaA.zzc()) : null; if (zzaA.zzp()) { int i3 = c + 25; a = i3 % 128; if (i3 % 2 != 0) { str2 = zzaA.zzh(); int i4 = 4 / 0; } else { str2 = zzaA.zzh(); } } zzj.zzc("Parsed config. version, gmp_app_id", valueOf, str2); return zzaA; } catch (com.google.android.gms.internal.measurement.zzkh e2) { this.zzs.zzay().zzk().zzc("Unable to merge remote config. appId", zzel.zzn(str), e2); return com.google.android.gms.internal.measurement.zzfc.zzg(); } catch (RuntimeException e3) { this.zzs.zzay().zzk().zzc("Unable to merge remote config. appId", zzel.zzn(str), e3); return com.google.android.gms.internal.measurement.zzfc.zzg(); } } /* JADX WARN: Code restructure failed: missing block: B:13:0x00a9, code lost: r4.zzs.zzay().zzj().zzb("EES program activity", r6.next().zzb()); */ /* JADX WARN: Code restructure failed: missing block: B:15:0x00c0, code lost: r2.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:16:0x00c3, code lost: throw null; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private final void zzu(final java.lang.String r5, com.google.android.gms.internal.measurement.zzfc r6) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = r6.zza() if (r1 == 0) goto Le8 com.google.android.gms.measurement.internal.zzfv r1 = r4.zzs com.google.android.gms.measurement.internal.zzel r1 = r1.zzay() com.google.android.gms.measurement.internal.zzej r1 = r1.zzj() java.lang.String r2 = "EES programs found" int r3 = r6.zza() java.lang.Integer r3 = java.lang.Integer.valueOf(r3) r1.zzb(r2, r3) java.util.List r6 = r6.zzj() r1 = 0 java.lang.Object r6 = r6.get(r1) com.google.android.gms.internal.measurement.zzgo r6 = (com.google.android.gms.internal.measurement.zzgo) r6 com.google.android.gms.internal.measurement.zzc r1 = new com.google.android.gms.internal.measurement.zzc // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 r1.() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzfg r2 = new com.google.android.gms.measurement.internal.zzfg // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 r2.(r4, r5) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 java.lang.String r3 = "internal.remoteConfig" r1.zzd(r3, r2) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzfi r2 = new com.google.android.gms.measurement.internal.zzfi // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 r2.(r4, r5) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 java.lang.String r3 = "internal.appMetadata" r1.zzd(r3, r2) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzff r2 = new com.google.android.gms.measurement.internal.zzff // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 r2.(r4) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 java.lang.String r3 = "internal.logger" r1.zzd(r3, r2) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 r1.zzc(r6) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 o.pKi r2 = r4.zzc // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 r2.put(r5, r1) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzfv r1 = r4.zzs // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzel r1 = r1.zzay() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzej r1 = r1.zzj() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.internal.measurement.zzgk r2 = r6.zza() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 int r2 = r2.zza() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 java.lang.String r3 = "EES program loaded for appId, activities" java.lang.Integer r2 = java.lang.Integer.valueOf(r2) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 r1.zzc(r3, r5, r2) // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.internal.measurement.zzgk r6 = r6.zza() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 java.util.List r6 = r6.zzd() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 java.util.Iterator r6 = r6.iterator() // Catch: java.lang.Exception -> Ld6 com.google.android.gms.internal.measurement.zzd -> Ld8 L7d: boolean r1 = r6.hasNext() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 r2 = 0 if (r1 == 0) goto Lc6 int r1 = com.google.android.gms.measurement.internal.zzfm.a int r1 = r1 + 73 int r3 = r1 % 128 com.google.android.gms.measurement.internal.zzfm.c = r3 int r1 = r1 % r0 java.lang.String r3 = "EES program activity" if (r1 == 0) goto La9 java.lang.Object r1 = r6.next() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.internal.measurement.zzgm r1 = (com.google.android.gms.internal.measurement.zzgm) r1 // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzfv r2 = r4.zzs // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzel r2 = r2.zzay() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzej r2 = r2.zzj() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 java.lang.String r1 = r1.zzb() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 r2.zzb(r3, r1) // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 goto L7d La9: java.lang.Object r6 = r6.next() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.internal.measurement.zzgm r6 = (com.google.android.gms.internal.measurement.zzgm) r6 // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzfv r0 = r4.zzs // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzel r0 = r0.zzay() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 com.google.android.gms.measurement.internal.zzej r0 = r0.zzj() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 java.lang.String r6 = r6.zzb() // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 r0.zzb(r3, r6) // Catch: com.google.android.gms.internal.measurement.zzd -> Ld8 r2.hashCode() // Catch: java.lang.Throwable -> Lc4 com.google.android.gms.internal.measurement.zzd -> Ld8 throw r2 // Catch: java.lang.Throwable -> Lc4 com.google.android.gms.internal.measurement.zzd -> Ld8 Lc4: r5 = move-exception throw r5 Lc6: int r5 = com.google.android.gms.measurement.internal.zzfm.c int r5 = r5 + 109 int r6 = r5 % 128 com.google.android.gms.measurement.internal.zzfm.a = r6 int r5 = r5 % r0 if (r5 != 0) goto Ld2 return Ld2: r2.hashCode() throw r2 Ld6: r5 = move-exception throw r5 Ld8: com.google.android.gms.measurement.internal.zzfv r6 = r4.zzs com.google.android.gms.measurement.internal.zzel r6 = r6.zzay() com.google.android.gms.measurement.internal.zzej r6 = r6.zzd() java.lang.String r0 = "Failed to load EES program. appId" r6.zzb(r0, r5) return Le8: o.pKi r6 = r4.zzc r6.remove(r5) return */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzfm.zzu(java.lang.String, com.google.android.gms.internal.measurement.zzfc):void"); } /* JADX WARN: Code restructure failed: missing block: B:38:0x00a2, code lost: if (r3 == null) goto L28; */ /* JADX WARN: Removed duplicated region for block: B:42:0x013b */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private final void zzt(java.lang.String r14) { /* Method dump skipped, instructions count: 338 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzfm.zzt(java.lang.String):void"); } /* JADX INFO: Access modifiers changed from: protected */ public final boolean zzq(String str, byte[] bArr, String str2) { int i = 2 % 2; int i2 = a + 107; c = i2 % 128; int i3 = i2 % 2; zzY(); zzg(); Preconditions.checkNotEmpty(str); com.google.android.gms.internal.measurement.zzfb zzbv = zzr(str, bArr).zzbv(); if (zzbv == null) { return false; } zzs(str, zzbv); zzpe.zzc(); if (this.zzs.zzf().zzs(null, zzdy.zzat)) { zzu(str, zzbv.zzaA()); } this.zzg.put(str, zzbv.zzaA()); this.zzi.put(str, str2); this.zze.put(str, zzv(zzbv.zzaA())); this.zzf.zzi().zzC(str, new ArrayList(zzbv.zze())); try { zzbv.zzc(); bArr = zzbv.zzaA().zzbs(); } catch (RuntimeException e2) { this.zzs.zzay().zzk().zzc("Unable to serialize reduced-size config. Storing full config instead. appId", zzel.zzn(str), e2); } catch (Exception e3) { throw e3; } zzoy.zzc(); if (!this.zzs.zzf().zzs(null, zzdy.zzaq)) { this.zzf.zzi().zzG(str, bArr, null); } else { this.zzf.zzi().zzG(str, bArr, str2); int i4 = a + 87; c = i4 % 128; int i5 = i4 % 2; } this.zzg.put(str, zzbv.zzaA()); return true; } private final void zzs(String str, com.google.android.gms.internal.measurement.zzfb zzfbVar) { String zzc; boolean z; int i = 2 % 2; nyh nyhVar = new nyh(); nyh nyhVar2 = new nyh(); nyh nyhVar3 = new nyh(); if (zzfbVar != null) { int i2 = c + 93; a = i2 % 128; int i3 = i2 % 2; int i4 = 0; while (i4 < zzfbVar.zza()) { int i5 = a + 33; c = i5 % 128; Object obj = null; if (i5 % 2 == 0) { TextUtils.isEmpty(zzfbVar.zzb(i4).zzbv().zzc()); obj.hashCode(); throw null; } com.google.android.gms.internal.measurement.zzez zzbv = zzfbVar.zzb(i4).zzbv(); if (TextUtils.isEmpty(zzbv.zzc())) { this.zzs.zzay().zzk().zza("EventConfig contained null event name"); } else { String zzc2 = zzbv.zzc(); String zzb = zzgs.zzb(zzbv.zzc()); if (!TextUtils.isEmpty(zzb)) { zzbv.zzb(zzb); zzfbVar.zzd(i4, zzbv); } zznl.zzc(); if (!this.zzs.zzf().zzs(null, zzdy.zzaC)) { nyhVar.put(zzc2, Boolean.valueOf(zzbv.zzd())); } else if (zzbv.zzf() && zzbv.zzd()) { nyhVar.put(zzc2, true); } zznl.zzc(); if (!this.zzs.zzf().zzs(null, zzdy.zzaC)) { nyhVar2.put(zzbv.zzc(), Boolean.valueOf(zzbv.zze())); int i6 = a + 45; c = i6 % 128; int i7 = i6 % 2; } else if (zzbv.zzg() && zzbv.zze()) { int i8 = a + 47; c = i8 % 128; if (i8 % 2 == 0) { zzc = zzbv.zzc(); z = false; } else { zzc = zzbv.zzc(); z = true; } nyhVar2.put(zzc, z); } if (!(!zzbv.zzh())) { if (zzbv.zza() < 2 || zzbv.zza() > 65535) { this.zzs.zzay().zzk().zzc("Invalid sampling rate. Event name, sample rate", zzbv.zzc(), Integer.valueOf(zzbv.zza())); } else { nyhVar3.put(zzbv.zzc(), Integer.valueOf(zzbv.zza())); } } } i4++; int i9 = c + 73; a = i9 % 128; int i10 = i9 % 2; } } this.zza.put(str, nyhVar); this.zzb.put(str, nyhVar2); this.zzh.put(str, nyhVar3); } private static void d(int i, char[] cArr, byte b2, Object[] objArr) { int i2; Object obj; char c2; int length; char[] cArr2; int i3 = 2 % 2; IRS irs = new IRS(); char[] cArr3 = b; Object obj2 = null; float f = BitmapDescriptorFactory.HUE_RED; if (cArr3 != null) { int i4 = $11 + 5; $10 = i4 % 128; if (i4 % 2 != 0) { length = cArr3.length; cArr2 = new char[length]; } else { length = cArr3.length; cArr2 = new char[length]; } int i5 = 0; while (i5 < length) { try { Object[] objArr2 = {Integer.valueOf(cArr3[i5])}; Object obj3 = xzZ.y.get(-1987398494); if (obj3 == null) { Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777514, 6 - (ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)), (char) ((AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)) - 1)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr3 = new Object[1]; f(b3, b4, b4, objArr3); obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-1987398494, obj3); } cArr2[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue(); i5++; f = BitmapDescriptorFactory.HUE_RED; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr3 = cArr2; } Object[] objArr4 = {Integer.valueOf(e)}; Object obj4 = xzZ.y.get(-1987398494); char c3 = '0'; if (obj4 == null) { Class cls2 = (Class) xzZ.c(297 - TextUtils.indexOf((CharSequence) "", '0'), TextUtils.getTrimmedLength("") + 5, (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))); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr5 = new Object[1]; f(b5, b6, b6, objArr5); obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1987398494, obj4); } char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue(); char[] cArr4 = new char[i]; if (i % 2 != 0) { i2 = i - 1; cArr4[i2] = (char) (cArr[i2] - b2); } else { i2 = i; } if (i2 > 1) { char c4 = 7; int i6 = $10 + 7; $11 = i6 % 128; if (i6 % 2 == 0) { irs.e = 1; } else { irs.e = 0; } while (irs.e < i2) { irs.b = cArr[irs.e]; irs.c = cArr[irs.e + 1]; if (irs.b == irs.c) { cArr4[irs.e] = (char) (irs.b - b2); cArr4[irs.e + 1] = (char) (irs.c - b2); obj = obj2; c2 = c4; } else { Object[] objArr6 = new Object[13]; objArr6[12] = irs; objArr6[11] = Integer.valueOf(charValue); objArr6[10] = irs; objArr6[9] = irs; objArr6[8] = Integer.valueOf(charValue); objArr6[c4] = irs; objArr6[6] = irs; objArr6[5] = Integer.valueOf(charValue); objArr6[4] = irs; objArr6[3] = irs; objArr6[2] = Integer.valueOf(charValue); objArr6[1] = irs; objArr6[0] = irs; Object obj5 = xzZ.y.get(822107368); if (obj5 == null) { Class cls3 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 233, KeyEvent.getDeadChar(0, 0) + 5, (char) (22023 - TextUtils.lastIndexOf("", c3, 0))); byte b7 = (byte) 0; byte b8 = b7; Object[] objArr7 = new Object[1]; f(b7, b8, (byte) (b8 + 3), objArr7); obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class); xzZ.y.put(822107368, obj5); } if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) { try { Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs}; Object obj6 = xzZ.y.get(-1152873385); if (obj6 != null) { c2 = 7; } else { Class cls4 = (Class) xzZ.c(327 - ExpandableListView.getPackedPositionGroup(0L), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((Process.getThreadPriority(0) + 20) >> 6)); byte b9 = (byte) 0; byte b10 = b9; Object[] objArr9 = new Object[1]; f(b9, b10, (byte) (b10 + 1), objArr9); c2 = 7; obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class); xzZ.y.put(-1152873385, obj6); } obj = null; int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue(); int i7 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr3[intValue]; cArr4[irs.e + 1] = cArr3[i7]; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { obj = null; c2 = 7; if (irs.a == irs.d) { irs.f = ((irs.f + charValue) - 1) % charValue; irs.j = ((irs.j + charValue) - 1) % charValue; int i8 = (irs.a * charValue) + irs.f; int i9 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr3[i8]; cArr4[irs.e + 1] = cArr3[i9]; } else { int i10 = (irs.a * charValue) + irs.j; int i11 = (irs.d * charValue) + irs.f; cArr4[irs.e] = cArr3[i10]; cArr4[irs.e + 1] = cArr3[i11]; } } } irs.e += 2; obj2 = obj; c4 = c2; c3 = '0'; } } for (int i12 = 0; i12 < i; i12++) { int i13 = $11 + 13; $10 = i13 % 128; int i14 = i13 % 2; cArr4[i12] = (char) (cArr4[i12] ^ 13722); } objArr[0] = new String(cArr4); } @Override // com.google.android.gms.measurement.internal.zzki protected final boolean zzb() { int i = 2 % 2; int i2 = c + 19; int i3 = i2 % 128; a = i3; int i4 = i2 % 2; int i5 = i3 + 53; c = i5 % 128; if (i5 % 2 != 0) { return false; } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public static /* bridge */ /* synthetic */ Map zzh(zzfm zzfmVar) { int i = 2 % 2; int i2 = a; int i3 = i2 + 77; c = i3 % 128; int i4 = i3 % 2; Map> map = zzfmVar.zze; int i5 = i2 + 11; c = i5 % 128; int i6 = i5 % 2; return map; } }