#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*/ copy(unsigned char *, unsigned char *, int);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ memcpy(unsigned char *, unsigned char *, int);
int /*<<< orphan*/ memset(unsigned char *, int, int);
main() {
  unsigned i;
  unsigned char src[(1 << 17)];
  unsigned char dst[(1 << 17)];
  for (i = 0; i < (1 << 17); i++)
    src[i] = (unsigned char)i, dst[i] = 0;
  (void)memcpy(dst, src, (1 << 17) / 128);
  for (i = 0; i < (1 << 17) / 128; i++)
    if (dst[i] != (unsigned char)i)
      abort();
  (void)memset(dst, 1, (1 << 17) / 128);
  for (i = 0; i < (1 << 17) / 128; i++)
    if (dst[i] != 1)
      abort();
  (void)memcpy(dst, src, (1 << 17));
  for (i = 0; i < (1 << 17); i++)
    if (dst[i] != (unsigned char)i)
      abort();
  (void)memset(dst, 0, (1 << 17));
  for (i = 0; i < (1 << 17); i++)
    if (dst[i] != 0)
      abort();
  (void)copy(dst, src, (1 << 17) / 128);
  for (i = 0; i < (1 << 17) / 128; i++)
    if (dst[i] != (unsigned char)i)
      abort();
  (void)memset(dst, 0, (1 << 17));
  (void)copy(dst, src, (1 << 17));
  for (i = 0; i < (1 << 17); i++)
    if (dst[i] != (unsigned char)i)
      abort();
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40010,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x20000,-0x8(%rbp)
jae    119e <main+0x4e>
mov    -0x8(%rbp),%eax
mov    %al,%cl
mov    -0x8(%rbp),%eax
mov    %cl,-0x20010(%rbp,%rax,1)
mov    -0x8(%rbp),%eax
movb   $0x0,-0x40010(%rbp,%rax,1)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1169 <main+0x19>
lea    -0x40010(%rbp),%rdi
lea    -0x20010(%rbp),%rsi
mov    $0x400,%edx
call   1060 <memcpy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x400,-0x8(%rbp)
jae    11fd <main+0xad>
mov    -0x8(%rbp),%eax
movzbl -0x40010(%rbp,%rax,1),%eax
ff
mov    -0x8(%rbp),%ecx
movzbl %cl,%ecx
cmp    %ecx,%eax
je     11ea <main+0x9a>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    11ef <main+0x9f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11bd <main+0x6d>
lea    -0x40010(%rbp),%rdi
mov    $0x1,%esi
mov    $0x400,%edx
call   1040 <memset@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x400,-0x8(%rbp)
jae    1255 <main+0x105>
mov    -0x8(%rbp),%eax
movzbl -0x40010(%rbp,%rax,1),%eax
ff
cmp    $0x1,%eax
je     1242 <main+0xf2>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    1247 <main+0xf7>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    121a <main+0xca>
lea    -0x40010(%rbp),%rdi
lea    -0x20010(%rbp),%rsi
mov    $0x20000,%edx
call   1060 <memcpy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x20000,-0x8(%rbp)
jae    12b4 <main+0x164>
mov    -0x8(%rbp),%eax
movzbl -0x40010(%rbp,%rax,1),%eax
ff
mov    -0x8(%rbp),%ecx
movzbl %cl,%ecx
cmp    %ecx,%eax
je     12a1 <main+0x151>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    12a6 <main+0x156>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1274 <main+0x124>
lea    -0x40010(%rbp),%rdi
xor    %esi,%esi
mov    $0x20000,%edx
call   1040 <memset@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x20000,-0x8(%rbp)
jae    1309 <main+0x1b9>
mov    -0x8(%rbp),%eax
movzbl -0x40010(%rbp,%rax,1),%eax
ff
cmp    $0x0,%eax
je     12f6 <main+0x1a6>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    12fb <main+0x1ab>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12ce <main+0x17e>
lea    -0x40010(%rbp),%rdi
lea    -0x20010(%rbp),%rsi
mov    $0x400,%edx
call   1050 <copy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x400,-0x8(%rbp)
jae    1368 <main+0x218>
mov    -0x8(%rbp),%eax
movzbl -0x40010(%rbp,%rax,1),%eax
ff
mov    -0x8(%rbp),%ecx
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1355 <main+0x205>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    135a <main+0x20a>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1328 <main+0x1d8>
lea    -0x40010(%rbp),%rdi
xor    %esi,%esi
mov    $0x20000,%edx
call   1040 <memset@plt>
lea    -0x40010(%rbp),%rdi
lea    -0x20010(%rbp),%rsi
mov    $0x20000,%edx
call   1050 <copy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x20000,-0x8(%rbp)
jae    13da <main+0x28a>
mov    -0x8(%rbp),%eax
movzbl -0x40010(%rbp,%rax,1),%eax
ff
mov    -0x8(%rbp),%ecx
movzbl %cl,%ecx
cmp    %ecx,%eax
je     13c7 <main+0x277>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    13cc <main+0x27c>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    139a <main+0x24a>
xor    %edi,%edi
call   1070 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x40008,%rsp
mov    %rsp,%rdi
xor    %ebx,%ebx
mov    $0x20000,%edx
xor    %esi,%esi
call   1040 <memset@plt>
movdqa 0xe8d(%rip),%xmm2
movdqa 0xe94(%rip),%xmm8
movdqa 0xe9b(%rip),%xmm9
movdqa 0xea3(%rip),%xmm3
movdqa 0xeab(%rip),%xmm4
movdqa 0xeb3(%rip),%xmm5
movdqa 0xebb(%rip),%xmm6
movdqa 0xec3(%rip),%xmm7
movdqa 0xecb(%rip),%xmm1
cs nopw 0x0(%rax,%rax,1)
nop
movdqa %xmm2,0x20000(%rsp,%rbx,1)
movdqa %xmm2,%xmm0
paddb  %xmm8,%xmm0
movdqa %xmm0,0x20010(%rsp,%rbx,1)
movdqa %xmm2,%xmm0
paddb  %xmm9,%xmm0
movdqa %xmm0,0x20020(%rsp,%rbx,1)
movdqa %xmm2,%xmm0
paddb  %xmm3,%xmm0
movdqa %xmm0,0x20030(%rsp,%rbx,1)
movdqa %xmm2,%xmm0
paddb  %xmm4,%xmm0
movdqa %xmm0,0x20040(%rsp,%rbx,1)
movdqa %xmm2,%xmm0
paddb  %xmm5,%xmm0
movdqa %xmm0,0x20050(%rsp,%rbx,1)
movdqa %xmm2,%xmm0
paddb  %xmm6,%xmm0
movdqa %xmm0,0x20060(%rsp,%rbx,1)
movdqa %xmm2,%xmm0
paddb  %xmm7,%xmm0
movdqa %xmm0,0x20070(%rsp,%rbx,1)
sub    $0xffffffffffffff80,%rbx
pxor   %xmm1,%xmm2
cmp    $0x20000,%rbx
jne    11c0 <main+0x70>
mov    %rsp,%rdi
lea    0x20000(%rsp),%rsi
mov    $0x400,%edx
call   1060 <memcpy@plt>
xor    %eax,%eax
xchg   %ax,%ax
cmp    (%rsp,%rax,1),%al
jne    1479 <main+0x329>
lea    0x1(%rax),%rcx
cmp    %cl,0x1(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
cmp    %cl,0x2(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
cmp    %cl,0x3(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
mov    %rcx,%rax
cmp    $0x400,%rcx
jne    1270 <main+0x120>
mov    %rsp,%rdi
mov    $0x1,%esi
mov    $0x400,%edx
call   1040 <memset@plt>
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
cmpb   $0x1,(%rsp,%rax,1)
jne    1479 <main+0x329>
cmpb   $0x1,0x1(%rsp,%rax,1)
jne    1479 <main+0x329>
cmpb   $0x1,0x2(%rsp,%rax,1)
jne    1479 <main+0x329>
cmpb   $0x1,0x3(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x4,%rax
cmp    $0x400,%rax
jne    12d0 <main+0x180>
mov    %rsp,%rdi
lea    0x20000(%rsp),%rsi
mov    $0x20000,%edx
call   1060 <memcpy@plt>
xor    %eax,%eax
xchg   %ax,%ax
cmp    (%rsp,%rax,1),%al
jne    1479 <main+0x329>
lea    0x1(%rax),%rcx
cmp    %cl,0x1(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
cmp    %cl,0x2(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
cmp    %cl,0x3(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
mov    %rcx,%rax
cmp    $0x20000,%rcx
jne    1320 <main+0x1d0>
mov    %rsp,%rdi
xor    %ebx,%ebx
xor    %esi,%esi
mov    $0x20000,%edx
call   1040 <memset@plt>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
cmpb   $0x0,(%rsp,%rbx,1)
jne    1479 <main+0x329>
cmpb   $0x0,0x1(%rsp,%rbx,1)
jne    1479 <main+0x329>
cmpb   $0x0,0x2(%rsp,%rbx,1)
jne    1479 <main+0x329>
cmpb   $0x0,0x3(%rsp,%rbx,1)
jne    1479 <main+0x329>
add    $0x4,%rbx
cmp    $0x20000,%rbx
jne    1380 <main+0x230>
mov    %rsp,%rdi
lea    0x20000(%rsp),%rsi
mov    $0x400,%edx
call   1050 <copy@plt>
xor    %eax,%eax
nop
cmp    (%rsp,%rax,1),%al
jne    1479 <main+0x329>
lea    0x1(%rax),%rcx
cmp    %cl,0x1(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
cmp    %cl,0x2(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
cmp    %cl,0x3(%rsp,%rax,1)
jne    1479 <main+0x329>
add    $0x1,%rcx
mov    %rcx,%rax
cmp    $0x400,%rcx
jne    13d0 <main+0x280>
mov    %rsp,%r14
xor    %ebx,%ebx
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x20000,%edx
call   1040 <memset@plt>
lea    0x20000(%rsp),%rsi
mov    %r14,%rdi
mov    $0x20000,%edx
call   1050 <copy@plt>
nopl   0x0(%rax,%rax,1)
cmp    (%rsp,%rbx,1),%bl
jne    1479 <main+0x329>
lea    0x1(%rbx),%rax
cmp    %al,0x1(%rsp,%rbx,1)
jne    1479 <main+0x329>
add    $0x1,%rax
cmp    %al,0x2(%rsp,%rbx,1)
jne    1479 <main+0x329>
add    $0x1,%rax
cmp    %al,0x3(%rsp,%rbx,1)
jne    1479 <main+0x329>
add    $0x1,%rax
mov    %rax,%rbx
cmp    $0x20000,%rax
jne    1440 <main+0x2f0>
xor    %edi,%edi
call   1070 <exit@plt>
xor    %eax,%eax
call   1030 <abort@plt>

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [131072 x i8]
%4 = alloca [131072 x i8]
store i32 0, i32* %1
store i32 0, i32* %2
br label %5
5: ; preds = %17, %0
%6 = load i32, i32* %2
%7 = icmp ult i32 %6, 131072
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, i32* %2
%10 = trunc i32 %9 to i8
%11 = load i32, i32* %2
%12 = zext i32 %11 to i64
%13 = getelementptr inbounds [131072 x i8], [131072 x i8]* %3, i64 0, i64 %12
store i8 %10, i8* %13
%14 = load i32, i32* %2
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 %15
store i8 0, i8* %16
br label %17
17: ; preds = %8
%18 = load i32, i32* %2
%19 = add i32 %18, 1
store i32 %19, i32* %2
br label %5
20: ; preds = %5
%21 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 0
%22 = getelementptr inbounds [131072 x i8], [131072 x i8]* %3, i64 0, i64 0
%23 = call i32 @memcpy(i8* %21, i8* %22, i32 1024)
store i32 0, i32* %2
br label %24
24: ; preds = %40, %20
%25 = load i32, i32* %2
%26 = icmp ult i32 %25, 1024
br i1 %26, label %27, label %43
27: ; preds = %24
%28 = load i32, i32* %2
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 %29
%31 = load i8, i8* %30
%32 = zext i8 %31 to i32
%33 = load i32, i32* %2
%34 = trunc i32 %33 to i8
%35 = zext i8 %34 to i32
%36 = icmp ne i32 %32, %35
br i1 %36, label %37, label %39
37: ; preds = %27
%38 = call i32 (...) @abort()
unreachable
39: ; preds = %27
br label %40
40: ; preds = %39
%41 = load i32, i32* %2
%42 = add i32 %41, 1
store i32 %42, i32* %2
br label %24
43: ; preds = %24
%44 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 0
%45 = call i32 @memset(i8* %44, i32 1, i32 1024)
store i32 0, i32* %2
br label %46
46: ; preds = %59, %43
%47 = load i32, i32* %2
%48 = icmp ult i32 %47, 1024
br i1 %48, label %49, label %62
49: ; preds = %46
%50 = load i32, i32* %2
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 %51
%53 = load i8, i8* %52
%54 = zext i8 %53 to i32
%55 = icmp ne i32 %54, 1
br i1 %55, label %56, label %58
56: ; preds = %49
%57 = call i32 (...) @abort()
unreachable
58: ; preds = %49
br label %59
59: ; preds = %58
%60 = load i32, i32* %2
%61 = add i32 %60, 1
store i32 %61, i32* %2
br label %46
62: ; preds = %46
%63 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 0
%64 = getelementptr inbounds [131072 x i8], [131072 x i8]* %3, i64 0, i64 0
%65 = call i32 @memcpy(i8* %63, i8* %64, i32 131072)
store i32 0, i32* %2
br label %66
66: ; preds = %82, %62
%67 = load i32, i32* %2
%68 = icmp ult i32 %67, 131072
br i1 %68, label %69, label %85
69: ; preds = %66
%70 = load i32, i32* %2
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 %71
%73 = load i8, i8* %72
%74 = zext i8 %73 to i32
%75 = load i32, i32* %2
%76 = trunc i32 %75 to i8
%77 = zext i8 %76 to i32
%78 = icmp ne i32 %74, %77
br i1 %78, label %79, label %81
79: ; preds = %69
%80 = call i32 (...) @abort()
unreachable
81: ; preds = %69
br label %82
82: ; preds = %81
%83 = load i32, i32* %2
%84 = add i32 %83, 1
store i32 %84, i32* %2
br label %66
85: ; preds = %66
%86 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 0
%87 = call i32 @memset(i8* %86, i32 0, i32 131072)
store i32 0, i32* %2
br label %88
88: ; preds = %101, %85
%89 = load i32, i32* %2
%90 = icmp ult i32 %89, 131072
br i1 %90, label %91, label %104
91: ; preds = %88
%92 = load i32, i32* %2
%93 = zext i32 %92 to i64
%94 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 %93
%95 = load i8, i8* %94
%96 = zext i8 %95 to i32
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %91
%99 = call i32 (...) @abort()
unreachable
100: ; preds = %91
br label %101
101: ; preds = %100
%102 = load i32, i32* %2
%103 = add i32 %102, 1
store i32 %103, i32* %2
br label %88
104: ; preds = %88
%105 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 0
%106 = getelementptr inbounds [131072 x i8], [131072 x i8]* %3, i64 0, i64 0
%107 = call i32 @copy(i8* %105, i8* %106, i32 1024)
store i32 0, i32* %2
br label %108
108: ; preds = %124, %104
%109 = load i32, i32* %2
%110 = icmp ult i32 %109, 1024
br i1 %110, label %111, label %127
111: ; preds = %108
%112 = load i32, i32* %2
%113 = zext i32 %112 to i64
%114 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 %113
%115 = load i8, i8* %114
%116 = zext i8 %115 to i32
%117 = load i32, i32* %2
%118 = trunc i32 %117 to i8
%119 = zext i8 %118 to i32
%120 = icmp ne i32 %116, %119
br i1 %120, label %121, label %123
121: ; preds = %111
%122 = call i32 (...) @abort()
unreachable
123: ; preds = %111
br label %124
124: ; preds = %123
%125 = load i32, i32* %2
%126 = add i32 %125, 1
store i32 %126, i32* %2
br label %108
127: ; preds = %108
%128 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 0
%129 = call i32 @memset(i8* %128, i32 0, i32 131072)
%130 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 0
%131 = getelementptr inbounds [131072 x i8], [131072 x i8]* %3, i64 0, i64 0
%132 = call i32 @copy(i8* %130, i8* %131, i32 131072)
store i32 0, i32* %2
br label %133
133: ; preds = %149, %127
%134 = load i32, i32* %2
%135 = icmp ult i32 %134, 131072
br i1 %135, label %136, label %152
136: ; preds = %133
%137 = load i32, i32* %2
%138 = zext i32 %137 to i64
%139 = getelementptr inbounds [131072 x i8], [131072 x i8]* %4, i64 0, i64 %138
%140 = load i8, i8* %139
%141 = zext i8 %140 to i32
%142 = load i32, i32* %2
%143 = trunc i32 %142 to i8
%144 = zext i8 %143 to i32
%145 = icmp ne i32 %141, %144
br i1 %145, label %146, label %148
146: ; preds = %136
%147 = call i32 (...) @abort()
unreachable
148: ; preds = %136
br label %149
149: ; preds = %148
%150 = load i32, i32* %2
%151 = add i32 %150, 1
store i32 %151, i32* %2
br label %133
152: ; preds = %133
%153 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
define i32 @main() {
%1 = alloca [131072 x i8]
%2 = alloca [131072 x i8]
%3 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 0
%4 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 0
%5 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 0
br label %6
6: ; preds = %6, %0
%7 = phi i64 [ 0, %0 ], [ %39, %6 ]
%8 = phi <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>, %0 ], [ %40, %6 ]
%9 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %7
%10 = bitcast i8* %9 to <16 x i8>*
store <16 x i8> %8, <16 x i8>* %10
%11 = or i64 %7, 16
%12 = add <16 x i8> %8, <i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16, i8 16>
%13 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %11
%14 = bitcast i8* %13 to <16 x i8>*
store <16 x i8> %12, <16 x i8>* %14
%15 = or i64 %7, 32
%16 = add <16 x i8> %8, <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>
%17 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %15
%18 = bitcast i8* %17 to <16 x i8>*
store <16 x i8> %16, <16 x i8>* %18
%19 = or i64 %7, 48
%20 = add <16 x i8> %8, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%21 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %19
%22 = bitcast i8* %21 to <16 x i8>*
store <16 x i8> %20, <16 x i8>* %22
%23 = or i64 %7, 64
%24 = add <16 x i8> %8, <i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64, i8 64>
%25 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %23
%26 = bitcast i8* %25 to <16 x i8>*
store <16 x i8> %24, <16 x i8>* %26
%27 = or i64 %7, 80
%28 = add <16 x i8> %8, <i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80, i8 80>
%29 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %27
%30 = bitcast i8* %29 to <16 x i8>*
store <16 x i8> %28, <16 x i8>* %30
%31 = or i64 %7, 96
%32 = add <16 x i8> %8, <i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96, i8 96>
%33 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %31
%34 = bitcast i8* %33 to <16 x i8>*
store <16 x i8> %32, <16 x i8>* %34
%35 = or i64 %7, 112
%36 = add <16 x i8> %8, <i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112, i8 112>
%37 = getelementptr inbounds [131072 x i8], [131072 x i8]* %1, i64 0, i64 %35
%38 = bitcast i8* %37 to <16 x i8>*
store <16 x i8> %36, <16 x i8>* %38
%39 = add nuw nsw i64 %7, 128
%40 = xor <16 x i8> %8, <i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128>
%41 = icmp eq i64 %39, 131072
br i1 %41, label %42, label %6
42: ; preds = %6
%43 = call i32 @memcpy(i8* %5, i8* %4, i32 1024)
br label %65
44: ; preds = %65
%45 = or i64 %66, 1
%46 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %45
%47 = load i8, i8* %46
%48 = trunc i64 %45 to i8
%49 = icmp eq i8 %47, %48
br i1 %49, label %50, label %71
50: ; preds = %44
%51 = or i64 %66, 2
%52 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %51
%53 = load i8, i8* %52
%54 = trunc i64 %51 to i8
%55 = icmp eq i8 %53, %54
br i1 %55, label %56, label %71
56: ; preds = %50
%57 = or i64 %66, 3
%58 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %57
%59 = load i8, i8* %58
%60 = trunc i64 %57 to i8
%61 = icmp eq i8 %59, %60
br i1 %61, label %62, label %71
62: ; preds = %56
%63 = add nuw nsw i64 %66, 4
%64 = icmp eq i64 %63, 1024
br i1 %64, label %73, label %65
65: ; preds = %62, %42
%66 = phi i64 [ 0, %42 ], [ %63, %62 ]
%67 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %66
%68 = load i8, i8* %67
%69 = trunc i64 %66 to i8
%70 = icmp eq i8 %68, %69
br i1 %70, label %44, label %71
71: ; preds = %56, %50, %44, %65
%72 = call i32 (...) @abort()
unreachable
73: ; preds = %62
%74 = call i32 @memset(i8* %5, i32 1, i32 1024)
br label %93
75: ; preds = %93
%76 = or i64 %94, 1
%77 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %76
%78 = load i8, i8* %77
%79 = icmp eq i8 %78, 1
br i1 %79, label %80, label %98
80: ; preds = %75
%81 = or i64 %94, 2
%82 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %81
%83 = load i8, i8* %82
%84 = icmp eq i8 %83, 1
br i1 %84, label %85, label %98
85: ; preds = %80
%86 = or i64 %94, 3
%87 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %86
%88 = load i8, i8* %87
%89 = icmp eq i8 %88, 1
br i1 %89, label %90, label %98
90: ; preds = %85
%91 = add nuw nsw i64 %94, 4
%92 = icmp eq i64 %91, 1024
br i1 %92, label %100, label %93
93: ; preds = %90, %73
%94 = phi i64 [ 0, %73 ], [ %91, %90 ]
%95 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %94
%96 = load i8, i8* %95
%97 = icmp eq i8 %96, 1
br i1 %97, label %75, label %98
98: ; preds = %85, %80, %75, %93
%99 = call i32 (...) @abort()
unreachable
100: ; preds = %90
%101 = call i32 @memcpy(i8* %5, i8* %4, i32 131072)
br label %123
102: ; preds = %123
%103 = or i64 %124, 1
%104 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %103
%105 = load i8, i8* %104
%106 = trunc i64 %103 to i8
%107 = icmp eq i8 %105, %106
br i1 %107, label %108, label %129
108: ; preds = %102
%109 = or i64 %124, 2
%110 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %109
%111 = load i8, i8* %110
%112 = trunc i64 %109 to i8
%113 = icmp eq i8 %111, %112
br i1 %113, label %114, label %129
114: ; preds = %108
%115 = or i64 %124, 3
%116 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %115
%117 = load i8, i8* %116
%118 = trunc i64 %115 to i8
%119 = icmp eq i8 %117, %118
br i1 %119, label %120, label %129
120: ; preds = %114
%121 = add nuw nsw i64 %124, 4
%122 = icmp eq i64 %121, 131072
br i1 %122, label %131, label %123
123: ; preds = %120, %100
%124 = phi i64 [ 0, %100 ], [ %121, %120 ]
%125 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %124
%126 = load i8, i8* %125
%127 = trunc i64 %124 to i8
%128 = icmp eq i8 %126, %127
br i1 %128, label %102, label %129
129: ; preds = %114, %108, %102, %123
%130 = call i32 (...) @abort()
unreachable
131: ; preds = %120
%132 = call i32 @memset(i8* %5, i32 0, i32 131072)
br label %151
133: ; preds = %151
%134 = or i64 %152, 1
%135 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %134
%136 = load i8, i8* %135
%137 = icmp eq i8 %136, 0
br i1 %137, label %138, label %156
138: ; preds = %133
%139 = or i64 %152, 2
%140 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %139
%141 = load i8, i8* %140
%142 = icmp eq i8 %141, 0
br i1 %142, label %143, label %156
143: ; preds = %138
%144 = or i64 %152, 3
%145 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %144
%146 = load i8, i8* %145
%147 = icmp eq i8 %146, 0
br i1 %147, label %148, label %156
148: ; preds = %143
%149 = add nuw nsw i64 %152, 4
%150 = icmp eq i64 %149, 131072
br i1 %150, label %158, label %151
151: ; preds = %148, %131
%152 = phi i64 [ 0, %131 ], [ %149, %148 ]
%153 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %152
%154 = load i8, i8* %153
%155 = icmp eq i8 %154, 0
br i1 %155, label %133, label %156
156: ; preds = %143, %138, %133, %151
%157 = call i32 (...) @abort()
unreachable
158: ; preds = %148
%159 = call i32 @copy(i8* %5, i8* %4, i32 1024)
br label %181
160: ; preds = %181
%161 = or i64 %182, 1
%162 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %161
%163 = load i8, i8* %162
%164 = trunc i64 %161 to i8
%165 = icmp eq i8 %163, %164
br i1 %165, label %166, label %187
166: ; preds = %160
%167 = or i64 %182, 2
%168 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %167
%169 = load i8, i8* %168
%170 = trunc i64 %167 to i8
%171 = icmp eq i8 %169, %170
br i1 %171, label %172, label %187
172: ; preds = %166
%173 = or i64 %182, 3
%174 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %173
%175 = load i8, i8* %174
%176 = trunc i64 %173 to i8
%177 = icmp eq i8 %175, %176
br i1 %177, label %178, label %187
178: ; preds = %172
%179 = add nuw nsw i64 %182, 4
%180 = icmp eq i64 %179, 1024
br i1 %180, label %189, label %181
181: ; preds = %178, %158
%182 = phi i64 [ 0, %158 ], [ %179, %178 ]
%183 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %182
%184 = load i8, i8* %183
%185 = trunc i64 %182 to i8
%186 = icmp eq i8 %184, %185
br i1 %186, label %160, label %187
187: ; preds = %172, %166, %160, %181
%188 = call i32 (...) @abort()
unreachable
189: ; preds = %178
%190 = call i32 @memset(i8* %5, i32 0, i32 131072)
%191 = call i32 @copy(i8* %5, i8* %4, i32 131072)
br label %213
192: ; preds = %213
%193 = or i64 %214, 1
%194 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %193
%195 = load i8, i8* %194
%196 = trunc i64 %193 to i8
%197 = icmp eq i8 %195, %196
br i1 %197, label %198, label %219
198: ; preds = %192
%199 = or i64 %214, 2
%200 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %199
%201 = load i8, i8* %200
%202 = trunc i64 %199 to i8
%203 = icmp eq i8 %201, %202
br i1 %203, label %204, label %219
204: ; preds = %198
%205 = or i64 %214, 3
%206 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %205
%207 = load i8, i8* %206
%208 = trunc i64 %205 to i8
%209 = icmp eq i8 %207, %208
br i1 %209, label %210, label %219
210: ; preds = %204
%211 = add nuw nsw i64 %214, 4
%212 = icmp eq i64 %211, 131072
br i1 %212, label %221, label %213
213: ; preds = %210, %189
%214 = phi i64 [ 0, %189 ], [ %211, %210 ]
%215 = getelementptr inbounds [131072 x i8], [131072 x i8]* %2, i64 0, i64 %214
%216 = load i8, i8* %215
%217 = trunc i64 %214 to i8
%218 = icmp eq i8 %216, %217
br i1 %218, label %192, label %219
219: ; preds = %204, %198, %192, %213
%220 = call i32 (...) @abort()
unreachable
221: ; preds = %210
%222 = call i32 @exit(i32 0)
unreachable
}