package o; import android.content.SharedPreferences; import android.content.res.Resources; import android.util.Base64; import java.nio.charset.StandardCharsets; import java.util.Comparator; import o.C15715hv; /* renamed from: o.Cc, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0242Cc extends C16157lj { private static int a = 1; private static byte b; private static int d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C0242Cc(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); } private void q(String str, Object[] objArr) { byte[] decode = Base64.decode(str, 0); byte[] bArr = new byte[decode.length]; for (int i = 0; i < decode.length; i++) { bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ b); } objArr[0] = new String(bArr, StandardCharsets.UTF_8); } public static boolean k(String str) { C14957gcv.e(str, ""); return C14957gcv.b((Object) str, (Object) "93"); } public final String f() { int i = 2 % 2; int i2 = d + 45; a = i2 % 128; Object obj = null; if (i2 % 2 != 0) { String string = this.e.getString(C15715hv.tOB.auto_single_form_career_info_type_of_work_other); if (string.startsWith(",*,)")) { int i3 = a + 73; d = i3 % 128; int i4 = i3 % 2; String substring = string.substring(4); if (i4 != 0) { Object[] objArr = new Object[1]; q(substring, objArr); ((String) objArr[0]).intern(); throw null; } Object[] objArr2 = new Object[1]; q(substring, objArr2); string = ((String) objArr2[0]).intern(); } C14957gcv.c((Object) string, ""); return string; } this.e.getString(C15715hv.tOB.auto_single_form_career_info_type_of_work_other).startsWith(",*,)"); obj.hashCode(); throw null; } /* renamed from: o.Cc$HBt */ /* loaded from: classes3.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } /* renamed from: o.Cc$IeS */ /* loaded from: classes3.dex */ public static final class IeS implements Comparator { /* JADX WARN: Multi-variable type inference failed */ @Override // java.util.Comparator public final int compare(T t, T t2) { Integer valueOf = Integer.valueOf(((C1126Wd) t).a); Integer valueOf2 = Integer.valueOf(((C1126Wd) t2).a); if (valueOf == valueOf2) { return 0; } if (valueOf == null) { return -1; } if (valueOf2 == null) { return 1; } return valueOf.compareTo(valueOf2); } } public static C1135Wj a(gvN gvn) { C14957gcv.e(gvn, ""); return new C1135Wj(gvn.h, gvn.i, gvn.j, gvn.g, gvn.m, gvn.l, gvn.f9153o, gvn.k, gvn.n, gvn.f, gvn.e, gvn.a, gvn.d, gvn.c, gvn.b); } static void h() { b = (byte) 6; } static { h(); new HBt((byte) 0); } }