#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 /*<<< orphan*/ scanf(char *, int *, int *);
int main(void) {
  int tens;
  int ones;
  char *specials[] = {"Ten",      "Eleven",  "Twelve",  "Thirteen",
                      "Fourteen", "Fifteen", "Sixteen", "Seventeen",
                      "Eighteen", "Nineteen"};
  char *tens_place[] = {"",       "",       "Twenty-",  "Thirty-", "Fourty-",
                        "Fifty-", "Sixty-", "Seventy-", "Eighty-", "Ninety-"};
  char *exact_tens[] = {"",      "",      "Twenty",  "Thirty", "Fourty",
                        "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"};
  char *ones_place[] = {"",     "one", "Two",   "Three", "Four",
                        "Five", "Six", "Seven", "Eight", "Nine"};
  printf("Enter a 2 digit number: ");
  scanf("%1d%1d", &tens, &ones);
  printf("You entered: ");
  if (tens == 1) {
    printf("%s", specials[ones]);
  } else if (tens > 1 && ones != 0) {
    printf("%s%s", tens_place[tens], ones_place[ones]);
  } else {
    printf("%s", exact_tens[tens]);
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x60(%rbp),%rdi
lea    0x2b93(%rip),%rsi
mov    $0x50,%edx
call   1040 <memcpy@plt>
lea    -0xb0(%rbp),%rdi
lea    0x2bcb(%rip),%rsi
mov    $0x50,%edx
call   1040 <memcpy@plt>
lea    -0x100(%rbp),%rdi
lea    0x2c03(%rip),%rsi
mov    $0x50,%edx
call   1040 <memcpy@plt>
lea    -0x150(%rbp),%rdi
lea    0x2c3b(%rip),%rsi
mov    $0x50,%edx
call   1040 <memcpy@plt>
lea    0xf4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
call   1050 <scanf@plt>
lea    0xf4b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x1,-0x8(%rbp)
jne    11f5 <main+0xc5>
movslq -0xc(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rsi
lea    0xf3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1253 <main+0x123>
cmpl   $0x1,-0x8(%rbp)
jle    1234 <main+0x104>
cmpl   $0x0,-0xc(%rbp)
je     1234 <main+0x104>
movslq -0x8(%rbp),%rax
mov    -0xb0(%rbp,%rax,8),%rsi
ff
movslq -0xc(%rbp),%rax
mov    -0x150(%rbp,%rax,8),%rdx
ff
lea    0xef9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    124e <main+0x11e>
movslq -0x8(%rbp),%rax
mov    -0x100(%rbp,%rax,8),%rsi
ff
lea    0xedc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1253 <main+0x123>
lea    0xecc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xfbb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfc6(%rip),%rdi
lea    0x4(%rsp),%rsi
mov    %rsp,%rdx
call   1050 <scanf@plt>
lea    0xfb9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rsp),%eax
cmp    $0x1,%rax
jne    1178 <main+0x48>
movslq (%rsp),%rax
lea    0xfb2(%rip),%rcx
jmp    11bc <main+0x8c>
cmp    $0x2,%eax
jl     11b3 <main+0x83>
mov    (%rsp),%ecx
test   %ecx,%ecx
je     11b3 <main+0x83>
movslq %ecx,%rcx
lea    0xfc2(%rip),%rdx
movslq (%rdx,%rax,4),%rsi
add    %rdx,%rsi
lea    0x1004(%rip),%rax
movslq (%rax,%rcx,4),%rdx
add    %rax,%rdx
lea    0xf77(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    11d1 <main+0xa1>
cltq
lea    0xfbc(%rip),%rcx
movslq (%rcx,%rax,4),%rsi
add    %rcx,%rsi
lea    0xf59(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"Ten\00"
@.str.1 = [7 x i8] c"Eleven\00"
@.str.2 = [7 x i8] c"Twelve\00"
@.str.3 = [9 x i8] c"Thirteen\00"
@.str.4 = [9 x i8] c"Fourteen\00"
@.str.5 = [8 x i8] c"Fifteen\00"
@.str.6 = [8 x i8] c"Sixteen\00"
@.str.7 = [10 x i8] c"Seventeen\00"
@.str.8 = [9 x i8] c"Eighteen\00"
@.str.9 = [9 x i8] c"Nineteen\00"
@__const.main.specials = [10 x i8*] [i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i32 0, i32 0)]
@.str.10 = [1 x i8] zeroinitializer
@.str.11 = [8 x i8] c"Twenty-\00"
@.str.12 = [8 x i8] c"Thirty-\00"
@.str.13 = [8 x i8] c"Fourty-\00"
@.str.14 = [7 x i8] c"Fifty-\00"
@.str.15 = [7 x i8] c"Sixty-\00"
@.str.16 = [9 x i8] c"Seventy-\00"
@.str.17 = [8 x i8] c"Eighty-\00"
@.str.18 = [8 x i8] c"Ninety-\00"
@__const.main.tens_place = [10 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i32 0, i32 0)]
@.str.19 = [7 x i8] c"Twenty\00"
@.str.20 = [7 x i8] c"Thirty\00"
@.str.21 = [7 x i8] c"Fourty\00"
@.str.22 = [6 x i8] c"Fifty\00"
@.str.23 = [6 x i8] c"Sixty\00"
@.str.24 = [8 x i8] c"Seventy\00"
@.str.25 = [7 x i8] c"Eighty\00"
@.str.26 = [7 x i8] c"Ninety\00"
@__const.main.exact_tens = [10 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.26, i32 0, i32 0)]
@.str.27 = [4 x i8] c"one\00"
@.str.28 = [4 x i8] c"Two\00"
@.str.29 = [6 x i8] c"Three\00"
@.str.30 = [5 x i8] c"Four\00"
@.str.31 = [5 x i8] c"Five\00"
@.str.32 = [4 x i8] c"Six\00"
@.str.33 = [6 x i8] c"Seven\00"
@.str.34 = [6 x i8] c"Eight\00"
@.str.35 = [5 x i8] c"Nine\00"
@__const.main.ones_place = [10 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.35, i32 0, i32 0)]
@.str.36 = [25 x i8] c"Enter a 2 digit number: \00"
@.str.37 = [7 x i8] c"%1d%1d\00"
@.str.38 = [14 x i8] c"You entered: \00"
@.str.39 = [3 x i8] c"%s\00"
@.str.40 = [5 x i8] c"%s%s\00"
@.str.41 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [10 x i8*]
%5 = alloca [10 x i8*]
%6 = alloca [10 x i8*]
%7 = alloca [10 x i8*]
store i32 0, i32* %1
%8 = bitcast [10 x i8*]* %4 to i8*
%9 = bitcast [10 x i8*]* %5 to i8*
%10 = bitcast [10 x i8*]* %6 to i8*
%11 = bitcast [10 x i8*]* %7 to i8*
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.36, i64 0, i64 0))
%13 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.37, i64 0, i64 0), i32* %2, i32* %3)
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.38, i64 0, i64 0))
%15 = load i32, i32* %2
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %23
17: ; preds = %0
%18 = load i32, i32* %3
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x i8*], [10 x i8*]* %4, i64 0, i64 %19
%21 = load i8*, i8** %20
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i64 0, i64 0), i8* %21)
br label %46
23: ; preds = %0
%24 = load i32, i32* %2
%25 = icmp sgt i32 %24, 1
br i1 %25, label %26, label %39
26: ; preds = %23
%27 = load i32, i32* %3
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %39
29: ; preds = %26
%30 = load i32, i32* %2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i8*], [10 x i8*]* %5, i64 0, i64 %31
%33 = load i8*, i8** %32
%34 = load i32, i32* %3
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [10 x i8*], [10 x i8*]* %7, i64 0, i64 %35
%37 = load i8*, i8** %36
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.40, i64 0, i64 0), i8* %33, i8* %37)
br label %45
39: ; preds = %26, %23
%40 = load i32, i32* %2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i8*], [10 x i8*]* %6, i64 0, i64 %41
%43 = load i8*, i8** %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i64 0, i64 0), i8* %43)
br label %45
45: ; preds = %39, %29
br label %46
46: ; preds = %45, %17
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.41, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"Ten\00"
@.str.1 = [7 x i8] c"Eleven\00"
@.str.2 = [7 x i8] c"Twelve\00"
@.str.3 = [9 x i8] c"Thirteen\00"
@.str.4 = [9 x i8] c"Fourteen\00"
@.str.5 = [8 x i8] c"Fifteen\00"
@.str.6 = [8 x i8] c"Sixteen\00"
@.str.7 = [10 x i8] c"Seventeen\00"
@.str.8 = [9 x i8] c"Eighteen\00"
@.str.9 = [9 x i8] c"Nineteen\00"
@reltable.main = [10 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.1 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.2 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.3 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.4 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.5 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.6 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.7 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.8 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.9 to i64), i64 ptrtoint ([10 x i32]* @reltable.main to i64)) to i32)]
@.str.10 = [1 x i8] zeroinitializer
@.str.11 = [8 x i8] c"Twenty-\00"
@.str.12 = [8 x i8] c"Thirty-\00"
@.str.13 = [8 x i8] c"Fourty-\00"
@.str.14 = [7 x i8] c"Fifty-\00"
@.str.15 = [7 x i8] c"Sixty-\00"
@.str.16 = [9 x i8] c"Seventy-\00"
@.str.17 = [8 x i8] c"Eighty-\00"
@.str.18 = [8 x i8] c"Ninety-\00"
@reltable.main.42 = [10 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([1 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([1 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.11 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.12 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.13 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.14 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.15 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.16 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.17 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.18 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.42 to i64)) to i32)]
@.str.19 = [7 x i8] c"Twenty\00"
@.str.20 = [7 x i8] c"Thirty\00"
@.str.21 = [7 x i8] c"Fourty\00"
@.str.22 = [6 x i8] c"Fifty\00"
@.str.23 = [6 x i8] c"Sixty\00"
@.str.24 = [8 x i8] c"Seventy\00"
@.str.25 = [7 x i8] c"Eighty\00"
@.str.26 = [7 x i8] c"Ninety\00"
@reltable.main.43 = [10 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([1 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([1 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.19 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.20 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.21 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.22 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.23 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.24 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.25 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.26 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.43 to i64)) to i32)]
@.str.27 = [4 x i8] c"one\00"
@.str.28 = [4 x i8] c"Two\00"
@.str.29 = [6 x i8] c"Three\00"
@.str.30 = [5 x i8] c"Four\00"
@.str.31 = [5 x i8] c"Five\00"
@.str.32 = [4 x i8] c"Six\00"
@.str.33 = [6 x i8] c"Seven\00"
@.str.34 = [6 x i8] c"Eight\00"
@.str.35 = [5 x i8] c"Nine\00"
@reltable.main.44 = [10 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([1 x i8]* @.str.10 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.27 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.28 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.29 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.30 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.31 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.32 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.33 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.34 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.35 to i64), i64 ptrtoint ([10 x i32]* @reltable.main.44 to i64)) to i32)]
@.str.36 = [25 x i8] c"Enter a 2 digit number: \00"
@.str.37 = [7 x i8] c"%1d%1d\00"
@.str.38 = [14 x i8] c"You entered: \00"
@.str.39 = [3 x i8] c"%s\00"
@.str.40 = [5 x i8] c"%s%s\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.36, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.37, i64 0, i64 0), i32* %1, i32* %2)
%7 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.38, i64 0, i64 0))
%8 = load i32, i32* %1
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %16
10: ; preds = %0
%11 = load i32, i32* %2
%12 = sext i32 %11 to i64
%13 = shl i64 %12, 2
%14 = call i8* @llvm.load.relative.i64(i8* bitcast ([10 x i32]* @reltable.main to i8*), i64 %13)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i64 0, i64 0), i8* %14)
br label %34
16: ; preds = %0
%17 = icmp sgt i32 %8, 1
%18 = load i32, i32* %2
%19 = icmp ne i32 %18, 0
%20 = select i1 %17, i1 %19, i1 false
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = zext i32 %8 to i64
%23 = shl i64 %22, 2
%24 = call i8* @llvm.load.relative.i64(i8* bitcast ([10 x i32]* @reltable.main.42 to i8*), i64 %23)
%25 = sext i32 %18 to i64
%26 = shl i64 %25, 2
%27 = call i8* @llvm.load.relative.i64(i8* bitcast ([10 x i32]* @reltable.main.44 to i8*), i64 %26)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.40, i64 0, i64 0), i8* %24, i8* %27)
br label %34
29: ; preds = %16
%30 = sext i32 %8 to i64
%31 = shl i64 %30, 2
%32 = call i8* @llvm.load.relative.i64(i8* bitcast ([10 x i32]* @reltable.main.43 to i8*), i64 %31)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i64 0, i64 0), i8* %32)
br label %34
34: ; preds = %21, %29, %10
%35 = call i32 @putchar(i32 10)
ret i32 0
}