// 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=false, 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", "vis_QF_BV_vMiim_p2.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 8 bits const SORT_5 mask_SORT_5 = (SORT_5)-1 >> (sizeof(SORT_5) * 8 - 8); const SORT_5 msb_SORT_5 = (SORT_5)1 << (8 - 1); typedef unsigned char SORT_7; // BV with 5 bits const SORT_7 mask_SORT_7 = (SORT_7)-1 >> (sizeof(SORT_7) * 8 - 5); const SORT_7 msb_SORT_7 = (SORT_7)1 << (5 - 1); typedef unsigned char SORT_45; // BV with 6 bits const SORT_45 mask_SORT_45 = (SORT_45)-1 >> (sizeof(SORT_45) * 8 - 6); const SORT_45 msb_SORT_45 = (SORT_45)1 << (6 - 1); typedef unsigned int SORT_55; // BV with 32 bits const SORT_55 mask_SORT_55 = (SORT_55)-1 >> (sizeof(SORT_55) * 8 - 32); const SORT_55 msb_SORT_55 = (SORT_55)1 << (32 - 1); typedef unsigned int SORT_61; // BV with 25 bits const SORT_61 mask_SORT_61 = (SORT_61)-1 >> (sizeof(SORT_61) * 8 - 25); const SORT_61 msb_SORT_61 = (SORT_61)1 << (25 - 1); typedef unsigned char SORT_63; // BV with 7 bits const SORT_63 mask_SORT_63 = (SORT_63)-1 >> (sizeof(SORT_63) * 8 - 7); const SORT_63 msb_SORT_63 = (SORT_63)1 << (7 - 1); typedef unsigned char SORT_84; // BV with 2 bits const SORT_84 mask_SORT_84 = (SORT_84)-1 >> (sizeof(SORT_84) * 8 - 2); const SORT_84 msb_SORT_84 = (SORT_84)1 << (2 - 1); typedef unsigned char SORT_122; // BV with 3 bits const SORT_122 mask_SORT_122 = (SORT_122)-1 >> (sizeof(SORT_122) * 8 - 3); const SORT_122 msb_SORT_122 = (SORT_122)1 << (3 - 1); // Initializing constants ... const SORT_1 var_17 = 0; const SORT_1 var_41 = 1; const SORT_45 var_46 = 0; const SORT_5 var_50 = 0; const SORT_5 var_56 = 2; const SORT_55 var_58 = 2; const SORT_61 var_62 = 0; const SORT_55 var_66 = 1; const SORT_55 var_112 = 0; const SORT_45 var_218 = 33; const SORT_5 var_227 = 1; // Collecting input declarations ... SORT_1 input_2; SORT_3 input_4; SORT_5 input_6; SORT_7 input_8; SORT_1 input_9; SORT_1 input_10; SORT_1 input_11; SORT_1 input_12; SORT_7 input_13; SORT_1 input_14; SORT_1 input_15; SORT_1 input_16; SORT_84 input_85; SORT_1 input_87; SORT_1 input_89; SORT_1 input_91; SORT_1 input_99; SORT_1 input_105; SORT_1 input_134; SORT_1 input_149; SORT_7 input_162; SORT_1 input_164; SORT_3 input_166; SORT_5 input_168; SORT_1 input_179; // Collecting state declarations ... SORT_1 state_18 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_20 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_23 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_26 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_29 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_32 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_36 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_45 state_47 = __VERIFIER_nondet_uchar() & mask_SORT_45; SORT_5 state_51 = __VERIFIER_nondet_uchar() & mask_SORT_5; SORT_1 state_70 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_76 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_80 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_82 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_93 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_95 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_97 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_101 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_103 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_107 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_136 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_138 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_140 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_142 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_144 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_151 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_153 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_170 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_172 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_181 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_183 = __VERIFIER_nondet_uchar() & mask_SORT_1; SORT_1 state_185 = __VERIFIER_nondet_uchar() & mask_SORT_1; // Initializing states ... SORT_1 init_19_arg_1 = var_17; state_18 = init_19_arg_1; SORT_1 init_21_arg_1 = var_17; state_20 = init_21_arg_1; SORT_1 init_24_arg_1 = var_17; state_23 = init_24_arg_1; SORT_1 init_27_arg_1 = var_17; state_26 = init_27_arg_1; SORT_1 init_30_arg_1 = var_17; state_29 = init_30_arg_1; SORT_1 init_33_arg_1 = var_17; state_32 = init_33_arg_1; SORT_1 init_37_arg_1 = var_17; state_36 = init_37_arg_1; SORT_45 init_48_arg_1 = var_46; state_47 = init_48_arg_1; SORT_5 init_52_arg_1 = var_50; state_51 = init_52_arg_1; SORT_1 init_71_arg_1 = var_17; state_70 = init_71_arg_1; SORT_1 init_77_arg_1 = var_17; state_76 = init_77_arg_1; SORT_1 init_81_arg_1 = var_17; state_80 = init_81_arg_1; SORT_1 init_83_arg_1 = var_17; state_82 = init_83_arg_1; SORT_1 init_94_arg_1 = var_17; state_93 = init_94_arg_1; SORT_1 init_96_arg_1 = var_17; state_95 = init_96_arg_1; SORT_1 init_98_arg_1 = var_17; state_97 = init_98_arg_1; SORT_1 init_102_arg_1 = var_17; state_101 = init_102_arg_1; SORT_1 init_104_arg_1 = var_17; state_103 = init_104_arg_1; SORT_1 init_108_arg_1 = var_17; state_107 = init_108_arg_1; SORT_1 init_137_arg_1 = var_17; state_136 = init_137_arg_1; SORT_1 init_139_arg_1 = var_17; state_138 = init_139_arg_1; SORT_1 init_141_arg_1 = var_17; state_140 = init_141_arg_1; SORT_1 init_143_arg_1 = var_17; state_142 = init_143_arg_1; SORT_1 init_145_arg_1 = var_17; state_144 = init_145_arg_1; SORT_1 init_152_arg_1 = var_17; state_151 = init_152_arg_1; SORT_1 init_154_arg_1 = var_17; state_153 = init_154_arg_1; SORT_1 init_171_arg_1 = var_17; state_170 = init_171_arg_1; SORT_1 init_173_arg_1 = var_17; state_172 = init_173_arg_1; SORT_1 init_182_arg_1 = var_17; state_181 = init_182_arg_1; SORT_1 init_184_arg_1 = var_17; state_183 = init_184_arg_1; SORT_1 init_186_arg_1 = var_17; state_185 = init_186_arg_1; for (;;) { // Getting external input values ... input_2 = __VERIFIER_nondet_uchar(); input_2 = input_2 & mask_SORT_1; input_4 = __VERIFIER_nondet_ushort(); input_4 = input_4 & mask_SORT_3; input_6 = __VERIFIER_nondet_uchar(); input_6 = input_6 & mask_SORT_5; input_8 = __VERIFIER_nondet_uchar(); input_8 = input_8 & mask_SORT_7; input_9 = __VERIFIER_nondet_uchar(); input_9 = input_9 & mask_SORT_1; input_10 = __VERIFIER_nondet_uchar(); input_10 = input_10 & mask_SORT_1; input_11 = __VERIFIER_nondet_uchar(); input_11 = input_11 & mask_SORT_1; input_12 = __VERIFIER_nondet_uchar(); input_12 = input_12 & mask_SORT_1; input_13 = __VERIFIER_nondet_uchar(); input_13 = input_13 & mask_SORT_7; input_14 = __VERIFIER_nondet_uchar(); input_14 = input_14 & mask_SORT_1; input_15 = __VERIFIER_nondet_uchar(); input_15 = input_15 & mask_SORT_1; input_16 = __VERIFIER_nondet_uchar(); input_16 = input_16 & mask_SORT_1; input_85 = __VERIFIER_nondet_uchar(); input_85 = input_85 & mask_SORT_84; input_87 = __VERIFIER_nondet_uchar(); input_87 = input_87 & mask_SORT_1; input_89 = __VERIFIER_nondet_uchar(); input_89 = input_89 & mask_SORT_1; input_91 = __VERIFIER_nondet_uchar(); input_91 = input_91 & mask_SORT_1; input_99 = __VERIFIER_nondet_uchar(); input_99 = input_99 & mask_SORT_1; input_105 = __VERIFIER_nondet_uchar(); input_105 = input_105 & mask_SORT_1; input_134 = __VERIFIER_nondet_uchar(); input_134 = input_134 & mask_SORT_1; input_149 = __VERIFIER_nondet_uchar(); input_149 = input_149 & mask_SORT_1; input_162 = __VERIFIER_nondet_uchar(); input_162 = input_162 & mask_SORT_7; input_164 = __VERIFIER_nondet_uchar(); input_164 = input_164 & mask_SORT_1; input_166 = __VERIFIER_nondet_ushort(); input_166 = input_166 & mask_SORT_3; input_168 = __VERIFIER_nondet_uchar(); input_168 = input_168 & mask_SORT_5; input_179 = __VERIFIER_nondet_uchar(); input_179 = input_179 & mask_SORT_1; // Assuming invariants ... // Asserting properties ... SORT_1 var_22_arg_0 = state_18; SORT_1 var_22_arg_1 = state_20; SORT_1 var_22 = var_22_arg_0 | var_22_arg_1; var_22 = var_22 & mask_SORT_1; SORT_1 var_25_arg_0 = var_22; SORT_1 var_25_arg_1 = state_23; SORT_1 var_25 = var_25_arg_0 | var_25_arg_1; var_25 = var_25 & mask_SORT_1; SORT_1 var_28_arg_0 = var_25; SORT_1 var_28_arg_1 = state_26; SORT_1 var_28 = var_28_arg_0 | var_28_arg_1; var_28 = var_28 & mask_SORT_1; SORT_1 var_31_arg_0 = var_28; SORT_1 var_31_arg_1 = state_29; SORT_1 var_31 = var_31_arg_0 | var_31_arg_1; var_31 = var_31 & mask_SORT_1; SORT_1 var_34_arg_0 = var_31; SORT_1 var_34_arg_1 = state_32; SORT_1 var_34 = var_34_arg_0 | var_34_arg_1; var_34 = var_34 & mask_SORT_1; SORT_1 var_35_arg_0 = var_34; SORT_1 var_35 = ~var_35_arg_0; var_35 = var_35 & mask_SORT_1; SORT_1 var_38_arg_0 = var_35; SORT_1 var_38_arg_1 = state_36; SORT_1 var_38 = var_38_arg_0 | var_38_arg_1; var_38 = var_38 & mask_SORT_1; SORT_1 var_42_arg_0 = var_38; SORT_1 var_42 = ~var_42_arg_0; var_42 = var_42 & mask_SORT_1; SORT_1 var_43_arg_0 = var_41; SORT_1 var_43_arg_1 = var_42; SORT_1 var_43 = var_43_arg_0 & var_43_arg_1; var_43 = var_43 & mask_SORT_1; SORT_1 bad_44_arg_0 = var_43; __VERIFIER_assert(!(bad_44_arg_0)); // Computing next states ... SORT_1 var_189_arg_0 = state_185; SORT_1 var_189 = ~var_189_arg_0; var_189 = var_189 & mask_SORT_1; SORT_1 var_190_arg_0 = state_183; SORT_1 var_190_arg_1 = var_189; SORT_1 var_190 = var_190_arg_0 & var_190_arg_1; var_190 = var_190 & mask_SORT_1; SORT_1 var_191_arg_0 = var_190; SORT_1 var_191_arg_1 = var_41; SORT_1 var_191_arg_2 = state_18; SORT_1 var_191 = var_191_arg_0 ? var_191_arg_1 : var_191_arg_2; SORT_1 var_192_arg_0 = state_26; SORT_1 var_192_arg_1 = var_17; SORT_1 var_192_arg_2 = var_191; SORT_1 var_192 = var_192_arg_0 ? var_192_arg_1 : var_192_arg_2; SORT_1 var_193_arg_0 = input_12; SORT_1 var_193_arg_1 = var_17; SORT_1 var_193_arg_2 = var_192; SORT_1 var_193 = var_193_arg_0 ? var_193_arg_1 : var_193_arg_2; SORT_1 next_194_arg_1 = var_193; SORT_1 var_195_arg_0 = state_144; SORT_1 var_195 = ~var_195_arg_0; var_195 = var_195 & mask_SORT_1; SORT_1 var_196_arg_0 = state_142; SORT_1 var_196_arg_1 = var_195; SORT_1 var_196 = var_196_arg_0 & var_196_arg_1; var_196 = var_196 & mask_SORT_1; SORT_1 var_197_arg_0 = var_196; SORT_1 var_197_arg_1 = var_41; SORT_1 var_197_arg_2 = state_20; SORT_1 var_197 = var_197_arg_0 ? var_197_arg_1 : var_197_arg_2; SORT_1 var_198_arg_0 = state_26; SORT_1 var_198_arg_1 = var_17; SORT_1 var_198_arg_2 = var_197; SORT_1 var_198 = var_198_arg_0 ? var_198_arg_1 : var_198_arg_2; SORT_1 var_199_arg_0 = input_12; SORT_1 var_199_arg_1 = var_17; SORT_1 var_199_arg_2 = var_198; SORT_1 var_199 = var_199_arg_0 ? var_199_arg_1 : var_199_arg_2; SORT_1 next_200_arg_1 = var_199; SORT_5 var_53_arg_0 = state_51; SORT_5 var_53_arg_1 = var_50; SORT_1 var_53 = var_53_arg_0 == var_53_arg_1; SORT_1 var_72_arg_0 = state_70; SORT_1 var_72 = ~var_72_arg_0; var_72 = var_72 & mask_SORT_1; SORT_1 var_73_arg_0 = var_53; SORT_1 var_73_arg_1 = var_72; SORT_1 var_73 = var_73_arg_0 & var_73_arg_1; var_73 = var_73 & mask_SORT_1; SORT_1 var_201_arg_0 = var_73; SORT_1 var_201_arg_1 = state_153; SORT_1 var_201_arg_2 = state_23; SORT_1 var_201 = var_201_arg_0 ? var_201_arg_1 : var_201_arg_2; SORT_1 var_202_arg_0 = input_12; SORT_1 var_202_arg_1 = var_17; SORT_1 var_202_arg_2 = var_201; SORT_1 var_202 = var_202_arg_0 ? var_202_arg_1 : var_202_arg_2; SORT_1 next_203_arg_1 = var_202; SORT_1 var_204_arg_0 = input_12; SORT_1 var_204_arg_1 = var_17; SORT_1 var_204_arg_2 = state_76; SORT_1 var_204 = var_204_arg_0 ? var_204_arg_1 : var_204_arg_2; SORT_1 next_205_arg_1 = var_204; SORT_1 var_174_arg_0 = state_172; SORT_1 var_174 = ~var_174_arg_0; var_174 = var_174 & mask_SORT_1; SORT_1 var_175_arg_0 = state_170; SORT_1 var_175_arg_1 = var_174; SORT_1 var_175 = var_175_arg_0 & var_175_arg_1; var_175 = var_175 & mask_SORT_1; SORT_1 var_146_arg_0 = state_138; SORT_1 var_146 = ~var_146_arg_0; var_146 = var_146 & mask_SORT_1; SORT_1 var_147_arg_0 = state_136; SORT_1 var_147_arg_1 = var_146; SORT_1 var_147 = var_147_arg_0 & var_147_arg_1; var_147 = var_147 & mask_SORT_1; SORT_1 var_176_arg_0 = var_175; SORT_1 var_176_arg_1 = var_147; SORT_1 var_176 = var_176_arg_0 | var_176_arg_1; var_176 = var_176 & mask_SORT_1; SORT_1 var_155_arg_0 = state_29; SORT_1 var_155 = ~var_155_arg_0; var_155 = var_155 & mask_SORT_1; SORT_1 var_156_arg_0 = state_23; SORT_1 var_156_arg_1 = var_155; SORT_1 var_156 = var_156_arg_0 & var_156_arg_1; var_156 = var_156 & mask_SORT_1; SORT_1 var_157_arg_0 = state_80; SORT_1 var_157 = ~var_157_arg_0; var_157 = var_157 & mask_SORT_1; SORT_1 var_158_arg_0 = var_156; SORT_1 var_158_arg_1 = var_157; SORT_1 var_158 = var_158_arg_0 & var_158_arg_1; var_158 = var_158 & mask_SORT_1; SORT_1 var_159_arg_0 = state_82; SORT_1 var_159 = ~var_159_arg_0; var_159 = var_159 & mask_SORT_1; SORT_1 var_160_arg_0 = var_158; SORT_1 var_160_arg_1 = var_159; SORT_1 var_160 = var_160_arg_0 & var_160_arg_1; var_160 = var_160 & mask_SORT_1; SORT_1 var_177_arg_0 = var_176; SORT_1 var_177_arg_1 = var_160; SORT_1 var_177 = var_177_arg_0 | var_177_arg_1; var_177 = var_177 & mask_SORT_1; SORT_45 var_78_arg_0 = state_47; SORT_1 var_78 = var_78_arg_0 == mask_SORT_45; SORT_1 var_206_arg_0 = var_78; SORT_1 var_206_arg_1 = var_17; SORT_1 var_206_arg_2 = state_29; SORT_1 var_206 = var_206_arg_0 ? var_206_arg_1 : var_206_arg_2; SORT_1 var_207_arg_0 = var_177; SORT_1 var_207_arg_1 = var_41; SORT_1 var_207_arg_2 = var_206; SORT_1 var_207 = var_207_arg_0 ? var_207_arg_1 : var_207_arg_2; SORT_1 var_208_arg_0 = var_73; SORT_1 var_208_arg_1 = var_207; SORT_1 var_208_arg_2 = state_29; SORT_1 var_208 = var_208_arg_0 ? var_208_arg_1 : var_208_arg_2; SORT_1 var_209_arg_0 = input_12; SORT_1 var_209_arg_1 = var_17; SORT_1 var_209_arg_2 = var_208; SORT_1 var_209 = var_209_arg_0 ? var_209_arg_1 : var_209_arg_2; SORT_1 next_210_arg_1 = var_209; SORT_1 var_211_arg_0 = var_73; SORT_1 var_211_arg_1 = state_82; SORT_1 var_211_arg_2 = state_32; SORT_1 var_211 = var_211_arg_0 ? var_211_arg_1 : var_211_arg_2; SORT_1 var_212_arg_0 = input_12; SORT_1 var_212_arg_1 = var_17; SORT_1 var_212_arg_2 = var_211; SORT_1 var_212 = var_212_arg_0 ? var_212_arg_1 : var_212_arg_2; SORT_1 next_213_arg_1 = var_212; SORT_1 var_214_arg_0 = input_12; SORT_1 var_214_arg_1 = var_17; SORT_1 var_214_arg_2 = state_101; SORT_1 var_214 = var_214_arg_0 ? var_214_arg_1 : var_214_arg_2; SORT_1 next_215_arg_1 = var_214; SORT_1 var_222_arg_0 = state_80; SORT_1 var_222 = ~var_222_arg_0; var_222 = var_222 & mask_SORT_1; SORT_45 var_219_arg_0 = state_47; SORT_45 var_219_arg_1 = var_46; SORT_1 var_219 = var_219_arg_0 == var_219_arg_1; SORT_1 var_220_arg_0 = input_10; SORT_1 var_220_arg_1 = var_219; SORT_1 var_220 = var_220_arg_0 & var_220_arg_1; var_220 = var_220 & mask_SORT_1; SORT_1 var_216_arg_0 = var_41; SORT_45 var_216 = var_216_arg_0; SORT_45 var_217_arg_0 = state_47; SORT_45 var_217_arg_1 = var_216; SORT_45 var_217 = var_217_arg_0 + var_217_arg_1; var_217 = var_217 & mask_SORT_45; SORT_1 var_221_arg_0 = var_220; SORT_45 var_221_arg_1 = var_218; SORT_45 var_221_arg_2 = var_217; SORT_45 var_221 = var_221_arg_0 ? var_221_arg_1 : var_221_arg_2; SORT_1 var_223_arg_0 = var_222; SORT_45 var_223_arg_1 = var_46; SORT_45 var_223_arg_2 = var_221; SORT_45 var_223 = var_223_arg_0 ? var_223_arg_1 : var_223_arg_2; SORT_1 var_224_arg_0 = var_73; SORT_45 var_224_arg_1 = var_223; SORT_45 var_224_arg_2 = state_47; SORT_45 var_224 = var_224_arg_0 ? var_224_arg_1 : var_224_arg_2; SORT_1 var_225_arg_0 = input_12; SORT_45 var_225_arg_1 = var_46; SORT_45 var_225_arg_2 = var_224; SORT_45 var_225 = var_225_arg_0 ? var_225_arg_1 : var_225_arg_2; SORT_45 next_226_arg_1 = var_225; SORT_5 var_57_arg_0 = input_6; SORT_55 var_57 = var_57_arg_0; SORT_55 var_59_arg_0 = var_57; SORT_55 var_59_arg_1 = var_58; SORT_1 var_59 = var_59_arg_0 < var_59_arg_1; SORT_1 var_60_arg_0 = var_59; SORT_5 var_60_arg_1 = var_56; SORT_5 var_60_arg_2 = input_6; SORT_5 var_60 = var_60_arg_0 ? var_60_arg_1 : var_60_arg_2; SORT_5 var_64_arg_0 = var_60; SORT_63 var_64 = var_64_arg_0 >> 1; var_64 = var_64 & mask_SORT_63; SORT_61 var_65_arg_0 = var_62; SORT_63 var_65_arg_1 = var_64; SORT_55 var_65 = ((SORT_55)var_65_arg_0 << 7) | var_65_arg_1; SORT_55 var_67_arg_0 = var_65; SORT_55 var_67_arg_1 = var_66; SORT_55 var_67 = var_67_arg_0 - var_67_arg_1; var_67 = var_67 & mask_SORT_55; SORT_55 var_68_arg_0 = var_67; SORT_5 var_68 = var_68_arg_0 >> 0; var_68 = var_68 & mask_SORT_5; SORT_5 var_228_arg_0 = state_51; SORT_5 var_228_arg_1 = var_227; SORT_5 var_228 = var_228_arg_0 - var_228_arg_1; var_228 = var_228 & mask_SORT_5; SORT_1 var_229_arg_0 = var_53; SORT_5 var_229_arg_1 = var_68; SORT_5 var_229_arg_2 = var_228; SORT_5 var_229 = var_229_arg_0 ? var_229_arg_1 : var_229_arg_2; SORT_1 var_230_arg_0 = input_12; SORT_5 var_230_arg_1 = var_227; SORT_5 var_230_arg_2 = var_229; SORT_5 var_230 = var_230_arg_0 ? var_230_arg_1 : var_230_arg_2; SORT_5 next_231_arg_1 = var_230; SORT_1 var_233_arg_0 = var_53; SORT_1 var_233_arg_1 = state_93; SORT_1 var_233 = var_233_arg_0 & var_233_arg_1; var_233 = var_233 & mask_SORT_1; SORT_1 var_232_arg_0 = state_70; SORT_1 var_232 = ~var_232_arg_0; var_232 = var_232 & mask_SORT_1; SORT_1 var_234_arg_0 = var_233; SORT_1 var_234_arg_1 = var_232; SORT_1 var_234_arg_2 = state_70; SORT_1 var_234 = var_234_arg_0 ? var_234_arg_1 : var_234_arg_2; SORT_1 var_235_arg_0 = input_12; SORT_1 var_235_arg_1 = var_17; SORT_1 var_235_arg_2 = var_234; SORT_1 var_235 = var_235_arg_0 ? var_235_arg_1 : var_235_arg_2; SORT_1 next_236_arg_1 = var_235; SORT_1 var_237_arg_0 = state_82; SORT_1 var_237 = ~var_237_arg_0; var_237 = var_237 & mask_SORT_1; SORT_1 var_238_arg_0 = var_237; SORT_1 var_238_arg_1 = state_32; SORT_1 var_238 = var_238_arg_0 & var_238_arg_1; var_238 = var_238 & mask_SORT_1; SORT_1 var_239_arg_0 = input_12; SORT_1 var_239_arg_1 = var_17; SORT_1 var_239_arg_2 = var_238; SORT_1 var_239 = var_239_arg_0 ? var_239_arg_1 : var_239_arg_2; SORT_1 next_240_arg_1 = var_239; SORT_1 var_241_arg_0 = var_73; SORT_1 var_241_arg_1 = state_29; SORT_1 var_241_arg_2 = state_80; SORT_1 var_241 = var_241_arg_0 ? var_241_arg_1 : var_241_arg_2; SORT_1 var_242_arg_0 = input_12; SORT_1 var_242_arg_1 = var_17; SORT_1 var_242_arg_2 = var_241; SORT_1 var_242 = var_242_arg_0 ? var_242_arg_1 : var_242_arg_2; SORT_1 next_243_arg_1 = var_242; SORT_1 var_244_arg_0 = var_73; SORT_1 var_244_arg_1 = state_80; SORT_1 var_244_arg_2 = state_82; SORT_1 var_244 = var_244_arg_0 ? var_244_arg_1 : var_244_arg_2; SORT_1 var_245_arg_0 = input_12; SORT_1 var_245_arg_1 = var_17; SORT_1 var_245_arg_2 = var_244; SORT_1 var_245 = var_245_arg_0 ? var_245_arg_1 : var_245_arg_2; SORT_1 next_246_arg_1 = var_245; SORT_1 var_247_arg_0 = input_12; SORT_1 var_247_arg_1 = var_17; SORT_1 var_247_arg_2 = state_95; SORT_1 var_247 = var_247_arg_0 ? var_247_arg_1 : var_247_arg_2; SORT_1 next_248_arg_1 = var_247; SORT_1 var_249_arg_0 = input_12; SORT_1 var_249_arg_1 = var_17; SORT_1 var_249_arg_2 = state_97; SORT_1 var_249 = var_249_arg_0 ? var_249_arg_1 : var_249_arg_2; SORT_1 next_250_arg_1 = var_249; SORT_1 var_251_arg_0 = var_73; SORT_1 var_251_arg_1 = state_29; SORT_1 var_251_arg_2 = state_97; SORT_1 var_251 = var_251_arg_0 ? var_251_arg_1 : var_251_arg_2; SORT_1 var_252_arg_0 = input_12; SORT_1 var_252_arg_1 = var_17; SORT_1 var_252_arg_2 = var_251; SORT_1 var_252 = var_252_arg_0 ? var_252_arg_1 : var_252_arg_2; SORT_1 next_253_arg_1 = var_252; SORT_1 var_254_arg_0 = input_12; SORT_1 var_254_arg_1 = var_17; SORT_1 var_254_arg_2 = state_103; SORT_1 var_254 = var_254_arg_0 ? var_254_arg_1 : var_254_arg_2; SORT_1 next_255_arg_1 = var_254; SORT_1 var_109_arg_0 = state_107; SORT_1 var_109_arg_1 = state_29; SORT_1 var_109 = var_109_arg_0 & var_109_arg_1; var_109 = var_109 & mask_SORT_1; SORT_45 var_110_arg_0 = state_47; SORT_1 var_110 = var_110_arg_0 >> 5; var_110 = var_110 & mask_SORT_1; SORT_45 var_111_arg_0 = state_47; SORT_55 var_111 = var_111_arg_0; SORT_55 var_113_arg_0 = var_111; SORT_55 var_113_arg_1 = var_112; SORT_1 var_113 = var_113_arg_0 == var_113_arg_1; SORT_1 var_114_arg_0 = var_113; SORT_1 var_114_arg_1 = input_10; SORT_1 var_114 = var_114_arg_0 & var_114_arg_1; var_114 = var_114 & mask_SORT_1; SORT_1 var_115_arg_0 = var_110; SORT_1 var_115_arg_1 = var_114; SORT_1 var_115 = var_115_arg_0 | var_115_arg_1; var_115 = var_115 & mask_SORT_1; SORT_1 var_116_arg_0 = var_109; SORT_1 var_116_arg_1 = var_115; SORT_1 var_116 = var_116_arg_0 & var_116_arg_1; var_116 = var_116 & mask_SORT_1; SORT_1 var_117_arg_0 = state_107; SORT_1 var_117 = ~var_117_arg_0; var_117 = var_117 & mask_SORT_1; SORT_1 var_118_arg_0 = var_117; SORT_1 var_118_arg_1 = state_29; SORT_1 var_118 = var_118_arg_0 & var_118_arg_1; var_118 = var_118 & mask_SORT_1; SORT_45 var_119_arg_0 = state_47; SORT_1 var_119 = var_119_arg_0 >> 4; var_119 = var_119 & mask_SORT_1; SORT_1 var_120_arg_0 = var_119; SORT_1 var_120 = ~var_120_arg_0; var_120 = var_120 & mask_SORT_1; SORT_1 var_121_arg_0 = var_110; SORT_1 var_121_arg_1 = var_120; SORT_1 var_121 = var_121_arg_0 & var_121_arg_1; var_121 = var_121 & mask_SORT_1; SORT_45 var_123_arg_0 = state_47; SORT_122 var_123 = var_123_arg_0 >> 1; var_123 = var_123 & mask_SORT_122; SORT_122 var_124_arg_0 = var_123; SORT_1 var_124 = var_124_arg_0 == mask_SORT_122; SORT_1 var_125_arg_0 = var_124; SORT_1 var_125 = ~var_125_arg_0; var_125 = var_125 & mask_SORT_1; SORT_1 var_126_arg_0 = var_121; SORT_1 var_126_arg_1 = var_125; SORT_1 var_126 = var_126_arg_0 & var_126_arg_1; var_126 = var_126 & mask_SORT_1; SORT_45 var_127_arg_0 = state_47; SORT_55 var_127 = var_127_arg_0; SORT_55 var_128_arg_0 = var_127; SORT_55 var_128_arg_1 = var_112; SORT_1 var_128 = var_128_arg_0 == var_128_arg_1; SORT_1 var_129_arg_0 = var_128; SORT_1 var_129_arg_1 = input_10; SORT_1 var_129 = var_129_arg_0 & var_129_arg_1; var_129 = var_129 & mask_SORT_1; SORT_1 var_130_arg_0 = var_126; SORT_1 var_130_arg_1 = var_129; SORT_1 var_130 = var_130_arg_0 | var_130_arg_1; var_130 = var_130 & mask_SORT_1; SORT_1 var_131_arg_0 = var_118; 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 var_132_arg_0 = var_116; SORT_1 var_132_arg_1 = var_131; SORT_1 var_132 = var_132_arg_0 | var_132_arg_1; var_132 = var_132 & mask_SORT_1; SORT_1 var_256_arg_0 = var_110; SORT_1 var_256 = ~var_256_arg_0; var_256 = var_256 & mask_SORT_1; SORT_1 var_257_arg_0 = state_29; SORT_1 var_257_arg_1 = var_256; SORT_1 var_257 = var_257_arg_0 & var_257_arg_1; var_257 = var_257 & mask_SORT_1; SORT_1 var_258_arg_0 = var_132; SORT_1 var_258_arg_1 = var_257; SORT_1 var_258 = var_258_arg_0 | var_258_arg_1; var_258 = var_258 & mask_SORT_1; SORT_1 var_259_arg_0 = var_73; SORT_1 var_259_arg_1 = var_258; SORT_1 var_259_arg_2 = state_103; SORT_1 var_259 = var_259_arg_0 ? var_259_arg_1 : var_259_arg_2; SORT_1 var_260_arg_0 = input_12; SORT_1 var_260_arg_1 = var_17; SORT_1 var_260_arg_2 = var_259; SORT_1 var_260 = var_260_arg_0 ? var_260_arg_1 : var_260_arg_2; SORT_1 next_261_arg_1 = var_260; SORT_1 var_263_arg_0 = state_29; SORT_1 var_263 = ~var_263_arg_0; var_263 = var_263 & mask_SORT_1; SORT_1 var_264_arg_0 = var_263; SORT_1 var_264_arg_1 = var_175; SORT_1 var_264_arg_2 = state_107; SORT_1 var_264 = var_264_arg_0 ? var_264_arg_1 : var_264_arg_2; SORT_1 var_262_arg_0 = var_78; SORT_1 var_262_arg_1 = var_17; SORT_1 var_262_arg_2 = state_107; SORT_1 var_262 = var_262_arg_0 ? var_262_arg_1 : var_262_arg_2; SORT_1 var_265_arg_0 = var_177; SORT_1 var_265_arg_1 = var_264; SORT_1 var_265_arg_2 = var_262; SORT_1 var_265 = var_265_arg_0 ? var_265_arg_1 : var_265_arg_2; SORT_1 var_266_arg_0 = var_73; SORT_1 var_266_arg_1 = var_265; SORT_1 var_266_arg_2 = state_107; SORT_1 var_266 = var_266_arg_0 ? var_266_arg_1 : var_266_arg_2; SORT_1 var_267_arg_0 = input_12; SORT_1 var_267_arg_1 = var_17; SORT_1 var_267_arg_2 = var_266; SORT_1 var_267 = var_267_arg_0 ? var_267_arg_1 : var_267_arg_2; SORT_1 next_268_arg_1 = var_267; SORT_1 var_269_arg_0 = var_73; SORT_1 var_269_arg_1 = state_20; SORT_1 var_269_arg_2 = state_136; SORT_1 var_269 = var_269_arg_0 ? var_269_arg_1 : var_269_arg_2; SORT_1 var_270_arg_0 = input_12; SORT_1 var_270_arg_1 = var_17; SORT_1 var_270_arg_2 = var_269; SORT_1 var_270 = var_270_arg_0 ? var_270_arg_1 : var_270_arg_2; SORT_1 next_271_arg_1 = var_270; SORT_1 var_272_arg_0 = var_73; SORT_1 var_272_arg_1 = state_136; SORT_1 var_272_arg_2 = state_138; SORT_1 var_272 = var_272_arg_0 ? var_272_arg_1 : var_272_arg_2; SORT_1 var_273_arg_0 = input_12; SORT_1 var_273_arg_1 = var_17; SORT_1 var_273_arg_2 = var_272; SORT_1 var_273 = var_273_arg_0 ? var_273_arg_1 : var_273_arg_2; SORT_1 next_274_arg_1 = var_273; SORT_1 var_275_arg_0 = input_12; SORT_1 var_275_arg_1 = var_17; SORT_1 var_275_arg_2 = input_11; SORT_1 var_275 = var_275_arg_0 ? var_275_arg_1 : var_275_arg_2; SORT_1 next_276_arg_1 = var_275; SORT_1 var_277_arg_0 = input_12; SORT_1 var_277_arg_1 = var_17; SORT_1 var_277_arg_2 = state_140; SORT_1 var_277 = var_277_arg_0 ? var_277_arg_1 : var_277_arg_2; SORT_1 next_278_arg_1 = var_277; SORT_1 var_279_arg_0 = input_12; SORT_1 var_279_arg_1 = var_17; SORT_1 var_279_arg_2 = state_142; SORT_1 var_279 = var_279_arg_0 ? var_279_arg_1 : var_279_arg_2; SORT_1 next_280_arg_1 = var_279; SORT_1 var_281_arg_0 = input_12; SORT_1 var_281_arg_1 = var_17; SORT_1 var_281_arg_2 = input_15; SORT_1 var_281 = var_281_arg_0 ? var_281_arg_1 : var_281_arg_2; SORT_1 next_282_arg_1 = var_281; SORT_1 var_283_arg_0 = input_12; SORT_1 var_283_arg_1 = var_17; SORT_1 var_283_arg_2 = state_151; SORT_1 var_283 = var_283_arg_0 ? var_283_arg_1 : var_283_arg_2; SORT_1 next_284_arg_1 = var_283; SORT_1 var_285_arg_0 = var_73; SORT_1 var_285_arg_1 = state_18; SORT_1 var_285_arg_2 = state_170; SORT_1 var_285 = var_285_arg_0 ? var_285_arg_1 : var_285_arg_2; SORT_1 var_286_arg_0 = input_12; SORT_1 var_286_arg_1 = var_17; SORT_1 var_286_arg_2 = var_285; SORT_1 var_286 = var_286_arg_0 ? var_286_arg_1 : var_286_arg_2; SORT_1 next_287_arg_1 = var_286; SORT_1 var_288_arg_0 = var_73; SORT_1 var_288_arg_1 = state_170; SORT_1 var_288_arg_2 = state_172; SORT_1 var_288 = var_288_arg_0 ? var_288_arg_1 : var_288_arg_2; SORT_1 var_289_arg_0 = input_12; SORT_1 var_289_arg_1 = var_17; SORT_1 var_289_arg_2 = var_288; SORT_1 var_289 = var_289_arg_0 ? var_289_arg_1 : var_289_arg_2; SORT_1 next_290_arg_1 = var_289; SORT_1 var_291_arg_0 = input_12; SORT_1 var_291_arg_1 = var_17; SORT_1 var_291_arg_2 = input_16; SORT_1 var_291 = var_291_arg_0 ? var_291_arg_1 : var_291_arg_2; SORT_1 next_292_arg_1 = var_291; SORT_1 var_293_arg_0 = input_12; SORT_1 var_293_arg_1 = var_17; SORT_1 var_293_arg_2 = state_181; SORT_1 var_293 = var_293_arg_0 ? var_293_arg_1 : var_293_arg_2; SORT_1 next_294_arg_1 = var_293; SORT_1 var_295_arg_0 = input_12; SORT_1 var_295_arg_1 = var_17; SORT_1 var_295_arg_2 = state_183; SORT_1 var_295 = var_295_arg_0 ? var_295_arg_1 : var_295_arg_2; SORT_1 next_296_arg_1 = var_295; // Assigning next states ... state_18 = next_194_arg_1; state_20 = next_200_arg_1; state_23 = next_203_arg_1; state_26 = next_205_arg_1; state_29 = next_210_arg_1; state_32 = next_213_arg_1; state_36 = next_215_arg_1; state_47 = next_226_arg_1; state_51 = next_231_arg_1; state_70 = next_236_arg_1; state_76 = next_240_arg_1; state_80 = next_243_arg_1; state_82 = next_246_arg_1; state_93 = next_248_arg_1; state_95 = next_250_arg_1; state_97 = next_253_arg_1; state_101 = next_255_arg_1; state_103 = next_261_arg_1; state_107 = next_268_arg_1; state_136 = next_271_arg_1; state_138 = next_274_arg_1; state_140 = next_276_arg_1; state_142 = next_278_arg_1; state_144 = next_280_arg_1; state_151 = next_282_arg_1; state_153 = next_284_arg_1; state_170 = next_287_arg_1; state_172 = next_290_arg_1; state_181 = next_292_arg_1; state_183 = next_294_arg_1; state_185 = next_296_arg_1; } return 0; }