#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 auth_message_test();
int auth_message_type_test();
int del_message_type_test();
int delete_message_test();
int insert_message_test();
int insert_message_type_test();
int purge_message_test();
int purge_message_type_test();
int reg_message_type_test();
int register_message_test();
int sync_message_test();
int sync_message_type_test();
int syncdata_message_test();
int syncdata_message_type_test();
int update_message_test();
int main(void) {
  return 0 | insert_message_type_test() | auth_message_type_test() |
         reg_message_type_test() | del_message_type_test() |
         purge_message_type_test() | sync_message_type_test() |
         syncdata_message_type_test() | update_message_test() |
         insert_message_test() | auth_message_test() | register_message_test() |
         delete_message_test() | purge_message_test() | sync_message_test() |
         syncdata_message_test();
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   10d0 <insert_message_type_test@plt>
or     $0x0,%eax
mov    %eax,-0x3c(%rbp)
mov    $0x0,%al
call   10e0 <auth_message_type_test@plt>
mov    %eax,%ecx
mov    -0x3c(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x38(%rbp)
mov    $0x0,%al
call   10f0 <reg_message_type_test@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   1040 <del_message_type_test@plt>
mov    %eax,%ecx
mov    -0x34(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x30(%rbp)
mov    $0x0,%al
call   1030 <purge_message_type_test@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   10b0 <sync_message_type_test@plt>
mov    %eax,%ecx
mov    -0x2c(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1050 <syncdata_message_type_test@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x24(%rbp)
mov    $0x0,%al
call   10c0 <update_message_test@plt>
mov    %eax,%ecx
mov    -0x24(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x20(%rbp)
mov    $0x0,%al
call   1090 <insert_message_test@plt>
mov    %eax,%ecx
mov    -0x20(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x1c(%rbp)
mov    $0x0,%al
call   10a0 <auth_message_test@plt>
mov    %eax,%ecx
mov    -0x1c(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x18(%rbp)
mov    $0x0,%al
call   1080 <register_message_test@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x14(%rbp)
mov    $0x0,%al
call   1060 <delete_message_test@plt>
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x10(%rbp)
mov    $0x0,%al
call   1100 <purge_message_test@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0xc(%rbp)
mov    $0x0,%al
call   1110 <sync_message_test@plt>
mov    %eax,%ecx
mov    -0xc(%rbp),%eax
or     %ecx,%eax
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1070 <syncdata_message_test@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
or     %ecx,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   10d0 <insert_message_type_test@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   10e0 <auth_message_type_test@plt>
mov    %eax,%ebx
or     %ebp,%ebx
xor    %eax,%eax
call   10f0 <reg_message_type_test@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1040 <del_message_type_test@plt>
mov    %eax,%ebp
or     %r14d,%ebp
or     %ebx,%ebp
xor    %eax,%eax
call   1030 <purge_message_type_test@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   10b0 <sync_message_type_test@plt>
mov    %eax,%ebx
or     %r14d,%ebx
xor    %eax,%eax
call   1050 <syncdata_message_type_test@plt>
mov    %eax,%r14d
or     %ebx,%r14d
or     %ebp,%r14d
xor    %eax,%eax
call   10c0 <update_message_test@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1090 <insert_message_test@plt>
mov    %eax,%ebp
or     %ebx,%ebp
xor    %eax,%eax
call   10a0 <auth_message_test@plt>
mov    %eax,%ebx
or     %ebp,%ebx
xor    %eax,%eax
call   1080 <register_message_test@plt>
mov    %eax,%r15d
or     %ebx,%r15d
or     %r14d,%r15d
xor    %eax,%eax
call   1060 <delete_message_test@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1100 <purge_message_test@plt>
mov    %eax,%ebx
or     %r14d,%ebx
xor    %eax,%eax
call   1110 <sync_message_test@plt>
mov    %eax,%ebp
or     %ebx,%ebp
xor    %eax,%eax
call   1070 <syncdata_message_test@plt>
or     %ebp,%eax
or     %r15d,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @insert_message_type_test()
%3 = or i32 0, %2
%4 = call i32 (...) @auth_message_type_test()
%5 = or i32 %3, %4
%6 = call i32 (...) @reg_message_type_test()
%7 = or i32 %5, %6
%8 = call i32 (...) @del_message_type_test()
%9 = or i32 %7, %8
%10 = call i32 (...) @purge_message_type_test()
%11 = or i32 %9, %10
%12 = call i32 (...) @sync_message_type_test()
%13 = or i32 %11, %12
%14 = call i32 (...) @syncdata_message_type_test()
%15 = or i32 %13, %14
%16 = call i32 (...) @update_message_test()
%17 = or i32 %15, %16
%18 = call i32 (...) @insert_message_test()
%19 = or i32 %17, %18
%20 = call i32 (...) @auth_message_test()
%21 = or i32 %19, %20
%22 = call i32 (...) @register_message_test()
%23 = or i32 %21, %22
%24 = call i32 (...) @delete_message_test()
%25 = or i32 %23, %24
%26 = call i32 (...) @purge_message_test()
%27 = or i32 %25, %26
%28 = call i32 (...) @sync_message_test()
%29 = or i32 %27, %28
%30 = call i32 (...) @syncdata_message_test()
%31 = or i32 %29, %30
ret i32 %31
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @insert_message_type_test()
%2 = tail call i32 (...) @auth_message_type_test()
%3 = or i32 %2, %1
%4 = tail call i32 (...) @reg_message_type_test()
%5 = or i32 %3, %4
%6 = tail call i32 (...) @del_message_type_test()
%7 = or i32 %5, %6
%8 = tail call i32 (...) @purge_message_type_test()
%9 = or i32 %7, %8
%10 = tail call i32 (...) @sync_message_type_test()
%11 = or i32 %9, %10
%12 = tail call i32 (...) @syncdata_message_type_test()
%13 = or i32 %11, %12
%14 = tail call i32 (...) @update_message_test()
%15 = or i32 %13, %14
%16 = tail call i32 (...) @insert_message_test()
%17 = or i32 %15, %16
%18 = tail call i32 (...) @auth_message_test()
%19 = or i32 %17, %18
%20 = tail call i32 (...) @register_message_test()
%21 = or i32 %19, %20
%22 = tail call i32 (...) @delete_message_test()
%23 = or i32 %21, %22
%24 = tail call i32 (...) @purge_message_test()
%25 = or i32 %23, %24
%26 = tail call i32 (...) @sync_message_test()
%27 = or i32 %25, %26
%28 = tail call i32 (...) @syncdata_message_test()
%29 = or i32 %27, %28
ret i32 %29
}