#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*/ printf(char *);
int eliblns(int a) {
  if (a == '1') {
    printf("\n");
    return a;
  }
  if (a == '2') {
    printf("\n\n");
    return a;
  }
  if (a == '3') {
    printf("\n\n\n");
    return a;
  }
  if (a == '4') {
    printf("\n\n\n\n");
    return a;
  }
  if (a == '5') {
    printf("\n\n\n\n\n");
    return a;
  }
  if (a == '6') {
    printf("\n\n\n\n\n\n");
    return a;
  }
  if (a == '7') {
    printf("\n\n\n\n\n\n\n");
    return a;
  }
  if (a == '8') {
    printf("\n\n\n\n\n\n\n\n");
    return a;
  }
  if (a == '9') {
    printf("\n\n\n\n\n\n\n\n\n");
    return a;
  }
  if (a == '10') {
    printf("\n\n\n\n\n\n\n\n\n\n");
    return a;
  }
  return -1;
}


x86 assembly (clang, -O0):
<eliblns>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x8(%rbp)
cmpl   $0x31,-0x8(%rbp)
jne    113c <eliblns+0x2c>
lea    0xedd(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x32,-0x8(%rbp)
jne    115d <eliblns+0x4d>
lea    0xebb(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x33,-0x8(%rbp)
jne    117e <eliblns+0x6e>
lea    0xe99(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x34,-0x8(%rbp)
jne    119f <eliblns+0x8f>
lea    0xe77(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x35,-0x8(%rbp)
jne    11c0 <eliblns+0xb0>
lea    0xe55(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x36,-0x8(%rbp)
jne    11e1 <eliblns+0xd1>
lea    0xe33(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x37,-0x8(%rbp)
jne    1202 <eliblns+0xf2>
lea    0xe11(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x38,-0x8(%rbp)
jne    1223 <eliblns+0x113>
lea    0xdef(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x39,-0x8(%rbp)
jne    1244 <eliblns+0x134>
lea    0xdcd(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
cmpl   $0x3130,-0x8(%rbp)
jne    1268 <eliblns+0x158>
lea    0xda8(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    126f <eliblns+0x15f>
movl   $0xffffffff,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<eliblns>:
push   %rax
lea    -0x31(%rdi),%eax
cmp    $0x8,%eax
ja     114a <eliblns+0x2a>
lea    0xed0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x31,%eax
pop    %rcx
ret
mov    $0xffffffff,%eax
cmp    $0x3130,%edi
jne    1204 <eliblns+0xe4>
lea    0xec2(%rip),%rdi
call   1040 <puts@plt>
mov    $0x3130,%eax
pop    %rcx
ret
lea    0xeb7(%rip),%rdi
call   1040 <puts@plt>
mov    $0x32,%eax
pop    %rcx
ret
lea    0xea3(%rip),%rdi
call   1040 <puts@plt>
mov    $0x33,%eax
pop    %rcx
ret
lea    0xe8f(%rip),%rdi
call   1040 <puts@plt>
mov    $0x34,%eax
pop    %rcx
ret
lea    0xe7b(%rip),%rdi
call   1040 <puts@plt>
mov    $0x35,%eax
pop    %rcx
ret
lea    0xe67(%rip),%rdi
call   1040 <puts@plt>
mov    $0x36,%eax
pop    %rcx
ret
lea    0xe53(%rip),%rdi
call   1040 <puts@plt>
mov    $0x37,%eax
pop    %rcx
ret
lea    0xe3f(%rip),%rdi
call   1040 <puts@plt>
mov    $0x38,%eax
pop    %rcx
ret
lea    0xe2b(%rip),%rdi
call   1040 <puts@plt>
mov    $0x39,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [3 x i8] c"\0A\0A\00"
@.str.2 = [4 x i8] c"\0A\0A\0A\00"
@.str.3 = [5 x i8] c"\0A\0A\0A\0A\00"
@.str.4 = [6 x i8] c"\0A\0A\0A\0A\0A\00"
@.str.5 = [7 x i8] c"\0A\0A\0A\0A\0A\0A\00"
@.str.6 = [8 x i8] c"\0A\0A\0A\0A\0A\0A\0A\00"
@.str.7 = [9 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\00"
@.str.8 = [10 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\0A\00"
@.str.9 = [11 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\00"
define i32 @eliblns(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
%5 = icmp eq i32 %4, 49
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* %3
store i32 %8, i32* %2
br label %64
9: ; preds = %1
%10 = load i32, i32* %3
%11 = icmp eq i32 %10, 50
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%14 = load i32, i32* %3
store i32 %14, i32* %2
br label %64
15: ; preds = %9
%16 = load i32, i32* %3
%17 = icmp eq i32 %16, 51
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%20 = load i32, i32* %3
store i32 %20, i32* %2
br label %64
21: ; preds = %15
%22 = load i32, i32* %3
%23 = icmp eq i32 %22, 52
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%26 = load i32, i32* %3
store i32 %26, i32* %2
br label %64
27: ; preds = %21
%28 = load i32, i32* %3
%29 = icmp eq i32 %28, 53
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%32 = load i32, i32* %3
store i32 %32, i32* %2
br label %64
33: ; preds = %27
%34 = load i32, i32* %3
%35 = icmp eq i32 %34, 54
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%38 = load i32, i32* %3
store i32 %38, i32* %2
br label %64
39: ; preds = %33
%40 = load i32, i32* %3
%41 = icmp eq i32 %40, 55
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%44 = load i32, i32* %3
store i32 %44, i32* %2
br label %64
45: ; preds = %39
%46 = load i32, i32* %3
%47 = icmp eq i32 %46, 56
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%50 = load i32, i32* %3
store i32 %50, i32* %2
br label %64
51: ; preds = %45
%52 = load i32, i32* %3
%53 = icmp eq i32 %52, 57
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%56 = load i32, i32* %3
store i32 %56, i32* %2
br label %64
57: ; preds = %51
%58 = load i32, i32* %3
%59 = icmp eq i32 %58, 12592
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
%62 = load i32, i32* %3
store i32 %62, i32* %2
br label %64
63: ; preds = %57
store i32 -1, i32* %2
br label %64
64: ; preds = %63, %60, %54, %48, %42, %36, %30, %24, %18, %12, %6
%65 = load i32, i32* %2
ret i32 %65
}

LLVM IR (-O2):
@str = [10 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\0A\00"
@str.10 = [9 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\00"
@str.11 = [8 x i8] c"\0A\0A\0A\0A\0A\0A\0A\00"
@str.12 = [7 x i8] c"\0A\0A\0A\0A\0A\0A\00"
@str.13 = [6 x i8] c"\0A\0A\0A\0A\0A\00"
@str.14 = [5 x i8] c"\0A\0A\0A\0A\00"
@str.15 = [4 x i8] c"\0A\0A\0A\00"
@str.16 = [3 x i8] c"\0A\0A\00"
@str.17 = [2 x i8] c"\0A\00"
define i32 @eliblns(i32 %0) {
switch i32 %0, label %22 [
i32 49, label %2
i32 50, label %4
i32 51, label %6
i32 52, label %8
i32 53, label %10
i32 54, label %12
i32 55, label %14
i32 56, label %16
i32 57, label %18
i32 12592, label %20
]
2: ; preds = %1
%3 = tail call i32 @putchar(i32 10)
br label %22
4: ; preds = %1
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.17, i64 0, i64 0))
br label %22
6: ; preds = %1
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.16, i64 0, i64 0))
br label %22
8: ; preds = %1
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.15, i64 0, i64 0))
br label %22
10: ; preds = %1
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.14, i64 0, i64 0))
br label %22
12: ; preds = %1
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.13, i64 0, i64 0))
br label %22
14: ; preds = %1
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.12, i64 0, i64 0))
br label %22
16: ; preds = %1
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.11, i64 0, i64 0))
br label %22
18: ; preds = %1
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.10, i64 0, i64 0))
br label %22
20: ; preds = %1
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str, i64 0, i64 0))
br label %22
22: ; preds = %1, %20, %18, %16, %14, %12, %10, %8, %6, %4, %2
%23 = phi i32 [ 49, %2 ], [ 50, %4 ], [ 51, %6 ], [ 52, %8 ], [ 53, %10 ], [ 54, %12 ], [ 55, %14 ], [ 56, %16 ], [ 57, %18 ], [ 12592, %20 ], [ -1, %1 ]
ret i32 %23
}