#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 dump(int acc, int icounter, int mem[]) {
  int i, j;
  printf("\nREGISTERS:\n");
  printf("accumulator\t\t%c%.4d\n"
         "instructionCounter\t%.2d\n"
         "instructionRegister\t%c%.4d\n"
         "operationCode\t\t%.2d\n"
         "operand\t\t\t%.2d\n",
         acc < 0 ? '-' : '+', acc < 0 ? -acc : acc, icounter,
         mem[icounter] < 0 ? '-' : '+',
         mem[icounter] < 0 ? -mem[icounter] : mem[icounter],
         mem[icounter] / 100, mem[icounter] % 100);
  printf("\nMEMORY:\n");
  printf("%3c", ' ');
  for (i = 0; i < 10; i++)
    printf("%5d ", i);
  printf("\n");
  for (i = 0; i < 100; i += 10) {
    printf("%.2d", i);
    for (j = i; j < i + 10; j++) {
      printf(" %c%.4d", mem[j] < 0 ? '-' : '+', mem[j] < 0 ? -mem[j] : mem[j]);
    }
    printf("\n");
  }
}


x86 assembly (clang, -O0):
<dump>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%edx
mov    $0x2b,%eax
mov    $0x2d,%ecx
cmp    $0x0,%edx
cmovl  %ecx,%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x4(%rbp)
jge    115d <dump+0x4d>
xor    %eax,%eax
sub    -0x4(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    1163 <dump+0x53>
mov    -0x4(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    $0x2b,%eax
mov    $0x2d,%ecx
cmp    $0x0,%edx
cmovl  %ecx,%eax
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jge    11b4 <dump+0xa4>
mov    -0x10(%rbp),%rcx
movslq -0x8(%rbp),%rdx
xor    %eax,%eax
sub    (%rcx,%rdx,4),%eax
mov    %eax,-0x30(%rbp)
jmp    11c2 <dump+0xb2>
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x30(%rbp)
mov    -0x24(%rbp),%r8d
mov    -0x28(%rbp),%ecx
mov    -0x1c(%rbp),%esi
mov    -0x30(%rbp),%r9d
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rdx
mov    (%rax,%rdx,4),%eax
mov    $0x64,%edi
cltd
idiv   %edi
mov    %eax,%r10d
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rdx
mov    (%rax,%rdx,4),%eax
mov    $0x64,%edi
cltd
idiv   %edi
mov    %edx,%eax
mov    -0x2c(%rbp),%edx
lea    0xe08(%rip),%rdi
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe5d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe59(%rip),%rdi
mov    $0x20,%esi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    1265 <dump+0x155>
mov    -0x14(%rbp),%esi
lea    0xe36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    123c <dump+0x12c>
lea    0xd9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x64,-0x14(%rbp)
jge    133d <dump+0x22d>
mov    -0x14(%rbp),%esi
lea    0xdfd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    -0x14(%rbp),%ecx
add    $0xa,%ecx
cmp    %ecx,%eax
jge    1321 <dump+0x211>
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    $0x2b,%eax
mov    $0x2d,%ecx
cmp    $0x0,%edx
cmovl  %ecx,%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jge    12f1 <dump+0x1e1>
mov    -0x10(%rbp),%rcx
movslq -0x18(%rbp),%rdx
xor    %eax,%eax
sub    (%rcx,%rdx,4),%eax
mov    %eax,-0x38(%rbp)
jmp    12ff <dump+0x1ef>
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x38(%rbp)
mov    -0x34(%rbp),%esi
mov    -0x38(%rbp),%edx
lea    0xd84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    129b <dump+0x18b>
lea    0xce3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x14(%rbp)
jmp    127a <dump+0x16a>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %rdx,%r12
mov    %esi,%ebx
mov    %edi,%ebp
lea    0xf3b(%rip),%rdi
call   1040 <puts@plt>
mov    %ebp,%eax
shr    $0x1f,%eax
lea    (%rax,%rax,1),%esi
add    $0x2b,%esi
mov    %ebp,%edx
neg    %edx
cmovs  %ebp,%edx
movslq %ebx,%rcx
movslq (%r12,%rcx,4),%rbx
imul   $0x51eb851f,%rbx,%rbp
mov    %rbx,%rax
shr    $0x3f,%rax
lea    (%rax,%rax,1),%r8d
add    $0x2b,%r8d
mov    %ebx,%r9d
neg    %r9d
cmovs  %ebx,%r9d
mov    %rbp,%rax
shr    $0x3f,%rax
sar    $0x25,%rbp
add    %eax,%ebp
imul   $0x64,%ebp,%eax
sub    %eax,%ebx
lea    0xe63(%rip),%rdi
xor    %eax,%eax
push   %rbx
push   %rbp
call   1050 <printf@plt>
add    $0x10,%rsp
lea    0xedc(%rip),%rdi
call   1040 <puts@plt>
lea    0xeae(%rip),%rdi
mov    $0x20,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe9f(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe00(%rip),%r14
lea    0xdfe(%rip),%r15
xor    %ebx,%ebx
nopl   (%rax)
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x1c(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x24(%r12,%rbx,4),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
lea    (%rcx,%rcx,1),%esi
add    $0x2b,%esi
mov    %eax,%edx
neg    %edx
cmovs  %eax,%edx
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0xa,%rbx
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    -0xa(%rbx),%eax
cmp    $0x5a,%eax
jb     1280 <dump+0x150>
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [13 x i8] c"\0AREGISTERS:\0A\00"
@.str.1 = [107 x i8] c"accumulator\09\09%c%.4d\0AinstructionCounter\09%.2d\0AinstructionRegister\09%c%.4d\0AoperationCode\09\09%.2d\0Aoperand\09\09\09%.2d\0A\00"
@.str.2 = [10 x i8] c"\0AMEMORY:\0A\00"
@.str.3 = [4 x i8] c"%3c\00"
@.str.4 = [5 x i8] c"%5d \00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [5 x i8] c"%.2d\00"
@.str.7 = [8 x i8] c" %c%.4d\00"
define void @dump(i32 %0, i32 %1, i32* %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32* %2, i32** %6
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 45, i32 43
%14 = load i32, i32* %4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %3
%17 = load i32, i32* %4
%18 = sub nsw i32 0, %17
br label %21
19: ; preds = %3
%20 = load i32, i32* %4
br label %21
21: ; preds = %19, %16
%22 = phi i32 [ %18, %16 ], [ %20, %19 ]
%23 = load i32, i32* %5
%24 = load i32*, i32** %6
%25 = load i32, i32* %5
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, i32* %24, i64 %26
%28 = load i32, i32* %27
%29 = icmp slt i32 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, i32 45, i32 43
%32 = load i32*, i32** %6
%33 = load i32, i32* %5
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, i32* %32, i64 %34
%36 = load i32, i32* %35
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %45
38: ; preds = %21
%39 = load i32*, i32** %6
%40 = load i32, i32* %5
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, i32* %39, i64 %41
%43 = load i32, i32* %42
%44 = sub nsw i32 0, %43
br label %51
45: ; preds = %21
%46 = load i32*, i32** %6
%47 = load i32, i32* %5
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, i32* %46, i64 %48
%50 = load i32, i32* %49
br label %51
51: ; preds = %45, %38
%52 = phi i32 [ %44, %38 ], [ %50, %45 ]
%53 = load i32*, i32** %6
%54 = load i32, i32* %5
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, i32* %53, i64 %55
%57 = load i32, i32* %56
%58 = sdiv i32 %57, 100
%59 = load i32*, i32** %6
%60 = load i32, i32* %5
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, i32* %59, i64 %61
%63 = load i32, i32* %62
%64 = srem i32 %63, 100
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.1, i64 0, i64 0), i32 %13, i32 %22, i32 %23, i32 %31, i32 %52, i32 %58, i32 %64)
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 32)
store i32 0, i32* %7
br label %68
68: ; preds = %74, %51
%69 = load i32, i32* %7
%70 = icmp slt i32 %69, 10
br i1 %70, label %71, label %77
71: ; preds = %68
%72 = load i32, i32* %7
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %72)
br label %74
74: ; preds = %71
%75 = load i32, i32* %7
%76 = add nsw i32 %75, 1
store i32 %76, i32* %7
br label %68
77: ; preds = %68
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %7
br label %79
79: ; preds = %127, %77
%80 = load i32, i32* %7
%81 = icmp slt i32 %80, 100
br i1 %81, label %82, label %130
82: ; preds = %79
%83 = load i32, i32* %7
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %83)
%85 = load i32, i32* %7
store i32 %85, i32* %8
br label %86
86: ; preds = %122, %82
%87 = load i32, i32* %8
%88 = load i32, i32* %7
%89 = add nsw i32 %88, 10
%90 = icmp slt i32 %87, %89
br i1 %90, label %91, label %125
91: ; preds = %86
%92 = load i32*, i32** %6
%93 = load i32, i32* %8
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, i32* %92, i64 %94
%96 = load i32, i32* %95
%97 = icmp slt i32 %96, 0
%98 = zext i1 %97 to i64
%99 = select i1 %97, i32 45, i32 43
%100 = load i32*, i32** %6
%101 = load i32, i32* %8
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, i32* %100, i64 %102
%104 = load i32, i32* %103
%105 = icmp slt i32 %104, 0
br i1 %105, label %106, label %113
106: ; preds = %91
%107 = load i32*, i32** %6
%108 = load i32, i32* %8
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, i32* %107, i64 %109
%111 = load i32, i32* %110
%112 = sub nsw i32 0, %111
br label %119
113: ; preds = %91
%114 = load i32*, i32** %6
%115 = load i32, i32* %8
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, i32* %114, i64 %116
%118 = load i32, i32* %117
br label %119
119: ; preds = %113, %106
%120 = phi i32 [ %112, %106 ], [ %118, %113 ]
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %99, i32 %120)
br label %122
122: ; preds = %119
%123 = load i32, i32* %8
%124 = add nsw i32 %123, 1
store i32 %124, i32* %8
br label %86
125: ; preds = %86
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %127
127: ; preds = %125
%128 = load i32, i32* %7
%129 = add nsw i32 %128, 10
store i32 %129, i32* %7
br label %79
130: ; preds = %79
ret void
}

LLVM IR (-O2):
@.str.1 = [107 x i8] c"accumulator\09\09%c%.4d\0AinstructionCounter\09%.2d\0AinstructionRegister\09%c%.4d\0AoperationCode\09\09%.2d\0Aoperand\09\09\09%.2d\0A\00"
@.str.3 = [4 x i8] c"%3c\00"
@.str.4 = [5 x i8] c"%5d \00"
@.str.6 = [5 x i8] c"%.2d\00"
@.str.7 = [8 x i8] c" %c%.4d\00"
@str = [12 x i8] c"\0AREGISTERS:\00"
@str.8 = [9 x i8] c"\0AMEMORY:\00"
define void @dump(i32 %0, i32 %1, i32* nocapture %2) {
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0))
%5 = icmp slt i32 %0, 0
%6 = select i1 %5, i32 45, i32 43
%7 = sub nsw i32 0, %0
%8 = select i1 %5, i32 %7, i32 %0
%9 = sext i32 %1 to i64
%10 = getelementptr inbounds i32, i32* %2, i64 %9
%11 = load i32, i32* %10
%12 = icmp slt i32 %11, 0
%13 = select i1 %12, i32 45, i32 43
%14 = sub nsw i32 0, %11
%15 = select i1 %12, i32 %14, i32 %11
%16 = sdiv i32 %11, 100
%17 = srem i32 %11, 100
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([107 x i8], [107 x i8]* @.str.1, i64 0, i64 0), i32 %6, i32 %8, i32 %1, i32 %13, i32 %15, i32 %16, i32 %17)
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.8, i64 0, i64 0))
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 32)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 0)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 2)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 3)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 4)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 5)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 6)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 7)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 8)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 9)
%31 = tail call i32 @putchar(i32 10)
br label %32
32: ; preds = %3, %32
%33 = phi i64 [ 0, %3 ], [ %115, %32 ]
%34 = trunc i64 %33 to i32
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %34)
%36 = getelementptr inbounds i32, i32* %2, i64 %33
%37 = load i32, i32* %36
%38 = icmp slt i32 %37, 0
%39 = select i1 %38, i32 45, i32 43
%40 = sub nsw i32 0, %37
%41 = select i1 %38, i32 %40, i32 %37
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %39, i32 %41)
%43 = or i64 %33, 1
%44 = getelementptr inbounds i32, i32* %2, i64 %43
%45 = load i32, i32* %44
%46 = icmp slt i32 %45, 0
%47 = select i1 %46, i32 45, i32 43
%48 = sub nsw i32 0, %45
%49 = select i1 %46, i32 %48, i32 %45
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %47, i32 %49)
%51 = add nuw i64 %33, 2
%52 = getelementptr inbounds i32, i32* %2, i64 %51
%53 = load i32, i32* %52
%54 = icmp slt i32 %53, 0
%55 = select i1 %54, i32 45, i32 43
%56 = sub nsw i32 0, %53
%57 = select i1 %54, i32 %56, i32 %53
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %55, i32 %57)
%59 = add nuw i64 %33, 3
%60 = getelementptr inbounds i32, i32* %2, i64 %59
%61 = load i32, i32* %60
%62 = icmp slt i32 %61, 0
%63 = select i1 %62, i32 45, i32 43
%64 = sub nsw i32 0, %61
%65 = select i1 %62, i32 %64, i32 %61
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %63, i32 %65)
%67 = add nuw i64 %33, 4
%68 = getelementptr inbounds i32, i32* %2, i64 %67
%69 = load i32, i32* %68
%70 = icmp slt i32 %69, 0
%71 = select i1 %70, i32 45, i32 43
%72 = sub nsw i32 0, %69
%73 = select i1 %70, i32 %72, i32 %69
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %71, i32 %73)
%75 = add nuw i64 %33, 5
%76 = getelementptr inbounds i32, i32* %2, i64 %75
%77 = load i32, i32* %76
%78 = icmp slt i32 %77, 0
%79 = select i1 %78, i32 45, i32 43
%80 = sub nsw i32 0, %77
%81 = select i1 %78, i32 %80, i32 %77
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %79, i32 %81)
%83 = add nuw i64 %33, 6
%84 = getelementptr inbounds i32, i32* %2, i64 %83
%85 = load i32, i32* %84
%86 = icmp slt i32 %85, 0
%87 = select i1 %86, i32 45, i32 43
%88 = sub nsw i32 0, %85
%89 = select i1 %86, i32 %88, i32 %85
%90 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %87, i32 %89)
%91 = add nuw i64 %33, 7
%92 = getelementptr inbounds i32, i32* %2, i64 %91
%93 = load i32, i32* %92
%94 = icmp slt i32 %93, 0
%95 = select i1 %94, i32 45, i32 43
%96 = sub nsw i32 0, %93
%97 = select i1 %94, i32 %96, i32 %93
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %95, i32 %97)
%99 = add nuw i64 %33, 8
%100 = getelementptr inbounds i32, i32* %2, i64 %99
%101 = load i32, i32* %100
%102 = icmp slt i32 %101, 0
%103 = select i1 %102, i32 45, i32 43
%104 = sub nsw i32 0, %101
%105 = select i1 %102, i32 %104, i32 %101
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %103, i32 %105)
%107 = add nuw i64 %33, 9
%108 = getelementptr inbounds i32, i32* %2, i64 %107
%109 = load i32, i32* %108
%110 = icmp slt i32 %109, 0
%111 = select i1 %110, i32 45, i32 43
%112 = sub nsw i32 0, %109
%113 = select i1 %110, i32 %112, i32 %109
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 %111, i32 %113)
%115 = add nuw nsw i64 %33, 10
%116 = tail call i32 @putchar(i32 10)
%117 = icmp ult i32 %34, 90
br i1 %117, label %32, label %118
118: ; preds = %32
ret void
}