#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*/ check_offloading();
int /*<<< orphan*/ printf(char *, ...);
int main() {
  check_offloading();
  int a[100], aa[100];
  int i, error = 0;
  for (i = 0; i < 100; i++)
    aa[i] = a[i] = -1;
#pragma omp target map(tofrom : a [0:100])
  {
    int k;
#pragma omp simd safelen(2)
    for (k = 0; k < 100; k++) {
      if (k > 1)
        a[k] = a[k - 2] + 2;
      else
        a[k] = k;
    }
  }
  for (i = 0; i < 100; i++)
    aa[i] = i;
  for (i = 0; i < 100; i++) {
    if (a[i] != aa[i])
      printf("%d: a %d != %d (error %d)\n", i, a[i], aa[i], ++error);
    if (error > 10) {
      printf("abort\n");
      return 0;
    }
  }
  printf("done with %d errors\n", error);
  return error;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x340,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1040 <check_offloading@plt>
movl   $0x0,-0x338(%rbp)
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    1192 <main+0x72>
movslq -0x334(%rbp),%rax
movl   $0xffffffff,-0x1a0(%rbp,%rax,4)
ff ff ff ff
movslq -0x334(%rbp),%rax
movl   $0xffffffff,-0x330(%rbp,%rax,4)
ff ff ff ff
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    114d <main+0x2d>
movl   $0x0,-0x33c(%rbp)
cmpl   $0x64,-0x33c(%rbp)
jge    120b <main+0xeb>
cmpl   $0x1,-0x33c(%rbp)
jle    11de <main+0xbe>
mov    -0x33c(%rbp),%eax
sub    $0x2,%eax
cltq
mov    -0x1a0(%rbp,%rax,4),%ecx
add    $0x2,%ecx
movslq -0x33c(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
jmp    11f2 <main+0xd2>
mov    -0x33c(%rbp),%ecx
movslq -0x33c(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
jmp    11f7 <main+0xd7>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    119c <main+0x7c>
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    124a <main+0x12a>
mov    -0x334(%rbp),%ecx
movslq -0x334(%rbp),%rax
mov    %ecx,-0x330(%rbp,%rax,4)
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    1215 <main+0xf5>
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    1305 <main+0x1e5>
movslq -0x334(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
movslq -0x334(%rbp),%rcx
cmp    -0x330(%rbp,%rcx,4),%eax
je     12c5 <main+0x1a5>
mov    -0x334(%rbp),%esi
movslq -0x334(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%edx
movslq -0x334(%rbp),%rax
mov    -0x330(%rbp,%rax,4),%ecx
mov    -0x338(%rbp),%r8d
add    $0x1,%r8d
mov    %r8d,-0x338(%rbp)
lea    0xd42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xa,-0x338(%rbp)
jle    12ec <main+0x1cc>
lea    0xd42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1322 <main+0x202>
jmp    12f1 <main+0x1d1>
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    1254 <main+0x134>
mov    -0x338(%rbp),%esi
lea    0xd10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x340,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x328,%rsp
xor    %eax,%eax
call   1060 <check_offloading@plt>
lea    0x190(%rsp),%rdi
mov    $0x190,%edx
mov    $0xff,%esi
call   1050 <memset@plt>
mov    %rsp,%rdi
mov    $0x190,%edx
mov    $0xff,%esi
call   1050 <memset@plt>
movabs $0x100000000,%rax
mov    %rax,0x190(%rsp)
movq   %rax,%xmm0
mov    $0x8,%eax
movdqa 0xe5f(%rip),%xmm1
movdqa 0xe67(%rip),%xmm2
movdqa 0xe6f(%rip),%xmm3
movdqa 0xe77(%rip),%xmm4
nopl   0x0(%rax)
movdqa %xmm0,%xmm5
paddd  %xmm1,%xmm5
movq   %xmm5,0x178(%rsp,%rax,4)
cmp    $0x68,%rax
je     1207 <main+0xc7>
movdqa %xmm0,%xmm5
paddd  %xmm2,%xmm5
movdqa %xmm0,%xmm6
paddd  %xmm3,%xmm6
punpcklqdq %xmm6,%xmm5
movdqa %xmm5,0x180(%rsp,%rax,4)
paddd  %xmm4,%xmm0
movq   %xmm0,0x190(%rsp,%rax,4)
add    $0x8,%rax
jmp    11c0 <main+0x80>
movaps 0xe32(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xe37(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe3b(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe3f(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xe43(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xe47(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xe4b(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xe4f(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xe53(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xe54(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xe55(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe56(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xe57(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xe58(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xe59(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xe5a(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xe5b(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movaps 0xe5c(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movaps 0xe5d(%rip),%xmm0
movaps %xmm0,0x120(%rsp)
movaps 0xe5e(%rip),%xmm0
movaps %xmm0,0x130(%rsp)
movaps 0xe5f(%rip),%xmm0
movaps %xmm0,0x140(%rsp)
movaps 0xe60(%rip),%xmm0
movaps %xmm0,0x150(%rsp)
movaps 0xe61(%rip),%xmm0
movaps %xmm0,0x160(%rsp)
movaps 0xe62(%rip),%xmm0
movaps %xmm0,0x170(%rsp)
movaps 0xe63(%rip),%xmm0
movaps %xmm0,0x180(%rsp)
lea    0xe64(%rip),%r14
xor    %edx,%edx
xor    %ebx,%ebx
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%rsp,%rbx,4),%ecx
cmp    %ecx,%edx
je     13a3 <main+0x263>
lea    0x1(%r15),%ebp
mov    %r14,%rdi
mov    %ebx,%esi
mov    %ebp,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xa,%r15d
mov    %ebp,%r15d
jge    13c9 <main+0x289>
cmp    $0x63,%rbx
je     13b6 <main+0x276>
mov    0x194(%rsp,%rbx,4),%edx
add    $0x1,%rbx
jmp    1380 <main+0x240>
lea    0xe2e(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    13d8 <main+0x298>
lea    0xe30(%rip),%rdi
call   1030 <puts@plt>
xor    %r15d,%r15d
mov    %r15d,%eax
add    $0x328,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

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

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