#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 f0();
int f1(int);
int f10(int, int, int, int, int, int, int, int, int, int);
int f11(int, int, int, int, int, int, int, int, int, int, int);
int f12(int, int, int, int, int, int, int, int, int, int, int, int);
int f2(int, int);
int f3(int, int, int);
int f4(int, int, int, int);
int f5(int, int, int, int, int);
int f6(int, int, int, int, int, int);
int f7(int, int, int, int, int, int, int);
int f8(int, int, int, int, int, int, int, int);
int f9(int, int, int, int, int, int, int, int, int);
int /*<<< orphan*/ printf(char *, int, int);
int main(void) {
  printf("%d %d\n", 0, f0());
  printf("%d %d\n", 1, f1(1));
  printf("%d %d\n", 2, f2(1, 2));
  printf("%d %d\n", 3, f3(1, 2, 4));
  printf("%d %d\n", 4, f4(1, 2, 4, 8));
  printf("%d %d\n", 5, f5(1, 2, 4, 8, 16));
  printf("%d %d\n", 6, f6(1, 2, 4, 8, 16, 32));
  printf("%d %d\n", 7, f7(1, 2, 4, 8, 16, 32, 64));
  printf("%d %d\n", 8, f8(1, 2, 4, 8, 16, 32, 64, 128));
  printf("%d %d\n", 9, f9(1, 2, 4, 8, 16, 32, 64, 128, 256));
  printf("%d %d\n", 10, f10(1, 2, 4, 8, 16, 32, 64, 128, 256, 512));
  printf("%d %d\n", 11, f11(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024));
  printf("%d %d\n", 12, f12(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1030 <f0@plt>
mov    %eax,%edx
lea    0xe01(%rip),%rdi
xor    %esi,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
call   10a0 <f1@plt>
mov    %eax,%edx
lea    0xde7(%rip),%rdi
mov    $0x1,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
call   1040 <f2@plt>
mov    %eax,%edx
lea    0xdc5(%rip),%rdi
mov    $0x2,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
call   1090 <f3@plt>
mov    %eax,%edx
lea    0xd9e(%rip),%rdi
mov    $0x3,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
call   1100 <f4@plt>
mov    %eax,%edx
lea    0xd72(%rip),%rdi
mov    $0x4,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
call   10c0 <f5@plt>
mov    %eax,%edx
lea    0xd40(%rip),%rdi
mov    $0x5,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
call   1060 <f6@plt>
mov    %eax,%edx
lea    0xd08(%rip),%rdi
mov    $0x6,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
movl   $0x40,(%rsp)
call   10b0 <f7@plt>
mov    %eax,%edx
lea    0xcc9(%rip),%rdi
mov    $0x7,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
movl   $0x40,(%rsp)
movl   $0x80,0x8(%rsp)
call   1050 <f8@plt>
mov    %eax,%edx
lea    0xc82(%rip),%rdi
mov    $0x8,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
movl   $0x40,(%rsp)
movl   $0x80,0x8(%rsp)
movl   $0x100,0x10(%rsp)
call   10d0 <f9@plt>
mov    %eax,%edx
lea    0xc33(%rip),%rdi
mov    $0x9,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
movl   $0x40,(%rsp)
movl   $0x80,0x8(%rsp)
movl   $0x100,0x10(%rsp)
movl   $0x200,0x18(%rsp)
call   10f0 <f10@plt>
mov    %eax,%edx
lea    0xbdc(%rip),%rdi
mov    $0xa,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
movl   $0x40,(%rsp)
movl   $0x80,0x8(%rsp)
movl   $0x100,0x10(%rsp)
movl   $0x200,0x18(%rsp)
movl   $0x400,0x20(%rsp)
call   1080 <f11@plt>
mov    %eax,%edx
lea    0xb7d(%rip),%rdi
mov    $0xb,%esi
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
movl   $0x40,(%rsp)
movl   $0x80,0x8(%rsp)
movl   $0x100,0x10(%rsp)
movl   $0x200,0x18(%rsp)
movl   $0x400,0x20(%rsp)
movl   $0x800,0x28(%rsp)
call   10e0 <f12@plt>
mov    %eax,%edx
lea    0xb16(%rip),%rdi
mov    $0xc,%esi
call   1070 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
xor    %eax,%eax
call   1030 <f0@plt>
lea    0xe11(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
call   10a0 <f1@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
call   1040 <f2@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
call   1090 <f3@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
call   1100 <f4@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
call   10c0 <f5@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
call   1060 <f6@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
mov    %eax,%edx
call   1070 <printf@plt>
sub    $0x8,%rsp
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
push   $0x40
call   10b0 <f7@plt>
add    $0x10,%rsp
mov    %rbx,%rdi
mov    $0x7,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
push   $0x80
push   $0x40
call   1050 <f8@plt>
add    $0x10,%rsp
mov    %rbx,%rdi
mov    $0x8,%esi
mov    %eax,%edx
call   1070 <printf@plt>
sub    $0x8,%rsp
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
push   $0x100
push   $0x80
push   $0x40
call   10d0 <f9@plt>
add    $0x20,%rsp
mov    %rbx,%rdi
mov    $0x9,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
push   $0x200
push   $0x100
push   $0x80
push   $0x40
call   10f0 <f10@plt>
add    $0x20,%rsp
mov    %rbx,%rdi
mov    $0xa,%esi
mov    %eax,%edx
call   1070 <printf@plt>
sub    $0x8,%rsp
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
push   $0x400
push   $0x200
push   $0x100
push   $0x80
push   $0x40
call   1080 <f11@plt>
add    $0x30,%rsp
mov    %rbx,%rdi
mov    $0xb,%esi
mov    %eax,%edx
call   1070 <printf@plt>
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x4,%edx
mov    $0x8,%ecx
mov    $0x10,%r8d
mov    $0x20,%r9d
push   $0x800
push   $0x400
push   $0x200
push   $0x100
push   $0x80
push   $0x40
call   10e0 <f12@plt>
add    $0x30,%rsp
mov    %rbx,%rdi
mov    $0xc,%esi
mov    %eax,%edx
call   1070 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [7 x i8] c"%d %d\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @f0()
%3 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 0, i32 %2)
%4 = call i32 @f1(i32 1)
%5 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 1, i32 %4)
%6 = call i32 @f2(i32 1, i32 2)
%7 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 2, i32 %6)
%8 = call i32 @f3(i32 1, i32 2, i32 4)
%9 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 %8)
%10 = call i32 @f4(i32 1, i32 2, i32 4, i32 8)
%11 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 4, i32 %10)
%12 = call i32 @f5(i32 1, i32 2, i32 4, i32 8, i32 16)
%13 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5, i32 %12)
%14 = call i32 @f6(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32)
%15 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6, i32 %14)
%16 = call i32 @f7(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64)
%17 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 7, i32 %16)
%18 = call i32 @f8(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128)
%19 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 8, i32 %18)
%20 = call i32 @f9(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256)
%21 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 9, i32 %20)
%22 = call i32 @f10(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256, i32 512)
%23 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 10, i32 %22)
%24 = call i32 @f11(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256, i32 512, i32 1024)
%25 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 11, i32 %24)
%26 = call i32 @f12(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256, i32 512, i32 1024, i32 2048)
%27 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 12, i32 %26)
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"%d %d\0A\00"
define i32 @main() {
%1 = tail call i32 (...) @f0()
%2 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 0, i32 %1)
%3 = tail call i32 @f1(i32 1)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 1, i32 %3)
%5 = tail call i32 @f2(i32 1, i32 2)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 2, i32 %5)
%7 = tail call i32 @f3(i32 1, i32 2, i32 4)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 %7)
%9 = tail call i32 @f4(i32 1, i32 2, i32 4, i32 8)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 4, i32 %9)
%11 = tail call i32 @f5(i32 1, i32 2, i32 4, i32 8, i32 16)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5, i32 %11)
%13 = tail call i32 @f6(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6, i32 %13)
%15 = tail call i32 @f7(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 7, i32 %15)
%17 = tail call i32 @f8(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128)
%18 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 8, i32 %17)
%19 = tail call i32 @f9(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256)
%20 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 9, i32 %19)
%21 = tail call i32 @f10(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256, i32 512)
%22 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 10, i32 %21)
%23 = tail call i32 @f11(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256, i32 512, i32 1024)
%24 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 11, i32 %23)
%25 = tail call i32 @f12(i32 1, i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256, i32 512, i32 1024, i32 2048)
%26 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 12, i32 %25)
ret i32 0
}