#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 shellSort(int array[], int count) {
  int interval = 1;
  while (interval < count) {
    interval = 3 * interval + 1;
  }
  for (NULL; interval > 0; interval = interval / 3) {
    printf("\nInterval being evaluated is %d", interval);
    for (int i = interval; i < count; i++) {
      printf("\n\nEvaluating items:\n");
      for (int k = i; k >= 0; k -= interval)
        printf(" %d ", array[k]);
      int temp = array[i];
      int j;
      for (j = i; j >= interval && array[j - interval] > temp; j -= interval) {
        array[j] = array[j - interval];
        printf("\nSwap occurred index %d to %d, array is:\n", (j - interval),
               j);
        for (int k = 0; k < 9; k++)
          printf(" %d ", array[k]);
      }
      array[j] = temp;
      printf("\nFinished evaluating, array is:\n");
      for (int k = 0; k < 9; k++)
        printf(" %d ", array[k]);
    }
  }
}


x86 assembly (clang, -O0):
<shellSort>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
movl   $0x1,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1141 <shellSort+0x31>
imul   $0x3,-0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1126 <shellSort+0x16>
jmp    1146 <shellSort+0x36>
cmpl   $0x0,-0x10(%rbp)
jle    1306 <shellSort+0x1f6>
mov    -0x10(%rbp),%esi
lea    0xea6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12ee <shellSort+0x1de>
lea    0xea6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jl     11ba <shellSort+0xaa>
mov    -0x8(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xe92(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    -0x18(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x18(%rbp)
jmp    1187 <shellSort+0x77>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%ecx
xor    %eax,%eax
cmp    -0x10(%rbp),%ecx
mov    %al,-0x29(%rbp)
jl     11f8 <shellSort+0xe8>
mov    -0x8(%rbp),%rax
mov    -0x20(%rbp),%ecx
sub    -0x10(%rbp),%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x1c(%rbp),%eax
setg   %al
mov    %al,-0x29(%rbp)
mov    -0x29(%rbp),%al
test   $0x1,%al
jne    1208 <shellSort+0xf8>
jmp    1287 <shellSort+0x177>
mov    -0x8(%rbp),%rax
mov    -0x20(%rbp),%ecx
sub    -0x10(%rbp),%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x8(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x20(%rbp),%esi
sub    -0x10(%rbp),%esi
mov    -0x20(%rbp),%edx
lea    0xe07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x9,-0x24(%rbp)
jge    1272 <shellSort+0x162>
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1241 <shellSort+0x131>
jmp    1277 <shellSort+0x167>
mov    -0x10(%rbp),%ecx
mov    -0x20(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x20(%rbp)
jmp    11ce <shellSort+0xbe>
mov    -0x1c(%rbp),%edx
mov    -0x8(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
lea    0xdc8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x28(%rbp)
cmpl   $0x9,-0x28(%rbp)
jge    12db <shellSort+0x1cb>
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12aa <shellSort+0x19a>
jmp    12e0 <shellSort+0x1d0>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1167 <shellSort+0x57>
jmp    12f3 <shellSort+0x1e3>
mov    -0x10(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0x10(%rbp)
jmp    1146 <shellSort+0x36>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<shellSort>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %esi,%ebp
mov    %rdi,%rbx
mov    $0x1,%r13d
cmp    $0x2,%esi
jl     1168 <shellSort+0x48>
mov    $0x1,%r13d
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r13d,%eax
lea    (%rax,%rax,2),%r13d
add    $0x1,%r13d
cmp    %ebp,%r13d
jl     1150 <shellSort+0x30>
test   %eax,%eax
js     1382 <shellSort+0x262>
lea    0xeb1(%rip),%r12
mov    %ebp,0x8(%rsp)
jmp    11a2 <shellSort+0x82>
cs nopw 0x0(%rax,%rax,1)
nop
imul   $0x55555556,(%rsp),%rax
55
mov    %rax,%rcx
shr    $0x3f,%rcx
shr    $0x20,%rax
add    %ecx,%eax
cmp    $0x2,%r13d
mov    %eax,%r13d
jle    1382 <shellSort+0x262>
lea    0xe57(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movslq %r13d,%rax
mov    %rax,(%rsp)
cmp    %ebp,%r13d
jge    1180 <shellSort+0x60>
xor    %r15d,%r15d
mov    (%rsp),%r14
jmp    1271 <shellSort+0x151>
nopl   0x0(%rax,%rax,1)
cltq
mov    %r14d,(%rbx,%rax,4)
lea    0xe86(%rip),%rdi
call   1030 <puts@plt>
mov    (%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rsp),%r14
add    $0x1,%r14
mov    0xc(%rsp),%r15d
add    $0x1,%r15d
cmp    %ebp,%r14d
je     1180 <shellSort+0x60>
lea    0xdd7(%rip),%rdi
call   1030 <puts@plt>
mov    %r14d,%ebp
test   %r14,%r14
js     12a4 <shellSort+0x184>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %ebp,%eax
mov    (%rbx,%rax,4),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
sub    %r13d,%ebp
jns    1290 <shellSort+0x170>
mov    %r14,%rcx
mov    (%rbx,%r14,4),%r14d
mov    %r15d,0xc(%rsp)
mov    %ecx,%eax
mov    %rcx,0x10(%rsp)
cmp    (%rsp),%rcx
mov    0x8(%rsp),%ebp
jl     11d0 <shellSort+0xb0>
cs nopw 0x0(%rax,%rax,1)
nop
lea    (%r15,%r13,1),%eax
movslq %r15d,%rcx
mov    (%rbx,%rcx,4),%ecx
cmp    %r14d,%ecx
jle    11d0 <shellSort+0xb0>
movslq %eax,%rdx
mov    %ecx,(%rbx,%rdx,4)
lea    0xd35(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
sub    %r13d,%r15d
jge    12d0 <shellSort+0x1b0>
add    %r13d,%r15d
mov    %r15d,%eax
jmp    11d0 <shellSort+0xb0>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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