// 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.3.2.ufo.UNBOUNDED.pals.c.v+sep-reducer.c", 4, "reach_error"); } _Bool __VERIFIER_nondet_bool(); char __VERIFIER_nondet_char(); unsigned char __VERIFIER_nondet_uchar(); void assert(_Bool arg); void abort(void); void assume_abort_if_not(int cond) { if(!cond) {abort();} } typedef char msg_t; typedef int port_t; void read(port_t p, msg_t m); void write(port_t p, msg_t m); msg_t nomsg = (msg_t )-1; unsigned char r1 = '\x0'; port_t p1 = 0; char p1_old = '\x0'; char p1_new = '\x0'; char id1 = '\x0'; char st1 = '\x0'; msg_t send1 = '\x0'; _Bool mode1 = 0; _Bool alive1 = 0; port_t p2 = 0; char p2_old = '\x0'; char p2_new = '\x0'; char id2 = '\x0'; char st2 = '\x0'; msg_t send2 = '\x0'; _Bool mode2 = 0; _Bool alive2 = 0; port_t p3 = 0; char p3_old = '\x0'; char p3_new = '\x0'; char id3 = '\x0'; char st3 = '\x0'; msg_t send3 = '\x0'; _Bool mode3 = 0; _Bool alive3 = 0; void node1(); void node2(); void node3(); void (*nodes[3])() = { &node1, &node2, &node3 }; int init(); int check(); int main(); int __return_103; int __return_1471; int __return_4374; int __return_1461; int __return_4237; int __return_1491; int __return_1481; int __return_1431; int __return_3928; int __return_1421; int __return_3817; int __return_1451; int __return_4126; int __return_1441; int __return_4015; int __return_1551; int __return_1541; int __return_1571; int __return_1561; int __return_1511; int __return_1501; int __return_1531; int __return_1521; int __return_1311; int __return_2996; int __return_1301; int __return_2885; int __return_1331; int __return_1321; int __return_1271; int __return_2650; int __return_1261; int __return_2563; int __return_1291; int __return_2798; int __return_1281; int __return_2711; int __return_1391; int __return_3610; int __return_1381; int __return_3499; int __return_1411; int __return_1401; int __return_1351; int __return_3264; int __return_1341; int __return_3177; int __return_1371; int __return_3412; int __return_1361; int __return_3325; int __return_1151; int __return_1141; int __return_2061; int __return_1171; int __return_1161; int __return_1111; int __return_1101; int __return_1867; int __return_5061; int __return_1131; int __return_1121; int __return_1951; int __return_1231; int __return_1221; int __return_2409; int __return_1251; int __return_1241; int __return_1191; int __return_1181; int __return_2215; int __return_1211; int __return_1201; int __return_2299; int main() { int main__c1; int main__i2; main__c1 = 0; r1 = __VERIFIER_nondet_uchar(); id1 = __VERIFIER_nondet_char(); st1 = __VERIFIER_nondet_char(); send1 = __VERIFIER_nondet_char(); mode1 = __VERIFIER_nondet_bool(); alive1 = __VERIFIER_nondet_bool(); id2 = __VERIFIER_nondet_char(); st2 = __VERIFIER_nondet_char(); send2 = __VERIFIER_nondet_char(); mode2 = __VERIFIER_nondet_bool(); alive2 = __VERIFIER_nondet_bool(); id3 = __VERIFIER_nondet_char(); st3 = __VERIFIER_nondet_char(); send3 = __VERIFIER_nondet_char(); mode3 = __VERIFIER_nondet_bool(); alive3 = __VERIFIER_nondet_bool(); { int init__tmp; if (((int)r1) == 0) { if (((((int)alive1) + ((int)alive2)) + ((int)alive3)) >= 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)id1) != ((int)id2)) { if (((int)id1) != ((int)id3)) { if (((int)id2) != ((int)id3)) { init__tmp = 1; __return_103 = init__tmp; main__i2 = __return_103; if (main__i2 != 0) { p1_old = nomsg; p1_new = nomsg; p2_old = nomsg; p2_new = nomsg; p3_old = nomsg; p3_new = nomsg; main__i2 = 0; { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; 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; 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1471 = check__tmp; main__c1 = __return_1471; { _Bool __tmp_1; __tmp_1 = main__c1; _Bool assert__arg; assert__arg = __tmp_1; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_4263; } 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; goto label_4301; } 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; goto label_4339; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { return __return_main; } else { check__tmp = 0; __return_4374 = check__tmp; main__c1 = __return_4374; label_4375:; { _Bool __tmp_2; __tmp_2 = main__c1; _Bool assert__arg; assert__arg = __tmp_2; if (assert__arg == 0) { {reach_error();} return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { r1 = 2; goto label_5837; } else { label_5837:; r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_5851; } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_5851; } else { label_5851:; goto label_5844; } } } else { send1 = node1__m1; goto label_5844; } } else { label_5844:; mode1 = 0; label_5860:; goto label_5155; } } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; goto label_5868; } else { goto label_5865; } } else { label_5865:; node1____CPAchecker_TMP_0 = p1_new; label_5868:; p1_new = node1____CPAchecker_TMP_0; goto label_5861; } } else { label_5861:; mode1 = 1; goto label_5860; } } } } } } } } else { label_4339:; mode3 = 0; goto label_4356; } } } else { send3 = node3__m3; mode3 = 0; goto label_4356; } } else { mode3 = 0; label_4356:; goto label_3915; } } else { return __return_main; } } } else { label_4301:; mode2 = 0; goto label_4318; } } } else { send2 = node2__m2; mode2 = 0; goto label_4318; } } else { mode2 = 0; label_4318:; goto label_2945; } } else { return __return_main; } } } else { label_4263:; mode1 = 0; goto label_4280; } } } else { send1 = node1__m1; mode1 = 0; goto label_4280; } } else { mode1 = 0; label_4280:; goto label_4148; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1461 = check__tmp; main__c1 = __return_1461; { _Bool __tmp_3; __tmp_3 = main__c1; _Bool assert__arg; assert__arg = __tmp_3; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_4148:; { 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; goto label_4164; } 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; goto label_4202; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { return __return_main; } else { check__tmp = 0; __return_4237 = check__tmp; main__c1 = __return_4237; { _Bool __tmp_4; __tmp_4 = main__c1; _Bool assert__arg; assert__arg = __tmp_4; if (assert__arg == 0) { {reach_error();} return __return_main; } else { return __return_main; } } } } } else { label_4202:; mode3 = 0; goto label_4219; } } } else { send3 = node3__m3; mode3 = 0; goto label_4219; } } else { mode3 = 0; label_4219:; goto label_3802; } } else { return __return_main; } } } else { label_4164:; mode2 = 0; goto label_4181; } } } else { send2 = node2__m2; mode2 = 0; goto label_4181; } } else { mode2 = 0; label_4181:; goto label_2832; } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_697; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_697:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1491 = check__tmp; main__c1 = __return_1491; { _Bool __tmp_5; __tmp_5 = main__c1; _Bool assert__arg; assert__arg = __tmp_5; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_4476; } 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; goto label_4514; } 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_4553; } } else { mode3 = 0; label_4553:; goto label_4113; } } else { return __return_main; } } } else { label_4514:; mode2 = 0; goto label_4531; } } } else { send2 = node2__m2; mode2 = 0; goto label_4531; } } else { mode2 = 0; label_4531:; goto label_3103; } } else { return __return_main; } } } else { label_4476:; mode1 = 0; goto label_4493; } } } else { send1 = node1__m1; mode1 = 0; goto label_4493; } } else { mode1 = 0; label_4493:; goto label_4399; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1481 = check__tmp; main__c1 = __return_1481; { _Bool __tmp_6; __tmp_6 = main__c1; _Bool assert__arg; assert__arg = __tmp_6; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_4399:; { 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; goto label_4415; } 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_4454; } } else { mode3 = 0; label_4454:; goto label_4000; } } else { return __return_main; } } } else { label_4415:; mode2 = 0; goto label_4432; } } } else { send2 = node2__m2; mode2 = 0; goto label_4432; } } else { mode2 = 0; label_4432:; goto label_3030; } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1431 = check__tmp; main__c1 = __return_1431; { _Bool __tmp_7; __tmp_7 = main__c1; _Bool assert__arg; assert__arg = __tmp_7; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_3843; } 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; goto label_3881; } 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)) { return __return_main; } else { mode3 = 0; label_3915:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { return __return_main; } else { check__tmp = 0; __return_3928 = check__tmp; main__c1 = __return_3928; { _Bool __tmp_8; __tmp_8 = main__c1; _Bool assert__arg; assert__arg = __tmp_8; if (assert__arg == 0) { {reach_error();} return __return_main; } else { return __return_main; } } } } } } else { return __return_main; } } } else { label_3881:; mode2 = 0; goto label_3898; } } } else { send2 = node2__m2; mode2 = 0; goto label_3898; } } else { mode2 = 0; label_3898:; goto label_2623; } } else { return __return_main; } } } else { label_3843:; mode1 = 0; goto label_3860; } } } else { send1 = node1__m1; mode1 = 0; goto label_3860; } } else { mode1 = 0; label_3860:; goto label_3752; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1421 = check__tmp; main__c1 = __return_1421; { _Bool __tmp_9; __tmp_9 = main__c1; _Bool assert__arg; assert__arg = __tmp_9; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_3752:; { 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; goto label_3768; } 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)) { return __return_main; } else { mode3 = 0; label_3802:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_3817 = check__tmp; main__c1 = __return_3817; { _Bool __tmp_10; __tmp_10 = main__c1; _Bool assert__arg; assert__arg = __tmp_10; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { r1 = 2; goto label_5766; } else { label_5766:; r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_5780; } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_5780; } else { label_5780:; goto label_5773; } } } else { send1 = node1__m1; goto label_5773; } } else { label_5773:; mode1 = 0; label_5789:; goto label_5155; } } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; goto label_5797; } else { goto label_5794; } } else { label_5794:; node1____CPAchecker_TMP_0 = p1_new; label_5797:; p1_new = node1____CPAchecker_TMP_0; goto label_5790; } } else { label_5790:; mode1 = 1; goto label_5789; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } else { label_3768:; mode2 = 0; goto label_3785; } } } else { send2 = node2__m2; mode2 = 0; goto label_3785; } } else { mode2 = 0; label_3785:; goto label_2536; } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_653; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_653:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1451 = check__tmp; main__c1 = __return_1451; { _Bool __tmp_11; __tmp_11 = main__c1; _Bool assert__arg; assert__arg = __tmp_11; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_4041; } 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; goto label_4079; } 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)) { return __return_main; } else { mode3 = 0; label_4113:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { return __return_main; } else { check__tmp = 0; __return_4126 = check__tmp; main__c1 = __return_4126; { _Bool __tmp_12; __tmp_12 = main__c1; _Bool assert__arg; assert__arg = __tmp_12; if (assert__arg == 0) { {reach_error();} return __return_main; } else { return __return_main; } } } } } } else { return __return_main; } } } else { label_4079:; mode2 = 0; goto label_4096; } } } else { send2 = node2__m2; mode2 = 0; goto label_4096; } } else { mode2 = 0; label_4096:; goto label_2771; } } else { return __return_main; } } } else { label_4041:; mode1 = 0; goto label_4058; } } } else { send1 = node1__m1; mode1 = 0; goto label_4058; } } else { mode1 = 0; label_4058:; goto label_3950; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1441 = check__tmp; main__c1 = __return_1441; { _Bool __tmp_13; __tmp_13 = main__c1; _Bool assert__arg; assert__arg = __tmp_13; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_3950:; { 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; goto label_3966; } 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)) { return __return_main; } else { mode3 = 0; label_4000:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_4015 = check__tmp; main__c1 = __return_4015; { _Bool __tmp_14; __tmp_14 = main__c1; _Bool assert__arg; assert__arg = __tmp_14; if (assert__arg == 0) { return __return_main; } else { { 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; goto label_5819; } else { goto label_5816; } } else { label_5816:; node1____CPAchecker_TMP_0 = p1_new; label_5819:; p1_new = node1____CPAchecker_TMP_0; mode1 = 1; goto label_5823; } } else { mode1 = 1; label_5823:; goto label_5155; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } else { label_3966:; mode2 = 0; goto label_3983; } } } else { send2 = node2__m2; mode2 = 0; goto label_3983; } } else { mode2 = 0; label_3983:; goto label_2684; } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_257; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; label_257:; p2_new = node2____CPAchecker_TMP_1; 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1551 = check__tmp; main__c1 = __return_1551; { _Bool __tmp_15; __tmp_15 = main__c1; _Bool assert__arg; assert__arg = __tmp_15; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_4802; } 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4841; } } else { mode2 = 0; label_4841:; goto label_3559; } } else { return __return_main; } } } else { label_4802:; mode1 = 0; goto label_4819; } } } else { send1 = node1__m1; mode1 = 0; goto label_4819; } } else { mode1 = 0; label_4819:; goto label_4763; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1541 = check__tmp; main__c1 = __return_1541; { _Bool __tmp_16; __tmp_16 = main__c1; _Bool assert__arg; assert__arg = __tmp_16; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_4763:; { 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4780; } } else { mode2 = 0; label_4780:; goto label_3446; } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_785; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_785:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1571 = check__tmp; main__c1 = __return_1571; { _Bool __tmp_17; __tmp_17 = main__c1; _Bool assert__arg; assert__arg = __tmp_17; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_4898; } 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4937; } } else { mode2 = 0; label_4937:; goto label_3717; } } else { return __return_main; } } } else { label_4898:; mode1 = 0; goto label_4915; } } } else { send1 = node1__m1; mode1 = 0; goto label_4915; } } else { mode1 = 0; label_4915:; goto label_4859; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1561 = check__tmp; main__c1 = __return_1561; { _Bool __tmp_18; __tmp_18 = main__c1; _Bool assert__arg; assert__arg = __tmp_18; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_4859:; { 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4876; } } else { mode2 = 0; label_4876:; goto label_3644; } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1511 = check__tmp; main__c1 = __return_1511; { _Bool __tmp_19; __tmp_19 = main__c1; _Bool assert__arg; assert__arg = __tmp_19; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_4610; } 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4649; } } else { mode2 = 0; label_4649:; goto label_3237; } } else { return __return_main; } } } else { label_4610:; mode1 = 0; goto label_4627; } } } else { send1 = node1__m1; mode1 = 0; goto label_4627; } } else { mode1 = 0; label_4627:; goto label_4571; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1501 = check__tmp; main__c1 = __return_1501; { _Bool __tmp_20; __tmp_20 = main__c1; _Bool assert__arg; assert__arg = __tmp_20; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_4571:; { 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4588; } } else { mode2 = 0; label_4588:; goto label_3150; } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_741; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_741:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1531 = check__tmp; main__c1 = __return_1531; { _Bool __tmp_21; __tmp_21 = main__c1; _Bool assert__arg; assert__arg = __tmp_21; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_4706; } 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4745; } } else { mode2 = 0; label_4745:; goto label_3385; } } else { return __return_main; } } } else { label_4706:; mode1 = 0; goto label_4723; } } } else { send1 = node1__m1; mode1 = 0; goto label_4723; } } else { mode1 = 0; label_4723:; goto label_4667; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1521 = check__tmp; main__c1 = __return_1521; { _Bool __tmp_22; __tmp_22 = main__c1; _Bool assert__arg; assert__arg = __tmp_22; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_4667:; { 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)) { return __return_main; } else { send2 = node2__m2; mode2 = 0; goto label_4684; } } else { mode2 = 0; label_4684:; goto label_3298; } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } } } } } } } } 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; 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1311 = check__tmp; main__c1 = __return_1311; { _Bool __tmp_23; __tmp_23 = main__c1; _Bool assert__arg; assert__arg = __tmp_23; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_2911; } 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)) { return __return_main; } else { mode2 = 0; label_2945:; { 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; goto label_2961; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { return __return_main; } else { check__tmp = 0; __return_2996 = check__tmp; main__c1 = __return_2996; { _Bool __tmp_24; __tmp_24 = main__c1; _Bool assert__arg; assert__arg = __tmp_24; if (assert__arg == 0) { {reach_error();} return __return_main; } else { return __return_main; } } } } } else { label_2961:; mode3 = 0; goto label_2978; } } } else { send3 = node3__m3; mode3 = 0; goto label_2978; } } else { mode3 = 0; label_2978:; goto label_2635; } } else { return __return_main; } } } } else { return __return_main; } } } else { label_2911:; mode1 = 0; goto label_2928; } } } else { send1 = node1__m1; mode1 = 0; goto label_2928; } } else { mode1 = 0; label_2928:; goto label_2820; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1301 = check__tmp; main__c1 = __return_1301; { _Bool __tmp_25; __tmp_25 = main__c1; _Bool assert__arg; assert__arg = __tmp_25; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2820:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_2832:; { 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; goto label_2848; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2885 = check__tmp; main__c1 = __return_2885; { _Bool __tmp_26; __tmp_26 = main__c1; _Bool assert__arg; assert__arg = __tmp_26; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { r1 = 2; goto label_5457; } else { label_5457:; r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_5471; } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_5471; } else { label_5471:; goto label_5464; } } } else { send1 = node1__m1; goto label_5464; } } else { label_5464:; mode1 = 0; label_5480:; goto label_5155; } } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; goto label_5488; } else { goto label_5485; } } else { label_5485:; node1____CPAchecker_TMP_0 = p1_new; label_5488:; p1_new = node1____CPAchecker_TMP_0; goto label_5481; } } else { label_5481:; mode1 = 1; goto label_5480; } } } } } } else { return __return_main; } } else { return __return_main; } } } else { label_2848:; mode3 = 0; goto label_2865; } } } else { send3 = node3__m3; mode3 = 0; goto label_2865; } } else { mode3 = 0; label_2865:; goto label_2548; } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_521; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_521:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1331 = check__tmp; main__c1 = __return_1331; { _Bool __tmp_27; __tmp_27 = main__c1; _Bool assert__arg; assert__arg = __tmp_27; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_3069; } 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)) { return __return_main; } else { mode2 = 0; label_3103:; { 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_3120; } } else { mode3 = 0; label_3120:; goto label_2783; } } else { return __return_main; } } } } else { return __return_main; } } } else { label_3069:; mode1 = 0; goto label_3086; } } } else { send1 = node1__m1; mode1 = 0; goto label_3086; } } else { mode1 = 0; label_3086:; goto label_3018; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1321 = check__tmp; main__c1 = __return_1321; { _Bool __tmp_28; __tmp_28 = main__c1; _Bool assert__arg; assert__arg = __tmp_28; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_3018:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_3030:; { 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_3047; } } else { mode3 = 0; label_3047:; goto label_2696; } } 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 { 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1271 = check__tmp; main__c1 = __return_1271; { _Bool __tmp_29; __tmp_29 = main__c1; _Bool assert__arg; assert__arg = __tmp_29; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_2589; } 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)) { return __return_main; } else { mode2 = 0; label_2623:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_2635:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2650 = check__tmp; main__c1 = __return_2650; { _Bool __tmp_30; __tmp_30 = main__c1; _Bool assert__arg; assert__arg = __tmp_30; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { r1 = 2; goto label_5331; } else { label_5331:; r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_5345; } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_5345; } else { label_5345:; goto label_5338; } } } else { send1 = node1__m1; goto label_5338; } } else { label_5338:; mode1 = 0; label_5354:; goto label_5155; } } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; goto label_5362; } else { goto label_5359; } } else { label_5359:; node1____CPAchecker_TMP_0 = p1_new; label_5362:; p1_new = node1____CPAchecker_TMP_0; goto label_5355; } } else { label_5355:; mode1 = 1; goto label_5354; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } else { label_2589:; mode1 = 0; goto label_2606; } } } else { send1 = node1__m1; mode1 = 0; goto label_2606; } } else { mode1 = 0; label_2606:; goto label_2524; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1261 = check__tmp; main__c1 = __return_1261; { _Bool __tmp_31; __tmp_31 = main__c1; _Bool assert__arg; assert__arg = __tmp_31; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2524:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_2536:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_2548:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2563 = check__tmp; main__c1 = __return_2563; { _Bool __tmp_32; __tmp_32 = main__c1; _Bool assert__arg; assert__arg = __tmp_32; if (assert__arg == 0) { return __return_main; } else { { 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; goto label_5312; } else { return __return_main; } } else { node1____CPAchecker_TMP_0 = p1_new; p1_new = node1____CPAchecker_TMP_0; label_5312:; mode1 = 1; goto label_5155; } } else { mode1 = 1; goto label_4951; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; goto label_477; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_477:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1291 = check__tmp; main__c1 = __return_1291; { _Bool __tmp_33; __tmp_33 = main__c1; _Bool assert__arg; assert__arg = __tmp_33; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_2737; } 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)) { return __return_main; } else { mode2 = 0; label_2771:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_2783:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2798 = check__tmp; main__c1 = __return_2798; { _Bool __tmp_34; __tmp_34 = main__c1; _Bool assert__arg; assert__arg = __tmp_34; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { r1 = 2; goto label_5409; } else { label_5409:; r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_5423; } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_5423; } else { label_5423:; goto label_5416; } } } else { send1 = node1__m1; goto label_5416; } } else { label_5416:; mode1 = 0; label_5432:; goto label_5155; } } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; goto label_5440; } else { goto label_5437; } } else { label_5437:; node1____CPAchecker_TMP_0 = p1_new; label_5440:; p1_new = node1____CPAchecker_TMP_0; goto label_5433; } } else { label_5433:; mode1 = 1; goto label_5432; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } else { label_2737:; mode1 = 0; goto label_2754; } } } else { send1 = node1__m1; mode1 = 0; goto label_2754; } } else { mode1 = 0; label_2754:; goto label_2672; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1281 = check__tmp; main__c1 = __return_1281; { _Bool __tmp_35; __tmp_35 = main__c1; _Bool assert__arg; assert__arg = __tmp_35; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2672:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_2684:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_2696:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2711 = check__tmp; main__c1 = __return_2711; { _Bool __tmp_36; __tmp_36 = main__c1; _Bool assert__arg; assert__arg = __tmp_36; if (assert__arg == 0) { return __return_main; } else { { 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; mode1 = 1; goto label_5396; } else { return __return_main; } } else { node1____CPAchecker_TMP_0 = p1_new; p1_new = node1____CPAchecker_TMP_0; mode1 = 1; label_5396:; goto label_5155; } } else { mode1 = 1; goto label_5074; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; goto label_213; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; label_213:; p2_new = node2____CPAchecker_TMP_1; 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1391 = check__tmp; main__c1 = __return_1391; { _Bool __tmp_37; __tmp_37 = main__c1; _Bool assert__arg; assert__arg = __tmp_37; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_3525; } 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)) { return __return_main; } else { mode2 = 0; label_3559:; { 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; goto label_3575; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { return __return_main; } else { check__tmp = 0; __return_3610 = check__tmp; main__c1 = __return_3610; { _Bool __tmp_38; __tmp_38 = main__c1; _Bool assert__arg; assert__arg = __tmp_38; if (assert__arg == 0) { {reach_error();} return __return_main; } else { return __return_main; } } } } } else { label_3575:; mode3 = 0; goto label_3592; } } } else { send3 = node3__m3; mode3 = 0; goto label_3592; } } else { mode3 = 0; label_3592:; goto label_3249; } } else { return __return_main; } } } } else { return __return_main; } } } else { label_3525:; mode1 = 0; goto label_3542; } } } else { send1 = node1__m1; mode1 = 0; goto label_3542; } } else { mode1 = 0; label_3542:; goto label_3434; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1381 = check__tmp; main__c1 = __return_1381; { _Bool __tmp_39; __tmp_39 = main__c1; _Bool assert__arg; assert__arg = __tmp_39; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_3434:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_3446:; { 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; goto label_3462; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_3499 = check__tmp; main__c1 = __return_3499; { _Bool __tmp_40; __tmp_40 = main__c1; _Bool assert__arg; assert__arg = __tmp_40; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { r1 = 2; goto label_5718; } else { label_5718:; r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_5732; } else { if (((int)node1__m1) == ((int)id1)) { st1 = 1; goto label_5732; } else { label_5732:; goto label_5725; } } } else { send1 = node1__m1; goto label_5725; } } else { label_5725:; mode1 = 0; label_5741:; goto label_5155; } } } else { if (!(alive1 == 0)) { int node1____CPAchecker_TMP_0; if (send1 != nomsg) { if (p1_new == nomsg) { node1____CPAchecker_TMP_0 = send1; goto label_5749; } else { goto label_5746; } } else { label_5746:; node1____CPAchecker_TMP_0 = p1_new; label_5749:; p1_new = node1____CPAchecker_TMP_0; goto label_5742; } } else { label_5742:; mode1 = 1; goto label_5741; } } } } } } else { return __return_main; } } else { return __return_main; } } } else { label_3462:; mode3 = 0; goto label_3479; } } } else { send3 = node3__m3; mode3 = 0; goto label_3479; } } else { mode3 = 0; label_3479:; goto label_3162; } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_609; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_609:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1411 = check__tmp; main__c1 = __return_1411; { _Bool __tmp_41; __tmp_41 = main__c1; _Bool assert__arg; assert__arg = __tmp_41; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_3683; } 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)) { return __return_main; } else { mode2 = 0; label_3717:; { 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_3734; } } else { mode3 = 0; label_3734:; goto label_3397; } } else { return __return_main; } } } } else { return __return_main; } } } else { label_3683:; mode1 = 0; goto label_3700; } } } else { send1 = node1__m1; mode1 = 0; goto label_3700; } } else { mode1 = 0; label_3700:; goto label_3632; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1401 = check__tmp; main__c1 = __return_1401; { _Bool __tmp_42; __tmp_42 = main__c1; _Bool assert__arg; assert__arg = __tmp_42; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_3632:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_3644:; { 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_3661; } } else { mode3 = 0; label_3661:; goto label_3310; } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1351 = check__tmp; main__c1 = __return_1351; { _Bool __tmp_43; __tmp_43 = main__c1; _Bool assert__arg; assert__arg = __tmp_43; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_3203; } 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)) { return __return_main; } else { mode2 = 0; label_3237:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_3249:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_3264 = check__tmp; main__c1 = __return_3264; { _Bool __tmp_44; __tmp_44 = main__c1; _Bool assert__arg; assert__arg = __tmp_44; if (assert__arg == 0) { return __return_main; } else { { 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; goto label_5540; } else { goto label_5537; } } else { label_5537:; node1____CPAchecker_TMP_0 = p1_new; label_5540:; p1_new = node1____CPAchecker_TMP_0; mode1 = 1; goto label_5544; } } else { mode1 = 1; label_5544:; goto label_5155; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } else { label_3203:; mode1 = 0; goto label_3220; } } } else { send1 = node1__m1; mode1 = 0; goto label_3220; } } else { mode1 = 0; label_3220:; goto label_3138; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1341 = check__tmp; main__c1 = __return_1341; { _Bool __tmp_45; __tmp_45 = main__c1; _Bool assert__arg; assert__arg = __tmp_45; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_3138:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_3150:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_3162:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_3177 = check__tmp; main__c1 = __return_3177; { _Bool __tmp_46; __tmp_46 = main__c1; _Bool assert__arg; assert__arg = __tmp_46; if (assert__arg == 0) { return __return_main; } else { { 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; mode1 = 1; goto label_5522; } else { return __return_main; } } else { node1____CPAchecker_TMP_0 = p1_new; p1_new = node1____CPAchecker_TMP_0; mode1 = 1; label_5522:; goto label_5155; } } else { mode1 = 1; goto label_5220; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; goto label_565; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_565:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1371 = check__tmp; main__c1 = __return_1371; { _Bool __tmp_47; __tmp_47 = main__c1; _Bool assert__arg; assert__arg = __tmp_47; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { if (((int)node1__m1) > ((int)id1)) { send1 = node1__m1; goto label_3351; } 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)) { return __return_main; } else { mode2 = 0; label_3385:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_3397:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_3412 = check__tmp; main__c1 = __return_3412; { _Bool __tmp_48; __tmp_48 = main__c1; _Bool assert__arg; assert__arg = __tmp_48; if (assert__arg == 0) { return __return_main; } else { { 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; goto label_5700; } else { goto label_5697; } } else { label_5697:; node1____CPAchecker_TMP_0 = p1_new; label_5700:; p1_new = node1____CPAchecker_TMP_0; mode1 = 1; goto label_5704; } } else { mode1 = 1; label_5704:; goto label_5155; } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } else { label_3351:; mode1 = 0; goto label_3368; } } } else { send1 = node1__m1; mode1 = 0; goto label_3368; } } else { mode1 = 0; label_3368:; goto label_3286; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1361 = check__tmp; main__c1 = __return_1361; { _Bool __tmp_49; __tmp_49 = main__c1; _Bool assert__arg; assert__arg = __tmp_49; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_3286:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { mode2 = 0; label_3298:; { msg_t node3__m3; node3__m3 = nomsg; if (!(mode3 == 0)) { node3__m3 = p2_old; p2_old = nomsg; if (((int)node3__m3) != ((int)nomsg)) { return __return_main; } else { mode3 = 0; label_3310:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_3325 = check__tmp; main__c1 = __return_3325; { _Bool __tmp_50; __tmp_50 = main__c1; _Bool assert__arg; assert__arg = __tmp_50; if (assert__arg == 0) { return __return_main; } else { { 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; mode1 = 1; { 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; goto label_5649; } else { if (((int)node2__m2) == ((int)id2)) { st2 = 1; goto label_5649; } else { label_5649:; goto label_5642; } } } else { send2 = node2__m2; goto label_5642; } } else { label_5642:; mode2 = 0; label_5658:; goto label_4983; } } else { if (!(alive2 == 0)) { int node2____CPAchecker_TMP_0; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_0 = send2; goto label_5666; } else { goto label_5663; } } else { label_5663:; node2____CPAchecker_TMP_0 = p2_new; label_5666:; p2_new = node2____CPAchecker_TMP_0; label_5669:; mode2 = 1; goto label_5658; } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; goto label_5678; } else { goto label_5675; } } else { label_5675:; node2____CPAchecker_TMP_1 = p2_new; label_5678:; p2_new = node2____CPAchecker_TMP_1; goto label_5669; } } else { goto label_5669; } } } } } 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)) { 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; goto label_5596; } else { if (((int)node2__m2) == ((int)id2)) { st2 = 1; goto label_5596; } else { label_5596:; goto label_5589; } } } else { send2 = node2__m2; goto label_5589; } } else { label_5589:; mode2 = 0; label_5605:; goto label_4983; } } else { if (!(alive2 == 0)) { int node2____CPAchecker_TMP_0; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_0 = send2; goto label_5613; } else { goto label_5610; } } else { label_5610:; node2____CPAchecker_TMP_0 = p2_new; label_5613:; p2_new = node2____CPAchecker_TMP_0; label_5616:; mode2 = 1; goto label_5605; } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; goto label_5625; } else { goto label_5622; } } else { label_5622:; node2____CPAchecker_TMP_1 = p2_new; label_5625:; p2_new = node2____CPAchecker_TMP_1; goto label_5616; } } else { goto label_5616; } } } } } } else { mode1 = 1; goto label_5257; } } } } } } 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 { 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; 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1151 = check__tmp; main__c1 = __return_1151; { _Bool __tmp_51; __tmp_51 = main__c1; _Bool assert__arg; assert__arg = __tmp_51; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_2088; } } else { mode1 = 0; label_2088:; goto label_1996; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1141 = check__tmp; main__c1 = __return_1141; { _Bool __tmp_52; __tmp_52 = main__c1; _Bool assert__arg; assert__arg = __tmp_52; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_1996:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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; goto label_2024; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2061 = check__tmp; main__c1 = __return_2061; { _Bool __tmp_53; __tmp_53 = main__c1; _Bool assert__arg; assert__arg = __tmp_53; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { return __return_main; } else { mode1 = 1; label_5155:; { 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; goto label_5172; } else { if (((int)node2__m2) == ((int)id2)) { st2 = 1; goto label_5172; } else { label_5172:; goto label_5165; } } } else { send2 = node2__m2; goto label_5165; } } else { label_5165:; mode2 = 0; label_5181:; goto label_4983; } } else { if (!(alive2 == 0)) { int node2____CPAchecker_TMP_0; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_0 = send2; goto label_5189; } else { goto label_5186; } } else { label_5186:; node2____CPAchecker_TMP_0 = p2_new; label_5189:; p2_new = node2____CPAchecker_TMP_0; label_5192:; mode2 = 1; goto label_5181; } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; goto label_5201; } else { goto label_5198; } } else { label_5198:; node2____CPAchecker_TMP_1 = p2_new; label_5201:; p2_new = node2____CPAchecker_TMP_1; goto label_5192; } } else { goto label_5192; } } } } } } } } } } else { return __return_main; } } else { return __return_main; } } } else { label_2024:; mode3 = 0; goto label_2041; } } } else { send3 = node3__m3; mode3 = 0; goto label_2041; } } else { mode3 = 0; label_2041:; goto label_1852; } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_345; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_345:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1171 = check__tmp; main__c1 = __return_1171; { _Bool __tmp_54; __tmp_54 = main__c1; _Bool assert__arg; assert__arg = __tmp_54; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_2158; } } else { mode1 = 0; label_2158:; goto label_2106; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1161 = check__tmp; main__c1 = __return_1161; { _Bool __tmp_55; __tmp_55 = main__c1; _Bool assert__arg; assert__arg = __tmp_55; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2106:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_2135; } } else { mode3 = 0; label_2135:; goto label_1936; } } 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 { 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1111 = check__tmp; main__c1 = __return_1111; { _Bool __tmp_56; __tmp_56 = main__c1; _Bool assert__arg; assert__arg = __tmp_56; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_1894; } } else { mode1 = 0; label_1894:; goto label_1828; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1101 = check__tmp; main__c1 = __return_1101; { _Bool __tmp_57; __tmp_57 = main__c1; _Bool assert__arg; assert__arg = __tmp_57; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_1828:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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)) { return __return_main; } else { mode3 = 0; label_1852:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1867 = check__tmp; main__c1 = __return_1867; { _Bool __tmp_58; __tmp_58 = main__c1; _Bool assert__arg; assert__arg = __tmp_58; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { return __return_main; } else { mode1 = 1; label_4951:; { 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; goto label_4963; } else { return __return_main; } } else { node2____CPAchecker_TMP_0 = p2_new; label_4963:; p2_new = node2____CPAchecker_TMP_0; label_4966:; mode2 = 1; label_4979:; label_4983:; { 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; goto label_5000; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; goto label_5000; } else { label_5000:; goto label_4993; } } } else { send3 = node3__m3; goto label_4993; } } else { label_4993:; mode3 = 0; label_5009:; label_5036:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; goto label_5055; } else { if (((((int)st1) + ((int)st2)) + ((int)st3)) == 1) { check__tmp = 1; goto label_5055; } else { check__tmp = 0; label_5055:; goto label_5049; } } } else { check__tmp = 0; label_5049:; __return_5061 = check__tmp; main__c1 = __return_5061; goto label_4375; } } } } else { if (!(alive3 == 0)) { int node3____CPAchecker_TMP_0; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_0 = send3; goto label_5017; } else { goto label_5014; } } else { label_5014:; node3____CPAchecker_TMP_0 = p3_new; label_5017:; p3_new = node3____CPAchecker_TMP_0; label_5020:; mode3 = 1; goto label_5009; } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; goto label_5029; } else { goto label_5026; } } else { label_5026:; node3____CPAchecker_TMP_1 = p3_new; label_5029:; p3_new = node3____CPAchecker_TMP_1; goto label_5020; } } else { goto label_5020; } } } } } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; goto label_4975; } else { goto label_4972; } } else { label_4972:; node2____CPAchecker_TMP_1 = p2_new; label_4975:; p2_new = node2____CPAchecker_TMP_1; goto label_4966; } } else { mode2 = 1; goto label_4979; } } } } } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; goto label_301; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_301:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1131 = check__tmp; main__c1 = __return_1131; { _Bool __tmp_59; __tmp_59 = main__c1; _Bool assert__arg; assert__arg = __tmp_59; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_1978; } } else { mode1 = 0; label_1978:; goto label_1912; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1121 = check__tmp; main__c1 = __return_1121; { _Bool __tmp_60; __tmp_60 = main__c1; _Bool assert__arg; assert__arg = __tmp_60; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_1912:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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)) { return __return_main; } else { mode3 = 0; label_1936:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1951 = check__tmp; main__c1 = __return_1951; { _Bool __tmp_61; __tmp_61 = main__c1; _Bool assert__arg; assert__arg = __tmp_61; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { return __return_main; } else { mode1 = 1; label_5074:; { 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_5091:; mode2 = 1; goto label_5103; } else { return __return_main; } } else { node2____CPAchecker_TMP_0 = p2_new; p2_new = node2____CPAchecker_TMP_0; mode2 = 1; label_5103:; goto label_4983; } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; goto label_5099; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; label_5099:; p2_new = node2____CPAchecker_TMP_1; goto label_5091; } } else { mode2 = 1; label_5111:; { 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; goto label_5124; } else { goto label_5121; } } else { label_5121:; node3____CPAchecker_TMP_0 = p3_new; label_5124:; p3_new = node3____CPAchecker_TMP_0; label_5127:; mode3 = 1; goto label_5036; } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; goto label_5136; } else { goto label_5133; } } else { label_5133:; node3____CPAchecker_TMP_1 = p3_new; label_5136:; p3_new = node3____CPAchecker_TMP_1; goto label_5127; } } else { goto label_5127; } } } } } } } } } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { if (((int)send2) != ((int)id2)) { int node2____CPAchecker_TMP_1; if (send2 != nomsg) { if (p2_new == nomsg) { node2____CPAchecker_TMP_1 = send2; goto label_169; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; label_169:; p2_new = node2____CPAchecker_TMP_1; 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1231 = check__tmp; main__c1 = __return_1231; { _Bool __tmp_62; __tmp_62 = main__c1; _Bool assert__arg; assert__arg = __tmp_62; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_2436; } } else { mode1 = 0; label_2436:; goto label_2344; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1221 = check__tmp; main__c1 = __return_1221; { _Bool __tmp_63; __tmp_63 = main__c1; _Bool assert__arg; assert__arg = __tmp_63; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2344:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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; goto label_2372; } else { if (((int)node3__m3) == ((int)id3)) { st3 = 1; mode3 = 0; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2409 = check__tmp; main__c1 = __return_2409; { _Bool __tmp_64; __tmp_64 = main__c1; _Bool assert__arg; assert__arg = __tmp_64; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { return __return_main; } else { mode1 = 1; goto label_5155; } } } } } } else { return __return_main; } } else { return __return_main; } } } else { label_2372:; mode3 = 0; goto label_2389; } } } else { send3 = node3__m3; mode3 = 0; goto label_2389; } } else { mode3 = 0; label_2389:; goto label_2200; } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } 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; goto label_433; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_433:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1251 = check__tmp; main__c1 = __return_1251; { _Bool __tmp_65; __tmp_65 = main__c1; _Bool assert__arg; assert__arg = __tmp_65; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_2506; } } else { mode1 = 0; label_2506:; goto label_2454; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1241 = check__tmp; main__c1 = __return_1241; { _Bool __tmp_66; __tmp_66 = main__c1; _Bool assert__arg; assert__arg = __tmp_66; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2454:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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)) { return __return_main; } else { send3 = node3__m3; mode3 = 0; goto label_2483; } } else { mode3 = 0; label_2483:; goto label_2284; } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } } } } } else { 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1191 = check__tmp; main__c1 = __return_1191; { _Bool __tmp_67; __tmp_67 = main__c1; _Bool assert__arg; assert__arg = __tmp_67; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_2242; } } else { mode1 = 0; label_2242:; goto label_2176; } } } else { return __return_main; } } } } } 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; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1181 = check__tmp; main__c1 = __return_1181; { _Bool __tmp_68; __tmp_68 = main__c1; _Bool assert__arg; assert__arg = __tmp_68; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2176:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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)) { return __return_main; } else { mode3 = 0; label_2200:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2215 = check__tmp; main__c1 = __return_2215; { _Bool __tmp_69; __tmp_69 = main__c1; _Bool assert__arg; assert__arg = __tmp_69; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { return __return_main; } else { mode1 = 1; label_5220:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { return __return_main; } else { if (!(alive2 == 0)) { 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; goto label_5234; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; label_5234:; p2_new = node2____CPAchecker_TMP_1; mode2 = 1; goto label_4983; } } else { mode2 = 1; goto label_4983; } } } } } } } } } } else { return __return_main; } } else { return __return_main; } } } } else { return __return_main; } } } } else { return __return_main; } } } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { if (((int)send3) != ((int)id3)) { int node3____CPAchecker_TMP_1; if (send3 != nomsg) { if (p3_new == nomsg) { node3____CPAchecker_TMP_1 = send3; goto label_389; } else { return __return_main; } } else { node3____CPAchecker_TMP_1 = p3_new; label_389:; p3_new = node3____CPAchecker_TMP_1; mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1211 = check__tmp; main__c1 = __return_1211; { _Bool __tmp_70; __tmp_70 = main__c1; _Bool assert__arg; assert__arg = __tmp_70; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { if (!(alive1 == 0)) { return __return_main; } else { send1 = node1__m1; mode1 = 0; goto label_2326; } } else { mode1 = 0; label_2326:; goto label_2260; } } } else { return __return_main; } } } } } else { return __return_main; } } else { return __return_main; } } } } else { mode3 = 1; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_1201 = check__tmp; main__c1 = __return_1201; { _Bool __tmp_71; __tmp_71 = main__c1; _Bool assert__arg; assert__arg = __tmp_71; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { if (r1 == 255) { return __return_main; } else { r1 = r1 + 1; node1__m1 = p3_old; p3_old = nomsg; if (((int)node1__m1) != ((int)nomsg)) { return __return_main; } else { mode1 = 0; label_2260:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { node2__m2 = p1_old; p1_old = nomsg; if (((int)node2__m2) != ((int)nomsg)) { return __return_main; } else { 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)) { return __return_main; } else { mode3 = 0; label_2284:; p1_old = p1_new; p1_new = nomsg; p2_old = p2_new; p2_new = nomsg; p3_old = p3_new; p3_new = nomsg; { int check__tmp; if (((((int)st1) + ((int)st2)) + ((int)st3)) <= 1) { if (((int)r1) < 3) { check__tmp = 1; __return_2299 = check__tmp; main__c1 = __return_2299; { _Bool __tmp_72; __tmp_72 = main__c1; _Bool assert__arg; assert__arg = __tmp_72; if (assert__arg == 0) { return __return_main; } else { { msg_t node1__m1; node1__m1 = nomsg; if (!(mode1 == 0)) { return __return_main; } else { if (!(alive1 == 0)) { return __return_main; } else { mode1 = 1; label_5257:; { msg_t node2__m2; node2__m2 = nomsg; if (!(mode2 == 0)) { return __return_main; } else { if (!(alive2 == 0)) { 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; goto label_5271; } else { return __return_main; } } else { node2____CPAchecker_TMP_1 = p2_new; label_5271:; p2_new = node2____CPAchecker_TMP_1; mode2 = 1; goto label_4983; } } else { mode2 = 1; goto label_5111; } } } } } } } } } } 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; } } }