// 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.ufo.BOUNDED-8.pals.c.v+lhb-reducer.c", 4, "reach_error"); } _Bool __VERIFIER_nondet_bool(); char __VERIFIER_nondet_char(); 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; 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_19289; int __return_23258; int __tmp_19398_0; int __return_19465; int __tmp_19475_0; int __tmp_19535_0; int __return_19551; int __tmp_19552_0; int __tmp_19558_0; int __tmp_19561_0; int __return_19565; int __return_19984; int __return_20574; int __return_20833; int __return_22099; int __return_22370; int __return_22959; int __return_23220; int __return_19815; int __return_20064; int __return_20666; int __return_20914; int __return_22203; int __return_22451; int __return_23052; int __return_23177; int __return_23345; int __return_23309; int __return_22997; int __return_22905; int __return_23125; int __return_23089; int __return_23587; int __return_23553; int __return_23656; int __return_23620; int __return_23430; int __return_23396; int __return_23499; int __return_23463; int __return_22408; int __return_22328; int __return_22524; int __return_22488; int __return_22137; int __return_22031; int __return_22276; int __return_22240; int __return_22766; int __return_22732; int __return_22835; int __return_22799; int __return_22609; int __return_22575; int __return_22678; int __return_22642; int __return_23914; int __return_23880; int __return_23983; int __return_23947; int __return_23759; int __return_23725; int __return_23828; int __return_23792; int __return_24225; int __return_24191; int __return_24294; int __return_24258; int __return_24068; int __return_24034; int __return_24137; int __return_24101; int __return_20871; int __return_20791; int __return_20987; int __return_20951; int __return_20612; int __return_20518; int __return_20739; int __return_20703; int __return_21229; int __return_21195; int __return_21298; int __return_21262; int __return_21072; int __return_21038; int __return_21141; int __return_21105; int __return_20022; int __return_19940; int __return_20137; int __return_20101; int __return_19735; int __return_19388; int __return_19888; int __return_19852; int __return_20379; int __return_20345; int __return_20448; int __return_20412; int __return_20222; int __return_20188; int __return_20291; int __return_20255; int __return_21556; int __return_21522; int __return_21625; int __return_21589; int __return_21401; int __return_21367; int __return_21470; int __return_21434; int __return_21867; int __return_21833; int __return_21936; int __return_21900; int __return_21710; int __return_21676; int __return_21779; int __return_21743; int __return_25216; int __return_25182; int __return_25285; int __return_25249; int __return_25061; int __return_25027; int __return_25130; int __return_25094; int __return_25527; int __return_25493; int __return_25596; int __return_25560; int __return_25370; int __return_25336; int __return_25439; int __return_25403; int __return_24577; int __return_24543; int __return_24646; int __return_24610; int __return_24422; int __return_24388; int __return_24491; int __return_24455; int __return_24888; int __return_24854; int __return_24957; int __return_24921; int __return_24731; int __return_24697; int __return_24800; int __return_24764; int __return_25854; int __return_25820; int __return_25923; int __return_25887; int __return_25699; int __return_25665; int __return_25768; int __return_25732; int __return_26165; int __return_26131; int __return_26234; int __return_26198; int __return_26008; int __return_25974; int __return_26077; int __return_26041; int main() { int main__c1; int main__i2; main__c1 = 0; r1 = __VERIFIER_nondet_char(); 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_19289 = init__tmp; main__i2 = __return_19289; 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; if (main__i2 < 8) { { 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; p1_new = node1____CPAchecker_TMP_0; label_21959:; 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_22850:; 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; p4_new = node4____CPAchecker_TMP_0; 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_23258 = check__tmp; main__c1 = __return_23258; { _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; __tmp_19398_0 = main____CPAchecker_TMP_0; label_19398:; main____CPAchecker_TMP_0 = __tmp_19398_0; if (main__i2 < 8) { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { r1 = (char)(((int)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_19752:; mode1 = 0; label_19411:; { 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_22048:; mode2 = 0; label_19423:; { 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_20535:; mode3 = 0; label_19435:; { 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_19957:; mode4 = 0; label_19447:; 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_19465 = check__tmp; main__c1 = __return_19465; { _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; __tmp_19475_0 = main____CPAchecker_TMP_0; label_19475:; main____CPAchecker_TMP_0 = __tmp_19475_0; if (main__i2 < 8) { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { r1 = (char)(((int)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_19586:; label_19576:; mode1 = 0; label_19491:; { 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_19680:; label_19503:; mode2 = 0; label_19505:; { 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_19652:; label_19517:; mode3 = 0; label_19519:; { 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_19624:; label_19531:; mode4 = 0; label_19533:; __tmp_19535_0 = main____CPAchecker_TMP_0; label_19535:; main____CPAchecker_TMP_0 = __tmp_19535_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_19615:; label_19550:; __return_19551 = check__tmp; main__c1 = __return_19551; __tmp_19552_0 = main____CPAchecker_TMP_0; label_19552:; main____CPAchecker_TMP_0 = __tmp_19552_0; { _Bool __tmp_3; __tmp_3 = main__c1; _Bool assert__arg; assert__arg = __tmp_3; if (assert__arg == 0) { {reach_error();} return __return_main; } else { __tmp_19558_0 = main____CPAchecker_TMP_0; label_19558:; main____CPAchecker_TMP_0 = __tmp_19558_0; int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19561_0 = main____CPAchecker_TMP_0; label_19561:; main____CPAchecker_TMP_0 = __tmp_19561_0; __tmp_19475_0 = main____CPAchecker_TMP_0; goto label_19475; } } } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_19615; } else { check__tmp = 0; goto label_19615; } } } else { check__tmp = 0; goto label_19550; } } } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; goto label_19624; } else { goto label_19624; } } } else { send4 = node4__m4; goto label_19531; } } else { goto label_19531; } } else { if (!(alive4 == 0)) { int node4____CPAchecker_TMP_0; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_0 = send4; label_19633:; p4_new = node4____CPAchecker_TMP_0; label_19635:; mode4 = 1; goto label_19533; } else { label_19632:; node4____CPAchecker_TMP_0 = p4_new; goto label_19633; } } else { goto label_19632; } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_19643:; p4_new = node4____CPAchecker_TMP_1; goto label_19635; } else { label_19642:; node4____CPAchecker_TMP_1 = p4_new; goto label_19643; } } else { goto label_19642; } } else { goto label_19635; } } } } } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; goto label_19652; } else { goto label_19652; } } } else { send3 = node3__m3; goto label_19517; } } else { goto label_19517; } } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; label_19661:; p3_new = node3____CPAchecker_TMP_0; label_19663:; mode3 = 1; goto label_19519; } else { label_19660:; node3____CPAchecker_TMP_0 = p3_new; goto label_19661; } } else { goto label_19660; } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; label_19671:; p3_new = node3____CPAchecker_TMP_1; goto label_19663; } else { label_19670:; node3____CPAchecker_TMP_1 = p3_new; goto label_19671; } } else { goto label_19670; } } else { goto label_19663; } } } } } else { if (((int)node2__m2) == ((int)id2)) { st2 = 1; goto label_19680; } else { goto label_19680; } } } else { send2 = node2__m2; goto label_19503; } } else { goto label_19503; } } else { if (!(alive2 == 0)) { int node2____CPAchecker_TMP_0; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_0 = send2; label_19689:; p2_new = node2____CPAchecker_TMP_0; label_19691:; mode2 = 1; goto label_19505; } else { label_19688:; node2____CPAchecker_TMP_0 = p2_new; goto label_19689; } } else { goto label_19688; } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; label_19699:; p2_new = node2____CPAchecker_TMP_1; goto label_19691; } else { label_19698:; node2____CPAchecker_TMP_1 = p2_new; goto label_19699; } } else { goto label_19698; } } else { goto label_19691; } } } } } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_19586; } else { goto label_19586; } } } else { send1 = node1__m1; goto label_19576; } } else { goto label_19576; } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; label_19487:; p1_new = node1____CPAchecker_TMP_0; label_19489:; mode1 = 1; goto label_19491; } else { label_19486:; node1____CPAchecker_TMP_0 = p1_new; goto label_19487; } } else { goto label_19486; } } else { if (((int)send1) != ((int)id1)) { int node1____CPAchecker_TMP_1; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_1 = send1; label_19708:; p1_new = node1____CPAchecker_TMP_1; goto label_19489; } else { label_19707:; node1____CPAchecker_TMP_1 = p1_new; goto label_19708; } } else { goto label_19707; } } else { goto label_19489; } } } } } else { __return_19565 = 0; return __return_19565; } } } } 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_19984 = check__tmp; main__c1 = __return_19984; { _Bool __tmp_4; __tmp_4 = main__c1; _Bool assert__arg; assert__arg = __tmp_4; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19561_0 = main____CPAchecker_TMP_0; goto label_19561; } } } else { return __return_main; } } else { return __return_main; } } } else { goto label_19957; } } } else { send4 = node4__m4; mode4 = 0; goto label_19447; } } else { mode4 = 0; goto label_19447; } } 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_20808:; mode4 = 0; label_20556:; 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_20574 = check__tmp; main__c1 = __return_20574; { _Bool __tmp_5; __tmp_5 = main__c1; _Bool assert__arg; assert__arg = __tmp_5; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19561_0 = main____CPAchecker_TMP_0; goto label_19561; } } } 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_20833 = check__tmp; main__c1 = __return_20833; { _Bool __tmp_6; __tmp_6 = main__c1; _Bool assert__arg; assert__arg = __tmp_6; if (assert__arg == 0) { {reach_error();} return __return_main; } else { __tmp_19558_0 = main____CPAchecker_TMP_0; goto label_19558; } } } } } else { goto label_20808; } } } else { send4 = node4__m4; mode4 = 0; goto label_20556; } } else { mode4 = 0; goto label_20556; } } else { return __return_main; } } } else { goto label_20535; } } } else { send3 = node3__m3; mode3 = 0; goto label_19435; } } else { mode3 = 0; goto label_19435; } } 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_22922:; mode3 = 0; label_22069:; { 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_22345:; mode4 = 0; label_22081:; 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_22099 = check__tmp; main__c1 = __return_22099; { _Bool __tmp_7; __tmp_7 = main__c1; _Bool assert__arg; assert__arg = __tmp_7; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19561_0 = main____CPAchecker_TMP_0; goto label_19561; } } } 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_22370 = check__tmp; main__c1 = __return_22370; { _Bool __tmp_8; __tmp_8 = main__c1; _Bool assert__arg; assert__arg = __tmp_8; if (assert__arg == 0) { {reach_error();} return __return_main; } else { __tmp_19558_0 = main____CPAchecker_TMP_0; goto label_19558; } } } } } else { goto label_22345; } } } else { send4 = node4__m4; mode4 = 0; goto label_22081; } } else { mode4 = 0; goto label_22081; } } 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_23194:; mode4 = 0; label_22943:; 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_22959 = check__tmp; main__c1 = __return_22959; { _Bool __tmp_9; __tmp_9 = main__c1; _Bool assert__arg; assert__arg = __tmp_9; if (assert__arg == 0) { {reach_error();} return __return_main; } else { __tmp_19558_0 = main____CPAchecker_TMP_0; goto label_19558; } } } } } 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_23226:; label_23219:; __return_23220 = check__tmp; main__c1 = __return_23220; __tmp_19552_0 = main____CPAchecker_TMP_0; goto label_19552; } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_23226; } else { check__tmp = 0; goto label_23226; } } } else { check__tmp = 0; goto label_23219; } } } else { goto label_23194; } } } else { send4 = node4__m4; mode4 = 0; goto label_22943; } } else { mode4 = 0; goto label_22943; } } else { return __return_main; } } } else { goto label_22922; } } } else { send3 = node3__m3; mode3 = 0; goto label_22069; } } else { mode3 = 0; goto label_22069; } } else { return __return_main; } } } else { goto label_22048; } } } else { send2 = node2__m2; mode2 = 0; goto label_19423; } } else { mode2 = 0; goto label_19423; } } 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_22154:; mode2 = 0; label_19773:; { 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_20629:; mode3 = 0; label_19785:; { 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_20039:; mode4 = 0; label_19797:; 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_19815 = check__tmp; main__c1 = __return_19815; { _Bool __tmp_10; __tmp_10 = main__c1; _Bool assert__arg; assert__arg = __tmp_10; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19561_0 = main____CPAchecker_TMP_0; goto label_19561; } } } 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_20064 = check__tmp; main__c1 = __return_20064; { _Bool __tmp_11; __tmp_11 = main__c1; _Bool assert__arg; assert__arg = __tmp_11; if (assert__arg == 0) { {reach_error();} return __return_main; } else { __tmp_19558_0 = main____CPAchecker_TMP_0; goto label_19558; } } } } } else { goto label_20039; } } } else { send4 = node4__m4; mode4 = 0; goto label_19797; } } else { mode4 = 0; goto label_19797; } } 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_20888:; mode4 = 0; label_20650:; 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_20666 = check__tmp; main__c1 = __return_20666; { _Bool __tmp_12; __tmp_12 = main__c1; _Bool assert__arg; assert__arg = __tmp_12; if (assert__arg == 0) { {reach_error();} return __return_main; } else { __tmp_19558_0 = main____CPAchecker_TMP_0; goto label_19558; } } } } } 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_20920:; label_20913:; __return_20914 = check__tmp; main__c1 = __return_20914; __tmp_19552_0 = main____CPAchecker_TMP_0; goto label_19552; } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_20920; } else { check__tmp = 0; goto label_20920; } } } else { check__tmp = 0; goto label_20913; } } } else { goto label_20888; } } } else { send4 = node4__m4; mode4 = 0; goto label_20650; } } else { mode4 = 0; goto label_20650; } } else { return __return_main; } } } else { goto label_20629; } } } else { send3 = node3__m3; mode3 = 0; goto label_19785; } } else { mode3 = 0; goto label_19785; } } 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_23014:; mode3 = 0; label_22175:; { 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_22425:; mode4 = 0; label_22187:; 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_22203 = check__tmp; main__c1 = __return_22203; { _Bool __tmp_13; __tmp_13 = main__c1; _Bool assert__arg; assert__arg = __tmp_13; if (assert__arg == 0) { {reach_error();} return __return_main; } else { __tmp_19558_0 = main____CPAchecker_TMP_0; goto label_19558; } } } } } 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_22457:; label_22450:; __return_22451 = check__tmp; main__c1 = __return_22451; __tmp_19552_0 = main____CPAchecker_TMP_0; goto label_19552; } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_22457; } else { check__tmp = 0; goto label_22457; } } } else { check__tmp = 0; goto label_22450; } } } else { goto label_22425; } } } else { send4 = node4__m4; mode4 = 0; goto label_22187; } } else { mode4 = 0; goto label_22187; } } 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_23275:; label_23276:; mode4 = 0; label_23278:; __tmp_19535_0 = main____CPAchecker_TMP_0; goto label_19535; } else { if (((int)node4__m4) == ((int)id4)) { st4 = 1; goto label_23276; } else { goto label_23275; } } } else { send4 = node4__m4; mode4 = 0; goto label_23278; } } 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_23058:; label_23051:; __return_23052 = check__tmp; main__c1 = __return_23052; __tmp_19552_0 = main____CPAchecker_TMP_0; goto label_19552; } else { if ((((((int)st1) + ((int)st2)) + ((int)st3)) + ((int)st4)) == 1) { check__tmp = 1; goto label_23058; } else { check__tmp = 0; goto label_23058; } } } else { check__tmp = 0; goto label_23051; } } } } else { return __return_main; } } } else { goto label_23014; } } } else { send3 = node3__m3; mode3 = 0; goto label_22175; } } else { mode3 = 0; goto label_22175; } } else { return __return_main; } } } else { goto label_22154; } } } else { send2 = node2__m2; mode2 = 0; goto label_19773; } } else { mode2 = 0; goto label_19773; } } else { return __return_main; } } } else { goto label_19752; } } } else { send1 = node1__m1; mode1 = 0; goto label_19411; } } else { mode1 = 0; goto label_19411; } } else { return __return_main; } } } else { return __return_main; } } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_23177 = check__tmp; main__c1 = __return_23177; { _Bool __tmp_14; __tmp_14 = main__c1; _Bool assert__arg; assert__arg = __tmp_14; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_23322:; p4_new = node4____CPAchecker_TMP_1; 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_23345 = check__tmp; main__c1 = __return_23345; { _Bool __tmp_15; __tmp_15 = main__c1; _Bool assert__arg; assert__arg = __tmp_15; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_23322; } } 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_23309 = check__tmp; main__c1 = __return_23309; { _Bool __tmp_16; __tmp_16 = main__c1; _Bool assert__arg; assert__arg = __tmp_16; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_22997 = check__tmp; main__c1 = __return_22997; { _Bool __tmp_17; __tmp_17 = main__c1; _Bool assert__arg; assert__arg = __tmp_17; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_22905 = check__tmp; main__c1 = __return_22905; { _Bool __tmp_18; __tmp_18 = main__c1; _Bool assert__arg; assert__arg = __tmp_18; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_23102:; p4_new = node4____CPAchecker_TMP_1; 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_23125 = check__tmp; main__c1 = __return_23125; { _Bool __tmp_19; __tmp_19 = main__c1; _Bool assert__arg; assert__arg = __tmp_19; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_23102; } } 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_23089 = check__tmp; main__c1 = __return_23089; { _Bool __tmp_20; __tmp_20 = main__c1; _Bool assert__arg; assert__arg = __tmp_20; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_23513:; 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; p4_new = node4____CPAchecker_TMP_0; 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_23587 = check__tmp; main__c1 = __return_23587; { _Bool __tmp_21; __tmp_21 = main__c1; _Bool assert__arg; assert__arg = __tmp_21; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_23553 = check__tmp; main__c1 = __return_23553; { _Bool __tmp_22; __tmp_22 = main__c1; _Bool assert__arg; assert__arg = __tmp_22; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_23633:; p4_new = node4____CPAchecker_TMP_1; 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_23656 = check__tmp; main__c1 = __return_23656; { _Bool __tmp_23; __tmp_23 = main__c1; _Bool assert__arg; assert__arg = __tmp_23; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_23633; } } 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_23620 = check__tmp; main__c1 = __return_23620; { _Bool __tmp_24; __tmp_24 = main__c1; _Bool assert__arg; assert__arg = __tmp_24; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_23513; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_23430 = check__tmp; main__c1 = __return_23430; { _Bool __tmp_25; __tmp_25 = main__c1; _Bool assert__arg; assert__arg = __tmp_25; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_23396 = check__tmp; main__c1 = __return_23396; { _Bool __tmp_26; __tmp_26 = main__c1; _Bool assert__arg; assert__arg = __tmp_26; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_23476:; p4_new = node4____CPAchecker_TMP_1; 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_23499 = check__tmp; main__c1 = __return_23499; { _Bool __tmp_27; __tmp_27 = main__c1; _Bool assert__arg; assert__arg = __tmp_27; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_23476; } } 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_23463 = check__tmp; main__c1 = __return_23463; { _Bool __tmp_28; __tmp_28 = main__c1; _Bool assert__arg; assert__arg = __tmp_28; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_22408 = check__tmp; main__c1 = __return_22408; { _Bool __tmp_29; __tmp_29 = main__c1; _Bool assert__arg; assert__arg = __tmp_29; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_22328 = check__tmp; main__c1 = __return_22328; { _Bool __tmp_30; __tmp_30 = main__c1; _Bool assert__arg; assert__arg = __tmp_30; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_22501:; p4_new = node4____CPAchecker_TMP_1; 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_22524 = check__tmp; main__c1 = __return_22524; { _Bool __tmp_31; __tmp_31 = main__c1; _Bool assert__arg; assert__arg = __tmp_31; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_22501; } } 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_22488 = check__tmp; main__c1 = __return_22488; { _Bool __tmp_32; __tmp_32 = main__c1; _Bool assert__arg; assert__arg = __tmp_32; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_22137 = check__tmp; main__c1 = __return_22137; { _Bool __tmp_33; __tmp_33 = main__c1; _Bool assert__arg; assert__arg = __tmp_33; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_22031 = check__tmp; main__c1 = __return_22031; { _Bool __tmp_34; __tmp_34 = main__c1; _Bool assert__arg; assert__arg = __tmp_34; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_22253:; p4_new = node4____CPAchecker_TMP_1; 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_22276 = check__tmp; main__c1 = __return_22276; { _Bool __tmp_35; __tmp_35 = main__c1; _Bool assert__arg; assert__arg = __tmp_35; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_22253; } } 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_22240 = check__tmp; main__c1 = __return_22240; { _Bool __tmp_36; __tmp_36 = main__c1; _Bool assert__arg; assert__arg = __tmp_36; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_22692:; 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; p4_new = node4____CPAchecker_TMP_0; 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_22766 = check__tmp; main__c1 = __return_22766; { _Bool __tmp_37; __tmp_37 = main__c1; _Bool assert__arg; assert__arg = __tmp_37; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_22732 = check__tmp; main__c1 = __return_22732; { _Bool __tmp_38; __tmp_38 = main__c1; _Bool assert__arg; assert__arg = __tmp_38; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_22812:; p4_new = node4____CPAchecker_TMP_1; 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_22835 = check__tmp; main__c1 = __return_22835; { _Bool __tmp_39; __tmp_39 = main__c1; _Bool assert__arg; assert__arg = __tmp_39; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_22812; } } 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_22799 = check__tmp; main__c1 = __return_22799; { _Bool __tmp_40; __tmp_40 = main__c1; _Bool assert__arg; assert__arg = __tmp_40; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_22692; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_22609 = check__tmp; main__c1 = __return_22609; { _Bool __tmp_41; __tmp_41 = main__c1; _Bool assert__arg; assert__arg = __tmp_41; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_22575 = check__tmp; main__c1 = __return_22575; { _Bool __tmp_42; __tmp_42 = main__c1; _Bool assert__arg; assert__arg = __tmp_42; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_22655:; p4_new = node4____CPAchecker_TMP_1; 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_22678 = check__tmp; main__c1 = __return_22678; { _Bool __tmp_43; __tmp_43 = main__c1; _Bool assert__arg; assert__arg = __tmp_43; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_22655; } } 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_22642 = check__tmp; main__c1 = __return_22642; { _Bool __tmp_44; __tmp_44 = main__c1; _Bool assert__arg; assert__arg = __tmp_44; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_22850; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; p2_new = node2____CPAchecker_TMP_1; label_23670:; 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; p4_new = node4____CPAchecker_TMP_0; 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_23914 = check__tmp; main__c1 = __return_23914; { _Bool __tmp_45; __tmp_45 = main__c1; _Bool assert__arg; assert__arg = __tmp_45; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_23880 = check__tmp; main__c1 = __return_23880; { _Bool __tmp_46; __tmp_46 = main__c1; _Bool assert__arg; assert__arg = __tmp_46; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_23960:; p4_new = node4____CPAchecker_TMP_1; 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_23983 = check__tmp; main__c1 = __return_23983; { _Bool __tmp_47; __tmp_47 = main__c1; _Bool assert__arg; assert__arg = __tmp_47; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_23960; } } 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_23947 = check__tmp; main__c1 = __return_23947; { _Bool __tmp_48; __tmp_48 = main__c1; _Bool assert__arg; assert__arg = __tmp_48; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_23759 = check__tmp; main__c1 = __return_23759; { _Bool __tmp_49; __tmp_49 = main__c1; _Bool assert__arg; assert__arg = __tmp_49; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_23725 = check__tmp; main__c1 = __return_23725; { _Bool __tmp_50; __tmp_50 = main__c1; _Bool assert__arg; assert__arg = __tmp_50; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_23805:; p4_new = node4____CPAchecker_TMP_1; 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_23828 = check__tmp; main__c1 = __return_23828; { _Bool __tmp_51; __tmp_51 = main__c1; _Bool assert__arg; assert__arg = __tmp_51; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_23805; } } 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_23792 = check__tmp; main__c1 = __return_23792; { _Bool __tmp_52; __tmp_52 = main__c1; _Bool assert__arg; assert__arg = __tmp_52; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_24151:; 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; p4_new = node4____CPAchecker_TMP_0; 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_24225 = check__tmp; main__c1 = __return_24225; { _Bool __tmp_53; __tmp_53 = main__c1; _Bool assert__arg; assert__arg = __tmp_53; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_24191 = check__tmp; main__c1 = __return_24191; { _Bool __tmp_54; __tmp_54 = main__c1; _Bool assert__arg; assert__arg = __tmp_54; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_24271:; p4_new = node4____CPAchecker_TMP_1; 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_24294 = check__tmp; main__c1 = __return_24294; { _Bool __tmp_55; __tmp_55 = main__c1; _Bool assert__arg; assert__arg = __tmp_55; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_24271; } } 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_24258 = check__tmp; main__c1 = __return_24258; { _Bool __tmp_56; __tmp_56 = main__c1; _Bool assert__arg; assert__arg = __tmp_56; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_24151; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_24068 = check__tmp; main__c1 = __return_24068; { _Bool __tmp_57; __tmp_57 = main__c1; _Bool assert__arg; assert__arg = __tmp_57; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_24034 = check__tmp; main__c1 = __return_24034; { _Bool __tmp_58; __tmp_58 = main__c1; _Bool assert__arg; assert__arg = __tmp_58; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_24114:; p4_new = node4____CPAchecker_TMP_1; 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_24137 = check__tmp; main__c1 = __return_24137; { _Bool __tmp_59; __tmp_59 = main__c1; _Bool assert__arg; assert__arg = __tmp_59; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_24114; } } 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_24101 = check__tmp; main__c1 = __return_24101; { _Bool __tmp_60; __tmp_60 = main__c1; _Bool assert__arg; assert__arg = __tmp_60; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } } else { goto label_23670; } } } } } else { return __return_main; } } else { node1____CPAchecker_TMP_0 = p1_new; 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_20463:; 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; p4_new = node4____CPAchecker_TMP_0; 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_20871 = check__tmp; main__c1 = __return_20871; { _Bool __tmp_61; __tmp_61 = main__c1; _Bool assert__arg; assert__arg = __tmp_61; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_20791 = check__tmp; main__c1 = __return_20791; { _Bool __tmp_62; __tmp_62 = main__c1; _Bool assert__arg; assert__arg = __tmp_62; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_20964:; p4_new = node4____CPAchecker_TMP_1; 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_20987 = check__tmp; main__c1 = __return_20987; { _Bool __tmp_63; __tmp_63 = main__c1; _Bool assert__arg; assert__arg = __tmp_63; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_20964; } } 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_20951 = check__tmp; main__c1 = __return_20951; { _Bool __tmp_64; __tmp_64 = main__c1; _Bool assert__arg; assert__arg = __tmp_64; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_20612 = check__tmp; main__c1 = __return_20612; { _Bool __tmp_65; __tmp_65 = main__c1; _Bool assert__arg; assert__arg = __tmp_65; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_20518 = check__tmp; main__c1 = __return_20518; { _Bool __tmp_66; __tmp_66 = main__c1; _Bool assert__arg; assert__arg = __tmp_66; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_20716:; p4_new = node4____CPAchecker_TMP_1; 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_20739 = check__tmp; main__c1 = __return_20739; { _Bool __tmp_67; __tmp_67 = main__c1; _Bool assert__arg; assert__arg = __tmp_67; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_20716; } } 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_20703 = check__tmp; main__c1 = __return_20703; { _Bool __tmp_68; __tmp_68 = main__c1; _Bool assert__arg; assert__arg = __tmp_68; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_21155:; 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; p4_new = node4____CPAchecker_TMP_0; 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_21229 = check__tmp; main__c1 = __return_21229; { _Bool __tmp_69; __tmp_69 = main__c1; _Bool assert__arg; assert__arg = __tmp_69; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_21195 = check__tmp; main__c1 = __return_21195; { _Bool __tmp_70; __tmp_70 = main__c1; _Bool assert__arg; assert__arg = __tmp_70; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_21275:; p4_new = node4____CPAchecker_TMP_1; 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_21298 = check__tmp; main__c1 = __return_21298; { _Bool __tmp_71; __tmp_71 = main__c1; _Bool assert__arg; assert__arg = __tmp_71; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_21275; } } 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_21262 = check__tmp; main__c1 = __return_21262; { _Bool __tmp_72; __tmp_72 = main__c1; _Bool assert__arg; assert__arg = __tmp_72; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_21155; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_21072 = check__tmp; main__c1 = __return_21072; { _Bool __tmp_73; __tmp_73 = main__c1; _Bool assert__arg; assert__arg = __tmp_73; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_21038 = check__tmp; main__c1 = __return_21038; { _Bool __tmp_74; __tmp_74 = main__c1; _Bool assert__arg; assert__arg = __tmp_74; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_21118:; p4_new = node4____CPAchecker_TMP_1; 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_21141 = check__tmp; main__c1 = __return_21141; { _Bool __tmp_75; __tmp_75 = main__c1; _Bool assert__arg; assert__arg = __tmp_75; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_21118; } } 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_21105 = check__tmp; main__c1 = __return_21105; { _Bool __tmp_76; __tmp_76 = main__c1; _Bool assert__arg; assert__arg = __tmp_76; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_20022 = check__tmp; main__c1 = __return_20022; { _Bool __tmp_77; __tmp_77 = main__c1; _Bool assert__arg; assert__arg = __tmp_77; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_19940 = check__tmp; main__c1 = __return_19940; { _Bool __tmp_78; __tmp_78 = main__c1; _Bool assert__arg; assert__arg = __tmp_78; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_20114:; p4_new = node4____CPAchecker_TMP_1; 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_20137 = check__tmp; main__c1 = __return_20137; { _Bool __tmp_79; __tmp_79 = main__c1; _Bool assert__arg; assert__arg = __tmp_79; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_20114; } } 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_20101 = check__tmp; main__c1 = __return_20101; { _Bool __tmp_80; __tmp_80 = main__c1; _Bool assert__arg; assert__arg = __tmp_80; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_19735 = check__tmp; main__c1 = __return_19735; { _Bool __tmp_81; __tmp_81 = main__c1; _Bool assert__arg; assert__arg = __tmp_81; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_19388 = check__tmp; main__c1 = __return_19388; { _Bool __tmp_82; __tmp_82 = main__c1; _Bool assert__arg; assert__arg = __tmp_82; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_19865:; p4_new = node4____CPAchecker_TMP_1; 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_19888 = check__tmp; main__c1 = __return_19888; { _Bool __tmp_83; __tmp_83 = main__c1; _Bool assert__arg; assert__arg = __tmp_83; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_19865; } } 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_19852 = check__tmp; main__c1 = __return_19852; { _Bool __tmp_84; __tmp_84 = main__c1; _Bool assert__arg; assert__arg = __tmp_84; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_20305:; 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; p4_new = node4____CPAchecker_TMP_0; 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_20379 = check__tmp; main__c1 = __return_20379; { _Bool __tmp_85; __tmp_85 = main__c1; _Bool assert__arg; assert__arg = __tmp_85; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_20345 = check__tmp; main__c1 = __return_20345; { _Bool __tmp_86; __tmp_86 = main__c1; _Bool assert__arg; assert__arg = __tmp_86; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_20425:; p4_new = node4____CPAchecker_TMP_1; 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_20448 = check__tmp; main__c1 = __return_20448; { _Bool __tmp_87; __tmp_87 = main__c1; _Bool assert__arg; assert__arg = __tmp_87; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_20425; } } 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_20412 = check__tmp; main__c1 = __return_20412; { _Bool __tmp_88; __tmp_88 = main__c1; _Bool assert__arg; assert__arg = __tmp_88; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_20305; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_20222 = check__tmp; main__c1 = __return_20222; { _Bool __tmp_89; __tmp_89 = main__c1; _Bool assert__arg; assert__arg = __tmp_89; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_20188 = check__tmp; main__c1 = __return_20188; { _Bool __tmp_90; __tmp_90 = main__c1; _Bool assert__arg; assert__arg = __tmp_90; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_20268:; p4_new = node4____CPAchecker_TMP_1; 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_20291 = check__tmp; main__c1 = __return_20291; { _Bool __tmp_91; __tmp_91 = main__c1; _Bool assert__arg; assert__arg = __tmp_91; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_20268; } } 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_20255 = check__tmp; main__c1 = __return_20255; { _Bool __tmp_92; __tmp_92 = main__c1; _Bool assert__arg; assert__arg = __tmp_92; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_20463; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; p2_new = node2____CPAchecker_TMP_1; label_21312:; 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; p4_new = node4____CPAchecker_TMP_0; 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_21556 = check__tmp; main__c1 = __return_21556; { _Bool __tmp_93; __tmp_93 = main__c1; _Bool assert__arg; assert__arg = __tmp_93; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_21522 = check__tmp; main__c1 = __return_21522; { _Bool __tmp_94; __tmp_94 = main__c1; _Bool assert__arg; assert__arg = __tmp_94; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_21602:; p4_new = node4____CPAchecker_TMP_1; 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_21625 = check__tmp; main__c1 = __return_21625; { _Bool __tmp_95; __tmp_95 = main__c1; _Bool assert__arg; assert__arg = __tmp_95; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_21602; } } 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_21589 = check__tmp; main__c1 = __return_21589; { _Bool __tmp_96; __tmp_96 = main__c1; _Bool assert__arg; assert__arg = __tmp_96; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_21401 = check__tmp; main__c1 = __return_21401; { _Bool __tmp_97; __tmp_97 = main__c1; _Bool assert__arg; assert__arg = __tmp_97; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_21367 = check__tmp; main__c1 = __return_21367; { _Bool __tmp_98; __tmp_98 = main__c1; _Bool assert__arg; assert__arg = __tmp_98; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_21447:; p4_new = node4____CPAchecker_TMP_1; 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_21470 = check__tmp; main__c1 = __return_21470; { _Bool __tmp_99; __tmp_99 = main__c1; _Bool assert__arg; assert__arg = __tmp_99; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_21447; } } 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_21434 = check__tmp; main__c1 = __return_21434; { _Bool __tmp_100; __tmp_100 = main__c1; _Bool assert__arg; assert__arg = __tmp_100; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_21793:; 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; p4_new = node4____CPAchecker_TMP_0; 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_21867 = check__tmp; main__c1 = __return_21867; { _Bool __tmp_101; __tmp_101 = main__c1; _Bool assert__arg; assert__arg = __tmp_101; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_21833 = check__tmp; main__c1 = __return_21833; { _Bool __tmp_102; __tmp_102 = main__c1; _Bool assert__arg; assert__arg = __tmp_102; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_21913:; p4_new = node4____CPAchecker_TMP_1; 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_21936 = check__tmp; main__c1 = __return_21936; { _Bool __tmp_103; __tmp_103 = main__c1; _Bool assert__arg; assert__arg = __tmp_103; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_21913; } } 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_21900 = check__tmp; main__c1 = __return_21900; { _Bool __tmp_104; __tmp_104 = main__c1; _Bool assert__arg; assert__arg = __tmp_104; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_21793; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_21710 = check__tmp; main__c1 = __return_21710; { _Bool __tmp_105; __tmp_105 = main__c1; _Bool assert__arg; assert__arg = __tmp_105; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_21676 = check__tmp; main__c1 = __return_21676; { _Bool __tmp_106; __tmp_106 = main__c1; _Bool assert__arg; assert__arg = __tmp_106; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_21756:; p4_new = node4____CPAchecker_TMP_1; 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_21779 = check__tmp; main__c1 = __return_21779; { _Bool __tmp_107; __tmp_107 = main__c1; _Bool assert__arg; assert__arg = __tmp_107; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_21756; } } 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_21743 = check__tmp; main__c1 = __return_21743; { _Bool __tmp_108; __tmp_108 = main__c1; _Bool assert__arg; assert__arg = __tmp_108; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } } else { goto label_21312; } } } } } } else { if (((int)send1) != ((int)id1)) { int node1____CPAchecker_TMP_1; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_1 = send1; p1_new = node1____CPAchecker_TMP_1; goto label_21959; } else { return __return_main; } } else { node1____CPAchecker_TMP_1 = p1_new; p1_new = node1____CPAchecker_TMP_1; label_24316:; 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_24972:; 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; p4_new = node4____CPAchecker_TMP_0; 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_25216 = check__tmp; main__c1 = __return_25216; { _Bool __tmp_109; __tmp_109 = main__c1; _Bool assert__arg; assert__arg = __tmp_109; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_25182 = check__tmp; main__c1 = __return_25182; { _Bool __tmp_110; __tmp_110 = main__c1; _Bool assert__arg; assert__arg = __tmp_110; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_25262:; p4_new = node4____CPAchecker_TMP_1; 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_25285 = check__tmp; main__c1 = __return_25285; { _Bool __tmp_111; __tmp_111 = main__c1; _Bool assert__arg; assert__arg = __tmp_111; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_25262; } } 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_25249 = check__tmp; main__c1 = __return_25249; { _Bool __tmp_112; __tmp_112 = main__c1; _Bool assert__arg; assert__arg = __tmp_112; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_25061 = check__tmp; main__c1 = __return_25061; { _Bool __tmp_113; __tmp_113 = main__c1; _Bool assert__arg; assert__arg = __tmp_113; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_25027 = check__tmp; main__c1 = __return_25027; { _Bool __tmp_114; __tmp_114 = main__c1; _Bool assert__arg; assert__arg = __tmp_114; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_25107:; p4_new = node4____CPAchecker_TMP_1; 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_25130 = check__tmp; main__c1 = __return_25130; { _Bool __tmp_115; __tmp_115 = main__c1; _Bool assert__arg; assert__arg = __tmp_115; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_25107; } } 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_25094 = check__tmp; main__c1 = __return_25094; { _Bool __tmp_116; __tmp_116 = main__c1; _Bool assert__arg; assert__arg = __tmp_116; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_25453:; 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; p4_new = node4____CPAchecker_TMP_0; 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_25527 = check__tmp; main__c1 = __return_25527; { _Bool __tmp_117; __tmp_117 = main__c1; _Bool assert__arg; assert__arg = __tmp_117; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_25493 = check__tmp; main__c1 = __return_25493; { _Bool __tmp_118; __tmp_118 = main__c1; _Bool assert__arg; assert__arg = __tmp_118; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_25573:; p4_new = node4____CPAchecker_TMP_1; 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_25596 = check__tmp; main__c1 = __return_25596; { _Bool __tmp_119; __tmp_119 = main__c1; _Bool assert__arg; assert__arg = __tmp_119; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_25573; } } 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_25560 = check__tmp; main__c1 = __return_25560; { _Bool __tmp_120; __tmp_120 = main__c1; _Bool assert__arg; assert__arg = __tmp_120; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_25453; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_25370 = check__tmp; main__c1 = __return_25370; { _Bool __tmp_121; __tmp_121 = main__c1; _Bool assert__arg; assert__arg = __tmp_121; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_25336 = check__tmp; main__c1 = __return_25336; { _Bool __tmp_122; __tmp_122 = main__c1; _Bool assert__arg; assert__arg = __tmp_122; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_25416:; p4_new = node4____CPAchecker_TMP_1; 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_25439 = check__tmp; main__c1 = __return_25439; { _Bool __tmp_123; __tmp_123 = main__c1; _Bool assert__arg; assert__arg = __tmp_123; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_25416; } } 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_25403 = check__tmp; main__c1 = __return_25403; { _Bool __tmp_124; __tmp_124 = main__c1; _Bool assert__arg; assert__arg = __tmp_124; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_24577 = check__tmp; main__c1 = __return_24577; { _Bool __tmp_125; __tmp_125 = main__c1; _Bool assert__arg; assert__arg = __tmp_125; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_24543 = check__tmp; main__c1 = __return_24543; { _Bool __tmp_126; __tmp_126 = main__c1; _Bool assert__arg; assert__arg = __tmp_126; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_24623:; p4_new = node4____CPAchecker_TMP_1; 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_24646 = check__tmp; main__c1 = __return_24646; { _Bool __tmp_127; __tmp_127 = main__c1; _Bool assert__arg; assert__arg = __tmp_127; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_24623; } } 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_24610 = check__tmp; main__c1 = __return_24610; { _Bool __tmp_128; __tmp_128 = main__c1; _Bool assert__arg; assert__arg = __tmp_128; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_24422 = check__tmp; main__c1 = __return_24422; { _Bool __tmp_129; __tmp_129 = main__c1; _Bool assert__arg; assert__arg = __tmp_129; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_24388 = check__tmp; main__c1 = __return_24388; { _Bool __tmp_130; __tmp_130 = main__c1; _Bool assert__arg; assert__arg = __tmp_130; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_24468:; p4_new = node4____CPAchecker_TMP_1; 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_24491 = check__tmp; main__c1 = __return_24491; { _Bool __tmp_131; __tmp_131 = main__c1; _Bool assert__arg; assert__arg = __tmp_131; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_24468; } } 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_24455 = check__tmp; main__c1 = __return_24455; { _Bool __tmp_132; __tmp_132 = main__c1; _Bool assert__arg; assert__arg = __tmp_132; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_24814:; 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; p4_new = node4____CPAchecker_TMP_0; 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_24888 = check__tmp; main__c1 = __return_24888; { _Bool __tmp_133; __tmp_133 = main__c1; _Bool assert__arg; assert__arg = __tmp_133; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_24854 = check__tmp; main__c1 = __return_24854; { _Bool __tmp_134; __tmp_134 = main__c1; _Bool assert__arg; assert__arg = __tmp_134; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_24934:; p4_new = node4____CPAchecker_TMP_1; 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_24957 = check__tmp; main__c1 = __return_24957; { _Bool __tmp_135; __tmp_135 = main__c1; _Bool assert__arg; assert__arg = __tmp_135; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_24934; } } 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_24921 = check__tmp; main__c1 = __return_24921; { _Bool __tmp_136; __tmp_136 = main__c1; _Bool assert__arg; assert__arg = __tmp_136; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_24814; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_24731 = check__tmp; main__c1 = __return_24731; { _Bool __tmp_137; __tmp_137 = main__c1; _Bool assert__arg; assert__arg = __tmp_137; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_24697 = check__tmp; main__c1 = __return_24697; { _Bool __tmp_138; __tmp_138 = main__c1; _Bool assert__arg; assert__arg = __tmp_138; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_24777:; p4_new = node4____CPAchecker_TMP_1; 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_24800 = check__tmp; main__c1 = __return_24800; { _Bool __tmp_139; __tmp_139 = main__c1; _Bool assert__arg; assert__arg = __tmp_139; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_24777; } } 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_24764 = check__tmp; main__c1 = __return_24764; { _Bool __tmp_140; __tmp_140 = main__c1; _Bool assert__arg; assert__arg = __tmp_140; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_24972; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; p2_new = node2____CPAchecker_TMP_1; label_25610:; 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; p4_new = node4____CPAchecker_TMP_0; 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_25854 = check__tmp; main__c1 = __return_25854; { _Bool __tmp_141; __tmp_141 = main__c1; _Bool assert__arg; assert__arg = __tmp_141; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_25820 = check__tmp; main__c1 = __return_25820; { _Bool __tmp_142; __tmp_142 = main__c1; _Bool assert__arg; assert__arg = __tmp_142; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_25900:; p4_new = node4____CPAchecker_TMP_1; 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_25923 = check__tmp; main__c1 = __return_25923; { _Bool __tmp_143; __tmp_143 = main__c1; _Bool assert__arg; assert__arg = __tmp_143; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_25900; } } 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_25887 = check__tmp; main__c1 = __return_25887; { _Bool __tmp_144; __tmp_144 = main__c1; _Bool assert__arg; assert__arg = __tmp_144; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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; p4_new = node4____CPAchecker_TMP_0; 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_25699 = check__tmp; main__c1 = __return_25699; { _Bool __tmp_145; __tmp_145 = main__c1; _Bool assert__arg; assert__arg = __tmp_145; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_25665 = check__tmp; main__c1 = __return_25665; { _Bool __tmp_146; __tmp_146 = main__c1; _Bool assert__arg; assert__arg = __tmp_146; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_25745:; p4_new = node4____CPAchecker_TMP_1; 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_25768 = check__tmp; main__c1 = __return_25768; { _Bool __tmp_147; __tmp_147 = main__c1; _Bool assert__arg; assert__arg = __tmp_147; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_25745; } } 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_25732 = check__tmp; main__c1 = __return_25732; { _Bool __tmp_148; __tmp_148 = main__c1; _Bool assert__arg; assert__arg = __tmp_148; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } 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_26091:; 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; p4_new = node4____CPAchecker_TMP_0; 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_26165 = check__tmp; main__c1 = __return_26165; { _Bool __tmp_149; __tmp_149 = main__c1; _Bool assert__arg; assert__arg = __tmp_149; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_26131 = check__tmp; main__c1 = __return_26131; { _Bool __tmp_150; __tmp_150 = main__c1; _Bool assert__arg; assert__arg = __tmp_150; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_26211:; p4_new = node4____CPAchecker_TMP_1; 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_26234 = check__tmp; main__c1 = __return_26234; { _Bool __tmp_151; __tmp_151 = main__c1; _Bool assert__arg; assert__arg = __tmp_151; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_26211; } } 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_26198 = check__tmp; main__c1 = __return_26198; { _Bool __tmp_152; __tmp_152 = main__c1; _Bool assert__arg; assert__arg = __tmp_152; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; goto label_26091; } } 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; p4_new = node4____CPAchecker_TMP_0; 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_26008 = check__tmp; main__c1 = __return_26008; { _Bool __tmp_153; __tmp_153 = main__c1; _Bool assert__arg; assert__arg = __tmp_153; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_0 = p4_new; p4_new = node4____CPAchecker_TMP_0; 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_25974 = check__tmp; main__c1 = __return_25974; { _Bool __tmp_154; __tmp_154 = main__c1; _Bool assert__arg; assert__arg = __tmp_154; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send4) != ((int)id4)) { int node4____CPAchecker_TMP_1; if (send4 != nomsg) { if (p4_new == nomsg) { node4____CPAchecker_TMP_1 = send4; label_26054:; p4_new = node4____CPAchecker_TMP_1; 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_26077 = check__tmp; main__c1 = __return_26077; { _Bool __tmp_155; __tmp_155 = main__c1; _Bool assert__arg; assert__arg = __tmp_155; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } else { return __return_main; } } else { node4____CPAchecker_TMP_1 = p4_new; goto label_26054; } } 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_26041 = check__tmp; main__c1 = __return_26041; { _Bool __tmp_156; __tmp_156 = main__c1; _Bool assert__arg; assert__arg = __tmp_156; if (assert__arg == 0) { return __return_main; } else { int main____CPAchecker_TMP_0 = main__i2; main__i2 = main__i2 + 1; __tmp_19398_0 = main____CPAchecker_TMP_0; goto label_19398; } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } } else { goto label_25610; } } } } } } else { goto label_24316; } } } } } 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; } } }