#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 *, int, ...);
void isort1(int *arr) {
  int i, j, t;
  int n = 7;
  int count = 0;
  for (i = 1; i < n; i++) {
    printf("i is :%d and arr[%d] is : %d\n", i, i, arr[i]);
    for (j = i; j > 0 && arr[j - 1] > arr[j]; j--) {
      count++;
      t = arr[j - 1];
      arr[j - 1] = arr[j];
      arr[j] = t;
      printf("#### j is :%d and arr[%d] is : %d\n", j, j, arr[j]);
    }
  }
  printf("count : %d\n", count);
}


x86 assembly (clang, -O0):
<isort1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x7,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x1,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1227 <isort1+0x117>
mov    -0xc(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
lea    0xeab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
xor    %eax,%eax
cmpl   $0x0,-0x10(%rbp)
mov    %al,-0x1d(%rbp)
jle    1192 <isort1+0x82>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
mov    -0x8(%rbp),%rcx
movslq -0x10(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
setg   %al
mov    %al,-0x1d(%rbp)
mov    -0x1d(%rbp),%al
test   $0x1,%al
jne    11a2 <isort1+0x92>
jmp    1214 <isort1+0x104>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x14(%rbp),%edx
mov    -0x8(%rbp),%rax
movslq -0x10(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x10(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x8(%rbp),%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
lea    0xe1f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x10(%rbp)
jmp    1162 <isort1+0x52>
jmp    1219 <isort1+0x109>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1131 <isort1+0x21>
mov    -0x1c(%rbp),%esi
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<isort1>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
mov    0x4(%rdi),%ecx
lea    0xee0(%rip),%rdi
xor    %ebp,%ebp
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%ecx
mov    0x4(%rbx),%eax
cmp    %eax,%ecx
jle    115e <isort1+0x4e>
mov    %eax,(%rbx)
mov    %ecx,0x4(%rbx)
lea    0xed6(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%ebp
mov    0x8(%rbx),%ecx
lea    0xe98(%rip),%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x4(%rbx),%ecx
mov    0x8(%rbx),%eax
cmp    %eax,%ecx
jle    11cf <isort1+0xbf>
mov    %eax,0x4(%rbx)
mov    %ecx,0x8(%rbx)
lea    0xe8e(%rip),%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%ecx
mov    0x4(%rbx),%eax
cmp    %eax,%ecx
jle    11cc <isort1+0xbc>
or     $0x2,%ebp
mov    %eax,(%rbx)
mov    %ecx,0x4(%rbx)
lea    0xe65(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    11cf <isort1+0xbf>
add    $0x1,%ebp
mov    0xc(%rbx),%ecx
lea    0xe27(%rip),%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%ecx
mov    0xc(%rbx),%eax
cmp    %eax,%ecx
jle    126d <isort1+0x15d>
mov    %eax,0x8(%rbx)
mov    %ecx,0xc(%rbx)
lea    0xe1d(%rip),%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x4(%rbx),%ecx
mov    0x8(%rbx),%eax
cmp    %eax,%ecx
jle    1265 <isort1+0x155>
mov    %eax,0x4(%rbx)
mov    %ecx,0x8(%rbx)
lea    0xdf5(%rip),%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%ecx
mov    0x4(%rbx),%eax
cmp    %eax,%ecx
jle    126a <isort1+0x15a>
add    $0x3,%ebp
mov    %eax,(%rbx)
mov    %ecx,0x4(%rbx)
lea    0xdcc(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    126d <isort1+0x15d>
add    $0x1,%ebp
jmp    126d <isort1+0x15d>
add    $0x2,%ebp
mov    0x10(%rbx),%ecx
lea    0xd89(%rip),%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0xc(%rbx),%ecx
mov    0x10(%rbx),%eax
cmp    %eax,%ecx
jle    133c <isort1+0x22c>
mov    %eax,0xc(%rbx)
mov    %ecx,0x10(%rbx)
lea    0xd7b(%rip),%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%ecx
mov    0xc(%rbx),%eax
cmp    %eax,%ecx
jle    132f <isort1+0x21f>
mov    %eax,0x8(%rbx)
mov    %ecx,0xc(%rbx)
lea    0xd53(%rip),%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x4(%rbx),%ecx
mov    0x8(%rbx),%eax
cmp    %eax,%ecx
jle    1334 <isort1+0x224>
mov    %eax,0x4(%rbx)
mov    %ecx,0x8(%rbx)
lea    0xd2b(%rip),%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%ecx
mov    0x4(%rbx),%eax
cmp    %eax,%ecx
jle    1339 <isort1+0x229>
add    $0x4,%ebp
mov    %eax,(%rbx)
mov    %ecx,0x4(%rbx)
lea    0xd02(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    133c <isort1+0x22c>
add    $0x1,%ebp
jmp    133c <isort1+0x22c>
add    $0x2,%ebp
jmp    133c <isort1+0x22c>
add    $0x3,%ebp
mov    0x14(%rbx),%ecx
lea    0xcba(%rip),%rdi
mov    $0x5,%esi
mov    $0x5,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%ecx
mov    0x14(%rbx),%eax
cmp    %eax,%ecx
jle    143c <isort1+0x32c>
mov    %eax,0x10(%rbx)
mov    %ecx,0x14(%rbx)
lea    0xcac(%rip),%rdi
mov    $0x5,%esi
mov    $0x5,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0xc(%rbx),%ecx
mov    0x10(%rbx),%eax
cmp    %eax,%ecx
jle    142a <isort1+0x31a>
mov    %eax,0xc(%rbx)
mov    %ecx,0x10(%rbx)
lea    0xc80(%rip),%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%ecx
mov    0xc(%rbx),%eax
cmp    %eax,%ecx
jle    142f <isort1+0x31f>
mov    %eax,0x8(%rbx)
mov    %ecx,0xc(%rbx)
lea    0xc58(%rip),%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x4(%rbx),%ecx
mov    0x8(%rbx),%eax
cmp    %eax,%ecx
jle    1434 <isort1+0x324>
mov    %eax,0x4(%rbx)
mov    %ecx,0x8(%rbx)
lea    0xc30(%rip),%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%ecx
mov    0x4(%rbx),%eax
cmp    %eax,%ecx
jle    1439 <isort1+0x329>
add    $0x5,%ebp
mov    %eax,(%rbx)
mov    %ecx,0x4(%rbx)
lea    0xc07(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    143c <isort1+0x32c>
add    $0x1,%ebp
jmp    143c <isort1+0x32c>
add    $0x2,%ebp
jmp    143c <isort1+0x32c>
add    $0x3,%ebp
jmp    143c <isort1+0x32c>
add    $0x4,%ebp
mov    0x18(%rbx),%ecx
lea    0xbba(%rip),%rdi
mov    $0x6,%esi
mov    $0x6,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x14(%rbx),%ecx
mov    0x18(%rbx),%eax
cmp    %eax,%ecx
jle    156d <isort1+0x45d>
mov    %eax,0x14(%rbx)
mov    %ecx,0x18(%rbx)
lea    0xbac(%rip),%rdi
mov    $0x6,%esi
mov    $0x6,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%ecx
mov    0x14(%rbx),%eax
cmp    %eax,%ecx
jle    1556 <isort1+0x446>
mov    %eax,0x10(%rbx)
mov    %ecx,0x14(%rbx)
lea    0xb80(%rip),%rdi
mov    $0x5,%esi
mov    $0x5,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0xc(%rbx),%ecx
mov    0x10(%rbx),%eax
cmp    %eax,%ecx
jle    155b <isort1+0x44b>
mov    %eax,0xc(%rbx)
mov    %ecx,0x10(%rbx)
lea    0xb54(%rip),%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%ecx
mov    0xc(%rbx),%eax
cmp    %eax,%ecx
jle    1560 <isort1+0x450>
mov    %eax,0x8(%rbx)
mov    %ecx,0xc(%rbx)
lea    0xb2c(%rip),%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x4(%rbx),%ecx
mov    0x8(%rbx),%eax
cmp    %eax,%ecx
jle    1565 <isort1+0x455>
mov    %eax,0x4(%rbx)
mov    %ecx,0x8(%rbx)
lea    0xb04(%rip),%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%ecx
mov    0x4(%rbx),%eax
cmp    %eax,%ecx
jle    156a <isort1+0x45a>
add    $0x6,%ebp
mov    %eax,(%rbx)
mov    %ecx,0x4(%rbx)
lea    0xadb(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    156d <isort1+0x45d>
add    $0x1,%ebp
jmp    156d <isort1+0x45d>
add    $0x2,%ebp
jmp    156d <isort1+0x45d>
add    $0x3,%ebp
jmp    156d <isort1+0x45d>
add    $0x4,%ebp
jmp    156d <isort1+0x45d>
add    $0x5,%ebp
lea    0xacd(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [30 x i8] c"i is :%d and arr[%d] is : %d\0A\00"
@.str.1 = [35 x i8] c"#### j is :%d and arr[%d] is : %d\0A\00"
@.str.2 = [12 x i8] c"count : %d\0A\00"
define void @isort1(i32* %0) {
%2 = alloca i32*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32* %0, i32** %2
store i32 7, i32* %6
store i32 0, i32* %7
store i32 1, i32* %3
br label %8
8: ; preds = %76, %1
%9 = load i32, i32* %3
%10 = load i32, i32* %6
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %79
12: ; preds = %8
%13 = load i32, i32* %3
%14 = load i32, i32* %3
%15 = load i32*, i32** %2
%16 = load i32, i32* %3
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, i32* %15, i64 %17
%19 = load i32, i32* %18
%20 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i32 %13, i32 %14, i32 %19)
%21 = load i32, i32* %3
store i32 %21, i32* %4
br label %22
22: ; preds = %72, %12
%23 = load i32, i32* %4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %38
25: ; preds = %22
%26 = load i32*, i32** %2
%27 = load i32, i32* %4
%28 = sub nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, i32* %26, i64 %29
%31 = load i32, i32* %30
%32 = load i32*, i32** %2
%33 = load i32, i32* %4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, i32* %32, i64 %34
%36 = load i32, i32* %35
%37 = icmp sgt i32 %31, %36
br label %38
38: ; preds = %25, %22
%39 = phi i1 [ false, %22 ], [ %37, %25 ]
br i1 %39, label %40, label %75
40: ; preds = %38
%41 = load i32, i32* %7
%42 = add nsw i32 %41, 1
store i32 %42, i32* %7
%43 = load i32*, i32** %2
%44 = load i32, i32* %4
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, i32* %43, i64 %46
%48 = load i32, i32* %47
store i32 %48, i32* %5
%49 = load i32*, i32** %2
%50 = load i32, i32* %4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, i32* %49, i64 %51
%53 = load i32, i32* %52
%54 = load i32*, i32** %2
%55 = load i32, i32* %4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, i32* %54, i64 %57
store i32 %53, i32* %58
%59 = load i32, i32* %5
%60 = load i32*, i32** %2
%61 = load i32, i32* %4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, i32* %60, i64 %62
store i32 %59, i32* %63
%64 = load i32, i32* %4
%65 = load i32, i32* %4
%66 = load i32*, i32** %2
%67 = load i32, i32* %4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, i32* %66, i64 %68
%70 = load i32, i32* %69
%71 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i32 %64, i32 %65, i32 %70)
br label %72
72: ; preds = %40
%73 = load i32, i32* %4
%74 = add nsw i32 %73, -1
store i32 %74, i32* %4
br label %22
75: ; preds = %38
br label %76
76: ; preds = %75
%77 = load i32, i32* %3
%78 = add nsw i32 %77, 1
store i32 %78, i32* %3
br label %8
79: ; preds = %8
%80 = load i32, i32* %7
%81 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 %80)
ret void
}

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