#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 test_safelen() {
  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])
  {
#pragma omp teams num_teams(1)
#pragma omp distribute simd safelen(2)
    for (int 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 error;
    }
  }
  return error;
}


x86 assembly (clang, -O0):
<test_safelen>:
push   %rbp
mov    %rsp,%rbp
sub    $0x340,%rsp
movl   $0x0,-0x338(%rbp)
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    1174 <test_safelen+0x64>
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    112f <test_safelen+0x1f>
movl   $0x0,-0x33c(%rbp)
cmpl   $0x64,-0x33c(%rbp)
jge    11ed <test_safelen+0xdd>
cmpl   $0x1,-0x33c(%rbp)
jle    11c0 <test_safelen+0xb0>
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    11d4 <test_safelen+0xc4>
mov    -0x33c(%rbp),%ecx
movslq -0x33c(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
jmp    11d9 <test_safelen+0xc9>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    117e <test_safelen+0x6e>
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    122c <test_safelen+0x11c>
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    11f7 <test_safelen+0xe7>
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    12e9 <test_safelen+0x1d9>
movslq -0x334(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
movslq -0x334(%rbp),%rcx
cmp    -0x330(%rbp,%rcx,4),%eax
je     12a7 <test_safelen+0x197>
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    0xd60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xa,-0x338(%rbp)
jle    12d0 <test_safelen+0x1c0>
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    12f2 <test_safelen+0x1e2>
jmp    12d5 <test_safelen+0x1c5>
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    1236 <test_safelen+0x126>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x340,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_safelen>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x328,%rsp
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 0xe76(%rip),%xmm1
movdqa 0xe7e(%rip),%xmm2
movdqa 0xe86(%rip),%xmm3
movdqa 0xe8e(%rip),%xmm4
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movdqa %xmm0,%xmm5
paddd  %xmm1,%xmm5
movq   %xmm5,0x178(%rsp,%rax,4)
cmp    $0x68,%rax
je     11f7 <test_safelen+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    11b0 <test_safelen+0x80>
movaps 0xe42(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xe47(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe4b(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe4f(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xe53(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xe57(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xe5b(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xe5f(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xe63(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xe64(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xe65(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe66(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xe67(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xe68(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xe69(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xe6a(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xe6b(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movaps 0xe6c(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movaps 0xe6d(%rip),%xmm0
movaps %xmm0,0x120(%rsp)
movaps 0xe6e(%rip),%xmm0
movaps %xmm0,0x130(%rsp)
movaps 0xe6f(%rip),%xmm0
movaps %xmm0,0x140(%rsp)
movaps 0xe70(%rip),%xmm0
movaps %xmm0,0x150(%rsp)
movaps 0xe71(%rip),%xmm0
movaps %xmm0,0x160(%rsp)
movaps 0xe72(%rip),%xmm0
movaps %xmm0,0x170(%rsp)
movaps 0xe73(%rip),%xmm0
movaps %xmm0,0x180(%rsp)
lea    0xe74(%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     1393 <test_safelen+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    13a6 <test_safelen+0x276>
cmp    $0x63,%rbx
je     13b8 <test_safelen+0x288>
mov    0x194(%rsp,%rbx,4),%edx
add    $0x1,%rbx
jmp    1370 <test_safelen+0x240>
lea    0xe3e(%rip),%rdi
call   1030 <puts@plt>
mov    $0xb,%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"
define i32 @test_safelen() {
%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* %5
store i32 0, i32* %4
br label %7
7: ; preds = %17, %0
%8 = load i32, i32* %4
%9 = icmp slt i32 %8, 100
br i1 %9, label %10, label %20
10: ; preds = %7
%11 = load i32, i32* %4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %12
store i32 -1, i32* %13
%14 = load i32, i32* %4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %15
store i32 -1, i32* %16
br label %17
17: ; preds = %10
%18 = load i32, i32* %4
%19 = add nsw i32 %18, 1
store i32 %19, i32* %4
br label %7
20: ; preds = %7
store i32 0, i32* %6
br label %21
21: ; preds = %43, %20
%22 = load i32, i32* %6
%23 = icmp slt i32 %22, 100
br i1 %23, label %24, label %46
24: ; preds = %21
%25 = load i32, i32* %6
%26 = icmp sgt i32 %25, 1
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = load i32, i32* %6
%29 = sub nsw i32 %28, 2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %30
%32 = load i32, i32* %31
%33 = add nsw i32 %32, 2
%34 = load i32, i32* %6
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %35
store i32 %33, i32* %36
br label %42
37: ; preds = %24
%38 = load i32, i32* %6
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %40
store i32 %38, i32* %41
br label %42
42: ; preds = %37, %27
br label %43
43: ; preds = %42
%44 = load i32, i32* %6
%45 = add nsw i32 %44, 1
store i32 %45, i32* %6
br label %21
46: ; preds = %21
store i32 0, i32* %4
br label %47
47: ; preds = %55, %46
%48 = load i32, i32* %4
%49 = icmp slt i32 %48, 100
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, i32* %4
%52 = load i32, i32* %4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %53
store i32 %51, i32* %54
br label %55
55: ; preds = %50
%56 = load i32, i32* %4
%57 = add nsw i32 %56, 1
store i32 %57, i32* %4
br label %47
58: ; preds = %47
store i32 0, i32* %4
br label %59
59: ; preds = %92, %58
%60 = load i32, i32* %4
%61 = icmp slt i32 %60, 100
br i1 %61, label %62, label %95
62: ; preds = %59
%63 = load i32, i32* %4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %64
%66 = load i32, i32* %65
%67 = load i32, i32* %4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %68
%70 = load i32, i32* %69
%71 = icmp ne i32 %66, %70
br i1 %71, label %72, label %85
72: ; preds = %62
%73 = load i32, i32* %4
%74 = load i32, i32* %4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %75
%77 = load i32, i32* %76
%78 = load i32, i32* %4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %79
%81 = load i32, i32* %80
%82 = load i32, i32* %5
%83 = add nsw i32 %82, 1
store i32 %83, i32* %5
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %73, i32 %77, i32 %81, i32 %83)
br label %85
85: ; preds = %72, %62
%86 = load i32, i32* %5
%87 = icmp sgt i32 %86, 10
br i1 %87, label %88, label %91
88: ; preds = %85
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%90 = load i32, i32* %5
store i32 %90, i32* %1
br label %97
91: ; preds = %85
br label %92
92: ; preds = %91
%93 = load i32, i32* %4
%94 = add nsw i32 %93, 1
store i32 %94, i32* %4
br label %59
95: ; preds = %59
%96 = load i32, i32* %5
store i32 %96, i32* %1
br label %97
97: ; preds = %95, %88
%98 = load i32, i32* %1
ret i32 %98
}

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