// This file is part of the SV-Benchmarks collection of verification tasks: // https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks // // SPDX-FileCopyrightText: 2019 Makai Mann // SPDX-FileCopyrightText: 2022 The SV-Benchmarks Community // // SPDX-License-Identifier: BSD-3-Clause // This C program is converted from Btor2 by Btor2C version sha1:a0fa249 // with arguments: { architecture=64, lazy_modulo=true, use_memmove=false, unroll_inner_loops=false, shortest_type=true, diff_type=true, decimal_constant=true, zero_init=false, sra_extend_sign=true } // Comments from the original Btor2 file: // ; source: https://github.com/makaimann/btor-benchmarks/tree/d9a2792dcee39f17607c889500ac76ad3df35a50 // ; BTOR description generated by Yosys 0.8+458 (git sha1 9b2b0d91, clang 7.0.1 -fPIC -Os) for module top. extern unsigned char __VERIFIER_nondet_uchar(); extern unsigned short __VERIFIER_nondet_ushort(); extern unsigned int __VERIFIER_nondet_uint(); extern unsigned long __VERIFIER_nondet_ulong(); extern void abort(void); extern void __assert_fail(const char *, const char *, unsigned int, const char *); void reach_error() { __assert_fail("0", "unsafe_arbitrated_fifos_n2d8w8.c", 0, "reach_error"); } void __VERIFIER_assert(int cond) { if (!(cond)) { ERROR: { reach_error(); abort(); } } } void assume_abort_if_not(int cond) { if (!cond) { abort(); } } int main() { // Defining sorts ... typedef unsigned char SORT_1; // BV with 1 bits const SORT_1 mask_SORT_1 = (SORT_1)-1 >> (sizeof(SORT_1) * 8 - 1); const SORT_1 msb_SORT_1 = (SORT_1)1 << (1 - 1); typedef unsigned short SORT_3; // BV with 16 bits const SORT_3 mask_SORT_3 = (SORT_3)-1 >> (sizeof(SORT_3) * 8 - 16); const SORT_3 msb_SORT_3 = (SORT_3)1 << (16 - 1); typedef unsigned char SORT_5; // BV with 2 bits const SORT_5 mask_SORT_5 = (SORT_5)-1 >> (sizeof(SORT_5) * 8 - 2); const SORT_5 msb_SORT_5 = (SORT_5)1 << (2 - 1); typedef unsigned char SORT_11; // BV with 8 bits const SORT_11 mask_SORT_11 = (SORT_11)-1 >> (sizeof(SORT_11) * 8 - 8); const SORT_11 msb_SORT_11 = (SORT_11)1 << (8 - 1); typedef unsigned char SORT_12; // BV with 3 bits const SORT_12 mask_SORT_12 = (SORT_12)-1 >> (sizeof(SORT_12) * 8 - 3); const SORT_12 msb_SORT_12 = (SORT_12)1 << (3 - 1); typedef SORT_11 SORT_13[1 << 3]; // Array with (1 << 3) SORT_11 elements typedef unsigned char SORT_15; // BV with 4 bits const SORT_15 mask_SORT_15 = (SORT_15)-1 >> (sizeof(SORT_15) * 8 - 4); const SORT_15 msb_SORT_15 = (SORT_15)1 << (4 - 1); typedef unsigned char SORT_36; // BV with 5 bits const SORT_36 mask_SORT_36 = (SORT_36)-1 >> (sizeof(SORT_36) * 8 - 5); const SORT_36 msb_SORT_36 = (SORT_36)1 << (5 - 1); typedef unsigned char SORT_38; // BV with 6 bits const SORT_38 mask_SORT_38 = (SORT_38)-1 >> (sizeof(SORT_38) * 8 - 6); const SORT_38 msb_SORT_38 = (SORT_38)1 << (6 - 1); typedef unsigned char SORT_40; // BV with 7 bits const SORT_40 mask_SORT_40 = (SORT_40)-1 >> (sizeof(SORT_40) * 8 - 7); const SORT_40 msb_SORT_40 = (SORT_40)1 << (7 - 1); typedef unsigned int SORT_227; // BV with 32 bits const SORT_227 mask_SORT_227 = (SORT_227)-1 >> (sizeof(SORT_227) * 8 - 32); const SORT_227 msb_SORT_227 = (SORT_227)1 << (32 - 1); // Initializing constants ... const SORT_15 var_27 = 8; const SORT_15 var_97 = 0; const SORT_1 var_107 = 1; const SORT_1 var_108 = 0; const SORT_11 var_181 = 0; const SORT_227 var_228 = 2; const SORT_11 var_408 = 255; // Collecting input declarations ... SORT_1 input_2; SORT_3 input_4; SORT_5 input_6; SORT_3 input_7; SORT_5 input_8; SORT_1 input_9; SORT_1 input_10; // Collecting state declarations ... SORT_13 state_14; for (unsigned char i = 0; i < (1 << 3); ++i) state_14[i] = __VERIFIER_nondet_uchar() & mask_SORT_11; SORT_15 state_16 = __VERIFIER_nondet_uchar() & mask_SORT_15; SORT_15 state_19 = __VERIFIER_nondet_uchar() & mask_SORT_15; SORT_11 state_26 = __VERIFIER_nondet_uchar() & mask_SORT_11; SORT_1 state_31 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_13 state_44; for (unsigned char i = 0; i < (1 << 3); ++i) state_44[i] = __VERIFIER_nondet_uchar() & mask_SORT_11; SORT_15 state_45 = __VERIFIER_nondet_uchar() & mask_SORT_15; SORT_15 state_48 = __VERIFIER_nondet_uchar() & mask_SORT_15; SORT_11 state_55 = __VERIFIER_nondet_uchar() & mask_SORT_11; SORT_1 state_83 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_84 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_15 state_87 = __VERIFIER_nondet_uchar() & mask_SORT_15; SORT_11 state_103 = __VERIFIER_nondet_uchar() & mask_SORT_11; SORT_1 state_109 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_331 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_332 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_333 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_334 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_335 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_336 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_337 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_338 = __VERIFIER_nondet_uchar() & mask_SORT_1; // Initializing states ... SORT_1 init_110_arg_1 = var_107; state_109 = init_110_arg_1; for (;;) { // Getting external input values ... input_2 = __VERIFIER_nondet_uchar(); input_4 = __VERIFIER_nondet_ushort(); input_6 = __VERIFIER_nondet_uchar(); input_7 = __VERIFIER_nondet_ushort(); input_8 = __VERIFIER_nondet_uchar(); input_9 = __VERIFIER_nondet_uchar(); input_9 = input_9 & mask_SORT_1; input_10 = __VERIFIER_nondet_uchar(); // Assuming invariants ... SORT_15 var_52_arg_0 = state_48; SORT_15 var_52_arg_1 = state_45; SORT_1 var_52 = var_52_arg_0 == var_52_arg_1; SORT_1 var_115_arg_0 = var_52; SORT_1 var_115 = ~var_115_arg_0; SORT_5 var_51_arg_0 = input_8; SORT_1 var_51 = var_51_arg_0 >> 0; SORT_1 var_116_arg_0 = var_51; SORT_1 var_116 = ~var_116_arg_0; SORT_1 var_117_arg_0 = var_115; SORT_1 var_117_arg_1 = var_116; SORT_1 var_117 = var_117_arg_0 | var_117_arg_1; SORT_1 var_118_arg_0 = var_107; SORT_1 var_118 = ~var_118_arg_0; SORT_1 var_119_arg_0 = var_117; SORT_1 var_119_arg_1 = var_118; SORT_1 var_119 = var_119_arg_0 | var_119_arg_1; var_119 = var_119 & mask_SORT_1; SORT_1 constr_120_arg_0 = var_119; assume_abort_if_not(constr_120_arg_0); SORT_15 var_23_arg_0 = state_19; SORT_15 var_23_arg_1 = state_16; SORT_1 var_23 = var_23_arg_0 == var_23_arg_1; SORT_1 var_121_arg_0 = var_23; SORT_1 var_121 = ~var_121_arg_0; SORT_5 var_22_arg_0 = input_8; SORT_1 var_22 = var_22_arg_0 >> 1; SORT_1 var_122_arg_0 = var_22; SORT_1 var_122 = ~var_122_arg_0; SORT_1 var_123_arg_0 = var_121; SORT_1 var_123_arg_1 = var_122; SORT_1 var_123 = var_123_arg_0 | var_123_arg_1; SORT_1 var_124_arg_0 = var_107; SORT_1 var_124 = ~var_124_arg_0; SORT_1 var_125_arg_0 = var_123; SORT_1 var_125_arg_1 = var_124; SORT_1 var_125 = var_125_arg_0 | var_125_arg_1; var_125 = var_125 & mask_SORT_1; SORT_1 constr_126_arg_0 = var_125; assume_abort_if_not(constr_126_arg_0); SORT_15 var_73_arg_0 = state_48; SORT_1 var_73 = var_73_arg_0 >> 3; var_73 = var_73 & mask_SORT_1; SORT_15 var_74_arg_0 = state_45; SORT_1 var_74 = var_74_arg_0 >> 3; var_74 = var_74 & mask_SORT_1; SORT_1 var_75_arg_0 = var_73; SORT_1 var_75_arg_1 = var_74; SORT_1 var_75 = var_75_arg_0 != var_75_arg_1; SORT_1 var_76_arg_0 = var_52; SORT_1 var_76_arg_1 = var_75; SORT_1 var_76 = var_76_arg_0 & var_76_arg_1; var_76 = var_76 & mask_SORT_1; SORT_1 var_127_arg_0 = var_76; SORT_1 var_127 = ~var_127_arg_0; SORT_5 var_90_arg_0 = input_6; SORT_1 var_90 = var_90_arg_0 >> 0; var_90 = var_90 & mask_SORT_1; SORT_1 var_128_arg_0 = var_90; SORT_1 var_128 = ~var_128_arg_0; SORT_1 var_129_arg_0 = var_127; SORT_1 var_129_arg_1 = var_128; SORT_1 var_129 = var_129_arg_0 | var_129_arg_1; SORT_1 var_130_arg_0 = var_107; SORT_1 var_130 = ~var_130_arg_0; SORT_1 var_131_arg_0 = var_129; SORT_1 var_131_arg_1 = var_130; SORT_1 var_131 = var_131_arg_0 | var_131_arg_1; var_131 = var_131 & mask_SORT_1; SORT_1 constr_132_arg_0 = var_131; assume_abort_if_not(constr_132_arg_0); SORT_15 var_77_arg_0 = state_19; SORT_1 var_77 = var_77_arg_0 >> 3; var_77 = var_77 & mask_SORT_1; SORT_15 var_78_arg_0 = state_16; SORT_1 var_78 = var_78_arg_0 >> 3; var_78 = var_78 & mask_SORT_1; SORT_1 var_79_arg_0 = var_77; SORT_1 var_79_arg_1 = var_78; SORT_1 var_79 = var_79_arg_0 != var_79_arg_1; SORT_1 var_80_arg_0 = var_23; SORT_1 var_80_arg_1 = var_79; SORT_1 var_80 = var_80_arg_0 & var_80_arg_1; SORT_1 var_133_arg_0 = var_80; SORT_1 var_133 = ~var_133_arg_0; SORT_5 var_134_arg_0 = input_6; SORT_1 var_134 = var_134_arg_0 >> 1; var_134 = var_134 & mask_SORT_1; SORT_1 var_135_arg_0 = var_134; SORT_1 var_135 = ~var_135_arg_0; SORT_1 var_136_arg_0 = var_133; SORT_1 var_136_arg_1 = var_135; SORT_1 var_136 = var_136_arg_0 | var_136_arg_1; SORT_1 var_137_arg_0 = var_107; SORT_1 var_137 = ~var_137_arg_0; SORT_1 var_138_arg_0 = var_136; SORT_1 var_138_arg_1 = var_137; SORT_1 var_138 = var_138_arg_0 | var_138_arg_1; var_138 = var_138 & mask_SORT_1; SORT_1 constr_139_arg_0 = var_138; assume_abort_if_not(constr_139_arg_0); SORT_1 var_140_arg_0 = state_109; SORT_1 var_140_arg_1 = input_9; SORT_1 var_140 = var_140_arg_0 == var_140_arg_1; SORT_1 var_141_arg_0 = var_107; SORT_1 var_141 = ~var_141_arg_0; SORT_1 var_142_arg_0 = var_140; SORT_1 var_142_arg_1 = var_141; SORT_1 var_142 = var_142_arg_0 | var_142_arg_1; var_142 = var_142 & mask_SORT_1; SORT_1 constr_143_arg_0 = var_142; assume_abort_if_not(constr_143_arg_0); // Asserting properties ... SORT_1 var_111_arg_0 = state_109; SORT_1 var_111_arg_1 = var_108; SORT_1 var_111_arg_2 = var_107; SORT_1 var_111 = var_111_arg_0 ? var_111_arg_1 : var_111_arg_2; SORT_1 var_85_arg_0 = state_84; SORT_1 var_85 = ~var_85_arg_0; SORT_1 var_86_arg_0 = state_83; SORT_1 var_86_arg_1 = var_85; SORT_1 var_86 = var_86_arg_0 & var_86_arg_1; SORT_15 var_88_arg_0 = state_87; SORT_1 var_88 = var_88_arg_0 != 0; SORT_1 var_89_arg_0 = var_86; SORT_1 var_89_arg_1 = var_88; SORT_1 var_89 = var_89_arg_0 & var_89_arg_1; SORT_1 var_91_arg_0 = state_83; SORT_1 var_91 = ~var_91_arg_0; SORT_1 var_92_arg_0 = var_90; SORT_1 var_92_arg_1 = var_91; SORT_1 var_92 = var_92_arg_0 & var_92_arg_1; SORT_1 var_93_arg_0 = var_92; var_93_arg_0 = var_93_arg_0 & mask_SORT_1; SORT_15 var_93 = var_93_arg_0; SORT_15 var_94_arg_0 = state_87; SORT_15 var_94_arg_1 = var_93; SORT_15 var_94 = var_94_arg_0 + var_94_arg_1; SORT_1 var_53_arg_0 = var_52; SORT_1 var_53 = ~var_53_arg_0; SORT_1 var_54_arg_0 = var_51; SORT_1 var_54_arg_1 = var_53; SORT_1 var_54 = var_54_arg_0 & var_54_arg_1; var_54 = var_54 & mask_SORT_1; SORT_15 var_56_arg_0 = var_27; var_56_arg_0 = var_56_arg_0 & mask_SORT_15; SORT_11 var_56 = var_56_arg_0; SORT_11 var_57_arg_0 = state_55; SORT_11 var_57_arg_1 = var_56; SORT_1 var_57 = var_57_arg_0 >= var_57_arg_1; SORT_1 var_58_arg_0 = var_54; SORT_1 var_58_arg_1 = var_57; SORT_1 var_58 = var_58_arg_0 & var_58_arg_1; SORT_1 var_59_arg_0 = state_31; SORT_1 var_59 = ~var_59_arg_0; var_59 = var_59 & mask_SORT_1; SORT_1 var_60_arg_0 = var_58; SORT_1 var_60_arg_1 = var_59; SORT_1 var_60 = var_60_arg_0 & var_60_arg_1; var_60 = var_60 & mask_SORT_1; SORT_1 var_95_arg_0 = var_60; var_95_arg_0 = var_95_arg_0 & mask_SORT_1; SORT_15 var_95 = var_95_arg_0; SORT_15 var_96_arg_0 = var_94; SORT_15 var_96_arg_1 = var_95; SORT_15 var_96 = var_96_arg_0 - var_96_arg_1; SORT_1 var_98_arg_0 = input_9; SORT_15 var_98_arg_1 = var_97; SORT_15 var_98_arg_2 = var_96; SORT_15 var_98 = var_98_arg_0 ? var_98_arg_1 : var_98_arg_2; var_98 = var_98 & mask_SORT_15; SORT_15 var_99_arg_0 = var_98; SORT_1 var_99 = var_99_arg_0 != 0; SORT_1 var_100_arg_0 = var_99; SORT_1 var_100 = ~var_100_arg_0; SORT_1 var_101_arg_0 = var_89; SORT_1 var_101_arg_1 = var_100; SORT_1 var_101 = var_101_arg_0 & var_101_arg_1; SORT_1 var_102_arg_0 = var_101; SORT_1 var_102 = ~var_102_arg_0; SORT_15 var_20_arg_0 = state_19; SORT_12 var_20 = var_20_arg_0 >> 0; var_20 = var_20 & mask_SORT_12; SORT_11* var_21_arg_0 = state_14; SORT_12 var_21_arg_1 = var_20; SORT_11 var_21 = var_21_arg_0[(unsigned char) var_21_arg_1]; SORT_1 var_24_arg_0 = var_23; SORT_1 var_24 = ~var_24_arg_0; SORT_1 var_25_arg_0 = var_22; SORT_1 var_25_arg_1 = var_24; SORT_1 var_25 = var_25_arg_0 & var_25_arg_1; SORT_15 var_28_arg_0 = var_27; var_28_arg_0 = var_28_arg_0 & mask_SORT_15; SORT_11 var_28 = var_28_arg_0; SORT_11 var_29_arg_0 = state_26; SORT_11 var_29_arg_1 = var_28; SORT_1 var_29 = var_29_arg_0 >= var_29_arg_1; SORT_1 var_30_arg_0 = var_25; SORT_1 var_30_arg_1 = var_29; SORT_1 var_30 = var_30_arg_0 & var_30_arg_1; SORT_1 var_32_arg_0 = var_30; SORT_1 var_32_arg_1 = state_31; SORT_1 var_32 = var_32_arg_0 & var_32_arg_1; var_32 = var_32 & mask_SORT_1; SORT_1 var_33_arg_0 = var_32; SORT_1 var_33_arg_1 = var_32; SORT_5 var_33 = ((SORT_5)var_33_arg_0 << 1) | var_33_arg_1; var_33 = var_33 & mask_SORT_5; SORT_1 var_34_arg_0 = var_32; SORT_5 var_34_arg_1 = var_33; SORT_12 var_34 = ((SORT_12)var_34_arg_0 << 2) | var_34_arg_1; var_34 = var_34 & mask_SORT_12; SORT_1 var_35_arg_0 = var_32; SORT_12 var_35_arg_1 = var_34; SORT_15 var_35 = ((SORT_15)var_35_arg_0 << 3) | var_35_arg_1; var_35 = var_35 & mask_SORT_15; SORT_1 var_37_arg_0 = var_32; SORT_15 var_37_arg_1 = var_35; SORT_36 var_37 = ((SORT_36)var_37_arg_0 << 4) | var_37_arg_1; var_37 = var_37 & mask_SORT_36; SORT_1 var_39_arg_0 = var_32; SORT_36 var_39_arg_1 = var_37; SORT_38 var_39 = ((SORT_38)var_39_arg_0 << 5) | var_39_arg_1; var_39 = var_39 & mask_SORT_38; SORT_1 var_41_arg_0 = var_32; SORT_38 var_41_arg_1 = var_39; SORT_40 var_41 = ((SORT_40)var_41_arg_0 << 6) | var_41_arg_1; var_41 = var_41 & mask_SORT_40; SORT_1 var_42_arg_0 = var_32; SORT_40 var_42_arg_1 = var_41; SORT_11 var_42 = ((SORT_11)var_42_arg_0 << 7) | var_42_arg_1; SORT_11 var_43_arg_0 = var_21; SORT_11 var_43_arg_1 = var_42; SORT_11 var_43 = var_43_arg_0 & var_43_arg_1; SORT_15 var_49_arg_0 = state_48; SORT_12 var_49 = var_49_arg_0 >> 0; var_49 = var_49 & mask_SORT_12; SORT_11* var_50_arg_0 = state_44; SORT_12 var_50_arg_1 = var_49; SORT_11 var_50 = var_50_arg_0[(unsigned char) var_50_arg_1]; var_50 = var_50 & mask_SORT_11; SORT_1 var_61_arg_0 = var_60; SORT_1 var_61_arg_1 = var_60; SORT_5 var_61 = ((SORT_5)var_61_arg_0 << 1) | var_61_arg_1; var_61 = var_61 & mask_SORT_5; SORT_1 var_62_arg_0 = var_60; SORT_5 var_62_arg_1 = var_61; SORT_12 var_62 = ((SORT_12)var_62_arg_0 << 2) | var_62_arg_1; var_62 = var_62 & mask_SORT_12; SORT_1 var_63_arg_0 = var_60; SORT_12 var_63_arg_1 = var_62; SORT_15 var_63 = ((SORT_15)var_63_arg_0 << 3) | var_63_arg_1; var_63 = var_63 & mask_SORT_15; SORT_1 var_64_arg_0 = var_60; SORT_15 var_64_arg_1 = var_63; SORT_36 var_64 = ((SORT_36)var_64_arg_0 << 4) | var_64_arg_1; var_64 = var_64 & mask_SORT_36; SORT_1 var_65_arg_0 = var_60; SORT_36 var_65_arg_1 = var_64; SORT_38 var_65 = ((SORT_38)var_65_arg_0 << 5) | var_65_arg_1; var_65 = var_65 & mask_SORT_38; SORT_1 var_66_arg_0 = var_60; SORT_38 var_66_arg_1 = var_65; SORT_40 var_66 = ((SORT_40)var_66_arg_0 << 6) | var_66_arg_1; var_66 = var_66 & mask_SORT_40; SORT_1 var_67_arg_0 = var_60; SORT_40 var_67_arg_1 = var_66; SORT_11 var_67 = ((SORT_11)var_67_arg_0 << 7) | var_67_arg_1; SORT_11 var_68_arg_0 = var_50; SORT_11 var_68_arg_1 = var_67; SORT_11 var_68 = var_68_arg_0 & var_68_arg_1; SORT_11 var_69_arg_0 = var_43; SORT_11 var_69_arg_1 = var_68; SORT_11 var_69 = var_69_arg_0 | var_69_arg_1; var_69 = var_69 & mask_SORT_11; SORT_11 var_104_arg_0 = state_103; SORT_11 var_104_arg_1 = var_69; SORT_1 var_104 = var_104_arg_0 == var_104_arg_1; SORT_1 var_105_arg_0 = var_102; SORT_1 var_105_arg_1 = var_104; SORT_1 var_105 = var_105_arg_0 | var_105_arg_1; SORT_1 var_112_arg_0 = var_105; SORT_1 var_112 = ~var_112_arg_0; SORT_1 var_113_arg_0 = var_111; SORT_1 var_113_arg_1 = var_112; SORT_1 var_113 = var_113_arg_0 & var_113_arg_1; var_113 = var_113 & mask_SORT_1; SORT_1 bad_114_arg_0 = var_113; __VERIFIER_assert(!(bad_114_arg_0)); // Computing next states ... SORT_1 var_296_arg_0 = var_134; SORT_1 var_296_arg_1 = var_32; SORT_1 var_296 = var_296_arg_0 | var_296_arg_1; SORT_1 var_297_arg_0 = var_296; SORT_1 var_297_arg_1 = input_9; SORT_1 var_297 = var_297_arg_0 | var_297_arg_1; var_297 = var_297 & mask_SORT_1; SORT_1 var_308_arg_0 = var_134; var_308_arg_0 = var_308_arg_0 & mask_SORT_1; SORT_15 var_308 = var_308_arg_0; SORT_15 var_309_arg_0 = state_16; SORT_15 var_309_arg_1 = var_308; SORT_15 var_309 = var_309_arg_0 + var_309_arg_1; SORT_1 var_402_arg_0 = var_297; SORT_15 var_402_arg_1 = var_309; SORT_15 var_402_arg_2 = state_16; SORT_15 var_402 = var_402_arg_0 ? var_402_arg_1 : var_402_arg_2; SORT_1 var_403_arg_0 = input_9; SORT_15 var_403_arg_1 = var_97; SORT_15 var_403_arg_2 = var_402; SORT_15 var_403 = var_403_arg_0 ? var_403_arg_1 : var_403_arg_2; var_403 = var_403 & mask_SORT_15; SORT_15 next_404_arg_1 = var_403; SORT_1 var_302_arg_0 = var_32; var_302_arg_0 = var_302_arg_0 & mask_SORT_1; SORT_15 var_302 = var_302_arg_0; SORT_15 var_303_arg_0 = state_19; SORT_15 var_303_arg_1 = var_302; SORT_15 var_303 = var_303_arg_0 + var_303_arg_1; SORT_1 var_405_arg_0 = var_297; SORT_15 var_405_arg_1 = var_303; SORT_15 var_405_arg_2 = state_19; SORT_15 var_405 = var_405_arg_0 ? var_405_arg_1 : var_405_arg_2; SORT_1 var_406_arg_0 = input_9; SORT_15 var_406_arg_1 = var_97; SORT_15 var_406_arg_2 = var_405; SORT_15 var_406 = var_406_arg_0 ? var_406_arg_1 : var_406_arg_2; var_406 = var_406 & mask_SORT_15; SORT_15 next_407_arg_1 = var_406; SORT_11 var_415_arg_0 = var_408; SORT_1 var_415 = var_415_arg_0 != 0; SORT_15 var_17_arg_0 = state_16; SORT_12 var_17 = var_17_arg_0 >> 0; var_17 = var_17 & mask_SORT_12; SORT_3 var_256_arg_0 = input_4; SORT_11 var_256 = var_256_arg_0 >> 8; SORT_11* var_18_arg_0 = state_14; SORT_12 var_18_arg_1 = var_17; SORT_11 var_18 = var_18_arg_0[(unsigned char) var_18_arg_1]; SORT_1 var_315_arg_0 = var_134; SORT_11 var_315_arg_1 = var_256; SORT_11 var_315_arg_2 = var_18; SORT_11 var_315 = var_315_arg_0 ? var_315_arg_1 : var_315_arg_2; SORT_11 var_412_arg_0 = var_315; SORT_11 var_412_arg_1 = var_408; SORT_11 var_412 = var_412_arg_0 & var_412_arg_1; SORT_11* var_409_arg_0 = state_14; SORT_12 var_409_arg_1 = var_17; SORT_11 var_409 = var_409_arg_0[(unsigned char) var_409_arg_1]; SORT_11 var_410_arg_0 = var_408; SORT_11 var_410 = ~var_410_arg_0; SORT_11 var_411_arg_0 = var_409; SORT_11 var_411_arg_1 = var_410; SORT_11 var_411 = var_411_arg_0 & var_411_arg_1; SORT_11 var_413_arg_0 = var_412; SORT_11 var_413_arg_1 = var_411; SORT_11 var_413 = var_413_arg_0 | var_413_arg_1; SORT_11* var_414_arg_0 = state_14; SORT_12 var_414_arg_1 = var_17; SORT_11 var_414_arg_2 = var_413; SORT_13 var_414; for (unsigned char i = 0; i < (1 << 3); ++i) var_414[i] = var_414_arg_0[i]; var_414[(unsigned char) var_414_arg_1] = var_414_arg_2; SORT_1 var_416_arg_0 = var_415; SORT_11* var_416_arg_1 = var_414; SORT_11* var_416_arg_2 = state_14; SORT_11* var_416 = var_416_arg_0 ? var_416_arg_1 : var_416_arg_2; SORT_11* next_417_arg_1 = var_416; SORT_1 var_155_arg_0 = var_25; SORT_1 var_155_arg_1 = var_54; SORT_5 var_155 = ((SORT_5)var_155_arg_0 << 1) | var_155_arg_1; var_155 = var_155 & mask_SORT_5; SORT_1 var_160_arg_0 = state_31; var_160_arg_0 = var_160_arg_0 & mask_SORT_1; SORT_5 var_160 = var_160_arg_0; SORT_1 var_161_arg_0 = var_107; var_161_arg_0 = var_161_arg_0 & mask_SORT_1; SORT_5 var_161 = var_161_arg_0; SORT_5 var_162_arg_0 = var_160; SORT_5 var_162_arg_1 = var_161; SORT_5 var_162 = var_162_arg_0 + var_162_arg_1; SORT_5 var_163_arg_0 = var_162; var_163_arg_0 = var_163_arg_0 & mask_SORT_5; SORT_12 var_163 = var_163_arg_0; SORT_1 var_164_arg_0 = var_107; var_164_arg_0 = var_164_arg_0 & mask_SORT_1; SORT_12 var_164 = var_164_arg_0; SORT_12 var_165_arg_0 = var_163; SORT_12 var_165_arg_1 = var_164; SORT_12 var_165 = var_165_arg_0 + var_165_arg_1; SORT_12 var_166_arg_0 = var_165; SORT_1 var_166 = var_166_arg_0 >> 0; SORT_1 var_167_arg_0 = var_166; var_167_arg_0 = var_167_arg_0 & mask_SORT_1; SORT_5 var_167 = var_167_arg_0; SORT_5 var_168_arg_0 = var_155; SORT_5 var_168_arg_1 = var_167; SORT_5 var_168 = var_168_arg_0 >> var_168_arg_1; SORT_5 var_169_arg_0 = var_168; SORT_1 var_169 = var_169_arg_0 >> 0; SORT_1 var_150_arg_0 = var_108; SORT_1 var_150_arg_1 = state_31; SORT_5 var_150 = ((SORT_5)var_150_arg_0 << 1) | var_150_arg_1; SORT_5 var_151_arg_0 = var_150; var_151_arg_0 = var_151_arg_0 & mask_SORT_5; SORT_12 var_151 = var_151_arg_0; SORT_1 var_152_arg_0 = var_107; var_152_arg_0 = var_152_arg_0 & mask_SORT_1; SORT_12 var_152 = var_152_arg_0; SORT_12 var_153_arg_0 = var_151; SORT_12 var_153_arg_1 = var_152; SORT_12 var_153 = var_153_arg_0 + var_153_arg_1; SORT_12 var_154_arg_0 = var_153; SORT_1 var_154 = var_154_arg_0 >> 0; SORT_1 var_156_arg_0 = var_154; var_156_arg_0 = var_156_arg_0 & mask_SORT_1; SORT_5 var_156 = var_156_arg_0; SORT_5 var_157_arg_0 = var_155; SORT_5 var_157_arg_1 = var_156; SORT_5 var_157 = var_157_arg_0 >> var_157_arg_1; SORT_5 var_158_arg_0 = var_157; SORT_1 var_158 = var_158_arg_0 >> 0; var_158 = var_158 & mask_SORT_1; SORT_1 var_170_arg_0 = var_158; SORT_1 var_170 = ~var_170_arg_0; SORT_1 var_171_arg_0 = var_169; SORT_1 var_171_arg_1 = var_170; SORT_1 var_171 = var_171_arg_0 & var_171_arg_1; var_171 = var_171 & mask_SORT_1; SORT_1 var_159_arg_0 = var_158; SORT_1 var_159_arg_1 = var_154; SORT_1 var_159_arg_2 = state_31; SORT_1 var_159 = var_159_arg_0 ? var_159_arg_1 : var_159_arg_2; SORT_1 var_172_arg_0 = var_171; SORT_1 var_172_arg_1 = var_166; SORT_1 var_172_arg_2 = var_159; SORT_1 var_172 = var_172_arg_0 ? var_172_arg_1 : var_172_arg_2; var_172 = var_172 & mask_SORT_1; SORT_1 var_202_arg_0 = var_172; SORT_1 var_202_arg_1 = state_31; SORT_1 var_202 = var_202_arg_0 | var_202_arg_1; var_202 = var_202 & mask_SORT_1; SORT_1 var_196_arg_0 = var_25; SORT_1 var_196 = ~var_196_arg_0; SORT_1 var_197_arg_0 = state_31; SORT_1 var_197_arg_1 = var_196; SORT_1 var_197 = var_197_arg_0 & var_197_arg_1; var_197 = var_197 & mask_SORT_1; SORT_3 var_189_arg_0 = input_7; SORT_11 var_189 = var_189_arg_0 >> 8; SORT_11 var_190_arg_0 = state_26; SORT_11 var_190_arg_1 = var_189; SORT_11 var_190 = var_190_arg_0 + var_190_arg_1; SORT_1 var_191_arg_0 = var_172; SORT_11 var_191_arg_1 = var_190; SORT_11 var_191_arg_2 = state_26; SORT_11 var_191 = var_191_arg_0 ? var_191_arg_1 : var_191_arg_2; SORT_15 var_193_arg_0 = var_27; var_193_arg_0 = var_193_arg_0 & mask_SORT_15; SORT_11 var_193 = var_193_arg_0; SORT_11 var_194_arg_0 = var_191; SORT_11 var_194_arg_1 = var_193; SORT_11 var_194 = var_194_arg_0 - var_194_arg_1; SORT_1 var_195_arg_0 = var_32; SORT_11 var_195_arg_1 = var_194; SORT_11 var_195_arg_2 = var_191; SORT_11 var_195 = var_195_arg_0 ? var_195_arg_1 : var_195_arg_2; SORT_1 var_198_arg_0 = var_197; SORT_11 var_198_arg_1 = state_26; SORT_11 var_198_arg_2 = var_195; SORT_11 var_198 = var_198_arg_0 ? var_198_arg_1 : var_198_arg_2; SORT_1 var_199_arg_0 = input_9; SORT_11 var_199_arg_1 = var_181; SORT_11 var_199_arg_2 = var_198; SORT_11 var_199 = var_199_arg_0 ? var_199_arg_1 : var_199_arg_2; var_199 = var_199 & mask_SORT_11; SORT_1 var_418_arg_0 = var_202; SORT_11 var_418_arg_1 = var_199; SORT_11 var_418_arg_2 = state_26; SORT_11 var_418 = var_418_arg_0 ? var_418_arg_1 : var_418_arg_2; SORT_1 var_419_arg_0 = input_9; SORT_11 var_419_arg_1 = var_181; SORT_11 var_419_arg_2 = var_418; SORT_11 var_419 = var_419_arg_0 ? var_419_arg_1 : var_419_arg_2; var_419 = var_419 & mask_SORT_11; SORT_11 next_420_arg_1 = var_419; SORT_1 var_178_arg_0 = var_54; SORT_1 var_178 = ~var_178_arg_0; SORT_1 var_179_arg_0 = var_59; SORT_1 var_179_arg_1 = var_178; SORT_1 var_179 = var_179_arg_0 & var_179_arg_1; var_179 = var_179 & mask_SORT_1; SORT_3 var_148_arg_0 = input_7; SORT_11 var_148 = var_148_arg_0 >> 0; SORT_11 var_149_arg_0 = state_55; SORT_11 var_149_arg_1 = var_148; SORT_11 var_149 = var_149_arg_0 + var_149_arg_1; SORT_1 var_173_arg_0 = var_172; SORT_11 var_173_arg_1 = state_55; SORT_11 var_173_arg_2 = var_149; SORT_11 var_173 = var_173_arg_0 ? var_173_arg_1 : var_173_arg_2; SORT_15 var_175_arg_0 = var_27; var_175_arg_0 = var_175_arg_0 & mask_SORT_15; SORT_11 var_175 = var_175_arg_0; SORT_11 var_176_arg_0 = var_173; SORT_11 var_176_arg_1 = var_175; SORT_11 var_176 = var_176_arg_0 - var_176_arg_1; SORT_1 var_177_arg_0 = var_60; SORT_11 var_177_arg_1 = var_176; SORT_11 var_177_arg_2 = var_173; SORT_11 var_177 = var_177_arg_0 ? var_177_arg_1 : var_177_arg_2; SORT_1 var_180_arg_0 = var_179; SORT_11 var_180_arg_1 = state_55; SORT_11 var_180_arg_2 = var_177; SORT_11 var_180 = var_180_arg_0 ? var_180_arg_1 : var_180_arg_2; SORT_1 var_182_arg_0 = input_9; SORT_11 var_182_arg_1 = var_181; SORT_11 var_182_arg_2 = var_180; SORT_11 var_182 = var_182_arg_0 ? var_182_arg_1 : var_182_arg_2; var_182 = var_182 & mask_SORT_11; SORT_15 var_210_arg_0 = var_27; var_210_arg_0 = var_210_arg_0 & mask_SORT_15; SORT_11 var_210 = var_210_arg_0; SORT_11 var_211_arg_0 = var_182; SORT_11 var_211_arg_1 = var_210; SORT_1 var_211 = var_211_arg_0 < var_211_arg_1; SORT_1 var_212_arg_0 = var_178; SORT_1 var_212_arg_1 = var_211; SORT_1 var_212 = var_212_arg_0 | var_212_arg_1; SORT_1 var_213_arg_0 = var_59; SORT_1 var_213_arg_1 = var_212; SORT_1 var_213 = var_213_arg_0 & var_213_arg_1; SORT_1 var_214_arg_0 = var_60; SORT_1 var_214_arg_1 = var_213; SORT_1 var_214 = var_214_arg_0 & var_214_arg_1; var_214 = var_214 & mask_SORT_1; SORT_15 var_205_arg_0 = var_27; var_205_arg_0 = var_205_arg_0 & mask_SORT_15; SORT_11 var_205 = var_205_arg_0; SORT_11 var_206_arg_0 = var_199; SORT_11 var_206_arg_1 = var_205; SORT_1 var_206 = var_206_arg_0 < var_206_arg_1; SORT_1 var_207_arg_0 = var_196; SORT_1 var_207_arg_1 = var_206; SORT_1 var_207 = var_207_arg_0 | var_207_arg_1; SORT_1 var_208_arg_0 = state_31; SORT_1 var_208_arg_1 = var_207; SORT_1 var_208 = var_208_arg_0 & var_208_arg_1; SORT_1 var_209_arg_0 = var_32; SORT_1 var_209_arg_1 = var_208; SORT_1 var_209 = var_209_arg_0 & var_209_arg_1; var_209 = var_209 & mask_SORT_1; SORT_1 var_215_arg_0 = var_214; SORT_1 var_215_arg_1 = var_209; SORT_5 var_215 = ((SORT_5)var_215_arg_0 << 1) | var_215_arg_1; var_215 = var_215 & mask_SORT_5; SORT_5 var_216_arg_0 = var_215; SORT_1 var_216 = var_216_arg_0 != 0; SORT_1 var_421_arg_0 = var_216; SORT_1 var_421_arg_1 = var_172; SORT_1 var_421_arg_2 = state_31; SORT_1 var_421 = var_421_arg_0 ? var_421_arg_1 : var_421_arg_2; SORT_1 var_422_arg_0 = input_9; SORT_1 var_422_arg_1 = var_108; SORT_1 var_422_arg_2 = var_421; SORT_1 var_422 = var_422_arg_0 ? var_422_arg_1 : var_422_arg_2; var_422 = var_422 & mask_SORT_1; SORT_1 next_423_arg_1 = var_422; SORT_1 var_267_arg_0 = var_90; SORT_1 var_267_arg_1 = var_60; SORT_1 var_267 = var_267_arg_0 | var_267_arg_1; SORT_1 var_268_arg_0 = var_267; SORT_1 var_268_arg_1 = input_9; SORT_1 var_268 = var_268_arg_0 | var_268_arg_1; var_268 = var_268 & mask_SORT_1; SORT_1 var_279_arg_0 = var_90; var_279_arg_0 = var_279_arg_0 & mask_SORT_1; SORT_15 var_279 = var_279_arg_0; SORT_15 var_280_arg_0 = state_45; SORT_15 var_280_arg_1 = var_279; SORT_15 var_280 = var_280_arg_0 + var_280_arg_1; SORT_1 var_424_arg_0 = var_268; SORT_15 var_424_arg_1 = var_280; SORT_15 var_424_arg_2 = state_45; SORT_15 var_424 = var_424_arg_0 ? var_424_arg_1 : var_424_arg_2; SORT_1 var_425_arg_0 = input_9; SORT_15 var_425_arg_1 = var_97; SORT_15 var_425_arg_2 = var_424; SORT_15 var_425 = var_425_arg_0 ? var_425_arg_1 : var_425_arg_2; var_425 = var_425 & mask_SORT_15; SORT_15 next_426_arg_1 = var_425; SORT_1 var_273_arg_0 = var_60; var_273_arg_0 = var_273_arg_0 & mask_SORT_1; SORT_15 var_273 = var_273_arg_0; SORT_15 var_274_arg_0 = state_48; SORT_15 var_274_arg_1 = var_273; SORT_15 var_274 = var_274_arg_0 + var_274_arg_1; SORT_1 var_427_arg_0 = var_268; SORT_15 var_427_arg_1 = var_274; SORT_15 var_427_arg_2 = state_48; SORT_15 var_427 = var_427_arg_0 ? var_427_arg_1 : var_427_arg_2; SORT_1 var_428_arg_0 = input_9; SORT_15 var_428_arg_1 = var_97; SORT_15 var_428_arg_2 = var_427; SORT_15 var_428 = var_428_arg_0 ? var_428_arg_1 : var_428_arg_2; var_428 = var_428 & mask_SORT_15; SORT_15 next_429_arg_1 = var_428; SORT_11 var_436_arg_0 = var_408; SORT_1 var_436 = var_436_arg_0 != 0; SORT_15 var_46_arg_0 = state_45; SORT_12 var_46 = var_46_arg_0 >> 0; var_46 = var_46 & mask_SORT_12; SORT_3 var_254_arg_0 = input_4; SORT_11 var_254 = var_254_arg_0 >> 0; SORT_11* var_47_arg_0 = state_44; SORT_12 var_47_arg_1 = var_46; SORT_11 var_47 = var_47_arg_0[(unsigned char) var_47_arg_1]; SORT_1 var_286_arg_0 = var_90; SORT_11 var_286_arg_1 = var_254; SORT_11 var_286_arg_2 = var_47; SORT_11 var_286 = var_286_arg_0 ? var_286_arg_1 : var_286_arg_2; SORT_11 var_433_arg_0 = var_286; SORT_11 var_433_arg_1 = var_408; SORT_11 var_433 = var_433_arg_0 & var_433_arg_1; SORT_11* var_430_arg_0 = state_44; SORT_12 var_430_arg_1 = var_46; SORT_11 var_430 = var_430_arg_0[(unsigned char) var_430_arg_1]; SORT_11 var_431_arg_0 = var_408; SORT_11 var_431 = ~var_431_arg_0; SORT_11 var_432_arg_0 = var_430; SORT_11 var_432_arg_1 = var_431; SORT_11 var_432 = var_432_arg_0 & var_432_arg_1; SORT_11 var_434_arg_0 = var_433; SORT_11 var_434_arg_1 = var_432; SORT_11 var_434 = var_434_arg_0 | var_434_arg_1; SORT_11* var_435_arg_0 = state_44; SORT_12 var_435_arg_1 = var_46; SORT_11 var_435_arg_2 = var_434; SORT_13 var_435; for (unsigned char i = 0; i < (1 << 3); ++i) var_435[i] = var_435_arg_0[i]; var_435[(unsigned char) var_435_arg_1] = var_435_arg_2; SORT_1 var_437_arg_0 = var_436; SORT_11* var_437_arg_1 = var_435; SORT_11* var_437_arg_2 = state_44; SORT_11* var_437 = var_437_arg_0 ? var_437_arg_1 : var_437_arg_2; SORT_11* next_438_arg_1 = var_437; SORT_1 var_185_arg_0 = var_172; SORT_1 var_185 = ~var_185_arg_0; var_185 = var_185 & mask_SORT_1; SORT_1 var_186_arg_0 = var_185; SORT_1 var_186_arg_1 = var_59; SORT_1 var_186 = var_186_arg_0 | var_186_arg_1; var_186 = var_186 & mask_SORT_1; SORT_1 var_439_arg_0 = var_186; SORT_11 var_439_arg_1 = var_182; SORT_11 var_439_arg_2 = state_55; SORT_11 var_439 = var_439_arg_0 ? var_439_arg_1 : var_439_arg_2; SORT_1 var_440_arg_0 = input_9; SORT_11 var_440_arg_1 = var_181; SORT_11 var_440_arg_2 = var_439; SORT_11 var_440 = var_440_arg_0 ? var_440_arg_1 : var_440_arg_2; var_440 = var_440 & mask_SORT_11; SORT_11 next_441_arg_1 = var_440; SORT_1 var_363_arg_0 = input_10; SORT_1 var_363_arg_1 = var_90; SORT_1 var_363 = var_363_arg_0 & var_363_arg_1; SORT_1 var_364_arg_0 = state_83; SORT_1 var_364_arg_1 = var_363; SORT_1 var_364 = var_364_arg_0 | var_364_arg_1; SORT_1 var_442_arg_0 = state_83; SORT_1 var_442_arg_1 = var_107; SORT_1 var_442_arg_2 = var_364; SORT_1 var_442 = var_442_arg_0 ? var_442_arg_1 : var_442_arg_2; SORT_1 var_443_arg_0 = input_9; SORT_1 var_443_arg_1 = var_108; SORT_1 var_443_arg_2 = var_442; SORT_1 var_443 = var_443_arg_0 ? var_443_arg_1 : var_443_arg_2; var_443 = var_443 & mask_SORT_1; SORT_1 next_444_arg_1 = var_443; SORT_1 var_374_arg_0 = var_101; SORT_1 var_374_arg_1 = state_84; SORT_1 var_374 = var_374_arg_0 | var_374_arg_1; SORT_1 var_445_arg_0 = input_9; SORT_1 var_445_arg_1 = var_108; SORT_1 var_445_arg_2 = var_374; SORT_1 var_445 = var_445_arg_0 ? var_445_arg_1 : var_445_arg_2; SORT_1 next_446_arg_1 = var_445; SORT_1 var_386_arg_0 = var_268; SORT_1 var_386_arg_1 = state_83; SORT_1 var_386 = var_386_arg_0 | var_386_arg_1; var_386 = var_386 & mask_SORT_1; SORT_1 var_447_arg_0 = var_386; SORT_15 var_447_arg_1 = var_98; SORT_15 var_447_arg_2 = state_87; SORT_15 var_447 = var_447_arg_0 ? var_447_arg_1 : var_447_arg_2; SORT_1 var_448_arg_0 = input_9; SORT_15 var_448_arg_1 = var_97; SORT_15 var_448_arg_2 = var_447; SORT_15 var_448 = var_448_arg_0 ? var_448_arg_1 : var_448_arg_2; var_448 = var_448 & mask_SORT_15; SORT_15 next_449_arg_1 = var_448; SORT_1 var_371_arg_0 = var_363; SORT_1 var_371_arg_1 = var_91; SORT_1 var_371 = var_371_arg_0 & var_371_arg_1; var_371 = var_371 & mask_SORT_1; SORT_1 var_450_arg_0 = var_371; SORT_11 var_450_arg_1 = var_254; SORT_11 var_450_arg_2 = state_103; SORT_11 var_450 = var_450_arg_0 ? var_450_arg_1 : var_450_arg_2; SORT_1 var_451_arg_0 = input_9; SORT_11 var_451_arg_1 = var_181; SORT_11 var_451_arg_2 = var_450; SORT_11 var_451 = var_451_arg_0 ? var_451_arg_1 : var_451_arg_2; var_451 = var_451 & mask_SORT_11; SORT_11 next_452_arg_1 = var_451; SORT_1 next_453_arg_1 = var_108; // Assigning next states ... state_16 = next_404_arg_1; state_19 = next_407_arg_1; for (unsigned char i = 0; i < (1 << 3); ++i) state_14[i] = next_417_arg_1[i]; state_26 = next_420_arg_1; state_31 = next_423_arg_1; state_45 = next_426_arg_1; state_48 = next_429_arg_1; for (unsigned char i = 0; i < (1 << 3); ++i) state_44[i] = next_438_arg_1[i]; state_55 = next_441_arg_1; state_83 = next_444_arg_1; state_84 = next_446_arg_1; state_87 = next_449_arg_1; state_103 = next_452_arg_1; state_109 = next_453_arg_1; } return 0; }