package o; import com.airbnb.deeplinkdispatch.UrlTreeKt; import com.airbnb.deeplinkdispatch.base.MatchIndex; import com.google.common.base.Ascii; import org.bouncycastle.pqc.math.linearalgebra.Matrix; /* loaded from: classes2.dex */ final class iBd { private static final char[] a; private static final char[] b; private static final char[] c; private static final char[] d; private static final char[] e = {'*', '*', '*', ' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', Matrix.MATRIX_TYPE_RANDOM_LT, 'M', 'N', 'O', 'P', 'Q', Matrix.MATRIX_TYPE_RANDOM_REGULAR, 'S', 'T', Matrix.MATRIX_TYPE_RANDOM_UT, 'V', 'W', 'X', 'Y', Matrix.MATRIX_TYPE_ZERO}; /* loaded from: classes2.dex */ enum LWm { PAD_ENCODE, ASCII_ENCODE, C40_ENCODE, TEXT_ENCODE, ANSIX12_ENCODE, EDIFACT_ENCODE, BASE256_ENCODE, ECI_ENCODE } /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ /* JADX WARN: Code restructure failed: missing block: B:29:0x04b8, code lost: if (r5.length() <= 0) goto L264; */ /* JADX WARN: Code restructure failed: missing block: B:30:0x04ba, code lost: r2.c(); r2.a.append((java.lang.CharSequence) r5); */ /* JADX WARN: Code restructure failed: missing block: B:32:0x04c3, code lost: if (r11 == false) goto L277; */ /* JADX WARN: Code restructure failed: missing block: B:34:0x04c9, code lost: if (r10.contains(0) != false) goto L276; */ /* JADX WARN: Code restructure failed: missing block: B:36:0x04d4, code lost: if (r10.contains(4) != false) goto L276; */ /* JADX WARN: Code restructure failed: missing block: B:38:0x04da, code lost: if (r10.contains(1) != false) goto L275; */ /* JADX WARN: Code restructure failed: missing block: B:40:0x04e4, code lost: if (r10.contains(5) != false) goto L275; */ /* JADX WARN: Code restructure failed: missing block: B:41:0x04e6, code lost: r6 = 4; */ /* JADX WARN: Code restructure failed: missing block: B:42:0x0511, code lost: r1 = r2.toString(); */ /* JADX WARN: Code restructure failed: missing block: B:43:0x0519, code lost: if (r8.isEmpty() == false) goto L291; */ /* JADX WARN: Code restructure failed: missing block: B:44:0x051b, code lost: r8 = null; */ /* JADX WARN: Code restructure failed: missing block: B:46:0x0521, code lost: return new o.Qys(r18, r1, r8, r6); */ /* JADX WARN: Code restructure failed: missing block: B:48:0x04e8, code lost: r6 = 6; */ /* JADX WARN: Code restructure failed: missing block: B:49:0x04ea, code lost: r6 = 5; */ /* JADX WARN: Code restructure failed: missing block: B:51:0x04f0, code lost: if (r10.contains(0) != false) goto L287; */ /* JADX WARN: Code restructure failed: missing block: B:53:0x04fb, code lost: if (r10.contains(4) != false) goto L287; */ /* JADX WARN: Code restructure failed: missing block: B:55:0x0501, code lost: if (r10.contains(1) != false) goto L288; */ /* JADX WARN: Code restructure failed: missing block: B:57:0x050b, code lost: if (r10.contains(5) == false) goto L286; */ /* JADX WARN: Code restructure failed: missing block: B:58:0x050e, code lost: r6 = 1; */ /* JADX WARN: Code restructure failed: missing block: B:59:0x0510, code lost: r6 = 2; */ /* JADX WARN: Code restructure failed: missing block: B:70:0x00e7, code lost: throw com.google.zxing.FormatException.c(); */ /* JADX WARN: Failed to find 'out' block for switch in B:63:0x0075. Please report as an issue. */ /* JADX WARN: Failed to find 'out' block for switch in B:98:0x00f5. Please report as an issue. */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static o.Qys b(byte[] r18) throws com.google.zxing.FormatException { /* Method dump skipped, instructions count: 1358 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.iBd.b(byte[]):o.Qys"); } /* renamed from: o.iBd$1, reason: invalid class name */ /* loaded from: classes2.dex */ static /* synthetic */ class AnonymousClass1 { static final int[] a; static { int[] iArr = new int[LWm.values().length]; a = iArr; try { iArr[LWm.C40_ENCODE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { a[LWm.TEXT_ENCODE.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { a[LWm.ANSIX12_ENCODE.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { a[LWm.EDIFACT_ENCODE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { a[LWm.BASE256_ENCODE.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { a[LWm.ECI_ENCODE.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } } } private static void c(int i, int i2, int[] iArr) { int i3 = ((i << 8) + i2) - 1; int i4 = i3 / 1600; iArr[0] = i4; int i5 = i3 - (i4 * 1600); int i6 = i5 / 40; iArr[1] = i6; iArr[2] = i5 - (i6 * 40); } static { char[] cArr = {'!', '\"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', UrlTreeKt.configurablePathSegmentPrefixChar, '=', UrlTreeKt.configurablePathSegmentSuffixChar, '?', '@', '[', '\\', ']', '^', '_'}; a = cArr; b = new char[]{'*', '*', '*', ' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; d = cArr; c = new char[]{'`', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', Matrix.MATRIX_TYPE_RANDOM_LT, 'M', 'N', 'O', 'P', 'Q', Matrix.MATRIX_TYPE_RANDOM_REGULAR, 'S', 'T', Matrix.MATRIX_TYPE_RANDOM_UT, 'V', 'W', 'X', 'Y', Matrix.MATRIX_TYPE_ZERO, UrlTreeKt.componentParamPrefixChar, MatchIndex.ALLOWED_VALUES_SEPARATOR, UrlTreeKt.componentParamSuffixChar, '~', Ascii.MAX}; } }