#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_lastprivate() {
  int a[100], aa[100];
  int i, error = 0;
  for (i = 0; i < 100; i++)
    aa[i] = a[i] = -1;
  int n;
#pragma omp target parallel for simd map(tofrom : a [0:100], n) lastprivate(n)
  for (int k = 0; k < 100; k++) {
    a[k] = k;
    n = k;
  }
  a[0] = n;
  for (i = 0; i < 100; i++)
    aa[i] = i;
  aa[0] = 100 - 1;
  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_lastprivate>:
push   %rbp
mov    %rsp,%rbp
sub    $0x340,%rsp
movl   $0x0,-0x338(%rbp)
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    1174 <test_lastprivate+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_lastprivate+0x1f>
movl   $0x0,-0x340(%rbp)
cmpl   $0x64,-0x340(%rbp)
jge    11bf <test_lastprivate+0xaf>
mov    -0x340(%rbp),%ecx
movslq -0x340(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x340(%rbp),%eax
mov    %eax,-0x33c(%rbp)
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x340(%rbp)
jmp    117e <test_lastprivate+0x6e>
mov    -0x33c(%rbp),%eax
mov    %eax,-0x1a0(%rbp)
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    120a <test_lastprivate+0xfa>
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    11d5 <test_lastprivate+0xc5>
movl   $0x63,-0x330(%rbp)
movl   $0x0,-0x334(%rbp)
cmpl   $0x64,-0x334(%rbp)
jge    12d1 <test_lastprivate+0x1c1>
movslq -0x334(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
movslq -0x334(%rbp),%rcx
cmp    -0x330(%rbp,%rcx,4),%eax
je     128f <test_lastprivate+0x17f>
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    0xd78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xa,-0x338(%rbp)
jle    12b8 <test_lastprivate+0x1a8>
lea    0xd78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    12da <test_lastprivate+0x1ca>
jmp    12bd <test_lastprivate+0x1ad>
mov    -0x334(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x334(%rbp)
jmp    121e <test_lastprivate+0x10e>
mov    -0x338(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x340,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_lastprivate>:
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>
movaps 0xe93(%rip),%xmm0
movaps %xmm0,0x190(%rsp)
movaps %xmm0,(%rsp)
movaps 0xe90(%rip),%xmm0
movaps %xmm0,0x1a0(%rsp)
movaps %xmm0,0x10(%rsp)
movaps 0xe8c(%rip),%xmm0
movaps %xmm0,0x1b0(%rsp)
movaps %xmm0,0x20(%rsp)
movaps 0xe88(%rip),%xmm0
movaps %xmm0,0x1c0(%rsp)
movaps %xmm0,0x30(%rsp)
movaps 0xe84(%rip),%xmm0
movaps %xmm0,0x1d0(%rsp)
movaps %xmm0,0x40(%rsp)
movaps 0xe80(%rip),%xmm0
movaps %xmm0,0x1e0(%rsp)
movaps %xmm0,0x50(%rsp)
movaps 0xe7c(%rip),%xmm0
movaps %xmm0,0x1f0(%rsp)
movaps %xmm0,0x60(%rsp)
movaps 0xe78(%rip),%xmm0
movaps %xmm0,0x200(%rsp)
movaps %xmm0,0x70(%rsp)
movaps 0xe74(%rip),%xmm0
movaps %xmm0,0x210(%rsp)
movaps %xmm0,0x80(%rsp)
movaps 0xe6d(%rip),%xmm0
movaps %xmm0,0x220(%rsp)
movaps %xmm0,0x90(%rsp)
movaps 0xe66(%rip),%xmm0
movaps %xmm0,0x230(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps 0xe5f(%rip),%xmm0
movaps %xmm0,0x240(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps 0xe58(%rip),%xmm0
movaps %xmm0,0x250(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps 0xe51(%rip),%xmm0
movaps %xmm0,0x260(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps 0xe4a(%rip),%xmm0
movaps %xmm0,0x270(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps 0xe43(%rip),%xmm0
movaps %xmm0,0x280(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps 0xe3c(%rip),%xmm0
movaps %xmm0,0x290(%rsp)
movaps %xmm0,0x100(%rsp)
movaps 0xe35(%rip),%xmm0
movaps %xmm0,0x2a0(%rsp)
movaps %xmm0,0x110(%rsp)
movaps 0xe2e(%rip),%xmm0
movaps %xmm0,0x2b0(%rsp)
movaps %xmm0,0x120(%rsp)
movaps 0xe27(%rip),%xmm0
movaps %xmm0,0x2c0(%rsp)
movaps %xmm0,0x130(%rsp)
movaps 0xe20(%rip),%xmm0
movaps %xmm0,0x2d0(%rsp)
movaps %xmm0,0x140(%rsp)
movaps 0xe19(%rip),%xmm0
movaps %xmm0,0x2e0(%rsp)
movaps %xmm0,0x150(%rsp)
movaps 0xe12(%rip),%xmm0
movaps %xmm0,0x2f0(%rsp)
movaps %xmm0,0x160(%rsp)
movaps 0xe0b(%rip),%xmm0
movaps %xmm0,0x300(%rsp)
movaps %xmm0,0x170(%rsp)
movaps 0xe04(%rip),%xmm0
movaps %xmm0,0x310(%rsp)
movaps %xmm0,0x180(%rsp)
movl   $0x63,0x190(%rsp)
movl   $0x63,(%rsp)
mov    $0x63,%ecx
lea    0xde6(%rip),%r14
mov    $0x63,%edx
xor    %ebx,%ebx
xor    %r15d,%r15d
cmp    %ecx,%edx
je     13dc <test_lastprivate+0x2ac>
nopl   0x0(%rax,%rax,1)
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    13f7 <test_lastprivate+0x2c7>
cmp    $0x63,%rbx
je     1409 <test_lastprivate+0x2d9>
mov    0x194(%rsp,%rbx,4),%edx
mov    0x4(%rsp,%rbx,4),%ecx
add    $0x1,%rbx
cmp    %ecx,%edx
jne    13c0 <test_lastprivate+0x290>
jmp    13dc <test_lastprivate+0x2ac>
lea    0xdad(%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_lastprivate() {
%1 = alloca i32
%2 = alloca [100 x i32]
%3 = alloca [100 x i32]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
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* %7
br label %22
22: ; preds = %31, %21
%23 = load i32, i32* %7
%24 = icmp slt i32 %23, 100
br i1 %24, label %25, label %34
25: ; preds = %22
%26 = load i32, i32* %7
%27 = load i32, i32* %7
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %28
store i32 %26, i32* %29
%30 = load i32, i32* %7
store i32 %30, i32* %6
br label %31
31: ; preds = %25
%32 = load i32, i32* %7
%33 = add nsw i32 %32, 1
store i32 %33, i32* %7
br label %22
34: ; preds = %22
%35 = load i32, i32* %6
%36 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 0
store i32 %35, i32* %36
store i32 0, i32* %4
br label %37
37: ; preds = %45, %34
%38 = load i32, i32* %4
%39 = icmp slt i32 %38, 100
br i1 %39, label %40, label %48
40: ; preds = %37
%41 = load i32, i32* %4
%42 = load i32, i32* %4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %43
store i32 %41, i32* %44
br label %45
45: ; preds = %40
%46 = load i32, i32* %4
%47 = add nsw i32 %46, 1
store i32 %47, i32* %4
br label %37
48: ; preds = %37
%49 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 0
store i32 99, i32* %49
store i32 0, i32* %4
br label %50
50: ; preds = %83, %48
%51 = load i32, i32* %4
%52 = icmp slt i32 %51, 100
br i1 %52, label %53, label %86
53: ; preds = %50
%54 = load i32, i32* %4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %55
%57 = load i32, i32* %56
%58 = load i32, i32* %4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %59
%61 = load i32, i32* %60
%62 = icmp ne i32 %57, %61
br i1 %62, label %63, label %76
63: ; preds = %53
%64 = load i32, i32* %4
%65 = load i32, i32* %4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %66
%68 = load i32, i32* %67
%69 = load i32, i32* %4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %70
%72 = load i32, i32* %71
%73 = load i32, i32* %5
%74 = add nsw i32 %73, 1
store i32 %74, i32* %5
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %64, i32 %68, i32 %72, i32 %74)
br label %76
76: ; preds = %63, %53
%77 = load i32, i32* %5
%78 = icmp sgt i32 %77, 10
br i1 %78, label %79, label %82
79: ; preds = %76
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%81 = load i32, i32* %5
store i32 %81, i32* %1
br label %88
82: ; preds = %76
br label %83
83: ; preds = %82
%84 = load i32, i32* %4
%85 = add nsw i32 %84, 1
store i32 %85, i32* %4
br label %50
86: ; preds = %50
%87 = load i32, i32* %5
store i32 %87, i32* %1
br label %88
88: ; preds = %86, %79
%89 = load i32, i32* %1
ret i32 %89
}

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