#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*/ combinator_main();
int /*<<< orphan*/ factorial_recursive();
int /*<<< orphan*/ fib_main();
int /*<<< orphan*/ fn_main();
int /*<<< orphan*/ gcd_main();
int /*<<< orphan*/ gcd_main2();
int /*<<< orphan*/ generate_perm();
int /*<<< orphan*/ generate_perm2();
int /*<<< orphan*/ hanoi_main();
int /*<<< orphan*/ hanoi_main2();
int /*<<< orphan*/ maze();
int /*<<< orphan*/ maze2();
int /*<<< orphan*/ maze3();
int /*<<< orphan*/ maze4();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ quick_main();
int /*<<< orphan*/ quick_main2();
int main(void) {
  factorial_recursive();
  fib_main();
  combinator_main();
  fn_main();
  gcd_main();
  gcd_main2();
  generate_perm();
  generate_perm2();
  hanoi_main();
  hanoi_main2();
  maze();
  maze2();
  maze3();
  maze4();
  quick_main();
  quick_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   1110 <factorial_recursive@plt>
mov    $0x0,%al
call   1120 <fib_main@plt>
mov    $0x0,%al
call   1040 <combinator_main@plt>
mov    $0x0,%al
call   1080 <fn_main@plt>
mov    $0x0,%al
call   1050 <gcd_main@plt>
mov    $0x0,%al
call   1070 <gcd_main2@plt>
mov    $0x0,%al
call   10e0 <generate_perm@plt>
mov    $0x0,%al
call   1090 <generate_perm2@plt>
mov    $0x0,%al
call   10f0 <hanoi_main@plt>
mov    $0x0,%al
call   10d0 <hanoi_main2@plt>
mov    $0x0,%al
call   10b0 <maze@plt>
mov    $0x0,%al
call   1130 <maze2@plt>
mov    $0x0,%al
call   10a0 <maze3@plt>
mov    $0x0,%al
call   1030 <maze4@plt>
mov    $0x0,%al
call   10c0 <quick_main@plt>
mov    $0x0,%al
call   1100 <quick_main2@plt>
lea    0xd6a(%rip),%rdi
call   1060 <printf@plt>
mov    0x2d3e(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1110 <factorial_recursive@plt>
xor    %eax,%eax
call   1120 <fib_main@plt>
xor    %eax,%eax
call   1040 <combinator_main@plt>
xor    %eax,%eax
call   1080 <fn_main@plt>
xor    %eax,%eax
call   1050 <gcd_main@plt>
xor    %eax,%eax
call   1070 <gcd_main2@plt>
xor    %eax,%eax
call   10e0 <generate_perm@plt>
xor    %eax,%eax
call   1090 <generate_perm2@plt>
xor    %eax,%eax
call   10f0 <hanoi_main@plt>
xor    %eax,%eax
call   10d0 <hanoi_main2@plt>
xor    %eax,%eax
call   10b0 <maze@plt>
xor    %eax,%eax
call   1130 <maze2@plt>
xor    %eax,%eax
call   10a0 <maze3@plt>
xor    %eax,%eax
call   1030 <maze4@plt>
xor    %eax,%eax
call   10c0 <quick_main@plt>
xor    %eax,%eax
call   1100 <quick_main2@plt>
lea    0xd78(%rip),%rdi
call   1060 <printf@plt>
mov    0x2d4c(%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 (...) @factorial_recursive()
%3 = call i32 (...) @fib_main()
%4 = call i32 (...) @combinator_main()
%5 = call i32 (...) @fn_main()
%6 = call i32 (...) @gcd_main()
%7 = call i32 (...) @gcd_main2()
%8 = call i32 (...) @generate_perm()
%9 = call i32 (...) @generate_perm2()
%10 = call i32 (...) @hanoi_main()
%11 = call i32 (...) @hanoi_main2()
%12 = call i32 (...) @maze()
%13 = call i32 (...) @maze2()
%14 = call i32 (...) @maze3()
%15 = call i32 (...) @maze4()
%16 = call i32 (...) @quick_main()
%17 = call i32 (...) @quick_main2()
%18 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%19 = load i32, i32* @EXIT_SUCCESS
ret i32 %19
}

LLVM IR (-O2):
@.str = [4 x i8] c"end\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = tail call i32 (...) @factorial_recursive()
%2 = tail call i32 (...) @fib_main()
%3 = tail call i32 (...) @combinator_main()
%4 = tail call i32 (...) @fn_main()
%5 = tail call i32 (...) @gcd_main()
%6 = tail call i32 (...) @gcd_main2()
%7 = tail call i32 (...) @generate_perm()
%8 = tail call i32 (...) @generate_perm2()
%9 = tail call i32 (...) @hanoi_main()
%10 = tail call i32 (...) @hanoi_main2()
%11 = tail call i32 (...) @maze()
%12 = tail call i32 (...) @maze2()
%13 = tail call i32 (...) @maze3()
%14 = tail call i32 (...) @maze4()
%15 = tail call i32 (...) @quick_main()
%16 = tail call i32 (...) @quick_main2()
%17 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%18 = load i32, i32* @EXIT_SUCCESS
ret i32 %18
}