// This file is part of the SV-Benchmarks collection of verification tasks: // https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks // // SPDX-FileCopyrightText: 2020 Aman Goel // SPDX-FileCopyrightText: 2022 The SV-Benchmarks Community // // SPDX-License-Identifier: GPL-3.0-or-later // 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/aman-goel/avr/tree/92362931700b66684418a991d018c9fbdbebc06f/tests // ; BTOR description generated by Yosys 0.9+431 (git sha1 4a3b5437, clang 4.0.1-6 -fPIC -Os) for module main. 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", "h_FIFO.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 4 bits const SORT_1 mask_SORT_1 = (SORT_1)-1 >> (sizeof(SORT_1) * 8 - 4); const SORT_1 msb_SORT_1 = (SORT_1)1 << (4 - 1); typedef unsigned char SORT_5; // BV with 1 bits const SORT_5 mask_SORT_5 = (SORT_5)-1 >> (sizeof(SORT_5) * 8 - 1); const SORT_5 msb_SORT_5 = (SORT_5)1 << (1 - 1); typedef unsigned int SORT_13; // BV with 32 bits const SORT_13 mask_SORT_13 = (SORT_13)-1 >> (sizeof(SORT_13) * 8 - 32); const SORT_13 msb_SORT_13 = (SORT_13)1 << (32 - 1); typedef unsigned char SORT_36; // BV with 3 bits const SORT_36 mask_SORT_36 = (SORT_36)-1 >> (sizeof(SORT_36) * 8 - 3); const SORT_36 msb_SORT_36 = (SORT_36)1 << (3 - 1); typedef unsigned char SORT_206; // BV with 2 bits const SORT_206 mask_SORT_206 = (SORT_206)-1 >> (sizeof(SORT_206) * 8 - 2); const SORT_206 msb_SORT_206 = (SORT_206)1 << (2 - 1); // Initializing constants ... const SORT_1 var_10 = 0; const SORT_13 var_15 = 4; const SORT_5 var_22 = 1; const SORT_36 var_38 = 1; const SORT_36 var_43 = 2; const SORT_36 var_50 = 4; const SORT_36 var_53 = 3; const SORT_13 var_81 = 1; const SORT_13 var_101 = 0; const SORT_5 var_149 = 0; const SORT_1 var_186 = 15; // Collecting input declarations ... SORT_1 input_2; SORT_1 input_3; SORT_1 input_4; SORT_5 input_6; SORT_1 input_7; SORT_5 input_8; SORT_5 input_9; SORT_13 input_94; SORT_1 input_96; SORT_1 input_107; SORT_1 input_112; SORT_1 input_114; SORT_1 input_129; SORT_5 input_140; SORT_5 input_144; SORT_5 input_147; SORT_5 input_152; SORT_5 input_155; SORT_5 input_158; SORT_1 input_173; SORT_1 input_176; // Collecting state declarations ... SORT_1 state_11 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_17 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_19 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_5 state_23 = __VERIFIER_nondet_uchar() & mask_SORT_5; SORT_5 state_28 = __VERIFIER_nondet_uchar() & mask_SORT_5; SORT_1 state_32 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_34 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_41 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_46 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_48 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_57 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_59 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_63 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_65 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_70 = __VERIFIER_nondet_uchar() & mask_SORT_1; // Initializing states ... SORT_1 init_12_arg_1 = var_10; state_11 = init_12_arg_1; SORT_1 init_18_arg_1 = var_10; state_17 = init_18_arg_1; SORT_1 init_20_arg_1 = var_10; state_19 = init_20_arg_1; SORT_5 init_24_arg_1 = var_22; state_23 = init_24_arg_1; SORT_5 init_29_arg_1 = var_22; state_28 = init_29_arg_1; SORT_1 init_33_arg_1 = var_10; state_32 = init_33_arg_1; SORT_1 init_35_arg_1 = var_10; state_34 = init_35_arg_1; SORT_1 init_42_arg_1 = var_10; state_41 = init_42_arg_1; SORT_1 init_47_arg_1 = var_10; state_46 = init_47_arg_1; SORT_1 init_49_arg_1 = var_10; state_48 = init_49_arg_1; SORT_1 init_58_arg_1 = var_10; state_57 = init_58_arg_1; SORT_1 init_60_arg_1 = var_10; state_59 = init_60_arg_1; SORT_1 init_64_arg_1 = var_10; state_63 = init_64_arg_1; SORT_1 init_66_arg_1 = var_10; state_65 = init_66_arg_1; SORT_1 init_71_arg_1 = var_10; state_70 = init_71_arg_1; for (;;) { // Getting external input values ... input_2 = __VERIFIER_nondet_uchar(); input_3 = __VERIFIER_nondet_uchar(); input_4 = __VERIFIER_nondet_uchar(); input_6 = __VERIFIER_nondet_uchar(); input_7 = __VERIFIER_nondet_uchar(); input_8 = __VERIFIER_nondet_uchar(); input_9 = __VERIFIER_nondet_uchar(); input_94 = __VERIFIER_nondet_uint(); input_96 = __VERIFIER_nondet_uchar(); input_107 = __VERIFIER_nondet_uchar(); input_112 = __VERIFIER_nondet_uchar(); input_114 = __VERIFIER_nondet_uchar(); input_129 = __VERIFIER_nondet_uchar(); input_140 = __VERIFIER_nondet_uchar(); input_144 = __VERIFIER_nondet_uchar(); input_147 = __VERIFIER_nondet_uchar(); input_152 = __VERIFIER_nondet_uchar(); input_155 = __VERIFIER_nondet_uchar(); input_158 = __VERIFIER_nondet_uchar(); input_173 = __VERIFIER_nondet_uchar(); input_176 = __VERIFIER_nondet_uchar(); // Assuming invariants ... // Asserting properties ... SORT_1 var_14_arg_0 = state_11; var_14_arg_0 = var_14_arg_0 & mask_SORT_1; SORT_13 var_14 = var_14_arg_0; SORT_13 var_16_arg_0 = var_14; SORT_13 var_16_arg_1 = var_15; SORT_5 var_16 = var_16_arg_0 == var_16_arg_1; SORT_1 var_21_arg_0 = state_17; SORT_1 var_21_arg_1 = state_19; SORT_5 var_21 = var_21_arg_0 == var_21_arg_1; SORT_5 var_25_arg_0 = state_23; SORT_5 var_25 = ~var_25_arg_0; SORT_5 var_26_arg_0 = var_21; SORT_5 var_26_arg_1 = var_25; SORT_5 var_26 = var_26_arg_0 & var_26_arg_1; var_26 = var_26 & mask_SORT_5; SORT_5 var_27_arg_0 = var_16; SORT_5 var_27_arg_1 = var_26; SORT_5 var_27 = var_27_arg_0 == var_27_arg_1; SORT_5 var_30_arg_0 = state_28; SORT_5 var_30_arg_1 = state_23; SORT_5 var_30 = var_30_arg_0 == var_30_arg_1; SORT_5 var_31_arg_0 = var_27; SORT_5 var_31_arg_1 = var_30; SORT_5 var_31 = var_31_arg_0 & var_31_arg_1; SORT_1 var_37_arg_0 = state_11; SORT_36 var_37 = var_37_arg_0 >> 0; var_37 = var_37 & mask_SORT_36; SORT_36 var_54_arg_0 = var_37; SORT_36 var_54_arg_1 = var_53; SORT_5 var_54 = var_54_arg_0 == var_54_arg_1; SORT_36 var_51_arg_0 = var_37; SORT_36 var_51_arg_1 = var_50; SORT_5 var_51 = var_51_arg_0 == var_51_arg_1; SORT_5 var_55_arg_0 = var_54; SORT_5 var_55_arg_1 = var_51; SORT_5 var_55 = var_55_arg_0 | var_55_arg_1; var_55 = var_55 & mask_SORT_5; SORT_5 var_52_arg_0 = var_51; SORT_1 var_52_arg_1 = state_48; SORT_1 var_52_arg_2 = state_46; SORT_1 var_52 = var_52_arg_0 ? var_52_arg_1 : var_52_arg_2; SORT_36 var_44_arg_0 = var_37; SORT_36 var_44_arg_1 = var_43; SORT_5 var_44 = var_44_arg_0 == var_44_arg_1; SORT_36 var_39_arg_0 = var_37; SORT_36 var_39_arg_1 = var_38; SORT_5 var_39 = var_39_arg_0 == var_39_arg_1; SORT_5 var_40_arg_0 = var_39; SORT_1 var_40_arg_1 = state_34; SORT_1 var_40_arg_2 = state_32; SORT_1 var_40 = var_40_arg_0 ? var_40_arg_1 : var_40_arg_2; SORT_5 var_45_arg_0 = var_44; SORT_1 var_45_arg_1 = state_41; SORT_1 var_45_arg_2 = var_40; SORT_1 var_45 = var_45_arg_0 ? var_45_arg_1 : var_45_arg_2; SORT_5 var_56_arg_0 = var_55; SORT_1 var_56_arg_1 = var_52; SORT_1 var_56_arg_2 = var_45; SORT_1 var_56 = var_56_arg_0 ? var_56_arg_1 : var_56_arg_2; var_56 = var_56 & mask_SORT_1; SORT_1 var_75_arg_0 = state_17; SORT_5 var_75 = var_75_arg_0 >> 2; var_75 = var_75 & mask_SORT_5; SORT_1 var_68_arg_0 = state_17; SORT_5 var_68 = var_68_arg_0 >> 1; var_68 = var_68 & mask_SORT_5; SORT_1 var_61_arg_0 = state_17; SORT_5 var_61 = var_61_arg_0 >> 0; var_61 = var_61 & mask_SORT_5; SORT_5 var_73_arg_0 = var_61; SORT_1 var_73_arg_1 = input_4; SORT_1 var_73_arg_2 = input_3; SORT_1 var_73 = var_73_arg_0 ? var_73_arg_1 : var_73_arg_2; SORT_5 var_72_arg_0 = var_61; SORT_1 var_72_arg_1 = input_2; SORT_1 var_72_arg_2 = state_70; SORT_1 var_72 = var_72_arg_0 ? var_72_arg_1 : var_72_arg_2; SORT_5 var_74_arg_0 = var_68; SORT_1 var_74_arg_1 = var_73; SORT_1 var_74_arg_2 = var_72; SORT_1 var_74 = var_74_arg_0 ? var_74_arg_1 : var_74_arg_2; SORT_5 var_67_arg_0 = var_61; SORT_1 var_67_arg_1 = state_65; SORT_1 var_67_arg_2 = state_63; SORT_1 var_67 = var_67_arg_0 ? var_67_arg_1 : var_67_arg_2; SORT_5 var_62_arg_0 = var_61; SORT_1 var_62_arg_1 = state_59; SORT_1 var_62_arg_2 = state_57; SORT_1 var_62 = var_62_arg_0 ? var_62_arg_1 : var_62_arg_2; SORT_5 var_69_arg_0 = var_68; SORT_1 var_69_arg_1 = var_67; SORT_1 var_69_arg_2 = var_62; SORT_1 var_69 = var_69_arg_0 ? var_69_arg_1 : var_69_arg_2; SORT_5 var_76_arg_0 = var_75; SORT_1 var_76_arg_1 = var_74; SORT_1 var_76_arg_2 = var_69; SORT_1 var_76 = var_76_arg_0 ? var_76_arg_1 : var_76_arg_2; var_76 = var_76 & mask_SORT_1; SORT_1 var_77_arg_0 = var_56; SORT_1 var_77_arg_1 = var_76; SORT_5 var_77 = var_77_arg_0 == var_77_arg_1; SORT_5 var_78_arg_0 = state_28; SORT_5 var_78_arg_1 = var_77; SORT_5 var_78 = var_78_arg_0 | var_78_arg_1; SORT_5 var_79_arg_0 = var_31; SORT_5 var_79_arg_1 = var_78; SORT_5 var_79 = var_79_arg_0 & var_79_arg_1; SORT_5 var_80_arg_0 = var_79; var_80_arg_0 = var_80_arg_0 & mask_SORT_5; SORT_13 var_80 = var_80_arg_0; SORT_13 var_82_arg_0 = var_80; SORT_13 var_82_arg_1 = var_81; SORT_5 var_82 = var_82_arg_0 == var_82_arg_1; SORT_5 var_85_arg_0 = var_82; SORT_5 var_85 = ~var_85_arg_0; SORT_5 var_86_arg_0 = var_22; SORT_5 var_86_arg_1 = var_85; SORT_5 var_86 = var_86_arg_0 & var_86_arg_1; var_86 = var_86 & mask_SORT_5; SORT_5 bad_87_arg_0 = var_86; __VERIFIER_assert(!(bad_87_arg_0)); // Computing next states ... SORT_5 var_108_arg_0 = var_16; SORT_5 var_108 = ~var_108_arg_0; SORT_5 var_109_arg_0 = input_9; SORT_5 var_109_arg_1 = var_108; SORT_5 var_109 = var_109_arg_0 & var_109_arg_1; var_109 = var_109 & mask_SORT_5; SORT_5 var_118_arg_0 = state_28; SORT_5 var_118 = ~var_118_arg_0; var_118 = var_118 & mask_SORT_5; SORT_1 var_115_arg_0 = state_11; var_115_arg_0 = var_115_arg_0 & mask_SORT_1; SORT_13 var_115 = var_115_arg_0; SORT_13 var_116_arg_0 = var_115; SORT_13 var_116_arg_1 = var_81; SORT_13 var_116 = var_116_arg_0 + var_116_arg_1; SORT_13 var_117_arg_0 = var_116; SORT_1 var_117 = var_117_arg_0 >> 0; SORT_5 var_119_arg_0 = var_118; SORT_1 var_119_arg_1 = var_117; SORT_1 var_119_arg_2 = state_11; SORT_1 var_119 = var_119_arg_0 ? var_119_arg_1 : var_119_arg_2; SORT_5 var_120_arg_0 = var_109; SORT_1 var_120_arg_1 = var_119; SORT_1 var_120_arg_2 = input_114; SORT_1 var_120 = var_120_arg_0 ? var_120_arg_1 : var_120_arg_2; SORT_5 var_104_arg_0 = state_28; SORT_5 var_104 = ~var_104_arg_0; SORT_5 var_105_arg_0 = input_8; SORT_5 var_105_arg_1 = var_104; SORT_5 var_105 = var_105_arg_0 & var_105_arg_1; var_105 = var_105 & mask_SORT_5; SORT_1 var_100_arg_0 = state_11; var_100_arg_0 = var_100_arg_0 & mask_SORT_1; SORT_13 var_100 = var_100_arg_0; SORT_13 var_102_arg_0 = var_100; SORT_13 var_102_arg_1 = var_101; SORT_5 var_102 = var_102_arg_0 == var_102_arg_1; SORT_1 var_97_arg_0 = state_11; var_97_arg_0 = var_97_arg_0 & mask_SORT_1; SORT_13 var_97 = var_97_arg_0; SORT_13 var_98_arg_0 = var_97; SORT_13 var_98_arg_1 = var_81; SORT_13 var_98 = var_98_arg_0 - var_98_arg_1; SORT_13 var_99_arg_0 = var_98; SORT_1 var_99 = var_99_arg_0 >> 0; SORT_5 var_103_arg_0 = var_102; SORT_1 var_103_arg_1 = state_11; SORT_1 var_103_arg_2 = var_99; SORT_1 var_103 = var_103_arg_0 ? var_103_arg_1 : var_103_arg_2; SORT_5 var_106_arg_0 = var_105; SORT_1 var_106_arg_1 = var_103; SORT_1 var_106_arg_2 = input_96; SORT_1 var_106 = var_106_arg_0 ? var_106_arg_1 : var_106_arg_2; SORT_5 var_110_arg_0 = var_109; SORT_1 var_110_arg_1 = input_107; SORT_1 var_110_arg_2 = var_106; SORT_1 var_110 = var_110_arg_0 ? var_110_arg_1 : var_110_arg_2; SORT_5 var_111_arg_0 = var_105; SORT_1 var_111_arg_1 = var_110; SORT_1 var_111_arg_2 = state_11; SORT_1 var_111 = var_111_arg_0 ? var_111_arg_1 : var_111_arg_2; SORT_5 var_113_arg_0 = var_109; SORT_1 var_113_arg_1 = input_112; SORT_1 var_113_arg_2 = var_111; SORT_1 var_113 = var_113_arg_0 ? var_113_arg_1 : var_113_arg_2; SORT_5 var_121_arg_0 = var_109; SORT_1 var_121_arg_1 = var_120; SORT_1 var_121_arg_2 = var_113; SORT_1 var_121 = var_121_arg_0 ? var_121_arg_1 : var_121_arg_2; SORT_1 next_122_arg_1 = var_121; SORT_5 var_130_arg_0 = var_26; SORT_5 var_130 = ~var_130_arg_0; SORT_5 var_131_arg_0 = input_9; SORT_5 var_131_arg_1 = var_130; SORT_5 var_131 = var_131_arg_0 & var_131_arg_1; var_131 = var_131 & mask_SORT_5; SORT_5 var_126_arg_0 = state_23; SORT_5 var_126 = ~var_126_arg_0; SORT_5 var_127_arg_0 = input_8; SORT_5 var_127_arg_1 = var_126; SORT_5 var_127 = var_127_arg_0 & var_127_arg_1; var_127 = var_127 & mask_SORT_5; SORT_1 var_123_arg_0 = state_17; var_123_arg_0 = var_123_arg_0 & mask_SORT_1; SORT_13 var_123 = var_123_arg_0; SORT_13 var_124_arg_0 = var_123; SORT_13 var_124_arg_1 = var_81; SORT_13 var_124 = var_124_arg_0 + var_124_arg_1; SORT_13 var_125_arg_0 = var_124; SORT_1 var_125 = var_125_arg_0 >> 0; var_125 = var_125 & mask_SORT_1; SORT_5 var_128_arg_0 = var_127; SORT_1 var_128_arg_1 = var_125; SORT_1 var_128_arg_2 = state_17; SORT_1 var_128 = var_128_arg_0 ? var_128_arg_1 : var_128_arg_2; SORT_5 var_132_arg_0 = var_131; SORT_1 var_132_arg_1 = input_129; SORT_1 var_132_arg_2 = var_128; SORT_1 var_132 = var_132_arg_0 ? var_132_arg_1 : var_132_arg_2; SORT_5 var_133_arg_0 = var_131; SORT_1 var_133_arg_1 = state_17; SORT_1 var_133_arg_2 = var_132; SORT_1 var_133 = var_133_arg_0 ? var_133_arg_1 : var_133_arg_2; var_133 = var_133 & mask_SORT_1; SORT_1 next_134_arg_1 = var_133; SORT_1 var_135_arg_0 = state_19; var_135_arg_0 = var_135_arg_0 & mask_SORT_1; SORT_13 var_135 = var_135_arg_0; SORT_13 var_136_arg_0 = var_135; SORT_13 var_136_arg_1 = var_81; SORT_13 var_136 = var_136_arg_0 + var_136_arg_1; SORT_13 var_137_arg_0 = var_136; SORT_1 var_137 = var_137_arg_0 >> 0; SORT_5 var_138_arg_0 = var_131; SORT_1 var_138_arg_1 = var_137; SORT_1 var_138_arg_2 = state_19; SORT_1 var_138 = var_138_arg_0 ? var_138_arg_1 : var_138_arg_2; var_138 = var_138 & mask_SORT_1; SORT_1 next_139_arg_1 = var_138; SORT_1 var_141_arg_0 = var_125; SORT_1 var_141_arg_1 = state_19; SORT_5 var_141 = var_141_arg_0 == var_141_arg_1; SORT_5 var_142_arg_0 = var_141; SORT_5 var_142_arg_1 = var_22; SORT_5 var_142_arg_2 = state_23; SORT_5 var_142 = var_142_arg_0 ? var_142_arg_1 : var_142_arg_2; SORT_5 var_143_arg_0 = var_127; SORT_5 var_143_arg_1 = var_142; SORT_5 var_143_arg_2 = input_140; SORT_5 var_143 = var_143_arg_0 ? var_143_arg_1 : var_143_arg_2; SORT_5 var_145_arg_0 = var_131; SORT_5 var_145_arg_1 = input_144; SORT_5 var_145_arg_2 = var_143; SORT_5 var_145 = var_145_arg_0 ? var_145_arg_1 : var_145_arg_2; SORT_5 var_146_arg_0 = var_127; SORT_5 var_146_arg_1 = var_145; SORT_5 var_146_arg_2 = state_23; SORT_5 var_146 = var_146_arg_0 ? var_146_arg_1 : var_146_arg_2; SORT_5 var_148_arg_0 = var_131; SORT_5 var_148_arg_1 = input_147; SORT_5 var_148_arg_2 = var_146; SORT_5 var_148 = var_148_arg_0 ? var_148_arg_1 : var_148_arg_2; SORT_5 var_150_arg_0 = var_131; SORT_5 var_150_arg_1 = var_149; SORT_5 var_150_arg_2 = var_148; SORT_5 var_150 = var_150_arg_0 ? var_150_arg_1 : var_150_arg_2; var_150 = var_150 & mask_SORT_5; SORT_5 next_151_arg_1 = var_150; SORT_5 var_153_arg_0 = var_102; SORT_5 var_153_arg_1 = var_22; SORT_5 var_153_arg_2 = state_28; SORT_5 var_153 = var_153_arg_0 ? var_153_arg_1 : var_153_arg_2; SORT_5 var_154_arg_0 = var_105; SORT_5 var_154_arg_1 = var_153; SORT_5 var_154_arg_2 = input_152; SORT_5 var_154 = var_154_arg_0 ? var_154_arg_1 : var_154_arg_2; SORT_5 var_156_arg_0 = var_109; SORT_5 var_156_arg_1 = input_155; SORT_5 var_156_arg_2 = var_154; SORT_5 var_156 = var_156_arg_0 ? var_156_arg_1 : var_156_arg_2; SORT_5 var_157_arg_0 = var_105; SORT_5 var_157_arg_1 = var_156; SORT_5 var_157_arg_2 = state_28; SORT_5 var_157 = var_157_arg_0 ? var_157_arg_1 : var_157_arg_2; SORT_5 var_159_arg_0 = var_109; SORT_5 var_159_arg_1 = input_158; SORT_5 var_159_arg_2 = var_157; SORT_5 var_159 = var_159_arg_0 ? var_159_arg_1 : var_159_arg_2; SORT_5 var_160_arg_0 = var_109; SORT_5 var_160_arg_1 = var_149; SORT_5 var_160_arg_2 = var_159; SORT_5 var_160 = var_160_arg_0 ? var_160_arg_1 : var_160_arg_2; var_160 = var_160 & mask_SORT_5; SORT_5 next_161_arg_1 = var_160; SORT_5 var_162_arg_0 = var_109; SORT_1 var_162_arg_1 = input_7; SORT_1 var_162_arg_2 = state_32; SORT_1 var_162 = var_162_arg_0 ? var_162_arg_1 : var_162_arg_2; SORT_1 next_163_arg_1 = var_162; SORT_5 var_164_arg_0 = var_109; SORT_1 var_164_arg_1 = state_32; SORT_1 var_164_arg_2 = state_34; SORT_1 var_164 = var_164_arg_0 ? var_164_arg_1 : var_164_arg_2; SORT_1 next_165_arg_1 = var_164; SORT_5 var_166_arg_0 = var_109; SORT_1 var_166_arg_1 = state_34; SORT_1 var_166_arg_2 = state_41; SORT_1 var_166 = var_166_arg_0 ? var_166_arg_1 : var_166_arg_2; SORT_1 next_167_arg_1 = var_166; SORT_5 var_168_arg_0 = var_109; SORT_1 var_168_arg_1 = state_41; SORT_1 var_168_arg_2 = state_46; SORT_1 var_168 = var_168_arg_0 ? var_168_arg_1 : var_168_arg_2; SORT_1 next_169_arg_1 = var_168; SORT_5 var_170_arg_0 = var_109; SORT_1 var_170_arg_1 = state_46; SORT_1 var_170_arg_2 = state_48; SORT_1 var_170 = var_170_arg_0 ? var_170_arg_1 : var_170_arg_2; SORT_1 next_171_arg_1 = var_170; SORT_5 var_177_arg_0 = var_131; SORT_1 var_177_arg_1 = state_19; SORT_1 var_177_arg_2 = input_176; SORT_1 var_177 = var_177_arg_0 ? var_177_arg_1 : var_177_arg_2; SORT_1 var_178_arg_0 = var_177; SORT_5 var_178 = var_178_arg_0 >> 0; var_178 = var_178 & mask_SORT_5; SORT_5 var_179_arg_0 = var_178; SORT_5 var_179_arg_1 = var_149; SORT_5 var_179 = var_179_arg_0 == var_179_arg_1; SORT_1 var_180_arg_0 = var_177; SORT_5 var_180 = var_180_arg_0 >> 1; var_180 = var_180 & mask_SORT_5; SORT_5 var_181_arg_0 = var_180; SORT_5 var_181_arg_1 = var_149; SORT_5 var_181 = var_181_arg_0 == var_181_arg_1; SORT_1 var_182_arg_0 = var_177; SORT_5 var_182 = var_182_arg_0 >> 2; var_182 = var_182 & mask_SORT_5; SORT_5 var_183_arg_0 = var_182; SORT_5 var_183_arg_1 = var_149; SORT_5 var_183 = var_183_arg_0 == var_183_arg_1; SORT_5 var_184_arg_0 = var_181; SORT_5 var_184_arg_1 = var_183; SORT_5 var_184 = var_184_arg_0 & var_184_arg_1; SORT_5 var_185_arg_0 = var_179; SORT_5 var_185_arg_1 = var_184; SORT_5 var_185 = var_185_arg_0 & var_185_arg_1; SORT_5 var_187_arg_0 = var_131; SORT_1 var_187_arg_1 = var_186; SORT_1 var_187_arg_2 = var_10; SORT_1 var_187 = var_187_arg_0 ? var_187_arg_1 : var_187_arg_2; SORT_1 var_203_arg_0 = var_187; SORT_5 var_203 = var_203_arg_0 >> 3; SORT_5 var_204_arg_0 = var_185; SORT_5 var_204_arg_1 = var_203; SORT_5 var_204 = var_204_arg_0 & var_204_arg_1; var_204 = var_204 & mask_SORT_5; SORT_5 var_174_arg_0 = var_131; SORT_1 var_174_arg_1 = input_7; SORT_1 var_174_arg_2 = input_173; SORT_1 var_174 = var_174_arg_0 ? var_174_arg_1 : var_174_arg_2; SORT_1 var_202_arg_0 = var_174; SORT_5 var_202 = var_202_arg_0 >> 3; SORT_1 var_201_arg_0 = state_57; SORT_5 var_201 = var_201_arg_0 >> 3; SORT_5 var_205_arg_0 = var_204; SORT_5 var_205_arg_1 = var_202; SORT_5 var_205_arg_2 = var_201; SORT_5 var_205 = var_205_arg_0 ? var_205_arg_1 : var_205_arg_2; SORT_1 var_198_arg_0 = var_187; SORT_5 var_198 = var_198_arg_0 >> 2; SORT_5 var_199_arg_0 = var_185; SORT_5 var_199_arg_1 = var_198; SORT_5 var_199 = var_199_arg_0 & var_199_arg_1; var_199 = var_199 & mask_SORT_5; SORT_1 var_197_arg_0 = var_174; SORT_5 var_197 = var_197_arg_0 >> 2; SORT_1 var_196_arg_0 = state_57; SORT_5 var_196 = var_196_arg_0 >> 2; SORT_5 var_200_arg_0 = var_199; SORT_5 var_200_arg_1 = var_197; SORT_5 var_200_arg_2 = var_196; SORT_5 var_200 = var_200_arg_0 ? var_200_arg_1 : var_200_arg_2; SORT_1 var_193_arg_0 = var_187; SORT_5 var_193 = var_193_arg_0 >> 1; SORT_5 var_194_arg_0 = var_185; SORT_5 var_194_arg_1 = var_193; SORT_5 var_194 = var_194_arg_0 & var_194_arg_1; var_194 = var_194 & mask_SORT_5; SORT_1 var_192_arg_0 = var_174; SORT_5 var_192 = var_192_arg_0 >> 1; SORT_1 var_191_arg_0 = state_57; SORT_5 var_191 = var_191_arg_0 >> 1; SORT_5 var_195_arg_0 = var_194; SORT_5 var_195_arg_1 = var_192; SORT_5 var_195_arg_2 = var_191; SORT_5 var_195 = var_195_arg_0 ? var_195_arg_1 : var_195_arg_2; SORT_1 var_188_arg_0 = var_187; SORT_5 var_188 = var_188_arg_0 >> 0; SORT_5 var_189_arg_0 = var_185; SORT_5 var_189_arg_1 = var_188; SORT_5 var_189 = var_189_arg_0 & var_189_arg_1; var_189 = var_189 & mask_SORT_5; SORT_1 var_175_arg_0 = var_174; SORT_5 var_175 = var_175_arg_0 >> 0; SORT_1 var_172_arg_0 = state_57; SORT_5 var_172 = var_172_arg_0 >> 0; SORT_5 var_190_arg_0 = var_189; SORT_5 var_190_arg_1 = var_175; SORT_5 var_190_arg_2 = var_172; SORT_5 var_190 = var_190_arg_0 ? var_190_arg_1 : var_190_arg_2; var_190 = var_190 & mask_SORT_5; SORT_5 var_207_arg_0 = var_195; SORT_5 var_207_arg_1 = var_190; SORT_206 var_207 = ((SORT_206)var_207_arg_0 << 1) | var_207_arg_1; var_207 = var_207 & mask_SORT_206; SORT_5 var_208_arg_0 = var_200; SORT_206 var_208_arg_1 = var_207; SORT_36 var_208 = ((SORT_36)var_208_arg_0 << 2) | var_208_arg_1; var_208 = var_208 & mask_SORT_36; SORT_5 var_209_arg_0 = var_205; SORT_36 var_209_arg_1 = var_208; SORT_1 var_209 = ((SORT_1)var_209_arg_0 << 3) | var_209_arg_1; SORT_1 next_210_arg_1 = var_209; SORT_5 var_212_arg_0 = var_178; SORT_5 var_212_arg_1 = var_22; SORT_5 var_212 = var_212_arg_0 == var_212_arg_1; SORT_5 var_213_arg_0 = var_212; SORT_5 var_213_arg_1 = var_184; SORT_5 var_213 = var_213_arg_0 & var_213_arg_1; SORT_5 var_223_arg_0 = var_213; SORT_5 var_223_arg_1 = var_203; SORT_5 var_223 = var_223_arg_0 & var_223_arg_1; var_223 = var_223 & mask_SORT_5; SORT_1 var_222_arg_0 = state_59; SORT_5 var_222 = var_222_arg_0 >> 3; SORT_5 var_224_arg_0 = var_223; SORT_5 var_224_arg_1 = var_202; SORT_5 var_224_arg_2 = var_222; SORT_5 var_224 = var_224_arg_0 ? var_224_arg_1 : var_224_arg_2; SORT_5 var_220_arg_0 = var_213; SORT_5 var_220_arg_1 = var_198; SORT_5 var_220 = var_220_arg_0 & var_220_arg_1; var_220 = var_220 & mask_SORT_5; SORT_1 var_219_arg_0 = state_59; SORT_5 var_219 = var_219_arg_0 >> 2; SORT_5 var_221_arg_0 = var_220; SORT_5 var_221_arg_1 = var_197; SORT_5 var_221_arg_2 = var_219; SORT_5 var_221 = var_221_arg_0 ? var_221_arg_1 : var_221_arg_2; SORT_5 var_217_arg_0 = var_213; SORT_5 var_217_arg_1 = var_193; SORT_5 var_217 = var_217_arg_0 & var_217_arg_1; var_217 = var_217 & mask_SORT_5; SORT_1 var_216_arg_0 = state_59; SORT_5 var_216 = var_216_arg_0 >> 1; SORT_5 var_218_arg_0 = var_217; SORT_5 var_218_arg_1 = var_192; SORT_5 var_218_arg_2 = var_216; SORT_5 var_218 = var_218_arg_0 ? var_218_arg_1 : var_218_arg_2; SORT_5 var_214_arg_0 = var_213; SORT_5 var_214_arg_1 = var_188; SORT_5 var_214 = var_214_arg_0 & var_214_arg_1; var_214 = var_214 & mask_SORT_5; SORT_1 var_211_arg_0 = state_59; SORT_5 var_211 = var_211_arg_0 >> 0; SORT_5 var_215_arg_0 = var_214; SORT_5 var_215_arg_1 = var_175; SORT_5 var_215_arg_2 = var_211; SORT_5 var_215 = var_215_arg_0 ? var_215_arg_1 : var_215_arg_2; var_215 = var_215 & mask_SORT_5; SORT_5 var_225_arg_0 = var_218; SORT_5 var_225_arg_1 = var_215; SORT_206 var_225 = ((SORT_206)var_225_arg_0 << 1) | var_225_arg_1; var_225 = var_225 & mask_SORT_206; SORT_5 var_226_arg_0 = var_221; SORT_206 var_226_arg_1 = var_225; SORT_36 var_226 = ((SORT_36)var_226_arg_0 << 2) | var_226_arg_1; var_226 = var_226 & mask_SORT_36; SORT_5 var_227_arg_0 = var_224; SORT_36 var_227_arg_1 = var_226; SORT_1 var_227 = ((SORT_1)var_227_arg_0 << 3) | var_227_arg_1; SORT_1 next_228_arg_1 = var_227; SORT_5 var_230_arg_0 = var_180; SORT_5 var_230_arg_1 = var_22; SORT_5 var_230 = var_230_arg_0 == var_230_arg_1; SORT_5 var_231_arg_0 = var_230; SORT_5 var_231_arg_1 = var_183; SORT_5 var_231 = var_231_arg_0 & var_231_arg_1; SORT_5 var_232_arg_0 = var_179; SORT_5 var_232_arg_1 = var_231; SORT_5 var_232 = var_232_arg_0 & var_232_arg_1; SORT_5 var_242_arg_0 = var_232; SORT_5 var_242_arg_1 = var_203; SORT_5 var_242 = var_242_arg_0 & var_242_arg_1; var_242 = var_242 & mask_SORT_5; SORT_1 var_241_arg_0 = state_63; SORT_5 var_241 = var_241_arg_0 >> 3; SORT_5 var_243_arg_0 = var_242; SORT_5 var_243_arg_1 = var_202; SORT_5 var_243_arg_2 = var_241; SORT_5 var_243 = var_243_arg_0 ? var_243_arg_1 : var_243_arg_2; SORT_5 var_239_arg_0 = var_232; SORT_5 var_239_arg_1 = var_198; SORT_5 var_239 = var_239_arg_0 & var_239_arg_1; var_239 = var_239 & mask_SORT_5; SORT_1 var_238_arg_0 = state_63; SORT_5 var_238 = var_238_arg_0 >> 2; SORT_5 var_240_arg_0 = var_239; SORT_5 var_240_arg_1 = var_197; SORT_5 var_240_arg_2 = var_238; SORT_5 var_240 = var_240_arg_0 ? var_240_arg_1 : var_240_arg_2; SORT_5 var_236_arg_0 = var_232; SORT_5 var_236_arg_1 = var_193; SORT_5 var_236 = var_236_arg_0 & var_236_arg_1; var_236 = var_236 & mask_SORT_5; SORT_1 var_235_arg_0 = state_63; SORT_5 var_235 = var_235_arg_0 >> 1; SORT_5 var_237_arg_0 = var_236; SORT_5 var_237_arg_1 = var_192; SORT_5 var_237_arg_2 = var_235; SORT_5 var_237 = var_237_arg_0 ? var_237_arg_1 : var_237_arg_2; SORT_5 var_233_arg_0 = var_232; SORT_5 var_233_arg_1 = var_188; SORT_5 var_233 = var_233_arg_0 & var_233_arg_1; var_233 = var_233 & mask_SORT_5; SORT_1 var_229_arg_0 = state_63; SORT_5 var_229 = var_229_arg_0 >> 0; SORT_5 var_234_arg_0 = var_233; SORT_5 var_234_arg_1 = var_175; SORT_5 var_234_arg_2 = var_229; SORT_5 var_234 = var_234_arg_0 ? var_234_arg_1 : var_234_arg_2; var_234 = var_234 & mask_SORT_5; SORT_5 var_244_arg_0 = var_237; SORT_5 var_244_arg_1 = var_234; SORT_206 var_244 = ((SORT_206)var_244_arg_0 << 1) | var_244_arg_1; var_244 = var_244 & mask_SORT_206; SORT_5 var_245_arg_0 = var_240; SORT_206 var_245_arg_1 = var_244; SORT_36 var_245 = ((SORT_36)var_245_arg_0 << 2) | var_245_arg_1; var_245 = var_245 & mask_SORT_36; SORT_5 var_246_arg_0 = var_243; SORT_36 var_246_arg_1 = var_245; SORT_1 var_246 = ((SORT_1)var_246_arg_0 << 3) | var_246_arg_1; SORT_1 next_247_arg_1 = var_246; SORT_5 var_249_arg_0 = var_212; SORT_5 var_249_arg_1 = var_231; SORT_5 var_249 = var_249_arg_0 & var_249_arg_1; SORT_5 var_259_arg_0 = var_249; SORT_5 var_259_arg_1 = var_203; SORT_5 var_259 = var_259_arg_0 & var_259_arg_1; var_259 = var_259 & mask_SORT_5; SORT_1 var_258_arg_0 = state_65; SORT_5 var_258 = var_258_arg_0 >> 3; SORT_5 var_260_arg_0 = var_259; SORT_5 var_260_arg_1 = var_202; SORT_5 var_260_arg_2 = var_258; SORT_5 var_260 = var_260_arg_0 ? var_260_arg_1 : var_260_arg_2; SORT_5 var_256_arg_0 = var_249; SORT_5 var_256_arg_1 = var_198; SORT_5 var_256 = var_256_arg_0 & var_256_arg_1; var_256 = var_256 & mask_SORT_5; SORT_1 var_255_arg_0 = state_65; SORT_5 var_255 = var_255_arg_0 >> 2; SORT_5 var_257_arg_0 = var_256; SORT_5 var_257_arg_1 = var_197; SORT_5 var_257_arg_2 = var_255; SORT_5 var_257 = var_257_arg_0 ? var_257_arg_1 : var_257_arg_2; SORT_5 var_253_arg_0 = var_249; SORT_5 var_253_arg_1 = var_193; SORT_5 var_253 = var_253_arg_0 & var_253_arg_1; var_253 = var_253 & mask_SORT_5; SORT_1 var_252_arg_0 = state_65; SORT_5 var_252 = var_252_arg_0 >> 1; SORT_5 var_254_arg_0 = var_253; SORT_5 var_254_arg_1 = var_192; SORT_5 var_254_arg_2 = var_252; SORT_5 var_254 = var_254_arg_0 ? var_254_arg_1 : var_254_arg_2; SORT_5 var_250_arg_0 = var_249; SORT_5 var_250_arg_1 = var_188; SORT_5 var_250 = var_250_arg_0 & var_250_arg_1; var_250 = var_250 & mask_SORT_5; SORT_1 var_248_arg_0 = state_65; SORT_5 var_248 = var_248_arg_0 >> 0; SORT_5 var_251_arg_0 = var_250; SORT_5 var_251_arg_1 = var_175; SORT_5 var_251_arg_2 = var_248; SORT_5 var_251 = var_251_arg_0 ? var_251_arg_1 : var_251_arg_2; var_251 = var_251 & mask_SORT_5; SORT_5 var_261_arg_0 = var_254; SORT_5 var_261_arg_1 = var_251; SORT_206 var_261 = ((SORT_206)var_261_arg_0 << 1) | var_261_arg_1; var_261 = var_261 & mask_SORT_206; SORT_5 var_262_arg_0 = var_257; SORT_206 var_262_arg_1 = var_261; SORT_36 var_262 = ((SORT_36)var_262_arg_0 << 2) | var_262_arg_1; var_262 = var_262 & mask_SORT_36; SORT_5 var_263_arg_0 = var_260; SORT_36 var_263_arg_1 = var_262; SORT_1 var_263 = ((SORT_1)var_263_arg_0 << 3) | var_263_arg_1; SORT_1 next_264_arg_1 = var_263; SORT_5 var_266_arg_0 = var_182; SORT_5 var_266_arg_1 = var_22; SORT_5 var_266 = var_266_arg_0 == var_266_arg_1; SORT_5 var_267_arg_0 = var_181; SORT_5 var_267_arg_1 = var_266; SORT_5 var_267 = var_267_arg_0 & var_267_arg_1; SORT_5 var_268_arg_0 = var_179; SORT_5 var_268_arg_1 = var_267; SORT_5 var_268 = var_268_arg_0 & var_268_arg_1; SORT_5 var_278_arg_0 = var_268; SORT_5 var_278_arg_1 = var_203; SORT_5 var_278 = var_278_arg_0 & var_278_arg_1; var_278 = var_278 & mask_SORT_5; SORT_1 var_277_arg_0 = state_70; SORT_5 var_277 = var_277_arg_0 >> 3; SORT_5 var_279_arg_0 = var_278; SORT_5 var_279_arg_1 = var_202; SORT_5 var_279_arg_2 = var_277; SORT_5 var_279 = var_279_arg_0 ? var_279_arg_1 : var_279_arg_2; SORT_5 var_275_arg_0 = var_268; SORT_5 var_275_arg_1 = var_198; SORT_5 var_275 = var_275_arg_0 & var_275_arg_1; var_275 = var_275 & mask_SORT_5; SORT_1 var_274_arg_0 = state_70; SORT_5 var_274 = var_274_arg_0 >> 2; SORT_5 var_276_arg_0 = var_275; SORT_5 var_276_arg_1 = var_197; SORT_5 var_276_arg_2 = var_274; SORT_5 var_276 = var_276_arg_0 ? var_276_arg_1 : var_276_arg_2; SORT_5 var_272_arg_0 = var_268; SORT_5 var_272_arg_1 = var_193; SORT_5 var_272 = var_272_arg_0 & var_272_arg_1; var_272 = var_272 & mask_SORT_5; SORT_1 var_271_arg_0 = state_70; SORT_5 var_271 = var_271_arg_0 >> 1; SORT_5 var_273_arg_0 = var_272; SORT_5 var_273_arg_1 = var_192; SORT_5 var_273_arg_2 = var_271; SORT_5 var_273 = var_273_arg_0 ? var_273_arg_1 : var_273_arg_2; SORT_5 var_269_arg_0 = var_268; SORT_5 var_269_arg_1 = var_188; SORT_5 var_269 = var_269_arg_0 & var_269_arg_1; var_269 = var_269 & mask_SORT_5; SORT_1 var_265_arg_0 = state_70; SORT_5 var_265 = var_265_arg_0 >> 0; SORT_5 var_270_arg_0 = var_269; SORT_5 var_270_arg_1 = var_175; SORT_5 var_270_arg_2 = var_265; SORT_5 var_270 = var_270_arg_0 ? var_270_arg_1 : var_270_arg_2; var_270 = var_270 & mask_SORT_5; SORT_5 var_280_arg_0 = var_273; SORT_5 var_280_arg_1 = var_270; SORT_206 var_280 = ((SORT_206)var_280_arg_0 << 1) | var_280_arg_1; var_280 = var_280 & mask_SORT_206; SORT_5 var_281_arg_0 = var_276; SORT_206 var_281_arg_1 = var_280; SORT_36 var_281 = ((SORT_36)var_281_arg_0 << 2) | var_281_arg_1; var_281 = var_281 & mask_SORT_36; SORT_5 var_282_arg_0 = var_279; SORT_36 var_282_arg_1 = var_281; SORT_1 var_282 = ((SORT_1)var_282_arg_0 << 3) | var_282_arg_1; SORT_1 next_283_arg_1 = var_282; // Assigning next states ... state_11 = next_122_arg_1; state_17 = next_134_arg_1; state_19 = next_139_arg_1; state_23 = next_151_arg_1; state_28 = next_161_arg_1; state_32 = next_163_arg_1; state_34 = next_165_arg_1; state_41 = next_167_arg_1; state_46 = next_169_arg_1; state_48 = next_171_arg_1; state_57 = next_210_arg_1; state_59 = next_228_arg_1; state_63 = next_247_arg_1; state_65 = next_264_arg_1; state_70 = next_283_arg_1; } return 0; }