// This file is part of the SV-Benchmarks collection of verification tasks: // https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks // // SPDX-FileCopyrightText: 2013 Carnegie Mellon University // SPDX-FileCopyrightText: 2014-2021 The SV-Benchmarks Community // SPDX-FileCopyrightText: 2018 Marie-Christine Jakobs, LMU Munich // // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Attribution-CMU-LMU int __return_main; void abort(void); extern void __assert_fail(const char *, const char *, unsigned int, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); void reach_error() { __assert_fail("0", "pals_floodmax.3.3.ufo.BOUNDED-6.pals.c.v+nlh-reducer.c", 4, "reach_error"); } char __VERIFIER_nondet_char(); _Bool __VERIFIER_nondet_bool(); void assert(_Bool arg); void abort(void); void assume_abort_if_not(int cond) { if(!cond) {abort();} } typedef char msg_t; typedef int port_t; void read(port_t p, msg_t m); void write(port_t p, msg_t m); msg_t nomsg = (msg_t )-1; port_t p12 = 0; char p12_old = '\x0'; char p12_new = '\x0'; _Bool ep12 = 0; port_t p13 = 0; char p13_old = '\x0'; char p13_new = '\x0'; _Bool ep13 = 0; port_t p21 = 0; char p21_old = '\x0'; char p21_new = '\x0'; _Bool ep21 = 0; port_t p23 = 0; char p23_old = '\x0'; char p23_new = '\x0'; _Bool ep23 = 0; port_t p31 = 0; char p31_old = '\x0'; char p31_new = '\x0'; _Bool ep31 = 0; port_t p32 = 0; char p32_old = '\x0'; char p32_new = '\x0'; _Bool ep32 = 0; char id1 = '\x0'; char r1 = '\x0'; char st1 = '\x0'; char nl1 = '\x0'; char m1 = '\x0'; char max1 = '\x0'; _Bool mode1 = 0; char id2 = '\x0'; char r2 = '\x0'; char st2 = '\x0'; char nl2 = '\x0'; char m2 = '\x0'; char max2 = '\x0'; _Bool mode2 = 0; char id3 = '\x0'; char r3 = '\x0'; char st3 = '\x0'; char nl3 = '\x0'; char m3 = '\x0'; char max3 = '\x0'; _Bool mode3 = 0; void node1(); void node2(); void node3(); void (*nodes[3])() = { &node1, &node2, &node3 }; int init(); int check(); int main(); int __return_1732; int __return_1860; int __return_1978; int __return_2099; int __return_2228; int __tmp_2229_0; int __return_2337; int __return_2242; int main() { int main__c1; int main__i2; main__c1 = 0; ep12 = __VERIFIER_nondet_bool(); ep13 = __VERIFIER_nondet_bool(); ep21 = __VERIFIER_nondet_bool(); ep23 = __VERIFIER_nondet_bool(); ep31 = __VERIFIER_nondet_bool(); ep32 = __VERIFIER_nondet_bool(); id1 = __VERIFIER_nondet_char(); r1 = __VERIFIER_nondet_char(); st1 = __VERIFIER_nondet_char(); nl1 = __VERIFIER_nondet_char(); m1 = __VERIFIER_nondet_char(); max1 = __VERIFIER_nondet_char(); mode1 = __VERIFIER_nondet_bool(); id2 = __VERIFIER_nondet_char(); r2 = __VERIFIER_nondet_char(); st2 = __VERIFIER_nondet_char(); nl2 = __VERIFIER_nondet_char(); m2 = __VERIFIER_nondet_char(); max2 = __VERIFIER_nondet_char(); mode2 = __VERIFIER_nondet_bool(); id3 = __VERIFIER_nondet_char(); r3 = __VERIFIER_nondet_char(); st3 = __VERIFIER_nondet_char(); nl3 = __VERIFIER_nondet_char(); m3 = __VERIFIER_nondet_char(); max3 = __VERIFIER_nondet_char(); mode3 = __VERIFIER_nondet_bool(); { _Bool init__r121; _Bool init__r131; _Bool init__r211; _Bool init__r231; _Bool init__r311; _Bool init__r321; _Bool init__r122; int init__tmp; _Bool init__r132; int init__tmp___0; _Bool init__r212; int init__tmp___1; _Bool init__r232; int init__tmp___2; _Bool init__r312; int init__tmp___3; _Bool init__r322; int init__tmp___4; int init__tmp___5; init__r121 = ep12; init__r131 = ep13; init__r211 = ep21; init__r231 = ep23; init__r311 = ep31; init__r321 = ep32; if (!(init__r121 == 0)) { init__tmp = 1; label_1650:; init__r122 = (_Bool)init__tmp; if (!(init__r131 == 0)) { init__tmp___0 = 1; label_1655:; init__r132 = (_Bool)init__tmp___0; if (!(init__r211 == 0)) { init__tmp___1 = 1; label_1660:; init__r212 = (_Bool)init__tmp___1; if (!(init__r231 == 0)) { init__tmp___2 = 1; label_1665:; init__r232 = (_Bool)init__tmp___2; if (!(init__r311 == 0)) { init__tmp___3 = 1; label_1670:; init__r312 = (_Bool)init__tmp___3; if (!(init__r321 == 0)) { init__tmp___4 = 1; label_1675:; init__r322 = (_Bool)init__tmp___4; if (((int)id1) != ((int)id2)) { if (((int)id1) != ((int)id3)) { if (((int)id2) != ((int)id3)) { if (((int)id1) >= 0) { if (((int)id2) >= 0) { if (((int)id3) >= 0) { if (((int)r1) == 0) { if (((int)r2) == 0) { if (((int)r3) == 0) { if (!(init__r122 == 0)) { if (!(init__r132 == 0)) { if (!(init__r212 == 0)) { if (!(init__r232 == 0)) { if (!(init__r312 == 0)) { if (!(init__r322 == 0)) { if (((int)max1) == ((int)id1)) { if (((int)max2) == ((int)id2)) { if (((int)max3) == ((int)id3)) { if (((int)st1) == 0) { if (((int)st2) == 0) { if (((int)st3) == 0) { if (((int)nl1) == 0) { if (((int)nl2) == 0) { if (((int)nl3) == 0) { if (((int)mode1) == 0) { if (((int)mode2) == 0) { if (((int)mode3) == 0) { init__tmp___5 = 1; __return_1732 = init__tmp___5; main__i2 = __return_1732; if (main__i2 != 0) { p12_old = nomsg; p12_new = nomsg; p13_old = nomsg; p13_new = nomsg; p21_old = nomsg; p21_new = nomsg; p23_old = nomsg; p23_new = nomsg; p31_old = nomsg; p31_new = nomsg; p32_old = nomsg; p32_new = nomsg; main__i2 = 0; if (main__i2 < 6) { { if (!(mode1 == 0)) { return __return_main; } else { if (((int)r1) < 2) { if (!(ep12 == 0)) { int node1____CPAchecker_TMP_0; if (max1 != nomsg) { if (p12_new == nomsg) { node1____CPAchecker_TMP_0 = max1; label_1760:; p12_new = node1____CPAchecker_TMP_0; label_1755:; if (!(ep13 == 0)) { int node1____CPAchecker_TMP_1; if (max1 != nomsg) { if (p13_new == nomsg) { node1____CPAchecker_TMP_1 = max1; label_1768:; p13_new = node1____CPAchecker_TMP_1; label_1770:; mode1 = 1; { if (!(mode2 == 0)) { return __return_main; } else { if (((int)r2) < 2) { if (!(ep21 == 0)) { int node2____CPAchecker_TMP_0; if (max2 != nomsg) { if (p21_new == nomsg) { node2____CPAchecker_TMP_0 = max2; label_1784:; p21_new = node2____CPAchecker_TMP_0; label_1779:; if (!(ep23 == 0)) { int node2____CPAchecker_TMP_1; if (max2 != nomsg) { if (p23_new == nomsg) { node2____CPAchecker_TMP_1 = max2; label_1792:; p23_new = node2____CPAchecker_TMP_1; label_1794:; mode2 = 1; { if (!(mode3 == 0)) { return __return_main; } else { if (((int)r3) < 2) { if (!(ep31 == 0)) { int node3____CPAchecker_TMP_0; if (max3 != nomsg) { if (p31_new == nomsg) { node3____CPAchecker_TMP_0 = max3; label_1808:; p31_new = node3____CPAchecker_TMP_0; label_1803:; if (!(ep32 == 0)) { int node3____CPAchecker_TMP_1; if (max3 != nomsg) { if (p32_new == nomsg) { node3____CPAchecker_TMP_1 = max3; label_1816:; p32_new = node3____CPAchecker_TMP_1; label_1818:; mode3 = 1; p12_old = p12_new; p12_new = nomsg; p13_old = p13_new; p13_new = nomsg; p21_old = p21_new; p21_new = nomsg; p23_old = p23_new; p23_new = nomsg; p31_old = p31_new; p31_new = nomsg; p32_old = p32_new; p32_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if ((((int)st1) + ((int)nl1)) <= 1) { if ((((int)st2) + ((int)nl2)) <= 1) { if ((((int)st3) + ((int)nl3)) <= 1) { if (((int)r1) >= 2) { return __return_main; } else { if (((((int)st1) + ((int)st2)) + ((int)st3)) == 0) { if (((int)r1) < 2) { if (((int)r1) >= 2) { return __return_main; } else { if (((((int)nl1) + ((int)nl2)) + ((int)nl3)) == 0) { if (((int)r1) < 2) { check__tmp = 1; __return_1860 = check__tmp; main__c1 = __return_1860; { _Bool __tmp_1; __tmp_1 = main__c1; _Bool assert__arg; assert__arg = __tmp_1; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; if (main__i2 < 6) { { if (!(mode1 == 0)) { r1 = (char)(((int)r1) + 1); if (!(ep21 == 0)) { m1 = p21_old; p21_old = nomsg; if (((int)m1) > ((int)max1)) { max1 = m1; label_1876:; if (!(ep31 == 0)) { m1 = p31_old; p31_old = nomsg; if (((int)m1) > ((int)max1)) { max1 = m1; label_1883:; if (((int)r1) == 2) { return __return_main; } else { mode1 = 0; { if (!(mode2 == 0)) { r2 = (char)(((int)r2) + 1); if (!(ep12 == 0)) { m2 = p12_old; p12_old = nomsg; if (((int)m2) > ((int)max2)) { max2 = m2; label_1899:; if (!(ep32 == 0)) { m2 = p32_old; p32_old = nomsg; if (((int)m2) > ((int)max2)) { max2 = m2; label_1906:; if (((int)r2) == 2) { return __return_main; } else { mode2 = 0; { if (!(mode3 == 0)) { r3 = (char)(((int)r3) + 1); if (!(ep13 == 0)) { m3 = p13_old; p13_old = nomsg; if (((int)m3) > ((int)max3)) { max3 = m3; label_1922:; if (!(ep23 == 0)) { m3 = p23_old; p23_old = nomsg; if (((int)m3) > ((int)max3)) { max3 = m3; label_1929:; if (((int)r3) == 2) { return __return_main; } else { mode3 = 0; p12_old = p12_new; p12_new = nomsg; p13_old = p13_new; p13_new = nomsg; p21_old = p21_new; p21_new = nomsg; p23_old = p23_new; p23_new = nomsg; p31_old = p31_new; p31_new = nomsg; p32_old = p32_new; p32_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if ((((int)st1) + ((int)nl1)) <= 1) { if ((((int)st2) + ((int)nl2)) <= 1) { if ((((int)st3) + ((int)nl3)) <= 1) { if (((int)r1) >= 2) { return __return_main; } else { if (((((int)st1) + ((int)st2)) + ((int)st3)) == 0) { if (((int)r1) < 2) { if (((int)r1) >= 2) { return __return_main; } else { if (((((int)nl1) + ((int)nl2)) + ((int)nl3)) == 0) { if (((int)r1) < 2) { check__tmp = 1; __return_1978 = check__tmp; main__c1 = __return_1978; { _Bool __tmp_2; __tmp_2 = main__c1; _Bool assert__arg; assert__arg = __tmp_2; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; if (main__i2 < 6) { { if (!(mode1 == 0)) { return __return_main; } else { if (((int)r1) < 2) { if (!(ep12 == 0)) { int node1____CPAchecker_TMP_0; if (max1 != nomsg) { if (p12_new == nomsg) { node1____CPAchecker_TMP_0 = max1; label_1999:; p12_new = node1____CPAchecker_TMP_0; label_1994:; if (!(ep13 == 0)) { int node1____CPAchecker_TMP_1; if (max1 != nomsg) { if (p13_new == nomsg) { node1____CPAchecker_TMP_1 = max1; label_2007:; p13_new = node1____CPAchecker_TMP_1; label_2009:; mode1 = 1; { if (!(mode2 == 0)) { return __return_main; } else { if (((int)r2) < 2) { if (!(ep21 == 0)) { int node2____CPAchecker_TMP_0; if (max2 != nomsg) { if (p21_new == nomsg) { node2____CPAchecker_TMP_0 = max2; label_2023:; p21_new = node2____CPAchecker_TMP_0; label_2018:; if (!(ep23 == 0)) { int node2____CPAchecker_TMP_1; if (max2 != nomsg) { if (p23_new == nomsg) { node2____CPAchecker_TMP_1 = max2; label_2031:; p23_new = node2____CPAchecker_TMP_1; label_2033:; mode2 = 1; { if (!(mode3 == 0)) { return __return_main; } else { if (((int)r3) < 2) { if (!(ep31 == 0)) { int node3____CPAchecker_TMP_0; if (max3 != nomsg) { if (p31_new == nomsg) { node3____CPAchecker_TMP_0 = max3; label_2047:; p31_new = node3____CPAchecker_TMP_0; label_2042:; if (!(ep32 == 0)) { int node3____CPAchecker_TMP_1; if (max3 != nomsg) { if (p32_new == nomsg) { node3____CPAchecker_TMP_1 = max3; label_2055:; p32_new = node3____CPAchecker_TMP_1; label_2057:; mode3 = 1; p12_old = p12_new; p12_new = nomsg; p13_old = p13_new; p13_new = nomsg; p21_old = p21_new; p21_new = nomsg; p23_old = p23_new; p23_new = nomsg; p31_old = p31_new; p31_new = nomsg; p32_old = p32_new; p32_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if ((((int)st1) + ((int)nl1)) <= 1) { if ((((int)st2) + ((int)nl2)) <= 1) { if ((((int)st3) + ((int)nl3)) <= 1) { if (((int)r1) >= 2) { return __return_main; } else { if (((((int)st1) + ((int)st2)) + ((int)st3)) == 0) { if (((int)r1) < 2) { if (((int)r1) >= 2) { return __return_main; } else { if (((((int)nl1) + ((int)nl2)) + ((int)nl3)) == 0) { if (((int)r1) < 2) { check__tmp = 1; __return_2099 = check__tmp; main__c1 = __return_2099; { _Bool __tmp_3; __tmp_3 = main__c1; _Bool assert__arg; assert__arg = __tmp_3; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; if (main__i2 < 6) { { if (!(mode1 == 0)) { r1 = (char)(((int)r1) + 1); if (!(ep21 == 0)) { m1 = p21_old; p21_old = nomsg; if (((int)m1) > ((int)max1)) { max1 = m1; label_2115:; if (!(ep31 == 0)) { m1 = p31_old; p31_old = nomsg; if (((int)m1) > ((int)max1)) { max1 = m1; label_2122:; if (((int)r1) == 2) { if (((int)max1) == ((int)id1)) { nl1 = 1; label_2133:; mode1 = 0; { if (!(mode2 == 0)) { r2 = (char)(((int)r2) + 1); if (!(ep12 == 0)) { m2 = p12_old; p12_old = nomsg; if (((int)m2) > ((int)max2)) { max2 = m2; label_2142:; if (!(ep32 == 0)) { m2 = p32_old; p32_old = nomsg; if (((int)m2) > ((int)max2)) { max2 = m2; label_2149:; if (((int)r2) == 2) { if (((int)max2) == ((int)id2)) { st2 = 1; label_2160:; mode2 = 0; { if (!(mode3 == 0)) { r3 = (char)(((int)r3) + 1); if (!(ep13 == 0)) { m3 = p13_old; p13_old = nomsg; if (((int)m3) > ((int)max3)) { max3 = m3; label_2169:; if (!(ep23 == 0)) { m3 = p23_old; p23_old = nomsg; if (((int)m3) > ((int)max3)) { max3 = m3; label_2176:; if (((int)r3) == 2) { if (((int)max3) == ((int)id3)) { st3 = 1; label_2187:; mode3 = 0; p12_old = p12_new; p12_new = nomsg; p13_old = p13_new; p13_new = nomsg; p21_old = p21_new; p21_new = nomsg; p23_old = p23_new; p23_new = nomsg; p31_old = p31_new; p31_new = nomsg; p32_old = p32_new; p32_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if ((((int)st1) + ((int)nl1)) <= 1) { if ((((int)st2) + ((int)nl2)) <= 1) { if ((((int)st3) + ((int)nl3)) <= 1) { if (((int)r1) >= 2) { if (((int)r1) < 2) { return __return_main; } else { if (((((int)st1) + ((int)st2)) + ((int)st3)) == 1) { if (((int)r1) >= 2) { label_2450:; if (((int)r1) < 2) { check__tmp = 1; label_2456:; label_2221:; label_2222:; label_2227:; __return_2228 = check__tmp; main__c1 = __return_2228; __tmp_2229_0 = main____CPAchecker_TMP_0; label_2229:; main____CPAchecker_TMP_0 = __tmp_2229_0; { _Bool __tmp_4; __tmp_4 = main__c1; _Bool assert__arg; assert__arg = __tmp_4; if (assert__arg == 0) { {reach_error();} return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; if (main__i2 < 6) { { if (!(mode1 == 0)) { r1 = (char)(((int)r1) + 1); if (!(ep21 == 0)) { m1 = p21_old; p21_old = nomsg; if (((int)m1) > ((int)max1)) { max1 = m1; label_2248:; if (!(ep31 == 0)) { m1 = p31_old; p31_old = nomsg; if (((int)m1) > ((int)max1)) { max1 = m1; label_2255:; if (((int)r1) == 2) { if (((int)max1) == ((int)id1)) { nl1 = 1; label_2263:; mode1 = 0; label_2265:; { if (!(mode2 == 0)) { r2 = (char)(((int)r2) + 1); if (!(ep12 == 0)) { m2 = p12_old; p12_old = nomsg; if (((int)m2) > ((int)max2)) { max2 = m2; label_2273:; if (!(ep32 == 0)) { m2 = p32_old; p32_old = nomsg; if (((int)m2) > ((int)max2)) { max2 = m2; label_2280:; if (((int)r2) == 2) { if (((int)max2) == ((int)id2)) { st2 = 1; label_2288:; mode2 = 0; label_2290:; { if (!(mode3 == 0)) { r3 = (char)(((int)r3) + 1); if (!(ep13 == 0)) { m3 = p13_old; p13_old = nomsg; if (((int)m3) > ((int)max3)) { max3 = m3; label_2298:; if (!(ep23 == 0)) { m3 = p23_old; p23_old = nomsg; if (((int)m3) > ((int)max3)) { max3 = m3; label_2305:; if (((int)r3) == 2) { if (((int)max3) == ((int)id3)) { st3 = 1; label_2313:; mode3 = 0; label_2315:; p12_old = p12_new; p12_new = nomsg; p13_old = p13_new; p13_new = nomsg; p21_old = p21_new; p21_new = nomsg; p23_old = p23_new; p23_new = nomsg; p31_old = p31_new; p31_new = nomsg; p32_old = p32_new; p32_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if ((((int)st1) + ((int)nl1)) <= 1) { if ((((int)st2) + ((int)nl2)) <= 1) { if ((((int)st3) + ((int)nl3)) <= 1) { if (((int)r1) >= 2) { label_2356:; if (((int)r1) < 2) { label_2363:; if (((int)r1) >= 2) { label_2370:; if (((int)r1) < 2) { check__tmp = 1; label_2376:; label_2369:; label_2362:; label_2355:; label_2349:; label_2345:; label_2341:; label_2336:; __return_2337 = check__tmp; main__c1 = __return_2337; __tmp_2229_0 = main____CPAchecker_TMP_0; goto label_2229; } else { if (((((int)nl1) + ((int)nl2)) + ((int)nl3)) == 2) { check__tmp = 1; goto label_2376; } else { check__tmp = 0; goto label_2376; } } } else { if (((((int)nl1) + ((int)nl2)) + ((int)nl3)) == 0) { goto label_2370; } else { check__tmp = 0; goto label_2369; } } } else { if (((((int)st1) + ((int)st2)) + ((int)st3)) == 1) { goto label_2363; } else { check__tmp = 0; goto label_2362; } } } else { if (((((int)st1) + ((int)st2)) + ((int)st3)) == 0) { goto label_2356; } else { check__tmp = 0; goto label_2355; } } } else { check__tmp = 0; goto label_2349; } } else { check__tmp = 0; goto label_2345; } } else { check__tmp = 0; goto label_2341; } } else { check__tmp = 0; goto label_2336; } } } else { nl3 = 1; goto label_2313; } } else { goto label_2313; } } else { goto label_2305; } } else { goto label_2305; } } else { goto label_2298; } } else { goto label_2298; } } else { if (((int)r3) < 2) { if (!(ep31 == 0)) { int node3____CPAchecker_TMP_0; if (max3 != nomsg) { if (p31_new == nomsg) { node3____CPAchecker_TMP_0 = max3; label_2391:; p31_new = node3____CPAchecker_TMP_0; label_2386:; if (!(ep32 == 0)) { int node3____CPAchecker_TMP_1; if (max3 != nomsg) { if (p32_new == nomsg) { node3____CPAchecker_TMP_1 = max3; label_2399:; p32_new = node3____CPAchecker_TMP_1; label_2384:; mode3 = 1; goto label_2315; } else { label_2398:; node3____CPAchecker_TMP_1 = p32_new; goto label_2399; } } else { goto label_2398; } } else { goto label_2384; } } else { label_2390:; node3____CPAchecker_TMP_0 = p31_new; goto label_2391; } } else { goto label_2390; } } else { goto label_2386; } } else { goto label_2384; } } } } else { nl2 = 1; goto label_2288; } } else { goto label_2288; } } else { goto label_2280; } } else { goto label_2280; } } else { goto label_2273; } } else { goto label_2273; } } else { if (((int)r2) < 2) { if (!(ep21 == 0)) { int node2____CPAchecker_TMP_0; if (max2 != nomsg) { if (p21_new == nomsg) { node2____CPAchecker_TMP_0 = max2; label_2414:; p21_new = node2____CPAchecker_TMP_0; label_2409:; if (!(ep23 == 0)) { int node2____CPAchecker_TMP_1; if (max2 != nomsg) { if (p23_new == nomsg) { node2____CPAchecker_TMP_1 = max2; label_2422:; p23_new = node2____CPAchecker_TMP_1; label_2407:; mode2 = 1; goto label_2290; } else { label_2421:; node2____CPAchecker_TMP_1 = p23_new; goto label_2422; } } else { goto label_2421; } } else { goto label_2407; } } else { label_2413:; node2____CPAchecker_TMP_0 = p21_new; goto label_2414; } } else { goto label_2413; } } else { goto label_2409; } } else { goto label_2407; } } } } else { st1 = 1; goto label_2263; } } else { goto label_2263; } } else { goto label_2255; } } else { goto label_2255; } } else { goto label_2248; } } else { goto label_2248; } } else { if (((int)r1) < 2) { if (!(ep12 == 0)) { int node1____CPAchecker_TMP_0; if (max1 != nomsg) { if (p12_new == nomsg) { node1____CPAchecker_TMP_0 = max1; label_2437:; p12_new = node1____CPAchecker_TMP_0; label_2432:; if (!(ep13 == 0)) { int node1____CPAchecker_TMP_1; if (max1 != nomsg) { if (p13_new == nomsg) { node1____CPAchecker_TMP_1 = max1; label_2445:; p13_new = node1____CPAchecker_TMP_1; label_2430:; mode1 = 1; goto label_2265; } else { label_2444:; node1____CPAchecker_TMP_1 = p13_new; goto label_2445; } } else { goto label_2444; } } else { goto label_2430; } } else { label_2436:; node1____CPAchecker_TMP_0 = p12_new; goto label_2437; } } else { goto label_2436; } } else { goto label_2432; } } else { goto label_2430; } } } } else { __return_2242 = 0; return __return_2242; } } } } else { if (((((int)nl1) + ((int)nl2)) + ((int)nl3)) == 2) { check__tmp = 1; goto label_2456; } else { check__tmp = 0; goto label_2456; } } } else { if (((((int)nl1) + ((int)nl2)) + ((int)nl3)) == 0) { goto label_2450; } else { check__tmp = 0; goto label_2221; } } } else { check__tmp = 0; goto label_2222; } } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { check__tmp = 0; goto label_2227; } } } else { nl3 = 1; goto label_2187; } } else { return __return_main; } } else { goto label_2176; } } else { goto label_2176; } } else { goto label_2169; } } else { goto label_2169; } } else { return __return_main; } } } else { nl2 = 1; goto label_2160; } } else { return __return_main; } } else { goto label_2149; } } else { goto label_2149; } } else { goto label_2142; } } else { goto label_2142; } } else { return __return_main; } } } else { st1 = 1; goto label_2133; } } else { return __return_main; } } else { goto label_2122; } } else { goto label_2122; } } else { goto label_2115; } } else { goto label_2115; } } else { return __return_main; } } } else { return __return_main; } } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } } else { label_2054:; node3____CPAchecker_TMP_1 = p32_new; goto label_2055; } } else { goto label_2054; } } else { goto label_2057; } } else { label_2046:; node3____CPAchecker_TMP_0 = p31_new; goto label_2047; } } else { goto label_2046; } } else { goto label_2042; } } else { return __return_main; } } } } else { label_2030:; node2____CPAchecker_TMP_1 = p23_new; goto label_2031; } } else { goto label_2030; } } else { goto label_2033; } } else { label_2022:; node2____CPAchecker_TMP_0 = p21_new; goto label_2023; } } else { goto label_2022; } } else { goto label_2018; } } else { return __return_main; } } } } else { label_2006:; node1____CPAchecker_TMP_1 = p13_new; goto label_2007; } } else { goto label_2006; } } else { goto label_2009; } } else { label_1998:; node1____CPAchecker_TMP_0 = p12_new; goto label_1999; } } else { goto label_1998; } } else { goto label_1994; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } } } else { goto label_1929; } } else { goto label_1929; } } else { goto label_1922; } } else { goto label_1922; } } else { return __return_main; } } } } else { goto label_1906; } } else { goto label_1906; } } else { goto label_1899; } } else { goto label_1899; } } else { return __return_main; } } } } else { goto label_1883; } } else { goto label_1883; } } else { goto label_1876; } } else { goto label_1876; } } else { return __return_main; } } } else { return __return_main; } } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } } else { label_1815:; node3____CPAchecker_TMP_1 = p32_new; goto label_1816; } } else { goto label_1815; } } else { goto label_1818; } } else { label_1807:; node3____CPAchecker_TMP_0 = p31_new; goto label_1808; } } else { goto label_1807; } } else { goto label_1803; } } else { return __return_main; } } } } else { label_1791:; node2____CPAchecker_TMP_1 = p23_new; goto label_1792; } } else { goto label_1791; } } else { goto label_1794; } } else { label_1783:; node2____CPAchecker_TMP_0 = p21_new; goto label_1784; } } else { goto label_1783; } } else { goto label_1779; } } else { return __return_main; } } } } else { label_1767:; node1____CPAchecker_TMP_1 = p13_new; goto label_1768; } } else { goto label_1767; } } else { goto label_1770; } } else { label_1759:; node1____CPAchecker_TMP_0 = p12_new; goto label_1760; } } else { goto label_1759; } } else { goto label_1755; } } else { return __return_main; } } } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { return __return_main; } } else { if (!(init__r311 == 0)) { if (!(ep12 == 0)) { init__tmp___4 = 1; label_2477:; goto label_1675; } else { init__tmp___4 = 0; goto label_2477; } } else { init__tmp___4 = 0; goto label_1675; } } } else { if (!(init__r321 == 0)) { if (!(ep21 == 0)) { init__tmp___3 = 1; label_2485:; goto label_1670; } else { init__tmp___3 = 0; goto label_2485; } } else { init__tmp___3 = 0; goto label_1670; } } } else { if (!(init__r211 == 0)) { if (!(ep13 == 0)) { init__tmp___2 = 1; label_2493:; goto label_1665; } else { init__tmp___2 = 0; goto label_2493; } } else { init__tmp___2 = 0; goto label_1665; } } } else { if (!(init__r231 == 0)) { if (!(ep31 == 0)) { init__tmp___1 = 1; label_2501:; goto label_1660; } else { init__tmp___1 = 0; goto label_2501; } } else { init__tmp___1 = 0; goto label_1660; } } } else { if (!(init__r121 == 0)) { if (!(ep23 == 0)) { init__tmp___0 = 1; label_2509:; goto label_1655; } else { init__tmp___0 = 0; goto label_2509; } } else { init__tmp___0 = 0; goto label_1655; } } } else { if (!(init__r131 == 0)) { if (!(ep32 == 0)) { init__tmp = 1; label_2517:; goto label_1650; } else { init__tmp = 0; goto label_2517; } } else { init__tmp = 0; goto label_1650; } } } }