#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ waiter1(int /*<<< orphan*/);
int /*<<< orphan*/ waiter2(int /*<<< orphan*/);
int /*<<< orphan*/ waker1(int /*<<< orphan*/);
int /*<<< orphan*/ waker10(int /*<<< orphan*/);
int /*<<< orphan*/ waker11(int /*<<< orphan*/);
int /*<<< orphan*/ waker12(int /*<<< orphan*/);
int /*<<< orphan*/ waker13(int /*<<< orphan*/);
int /*<<< orphan*/ waker14(int /*<<< orphan*/);
int /*<<< orphan*/ waker15(int /*<<< orphan*/);
int /*<<< orphan*/ waker16(int /*<<< orphan*/);
int /*<<< orphan*/ waker17(int /*<<< orphan*/);
int /*<<< orphan*/ waker18(int /*<<< orphan*/);
int /*<<< orphan*/ waker2(int /*<<< orphan*/);
int /*<<< orphan*/ waker3(int /*<<< orphan*/);
int /*<<< orphan*/ waker4(int /*<<< orphan*/);
int /*<<< orphan*/ waker5(int /*<<< orphan*/);
int /*<<< orphan*/ waker6(int /*<<< orphan*/);
int /*<<< orphan*/ waker7(int /*<<< orphan*/);
int /*<<< orphan*/ waker8(int /*<<< orphan*/);
int /*<<< orphan*/ waker9(int /*<<< orphan*/);
int main() {
__CPROVER_ASYNC_0:
  waiter1(0);
__CPROVER_ASYNC_1:
  waiter2(0);
__CPROVER_ASYNC_2:
  waker1(0);
__CPROVER_ASYNC_3:
  waker2(0);
__CPROVER_ASYNC_4:
  waker3(0);
__CPROVER_ASYNC_5:
  waker4(0);
__CPROVER_ASYNC_6:
  waker5(0);
__CPROVER_ASYNC_7:
  waker6(0);
__CPROVER_ASYNC_8:
  waker7(0);
__CPROVER_ASYNC_9:
  waker8(0);
__CPROVER_ASYNC_10:
  waker9(0);
__CPROVER_ASYNC_11:
  waker10(0);
__CPROVER_ASYNC_12:
  waker11(0);
__CPROVER_ASYNC_13:
  waker12(0);
__CPROVER_ASYNC_14:
  waker13(0);
__CPROVER_ASYNC_15:
  waker14(0);
__CPROVER_ASYNC_16:
  waker15(0);
__CPROVER_ASYNC_17:
  waker16(0);
__CPROVER_ASYNC_18:
  waker17(0);
__CPROVER_ASYNC_19:
  waker18(0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
xor    %edi,%edi
call   1160 <waiter1@plt>
xor    %edi,%edi
call   10c0 <waiter2@plt>
xor    %edi,%edi
call   1100 <waker1@plt>
xor    %edi,%edi
call   1050 <waker2@plt>
xor    %edi,%edi
call   1110 <waker3@plt>
xor    %edi,%edi
call   1060 <waker4@plt>
xor    %edi,%edi
call   10f0 <waker5@plt>
xor    %edi,%edi
call   1040 <waker6@plt>
xor    %edi,%edi
call   10d0 <waker7@plt>
xor    %edi,%edi
call   1030 <waker8@plt>
xor    %edi,%edi
call   10e0 <waker9@plt>
xor    %edi,%edi
call   1090 <waker10@plt>
xor    %edi,%edi
call   1130 <waker11@plt>
xor    %edi,%edi
call   10b0 <waker12@plt>
xor    %edi,%edi
call   1140 <waker13@plt>
xor    %edi,%edi
call   1080 <waker14@plt>
xor    %edi,%edi
call   1120 <waker15@plt>
xor    %edi,%edi
call   1070 <waker16@plt>
xor    %edi,%edi
call   1150 <waker17@plt>
xor    %edi,%edi
call   10a0 <waker18@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
call   1160 <waiter1@plt>
xor    %edi,%edi
call   10c0 <waiter2@plt>
xor    %edi,%edi
call   1100 <waker1@plt>
xor    %edi,%edi
call   1050 <waker2@plt>
xor    %edi,%edi
call   1110 <waker3@plt>
xor    %edi,%edi
call   1060 <waker4@plt>
xor    %edi,%edi
call   10f0 <waker5@plt>
xor    %edi,%edi
call   1040 <waker6@plt>
xor    %edi,%edi
call   10d0 <waker7@plt>
xor    %edi,%edi
call   1030 <waker8@plt>
xor    %edi,%edi
call   10e0 <waker9@plt>
xor    %edi,%edi
call   1090 <waker10@plt>
xor    %edi,%edi
call   1130 <waker11@plt>
xor    %edi,%edi
call   10b0 <waker12@plt>
xor    %edi,%edi
call   1140 <waker13@plt>
xor    %edi,%edi
call   1080 <waker14@plt>
xor    %edi,%edi
call   1120 <waker15@plt>
xor    %edi,%edi
call   1070 <waker16@plt>
xor    %edi,%edi
call   1150 <waker17@plt>
xor    %edi,%edi
call   10a0 <waker18@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
br label %2
2: ; preds = %0
%3 = call i32 @waiter1(i32 0)
br label %4
4: ; preds = %2
%5 = call i32 @waiter2(i32 0)
br label %6
6: ; preds = %4
%7 = call i32 @waker1(i32 0)
br label %8
8: ; preds = %6
%9 = call i32 @waker2(i32 0)
br label %10
10: ; preds = %8
%11 = call i32 @waker3(i32 0)
br label %12
12: ; preds = %10
%13 = call i32 @waker4(i32 0)
br label %14
14: ; preds = %12
%15 = call i32 @waker5(i32 0)
br label %16
16: ; preds = %14
%17 = call i32 @waker6(i32 0)
br label %18
18: ; preds = %16
%19 = call i32 @waker7(i32 0)
br label %20
20: ; preds = %18
%21 = call i32 @waker8(i32 0)
br label %22
22: ; preds = %20
%23 = call i32 @waker9(i32 0)
br label %24
24: ; preds = %22
%25 = call i32 @waker10(i32 0)
br label %26
26: ; preds = %24
%27 = call i32 @waker11(i32 0)
br label %28
28: ; preds = %26
%29 = call i32 @waker12(i32 0)
br label %30
30: ; preds = %28
%31 = call i32 @waker13(i32 0)
br label %32
32: ; preds = %30
%33 = call i32 @waker14(i32 0)
br label %34
34: ; preds = %32
%35 = call i32 @waker15(i32 0)
br label %36
36: ; preds = %34
%37 = call i32 @waker16(i32 0)
br label %38
38: ; preds = %36
%39 = call i32 @waker17(i32 0)
br label %40
40: ; preds = %38
%41 = call i32 @waker18(i32 0)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @waiter1(i32 0)
%2 = tail call i32 @waiter2(i32 0)
%3 = tail call i32 @waker1(i32 0)
%4 = tail call i32 @waker2(i32 0)
%5 = tail call i32 @waker3(i32 0)
%6 = tail call i32 @waker4(i32 0)
%7 = tail call i32 @waker5(i32 0)
%8 = tail call i32 @waker6(i32 0)
%9 = tail call i32 @waker7(i32 0)
%10 = tail call i32 @waker8(i32 0)
%11 = tail call i32 @waker9(i32 0)
%12 = tail call i32 @waker10(i32 0)
%13 = tail call i32 @waker11(i32 0)
%14 = tail call i32 @waker12(i32 0)
%15 = tail call i32 @waker13(i32 0)
%16 = tail call i32 @waker14(i32 0)
%17 = tail call i32 @waker15(i32 0)
%18 = tail call i32 @waker16(i32 0)
%19 = tail call i32 @waker17(i32 0)
%20 = tail call i32 @waker18(i32 0)
ret i32 0
}