package o; import android.graphics.Color; import android.graphics.ImageFormat; import android.view.KeyEvent; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.measurement.api.AppMeasurementSdk; import com.google.gson.annotations.SerializedName; import java.lang.reflect.Method; import org.bouncycastle.crypto.signers.PSSSigner; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes3.dex */ public final class nwk { @SerializedName("enablingFlag") private final String c; @SerializedName(AppMeasurementSdk.ConditionalUserProperty.VALUE) private final String d; private static final byte[] $$a = {0, PSSSigner.TRAILER_IMPLICIT, -126, 35}; private static final int $$b = 31; private static int $10 = 0; private static int $11 = 1; private static int b = 0; private static int e = 1; private static int a = 2015661750; /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 g(byte r6, byte r7, int r8, java.lang.Object[] r9) { /* int r6 = r6 * 7 int r6 = r6 + 69 byte[] r0 = o.nwk.$$a int r7 = r7 * 4 int r7 = 4 - r7 int r8 = r8 * 2 int r1 = r8 + 1 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L17 r3 = r7 r6 = r8 r4 = r2 goto L2c L17: r3 = r2 L18: byte r4 = (byte) r6 r1[r3] = r4 int r4 = r3 + 1 if (r3 != r8) goto L27 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L27: r3 = r0[r7] r5 = r3 r3 = r7 r7 = r5 L2c: int r7 = -r7 int r6 = r6 + r7 int r7 = r3 + 1 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: o.nwk.g(byte, byte, int, java.lang.Object[]):void"); } public final C1742aND e() { int i = 2 % 2; String str = this.c; Object[] objArr = new Object[1]; f(1 - ExpandableListView.getPackedPositionType(0L), 1 - KeyEvent.keyCodeFromString(""), 194 - KeyEvent.getDeadChar(0, 0), new char[]{0}, true, objArr); C1742aND c1742aND = new C1742aND(C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern()), this.d); int i2 = e + 9; b = i2 % 128; int i3 = i2 % 2; return c1742aND; } private static void f(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) { int i4 = 2 % 2; zUI zui = new zUI(); char[] cArr2 = new char[i]; zui.d = 0; while (zui.d < i) { zui.c = cArr[zui.d]; cArr2[zui.d] = (char) (i3 + zui.c); int i5 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(a)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, (-16777209) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getTouchSlop() >> 8)); byte b2 = $$a[0]; byte b3 = b2; Object[] objArr3 = new Object[1]; g(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {zui, zui}; Object obj2 = xzZ.y.get(1294990079); if (obj2 == null) { Class cls2 = (Class) xzZ.c(342 - ExpandableListView.getPackedPositionGroup(0L), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16)); byte b4 = (byte) ($$b & 1); byte b5 = $$a[0]; Object[] objArr5 = new Object[1]; g(b4, b5, b5, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } if (i2 > 0) { int i6 = $11 + 79; $10 = i6 % 128; int i7 = i6 % 2; zui.a = i2; char[] cArr3 = new char[i]; System.arraycopy(cArr2, 0, cArr3, 0, i); System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a); System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a); } if (z) { int i8 = $10 + 23; $11 = i8 % 128; int i9 = i8 % 2; char[] cArr4 = new char[i]; zui.d = 0; while (zui.d < i) { int i10 = $10 + 59; $11 = i10 % 128; int i11 = i10 % 2; cArr4[zui.d] = cArr2[(i - zui.d) - 1]; Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(342 - (KeyEvent.getMaxKeyCode() >> 16), ImageFormat.getBitsPerPixel(0) + 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16)); byte b6 = (byte) ($$b & 1); byte b7 = $$a[0]; Object[] objArr7 = new Object[1]; g(b6, b7, b7, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } cArr2 = cArr4; } objArr[0] = new String(cArr2); } public final String toString() { int i = 2 % 2; String str = this.c; String str2 = this.d; StringBuilder sb = new StringBuilder("HmlBusinessInfoEnableFieldEntity(enablingFlag="); sb.append(str); sb.append(", value="); sb.append(str2); sb.append(")"); String obj = sb.toString(); int i2 = e + 123; b = i2 % 128; if (i2 % 2 != 0) { int i3 = 6 / 0; } return obj; } public final int hashCode() { int i = 2 % 2; int i2 = b + 81; e = i2 % 128; int i3 = i2 % 2; int hashCode = this.c.hashCode(); String str = this.d; int hashCode2 = (hashCode * 31) + (str == null ? 0 : str.hashCode()); int i4 = e + 117; b = i4 % 128; if (i4 % 2 != 0) { int i5 = 20 / 0; } return hashCode2; } public final boolean equals(Object obj) { int i = 2 % 2; int i2 = e + 21; b = i2 % 128; Object obj2 = null; if (i2 % 2 != 0) { obj2.hashCode(); throw null; } if (this == obj) { return true; } if (!(obj instanceof nwk)) { return false; } nwk nwkVar = (nwk) obj; if (C14957gcv.b((Object) this.c, (Object) nwkVar.c)) { return C14957gcv.b((Object) this.d, (Object) nwkVar.d); } int i3 = e + 37; b = i3 % 128; if (i3 % 2 == 0) { return false; } obj2.hashCode(); throw null; } }