#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*/ ex1();
int /*<<< orphan*/ ex10();
int /*<<< orphan*/ ex2();
int /*<<< orphan*/ ex3();
int /*<<< orphan*/ ex4();
int /*<<< orphan*/ ex5();
int /*<<< orphan*/ ex6();
int /*<<< orphan*/ ex7();
int /*<<< orphan*/ ex8();
int /*<<< orphan*/ ex9();
int /*<<< orphan*/ getchar();
int /*<<< orphan*/ print(char *);
int main() {
  print("LISTA DE EXERCICIOS DE FDA - 04");
  ex1();
  ex2();
  ex3();
  ex4();
  ex5();
  ex6();
  ex7();
  ex8();
  ex9();
  ex10();
  getchar();
  getchar();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe2a(%rip),%rdi
call   1080 <print@plt>
mov    $0x0,%al
call   1040 <ex1@plt>
mov    $0x0,%al
call   10c0 <ex2@plt>
mov    $0x0,%al
call   1050 <ex3@plt>
mov    $0x0,%al
call   10b0 <ex4@plt>
mov    $0x0,%al
call   1030 <ex5@plt>
mov    $0x0,%al
call   10a0 <ex6@plt>
mov    $0x0,%al
call   1060 <ex7@plt>
mov    $0x0,%al
call   10d0 <ex8@plt>
mov    $0x0,%al
call   1070 <ex9@plt>
mov    $0x0,%al
call   10e0 <ex10@plt>
mov    $0x0,%al
call   1090 <getchar@plt>
mov    $0x0,%al
call   1090 <getchar@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xe38(%rip),%rdi
call   1080 <print@plt>
xor    %eax,%eax
call   1040 <ex1@plt>
xor    %eax,%eax
call   10c0 <ex2@plt>
xor    %eax,%eax
call   1050 <ex3@plt>
xor    %eax,%eax
call   10b0 <ex4@plt>
xor    %eax,%eax
call   1030 <ex5@plt>
xor    %eax,%eax
call   10a0 <ex6@plt>
xor    %eax,%eax
call   1060 <ex7@plt>
xor    %eax,%eax
call   10d0 <ex8@plt>
xor    %eax,%eax
call   1070 <ex9@plt>
xor    %eax,%eax
call   10e0 <ex10@plt>
xor    %eax,%eax
call   1090 <getchar@plt>
xor    %eax,%eax
call   1090 <getchar@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [32 x i8] c"LISTA DE EXERCICIOS DE FDA - 04\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @print(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (...) @ex1()
%4 = call i32 (...) @ex2()
%5 = call i32 (...) @ex3()
%6 = call i32 (...) @ex4()
%7 = call i32 (...) @ex5()
%8 = call i32 (...) @ex6()
%9 = call i32 (...) @ex7()
%10 = call i32 (...) @ex8()
%11 = call i32 (...) @ex9()
%12 = call i32 (...) @ex10()
%13 = call i32 (...) @getchar()
%14 = call i32 (...) @getchar()
ret i32 0
}

LLVM IR (-O2):
@.str = [32 x i8] c"LISTA DE EXERCICIOS DE FDA - 04\00"
define i32 @main() {
%1 = tail call i32 @print(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (...) @ex1()
%3 = tail call i32 (...) @ex2()
%4 = tail call i32 (...) @ex3()
%5 = tail call i32 (...) @ex4()
%6 = tail call i32 (...) @ex5()
%7 = tail call i32 (...) @ex6()
%8 = tail call i32 (...) @ex7()
%9 = tail call i32 (...) @ex8()
%10 = tail call i32 (...) @ex9()
%11 = tail call i32 (...) @ex10()
%12 = tail call i32 (...) @getchar()
%13 = tail call i32 (...) @getchar()
ret i32 0
}