#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 EXIT_SUCCESS;
int /*<<< orphan*/ bt_main();
int /*<<< orphan*/ bt_main10();
int /*<<< orphan*/ bt_main2();
int /*<<< orphan*/ bt_main3();
int /*<<< orphan*/ bt_main4();
int /*<<< orphan*/ bt_main5();
int /*<<< orphan*/ bt_main6();
int /*<<< orphan*/ bt_main7();
int /*<<< orphan*/ bt_main8();
int /*<<< orphan*/ bt_main9();
int /*<<< orphan*/ heap_main();
int /*<<< orphan*/ heap_main2();
int /*<<< orphan*/ heap_main3();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ treeform_main();
int /*<<< orphan*/ treeform_main2();
int main(void) {
  bt_main();
  bt_main2();
  bt_main3();
  bt_main4();
  bt_main5();
  bt_main6();
  bt_main7();
  bt_main8();
  bt_main9();
  bt_main10();
  heap_main();
  heap_main2();
  heap_main3();
  treeform_main();
  treeform_main2();
  printf("end");
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1100 <bt_main@plt>
mov    $0x0,%al
call   1090 <bt_main2@plt>
mov    $0x0,%al
call   10e0 <bt_main3@plt>
mov    $0x0,%al
call   1070 <bt_main4@plt>
mov    $0x0,%al
call   10f0 <bt_main5@plt>
mov    $0x0,%al
call   1080 <bt_main6@plt>
mov    $0x0,%al
call   10c0 <bt_main7@plt>
mov    $0x0,%al
call   1050 <bt_main8@plt>
mov    $0x0,%al
call   10d0 <bt_main9@plt>
mov    $0x0,%al
call   10b0 <bt_main10@plt>
mov    $0x0,%al
call   1040 <heap_main@plt>
mov    $0x0,%al
call   1120 <heap_main2@plt>
mov    $0x0,%al
call   10a0 <heap_main3@plt>
mov    $0x0,%al
call   1030 <treeform_main@plt>
mov    $0x0,%al
call   1110 <treeform_main2@plt>
lea    0xd81(%rip),%rdi
call   1060 <printf@plt>
mov    0x2d55(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1100 <bt_main@plt>
xor    %eax,%eax
call   1090 <bt_main2@plt>
xor    %eax,%eax
call   10e0 <bt_main3@plt>
xor    %eax,%eax
call   1070 <bt_main4@plt>
xor    %eax,%eax
call   10f0 <bt_main5@plt>
xor    %eax,%eax
call   1080 <bt_main6@plt>
xor    %eax,%eax
call   10c0 <bt_main7@plt>
xor    %eax,%eax
call   1050 <bt_main8@plt>
xor    %eax,%eax
call   10d0 <bt_main9@plt>
xor    %eax,%eax
call   10b0 <bt_main10@plt>
xor    %eax,%eax
call   1040 <heap_main@plt>
xor    %eax,%eax
call   1120 <heap_main2@plt>
xor    %eax,%eax
call   10a0 <heap_main3@plt>
xor    %eax,%eax
call   1030 <treeform_main@plt>
xor    %eax,%eax
call   1110 <treeform_main2@plt>
lea    0xd8f(%rip),%rdi
call   1060 <printf@plt>
mov    0x2d63(%rip),%rax
mov    (%rax),%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"end\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @bt_main()
%3 = call i32 (...) @bt_main2()
%4 = call i32 (...) @bt_main3()
%5 = call i32 (...) @bt_main4()
%6 = call i32 (...) @bt_main5()
%7 = call i32 (...) @bt_main6()
%8 = call i32 (...) @bt_main7()
%9 = call i32 (...) @bt_main8()
%10 = call i32 (...) @bt_main9()
%11 = call i32 (...) @bt_main10()
%12 = call i32 (...) @heap_main()
%13 = call i32 (...) @heap_main2()
%14 = call i32 (...) @heap_main3()
%15 = call i32 (...) @treeform_main()
%16 = call i32 (...) @treeform_main2()
%17 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%18 = load i32, i32* @EXIT_SUCCESS
ret i32 %18
}

LLVM IR (-O2):
@.str = [4 x i8] c"end\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = tail call i32 (...) @bt_main()
%2 = tail call i32 (...) @bt_main2()
%3 = tail call i32 (...) @bt_main3()
%4 = tail call i32 (...) @bt_main4()
%5 = tail call i32 (...) @bt_main5()
%6 = tail call i32 (...) @bt_main6()
%7 = tail call i32 (...) @bt_main7()
%8 = tail call i32 (...) @bt_main8()
%9 = tail call i32 (...) @bt_main9()
%10 = tail call i32 (...) @bt_main10()
%11 = tail call i32 (...) @heap_main()
%12 = tail call i32 (...) @heap_main2()
%13 = tail call i32 (...) @heap_main3()
%14 = tail call i32 (...) @treeform_main()
%15 = tail call i32 (...) @treeform_main2()
%16 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%17 = load i32, i32* @EXIT_SUCCESS
ret i32 %17
}