#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 htoi(char *);
int /*<<< orphan*/ printf(char *, char *, int);
int main() {
  char s00[] = "0";
  char s01[] = "1";
  char s02[] = "2";
  char s03[] = "3";
  char s04[] = "4";
  char s05[] = "5";
  char s06[] = "6";
  char s07[] = "7";
  char s08[] = "8";
  char s09[] = "9";
  char s10[] = "a";
  char s11[] = "b";
  char s12[] = "c";
  char s13[] = "d";
  char s14[] = "e";
  char s15[] = "f";
  printf("%12s   %d\n", s00, htoi(s00));
  printf("%12s   %d\n", s01, htoi(s01));
  printf("%12s   %d\n", s02, htoi(s02));
  printf("%12s   %d\n", s03, htoi(s03));
  printf("%12s   %d\n", s04, htoi(s04));
  printf("%12s   %d\n", s05, htoi(s05));
  printf("%12s   %d\n", s06, htoi(s06));
  printf("%12s   %d\n", s07, htoi(s07));
  printf("%12s   %d\n", s08, htoi(s08));
  printf("%12s   %d\n", s09, htoi(s09));
  printf("%12s   %d\n", s10, htoi(s10));
  printf("%12s   %d\n", s11, htoi(s11));
  printf("%12s   %d\n", s12, htoi(s12));
  printf("%12s   %d\n", s13, htoi(s13));
  printf("%12s   %d\n", s14, htoi(s14));
  printf("%12s   %d\n", s15, htoi(s15));
  char s16[] = "0x34";
  printf("%12s   %d\n", s16, htoi(s16));
  char s17[] = "0X34";
  printf("%12s   %d\n", s17, htoi(s17));
  char s18[] = "e3a";
  printf("%12s   %d\n", s18, htoi(s18));
  char s19[] = "0xe3a";
  printf("%12s   %d\n", s19, htoi(s19));
  char s20[] = "abcdef";
  printf("%12s   %d\n", s20, htoi(s20));
  char s21[] = "ABCDEF";
  printf("%12s   %d\n", s21, htoi(s21));
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
mov    0xece(%rip),%ax
mov    %ax,-0x2(%rbp)
mov    0xec5(%rip),%ax
mov    %ax,-0x4(%rbp)
mov    0xebc(%rip),%ax
mov    %ax,-0x6(%rbp)
mov    0xeb3(%rip),%ax
mov    %ax,-0x8(%rbp)
mov    0xecf(%rip),%ax
mov    %ax,-0xa(%rbp)
mov    0xe9f(%rip),%ax
mov    %ax,-0xc(%rbp)
mov    0xe96(%rip),%ax
mov    %ax,-0xe(%rbp)
mov    0xe8d(%rip),%ax
mov    %ax,-0x10(%rbp)
mov    0xe84(%rip),%ax
mov    %ax,-0x12(%rbp)
mov    0xe7b(%rip),%ax
mov    %ax,-0x14(%rbp)
mov    0xe93(%rip),%ax
mov    %ax,-0x16(%rbp)
mov    0xe67(%rip),%ax
mov    %ax,-0x18(%rbp)
mov    0xe5e(%rip),%ax
mov    %ax,-0x1a(%rbp)
mov    0xe55(%rip),%ax
mov    %ax,-0x1c(%rbp)
mov    0xe4c(%rip),%ax
mov    %ax,-0x1e(%rbp)
mov    0xe63(%rip),%ax
mov    %ax,-0x20(%rbp)
lea    -0x2(%rbp),%rax
mov    %rax,-0xf8(%rbp)
lea    -0x2(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xf8(%rbp),%rsi
mov    %eax,%edx
lea    0xe1b(%rip),%rdi
call   1030 <printf@plt>
lea    -0x4(%rbp),%rax
mov    %rax,-0xf0(%rbp)
lea    -0x4(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xf0(%rbp),%rsi
mov    %eax,%edx
lea    0xdf2(%rip),%rdi
call   1030 <printf@plt>
lea    -0x6(%rbp),%rax
mov    %rax,-0xe8(%rbp)
lea    -0x6(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xe8(%rbp),%rsi
mov    %eax,%edx
lea    0xdc9(%rip),%rdi
call   1030 <printf@plt>
lea    -0x8(%rbp),%rax
mov    %rax,-0xe0(%rbp)
lea    -0x8(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xe0(%rbp),%rsi
mov    %eax,%edx
lea    0xda0(%rip),%rdi
call   1030 <printf@plt>
lea    -0xa(%rbp),%rax
mov    %rax,-0xd8(%rbp)
lea    -0xa(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xd8(%rbp),%rsi
mov    %eax,%edx
lea    0xd77(%rip),%rdi
call   1030 <printf@plt>
lea    -0xc(%rbp),%rax
mov    %rax,-0xd0(%rbp)
lea    -0xc(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xd0(%rbp),%rsi
mov    %eax,%edx
lea    0xd4e(%rip),%rdi
call   1030 <printf@plt>
lea    -0xe(%rbp),%rax
mov    %rax,-0xc8(%rbp)
lea    -0xe(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xc8(%rbp),%rsi
mov    %eax,%edx
lea    0xd25(%rip),%rdi
call   1030 <printf@plt>
lea    -0x10(%rbp),%rax
mov    %rax,-0xc0(%rbp)
lea    -0x10(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xc0(%rbp),%rsi
mov    %eax,%edx
lea    0xcfc(%rip),%rdi
call   1030 <printf@plt>
lea    -0x12(%rbp),%rax
mov    %rax,-0xb8(%rbp)
lea    -0x12(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xb8(%rbp),%rsi
mov    %eax,%edx
lea    0xcd3(%rip),%rdi
call   1030 <printf@plt>
lea    -0x14(%rbp),%rax
mov    %rax,-0xb0(%rbp)
lea    -0x14(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xb0(%rbp),%rsi
mov    %eax,%edx
lea    0xcaa(%rip),%rdi
call   1030 <printf@plt>
lea    -0x16(%rbp),%rax
mov    %rax,-0xa8(%rbp)
lea    -0x16(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xa8(%rbp),%rsi
mov    %eax,%edx
lea    0xc81(%rip),%rdi
call   1030 <printf@plt>
lea    -0x18(%rbp),%rax
mov    %rax,-0xa0(%rbp)
lea    -0x18(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0xa0(%rbp),%rsi
mov    %eax,%edx
lea    0xc58(%rip),%rdi
call   1030 <printf@plt>
lea    -0x1a(%rbp),%rax
mov    %rax,-0x98(%rbp)
lea    -0x1a(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x98(%rbp),%rsi
mov    %eax,%edx
lea    0xc2f(%rip),%rdi
call   1030 <printf@plt>
lea    -0x1c(%rbp),%rax
mov    %rax,-0x90(%rbp)
lea    -0x1c(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x90(%rbp),%rsi
mov    %eax,%edx
lea    0xc06(%rip),%rdi
call   1030 <printf@plt>
lea    -0x1e(%rbp),%rax
mov    %rax,-0x88(%rbp)
lea    -0x1e(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x88(%rbp),%rsi
mov    %eax,%edx
lea    0xbdd(%rip),%rdi
call   1030 <printf@plt>
lea    -0x20(%rbp),%rax
mov    %rax,-0x80(%rbp)
lea    -0x20(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x80(%rbp),%rsi
mov    %eax,%edx
lea    0xbba(%rip),%rdi
call   1030 <printf@plt>
mov    0xbba(%rip),%eax
mov    %eax,-0x25(%rbp)
mov    0xbb5(%rip),%al
mov    %al,-0x21(%rbp)
lea    -0x25(%rbp),%rax
mov    %rax,-0x78(%rbp)
lea    -0x25(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x78(%rbp),%rsi
mov    %eax,%edx
lea    0xb85(%rip),%rdi
call   1030 <printf@plt>
mov    0xb8a(%rip),%eax
mov    %eax,-0x2a(%rbp)
mov    0xb85(%rip),%al
mov    %al,-0x26(%rbp)
lea    -0x2a(%rbp),%rax
mov    %rax,-0x70(%rbp)
lea    -0x2a(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x70(%rbp),%rsi
mov    %eax,%edx
lea    0xb50(%rip),%rdi
call   1030 <printf@plt>
mov    0xb5c(%rip),%eax
mov    %eax,-0x2e(%rbp)
lea    -0x2e(%rbp),%rax
mov    %rax,-0x68(%rbp)
lea    -0x2e(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x68(%rbp),%rsi
mov    %eax,%edx
lea    0xb24(%rip),%rdi
call   1030 <printf@plt>
mov    0xb2e(%rip),%eax
mov    %eax,-0x34(%rbp)
mov    0xb28(%rip),%ax
mov    %ax,-0x30(%rbp)
lea    -0x34(%rbp),%rax
mov    %rax,-0x60(%rbp)
lea    -0x34(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x60(%rbp),%rsi
mov    %eax,%edx
lea    0xaed(%rip),%rdi
call   1030 <printf@plt>
mov    0xafd(%rip),%eax
mov    %eax,-0x3b(%rbp)
mov    0xaf7(%rip),%ax
mov    %ax,-0x37(%rbp)
mov    0xaef(%rip),%al
mov    %al,-0x35(%rbp)
lea    -0x3b(%rbp),%rax
mov    %rax,-0x58(%rbp)
lea    -0x3b(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x58(%rbp),%rsi
mov    %eax,%edx
lea    0xaad(%rip),%rdi
call   1030 <printf@plt>
mov    0xac4(%rip),%eax
mov    %eax,-0x42(%rbp)
mov    0xabe(%rip),%ax
mov    %ax,-0x3e(%rbp)
mov    0xab6(%rip),%al
mov    %al,-0x3c(%rbp)
lea    -0x42(%rbp),%rax
mov    %rax,-0x50(%rbp)
lea    -0x42(%rbp),%rdi
call   1040 <htoi@plt>
mov    -0x50(%rbp),%rsi
mov    %eax,%edx
lea    0xa6d(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x58,%rsp
movw   $0x30,0x2a(%rsp)
movw   $0x31,0x28(%rsp)
movw   $0x32,0x26(%rsp)
movw   $0x33,0x24(%rsp)
movw   $0x34,0x22(%rsp)
movw   $0x35,0x20(%rsp)
movw   $0x36,0x1e(%rsp)
movw   $0x37,0x1c(%rsp)
movw   $0x38,0x1a(%rsp)
movw   $0x39,0x18(%rsp)
movw   $0x61,0x16(%rsp)
movw   $0x62,0x14(%rsp)
movw   $0x63,0x12(%rsp)
movw   $0x64,0x10(%rsp)
movw   $0x65,0xe(%rsp)
movw   $0x66,0xc(%rsp)
lea    0x2a(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
lea    0xe55(%rip),%r14
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x28(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x26(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x24(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x22(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x1e(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x1c(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x1a(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x18(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x16(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x14(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x12(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0xe(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
lea    0xc(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
movb   $0x0,0x38(%rsp)
movl   $0x34337830,0x34(%rsp)
34
lea    0x34(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
movb   $0x0,0x30(%rsp)
movl   $0x34335830,0x2c(%rsp)
34
lea    0x2c(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
movl   $0x613365,0x44(%rsp)
lea    0x44(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
movw   $0x61,0x40(%rsp)
movl   $0x33657830,0x3c(%rsp)
33
lea    0x3c(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
movl   $0x666564,0x53(%rsp)
movl   $0x64636261,0x50(%rsp)
64
lea    0x50(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
movl   $0x464544,0x4b(%rsp)
movl   $0x44434241,0x48(%rsp)
44
lea    0x48(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <htoi@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__const.main.s00 = [2 x i8] c"0\00"
@__const.main.s01 = [2 x i8] c"1\00"
@__const.main.s02 = [2 x i8] c"2\00"
@__const.main.s03 = [2 x i8] c"3\00"
@__const.main.s04 = [2 x i8] c"4\00"
@__const.main.s05 = [2 x i8] c"5\00"
@__const.main.s06 = [2 x i8] c"6\00"
@__const.main.s07 = [2 x i8] c"7\00"
@__const.main.s08 = [2 x i8] c"8\00"
@__const.main.s09 = [2 x i8] c"9\00"
@__const.main.s10 = [2 x i8] c"a\00"
@__const.main.s11 = [2 x i8] c"b\00"
@__const.main.s12 = [2 x i8] c"c\00"
@__const.main.s13 = [2 x i8] c"d\00"
@__const.main.s14 = [2 x i8] c"e\00"
@__const.main.s15 = [2 x i8] c"f\00"
@.str = [11 x i8] c"%12s %d\0A\00"
@__const.main.s16 = [5 x i8] c"0x34\00"
@__const.main.s17 = [5 x i8] c"0X34\00"
@__const.main.s18 = [4 x i8] c"e3a\00"
@__const.main.s19 = [6 x i8] c"0xe3a\00"
@__const.main.s20 = [7 x i8] c"abcdef\00"
@__const.main.s21 = [7 x i8] c"ABCDEF\00"
define i32 @main() {
%1 = alloca [2 x i8]
%2 = alloca [2 x i8]
%3 = alloca [2 x i8]
%4 = alloca [2 x i8]
%5 = alloca [2 x i8]
%6 = alloca [2 x i8]
%7 = alloca [2 x i8]
%8 = alloca [2 x i8]
%9 = alloca [2 x i8]
%10 = alloca [2 x i8]
%11 = alloca [2 x i8]
%12 = alloca [2 x i8]
%13 = alloca [2 x i8]
%14 = alloca [2 x i8]
%15 = alloca [2 x i8]
%16 = alloca [2 x i8]
%17 = alloca [5 x i8]
%18 = alloca [5 x i8]
%19 = alloca [4 x i8]
%20 = alloca [6 x i8]
%21 = alloca [7 x i8]
%22 = alloca [7 x i8]
%23 = bitcast [2 x i8]* %1 to i8*
%24 = bitcast [2 x i8]* %2 to i8*
%25 = bitcast [2 x i8]* %3 to i8*
%26 = bitcast [2 x i8]* %4 to i8*
%27 = bitcast [2 x i8]* %5 to i8*
%28 = bitcast [2 x i8]* %6 to i8*
%29 = bitcast [2 x i8]* %7 to i8*
%30 = bitcast [2 x i8]* %8 to i8*
%31 = bitcast [2 x i8]* %9 to i8*
%32 = bitcast [2 x i8]* %10 to i8*
%33 = bitcast [2 x i8]* %11 to i8*
%34 = bitcast [2 x i8]* %12 to i8*
%35 = bitcast [2 x i8]* %13 to i8*
%36 = bitcast [2 x i8]* %14 to i8*
%37 = bitcast [2 x i8]* %15 to i8*
%38 = bitcast [2 x i8]* %16 to i8*
%39 = getelementptr inbounds [2 x i8], [2 x i8]* %1, i64 0, i64 0
%40 = getelementptr inbounds [2 x i8], [2 x i8]* %1, i64 0, i64 0
%41 = call i32 @htoi(i8* %40)
%42 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %39, i32 %41)
%43 = getelementptr inbounds [2 x i8], [2 x i8]* %2, i64 0, i64 0
%44 = getelementptr inbounds [2 x i8], [2 x i8]* %2, i64 0, i64 0
%45 = call i32 @htoi(i8* %44)
%46 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %43, i32 %45)
%47 = getelementptr inbounds [2 x i8], [2 x i8]* %3, i64 0, i64 0
%48 = getelementptr inbounds [2 x i8], [2 x i8]* %3, i64 0, i64 0
%49 = call i32 @htoi(i8* %48)
%50 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %47, i32 %49)
%51 = getelementptr inbounds [2 x i8], [2 x i8]* %4, i64 0, i64 0
%52 = getelementptr inbounds [2 x i8], [2 x i8]* %4, i64 0, i64 0
%53 = call i32 @htoi(i8* %52)
%54 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %51, i32 %53)
%55 = getelementptr inbounds [2 x i8], [2 x i8]* %5, i64 0, i64 0
%56 = getelementptr inbounds [2 x i8], [2 x i8]* %5, i64 0, i64 0
%57 = call i32 @htoi(i8* %56)
%58 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %55, i32 %57)
%59 = getelementptr inbounds [2 x i8], [2 x i8]* %6, i64 0, i64 0
%60 = getelementptr inbounds [2 x i8], [2 x i8]* %6, i64 0, i64 0
%61 = call i32 @htoi(i8* %60)
%62 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %59, i32 %61)
%63 = getelementptr inbounds [2 x i8], [2 x i8]* %7, i64 0, i64 0
%64 = getelementptr inbounds [2 x i8], [2 x i8]* %7, i64 0, i64 0
%65 = call i32 @htoi(i8* %64)
%66 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %63, i32 %65)
%67 = getelementptr inbounds [2 x i8], [2 x i8]* %8, i64 0, i64 0
%68 = getelementptr inbounds [2 x i8], [2 x i8]* %8, i64 0, i64 0
%69 = call i32 @htoi(i8* %68)
%70 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %67, i32 %69)
%71 = getelementptr inbounds [2 x i8], [2 x i8]* %9, i64 0, i64 0
%72 = getelementptr inbounds [2 x i8], [2 x i8]* %9, i64 0, i64 0
%73 = call i32 @htoi(i8* %72)
%74 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %71, i32 %73)
%75 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%76 = getelementptr inbounds [2 x i8], [2 x i8]* %10, i64 0, i64 0
%77 = call i32 @htoi(i8* %76)
%78 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %75, i32 %77)
%79 = getelementptr inbounds [2 x i8], [2 x i8]* %11, i64 0, i64 0
%80 = getelementptr inbounds [2 x i8], [2 x i8]* %11, i64 0, i64 0
%81 = call i32 @htoi(i8* %80)
%82 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %79, i32 %81)
%83 = getelementptr inbounds [2 x i8], [2 x i8]* %12, i64 0, i64 0
%84 = getelementptr inbounds [2 x i8], [2 x i8]* %12, i64 0, i64 0
%85 = call i32 @htoi(i8* %84)
%86 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %83, i32 %85)
%87 = getelementptr inbounds [2 x i8], [2 x i8]* %13, i64 0, i64 0
%88 = getelementptr inbounds [2 x i8], [2 x i8]* %13, i64 0, i64 0
%89 = call i32 @htoi(i8* %88)
%90 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %87, i32 %89)
%91 = getelementptr inbounds [2 x i8], [2 x i8]* %14, i64 0, i64 0
%92 = getelementptr inbounds [2 x i8], [2 x i8]* %14, i64 0, i64 0
%93 = call i32 @htoi(i8* %92)
%94 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %91, i32 %93)
%95 = getelementptr inbounds [2 x i8], [2 x i8]* %15, i64 0, i64 0
%96 = getelementptr inbounds [2 x i8], [2 x i8]* %15, i64 0, i64 0
%97 = call i32 @htoi(i8* %96)
%98 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %95, i32 %97)
%99 = getelementptr inbounds [2 x i8], [2 x i8]* %16, i64 0, i64 0
%100 = getelementptr inbounds [2 x i8], [2 x i8]* %16, i64 0, i64 0
%101 = call i32 @htoi(i8* %100)
%102 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %99, i32 %101)
%103 = bitcast [5 x i8]* %17 to i8*
%104 = getelementptr inbounds [5 x i8], [5 x i8]* %17, i64 0, i64 0
%105 = getelementptr inbounds [5 x i8], [5 x i8]* %17, i64 0, i64 0
%106 = call i32 @htoi(i8* %105)
%107 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %104, i32 %106)
%108 = bitcast [5 x i8]* %18 to i8*
%109 = getelementptr inbounds [5 x i8], [5 x i8]* %18, i64 0, i64 0
%110 = getelementptr inbounds [5 x i8], [5 x i8]* %18, i64 0, i64 0
%111 = call i32 @htoi(i8* %110)
%112 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %109, i32 %111)
%113 = bitcast [4 x i8]* %19 to i8*
%114 = getelementptr inbounds [4 x i8], [4 x i8]* %19, i64 0, i64 0
%115 = getelementptr inbounds [4 x i8], [4 x i8]* %19, i64 0, i64 0
%116 = call i32 @htoi(i8* %115)
%117 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %114, i32 %116)
%118 = bitcast [6 x i8]* %20 to i8*
%119 = getelementptr inbounds [6 x i8], [6 x i8]* %20, i64 0, i64 0
%120 = getelementptr inbounds [6 x i8], [6 x i8]* %20, i64 0, i64 0
%121 = call i32 @htoi(i8* %120)
%122 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %119, i32 %121)
%123 = bitcast [7 x i8]* %21 to i8*
%124 = getelementptr inbounds [7 x i8], [7 x i8]* %21, i64 0, i64 0
%125 = getelementptr inbounds [7 x i8], [7 x i8]* %21, i64 0, i64 0
%126 = call i32 @htoi(i8* %125)
%127 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %124, i32 %126)
%128 = bitcast [7 x i8]* %22 to i8*
%129 = getelementptr inbounds [7 x i8], [7 x i8]* %22, i64 0, i64 0
%130 = getelementptr inbounds [7 x i8], [7 x i8]* %22, i64 0, i64 0
%131 = call i32 @htoi(i8* %130)
%132 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %129, i32 %131)
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"%12s %d\0A\00"
@__const.main.s16 = [5 x i8] c"0x34\00"
@__const.main.s17 = [5 x i8] c"0X34\00"
@__const.main.s19 = [6 x i8] c"0xe3a\00"
@__const.main.s20 = [7 x i8] c"abcdef\00"
@__const.main.s21 = [7 x i8] c"ABCDEF\00"
define i32 @main() {
%1 = alloca i16
%2 = alloca i16
%3 = alloca i16
%4 = alloca i16
%5 = alloca i16
%6 = alloca i16
%7 = alloca i16
%8 = alloca i16
%9 = alloca i16
%10 = alloca i16
%11 = alloca i16
%12 = alloca i16
%13 = alloca i16
%14 = alloca i16
%15 = alloca i16
%16 = alloca i16
%17 = alloca [5 x i8]
%18 = alloca [5 x i8]
%19 = alloca i32
%20 = alloca [6 x i8]
%21 = alloca [7 x i8]
%22 = alloca [7 x i8]
%23 = bitcast i16* %1 to i8*
store i16 48, i16* %1
%24 = bitcast i16* %2 to i8*
store i16 49, i16* %2
%25 = bitcast i16* %3 to i8*
store i16 50, i16* %3
%26 = bitcast i16* %4 to i8*
store i16 51, i16* %4
%27 = bitcast i16* %5 to i8*
store i16 52, i16* %5
%28 = bitcast i16* %6 to i8*
store i16 53, i16* %6
%29 = bitcast i16* %7 to i8*
store i16 54, i16* %7
%30 = bitcast i16* %8 to i8*
store i16 55, i16* %8
%31 = bitcast i16* %9 to i8*
store i16 56, i16* %9
%32 = bitcast i16* %10 to i8*
store i16 57, i16* %10
%33 = bitcast i16* %11 to i8*
store i16 97, i16* %11
%34 = bitcast i16* %12 to i8*
store i16 98, i16* %12
%35 = bitcast i16* %13 to i8*
store i16 99, i16* %13
%36 = bitcast i16* %14 to i8*
store i16 100, i16* %14
%37 = bitcast i16* %15 to i8*
store i16 101, i16* %15
%38 = bitcast i16* %16 to i8*
store i16 102, i16* %16
%39 = call i32 @htoi(i8* %23)
%40 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %23, i32 %39)
%41 = call i32 @htoi(i8* %24)
%42 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %24, i32 %41)
%43 = call i32 @htoi(i8* %25)
%44 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %25, i32 %43)
%45 = call i32 @htoi(i8* %26)
%46 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %26, i32 %45)
%47 = call i32 @htoi(i8* %27)
%48 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %27, i32 %47)
%49 = call i32 @htoi(i8* %28)
%50 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %28, i32 %49)
%51 = call i32 @htoi(i8* %29)
%52 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %29, i32 %51)
%53 = call i32 @htoi(i8* %30)
%54 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %30, i32 %53)
%55 = call i32 @htoi(i8* %31)
%56 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %31, i32 %55)
%57 = call i32 @htoi(i8* %32)
%58 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %32, i32 %57)
%59 = call i32 @htoi(i8* %33)
%60 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %33, i32 %59)
%61 = call i32 @htoi(i8* %34)
%62 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %34, i32 %61)
%63 = call i32 @htoi(i8* %35)
%64 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %35, i32 %63)
%65 = call i32 @htoi(i8* %36)
%66 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %36, i32 %65)
%67 = call i32 @htoi(i8* %37)
%68 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %37, i32 %67)
%69 = call i32 @htoi(i8* %38)
%70 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %38, i32 %69)
%71 = getelementptr inbounds [5 x i8], [5 x i8]* %17, i64 0, i64 0
%72 = call i32 @htoi(i8* %71)
%73 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %71, i32 %72)
%74 = getelementptr inbounds [5 x i8], [5 x i8]* %18, i64 0, i64 0
%75 = call i32 @htoi(i8* %74)
%76 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %74, i32 %75)
%77 = bitcast i32* %19 to i8*
store i32 6370149, i32* %19
%78 = call i32 @htoi(i8* %77)
%79 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %77, i32 %78)
%80 = getelementptr inbounds [6 x i8], [6 x i8]* %20, i64 0, i64 0
%81 = call i32 @htoi(i8* %80)
%82 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %80, i32 %81)
%83 = getelementptr inbounds [7 x i8], [7 x i8]* %21, i64 0, i64 0
%84 = call i32 @htoi(i8* %83)
%85 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %83, i32 %84)
%86 = getelementptr inbounds [7 x i8], [7 x i8]* %22, i64 0, i64 0
%87 = call i32 @htoi(i8* %86)
%88 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %86, i32 %87)
ret i32 0
}