#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*/ exit(int /*<<< orphan*/);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, char *, char *, char *, char *, ...);
int main() {
  int i = 94782;
  char *soln;
  soln = (char *)malloc(sizeof(char) * 100);
  char *phrases[101];
  phrases[0] = "zero";
  phrases[1] = "One";
  phrases[2] = "Two";
  phrases[3] = "Three";
  phrases[4] = "Four";
  phrases[5] = "Five";
  phrases[6] = "Six";
  phrases[7] = "Seven";
  phrases[8] = "Eight";
  phrases[9] = "nine";
  phrases[10] = "ten";
  phrases[11] = "eleven";
  phrases[12] = "twelve";
  phrases[13] = "thirteen";
  phrases[14] = "fourteen";
  phrases[15] = "fifteen";
  phrases[16] = "sixteen";
  phrases[17] = "seventen";
  phrases[18] = "eighteen";
  phrases[19] = "neneteen";
  phrases[20] = "twenty";
  phrases[30] = "thirty";
  phrases[40] = "fourty";
  phrases[50] = "fifty";
  phrases[60] = "sixty";
  phrases[70] = "seventy";
  phrases[80] = "ieghtty";
  phrases[90] = "ninety";
  phrases[100] = "hundred";
  char *ones = phrases[(i % 10)];
  char *tens = phrases[((i % 100) / 10) * 10];
  char *teens = phrases[(i % 100)];
  char *hundreds = phrases[(i % 1000) / 100];
  char *h_thousands = phrases[(i % 1000000) / 100000];
  char *teen_thousands = phrases[(i % 100000) / 1000];
  char *t_thousands = phrases[((i % 100000) / 10000) * 10];
  char *thousands = phrases[(i % 10000) / 1000];
  if (((i % 100) > 19) && ((i % 100000) / 1000 > 19)) {
    printf("\n     %s hundred %s - %s thousand %s hundred and %s - %s    \n",
           h_thousands, t_thousands, thousands, hundreds, tens, ones);
    exit(0);
  }
  if (((i % 100) > 19)) {
    printf("\n     %s hundred  %s thousand %s hundred and %s - %s    \n",
           h_thousands, teen_thousands, hundreds, tens, ones);
    exit(0);
  }
  if (((i % 100000) / 1000 > 19)) {
    printf("\n     %s hundred %s - %s thousand %s hundred and  %s    \n",
           h_thousands, t_thousands, thousands, hundreds, teens);
    exit(0);
  }
  printf("\n     %s hundred  %s thousand %s hundred and %s    \n", h_thousands,
         teen_thousands, hundreds, teens);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x390,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1723e,-0x8(%rbp)
mov    $0x64,%edi
call   1040 <malloc@plt>
mov    %rax,-0x10(%rbp)
lea    0xea2(%rip),%rax
mov    %rax,-0x340(%rbp)
lea    0xe99(%rip),%rax
mov    %rax,-0x338(%rbp)
lea    0xe8f(%rip),%rax
mov    %rax,-0x330(%rbp)
lea    0xe85(%rip),%rax
mov    %rax,-0x328(%rbp)
lea    0xe7d(%rip),%rax
mov    %rax,-0x320(%rbp)
lea    0xe74(%rip),%rax
mov    %rax,-0x318(%rbp)
lea    0xe6b(%rip),%rax
mov    %rax,-0x310(%rbp)
lea    0xe61(%rip),%rax
mov    %rax,-0x308(%rbp)
lea    0xe59(%rip),%rax
mov    %rax,-0x300(%rbp)
lea    0xe51(%rip),%rax
mov    %rax,-0x2f8(%rbp)
lea    0xe7d(%rip),%rax
mov    %rax,-0x2f0(%rbp)
lea    0xe3a(%rip),%rax
mov    %rax,-0x2e8(%rbp)
lea    0xe33(%rip),%rax
mov    %rax,-0x2e0(%rbp)
lea    0xe2c(%rip),%rax
mov    %rax,-0x2d8(%rbp)
lea    0xe27(%rip),%rax
mov    %rax,-0x2d0(%rbp)
lea    0xe22(%rip),%rax
mov    %rax,-0x2c8(%rbp)
lea    0xe1c(%rip),%rax
mov    %rax,-0x2c0(%rbp)
lea    0xe16(%rip),%rax
mov    %rax,-0x2b8(%rbp)
lea    0xe11(%rip),%rax
mov    %rax,-0x2b0(%rbp)
lea    0xe0c(%rip),%rax
mov    %rax,-0x2a8(%rbp)
lea    0xe07(%rip),%rax
mov    %rax,-0x2a0(%rbp)
lea    0xe00(%rip),%rax
mov    %rax,-0x250(%rbp)
lea    0xdf9(%rip),%rax
mov    %rax,-0x200(%rbp)
lea    0xdf2(%rip),%rax
mov    %rax,-0x1b0(%rbp)
lea    0xdea(%rip),%rax
mov    %rax,-0x160(%rbp)
lea    0xde2(%rip),%rax
mov    %rax,-0x110(%rbp)
lea    0xddc(%rip),%rax
mov    %rax,-0xc0(%rbp)
lea    0xdd6(%rip),%rax
mov    %rax,-0x70(%rbp)
lea    0xdd2(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
movslq %edx,%rax
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x348(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
imul   $0xa,%eax,%eax
cltq
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x350(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
movslq %edx,%rax
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x358(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
cltq
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x360(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xf4240,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
cltq
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x368(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
cltq
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x370(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x2710,%ecx
cltd
idiv   %ecx
imul   $0xa,%eax,%eax
cltq
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x378(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x2710,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
cltq
mov    -0x340(%rbp,%rax,8),%rax
ff
mov    %rax,-0x380(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
cmp    $0x13,%edx
jle    1480 <main+0x350>
mov    -0x8(%rbp),%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
cmp    $0x13,%eax
jle    1480 <main+0x350>
mov    -0x368(%rbp),%rsi
mov    -0x378(%rbp),%rdx
mov    -0x380(%rbp),%rcx
mov    -0x360(%rbp),%r8
mov    -0x350(%rbp),%r9
mov    -0x348(%rbp),%rax
lea    0xc4f(%rip),%rdi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
cmp    $0x13,%edx
jle    14cc <main+0x39c>
mov    -0x368(%rbp),%rsi
mov    -0x370(%rbp),%rdx
mov    -0x360(%rbp),%rcx
mov    -0x350(%rbp),%r8
mov    -0x348(%rbp),%r9
lea    0xc3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>
mov    -0x8(%rbp),%eax
mov    $0x186a0,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x3e8,%ecx
cltd
idiv   %ecx
cmp    $0x13,%eax
jle    1522 <main+0x3f2>
mov    -0x368(%rbp),%rsi
mov    -0x378(%rbp),%rdx
mov    -0x380(%rbp),%rcx
mov    -0x360(%rbp),%r8
mov    -0x358(%rbp),%r9
lea    0xc21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>
mov    -0x368(%rbp),%rsi
mov    -0x370(%rbp),%rdx
mov    -0x360(%rbp),%rcx
mov    -0x358(%rbp),%r8
lea    0xc2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x390,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x64,%edi
call   1040 <malloc@plt>
lea    0xec3(%rip),%rax
mov    %rax,(%rsp)
lea    0xed6(%rip),%rdi
lea    0xeac(%rip),%rsi
lea    0xec1(%rip),%rdx
lea    0xea7(%rip),%rcx
lea    0xea5(%rip),%r8
lea    0xea4(%rip),%r9
xor    %eax,%eax
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"zero\00"
@.str.1 = [4 x i8] c"One\00"
@.str.2 = [4 x i8] c"Two\00"
@.str.3 = [6 x i8] c"Three\00"
@.str.4 = [5 x i8] c"Four\00"
@.str.5 = [5 x i8] c"Five\00"
@.str.6 = [4 x i8] c"Six\00"
@.str.7 = [6 x i8] c"Seven\00"
@.str.8 = [6 x i8] c"Eight\00"
@.str.9 = [5 x i8] c"nine\00"
@.str.10 = [4 x i8] c"ten\00"
@.str.11 = [7 x i8] c"eleven\00"
@.str.12 = [7 x i8] c"twelve\00"
@.str.13 = [9 x i8] c"thirteen\00"
@.str.14 = [9 x i8] c"fourteen\00"
@.str.15 = [8 x i8] c"fifteen\00"
@.str.16 = [8 x i8] c"sixteen\00"
@.str.17 = [9 x i8] c"seventen\00"
@.str.18 = [9 x i8] c"eighteen\00"
@.str.19 = [9 x i8] c"neneteen\00"
@.str.20 = [7 x i8] c"twenty\00"
@.str.21 = [7 x i8] c"thirty\00"
@.str.22 = [7 x i8] c"fourty\00"
@.str.23 = [6 x i8] c"fifty\00"
@.str.24 = [6 x i8] c"sixty\00"
@.str.25 = [8 x i8] c"seventy\00"
@.str.26 = [8 x i8] c"ieghtty\00"
@.str.27 = [7 x i8] c"ninety\00"
@.str.28 = [8 x i8] c"hundred\00"
@.str.29 = [62 x i8] c"\0A %s hundred %s - %s thousand %s hundred and %s - %s \0A\00"
@.str.30 = [58 x i8] c"\0A %s hundred %s thousand %s hundred and %s - %s \0A\00"
@.str.31 = [58 x i8] c"\0A %s hundred %s - %s thousand %s hundred and %s \0A\00"
@.str.32 = [53 x i8] c"\0A %s hundred %s thousand %s hundred and %s \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i8*
%4 = alloca [101 x i8*]
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
store i32 0, i32* %1
store i32 94782, i32* %2
%13 = call i64 @malloc(i32 100)
%14 = inttoptr i64 %13 to i8*
store i8* %14, i8** %3
%15 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %15
%16 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8** %16
%17 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 2
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8** %17
%18 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 3
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %18
%19 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 4
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8** %19
%20 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 5
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8** %20
%21 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 6
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8** %21
%22 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 7
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8** %22
%23 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 8
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8** %23
%24 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 9
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8** %24
%25 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 10
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8** %25
%26 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 11
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8** %26
%27 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 12
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8** %27
%28 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 13
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8** %28
%29 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 14
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0), i8** %29
%30 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 15
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0), i8** %30
%31 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 16
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i8** %31
%32 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 17
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0), i8** %32
%33 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 18
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), i8** %33
%34 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 19
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i8** %34
%35 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 20
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i64 0, i64 0), i8** %35
%36 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 30
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i64 0, i64 0), i8** %36
%37 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 40
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0), i8** %37
%38 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 50
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0), i8** %38
%39 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 60
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i64 0, i64 0), i8** %39
%40 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 70
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i64 0, i64 0), i8** %40
%41 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 80
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0), i8** %41
%42 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 90
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0), i8** %42
%43 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 100
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8** %43
%44 = load i32, i32* %2
%45 = srem i32 %44, 10
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %46
%48 = load i8*, i8** %47
store i8* %48, i8** %5
%49 = load i32, i32* %2
%50 = srem i32 %49, 100
%51 = sdiv i32 %50, 10
%52 = mul nsw i32 %51, 10
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %53
%55 = load i8*, i8** %54
store i8* %55, i8** %6
%56 = load i32, i32* %2
%57 = srem i32 %56, 100
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %58
%60 = load i8*, i8** %59
store i8* %60, i8** %7
%61 = load i32, i32* %2
%62 = srem i32 %61, 1000
%63 = sdiv i32 %62, 100
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %64
%66 = load i8*, i8** %65
store i8* %66, i8** %8
%67 = load i32, i32* %2
%68 = srem i32 %67, 1000000
%69 = sdiv i32 %68, 100000
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %70
%72 = load i8*, i8** %71
store i8* %72, i8** %9
%73 = load i32, i32* %2
%74 = srem i32 %73, 100000
%75 = sdiv i32 %74, 1000
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %76
%78 = load i8*, i8** %77
store i8* %78, i8** %10
%79 = load i32, i32* %2
%80 = srem i32 %79, 100000
%81 = sdiv i32 %80, 10000
%82 = mul nsw i32 %81, 10
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %83
%85 = load i8*, i8** %84
store i8* %85, i8** %11
%86 = load i32, i32* %2
%87 = srem i32 %86, 10000
%88 = sdiv i32 %87, 1000
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [101 x i8*], [101 x i8*]* %4, i64 0, i64 %89
%91 = load i8*, i8** %90
store i8* %91, i8** %12
%92 = load i32, i32* %2
%93 = srem i32 %92, 100
%94 = icmp sgt i32 %93, 19
br i1 %94, label %95, label %109
95: ; preds = %0
%96 = load i32, i32* %2
%97 = srem i32 %96, 100000
%98 = sdiv i32 %97, 1000
%99 = icmp sgt i32 %98, 19
br i1 %99, label %100, label %109
100: ; preds = %95
%101 = load i8*, i8** %9
%102 = load i8*, i8** %11
%103 = load i8*, i8** %12
%104 = load i8*, i8** %8
%105 = load i8*, i8** %6
%106 = load i8*, i8** %5
%107 = call i32 (i8*, i8*, i8*, i8*, i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.29, i64 0, i64 0), i8* %101, i8* %102, i8* %103, i8* %104, i8* %105, i8* %106)
%108 = call i32 @exit(i32 0)
unreachable
109: ; preds = %95, %0
%110 = load i32, i32* %2
%111 = srem i32 %110, 100
%112 = icmp sgt i32 %111, 19
br i1 %112, label %113, label %121
113: ; preds = %109
%114 = load i8*, i8** %9
%115 = load i8*, i8** %10
%116 = load i8*, i8** %8
%117 = load i8*, i8** %6
%118 = load i8*, i8** %5
%119 = call i32 (i8*, i8*, i8*, i8*, i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.30, i64 0, i64 0), i8* %114, i8* %115, i8* %116, i8* %117, i8* %118)
%120 = call i32 @exit(i32 0)
unreachable
121: ; preds = %109
%122 = load i32, i32* %2
%123 = srem i32 %122, 100000
%124 = sdiv i32 %123, 1000
%125 = icmp sgt i32 %124, 19
br i1 %125, label %126, label %134
126: ; preds = %121
%127 = load i8*, i8** %9
%128 = load i8*, i8** %11
%129 = load i8*, i8** %12
%130 = load i8*, i8** %8
%131 = load i8*, i8** %7
%132 = call i32 (i8*, i8*, i8*, i8*, i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.31, i64 0, i64 0), i8* %127, i8* %128, i8* %129, i8* %130, i8* %131)
%133 = call i32 @exit(i32 0)
unreachable
134: ; preds = %121
%135 = load i8*, i8** %9
%136 = load i8*, i8** %10
%137 = load i8*, i8** %8
%138 = load i8*, i8** %7
%139 = call i32 (i8*, i8*, i8*, i8*, i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.32, i64 0, i64 0), i8* %135, i8* %136, i8* %137, i8* %138)
%140 = load i32, i32* %1
ret i32 %140
}

LLVM IR (-O2):
@.str = [5 x i8] c"zero\00"
@.str.2 = [4 x i8] c"Two\00"
@.str.4 = [5 x i8] c"Four\00"
@.str.7 = [6 x i8] c"Seven\00"
@.str.26 = [8 x i8] c"ieghtty\00"
@.str.27 = [7 x i8] c"ninety\00"
@.str.29 = [62 x i8] c"\0A %s hundred %s - %s thousand %s hundred and %s - %s \0A\00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 100)
%2 = tail call i32 (i8*, i8*, i8*, i8*, i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @exit(i32 0)
unreachable
}