#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 *);
void numbers(int h) {
  if (h == 1) {
    printf("one ");
  } else if (h == 2) {
    printf("two ");
  } else if (h == 3) {
    printf("three ");
  } else if (h == 4) {
    printf("four ");
  } else if (h == 5) {
    printf("five ");
  } else if (h == 6) {
    printf("six ");
  } else if (h == 7) {
    printf("seven ");
  } else if (h == 8) {
    printf("eight ");
  } else if (h == 9) {
    printf("nine ");
  } else if (h == 10) {
    printf("ten ");
  } else if (h == 11) {
    printf("eleven ");
  } else if (h == 12) {
    printf("twelve ");
  } else if (h == 13) {
    printf("thirteen ");
  } else if (h == 14) {
    printf("fourteen ");
  } else if (h == 15) {
    printf("fifteen ");
  } else if (h == 16) {
    printf("sixteen ");
  } else if (h == 17) {
    printf("seventeen ");
  } else if (h == 18) {
    printf("eighteen ");
  } else if (h == 19) {
    printf("nineteen ");
  } else if (h == 20) {
    printf("twenty ");
  }
}


x86 assembly (clang, -O0):
<numbers>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
jne    1136 <numbers+0x26>
lea    0xed4(%rip),%rdi
call   1030 <printf@plt>
jmp    1391 <numbers+0x281>
cmpl   $0x2,-0x4(%rbp)
jne    1151 <numbers+0x41>
lea    0xebe(%rip),%rdi
call   1030 <printf@plt>
jmp    138c <numbers+0x27c>
cmpl   $0x3,-0x4(%rbp)
jne    116c <numbers+0x5c>
lea    0xea8(%rip),%rdi
call   1030 <printf@plt>
jmp    1387 <numbers+0x277>
cmpl   $0x4,-0x4(%rbp)
jne    1187 <numbers+0x77>
lea    0xe94(%rip),%rdi
call   1030 <printf@plt>
jmp    1382 <numbers+0x272>
cmpl   $0x5,-0x4(%rbp)
jne    11a2 <numbers+0x92>
lea    0xe7f(%rip),%rdi
call   1030 <printf@plt>
jmp    137d <numbers+0x26d>
cmpl   $0x6,-0x4(%rbp)
jne    11bd <numbers+0xad>
lea    0xe6a(%rip),%rdi
call   1030 <printf@plt>
jmp    1378 <numbers+0x268>
cmpl   $0x7,-0x4(%rbp)
jne    11d8 <numbers+0xc8>
lea    0xe54(%rip),%rdi
call   1030 <printf@plt>
jmp    1373 <numbers+0x263>
cmpl   $0x8,-0x4(%rbp)
jne    11f3 <numbers+0xe3>
lea    0xe40(%rip),%rdi
call   1030 <printf@plt>
jmp    136e <numbers+0x25e>
cmpl   $0x9,-0x4(%rbp)
jne    120e <numbers+0xfe>
lea    0xe2c(%rip),%rdi
call   1030 <printf@plt>
jmp    1369 <numbers+0x259>
cmpl   $0xa,-0x4(%rbp)
jne    1229 <numbers+0x119>
lea    0xe17(%rip),%rdi
call   1030 <printf@plt>
jmp    1364 <numbers+0x254>
cmpl   $0xb,-0x4(%rbp)
jne    1244 <numbers+0x134>
lea    0xe01(%rip),%rdi
call   1030 <printf@plt>
jmp    135f <numbers+0x24f>
cmpl   $0xc,-0x4(%rbp)
jne    125f <numbers+0x14f>
lea    0xdee(%rip),%rdi
call   1030 <printf@plt>
jmp    135a <numbers+0x24a>
cmpl   $0xd,-0x4(%rbp)
jne    127a <numbers+0x16a>
lea    0xddb(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <numbers+0x245>
cmpl   $0xe,-0x4(%rbp)
jne    1295 <numbers+0x185>
lea    0xdca(%rip),%rdi
call   1030 <printf@plt>
jmp    1350 <numbers+0x240>
cmpl   $0xf,-0x4(%rbp)
jne    12b0 <numbers+0x1a0>
lea    0xdb9(%rip),%rdi
call   1030 <printf@plt>
jmp    134b <numbers+0x23b>
cmpl   $0x10,-0x4(%rbp)
jne    12cb <numbers+0x1bb>
lea    0xda7(%rip),%rdi
call   1030 <printf@plt>
jmp    1346 <numbers+0x236>
cmpl   $0x11,-0x4(%rbp)
jne    12e6 <numbers+0x1d6>
lea    0xd95(%rip),%rdi
call   1030 <printf@plt>
jmp    1341 <numbers+0x231>
cmpl   $0x12,-0x4(%rbp)
jne    1301 <numbers+0x1f1>
lea    0xd85(%rip),%rdi
call   1030 <printf@plt>
jmp    133c <numbers+0x22c>
cmpl   $0x13,-0x4(%rbp)
jne    131c <numbers+0x20c>
lea    0xd74(%rip),%rdi
call   1030 <printf@plt>
jmp    1337 <numbers+0x227>
cmpl   $0x14,-0x4(%rbp)
jne    1332 <numbers+0x222>
lea    0xd63(%rip),%rdi
call   1030 <printf@plt>
jmp    1337 <numbers+0x227>
jmp    133c <numbers+0x22c>
jmp    1341 <numbers+0x231>
jmp    1346 <numbers+0x236>
jmp    134b <numbers+0x23b>
jmp    1350 <numbers+0x240>
jmp    1355 <numbers+0x245>
jmp    135a <numbers+0x24a>
jmp    135f <numbers+0x24f>
jmp    1364 <numbers+0x254>
jmp    1369 <numbers+0x259>
jmp    136e <numbers+0x25e>
jmp    1373 <numbers+0x263>
jmp    1378 <numbers+0x268>
jmp    137d <numbers+0x26d>
jmp    1382 <numbers+0x272>
jmp    1387 <numbers+0x277>
jmp    138c <numbers+0x27c>
jmp    1391 <numbers+0x281>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<numbers>:
add    $0xffffffff,%edi
cmp    $0x13,%edi
ja     112e <numbers+0x1e>
movslq %edi,%rax
lea    0xf76(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
jmp    1030 <printf@plt>
ret

LLVM IR (-O0):
@.str = [5 x i8] c"one \00"
@.str.1 = [5 x i8] c"two \00"
@.str.2 = [7 x i8] c"three \00"
@.str.3 = [6 x i8] c"four \00"
@.str.4 = [6 x i8] c"five \00"
@.str.5 = [5 x i8] c"six \00"
@.str.6 = [7 x i8] c"seven \00"
@.str.7 = [7 x i8] c"eight \00"
@.str.8 = [6 x i8] c"nine \00"
@.str.9 = [5 x i8] c"ten \00"
@.str.10 = [8 x i8] c"eleven \00"
@.str.11 = [8 x i8] c"twelve \00"
@.str.12 = [10 x i8] c"thirteen \00"
@.str.13 = [10 x i8] c"fourteen \00"
@.str.14 = [9 x i8] c"fifteen \00"
@.str.15 = [9 x i8] c"sixteen \00"
@.str.16 = [11 x i8] c"seventeen \00"
@.str.17 = [10 x i8] c"eighteen \00"
@.str.18 = [10 x i8] c"nineteen \00"
@.str.19 = [8 x i8] c"twenty \00"
define void @numbers(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = icmp eq i32 %3, 1
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 %121
7: ; preds = %1
%8 = load i32, i32* %2
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %120
12: ; preds = %7
%13 = load i32, i32* %2
%14 = icmp eq i32 %13, 3
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 %119
17: ; preds = %12
%18 = load i32, i32* %2
%19 = icmp eq i32 %18, 4
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
br label %118
22: ; preds = %17
%23 = load i32, i32* %2
%24 = icmp eq i32 %23, 5
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 %117
27: ; preds = %22
%28 = load i32, i32* %2
%29 = icmp eq i32 %28, 6
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 %116
32: ; preds = %27
%33 = load i32, i32* %2
%34 = icmp eq i32 %33, 7
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
br label %115
37: ; preds = %32
%38 = load i32, i32* %2
%39 = icmp eq i32 %38, 8
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
br label %114
42: ; preds = %37
%43 = load i32, i32* %2
%44 = icmp eq i32 %43, 9
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 %113
47: ; preds = %42
%48 = load i32, i32* %2
%49 = icmp eq i32 %48, 10
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 %112
52: ; preds = %47
%53 = load i32, i32* %2
%54 = icmp eq i32 %53, 11
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %111
57: ; preds = %52
%58 = load i32, i32* %2
%59 = icmp eq i32 %58, 12
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 %110
62: ; preds = %57
%63 = load i32, i32* %2
%64 = icmp eq i32 %63, 13
br i1 %64, label %65, label %67
65: ; preds = %62
%66 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
br label %109
67: ; preds = %62
%68 = load i32, i32* %2
%69 = icmp eq i32 %68, 14
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
br label %108
72: ; preds = %67
%73 = load i32, i32* %2
%74 = icmp eq i32 %73, 15
br i1 %74, label %75, label %77
75: ; preds = %72
%76 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0))
br label %107
77: ; preds = %72
%78 = load i32, i32* %2
%79 = icmp eq i32 %78, 16
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
br label %106
82: ; preds = %77
%83 = load i32, i32* %2
%84 = icmp eq i32 %83, 17
br i1 %84, label %85, label %87
85: ; preds = %82
%86 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0))
br label %105
87: ; preds = %82
%88 = load i32, i32* %2
%89 = icmp eq i32 %88, 18
br i1 %89, label %90, label %92
90: ; preds = %87
%91 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
br label %104
92: ; preds = %87
%93 = load i32, i32* %2
%94 = icmp eq i32 %93, 19
br i1 %94, label %95, label %97
95: ; preds = %92
%96 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0))
br label %103
97: ; preds = %92
%98 = load i32, i32* %2
%99 = icmp eq i32 %98, 20
br i1 %99, label %100, label %102
100: ; preds = %97
%101 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
br label %102
102: ; preds = %100, %97
br label %103
103: ; preds = %102, %95
br label %104
104: ; preds = %103, %90
br label %105
105: ; preds = %104, %85
br label %106
106: ; preds = %105, %80
br label %107
107: ; preds = %106, %75
br label %108
108: ; preds = %107, %70
br label %109
109: ; preds = %108, %65
br label %110
110: ; preds = %109, %60
br label %111
111: ; preds = %110, %55
br label %112
112: ; preds = %111, %50
br label %113
113: ; preds = %112, %45
br label %114
114: ; preds = %113, %40
br label %115
115: ; preds = %114, %35
br label %116
116: ; preds = %115, %30
br label %117
117: ; preds = %116, %25
br label %118
118: ; preds = %117, %20
br label %119
119: ; preds = %118, %15
br label %120
120: ; preds = %119, %10
br label %121
121: ; preds = %120, %5
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"one \00"
@.str.1 = [5 x i8] c"two \00"
@.str.2 = [7 x i8] c"three \00"
@.str.3 = [6 x i8] c"four \00"
@.str.4 = [6 x i8] c"five \00"
@.str.5 = [5 x i8] c"six \00"
@.str.6 = [7 x i8] c"seven \00"
@.str.7 = [7 x i8] c"eight \00"
@.str.8 = [6 x i8] c"nine \00"
@.str.9 = [5 x i8] c"ten \00"
@.str.10 = [8 x i8] c"eleven \00"
@.str.11 = [8 x i8] c"twelve \00"
@.str.12 = [10 x i8] c"thirteen \00"
@.str.13 = [10 x i8] c"fourteen \00"
@.str.14 = [9 x i8] c"fifteen \00"
@.str.15 = [9 x i8] c"sixteen \00"
@.str.16 = [11 x i8] c"seventeen \00"
@.str.17 = [10 x i8] c"eighteen \00"
@.str.18 = [10 x i8] c"nineteen \00"
@.str.19 = [8 x i8] c"twenty \00"
@reltable.numbers = [20 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.1 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.2 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.3 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.4 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.6 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.7 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.8 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.9 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.10 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.11 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.12 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.13 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.14 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.15 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.16 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.17 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.18 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.19 to i64), i64 ptrtoint ([20 x i32]* @reltable.numbers to i64)) to i32)]
define void @numbers(i32 %0) {
%2 = add i32 %0, -1
%3 = icmp ult i32 %2, 20
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 ([20 x i32]* @reltable.numbers to i8*), i64 %6)
%8 = tail call i32 @printf(i8* dereferenceable(1) %7)
br label %9
9: ; preds = %1, %4
ret void
}