what-the-bank/sources/com/google/android/gms/measurement/internal/zzaf.java

997 lines
37 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.measurement.internal;
import android.content.pm.ApplicationInfo;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.auth.api.credentials.CredentialsApi;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.util.ProcessUtils;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import o.GuL;
import o.xzZ;
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
/* loaded from: classes.dex */
public final class zzaf extends zzgo {
private Boolean zza;
private zzae zzb;
private Boolean zzc;
private static final byte[] $$a = {126, 117, 96, 61};
private static final int $$b = 62;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int a = 1;
private static long e = 8448325393305253498L;
/* JADX INFO: Access modifiers changed from: package-private */
public zzaf(zzfv zzfvVar) {
super(zzfvVar);
this.zzb = new zzae() { // from class: com.google.android.gms.measurement.internal.zzad
@Override // com.google.android.gms.measurement.internal.zzae
public final String zza(String str, String str2) {
return null;
}
};
}
/* 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:0x0028). 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 d(byte r5, int r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 3
int r0 = r7 + 1
int r6 = r6 + 4
int r5 = r5 * 2
int r5 = r5 + 119
byte[] r1 = com.google.android.gms.measurement.internal.zzaf.$$a
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r7
r3 = r2
goto L28
L14:
r3 = r2
L15:
int r6 = r6 + 1
byte r4 = (byte) r5
r0[r3] = r4
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
r4 = r1[r6]
int r3 = r3 + 1
L28:
int r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaf.d(byte, int, short, java.lang.Object[]):void");
}
public static final long zzA() {
int i = 2 % 2;
int i2 = a + 3;
c = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
long longValue = zzdy.zzC.zza(null).longValue();
int i4 = c + 63;
a = i4 % 128;
if (i4 % 2 != 0) {
return longValue;
}
obj.hashCode();
throw null;
}
public static final long zzz() {
int i = 2 % 2;
int i2 = a + 13;
c = i2 % 128;
if (i2 % 2 == 0) {
return zzdy.zzc.zza(null).longValue();
}
int i3 = 56 / 0;
return zzdy.zzc.zza(null).longValue();
}
/* JADX INFO: Access modifiers changed from: package-private */
public final int zzb(String str) {
int i = 2 % 2;
int i2 = c + 69;
a = i2 % 128;
int i3 = i2 % 2;
int zzf = zzf(str, zzdy.zzG, 500, CredentialsApi.CREDENTIAL_PICKER_REQUEST_CODE);
int i4 = c + 45;
a = i4 % 128;
if (i4 % 2 != 0) {
return zzf;
}
throw null;
}
public final int zzd(String str) {
int i = 2 % 2;
int i2 = c + 93;
a = i2 % 128;
int i3 = i2 % 2;
int zzf = zzf(str, zzdy.zzH, 25, 100);
int i4 = c + 109;
a = i4 % 128;
if (i4 % 2 != 0) {
return zzf;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final long zzh() {
int i = 2 % 2;
int i2 = a + 101;
c = i2 % 128;
if (i2 % 2 != 0) {
this.zzs.zzaw();
throw null;
}
this.zzs.zzaw();
int i3 = c + 109;
a = i3 % 128;
int i4 = i3 % 2;
return 46000L;
}
public final String zzl() {
String zzB;
int i = 2 % 2;
int i2 = a + 63;
c = i2 % 128;
if (i2 % 2 != 0) {
zzB = zzB("debug.firebase.analytics.app", "");
int i3 = 60 / 0;
} else {
zzB = zzB("debug.firebase.analytics.app", "");
}
int i4 = a + 7;
c = i4 % 128;
int i5 = i4 % 2;
return zzB;
}
public final String zzm() {
String zzB;
int i = 2 % 2;
int i2 = a + 29;
c = i2 % 128;
if (i2 % 2 != 0) {
zzB = zzB("debug.deferred.deeplink", "");
int i3 = 8 / 0;
} else {
zzB = zzB("debug.deferred.deeplink", "");
}
int i4 = a + 43;
c = i4 % 128;
int i5 = i4 % 2;
return zzB;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final String zzn() {
int i = 2 % 2;
int i2 = a + 31;
c = i2 % 128;
int i3 = i2 % 2;
this.zzs.zzaw();
int i4 = a + 121;
c = i4 % 128;
int i5 = i4 % 2;
return "FA";
}
public final boolean zzt(String str) {
zzae zzaeVar;
Object obj;
int i = 2 % 2;
int i2 = a + 33;
c = i2 % 128;
if (i2 % 2 != 0) {
zzaeVar = this.zzb;
Object[] objArr = new Object[1];
b(new char[]{37971, 37986, 32036, 56132, 47576}, (AudioTrack.getMaxVolume() > 1.0f ? 1 : (AudioTrack.getMaxVolume() == 1.0f ? 0 : -1)), objArr);
obj = objArr[0];
} else {
zzaeVar = this.zzb;
Object[] objArr2 = new Object[1];
b(new char[]{37971, 37986, 32036, 56132, 47576}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
obj = objArr2[0];
}
return ((String) obj).intern().equals(zzaeVar.zza(str, "gaia_collection_enabled"));
}
public final boolean zzw(String str) {
zzae zzaeVar;
Object obj;
int i = 2 % 2;
int i2 = a + 47;
c = i2 % 128;
if (i2 % 2 != 0) {
zzaeVar = this.zzb;
Object[] objArr = new Object[1];
b(new char[]{37971, 37986, 32036, 56132, 47576}, 1 % (ViewConfiguration.getTouchSlop() << 48), objArr);
obj = objArr[0];
} else {
zzaeVar = this.zzb;
Object[] objArr2 = new Object[1];
b(new char[]{37971, 37986, 32036, 56132, 47576}, 1 - (ViewConfiguration.getTouchSlop() >> 8), objArr2);
obj = objArr2[0];
}
return ((String) obj).intern().equals(zzaeVar.zza(str, "measurement.event_sampling_enabled"));
}
@EnsuresNonNull({"this.isMainProcess"})
public final boolean zzy() {
if (this.zzc == null) {
synchronized (this) {
if (this.zzc == null) {
ApplicationInfo applicationInfo = this.zzs.zzau().getApplicationInfo();
String myProcessName = ProcessUtils.getMyProcessName();
if (applicationInfo != null) {
String str = applicationInfo.processName;
this.zzc = Boolean.valueOf(str != null && str.equals(myProcessName));
}
if (this.zzc == null) {
this.zzc = Boolean.TRUE;
this.zzs.zzay().zzd().zza("My process not in the list of running processes");
}
}
}
}
return this.zzc.booleanValue();
}
public final String zzo(String str, zzdx<String> zzdxVar) {
int i = 2 % 2;
int i2 = c;
int i3 = i2 + 13;
a = i3 % 128;
Object obj = null;
if (i3 % 2 == 0) {
obj.hashCode();
throw null;
}
if (str == null) {
int i4 = i2 + 77;
a = i4 % 128;
if (i4 % 2 != 0) {
return zzdxVar.zza(null);
}
String zza = zzdxVar.zza(null);
int i5 = 15 / 0;
return zza;
}
return zzdxVar.zza(this.zzb.zza(str, zzdxVar.zzb()));
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0027, code lost:
if (r1 != false) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x002d, code lost:
return false;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x002a, code lost:
if (r1 != false) goto L12;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean zzr() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.google.android.gms.measurement.internal.zzaf.c
int r1 = r1 + 63
int r2 = r1 % 128
com.google.android.gms.measurement.internal.zzaf.a = r2
int r1 = r1 % r0
java.lang.String r1 = "google_analytics_adid_collection_enabled"
java.lang.Boolean r1 = r4.zzk(r1)
if (r1 == 0) goto L2e
int r2 = com.google.android.gms.measurement.internal.zzaf.c
int r2 = r2 + 29
int r3 = r2 % 128
com.google.android.gms.measurement.internal.zzaf.a = r3
int r2 = r2 % r0
r3 = 0
boolean r1 = r1.booleanValue()
if (r2 != 0) goto L2a
r2 = 48
int r2 = r2 / r3
if (r1 == 0) goto L2d
goto L2e
L2a:
if (r1 == 0) goto L2d
goto L2e
L2d:
return r3
L2e:
int r1 = com.google.android.gms.measurement.internal.zzaf.a
int r1 = r1 + 31
int r2 = r1 % 128
com.google.android.gms.measurement.internal.zzaf.c = r2
int r1 = r1 % r0
if (r1 != 0) goto L3b
r0 = 1
return r0
L3b:
r0 = 0
r0.hashCode()
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaf.zzr():boolean");
}
public final boolean zzu() {
int i = 2 % 2;
int i2 = a + 21;
c = i2 % 128;
if (i2 % 2 == 0) {
Boolean zzk = zzk("google_analytics_automatic_screen_reporting_enabled");
if (zzk != null && !zzk.booleanValue()) {
return false;
}
int i3 = a + 77;
c = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 88 / 0;
}
return true;
}
zzk("google_analytics_automatic_screen_reporting_enabled");
throw null;
}
public final int zzf(String str, zzdx<Integer> zzdxVar, int i, int i2) {
int i3 = 2 % 2;
int i4 = c + 107;
a = i4 % 128;
if (i4 % 2 == 0) {
int max = Math.max(Math.min(zze(str, zzdxVar), i2), i);
int i5 = 34 / 0;
return max;
}
return Math.max(Math.min(zze(str, zzdxVar), i2), i);
}
public final boolean zzv() {
int i = 2 % 2;
int i2 = a + 43;
c = i2 % 128;
int i3 = i2 % 2;
this.zzs.zzaw();
Boolean zzk = zzk("firebase_analytics_collection_deactivated");
if (zzk == null) {
return false;
}
int i4 = c + 65;
a = i4 % 128;
if (i4 % 2 == 0) {
zzk.booleanValue();
Object obj = null;
obj.hashCode();
throw null;
}
if (!zzk.booleanValue()) {
return false;
}
int i5 = a + 39;
c = i5 % 128;
int i6 = i5 % 2;
return true;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final boolean zzx() {
int i = 2 % 2;
if (this.zza == null) {
int i2 = c + 11;
a = i2 % 128;
int i3 = i2 % 2;
Boolean zzk = zzk("app_measurement_lite");
this.zza = zzk;
if (zzk == null) {
int i4 = c + 77;
a = i4 % 128;
int i5 = i4 % 2;
this.zza = false;
}
}
if (this.zza.booleanValue() || !this.zzs.zzN()) {
int i6 = c + 81;
a = i6 % 128;
int i7 = i6 % 2;
return true;
}
int i8 = c + 111;
a = i8 % 128;
int i9 = i8 % 2;
return false;
}
public final int zzc() {
Boolean zzj;
int i = 2 % 2;
int i2 = c + 93;
a = i2 % 128;
if (i2 % 2 == 0) {
zzkz zzv = this.zzs.zzv();
zzj = zzv.zzs.zzt().zzj();
int i3 = 56 / 0;
if (zzv.zzm() >= 201500) {
return 100;
}
} else {
zzkz zzv2 = this.zzs.zzv();
zzj = zzv2.zzs.zzt().zzj();
if (zzv2.zzm() >= 201500) {
return 100;
}
}
if (zzj != null && !zzj.booleanValue()) {
return 100;
}
int i4 = a + 7;
c = i4 % 128;
int i5 = i4 % 2;
return 25;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final Boolean zzk(String str) {
int i = 2 % 2;
Preconditions.checkNotEmpty(str);
Bundle zzj = zzj();
if (zzj != null) {
if (!(!zzj.containsKey(str))) {
Boolean valueOf = Boolean.valueOf(zzj.getBoolean(str));
int i2 = c + 37;
a = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 54 / 0;
}
return valueOf;
}
int i4 = a + 105;
c = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
int i5 = c + 35;
a = i5 % 128;
if (i5 % 2 == 0) {
this.zzs.zzay().zzd().zza("Failed to load metadata: Metadata bundle is null");
int i6 = 50 / 0;
return null;
}
this.zzs.zzay().zzd().zza("Failed to load metadata: Metadata bundle is null");
return null;
}
public final double zza(String str, zzdx<Double> zzdxVar) {
int i = 2 % 2;
int i2 = a + 109;
c = i2 % 128;
int i3 = i2 % 2;
if (str == null) {
double doubleValue = zzdxVar.zza(null).doubleValue();
int i4 = a + 103;
c = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 65 / 0;
}
return doubleValue;
}
String zza = this.zzb.zza(str, zzdxVar.zzb());
if (TextUtils.isEmpty(zza)) {
return zzdxVar.zza(null).doubleValue();
}
try {
return zzdxVar.zza(Double.valueOf(Double.parseDouble(zza))).doubleValue();
} catch (NumberFormatException unused) {
return zzdxVar.zza(null).doubleValue();
}
}
public final int zze(String str, zzdx<Integer> zzdxVar) {
int i = 2 % 2;
int i2 = a + 85;
c = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (str == null) {
return zzdxVar.zza(null).intValue();
}
String zza = this.zzb.zza(str, zzdxVar.zzb());
if (!(!TextUtils.isEmpty(zza))) {
return zzdxVar.zza(null).intValue();
}
try {
int intValue = zzdxVar.zza(Integer.valueOf(Integer.parseInt(zza))).intValue();
int i3 = c + 51;
a = i3 % 128;
int i4 = i3 % 2;
return intValue;
} catch (NumberFormatException unused) {
return zzdxVar.zza(null).intValue();
}
}
public final long zzi(String str, zzdx<Long> zzdxVar) {
int i = 2 % 2;
int i2 = c + 33;
a = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
if (str == null) {
return zzdxVar.zza(null).longValue();
}
String zza = this.zzb.zza(str, zzdxVar.zzb());
if (TextUtils.isEmpty(zza)) {
return zzdxVar.zza(null).longValue();
}
try {
long longValue = zzdxVar.zza(Long.valueOf(Long.parseLong(zza))).longValue();
int i4 = c + 117;
a = i4 % 128;
if (i4 % 2 != 0) {
return longValue;
}
obj.hashCode();
throw null;
} catch (NumberFormatException unused) {
return zzdxVar.zza(null).longValue();
}
}
public final boolean zzs(String str, zzdx<Boolean> zzdxVar) {
boolean parseBoolean;
boolean booleanValue;
int i = 2 % 2;
Object obj = null;
if (str == null) {
int i2 = c + 45;
a = i2 % 128;
if (i2 % 2 == 0) {
booleanValue = zzdxVar.zza(null).booleanValue();
int i3 = 0 / 0;
} else {
booleanValue = zzdxVar.zza(null).booleanValue();
}
int i4 = a + 121;
c = i4 % 128;
int i5 = i4 % 2;
return booleanValue;
}
String zza = this.zzb.zza(str, zzdxVar.zzb());
if (TextUtils.isEmpty(zza)) {
return zzdxVar.zza(null).booleanValue();
}
int i6 = c + 55;
a = i6 % 128;
if (i6 % 2 == 0) {
this.zzs.zzf().zzs(null, zzdy.zzaB);
obj.hashCode();
throw null;
}
if (this.zzs.zzf().zzs(null, zzdy.zzaB)) {
Object[] objArr = new Object[1];
b(new char[]{37971, 37986, 32036, 56132, 47576}, TextUtils.getOffsetBefore("", 0) + 1, objArr);
parseBoolean = ((String) objArr[0]).intern().equals(zza);
} else {
parseBoolean = Boolean.parseBoolean(zza);
}
return zzdxVar.zza(Boolean.valueOf(parseBoolean)).booleanValue();
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Code restructure failed: missing block: B:22:0x0040, code lost:
r0 = java.lang.Integer.valueOf(r0.getInt("analytics.safelisted_events"));
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0028, code lost:
r4.zzs.zzay().zzd().zza("Failed to load metadata: Metadata bundle is null");
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0026, code lost:
if (r0 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r0 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x003c, code lost:
if (r0.containsKey("analytics.safelisted_events") != false) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x003e, code lost:
r0 = null;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.util.List<java.lang.String> zzp(java.lang.String r5) {
/*
r4 = this;
r5 = 2
int r0 = r5 % r5
int r0 = com.google.android.gms.measurement.internal.zzaf.a
int r0 = r0 + 93
int r1 = r0 % 128
com.google.android.gms.measurement.internal.zzaf.c = r1
int r0 = r0 % r5
r1 = 0
java.lang.String r2 = "analytics.safelisted_events"
if (r0 == 0) goto L1f
com.google.android.gms.common.internal.Preconditions.checkNotEmpty(r2)
android.os.Bundle r0 = r4.zzj()
r3 = 70
int r3 = r3 / 0
if (r0 != 0) goto L38
goto L28
L1f:
com.google.android.gms.common.internal.Preconditions.checkNotEmpty(r2)
android.os.Bundle r0 = r4.zzj()
if (r0 != 0) goto L38
L28:
com.google.android.gms.measurement.internal.zzfv r0 = r4.zzs
com.google.android.gms.measurement.internal.zzel r0 = r0.zzay()
com.google.android.gms.measurement.internal.zzej r0 = r0.zzd()
java.lang.String r2 = "Failed to load metadata: Metadata bundle is null"
r0.zza(r2)
goto L3e
L38:
boolean r3 = r0.containsKey(r2)
if (r3 != 0) goto L40
L3e:
r0 = r1
goto L48
L40:
int r0 = r0.getInt(r2)
java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
L48:
if (r0 == 0) goto L84
com.google.android.gms.measurement.internal.zzfv r2 = r4.zzs // Catch: android.content.res.Resources.NotFoundException -> L74
android.content.Context r2 = r2.zzau() // Catch: android.content.res.Resources.NotFoundException -> L74
android.content.res.Resources r2 = r2.getResources() // Catch: android.content.res.Resources.NotFoundException -> L74
int r0 = r0.intValue() // Catch: android.content.res.Resources.NotFoundException -> L74
java.lang.String[] r0 = r2.getStringArray(r0) // Catch: android.content.res.Resources.NotFoundException -> L74
if (r0 != 0) goto L6f
int r0 = com.google.android.gms.measurement.internal.zzaf.c
int r0 = r0 + 9
int r2 = r0 % 128
com.google.android.gms.measurement.internal.zzaf.a = r2
int r0 = r0 % r5
int r2 = r2 + 109
int r0 = r2 % 128
com.google.android.gms.measurement.internal.zzaf.c = r0
int r2 = r2 % r5
return r1
L6f:
java.util.List r5 = java.util.Arrays.asList(r0) // Catch: android.content.res.Resources.NotFoundException -> L74
return r5
L74:
r0 = move-exception
com.google.android.gms.measurement.internal.zzfv r2 = r4.zzs
com.google.android.gms.measurement.internal.zzel r2 = r2.zzay()
com.google.android.gms.measurement.internal.zzej r2 = r2.zzd()
java.lang.String r3 = "Failed to load string array from metadata: resource not found"
r2.zzb(r3, r0)
L84:
int r0 = com.google.android.gms.measurement.internal.zzaf.c
int r0 = r0 + 113
int r2 = r0 % 128
com.google.android.gms.measurement.internal.zzaf.a = r2
int r0 = r0 % r5
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaf.zzp(java.lang.String):java.util.List");
}
private final String zzB(String str, String str2) {
int i = 2 % 2;
int i2 = c + 97;
a = i2 % 128;
int i3 = i2 % 2;
try {
String str3 = (String) Class.forName("android.os.SystemProperties").getMethod("get", String.class, String.class).invoke(null, str, "");
Preconditions.checkNotNull(str3);
return str3;
} catch (ClassNotFoundException e2) {
this.zzs.zzay().zzd().zzb("Could not find SystemProperties class", e2);
int i4 = a + 25;
c = i4 % 128;
int i5 = i4 % 2;
return "";
} catch (IllegalAccessException e3) {
this.zzs.zzay().zzd().zzb("Could not access SystemProperties.get()", e3);
int i42 = a + 25;
c = i42 % 128;
int i52 = i42 % 2;
return "";
} catch (NoSuchMethodException e4) {
this.zzs.zzay().zzd().zzb("Could not find SystemProperties.get() method", e4);
int i422 = a + 25;
c = i422 % 128;
int i522 = i422 % 2;
return "";
} catch (InvocationTargetException e5) {
this.zzs.zzay().zzd().zzb("SystemProperties.get() threw an exception", e5);
int i4222 = a + 25;
c = i4222 % 128;
int i5222 = i4222 % 2;
return "";
}
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0071, code lost:
if (r1 != null) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0073, code lost:
r1 = com.google.android.gms.measurement.internal.zzaf.a + 49;
com.google.android.gms.measurement.internal.zzaf.c = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x007e, code lost:
if ((r1 % 2) != 0) goto L25;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0080, code lost:
r5.zzs.zzay().zzd().zza("Failed to load metadata: ApplicationInfo is null");
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x008d, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x008e, code lost:
r5.zzs.zzay().zzd().zza("Failed to load metadata: ApplicationInfo is null");
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x009b, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x00aa, code lost:
return (android.os.Bundle) android.content.pm.ApplicationInfo.class.getField("metaData").get(r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x002e, code lost:
r1 = com.google.android.gms.measurement.internal.zzaf.c + 1;
com.google.android.gms.measurement.internal.zzaf.a = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0039, code lost:
if ((r1 % 2) == 0) goto L17;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x003b, code lost:
r5.zzs.zzay().zzd().zza("Failed to load metadata: PackageManager is null");
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0048, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0049, code lost:
r5.zzs.zzay().zzd().zza("Failed to load metadata: PackageManager is null");
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0056, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x002c, code lost:
if (r5.zzs.zzau().getPackageManager() == null) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001d, code lost:
if (r5.zzs.zzau().getPackageManager() == null) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0057, code lost:
r1 = com.google.android.gms.common.wrappers.Wrappers.packageManager(r5.zzs.zzau()).getApplicationInfo(r5.zzs.zzau().getPackageName(), 128);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
final android.os.Bundle zzj() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.google.android.gms.measurement.internal.zzaf.c
int r1 = r1 + 41
int r2 = r1 % 128
com.google.android.gms.measurement.internal.zzaf.a = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L22
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
android.content.Context r1 = r1.zzau() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
android.content.pm.PackageManager r1 = r1.getPackageManager() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
r3 = 93
int r3 = r3 / 0
if (r1 != 0) goto L57
goto L2e
L20:
r0 = move-exception
throw r0
L22:
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
android.content.Context r1 = r1.zzau() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
android.content.pm.PackageManager r1 = r1.getPackageManager() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
if (r1 != 0) goto L57
L2e:
int r1 = com.google.android.gms.measurement.internal.zzaf.c
int r1 = r1 + 1
int r3 = r1 % 128
com.google.android.gms.measurement.internal.zzaf.a = r3
int r1 = r1 % r0
java.lang.String r0 = "Failed to load metadata: PackageManager is null"
if (r1 == 0) goto L49
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzel r1 = r1.zzay() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzej r1 = r1.zzd() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
r1.zza(r0) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
return r2
L49:
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzel r1 = r1.zzay() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzej r1 = r1.zzd() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
r1.zza(r0) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
throw r2
L57:
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
android.content.Context r1 = r1.zzau() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.common.wrappers.PackageManagerWrapper r1 = com.google.android.gms.common.wrappers.Wrappers.packageManager(r1) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzfv r3 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
android.content.Context r3 = r3.zzau() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
java.lang.String r3 = r3.getPackageName() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
r4 = 128(0x80, float:1.8E-43)
android.content.pm.ApplicationInfo r1 = r1.getApplicationInfo(r3, r4) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
if (r1 != 0) goto L9c
int r1 = com.google.android.gms.measurement.internal.zzaf.a
int r1 = r1 + 49
int r3 = r1 % 128
com.google.android.gms.measurement.internal.zzaf.c = r3
int r1 = r1 % r0
java.lang.String r0 = "Failed to load metadata: ApplicationInfo is null"
if (r1 != 0) goto L8e
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzel r1 = r1.zzay() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzej r1 = r1.zzd() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
r1.zza(r0) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
return r2
L8e:
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzel r1 = r1.zzay() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
com.google.android.gms.measurement.internal.zzej r1 = r1.zzd() // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
r1.zza(r0) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
throw r2
L9c:
java.lang.Class<android.content.pm.ApplicationInfo> r0 = android.content.pm.ApplicationInfo.class
java.lang.String r3 = "metaData"
java.lang.reflect.Field r0 = r0.getField(r3) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
java.lang.Object r0 = r0.get(r1) // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
android.os.Bundle r0 = (android.os.Bundle) r0 // Catch: android.content.pm.PackageManager.NameNotFoundException -> Lab
return r0
Lab:
r0 = move-exception
com.google.android.gms.measurement.internal.zzfv r1 = r5.zzs
com.google.android.gms.measurement.internal.zzel r1 = r1.zzay()
com.google.android.gms.measurement.internal.zzej r1 = r1.zzd()
java.lang.String r3 = "Failed to load metadata: Package name not found"
r1.zzb(r3, r0)
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaf.zzj():android.os.Bundle");
}
private static void b(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(e ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a2.length) {
int i3 = $11 + 69;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(e)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 208, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (1707 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
d(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) Color.blue(0));
byte b3 = (byte) 1;
byte b4 = (byte) (-b3);
Object[] objArr5 = new Object[1];
d(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a2, 4, a2.length - 4);
int i6 = $11 + 5;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void zzq(zzae zzaeVar) {
int i = 2 % 2;
int i2 = a + 121;
c = i2 % 128;
int i3 = i2 % 2;
this.zzb = zzaeVar;
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}