#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 main() {
  int num[20] = {7, 20, 1, 18, 9, 15, 24, 10, 3, 12};
  int temp;
  int i, j;
  int key = 0;
  int dat = 0;
  for (i = 0; i < 20 - 2; i++) {
    for (j = 20 - 1; i < j; j--) {
      if (num[j - 1] > num[j]) {
        temp = num[j];
        num[j] = num[j - 1];
        num[j - 1] = temp;
        dat++;
      }
      key++;
    }
  }
  for (i = 0; i < 20; i++)
    printf("%2d ", num[i]);
  printf("\n");
  printf("key  : %2d\ndata : %2d\n", key, dat);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xec3(%rip),%rsi
mov    $0x50,%edx
call   1040 <memcpy@plt>
movl   $0x0,-0x70(%rbp)
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x68(%rbp)
cmpl   $0x12,-0x68(%rbp)
jge    11f4 <main+0xd4>
movl   $0x13,-0x6c(%rbp)
mov    -0x68(%rbp),%eax
cmp    -0x6c(%rbp),%eax
jge    11e1 <main+0xc1>
mov    -0x6c(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x60(%rbp,%rax,4),%eax
movslq -0x6c(%rbp),%rcx
cmp    -0x60(%rbp,%rcx,4),%eax
jle    11ca <main+0xaa>
movslq -0x6c(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%eax
mov    %eax,-0x64(%rbp)
mov    -0x6c(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x60(%rbp,%rax,4),%ecx
movslq -0x6c(%rbp),%rax
mov    %ecx,-0x60(%rbp,%rax,4)
mov    -0x64(%rbp),%ecx
mov    -0x6c(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %ecx,-0x60(%rbp,%rax,4)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
mov    -0x6c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x6c(%rbp)
jmp    116d <main+0x4d>
jmp    11e6 <main+0xc6>
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    115c <main+0x3c>
movl   $0x0,-0x68(%rbp)
cmpl   $0x14,-0x68(%rbp)
jge    1229 <main+0x109>
movslq -0x68(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%esi
lea    0xe3c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    11fb <main+0xdb>
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x70(%rbp),%esi
mov    -0x74(%rbp),%edx
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x58,%rsp
movaps 0xf12(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xef6(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xeda(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xebe(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xea2(%rip),%xmm0
movaps %xmm0,(%rsp)
xor    %ebx,%ebx
mov    $0x12,%r8d
mov    $0x13,%r10d
xor    %r9d,%r9d
jmp    1192 <main+0x72>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%r9d
add    $0xffffffffffffffff,%r10
cmp    $0x12,%r9d
je     1212 <main+0xf2>
mov    0x4c(%rsp),%ecx
sub    $0x1,%r8d
jae    11c0 <main+0xa0>
mov    $0x13,%edx
test   $0x1,%r10b
je     1180 <main+0x60>
mov    -0x4(%rsp,%rdx,4),%eax
cmp    %ecx,%eax
jle    1180 <main+0x60>
mov    %eax,(%rsp,%rdx,4)
mov    %ecx,-0x4(%rsp,%rdx,4)
add    $0x1,%ebx
jmp    1180 <main+0x60>
nopl   0x0(%rax,%rax,1)
mov    %r10,%rdi
and    $0xfffffffffffffffe,%rdi
mov    $0x13,%eax
jmp    11e6 <main+0xc6>
xchg   %ax,%ax
mov    %esi,-0x4(%rsp,%rax,4)
mov    %ecx,-0x8(%rsp,%rax,4)
add    $0x1,%ebx
lea    (%rdi,%rdx,1),%esi
mov    %rdx,%rax
cmp    $0x13,%esi
je     11a1 <main+0x81>
mov    -0x4(%rsp,%rax,4),%edx
cmp    %ecx,%edx
jle    1200 <main+0xe0>
mov    %edx,(%rsp,%rax,4)
mov    %ecx,-0x4(%rsp,%rax,4)
add    $0x1,%ebx
jmp    1202 <main+0xe2>
nopw   0x0(%rax,%rax,1)
mov    %edx,%ecx
lea    -0x2(%rax),%rdx
mov    -0x8(%rsp,%rax,4),%esi
cmp    %ecx,%esi
jg     11d0 <main+0xb0>
mov    %esi,%ecx
jmp    11db <main+0xbb>
mov    (%rsp),%esi
lea    0xe34(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x10(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x14(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x1c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x20(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x24(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x28(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x30(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x34(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x3c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x40(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x44(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x48(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4c(%rsp),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd14(%rip),%rdi
mov    $0xbd,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r14
ret

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

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