package o; import android.content.Context; import android.util.Base64; import androidx.fragment.app.Fragment; import com.scb.phone.view.fragment.transferandpay.topuptab.TopUpBillerFragment; import com.scb.phone.view.fragment.transferandpay.topuptab.TopUpHistoryFragment; import java.nio.charset.StandardCharsets; /* renamed from: o.ezU, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12504ezU extends MoT { private static byte a = 0; private static int f = 1; private static int i; public final TopUpHistoryFragment b; private final Context c; private final TopUpBillerFragment d; private final int[] e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public C12504ezU(yRS yrs, Context context) { super(yrs); C14957gcv.e(yrs, ""); this.c = context; this.e = new int[]{com.scb.phone.R.string.auto_regen_repeat_top_up_biller, com.scb.phone.R.string.auto_regen_repeat_top_up_history}; this.d = new TopUpBillerFragment(); this.b = new TopUpHistoryFragment(); } /* renamed from: o.ezU$Sts */ /* loaded from: classes5.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } private void g(String str, Object[] objArr) { byte[] decode = Base64.decode(str, 0); byte[] bArr = new byte[decode.length]; for (int i2 = 0; i2 < decode.length; i2++) { bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ a); } objArr[0] = new String(bArr, StandardCharsets.UTF_8); } @Override // o.MoT public final Fragment b(int i2) { if (i2 == 0) { TopUpBillerFragment topUpBillerFragment = this.d; C14957gcv.d(topUpBillerFragment, ""); return topUpBillerFragment; } TopUpHistoryFragment topUpHistoryFragment = this.b; C14957gcv.d(topUpHistoryFragment, ""); return topUpHistoryFragment; } @Override // o.WYJ public final int getCount() { return this.e.length; } /* JADX WARN: Code restructure failed: missing block: B:10:0x002c, code lost: r1 = o.C12504ezU.f + 19; o.C12504ezU.i = r1 % 128; r1 = r1 % 2; r7 = r7.substring(4); */ /* JADX WARN: Code restructure failed: missing block: B:11:0x003b, code lost: if (r1 != 0) goto L14; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x003d, code lost: r1 = new java.lang.Object[1]; g(r7, r1); r7 = ((java.lang.String) r1[0]).intern(); */ /* JADX WARN: Code restructure failed: missing block: B:13:0x004b, code lost: r0 = new java.lang.Object[1]; g(r7, r0); ((java.lang.String) r0[0]).intern(); r2.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:14:0x005a, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x005b, code lost: r2 = r7; r7 = o.C12504ezU.f + 87; o.C12504ezU.i = r7 % 128; r7 = r7 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x001a, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x001c, code lost: r7 = r1.getString(r6.e[r7]); */ /* JADX WARN: Code restructure failed: missing block: B:9:0x002a, code lost: if (r7.startsWith(",*,)") == false) goto L16; */ @Override // o.WYJ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final java.lang.CharSequence getPageTitle(int r7) { /* r6 = this; r0 = 2 int r1 = r0 % r0 int r1 = o.C12504ezU.f int r1 = r1 + 45 int r2 = r1 % 128 o.C12504ezU.i = r2 int r1 = r1 % r0 r2 = 0 r3 = 0 if (r1 == 0) goto L18 android.content.Context r1 = r6.c r4 = 17 int r4 = r4 / r3 if (r1 == 0) goto L65 goto L1c L18: android.content.Context r1 = r6.c if (r1 == 0) goto L65 L1c: int[] r4 = r6.e r7 = r4[r7] java.lang.String r7 = r1.getString(r7) java.lang.String r1 = ",*,)" boolean r1 = r7.startsWith(r1) if (r1 == 0) goto L5b int r1 = o.C12504ezU.f int r1 = r1 + 19 int r4 = r1 % 128 o.C12504ezU.i = r4 int r1 = r1 % r0 r4 = 1 r5 = 4 java.lang.String r7 = r7.substring(r5) if (r1 != 0) goto L4b java.lang.Object[] r1 = new java.lang.Object[r4] r6.g(r7, r1) r7 = r1[r3] java.lang.String r7 = (java.lang.String) r7 java.lang.String r7 = r7.intern() goto L5b L4b: java.lang.Object[] r0 = new java.lang.Object[r4] r6.g(r7, r0) r7 = r0[r3] java.lang.String r7 = (java.lang.String) r7 r7.intern() r2.hashCode() throw r2 L5b: r2 = r7 int r7 = o.C12504ezU.f int r7 = r7 + 87 int r1 = r7 % 128 o.C12504ezU.i = r1 int r7 = r7 % r0 L65: java.lang.CharSequence r2 = (java.lang.CharSequence) r2 return r2 */ throw new UnsupportedOperationException("Method not decompiled: o.C12504ezU.getPageTitle(int):java.lang.CharSequence"); } static void b() { a = (byte) 6; } static { b(); new Sts((byte) 0); } }