#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 abs(int);
int pow(int, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int n;
  int d[9];
  int negative = 0;
  printf("Enter an integer > ");
  scanf("%d", &n);
  int size = 0;
  while (abs(n) >= pow(10, size)) {
    size++;
  }
  if (n < 0)
    negative = 1;
  int i;
  for (i = 0; i < 10; i++) {
    int remainder = n % (int)pow(10, i + 1);
    int multiplier = pow(10, i);
    d[i] = remainder / multiplier;
    n -= remainder;
  }
  if (negative) {
    for (i = 0; i < size - 1; i++) {
      printf("%d\n", d[i] * -1);
    }
    printf("%d\n", d[size - 1]);
  } else
    for (i = 0; i < size; i++) {
      printf("%d\n", d[i]);
    }
  printf("That's all, have a nice day!\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x34(%rbp)
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xea9(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
movl   $0x0,-0x38(%rbp)
mov    -0x8(%rbp),%edi
call   1030 <abs@plt>
mov    %eax,-0x48(%rbp)
mov    -0x38(%rbp),%esi
mov    $0xa,%edi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    -0x48(%rbp),%eax
cmp    %ecx,%eax
jl     11ae <main+0x6e>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    117b <main+0x3b>
cmpl   $0x0,-0x8(%rbp)
jge    11bf <main+0x7f>
movl   $0x1,-0x34(%rbp)
movl   $0x0,-0x3c(%rbp)
cmpl   $0xa,-0x3c(%rbp)
jge    122b <main+0xeb>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x3c(%rbp),%esi
add    $0x1,%esi
mov    $0xa,%edi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    -0x4c(%rbp),%eax
cltd
idiv   %ecx
mov    %edx,-0x40(%rbp)
mov    -0x3c(%rbp),%esi
mov    $0xa,%edi
call   1060 <pow@plt>
mov    %eax,-0x44(%rbp)
mov    -0x40(%rbp),%eax
cltd
idivl  -0x44(%rbp)
mov    %eax,%ecx
movslq -0x3c(%rbp),%rax
mov    %ecx,-0x30(%rbp,%rax,4)
mov    -0x40(%rbp),%ecx
mov    -0x8(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11c6 <main+0x86>
cmpl   $0x0,-0x34(%rbp)
je     1291 <main+0x151>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
mov    -0x38(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1272 <main+0x132>
movslq -0x3c(%rbp),%rax
imul   $0xffffffff,-0x30(%rbp,%rax,4),%esi
lea    0xdba(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    123c <main+0xfc>
mov    -0x38(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x30(%rbp,%rax,4),%esi
lea    0xd92(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12cd <main+0x18d>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    12c8 <main+0x188>
movslq -0x3c(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%esi
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1298 <main+0x158>
jmp    12cd <main+0x18d>
lea    0xd47(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x40,%rsp
lea    0xead(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb3(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1050 <scanf@plt>
mov    $0xfffffffffffffffe,%rbp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    0x2(%rbp),%esi
mov    0xc(%rsp),%eax
mov    %eax,%ebx
neg    %ebx
cmovs  %eax,%ebx
mov    $0xa,%edi
call   1060 <pow@plt>
add    $0x1,%rbp
cmp    %eax,%ebx
jge    1180 <main+0x40>
mov    0xc(%rsp),%r15d
mov    $0xa,%edi
mov    $0x1,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r15d,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
xor    %esi,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,%r14d
mov    %eax,0x10(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x2,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x1,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x14(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x3,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x2,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x18(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x4,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x3,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x1c(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x5,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x4,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x20(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x6,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x5,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x24(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x7,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x6,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x28(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x8,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x7,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x2c(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0x9,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%r12d
mov    $0xa,%edi
mov    $0x8,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %r12d,%eax
cltd
idiv   %ecx
mov    %eax,0x30(%rsp)
mov    0xc(%rsp),%ebx
sub    %r12d,%ebx
mov    %ebx,0xc(%rsp)
mov    $0xa,%edi
mov    $0xa,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %edx,%ebx
mov    $0xa,%edi
mov    $0x9,%esi
call   1060 <pow@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
mov    %eax,0x34(%rsp)
sub    %ebx,0xc(%rsp)
test   %r15d,%r15d
js     1468 <main+0x328>
cmp    $0xffffffff,%ebp
je     14cb <main+0x38b>
lea    0xbef(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %ebp,%ebp
je     14cb <main+0x38b>
lea    0x14(%rsp),%rbx
lea    0xbd1(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
mov    (%rbx),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x4,%rbx
add    $0xffffffffffffffff,%rbp
jne    1450 <main+0x310>
jmp    14cb <main+0x38b>
lea    0x1(%rbp),%rax
cmp    $0x2,%eax
jb     14b9 <main+0x379>
neg    %r14d
lea    0xb9c(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%ebp
je     14b9 <main+0x379>
mov    %ebp,%r15d
mov    $0x1,%ebx
lea    0xb7e(%rip),%r14
nopl   0x0(%rax)
xor    %esi,%esi
sub    0x10(%rsp,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    14a0 <main+0x360>
mov    0x10(%rsp,%rbp,4),%esi
lea    0xb53(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb49(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [20 x i8] c"Enter an integer > \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [4 x i8] c"%d\0A\00"
@.str.3 = [30 x i8] c"That's all, have a nice day!\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [9 x i32]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %4
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%10 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
store i32 0, i32* %5
br label %11
11: ; preds = %17, %0
%12 = load i32, i32* %2
%13 = call i32 @abs(i32 %12)
%14 = load i32, i32* %5
%15 = call i32 @pow(i32 10, i32 %14)
%16 = icmp sge i32 %13, %15
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load i32, i32* %5
%19 = add nsw i32 %18, 1
store i32 %19, i32* %5
br label %11
20: ; preds = %11
%21 = load i32, i32* %2
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20
store i32 1, i32* %4
br label %24
24: ; preds = %23, %20
store i32 0, i32* %6
br label %25
25: ; preds = %45, %24
%26 = load i32, i32* %6
%27 = icmp slt i32 %26, 10
br i1 %27, label %28, label %48
28: ; preds = %25
%29 = load i32, i32* %2
%30 = load i32, i32* %6
%31 = add nsw i32 %30, 1
%32 = call i32 @pow(i32 10, i32 %31)
%33 = srem i32 %29, %32
store i32 %33, i32* %7
%34 = load i32, i32* %6
%35 = call i32 @pow(i32 10, i32 %34)
store i32 %35, i32* %8
%36 = load i32, i32* %7
%37 = load i32, i32* %8
%38 = sdiv i32 %36, %37
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [9 x i32], [9 x i32]* %3, i64 0, i64 %40
store i32 %38, i32* %41
%42 = load i32, i32* %7
%43 = load i32, i32* %2
%44 = sub nsw i32 %43, %42
store i32 %44, i32* %2
br label %45
45: ; preds = %28
%46 = load i32, i32* %6
%47 = add nsw i32 %46, 1
store i32 %47, i32* %6
br label %25
48: ; preds = %25
%49 = load i32, i32* %4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %74
51: ; preds = %48
store i32 0, i32* %6
br label %52
52: ; preds = %64, %51
%53 = load i32, i32* %6
%54 = load i32, i32* %5
%55 = sub nsw i32 %54, 1
%56 = icmp slt i32 %53, %55
br i1 %56, label %57, label %67
57: ; preds = %52
%58 = load i32, i32* %6
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [9 x i32], [9 x i32]* %3, i64 0, i64 %59
%61 = load i32, i32* %60
%62 = mul nsw i32 %61, -1
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %62)
br label %64
64: ; preds = %57
%65 = load i32, i32* %6
%66 = add nsw i32 %65, 1
store i32 %66, i32* %6
br label %52
67: ; preds = %52
%68 = load i32, i32* %5
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [9 x i32], [9 x i32]* %3, i64 0, i64 %70
%72 = load i32, i32* %71
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %72)
br label %89
74: ; preds = %48
store i32 0, i32* %6
br label %75
75: ; preds = %85, %74
%76 = load i32, i32* %6
%77 = load i32, i32* %5
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %88
79: ; preds = %75
%80 = load i32, i32* %6
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [9 x i32], [9 x i32]* %3, i64 0, i64 %81
%83 = load i32, i32* %82
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %83)
br label %85
85: ; preds = %79
%86 = load i32, i32* %6
%87 = add nsw i32 %86, 1
store i32 %87, i32* %6
br label %75
88: ; preds = %75
br label %89
89: ; preds = %88, %67
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [20 x i8] c"Enter an integer > \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [4 x i8] c"%d\0A\00"
@str = [29 x i8] c"That's all, have a nice day!\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [9 x i32]
%3 = bitcast i32* %1 to i8*
%4 = bitcast [9 x i32]* %2 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
br label %7
7: ; preds = %7, %0
%8 = phi i32 [ 0, %0 ], [ %13, %7 ]
%9 = load i32, i32* %1
%10 = call i32 @llvm.abs.i32(i32 %9, i1 true)
%11 = call i32 @pow(i32 10, i32 %8)
%12 = icmp slt i32 %10, %11
%13 = add nuw nsw i32 %8, 1
br i1 %12, label %14, label %7
14: ; preds = %7
%15 = load i32, i32* %1
%16 = call i32 @pow(i32 10, i32 1)
%17 = srem i32 %15, %16
%18 = call i32 @pow(i32 10, i32 0)
%19 = sdiv i32 %17, %18
%20 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 0
store i32 %19, i32* %20
%21 = load i32, i32* %1
%22 = sub nsw i32 %21, %17
store i32 %22, i32* %1
%23 = call i32 @pow(i32 10, i32 2)
%24 = srem i32 %22, %23
%25 = call i32 @pow(i32 10, i32 1)
%26 = sdiv i32 %24, %25
%27 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 1
store i32 %26, i32* %27
%28 = load i32, i32* %1
%29 = sub nsw i32 %28, %24
store i32 %29, i32* %1
%30 = call i32 @pow(i32 10, i32 3)
%31 = srem i32 %29, %30
%32 = call i32 @pow(i32 10, i32 2)
%33 = sdiv i32 %31, %32
%34 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 2
store i32 %33, i32* %34
%35 = load i32, i32* %1
%36 = sub nsw i32 %35, %31
store i32 %36, i32* %1
%37 = call i32 @pow(i32 10, i32 4)
%38 = srem i32 %36, %37
%39 = call i32 @pow(i32 10, i32 3)
%40 = sdiv i32 %38, %39
%41 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 3
store i32 %40, i32* %41
%42 = load i32, i32* %1
%43 = sub nsw i32 %42, %38
store i32 %43, i32* %1
%44 = call i32 @pow(i32 10, i32 5)
%45 = srem i32 %43, %44
%46 = call i32 @pow(i32 10, i32 4)
%47 = sdiv i32 %45, %46
%48 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 4
store i32 %47, i32* %48
%49 = load i32, i32* %1
%50 = sub nsw i32 %49, %45
store i32 %50, i32* %1
%51 = call i32 @pow(i32 10, i32 6)
%52 = srem i32 %50, %51
%53 = call i32 @pow(i32 10, i32 5)
%54 = sdiv i32 %52, %53
%55 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 5
store i32 %54, i32* %55
%56 = load i32, i32* %1
%57 = sub nsw i32 %56, %52
store i32 %57, i32* %1
%58 = call i32 @pow(i32 10, i32 7)
%59 = srem i32 %57, %58
%60 = call i32 @pow(i32 10, i32 6)
%61 = sdiv i32 %59, %60
%62 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 6
store i32 %61, i32* %62
%63 = load i32, i32* %1
%64 = sub nsw i32 %63, %59
store i32 %64, i32* %1
%65 = call i32 @pow(i32 10, i32 8)
%66 = srem i32 %64, %65
%67 = call i32 @pow(i32 10, i32 7)
%68 = sdiv i32 %66, %67
%69 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 7
store i32 %68, i32* %69
%70 = load i32, i32* %1
%71 = sub nsw i32 %70, %66
store i32 %71, i32* %1
%72 = call i32 @pow(i32 10, i32 9)
%73 = srem i32 %71, %72
%74 = call i32 @pow(i32 10, i32 8)
%75 = sdiv i32 %73, %74
%76 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 8
store i32 %75, i32* %76
%77 = load i32, i32* %1
%78 = sub nsw i32 %77, %73
store i32 %78, i32* %1
%79 = call i32 @pow(i32 10, i32 10)
%80 = srem i32 %78, %79
%81 = call i32 @pow(i32 10, i32 9)
%82 = sdiv i32 %80, %81
%83 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 9
store i32 %82, i32* %83
%84 = load i32, i32* %1
%85 = sub nsw i32 %84, %80
store i32 %85, i32* %1
%86 = icmp slt i32 %15, 0
br i1 %86, label %93, label %87
87: ; preds = %14
%88 = icmp eq i32 %8, 0
br i1 %88, label %121, label %89
89: ; preds = %87
%90 = zext i32 %8 to i64
%91 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %19)
%92 = icmp eq i32 %8, 1
br i1 %92, label %121, label %114
93: ; preds = %14
%94 = add nsw i32 %8, -1
%95 = icmp ugt i32 %8, 1
br i1 %95, label %96, label %109
96: ; preds = %93
%97 = zext i32 %94 to i64
%98 = sub nsw i32 0, %19
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %98)
%100 = icmp eq i32 %94, 1
br i1 %100, label %109, label %101
101: ; preds = %96, %101
%102 = phi i64 [ %107, %101 ], [ 1, %96 ]
%103 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 %102
%104 = load i32, i32* %103
%105 = sub nsw i32 0, %104
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %105)
%107 = add nuw nsw i64 %102, 1
%108 = icmp eq i64 %107, %97
br i1 %108, label %109, label %101
109: ; preds = %101, %96, %93
%110 = sext i32 %94 to i64
%111 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 %110
%112 = load i32, i32* %111
%113 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %112)
br label %121
114: ; preds = %89, %114
%115 = phi i64 [ %119, %114 ], [ 1, %89 ]
%116 = getelementptr inbounds [9 x i32], [9 x i32]* %2, i64 0, i64 %115
%117 = load i32, i32* %116
%118 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %117)
%119 = add nuw nsw i64 %115, 1
%120 = icmp eq i64 %119, %90
br i1 %120, label %121, label %114
121: ; preds = %114, %89, %87, %109
%122 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
ret i32 0
}