#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 */
typedef int /*<<< orphan*/ buffer;

/* Variables and functions */
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ snprintf(char *, int, char *, unsigned int);
char *ascii2int(const char *string, size_t len) {
  static char buffer[4096];
  unsigned int idx, bufIdx = 0;
  memset(buffer, 0, sizeof(buffer));
  for (idx = 0; idx < len; ++idx) {
    if (string[idx] == '\r') {
      buffer[bufIdx++] = '\\';
      buffer[bufIdx++] = 'r';
    } else if (string[idx] == '\n') {
      buffer[bufIdx++] = '\\';
      buffer[bufIdx++] = 'n';
    } else if (string[idx] == '\t') {
      buffer[bufIdx++] = '\\';
      buffer[bufIdx++] = 't';
    } else if (string[idx] < 32) {
      int ascii = string[idx];
      buffer[bufIdx++] = '\\';
      if (ascii > 9) {
        buffer[bufIdx++] = (ascii % 10) + 48;
        ascii -= (ascii % 10) * 10;
      }
      buffer[bufIdx++] = ascii + 48;
    } else
      buffer[bufIdx++] = string[idx];
    buffer[bufIdx++] = ' ';
    buffer[bufIdx++] = '(';
    snprintf(buffer + bufIdx, sizeof(buffer) - bufIdx, "%3d",
             (unsigned int)string[idx]);
    bufIdx += 3;
    buffer[bufIdx++] = ')';
    buffer[bufIdx++] = ' ';
    if (bufIdx > (sizeof(buffer) - 20))
      break;
  }
  buffer[bufIdx] = '\0';
  return buffer;
}


x86 assembly (clang, -O0):
<ascii2int>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x18(%rbp)
lea    0x2f02(%rip),%rdi
xor    %esi,%esi
mov    $0x1000,%edx
call   1040 <memset@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x10(%rbp),%rax
jae    13eb <ascii2int+0x2cb>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
movsbl (%rax,%rcx,1),%eax
cmp    $0xd,%eax
jne    11ab <ascii2int+0x8b>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2eb8(%rip),%rax
movb   $0x5c,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2e9e(%rip),%rax
movb   $0x72,(%rax,%rcx,1)
jmp    1320 <ascii2int+0x200>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
movsbl (%rax,%rcx,1),%eax
cmp    $0xa,%eax
jne    11f8 <ascii2int+0xd8>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2e6b(%rip),%rax
movb   $0x5c,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2e51(%rip),%rax
movb   $0x6e,(%rax,%rcx,1)
jmp    131b <ascii2int+0x1fb>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
movsbl (%rax,%rcx,1),%eax
cmp    $0x9,%eax
jne    1245 <ascii2int+0x125>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2e1e(%rip),%rax
movb   $0x5c,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2e04(%rip),%rax
movb   $0x74,(%rax,%rcx,1)
jmp    1316 <ascii2int+0x1f6>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
movsbl (%rax,%rcx,1),%eax
cmp    $0x20,%eax
jge    12ee <ascii2int+0x1ce>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
movsbl (%rax,%rcx,1),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2dc3(%rip),%rax
movb   $0x5c,(%rax,%rcx,1)
cmpl   $0x9,-0x1c(%rbp)
jle    12c8 <ascii2int+0x1a8>
mov    -0x1c(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
add    $0x30,%edx
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2d91(%rip),%rax
mov    %dl,(%rax,%rcx,1)
mov    -0x1c(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
imul   $0xa,%edx,%ecx
mov    -0x1c(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x30,%eax
mov    %al,%dl
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2d5a(%rip),%rax
mov    %dl,(%rax,%rcx,1)
jmp    1311 <ascii2int+0x1f1>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    (%rax,%rcx,1),%dl
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2d32(%rip),%rax
mov    %dl,(%rax,%rcx,1)
jmp    1316 <ascii2int+0x1f6>
jmp    131b <ascii2int+0x1fb>
jmp    1320 <ascii2int+0x200>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2d0a(%rip),%rax
movb   $0x20,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2cf0(%rip),%rax
movb   $0x28,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
lea    0x2ce2(%rip),%rdi
add    %rax,%rdi
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
mov    $0x1000,%eax
sub    %rcx,%rax
mov    %eax,%esi
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
movsbl (%rax,%rcx,1),%ecx
lea    0xc7e(%rip),%rdx
call   1030 <snprintf@plt>
mov    -0x18(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2c9a(%rip),%rax
movb   $0x29,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x18(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2c80(%rip),%rax
movb   $0x20,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
cmp    $0xfec,%rax
jbe    13d8 <ascii2int+0x2b8>
jmp    13eb <ascii2int+0x2cb>
jmp    13dd <ascii2int+0x2bd>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1151 <ascii2int+0x31>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
lea    0x2c49(%rip),%rax
movb   $0x0,(%rax,%rcx,1)
lea    0x2c3e(%rip),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ascii2int>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%r15
lea    0x2f08(%rip),%r13
xor    %ebx,%ebx
mov    %r13,%rdi
xor    %esi,%esi
mov    $0x1000,%edx
call   1040 <memset@plt>
test   %r14,%r14
je     1259 <ascii2int+0x139>
lea    0xea7(%rip),%r12
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
movzbl (%r15,%rbp,1),%ecx
cmp    $0x9,%cl
je     1190 <ascii2int+0x70>
cmp    $0xa,%cl
je     11a0 <ascii2int+0x80>
cmp    $0xd,%cl
jne    11b0 <ascii2int+0x90>
mov    %ebx,%eax
add    $0x1,%ebx
movb   $0x5c,(%rax,%r13,1)
mov    $0x72,%cl
jmp    1200 <ascii2int+0xe0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %ebx,%eax
add    $0x1,%ebx
movb   $0x5c,(%rax,%r13,1)
mov    $0x74,%cl
jmp    1200 <ascii2int+0xe0>
xchg   %ax,%ax
mov    %ebx,%eax
add    $0x1,%ebx
movb   $0x5c,(%rax,%r13,1)
mov    $0x6e,%cl
jmp    1200 <ascii2int+0xe0>
xchg   %ax,%ax
cmp    $0x1f,%cl
jg     1200 <ascii2int+0xe0>
mov    %ebx,%esi
movb   $0x5c,(%rsi,%r13,1)
add    $0x1,%rsi
cmp    $0xa,%cl
jl     11f7 <ascii2int+0xd7>
movzbl %cl,%edx
imul   $0xcd,%edx,%edx
shr    $0xa,%edx
and    $0xfffffffe,%edx
lea    (%rdx,%rdx,4),%edx
mov    %ecx,%eax
sub    %dl,%al
movzbl %al,%eax
mov    %eax,%edx
or     $0x30,%dl
add    $0x2,%ebx
mov    %dl,(%rsi,%r13,1)
add    %eax,%eax
lea    (%rax,%rax,4),%eax
neg    %eax
add    %cl,%al
mov    %ebx,%esi
mov    %eax,%ecx
add    $0x30,%cl
mov    %esi,%ebx
nopl   0x0(%rax)
mov    %ebx,%eax
mov    %cl,(%rax,%r13,1)
lea    0x1(%rbx),%eax
lea    0x2(%rbx),%ecx
movb   $0x20,(%rax,%r13,1)
lea    0x3(%rbx),%edi
movb   $0x28,(%rcx,%r13,1)
add    %r13,%rdi
mov    $0xffd,%esi
sub    %ebx,%esi
movsbl (%r15,%rbp,1),%ecx
mov    %r12,%rdx
call   1030 <snprintf@plt>
lea    0x6(%rbx),%eax
lea    0x7(%rbx),%ecx
movb   $0x29,(%rax,%r13,1)
add    $0x8,%ebx
movb   $0x20,(%rcx,%r13,1)
cmp    $0xfed,%ebx
jae    1257 <ascii2int+0x137>
add    $0x1,%ebp
cmp    %r14,%rbp
jb     1160 <ascii2int+0x40>
mov    %ebx,%ebx
movb   $0x0,(%rbx,%r13,1)
mov    %r13,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@ascii2int.buffer = internal global [4096 x i8] zeroinitializer
@.str = [4 x i8] c"%3d\00"
define i8* @ascii2int(i8* %0, i64 %1) {
%3 = alloca i8*
%4 = alloca i64
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i8* %0, i8** %3
store i64 %1, i64* %4
store i32 0, i32* %6
%8 = call i32 @memset(i8* getelementptr inbounds ([4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 0), i32 0, i32 4096)
store i32 0, i32* %5
br label %9
9: ; preds = %159, %2
%10 = load i32, i32* %5
%11 = zext i32 %10 to i64
%12 = load i64, i64* %4
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %162
14: ; preds = %9
%15 = load i8*, i8** %3
%16 = load i32, i32* %5
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, i8* %15, i64 %17
%19 = load i8, i8* %18
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 13
br i1 %21, label %22, label %31
22: ; preds = %14
%23 = load i32, i32* %6
%24 = add i32 %23, 1
store i32 %24, i32* %6
%25 = zext i32 %23 to i64
%26 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %25
store i8 92, i8* %26
%27 = load i32, i32* %6
%28 = add i32 %27, 1
store i32 %28, i32* %6
%29 = zext i32 %27 to i64
%30 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %29
store i8 114, i8* %30
br label %121
31: ; preds = %14
%32 = load i8*, i8** %3
%33 = load i32, i32* %5
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i8, i8* %32, i64 %34
%36 = load i8, i8* %35
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 10
br i1 %38, label %39, label %48
39: ; preds = %31
%40 = load i32, i32* %6
%41 = add i32 %40, 1
store i32 %41, i32* %6
%42 = zext i32 %40 to i64
%43 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %42
store i8 92, i8* %43
%44 = load i32, i32* %6
%45 = add i32 %44, 1
store i32 %45, i32* %6
%46 = zext i32 %44 to i64
%47 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %46
store i8 110, i8* %47
br label %120
48: ; preds = %31
%49 = load i8*, i8** %3
%50 = load i32, i32* %5
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds i8, i8* %49, i64 %51
%53 = load i8, i8* %52
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 9
br i1 %55, label %56, label %65
56: ; preds = %48
%57 = load i32, i32* %6
%58 = add i32 %57, 1
store i32 %58, i32* %6
%59 = zext i32 %57 to i64
%60 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %59
store i8 92, i8* %60
%61 = load i32, i32* %6
%62 = add i32 %61, 1
store i32 %62, i32* %6
%63 = zext i32 %61 to i64
%64 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %63
store i8 116, i8* %64
br label %119
65: ; preds = %48
%66 = load i8*, i8** %3
%67 = load i32, i32* %5
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds i8, i8* %66, i64 %68
%70 = load i8, i8* %69
%71 = sext i8 %70 to i32
%72 = icmp slt i32 %71, 32
br i1 %72, label %73, label %108
73: ; preds = %65
%74 = load i8*, i8** %3
%75 = load i32, i32* %5
%76 = zext i32 %75 to i64
%77 = getelementptr inbounds i8, i8* %74, i64 %76
%78 = load i8, i8* %77
%79 = sext i8 %78 to i32
store i32 %79, i32* %7
%80 = load i32, i32* %6
%81 = add i32 %80, 1
store i32 %81, i32* %6
%82 = zext i32 %80 to i64
%83 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %82
store i8 92, i8* %83
%84 = load i32, i32* %7
%85 = icmp sgt i32 %84, 9
br i1 %85, label %86, label %100
86: ; preds = %73
%87 = load i32, i32* %7
%88 = srem i32 %87, 10
%89 = add nsw i32 %88, 48
%90 = trunc i32 %89 to i8
%91 = load i32, i32* %6
%92 = add i32 %91, 1
store i32 %92, i32* %6
%93 = zext i32 %91 to i64
%94 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %93
store i8 %90, i8* %94
%95 = load i32, i32* %7
%96 = srem i32 %95, 10
%97 = mul nsw i32 %96, 10
%98 = load i32, i32* %7
%99 = sub nsw i32 %98, %97
store i32 %99, i32* %7
br label %100
100: ; preds = %86, %73
%101 = load i32, i32* %7
%102 = add nsw i32 %101, 48
%103 = trunc i32 %102 to i8
%104 = load i32, i32* %6
%105 = add i32 %104, 1
store i32 %105, i32* %6
%106 = zext i32 %104 to i64
%107 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %106
store i8 %103, i8* %107
br label %118
108: ; preds = %65
%109 = load i8*, i8** %3
%110 = load i32, i32* %5
%111 = zext i32 %110 to i64
%112 = getelementptr inbounds i8, i8* %109, i64 %111
%113 = load i8, i8* %112
%114 = load i32, i32* %6
%115 = add i32 %114, 1
store i32 %115, i32* %6
%116 = zext i32 %114 to i64
%117 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %116
store i8 %113, i8* %117
br label %118
118: ; preds = %108, %100
br label %119
119: ; preds = %118, %56
br label %120
120: ; preds = %119, %39
br label %121
121: ; preds = %120, %22
%122 = load i32, i32* %6
%123 = add i32 %122, 1
store i32 %123, i32* %6
%124 = zext i32 %122 to i64
%125 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %124
store i8 32, i8* %125
%126 = load i32, i32* %6
%127 = add i32 %126, 1
store i32 %127, i32* %6
%128 = zext i32 %126 to i64
%129 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %128
store i8 40, i8* %129
%130 = load i32, i32* %6
%131 = zext i32 %130 to i64
%132 = getelementptr inbounds i8, i8* getelementptr inbounds ([4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 0), i64 %131
%133 = load i32, i32* %6
%134 = zext i32 %133 to i64
%135 = sub i64 4096, %134
%136 = trunc i64 %135 to i32
%137 = load i8*, i8** %3
%138 = load i32, i32* %5
%139 = zext i32 %138 to i64
%140 = getelementptr inbounds i8, i8* %137, i64 %139
%141 = load i8, i8* %140
%142 = sext i8 %141 to i32
%143 = call i32 @snprintf(i8* %132, i32 %136, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %142)
%144 = load i32, i32* %6
%145 = add i32 %144, 3
store i32 %145, i32* %6
%146 = load i32, i32* %6
%147 = add i32 %146, 1
store i32 %147, i32* %6
%148 = zext i32 %146 to i64
%149 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %148
store i8 41, i8* %149
%150 = load i32, i32* %6
%151 = add i32 %150, 1
store i32 %151, i32* %6
%152 = zext i32 %150 to i64
%153 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %152
store i8 32, i8* %153
%154 = load i32, i32* %6
%155 = zext i32 %154 to i64
%156 = icmp ugt i64 %155, 4076
br i1 %156, label %157, label %158
157: ; preds = %121
br label %162
158: ; preds = %121
br label %159
159: ; preds = %158
%160 = load i32, i32* %5
%161 = add i32 %160, 1
store i32 %161, i32* %5
br label %9
162: ; preds = %157, %9
%163 = load i32, i32* %6
%164 = zext i32 %163 to i64
%165 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %164
store i8 0, i8* %165
ret i8* getelementptr inbounds ([4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 0)
}

LLVM IR (-O2):
@ascii2int.buffer = internal global [4096 x i8] zeroinitializer
@.str = [4 x i8] c"%3d\00"
define i8* @ascii2int(i8* nocapture %0, i64 %1) {
%3 = tail call i32 @memset(i8* getelementptr inbounds ([4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 0), i32 0, i32 4096)
%4 = icmp eq i64 %1, 0
br i1 %4, label %73, label %9
5: ; preds = %45
%6 = add nuw nsw i64 %10, 1
%7 = and i64 %6, 4294967295
%8 = icmp ult i64 %7, %1
br i1 %8, label %9, label %71
9: ; preds = %2, %5
%10 = phi i64 [ %7, %5 ], [ 0, %2 ]
%11 = phi i32 [ %67, %5 ], [ 0, %2 ]
%12 = getelementptr inbounds i8, i8* %0, i64 %10
%13 = load i8, i8* %12
switch i8 %13, label %26 [
i8 13, label %14
i8 10, label %18
i8 9, label %22
]
14: ; preds = %9
%15 = add nuw nsw i32 %11, 1
%16 = zext i32 %11 to i64
%17 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %16
store i8 92, i8* %17
br label %45
18: ; preds = %9
%19 = add nuw nsw i32 %11, 1
%20 = zext i32 %11 to i64
%21 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %20
store i8 92, i8* %21
br label %45
22: ; preds = %9
%23 = add nuw nsw i32 %11, 1
%24 = zext i32 %11 to i64
%25 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %24
store i8 92, i8* %25
br label %45
26: ; preds = %9
%27 = icmp slt i8 %13, 32
br i1 %27, label %28, label %45
28: ; preds = %26
%29 = add nuw nsw i32 %11, 1
%30 = zext i32 %11 to i64
%31 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %30
store i8 92, i8* %31
%32 = icmp sgt i8 %13, 9
br i1 %32, label %33, label %41
33: ; preds = %28
%34 = urem i8 %13, 10
%35 = or i8 %34, 48
%36 = add nuw nsw i32 %11, 2
%37 = zext i32 %29 to i64
%38 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %37
store i8 %35, i8* %38
%39 = mul nsw i8 %34, -10
%40 = add nsw i8 %39, %13
br label %41
41: ; preds = %33, %28
%42 = phi i32 [ %36, %33 ], [ %29, %28 ]
%43 = phi i8 [ %40, %33 ], [ %13, %28 ]
%44 = add nsw i8 %43, 48
br label %45
45: ; preds = %26, %18, %41, %22, %14
%46 = phi i32 [ %19, %18 ], [ %42, %41 ], [ %23, %22 ], [ %15, %14 ], [ %11, %26 ]
%47 = phi i8 [ 110, %18 ], [ %44, %41 ], [ 116, %22 ], [ 114, %14 ], [ %13, %26 ]
%48 = zext i32 %46 to i64
%49 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %48
store i8 %47, i8* %49
%50 = add i32 %46, 1
%51 = add i32 %46, 2
%52 = zext i32 %50 to i64
%53 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %52
store i8 32, i8* %53
%54 = add i32 %46, 3
%55 = zext i32 %51 to i64
%56 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %55
store i8 40, i8* %56
%57 = zext i32 %54 to i64
%58 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %57
%59 = sub i32 4093, %46
%60 = load i8, i8* %12
%61 = sext i8 %60 to i32
%62 = tail call i32 @snprintf(i8* %58, i32 %59, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %61)
%63 = add i32 %46, 6
%64 = add i32 %46, 7
%65 = zext i32 %63 to i64
%66 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %65
store i8 41, i8* %66
%67 = add i32 %46, 8
%68 = zext i32 %64 to i64
%69 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %68
store i8 32, i8* %69
%70 = icmp ugt i32 %67, 4076
br i1 %70, label %71, label %5
71: ; preds = %45, %5
%72 = zext i32 %67 to i64
br label %73
73: ; preds = %71, %2
%74 = phi i64 [ 0, %2 ], [ %72, %71 ]
%75 = getelementptr inbounds [4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 %74
store i8 0, i8* %75
ret i8* getelementptr inbounds ([4096 x i8], [4096 x i8]* @ascii2int.buffer, i64 0, i64 0)
}