#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*/ abort();
int /*<<< orphan*/ acc_copyout(unsigned char *, int const);
void *acc_pcopyin(unsigned char *, int const);
void *acc_present_or_copyin(unsigned char *, int const);
int /*<<< orphan*/ free(unsigned char *);
scalar_t__ malloc(int const);
int /*<<< orphan*/ memset(unsigned char *, int /*<<< orphan*/, int const);
int main(int argc, char **argv) {
  const int N = 256;
  int i;
  unsigned char *h;
  void *d1, *d2;
  h = (unsigned char *)malloc(N);
  for (i = 0; i < N; i++) {
    h[i] = i;
  }
  d1 = acc_present_or_copyin(h, N);
  if (!d1)
    abort();
  for (i = 0; i < N; i++) {
    h[i] = 0xab;
  }
  d2 = acc_present_or_copyin(h, N);
  if (!d2)
    abort();
  if (d1 != d2)
    abort();
  memset(&h[0], 0, N);
  acc_copyout(h, N);
  for (i = 0; i < N; i++) {
    if (h[i] != i)
      abort();
  }
  d2 = acc_pcopyin(h, N);
  if (!d2)
    abort();
  acc_copyout(h, N);
  for (i = 0; i < N; i++) {
    if (h[i] != i)
      abort();
  }
  free(h);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x100,-0x14(%rbp)
mov    $0x100,%edi
call   1060 <malloc@plt>
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    11cd <main+0x5d>
mov    -0x18(%rbp),%eax
mov    %al,%dl
mov    -0x20(%rbp),%rax
movslq -0x18(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11a2 <main+0x32>
mov    -0x20(%rbp),%rdi
mov    $0x100,%esi
call   1090 <acc_present_or_copyin@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    11f1 <main+0x81>
mov    $0x0,%al
call   1040 <abort@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    121f <main+0xaf>
mov    -0x20(%rbp),%rax
movslq -0x18(%rbp),%rcx
movb   $0xab,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11f8 <main+0x88>
mov    -0x20(%rbp),%rdi
mov    $0x100,%esi
call   1090 <acc_present_or_copyin@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    1243 <main+0xd3>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x28(%rbp),%rax
cmp    -0x30(%rbp),%rax
je     1258 <main+0xe8>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x20(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1050 <memset@plt>
mov    -0x20(%rbp),%rdi
mov    $0x100,%esi
call   1070 <acc_copyout@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    12b9 <main+0x149>
mov    -0x20(%rbp),%rax
movslq -0x18(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
cmp    -0x18(%rbp),%eax
je     12a6 <main+0x136>
mov    $0x0,%al
call   1040 <abort@plt>
jmp    12ab <main+0x13b>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    127d <main+0x10d>
mov    -0x20(%rbp),%rdi
mov    $0x100,%esi
call   1080 <acc_pcopyin@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    12dd <main+0x16d>
mov    $0x0,%al
call   1040 <abort@plt>
mov    -0x20(%rbp),%rdi
mov    $0x100,%esi
call   1070 <acc_copyout@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x100,-0x18(%rbp)
jge    132e <main+0x1be>
mov    -0x20(%rbp),%rax
movslq -0x18(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
cmp    -0x18(%rbp),%eax
je     131b <main+0x1ab>
mov    $0x0,%al
call   1040 <abort@plt>
jmp    1320 <main+0x1b0>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12f2 <main+0x182>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
mov    $0x100,%edi
call   1060 <malloc@plt>
mov    %rax,%r15
movaps 0xe77(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xe7d(%rip),%xmm0
movups %xmm0,0x10(%rax)
movaps 0xe82(%rip),%xmm0
movups %xmm0,0x20(%rax)
movaps 0xe87(%rip),%xmm0
movups %xmm0,0x30(%rax)
movaps 0xe8c(%rip),%xmm0
movups %xmm0,0x40(%rax)
movaps 0xe91(%rip),%xmm0
movups %xmm0,0x50(%rax)
movaps 0xe96(%rip),%xmm0
movups %xmm0,0x60(%rax)
movaps 0xe9b(%rip),%xmm0
movups %xmm0,0x70(%rax)
movaps 0xea0(%rip),%xmm0
movups %xmm0,0x80(%rax)
movaps 0xea2(%rip),%xmm0
movups %xmm0,0x90(%rax)
movaps 0xea4(%rip),%xmm0
movups %xmm0,0xa0(%rax)
movaps 0xea6(%rip),%xmm0
movups %xmm0,0xb0(%rax)
movaps 0xea8(%rip),%xmm0
movups %xmm0,0xc0(%rax)
movaps 0xeaa(%rip),%xmm0
movups %xmm0,0xd0(%rax)
movaps 0xeac(%rip),%xmm0
movups %xmm0,0xe0(%rax)
movaps 0xeae(%rip),%xmm0
movups %xmm0,0xf0(%rax)
mov    %rax,%rdi
mov    $0x100,%esi
call   1090 <acc_present_or_copyin@plt>
test   %rax,%rax
je     13e7 <main+0x277>
mov    %rax,%r14
movaps 0xe97(%rip),%xmm0
movups %xmm0,0xf0(%r15)
movups %xmm0,0xe0(%r15)
movups %xmm0,0xd0(%r15)
movups %xmm0,0xc0(%r15)
movups %xmm0,0xb0(%r15)
movups %xmm0,0xa0(%r15)
movups %xmm0,0x90(%r15)
movups %xmm0,0x80(%r15)
movups %xmm0,0x70(%r15)
movups %xmm0,0x60(%r15)
movups %xmm0,0x50(%r15)
movups %xmm0,0x40(%r15)
movups %xmm0,0x30(%r15)
movups %xmm0,0x20(%r15)
movups %xmm0,0x10(%r15)
movups %xmm0,(%r15)
mov    %r15,%rdi
mov    $0x100,%esi
call   1090 <acc_present_or_copyin@plt>
test   %rax,%rax
je     13e7 <main+0x277>
cmp    %rax,%r14
jne    13e7 <main+0x277>
xor    %ebx,%ebx
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1050 <memset@plt>
mov    %r15,%rdi
mov    $0x100,%esi
call   1070 <acc_copyout@plt>
nopl   (%rax)
movzbl (%r15,%rbx,1),%eax
cmp    %rax,%rbx
jne    13e7 <main+0x277>
movzbl 0x1(%r15,%rbx,1),%ecx
lea    0x1(%rbx),%rax
cmp    %rcx,%rax
jne    13e7 <main+0x277>
movzbl 0x2(%r15,%rbx,1),%ecx
add    $0x1,%rax
cmp    %rcx,%rax
jne    13e7 <main+0x277>
movzbl 0x3(%r15,%rbx,1),%ecx
add    $0x1,%rax
cmp    %rcx,%rax
jne    13e7 <main+0x277>
add    $0x1,%rax
mov    %rax,%rbx
cmp    $0x100,%rax
jne    1310 <main+0x1a0>
mov    %r15,%rdi
mov    $0x100,%esi
call   1080 <acc_pcopyin@plt>
test   %rax,%rax
je     13e7 <main+0x277>
mov    %r15,%rdi
mov    $0x100,%esi
call   1070 <acc_copyout@plt>
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
movzbl (%r15,%rax,1),%ecx
cmp    %rcx,%rax
jne    13e7 <main+0x277>
movzbl 0x1(%r15,%rax,1),%edx
lea    0x1(%rax),%rcx
cmp    %rdx,%rcx
jne    13e7 <main+0x277>
movzbl 0x2(%r15,%rax,1),%edx
add    $0x1,%rcx
cmp    %rdx,%rcx
jne    13e7 <main+0x277>
movzbl 0x3(%r15,%rax,1),%eax
add    $0x1,%rcx
cmp    %rax,%rcx
jne    13e7 <main+0x277>
add    $0x1,%rcx
mov    %rcx,%rax
cmp    $0x100,%rcx
jne    1390 <main+0x220>
mov    %r15,%rdi
call   1030 <free@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret
xor    %eax,%eax
call   1040 <abort@plt>

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 256, i32* %6
%11 = call i64 @malloc(i32 256)
%12 = inttoptr i64 %11 to i8*
store i8* %12, i8** %8
store i32 0, i32* %7
br label %13
13: ; preds = %23, %2
%14 = load i32, i32* %7
%15 = icmp slt i32 %14, 256
br i1 %15, label %16, label %26
16: ; preds = %13
%17 = load i32, i32* %7
%18 = trunc i32 %17 to i8
%19 = load i8*, i8** %8
%20 = load i32, i32* %7
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, i8* %19, i64 %21
store i8 %18, i8* %22
br label %23
23: ; preds = %16
%24 = load i32, i32* %7
%25 = add nsw i32 %24, 1
store i32 %25, i32* %7
br label %13
26: ; preds = %13
%27 = load i8*, i8** %8
%28 = call i8* @acc_present_or_copyin(i8* %27, i32 256)
store i8* %28, i8** %9
%29 = load i8*, i8** %9
%30 = icmp ne i8* %29, null
br i1 %30, label %33, label %31
31: ; preds = %26
%32 = call i32 (...) @abort()
unreachable
33: ; preds = %26
store i32 0, i32* %7
br label %34
34: ; preds = %42, %33
%35 = load i32, i32* %7
%36 = icmp slt i32 %35, 256
br i1 %36, label %37, label %45
37: ; preds = %34
%38 = load i8*, i8** %8
%39 = load i32, i32* %7
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, i8* %38, i64 %40
store i8 -85, i8* %41
br label %42
42: ; preds = %37
%43 = load i32, i32* %7
%44 = add nsw i32 %43, 1
store i32 %44, i32* %7
br label %34
45: ; preds = %34
%46 = load i8*, i8** %8
%47 = call i8* @acc_present_or_copyin(i8* %46, i32 256)
store i8* %47, i8** %10
%48 = load i8*, i8** %10
%49 = icmp ne i8* %48, null
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = call i32 (...) @abort()
unreachable
52: ; preds = %45
%53 = load i8*, i8** %9
%54 = load i8*, i8** %10
%55 = icmp ne i8* %53, %54
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = call i32 (...) @abort()
unreachable
58: ; preds = %52
%59 = load i8*, i8** %8
%60 = getelementptr inbounds i8, i8* %59, i64 0
%61 = call i32 @memset(i8* %60, i32 0, i32 256)
%62 = load i8*, i8** %8
%63 = call i32 @acc_copyout(i8* %62, i32 256)
store i32 0, i32* %7
br label %64
64: ; preds = %79, %58
%65 = load i32, i32* %7
%66 = icmp slt i32 %65, 256
br i1 %66, label %67, label %82
67: ; preds = %64
%68 = load i8*, i8** %8
%69 = load i32, i32* %7
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, i8* %68, i64 %70
%72 = load i8, i8* %71
%73 = zext i8 %72 to i32
%74 = load i32, i32* %7
%75 = icmp ne i32 %73, %74
br i1 %75, label %76, label %78
76: ; preds = %67
%77 = call i32 (...) @abort()
unreachable
78: ; preds = %67
br label %79
79: ; preds = %78
%80 = load i32, i32* %7
%81 = add nsw i32 %80, 1
store i32 %81, i32* %7
br label %64
82: ; preds = %64
%83 = load i8*, i8** %8
%84 = call i8* @acc_pcopyin(i8* %83, i32 256)
store i8* %84, i8** %10
%85 = load i8*, i8** %10
%86 = icmp ne i8* %85, null
br i1 %86, label %89, label %87
87: ; preds = %82
%88 = call i32 (...) @abort()
unreachable
89: ; preds = %82
%90 = load i8*, i8** %8
%91 = call i32 @acc_copyout(i8* %90, i32 256)
store i32 0, i32* %7
br label %92
92: ; preds = %107, %89
%93 = load i32, i32* %7
%94 = icmp slt i32 %93, 256
br i1 %94, label %95, label %110
95: ; preds = %92
%96 = load i8*, i8** %8
%97 = load i32, i32* %7
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, i8* %96, i64 %98
%100 = load i8, i8* %99
%101 = zext i8 %100 to i32
%102 = load i32, i32* %7
%103 = icmp ne i32 %101, %102
br i1 %103, label %104, label %106
104: ; preds = %95
%105 = call i32 (...) @abort()
unreachable
106: ; preds = %95
br label %107
107: ; preds = %106
%108 = load i32, i32* %7
%109 = add nsw i32 %108, 1
store i32 %109, i32* %7
br label %92
110: ; preds = %92
%111 = load i8*, i8** %8
%112 = call i32 @free(i8* %111)
ret i32 0
}

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