// 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_lcr-var-start-time.4.2.ufo.UNBOUNDED.pals.c.v+lhb-reducer.c", 4, "reach_error"); } _Bool __VERIFIER_nondet_bool(); char __VERIFIER_nondet_char(); unsigned char __VERIFIER_nondet_uchar(); 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; unsigned char r1 = '\x0'; port_t p1 = 0; char p1_old = '\x0'; char p1_new = '\x0'; char id1 = '\x0'; char st1 = '\x0'; msg_t send1 = '\x0'; _Bool mode1 = 0; _Bool alive1 = 0; port_t p2 = 0; char p2_old = '\x0'; char p2_new = '\x0'; char id2 = '\x0'; char st2 = '\x0'; msg_t send2 = '\x0'; _Bool mode2 = 0; _Bool alive2 = 0; port_t p3 = 0; char p3_old = '\x0'; char p3_new = '\x0'; char id3 = '\x0'; char st3 = '\x0'; msg_t send3 = '\x0'; _Bool mode3 = 0; _Bool alive3 = 0; port_t p4 = 0; char p4_old = '\x0'; char p4_new = '\x0'; char id4 = '\x0'; char st4 = '\x0'; msg_t send4 = '\x0'; _Bool mode4 = 0; _Bool alive4 = 0; void node1(); void node2(); void node3(); void node4(); void (*nodes[4])() = { &node1, &node2, &node3, &node4 }; int init(); int check(); int main(); int __return_10566; int __return_12004; int __return_10742; int __return_10825; int __return_11302; int __return_11756; int __return_12043; int __return_11022; int __return_11345; int __return_11811; int __return_11103; int __return_11383; int __return_11861; int __return_11164; int __return_11422; int __return_11912; int __return_12151; int __return_11703; int __return_11950; int __return_12291; int __return_12322; int __return_12204; int __return_12235; int __return_11261; int __return_11460; int __return_10665; int __return_11207; int __return_11600; int __return_11631; int __return_11513; int __return_11544; int __return_12478; int __return_12509; int __return_12393; int __return_12424; int __return_12649; int __return_12680; int __return_12562; int __return_12593; int __return_13218; int __return_13249; int __return_13133; int __return_13164; int __return_13389; int __return_13420; int __return_13302; int __return_13333; int __return_12859; int __return_12890; int __return_12774; int __return_12805; int __return_13030; int __return_13061; int __return_12943; int __return_12974; int __return_13576; int __return_13607; int __return_13491; int __return_13522; int __return_13747; int __return_13778; int __return_13660; int __return_13691; int main() { int main__c1; int main__i2; main__c1 = 0; r1 = __VERIFIER_nondet_uchar(); id1 = __VERIFIER_nondet_char(); st1 = __VERIFIER_nondet_char(); send1 = __VERIFIER_nondet_char(); mode1 = __VERIFIER_nondet_bool(); alive1 = __VERIFIER_nondet_bool(); id2 = __VERIFIER_nondet_char(); st2 = __VERIFIER_nondet_char(); send2 = __VERIFIER_nondet_char(); mode2 = __VERIFIER_nondet_bool(); alive2 = __VERIFIER_nondet_bool(); id3 = __VERIFIER_nondet_char(); st3 = __VERIFIER_nondet_char(); send3 = __VERIFIER_nondet_char(); mode3 = __VERIFIER_nondet_bool(); alive3 = __VERIFIER_nondet_bool(); id4 = __VERIFIER_nondet_char(); st4 = __VERIFIER_nondet_char(); send4 = __VERIFIER_nondet_char(); mode4 = __VERIFIER_nondet_bool(); alive4 = __VERIFIER_nondet_bool(); { int init__tmp; if (((int)r1) == 0) { if ((((((int)alive1) + ((int)alive2)) + ((int)alive3)) + ((int)alive4)) >= 1) { if (((int)id1) >= 0) { if (((int)st1) == 0) { if (((int)send1) == ((int)id1)) { if (((int)mode1) == 0) { if (((int)id2) >= 0) { if (((int)st2) == 0) { if (((int)send2) == ((int)id2)) { if (((int)mode2) == 0) { if (((int)id3) >= 0) { if (((int)st3) == 0) { if (((int)send3) == ((int)id3)) { if (((int)mode3) == 0) { if (((int)id4) >= 0) { if (((int)st4) == 0) { if (((int)send4) == ((int)id4)) { if (((int)mode4) == 0) { if (((int)id1) != ((int)id2)) { if (((int)id1) != ((int)id3)) { if (((int)id1) != ((int)id4)) { if (((int)id2) != ((int)id3)) { if (((int)id2) != ((int)id4)) { if (((int)id3) != ((int)id4)) { init__tmp = 1; __return_10566 = init__tmp; main__i2 = __return_10566; if (main__i2 != 0) { p1_old = nomsg; p1_new = nomsg; p2_old = nomsg; p2_new = nomsg; p3_old = nomsg; p3_new = nomsg; p4_old = nomsg; p4_new = nomsg; main__i2 = 0; { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; label_10591:; p1_new = node1____CPAchecker_TMP_0; mode1 = 1; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { return __return_main; } else { if (!(alive2 == 0)) { int node2____CPAchecker_TMP_0; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_0 = send2; p2_new = node2____CPAchecker_TMP_0; label_11648:; mode2 = 1; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { return __return_main; } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_11981:; p4_new = node4____CPAchecker_TMP_0; label_11983:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12004 = check__tmp; main__c1 = __return_12004; { _Bool __tmp_1; __tmp_1 = main__c1; _Bool assert__arg; assert__arg = __tmp_1; if (assert__arg == 0) { return __return_main; } else { label_10672:; { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p4_old; p4_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; label_11039:; mode1 = 0; label_10687:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { if (!(alive2 == 0)) { if (((int)node2__m2) > ((int)id2)) { send2 = node2__m2; label_10971:; mode2 = 0; label_10700:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { if (!(alive3 == 0)) { if (((int)node3__m3) > ((int)id3)) { send3 = node3__m3; label_11717:; mode3 = 0; label_10712:; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_11275:; mode4 = 0; label_10724:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_10742 = check__tmp; main__c1 = __return_10742; { _Bool __tmp_2; __tmp_2 = main__c1; _Bool assert__arg; assert__arg = __tmp_2; if (assert__arg == 0) { return __return_main; } else { label_10749:; { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { r1 = 3; label_10842:; r1 = r1 + 1; node1__m1 = p4_old; p4_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; label_10857:; label_10847:; mode1 = 0; label_10765:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { if (!(alive2 == 0)) { if (((int)node2__m2) > ((int)id2)) { send2 = node2__m2; label_10943:; label_10777:; mode2 = 0; label_10779:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { if (!(alive3 == 0)) { if (((int)node3__m3) > ((int)id3)) { send3 = node3__m3; label_10915:; label_10791:; mode3 = 0; label_10793:; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_10887:; label_10805:; mode4 = 0; label_10807:; label_10809:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; label_10817:; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; label_10878:; label_10824:; __return_10825 = check__tmp; main__c1 = __return_10825; label_10826:; { _Bool __tmp_3; __tmp_3 = main__c1; _Bool assert__arg; assert__arg = __tmp_3; if (assert__arg == 0) { {reach_error();} return __return_main; } else { label_10832:; goto label_10749; } } } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_10878; } else { check__tmp = 0; goto label_10878; } } } else { check__tmp = 0; goto label_10824; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; goto label_10887; } else { goto label_10887; } } } else { send4 = node4__m4; goto label_10805; } } else { goto label_10805; } } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_10896:; p4_new = node4____CPAchecker_TMP_0; label_10898:; mode4 = 1; goto label_10807; } else { label_10895:; node4____CPAchecker_TMP_0 = p4_new; goto label_10896; } } else { goto label_10895; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_10906:; p4_new = node4____CPAchecker_TMP_1; goto label_10898; } else { label_10905:; node4____CPAchecker_TMP_1 = p4_new; goto label_10906; } } else { goto label_10905; } } else { goto label_10898; } } } } } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; goto label_10915; } else { goto label_10915; } } } else { send3 = node3__m3; goto label_10791; } } else { goto label_10791; } } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; label_10924:; p3_new = node3____CPAchecker_TMP_0; label_10926:; mode3 = 1; goto label_10793; } else { label_10923:; node3____CPAchecker_TMP_0 = p3_new; goto label_10924; } } else { goto label_10923; } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_10934:; p3_new = node3____CPAchecker_TMP_1; goto label_10926; } else { label_10933:; node3____CPAchecker_TMP_1 = p3_new; goto label_10934; } } else { goto label_10933; } } else { goto label_10926; } } } } } else { if (((int)node2__m2) == ((int)id2)) { st2 = 1; goto label_10943; } else { goto label_10943; } } } else { send2 = node2__m2; goto label_10777; } } else { goto label_10777; } } else { if (!(alive2 == 0)) { int node2____CPAchecker_TMP_0; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_0 = send2; label_10952:; p2_new = node2____CPAchecker_TMP_0; label_10954:; mode2 = 1; goto label_10779; } else { label_10951:; node2____CPAchecker_TMP_0 = p2_new; goto label_10952; } } else { goto label_10951; } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; label_10962:; p2_new = node2____CPAchecker_TMP_1; goto label_10954; } else { label_10961:; node2____CPAchecker_TMP_1 = p2_new; goto label_10962; } } else { goto label_10961; } } else { goto label_10954; } } } } } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_10857; } else { goto label_10857; } } } else { send1 = node1__m1; goto label_10847; } } else { goto label_10847; } } else { goto label_10842; } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; label_10761:; p1_new = node1____CPAchecker_TMP_0; label_10756:; mode1 = 1; goto label_10765; } else { label_10760:; node1____CPAchecker_TMP_0 = p1_new; goto label_10761; } } else { goto label_10760; } } else { goto label_10756; } } } } } } else { return __return_main; } } else { return __return_main; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11302 = check__tmp; main__c1 = __return_11302; { _Bool __tmp_4; __tmp_4 = main__c1; _Bool assert__arg; assert__arg = __tmp_4; if (assert__arg == 0) { return __return_main; } else { goto label_10832; } } } else { return __return_main; } } else { return __return_main; } } } else { goto label_11275; } } } else { send4 = node4__m4; mode4 = 0; goto label_10724; } } else { mode4 = 0; goto label_10724; } } else { return __return_main; } } } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_12018:; mode4 = 0; label_11738:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11756 = check__tmp; main__c1 = __return_11756; { _Bool __tmp_5; __tmp_5 = main__c1; _Bool assert__arg; assert__arg = __tmp_5; if (assert__arg == 0) { return __return_main; } else { goto label_10832; } } } else { return __return_main; } } else { return __return_main; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { return __return_main; } else { check__tmp = 0; __return_12043 = check__tmp; main__c1 = __return_12043; goto label_10826; } } } else { goto label_12018; } } } else { send4 = node4__m4; mode4 = 0; goto label_11738; } } else { mode4 = 0; goto label_11738; } } else { return __return_main; } } } else { goto label_11717; } } } else { send3 = node3__m3; mode3 = 0; goto label_10712; } } else { mode3 = 0; goto label_10712; } } else { return __return_main; } } } else { if (((int)node2__m2) == ((int)id2)) { st2 = 1; mode2 = 0; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { if (!(alive3 == 0)) { if (((int)node3__m3) > ((int)id3)) { send3 = node3__m3; label_11774:; mode3 = 0; label_10992:; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_11320:; mode4 = 0; label_11004:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11022 = check__tmp; main__c1 = __return_11022; { _Bool __tmp_6; __tmp_6 = main__c1; _Bool assert__arg; assert__arg = __tmp_6; if (assert__arg == 0) { return __return_main; } else { goto label_10832; } } } else { return __return_main; } } else { return __return_main; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { return __return_main; } else { check__tmp = 0; __return_11345 = check__tmp; main__c1 = __return_11345; goto label_10826; } } } else { goto label_11320; } } } else { send4 = node4__m4; mode4 = 0; goto label_11004; } } else { mode4 = 0; goto label_11004; } } else { return __return_main; } } } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_12056:; mode4 = 0; label_11795:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { return __return_main; } else { check__tmp = 0; __return_11811 = check__tmp; main__c1 = __return_11811; goto label_10826; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; goto label_10817; } else { goto label_12056; } } } else { send4 = node4__m4; mode4 = 0; goto label_11795; } } else { mode4 = 0; goto label_11795; } } else { return __return_main; } } } else { goto label_11774; } } } else { send3 = node3__m3; mode3 = 0; goto label_10992; } } else { mode3 = 0; goto label_10992; } } else { return __return_main; } } } else { goto label_10971; } } } else { send2 = node2__m2; mode2 = 0; goto label_10700; } } else { mode2 = 0; goto label_10700; } } else { return __return_main; } } } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; mode1 = 0; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { if (!(alive2 == 0)) { if (((int)node2__m2) > ((int)id2)) { send2 = node2__m2; label_11115:; mode2 = 0; label_11061:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { if (!(alive3 == 0)) { if (((int)node3__m3) > ((int)id3)) { send3 = node3__m3; label_11824:; mode3 = 0; label_11073:; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_11358:; mode4 = 0; label_11085:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11103 = check__tmp; main__c1 = __return_11103; { _Bool __tmp_7; __tmp_7 = main__c1; _Bool assert__arg; assert__arg = __tmp_7; if (assert__arg == 0) { return __return_main; } else { goto label_10832; } } } else { return __return_main; } } else { return __return_main; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { return __return_main; } else { check__tmp = 0; __return_11383 = check__tmp; main__c1 = __return_11383; goto label_10826; } } } else { goto label_11358; } } } else { send4 = node4__m4; mode4 = 0; goto label_11085; } } else { mode4 = 0; goto label_11085; } } else { return __return_main; } } } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_12086:; mode4 = 0; label_11845:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { return __return_main; } else { check__tmp = 0; __return_11861 = check__tmp; main__c1 = __return_11861; goto label_10826; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; goto label_10817; } else { goto label_12086; } } } else { send4 = node4__m4; mode4 = 0; goto label_11845; } } else { mode4 = 0; goto label_11845; } } else { return __return_main; } } } else { goto label_11824; } } } else { send3 = node3__m3; mode3 = 0; goto label_11073; } } else { mode3 = 0; goto label_11073; } } else { return __return_main; } } } else { if (((int)node2__m2) == ((int)id2)) { st2 = 1; mode2 = 0; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { if (!(alive3 == 0)) { if (((int)node3__m3) > ((int)id3)) { send3 = node3__m3; label_11874:; mode3 = 0; label_11136:; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_11396:; mode4 = 0; label_11148:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { return __return_main; } else { check__tmp = 0; __return_11164 = check__tmp; main__c1 = __return_11164; { _Bool __tmp_8; __tmp_8 = main__c1; _Bool assert__arg; assert__arg = __tmp_8; if (assert__arg == 0) { {reach_error();} return __return_main; } else { goto label_10832; } } } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; label_11428:; label_11421:; __return_11422 = check__tmp; main__c1 = __return_11422; goto label_10826; } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_11428; } else { check__tmp = 0; goto label_11428; } } } else { check__tmp = 0; goto label_11421; } } } else { goto label_11396; } } } else { send4 = node4__m4; mode4 = 0; goto label_11148; } } else { mode4 = 0; goto label_11148; } } else { return __return_main; } } } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { node4__m4 = p3_old; p3_old = nomsg; if (((int)node4__m4) != ((int)nomsg)) { if (!(alive4 == 0)) { if (((int)node4__m4) > ((int)id4)) { send4 = node4__m4; label_12116:; label_12117:; mode4 = 0; label_12119:; goto label_10809; } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; goto label_12117; } else { goto label_12116; } } } else { send4 = node4__m4; mode4 = 0; goto label_12119; } } else { mode4 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; label_11918:; label_11911:; __return_11912 = check__tmp; main__c1 = __return_11912; goto label_10826; } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_11918; } else { check__tmp = 0; goto label_11918; } } } else { check__tmp = 0; goto label_11911; } } } } else { return __return_main; } } } else { goto label_11874; } } } else { send3 = node3__m3; mode3 = 0; goto label_11136; } } else { mode3 = 0; goto label_11136; } } else { return __return_main; } } } else { goto label_11115; } } } else { send2 = node2__m2; mode2 = 0; goto label_11061; } } else { mode2 = 0; goto label_11061; } } else { return __return_main; } } } else { goto label_11039; } } } else { send1 = node1__m1; mode1 = 0; goto label_10687; } } else { mode1 = 0; goto label_10687; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_11981; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12161:; p4_new = node4____CPAchecker_TMP_1; goto label_11983; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12161; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12151 = check__tmp; main__c1 = __return_12151; { _Bool __tmp_9; __tmp_9 = main__c1; _Bool assert__arg; assert__arg = __tmp_9; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_0 = p3_new; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_11680:; p4_new = node4____CPAchecker_TMP_0; label_11682:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11703 = check__tmp; main__c1 = __return_11703; { _Bool __tmp_10; __tmp_10 = main__c1; _Bool assert__arg; assert__arg = __tmp_10; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_11680; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_11960:; p4_new = node4____CPAchecker_TMP_1; goto label_11682; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_11960; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11950 = check__tmp; main__c1 = __return_11950; { _Bool __tmp_11; __tmp_11 = main__c1; _Bool assert__arg; assert__arg = __tmp_11; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_12251:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12268:; p4_new = node4____CPAchecker_TMP_0; label_12270:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12291 = check__tmp; main__c1 = __return_12291; { _Bool __tmp_12; __tmp_12 = main__c1; _Bool assert__arg; assert__arg = __tmp_12; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12268; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12332:; p4_new = node4____CPAchecker_TMP_1; goto label_12270; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12332; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12322 = check__tmp; main__c1 = __return_12322; { _Bool __tmp_13; __tmp_13 = main__c1; _Bool assert__arg; assert__arg = __tmp_13; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_12251; } } else { mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12181:; p4_new = node4____CPAchecker_TMP_0; label_12183:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12204 = check__tmp; main__c1 = __return_12204; { _Bool __tmp_14; __tmp_14 = main__c1; _Bool assert__arg; assert__arg = __tmp_14; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12181; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12245:; p4_new = node4____CPAchecker_TMP_1; goto label_12183; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12245; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12235 = check__tmp; main__c1 = __return_12235; { _Bool __tmp_15; __tmp_15 = main__c1; _Bool assert__arg; assert__arg = __tmp_15; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } else { return __return_main; } } else { node2____CPAchecker_TMP_0 = p2_new; p2_new = node2____CPAchecker_TMP_0; mode2 = 1; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { return __return_main; } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_11238:; p4_new = node4____CPAchecker_TMP_0; label_11240:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11261 = check__tmp; main__c1 = __return_11261; { _Bool __tmp_16; __tmp_16 = main__c1; _Bool assert__arg; assert__arg = __tmp_16; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_11238; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_11470:; p4_new = node4____CPAchecker_TMP_1; goto label_11240; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_11470; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11460 = check__tmp; main__c1 = __return_11460; { _Bool __tmp_17; __tmp_17 = main__c1; _Bool assert__arg; assert__arg = __tmp_17; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_0 = p3_new; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_10642:; p4_new = node4____CPAchecker_TMP_0; label_10644:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_10665 = check__tmp; main__c1 = __return_10665; { _Bool __tmp_18; __tmp_18 = main__c1; _Bool assert__arg; assert__arg = __tmp_18; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_10642; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_11217:; p4_new = node4____CPAchecker_TMP_1; goto label_10644; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_11217; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11207 = check__tmp; main__c1 = __return_11207; { _Bool __tmp_19; __tmp_19 = main__c1; _Bool assert__arg; assert__arg = __tmp_19; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_11560:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_11577:; p4_new = node4____CPAchecker_TMP_0; label_11579:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11600 = check__tmp; main__c1 = __return_11600; { _Bool __tmp_20; __tmp_20 = main__c1; _Bool assert__arg; assert__arg = __tmp_20; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_11577; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_11641:; p4_new = node4____CPAchecker_TMP_1; goto label_11579; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_11641; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11631 = check__tmp; main__c1 = __return_11631; { _Bool __tmp_21; __tmp_21 = main__c1; _Bool assert__arg; assert__arg = __tmp_21; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_11560; } } else { mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_11490:; p4_new = node4____CPAchecker_TMP_0; label_11492:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11513 = check__tmp; main__c1 = __return_11513; { _Bool __tmp_22; __tmp_22 = main__c1; _Bool assert__arg; assert__arg = __tmp_22; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_11490; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_11554:; p4_new = node4____CPAchecker_TMP_1; goto label_11492; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_11554; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_11544 = check__tmp; main__c1 = __return_11544; { _Bool __tmp_23; __tmp_23 = main__c1; _Bool assert__arg; assert__arg = __tmp_23; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; p2_new = node2____CPAchecker_TMP_1; goto label_11648; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; p2_new = node2____CPAchecker_TMP_1; label_12338:; mode2 = 1; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { return __return_main; } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12455:; p4_new = node4____CPAchecker_TMP_0; label_12457:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12478 = check__tmp; main__c1 = __return_12478; { _Bool __tmp_24; __tmp_24 = main__c1; _Bool assert__arg; assert__arg = __tmp_24; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12455; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12519:; p4_new = node4____CPAchecker_TMP_1; goto label_12457; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12519; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12509 = check__tmp; main__c1 = __return_12509; { _Bool __tmp_25; __tmp_25 = main__c1; _Bool assert__arg; assert__arg = __tmp_25; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_0 = p3_new; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12370:; p4_new = node4____CPAchecker_TMP_0; label_12372:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12393 = check__tmp; main__c1 = __return_12393; { _Bool __tmp_26; __tmp_26 = main__c1; _Bool assert__arg; assert__arg = __tmp_26; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12370; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12434:; p4_new = node4____CPAchecker_TMP_1; goto label_12372; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12434; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12424 = check__tmp; main__c1 = __return_12424; { _Bool __tmp_27; __tmp_27 = main__c1; _Bool assert__arg; assert__arg = __tmp_27; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_12609:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12626:; p4_new = node4____CPAchecker_TMP_0; label_12628:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12649 = check__tmp; main__c1 = __return_12649; { _Bool __tmp_28; __tmp_28 = main__c1; _Bool assert__arg; assert__arg = __tmp_28; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12626; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12690:; p4_new = node4____CPAchecker_TMP_1; goto label_12628; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12690; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12680 = check__tmp; main__c1 = __return_12680; { _Bool __tmp_29; __tmp_29 = main__c1; _Bool assert__arg; assert__arg = __tmp_29; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_12609; } } else { mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12539:; p4_new = node4____CPAchecker_TMP_0; label_12541:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12562 = check__tmp; main__c1 = __return_12562; { _Bool __tmp_30; __tmp_30 = main__c1; _Bool assert__arg; assert__arg = __tmp_30; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12539; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12603:; p4_new = node4____CPAchecker_TMP_1; goto label_12541; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12603; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12593 = check__tmp; main__c1 = __return_12593; { _Bool __tmp_31; __tmp_31 = main__c1; _Bool assert__arg; assert__arg = __tmp_31; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } } else { goto label_12338; } } } } } else { return __return_main; } } else { node1____CPAchecker_TMP_0 = p1_new; goto label_10591; } } else { mode1 = 1; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { return __return_main; } else { if (!(alive2 == 0)) { int node2____CPAchecker_TMP_0; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_0 = send2; p2_new = node2____CPAchecker_TMP_0; label_13078:; mode2 = 1; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { return __return_main; } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13195:; p4_new = node4____CPAchecker_TMP_0; label_13197:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13218 = check__tmp; main__c1 = __return_13218; { _Bool __tmp_32; __tmp_32 = main__c1; _Bool assert__arg; assert__arg = __tmp_32; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13195; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13259:; p4_new = node4____CPAchecker_TMP_1; goto label_13197; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13259; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13249 = check__tmp; main__c1 = __return_13249; { _Bool __tmp_33; __tmp_33 = main__c1; _Bool assert__arg; assert__arg = __tmp_33; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_0 = p3_new; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13110:; p4_new = node4____CPAchecker_TMP_0; label_13112:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13133 = check__tmp; main__c1 = __return_13133; { _Bool __tmp_34; __tmp_34 = main__c1; _Bool assert__arg; assert__arg = __tmp_34; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13110; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13174:; p4_new = node4____CPAchecker_TMP_1; goto label_13112; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13174; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13164 = check__tmp; main__c1 = __return_13164; { _Bool __tmp_35; __tmp_35 = main__c1; _Bool assert__arg; assert__arg = __tmp_35; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_13349:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13366:; p4_new = node4____CPAchecker_TMP_0; label_13368:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13389 = check__tmp; main__c1 = __return_13389; { _Bool __tmp_36; __tmp_36 = main__c1; _Bool assert__arg; assert__arg = __tmp_36; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13366; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13430:; p4_new = node4____CPAchecker_TMP_1; goto label_13368; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13430; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13420 = check__tmp; main__c1 = __return_13420; { _Bool __tmp_37; __tmp_37 = main__c1; _Bool assert__arg; assert__arg = __tmp_37; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_13349; } } else { mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13279:; p4_new = node4____CPAchecker_TMP_0; label_13281:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13302 = check__tmp; main__c1 = __return_13302; { _Bool __tmp_38; __tmp_38 = main__c1; _Bool assert__arg; assert__arg = __tmp_38; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13279; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13343:; p4_new = node4____CPAchecker_TMP_1; goto label_13281; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13343; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13333 = check__tmp; main__c1 = __return_13333; { _Bool __tmp_39; __tmp_39 = main__c1; _Bool assert__arg; assert__arg = __tmp_39; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } else { return __return_main; } } else { node2____CPAchecker_TMP_0 = p2_new; p2_new = node2____CPAchecker_TMP_0; mode2 = 1; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { return __return_main; } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12836:; p4_new = node4____CPAchecker_TMP_0; label_12838:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12859 = check__tmp; main__c1 = __return_12859; { _Bool __tmp_40; __tmp_40 = main__c1; _Bool assert__arg; assert__arg = __tmp_40; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12836; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12900:; p4_new = node4____CPAchecker_TMP_1; goto label_12838; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12900; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12890 = check__tmp; main__c1 = __return_12890; { _Bool __tmp_41; __tmp_41 = main__c1; _Bool assert__arg; assert__arg = __tmp_41; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_0 = p3_new; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12751:; p4_new = node4____CPAchecker_TMP_0; label_12753:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12774 = check__tmp; main__c1 = __return_12774; { _Bool __tmp_42; __tmp_42 = main__c1; _Bool assert__arg; assert__arg = __tmp_42; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12751; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12815:; p4_new = node4____CPAchecker_TMP_1; goto label_12753; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12815; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12805 = check__tmp; main__c1 = __return_12805; { _Bool __tmp_43; __tmp_43 = main__c1; _Bool assert__arg; assert__arg = __tmp_43; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_12990:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13007:; p4_new = node4____CPAchecker_TMP_0; label_13009:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13030 = check__tmp; main__c1 = __return_13030; { _Bool __tmp_44; __tmp_44 = main__c1; _Bool assert__arg; assert__arg = __tmp_44; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13007; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13071:; p4_new = node4____CPAchecker_TMP_1; goto label_13009; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13071; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13061 = check__tmp; main__c1 = __return_13061; { _Bool __tmp_45; __tmp_45 = main__c1; _Bool assert__arg; assert__arg = __tmp_45; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_12990; } } else { mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_12920:; p4_new = node4____CPAchecker_TMP_0; label_12922:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12943 = check__tmp; main__c1 = __return_12943; { _Bool __tmp_46; __tmp_46 = main__c1; _Bool assert__arg; assert__arg = __tmp_46; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_12920; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_12984:; p4_new = node4____CPAchecker_TMP_1; goto label_12922; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_12984; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_12974 = check__tmp; main__c1 = __return_12974; { _Bool __tmp_47; __tmp_47 = main__c1; _Bool assert__arg; assert__arg = __tmp_47; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; p2_new = node2____CPAchecker_TMP_1; goto label_13078; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; p2_new = node2____CPAchecker_TMP_1; label_13436:; mode2 = 1; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { return __return_main; } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13553:; p4_new = node4____CPAchecker_TMP_0; label_13555:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13576 = check__tmp; main__c1 = __return_13576; { _Bool __tmp_48; __tmp_48 = main__c1; _Bool assert__arg; assert__arg = __tmp_48; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13553; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13617:; p4_new = node4____CPAchecker_TMP_1; goto label_13555; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13617; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13607 = check__tmp; main__c1 = __return_13607; { _Bool __tmp_49; __tmp_49 = main__c1; _Bool assert__arg; assert__arg = __tmp_49; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_0 = p3_new; p3_new = node3____CPAchecker_TMP_0; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13468:; p4_new = node4____CPAchecker_TMP_0; label_13470:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13491 = check__tmp; main__c1 = __return_13491; { _Bool __tmp_50; __tmp_50 = main__c1; _Bool assert__arg; assert__arg = __tmp_50; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13468; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13532:; p4_new = node4____CPAchecker_TMP_1; goto label_13470; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13532; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13522 = check__tmp; main__c1 = __return_13522; { _Bool __tmp_51; __tmp_51 = main__c1; _Bool assert__arg; assert__arg = __tmp_51; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_13707:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13724:; p4_new = node4____CPAchecker_TMP_0; label_13726:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13747 = check__tmp; main__c1 = __return_13747; { _Bool __tmp_52; __tmp_52 = main__c1; _Bool assert__arg; assert__arg = __tmp_52; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13724; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13788:; p4_new = node4____CPAchecker_TMP_1; goto label_13726; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13788; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13778 = check__tmp; main__c1 = __return_13778; { _Bool __tmp_53; __tmp_53 = main__c1; _Bool assert__arg; assert__arg = __tmp_53; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_13707; } } else { mode3 = 1; { msg_t node4__m4; node4__m4 = nomsg; if (!(mode4 == 0)) { return __return_main; } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_13637:; p4_new = node4____CPAchecker_TMP_0; label_13639:; mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13660 = check__tmp; main__c1 = __return_13660; { _Bool __tmp_54; __tmp_54 = main__c1; _Bool assert__arg; assert__arg = __tmp_54; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; goto label_13637; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_13701:; p4_new = node4____CPAchecker_TMP_1; goto label_13639; } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_13701; } } else { mode4 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; p4_old = p4_new; p4_new = nomsg; { int check__tmp; if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) <= 1) { if (((int)r1) < 4) { check__tmp = 1; __return_13691 = check__tmp; main__c1 = __return_13691; { _Bool __tmp_55; __tmp_55 = main__c1; _Bool assert__arg; assert__arg = __tmp_55; if (assert__arg == 0) { return __return_main; } else { goto label_10672; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } } else { goto label_13436; } } } } } } } } 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; } } }