#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*/ printEncabezado1();
int /*<<< orphan*/ printEncabezado2();
int /*<<< orphan*/ printEncabezado3();
int /*<<< orphan*/ test1(int, int);
int /*<<< orphan*/ test2(int, int, int);
int /*<<< orphan*/ test3(int, int, int, int);
int main() {
  printEncabezado1();
  test1(3, 2);
  test1(10, 10);
  test1(105, 10);
  printEncabezado2();
  test2(2, 2, 6);
  test2(2, 2, 4);
  test2(10, 10, 10);
  printEncabezado3();
  test3(3, 3, 4, 4);
  test3(2, 2, 8, 4);
  test3(5, 3, 10, 10);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1070 <printEncabezado1@plt>
mov    $0x3,%edi
mov    $0x2,%esi
call   1050 <test1@plt>
mov    $0xa,%esi
mov    %esi,%edi
call   1050 <test1@plt>
mov    $0x69,%edi
mov    $0xa,%esi
call   1050 <test1@plt>
mov    $0x0,%al
call   1030 <printEncabezado2@plt>
mov    $0x2,%esi
mov    $0x6,%edx
mov    %esi,%edi
call   1080 <test2@plt>
mov    $0x2,%esi
mov    $0x4,%edx
mov    %esi,%edi
call   1080 <test2@plt>
mov    $0xa,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1080 <test2@plt>
mov    $0x0,%al
call   1060 <printEncabezado3@plt>
mov    $0x3,%esi
mov    $0x4,%ecx
mov    %esi,%edi
mov    %ecx,%edx
call   1040 <test3@plt>
mov    $0x2,%esi
mov    $0x8,%edx
mov    $0x4,%ecx
mov    %esi,%edi
call   1040 <test3@plt>
mov    $0x5,%edi
mov    $0x3,%esi
mov    $0xa,%ecx
mov    %ecx,%edx
call   1040 <test3@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1070 <printEncabezado1@plt>
mov    $0x3,%edi
mov    $0x2,%esi
call   1050 <test1@plt>
mov    $0xa,%edi
mov    $0xa,%esi
call   1050 <test1@plt>
mov    $0x69,%edi
mov    $0xa,%esi
call   1050 <test1@plt>
xor    %eax,%eax
call   1030 <printEncabezado2@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x6,%edx
call   1080 <test2@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x4,%edx
call   1080 <test2@plt>
mov    $0xa,%edi
mov    $0xa,%esi
mov    $0xa,%edx
call   1080 <test2@plt>
xor    %eax,%eax
call   1060 <printEncabezado3@plt>
mov    $0x3,%edi
mov    $0x3,%esi
mov    $0x4,%edx
mov    $0x4,%ecx
call   1040 <test3@plt>
mov    $0x2,%edi
mov    $0x2,%esi
mov    $0x8,%edx
mov    $0x4,%ecx
call   1040 <test3@plt>
mov    $0x5,%edi
mov    $0x3,%esi
mov    $0xa,%edx
mov    $0xa,%ecx
call   1040 <test3@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @printEncabezado1()
%3 = call i32 @test1(i32 3, i32 2)
%4 = call i32 @test1(i32 10, i32 10)
%5 = call i32 @test1(i32 105, i32 10)
%6 = call i32 (...) @printEncabezado2()
%7 = call i32 @test2(i32 2, i32 2, i32 6)
%8 = call i32 @test2(i32 2, i32 2, i32 4)
%9 = call i32 @test2(i32 10, i32 10, i32 10)
%10 = call i32 (...) @printEncabezado3()
%11 = call i32 @test3(i32 3, i32 3, i32 4, i32 4)
%12 = call i32 @test3(i32 2, i32 2, i32 8, i32 4)
%13 = call i32 @test3(i32 5, i32 3, i32 10, i32 10)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @printEncabezado1()
%2 = tail call i32 @test1(i32 3, i32 2)
%3 = tail call i32 @test1(i32 10, i32 10)
%4 = tail call i32 @test1(i32 105, i32 10)
%5 = tail call i32 (...) @printEncabezado2()
%6 = tail call i32 @test2(i32 2, i32 2, i32 6)
%7 = tail call i32 @test2(i32 2, i32 2, i32 4)
%8 = tail call i32 @test2(i32 10, i32 10, i32 10)
%9 = tail call i32 (...) @printEncabezado3()
%10 = tail call i32 @test3(i32 3, i32 3, i32 4, i32 4)
%11 = tail call i32 @test3(i32 2, i32 2, i32 8, i32 4)
%12 = tail call i32 @test3(i32 5, i32 3, i32 10, i32 10)
ret i32 0
}