#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 *);
char printexp(int currplace) {
  if (currplace == 2)
    printf("zen ");
  else if (currplace == 3)
    printf("duna ");
  else if (currplace == 4)
    printf("trina ");
  else if (currplace == 5)
    printf("quedra ");
  else if (currplace == 6)
    printf("quen ");
  else if (currplace == 7)
    printf("hes ");
  else if (currplace == 8)
    printf("sev ");
  else if (currplace == 9)
    printf("ak ");
  else if (currplace == 10)
    printf("neen ");
  else if (currplace == 11)
    printf("dex ");
  else if (currplace == 12)
    printf("lef ");
  else if (currplace == 13)
    printf("zennil ");
  else if (currplace == 14)
    printf("zenzen ");
  else if (currplace == 15)
    printf("zenduna ");
  return 0;
}


x86 assembly (clang, -O0):
<printexp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
cmpl   $0x2,-0x4(%rbp)
jne    1136 <printexp+0x26>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
jmp    12d1 <printexp+0x1c1>
cmpl   $0x3,-0x4(%rbp)
jne    1151 <printexp+0x41>
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
jmp    12cc <printexp+0x1bc>
cmpl   $0x4,-0x4(%rbp)
jne    116c <printexp+0x5c>
lea    0xe9e(%rip),%rdi
call   1030 <printf@plt>
jmp    12c7 <printexp+0x1b7>
cmpl   $0x5,-0x4(%rbp)
jne    1187 <printexp+0x77>
lea    0xe8a(%rip),%rdi
call   1030 <printf@plt>
jmp    12c2 <printexp+0x1b2>
cmpl   $0x6,-0x4(%rbp)
jne    11a2 <printexp+0x92>
lea    0xe77(%rip),%rdi
call   1030 <printf@plt>
jmp    12bd <printexp+0x1ad>
cmpl   $0x7,-0x4(%rbp)
jne    11bd <printexp+0xad>
lea    0xe62(%rip),%rdi
call   1030 <printf@plt>
jmp    12b8 <printexp+0x1a8>
cmpl   $0x8,-0x4(%rbp)
jne    11d8 <printexp+0xc8>
lea    0xe4c(%rip),%rdi
call   1030 <printf@plt>
jmp    12b3 <printexp+0x1a3>
cmpl   $0x9,-0x4(%rbp)
jne    11f3 <printexp+0xe3>
lea    0xe36(%rip),%rdi
call   1030 <printf@plt>
jmp    12ae <printexp+0x19e>
cmpl   $0xa,-0x4(%rbp)
jne    120e <printexp+0xfe>
lea    0xe1f(%rip),%rdi
call   1030 <printf@plt>
jmp    12a9 <printexp+0x199>
cmpl   $0xb,-0x4(%rbp)
jne    1229 <printexp+0x119>
lea    0xe0a(%rip),%rdi
call   1030 <printf@plt>
jmp    12a4 <printexp+0x194>
cmpl   $0xc,-0x4(%rbp)
jne    1244 <printexp+0x134>
lea    0xdf4(%rip),%rdi
call   1030 <printf@plt>
jmp    129f <printexp+0x18f>
cmpl   $0xd,-0x4(%rbp)
jne    125f <printexp+0x14f>
lea    0xdde(%rip),%rdi
call   1030 <printf@plt>
jmp    129a <printexp+0x18a>
cmpl   $0xe,-0x4(%rbp)
jne    127a <printexp+0x16a>
lea    0xdcb(%rip),%rdi
call   1030 <printf@plt>
jmp    1295 <printexp+0x185>
cmpl   $0xf,-0x4(%rbp)
jne    1290 <printexp+0x180>
lea    0xdb8(%rip),%rdi
call   1030 <printf@plt>
jmp    1295 <printexp+0x185>
jmp    129a <printexp+0x18a>
jmp    129f <printexp+0x18f>
jmp    12a4 <printexp+0x194>
jmp    12a9 <printexp+0x199>
jmp    12ae <printexp+0x19e>
jmp    12b3 <printexp+0x1a3>
jmp    12b8 <printexp+0x1a8>
jmp    12bd <printexp+0x1ad>
jmp    12c2 <printexp+0x1b2>
jmp    12c7 <printexp+0x1b7>
jmp    12cc <printexp+0x1bc>
jmp    12d1 <printexp+0x1c1>
xor    %eax,%eax
movsbl %al,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printexp>:
add    $0xfffffffe,%edi
cmp    $0xd,%edi
ja     1133 <printexp+0x23>
push   %rax
movslq %edi,%rax
lea    0xf29(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
call   1030 <printf@plt>
add    $0x8,%rsp
xor    %eax,%eax
ret

LLVM IR (-O0):
@.str = [5 x i8] c"zen \00"
@.str.1 = [6 x i8] c"duna \00"
@.str.2 = [7 x i8] c"trina \00"
@.str.3 = [8 x i8] c"quedra \00"
@.str.4 = [6 x i8] c"quen \00"
@.str.5 = [5 x i8] c"hes \00"
@.str.6 = [5 x i8] c"sev \00"
@.str.7 = [4 x i8] c"ak \00"
@.str.8 = [6 x i8] c"neen \00"
@.str.9 = [5 x i8] c"dex \00"
@.str.10 = [5 x i8] c"lef \00"
@.str.11 = [8 x i8] c"zennil \00"
@.str.12 = [8 x i8] c"zenzen \00"
@.str.13 = [9 x i8] c"zenduna \00"
define signext i8 @printexp(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = icmp eq i32 %3, 2
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %85
7: ; preds = %1
%8 = load i32, i32* %2
%9 = icmp eq i32 %8, 3
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %84
12: ; preds = %7
%13 = load i32, i32* %2
%14 = icmp eq i32 %13, 4
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
br label %83
17: ; preds = %12
%18 = load i32, i32* %2
%19 = icmp eq i32 %18, 5
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
br label %82
22: ; preds = %17
%23 = load i32, i32* %2
%24 = icmp eq i32 %23, 6
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %81
27: ; preds = %22
%28 = load i32, i32* %2
%29 = icmp eq i32 %28, 7
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %80
32: ; preds = %27
%33 = load i32, i32* %2
%34 = icmp eq i32 %33, 8
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %79
37: ; preds = %32
%38 = load i32, i32* %2
%39 = icmp eq i32 %38, 9
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
br label %78
42: ; preds = %37
%43 = load i32, i32* %2
%44 = icmp eq i32 %43, 10
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %77
47: ; preds = %42
%48 = load i32, i32* %2
%49 = icmp eq i32 %48, 11
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %76
52: ; preds = %47
%53 = load i32, i32* %2
%54 = icmp eq i32 %53, 12
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
br label %75
57: ; preds = %52
%58 = load i32, i32* %2
%59 = icmp eq i32 %58, 13
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
br label %74
62: ; preds = %57
%63 = load i32, i32* %2
%64 = icmp eq i32 %63, 14
br i1 %64, label %65, label %67
65: ; preds = %62
%66 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0))
br label %73
67: ; preds = %62
%68 = load i32, i32* %2
%69 = icmp eq i32 %68, 15
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
br label %72
72: ; preds = %70, %67
br label %73
73: ; preds = %72, %65
br label %74
74: ; preds = %73, %60
br label %75
75: ; preds = %74, %55
br label %76
76: ; preds = %75, %50
br label %77
77: ; preds = %76, %45
br label %78
78: ; preds = %77, %40
br label %79
79: ; preds = %78, %35
br label %80
80: ; preds = %79, %30
br label %81
81: ; preds = %80, %25
br label %82
82: ; preds = %81, %20
br label %83
83: ; preds = %82, %15
br label %84
84: ; preds = %83, %10
br label %85
85: ; preds = %84, %5
ret i8 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"zen \00"
@.str.1 = [6 x i8] c"duna \00"
@.str.2 = [7 x i8] c"trina \00"
@.str.3 = [8 x i8] c"quedra \00"
@.str.4 = [6 x i8] c"quen \00"
@.str.5 = [5 x i8] c"hes \00"
@.str.6 = [5 x i8] c"sev \00"
@.str.7 = [4 x i8] c"ak \00"
@.str.8 = [6 x i8] c"neen \00"
@.str.9 = [5 x i8] c"dex \00"
@.str.10 = [5 x i8] c"lef \00"
@.str.11 = [8 x i8] c"zennil \00"
@.str.12 = [8 x i8] c"zenzen \00"
@.str.13 = [9 x i8] c"zenduna \00"
@reltable.printexp = [14 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.1 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.2 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.3 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.4 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.6 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.7 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.8 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.9 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.10 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.11 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.12 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.13 to i64), i64 ptrtoint ([14 x i32]* @reltable.printexp to i64)) to i32)]
define signext i8 @printexp(i32 %0) {
%2 = add i32 %0, -2
%3 = icmp ult i32 %2, 14
br i1 %3, label %4, label %9
4: ; preds = %1
%5 = sext i32 %2 to i64
%6 = shl i64 %5, 2
%7 = call i8* @llvm.load.relative.i64(i8* bitcast ([14 x i32]* @reltable.printexp to i8*), i64 %6)
%8 = tail call i32 @printf(i8* dereferenceable(1) %7)
br label %9
9: ; preds = %1, %4
ret i8 0
}