#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 */
struct stat {
  int st_size;
};

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ EXIT_SUCCESS;
unsigned char *MAP_FAILED;
int /*<<< orphan*/ MAP_SHARED;
int /*<<< orphan*/ O_RDWR;
int PROT_READ;
int PROT_WRITE;
int S_IRGRP;
int S_IROTH;
int S_IRUSR;
int S_IWUSR;
int close(int);
int /*<<< orphan*/ errno;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int fstat(int, struct stat *);
unsigned char *mmap(int /*<<< orphan*/ *, int, int, int /*<<< orphan*/, int,
                    int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char *);
int shm_open(char *, int /*<<< orphan*/, int);
char *strerror(int /*<<< orphan*/);
int main(int argc, char **argv) {
  int i, fd;
  struct stat stat;
  unsigned char *ptr;
  if (2 != argc) {
    printf("usage: %s <name>\n", argv[0]);
    exit(EXIT_FAILURE);
  }
  if ((fd = shm_open(argv[1], O_RDWR,
                     (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))) == -1) {
    printf("shm_open error: %s\n", strerror(errno));
    exit(EXIT_FAILURE);
  }
  if (fstat(fd, &stat) == -1) {
    printf("fstat error: %s\n", strerror(errno));
    exit(EXIT_FAILURE);
  }
  if ((ptr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
                  0)) == MAP_FAILED) {
    printf("mmap error: %s\n", strerror(errno));
    exit(EXIT_FAILURE);
  }
  if (close(fd) == -1) {
    printf("close error: %s\n", strerror(errno));
    exit(EXIT_FAILURE);
  }
  for (i = 0; i < stat.st_size; ++i) {
    *ptr++ = i % 256;
  }
  exit(EXIT_SUCCESS);
}


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)
mov    $0x2,%eax
cmp    -0x8(%rbp),%eax
je     11b5 <main+0x45>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe5e(%rip),%rdi
call   1040 <printf@plt>
mov    0x2dfa(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    0x2e14(%rip),%rax
mov    (%rax),%esi
mov    0x2dcb(%rip),%rax
mov    (%rax),%edx
mov    0x2dfa(%rip),%rax
or     (%rax),%edx
mov    0x2dd9(%rip),%rax
or     (%rax),%edx
mov    0x2dc8(%rip),%rax
or     (%rax),%edx
call   1070 <shm_open@plt>
mov    %eax,-0x18(%rbp)
cmp    $0xffffffff,%eax
jne    1226 <main+0xb6>
mov    0x2dbe(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
mov    %rax,%rsi
lea    0xdff(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d89(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>
mov    -0x18(%rbp),%edi
lea    -0x20(%rbp),%rsi
call   1090 <fstat@plt>
cmp    $0xffffffff,%eax
jne    1266 <main+0xf6>
mov    0x2d7e(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
mov    %rax,%rsi
lea    0xdd3(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d49(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>
mov    -0x20(%rbp),%esi
mov    0x2d88(%rip),%rax
mov    (%rax),%edx
mov    0x2d27(%rip),%rax
or     (%rax),%edx
mov    0x2d66(%rip),%rax
mov    (%rax),%ecx
mov    -0x18(%rbp),%r8d
xor    %eax,%eax
mov    %eax,%edi
xor    %r9d,%r9d
call   1030 <mmap@plt>
mov    %rax,-0x28(%rbp)
mov    0x2ce9(%rip),%rcx
cmp    (%rcx),%rax
jne    12d3 <main+0x163>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
mov    %rax,%rsi
lea    0xd77(%rip),%rdi
call   1040 <printf@plt>
mov    0x2cdc(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>
mov    -0x18(%rbp),%edi
call   1050 <close@plt>
cmp    $0xffffffff,%eax
jne    130f <main+0x19f>
mov    0x2cd5(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
mov    %rax,%rsi
lea    0xd4b(%rip),%rdi
call   1040 <printf@plt>
mov    0x2ca0(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    134e <main+0x1de>
mov    -0x14(%rbp),%eax
mov    $0x100,%ecx
cltd
idiv   %ecx
mov    %dl,%cl
mov    -0x28(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x28(%rbp)
mov    %cl,(%rax)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1316 <main+0x1a6>
mov    0x2c3b(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
cmp    $0x2,%edi
jne    11d2 <main+0x62>
mov    0x8(%rsi),%rdi
mov    0x2e10(%rip),%rax
mov    0x2e41(%rip),%rcx
mov    (%rcx),%edx
or     (%rax),%edx
mov    0x2e3e(%rip),%rax
mov    0x2e17(%rip),%rcx
or     (%rcx),%edx
mov    (%rax),%esi
mov    0x2e04(%rip),%rax
or     (%rax),%edx
call   1070 <shm_open@plt>
cmp    $0xffffffff,%eax
jne    11e1 <main+0x71>
mov    0x2e01(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
lea    0xed5(%rip),%rdi
jmp    1282 <main+0x112>
mov    (%rsi),%rsi
lea    0xeb4(%rip),%rdi
jmp    1285 <main+0x115>
mov    %eax,%ebp
lea    0x8(%rsp),%rsi
mov    %eax,%edi
call   1090 <fstat@plt>
cmp    $0xffffffff,%eax
jne    120b <main+0x9b>
mov    0x2dc5(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
lea    0xead(%rip),%rdi
jmp    1282 <main+0x112>
mov    0x8(%rsp),%r14d
mov    0x2de1(%rip),%rax
mov    0x2d82(%rip),%rcx
mov    (%rcx),%edx
or     (%rax),%edx
mov    0x2dbf(%rip),%rax
mov    (%rax),%ecx
xor    %edi,%edi
mov    %r14d,%esi
mov    %ebp,%r8d
xor    %r9d,%r9d
call   1030 <mmap@plt>
mov    %rax,%rbx
mov    0x2d43(%rip),%rax
cmp    (%rax),%rbx
jne    1261 <main+0xf1>
mov    0x2d6f(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
lea    0xe68(%rip),%rdi
jmp    1282 <main+0x112>
mov    %ebp,%edi
call   1050 <close@plt>
cmp    $0xffffffff,%eax
jne    1298 <main+0x128>
mov    0x2d4c(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
lea    0xe55(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
mov    0x2d17(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>
test   %r14d,%r14d
jle    13fe <main+0x28e>
lea    -0x1(%r14),%ecx
xor    %eax,%eax
cmp    $0xf,%ecx
jb     13f0 <main+0x280>
add    $0x1,%rcx
mov    %rcx,%rax
and    $0xfffffffffffffff0,%rax
lea    -0x10(%rax),%rsi
mov    %rsi,%rdi
shr    $0x4,%rdi
add    $0x1,%rdi
mov    %edi,%edx
and    $0x7,%edx
cmp    $0x70,%rsi
jae    12e4 <main+0x174>
movdqa 0xd23(%rip),%xmm2
xor    %esi,%esi
jmp    13b7 <main+0x247>
and    $0xfffffffffffffff8,%rdi
movdqa 0xd10(%rip),%xmm2
xor    %esi,%esi
movdqa 0xd15(%rip),%xmm8
movdqa 0xd1c(%rip),%xmm9
movdqa 0xd24(%rip),%xmm3
movdqa 0xd2c(%rip),%xmm4
movdqa 0xd34(%rip),%xmm5
movdqa 0xd3c(%rip),%xmm6
movdqa 0xd44(%rip),%xmm7
movdqa 0xd4c(%rip),%xmm1
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movdqu %xmm2,(%rbx,%rsi,1)
movdqa %xmm2,%xmm0
paddb  %xmm8,%xmm0
movdqu %xmm0,0x10(%rbx,%rsi,1)
movdqa %xmm2,%xmm0
paddb  %xmm9,%xmm0
movdqu %xmm0,0x20(%rbx,%rsi,1)
movdqa %xmm2,%xmm0
paddb  %xmm3,%xmm0
movdqu %xmm0,0x30(%rbx,%rsi,1)
movdqa %xmm2,%xmm0
paddb  %xmm4,%xmm0
movdqu %xmm0,0x40(%rbx,%rsi,1)
movdqa %xmm2,%xmm0
paddb  %xmm5,%xmm0
movdqu %xmm0,0x50(%rbx,%rsi,1)
movdqa %xmm2,%xmm0
paddb  %xmm6,%xmm0
movdqu %xmm0,0x60(%rbx,%rsi,1)
movdqa %xmm2,%xmm0
paddb  %xmm7,%xmm0
movdqu %xmm0,0x70(%rbx,%rsi,1)
sub    $0xffffffffffffff80,%rsi
pxor   %xmm1,%xmm2
add    $0xfffffffffffffff8,%rdi
jne    1340 <main+0x1d0>
test   %rdx,%rdx
je     13e2 <main+0x272>
add    %rbx,%rsi
shl    $0x4,%rdx
xor    %edi,%edi
movdqa 0xc43(%rip),%xmm1
nopl   (%rax)
movdqu %xmm2,(%rsi,%rdi,1)
paddb  %xmm1,%xmm2
add    $0x10,%rdi
cmp    %rdi,%rdx
jne    13d0 <main+0x260>
cmp    %rax,%rcx
je     13fe <main+0x28e>
add    %rax,%rbx
nopw   0x0(%rax,%rax,1)
mov    %al,(%rbx)
add    $0x1,%rbx
add    $0x1,%eax
cmp    %eax,%r14d
jne    13f0 <main+0x280>
mov    0x2b8b(%rip),%rax
mov    (%rax),%edi
call   1060 <exit@plt>

LLVM IR (-O0):
%struct.stat = type { i32 }
@.str = [18 x i8] c"usage: %s <name>\0A\00"
@EXIT_FAILURE = global i32 0
@O_RDWR = global i32 0
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IRGRP = global i32 0
@S_IROTH = global i32 0
@.str.1 = [20 x i8] c"shm_open error: %s\0A\00"
@errno = global i32 0
@.str.2 = [17 x i8] c"fstat error: %s\0A\00"
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_SHARED = global i32 0
@MAP_FAILED = global i8* null
@.str.3 = [16 x i8] c"mmap error: %s\0A\00"
@.str.4 = [17 x i8] c"close error: %s\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca %struct.stat
%9 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%10 = load i32, i32* %4
%11 = icmp ne i32 2, %10
br i1 %11, label %12, label %19
12: ; preds = %2
%13 = load i8**, i8*** %5
%14 = getelementptr inbounds i8*, i8** %13, i64 0
%15 = load i8*, i8** %14
%16 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %15)
%17 = load i32, i32* @EXIT_FAILURE
%18 = call i32 @exit(i32 %17)
unreachable
19: ; preds = %2
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 1
%22 = load i8*, i8** %21
%23 = load i32, i32* @O_RDWR
%24 = load i32, i32* @S_IRUSR
%25 = load i32, i32* @S_IWUSR
%26 = or i32 %24, %25
%27 = load i32, i32* @S_IRGRP
%28 = or i32 %26, %27
%29 = load i32, i32* @S_IROTH
%30 = or i32 %28, %29
%31 = call i32 @shm_open(i8* %22, i32 %23, i32 %30)
store i32 %31, i32* %7
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %39
33: ; preds = %19
%34 = load i32, i32* @errno
%35 = call i8* @strerror(i32 %34)
%36 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i8* %35)
%37 = load i32, i32* @EXIT_FAILURE
%38 = call i32 @exit(i32 %37)
unreachable
39: ; preds = %19
%40 = load i32, i32* %7
%41 = call i32 @fstat(i32 %40, %struct.stat* %8)
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i32, i32* @errno
%45 = call i8* @strerror(i32 %44)
%46 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %45)
%47 = load i32, i32* @EXIT_FAILURE
%48 = call i32 @exit(i32 %47)
unreachable
49: ; preds = %39
%50 = getelementptr inbounds %struct.stat, %struct.stat* %8, i32 0, i32 0
%51 = load i32, i32* %50
%52 = load i32, i32* @PROT_READ
%53 = load i32, i32* @PROT_WRITE
%54 = or i32 %52, %53
%55 = load i32, i32* @MAP_SHARED
%56 = load i32, i32* %7
%57 = call i8* @mmap(i32* null, i32 %51, i32 %54, i32 %55, i32 %56, i32 0)
store i8* %57, i8** %9
%58 = load i8*, i8** @MAP_FAILED
%59 = icmp eq i8* %57, %58
br i1 %59, label %60, label %66
60: ; preds = %49
%61 = load i32, i32* @errno
%62 = call i8* @strerror(i32 %61)
%63 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* %62)
%64 = load i32, i32* @EXIT_FAILURE
%65 = call i32 @exit(i32 %64)
unreachable
66: ; preds = %49
%67 = load i32, i32* %7
%68 = call i32 @close(i32 %67)
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %76
70: ; preds = %66
%71 = load i32, i32* @errno
%72 = call i8* @strerror(i32 %71)
%73 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i8* %72)
%74 = load i32, i32* @EXIT_FAILURE
%75 = call i32 @exit(i32 %74)
unreachable
76: ; preds = %66
store i32 0, i32* %6
br label %77
77: ; preds = %88, %76
%78 = load i32, i32* %6
%79 = getelementptr inbounds %struct.stat, %struct.stat* %8, i32 0, i32 0
%80 = load i32, i32* %79
%81 = icmp slt i32 %78, %80
br i1 %81, label %82, label %91
82: ; preds = %77
%83 = load i32, i32* %6
%84 = srem i32 %83, 256
%85 = trunc i32 %84 to i8
%86 = load i8*, i8** %9
%87 = getelementptr inbounds i8, i8* %86, i32 1
store i8* %87, i8** %9
store i8 %85, i8* %86
br label %88
88: ; preds = %82
%89 = load i32, i32* %6
%90 = add nsw i32 %89, 1
store i32 %90, i32* %6
br label %77
91: ; preds = %77
%92 = load i32, i32* @EXIT_SUCCESS
%93 = call i32 @exit(i32 %92)
unreachable
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@.str = [18 x i8] c"usage: %s <name>\0A\00"
@EXIT_FAILURE = global i32 0
@O_RDWR = global i32 0
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IRGRP = global i32 0
@S_IROTH = global i32 0
@.str.1 = [20 x i8] c"shm_open error: %s\0A\00"
@errno = global i32 0
@.str.2 = [17 x i8] c"fstat error: %s\0A\00"
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_SHARED = global i32 0
@MAP_FAILED = global i8* null
@.str.3 = [16 x i8] c"mmap error: %s\0A\00"
@.str.4 = [17 x i8] c"close error: %s\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.stat
%4 = bitcast %struct.stat* %3 to i8*
%5 = icmp eq i32 %0, 2
br i1 %5, label %11, label %6
6: ; preds = %2
%7 = load i8*, i8** %1
%8 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* %7)
%9 = load i32, i32* @EXIT_FAILURE
%10 = tail call i32 @exit(i32 %9)
unreachable
11: ; preds = %2
%12 = getelementptr inbounds i8*, i8** %1, i64 1
%13 = load i8*, i8** %12
%14 = load i32, i32* @O_RDWR
%15 = load i32, i32* @S_IRUSR
%16 = load i32, i32* @S_IWUSR
%17 = or i32 %16, %15
%18 = load i32, i32* @S_IRGRP
%19 = or i32 %17, %18
%20 = load i32, i32* @S_IROTH
%21 = or i32 %19, %20
%22 = tail call i32 @shm_open(i8* %13, i32 %14, i32 %21)
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %30
24: ; preds = %11
%25 = load i32, i32* @errno
%26 = tail call i8* @strerror(i32 %25)
%27 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i8* %26)
%28 = load i32, i32* @EXIT_FAILURE
%29 = tail call i32 @exit(i32 %28)
unreachable
30: ; preds = %11
%31 = call i32 @fstat(i32 %22, %struct.stat* %3)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %39
33: ; preds = %30
%34 = load i32, i32* @errno
%35 = tail call i8* @strerror(i32 %34)
%36 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %35)
%37 = load i32, i32* @EXIT_FAILURE
%38 = tail call i32 @exit(i32 %37)
unreachable
39: ; preds = %30
%40 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
%41 = load i32, i32* %40
%42 = load i32, i32* @PROT_READ
%43 = load i32, i32* @PROT_WRITE
%44 = or i32 %43, %42
%45 = load i32, i32* @MAP_SHARED
%46 = tail call i8* @mmap(i32* null, i32 %41, i32 %44, i32 %45, i32 %22, i32 0)
%47 = load i8*, i8** @MAP_FAILED
%48 = icmp eq i8* %46, %47
br i1 %48, label %49, label %55
49: ; preds = %39
%50 = load i32, i32* @errno
%51 = tail call i8* @strerror(i32 %50)
%52 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* %51)
%53 = load i32, i32* @EXIT_FAILURE
%54 = tail call i32 @exit(i32 %53)
unreachable
55: ; preds = %39
%56 = tail call i32 @close(i32 %22)
%57 = icmp eq i32 %56, -1
br i1 %57, label %133, label %58
58: ; preds = %55
%59 = icmp sgt i32 %41, 0
br i1 %59, label %60, label %146
60: ; preds = %58
%61 = add i32 %41, -1
%62 = zext i32 %61 to i64
%63 = add nuw nsw i64 %62, 1
%64 = icmp ult i32 %61, 15
br i1 %64, label %130, label %65
65: ; preds = %60
%66 = and i64 %63, 8589934576
%67 = getelementptr i8, i8* %46, i64 %66
%68 = trunc i64 %66 to i32
%69 = add nsw i64 %66, -16
%70 = lshr exact i64 %69, 4
%71 = add nuw nsw i64 %70, 1
%72 = and i64 %71, 7
%73 = icmp ult i64 %69, 112
br i1 %73, label %114, label %74
74: ; preds = %65
%75 = and i64 %71, 2305843009213693944
br label %76
76: ; preds = %76, %74
%77 = phi i64 [ 0, %74 ], [ %110, %76 ]
%78 = 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>, %74 ], [ %111, %76 ]
%79 = phi i64 [ 0, %74 ], [ %112, %76 ]
%80 = getelementptr i8, i8* %46, i64 %77
%81 = bitcast i8* %80 to <16 x i8>*
store <16 x i8> %78, <16 x i8>* %81
%82 = or i64 %77, 16
%83 = add <16 x i8> %78, <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>
%84 = getelementptr i8, i8* %46, i64 %82
%85 = bitcast i8* %84 to <16 x i8>*
store <16 x i8> %83, <16 x i8>* %85
%86 = or i64 %77, 32
%87 = add <16 x i8> %78, <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>
%88 = getelementptr i8, i8* %46, i64 %86
%89 = bitcast i8* %88 to <16 x i8>*
store <16 x i8> %87, <16 x i8>* %89
%90 = or i64 %77, 48
%91 = add <16 x i8> %78, <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>
%92 = getelementptr i8, i8* %46, i64 %90
%93 = bitcast i8* %92 to <16 x i8>*
store <16 x i8> %91, <16 x i8>* %93
%94 = or i64 %77, 64
%95 = add <16 x i8> %78, <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>
%96 = getelementptr i8, i8* %46, i64 %94
%97 = bitcast i8* %96 to <16 x i8>*
store <16 x i8> %95, <16 x i8>* %97
%98 = or i64 %77, 80
%99 = add <16 x i8> %78, <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>
%100 = getelementptr i8, i8* %46, i64 %98
%101 = bitcast i8* %100 to <16 x i8>*
store <16 x i8> %99, <16 x i8>* %101
%102 = or i64 %77, 96
%103 = add <16 x i8> %78, <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>
%104 = getelementptr i8, i8* %46, i64 %102
%105 = bitcast i8* %104 to <16 x i8>*
store <16 x i8> %103, <16 x i8>* %105
%106 = or i64 %77, 112
%107 = add <16 x i8> %78, <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>
%108 = getelementptr i8, i8* %46, i64 %106
%109 = bitcast i8* %108 to <16 x i8>*
store <16 x i8> %107, <16 x i8>* %109
%110 = add nuw i64 %77, 128
%111 = xor <16 x i8> %78, <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>
%112 = add i64 %79, 8
%113 = icmp eq i64 %112, %75
br i1 %113, label %114, label %76
114: ; preds = %76, %65
%115 = phi i64 [ 0, %65 ], [ %110, %76 ]
%116 = 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>, %65 ], [ %111, %76 ]
%117 = icmp eq i64 %72, 0
br i1 %117, label %128, label %118
118: ; preds = %114, %118
%119 = phi i64 [ %124, %118 ], [ %115, %114 ]
%120 = phi <16 x i8> [ %125, %118 ], [ %116, %114 ]
%121 = phi i64 [ %126, %118 ], [ 0, %114 ]
%122 = getelementptr i8, i8* %46, i64 %119
%123 = bitcast i8* %122 to <16 x i8>*
store <16 x i8> %120, <16 x i8>* %123
%124 = add nuw i64 %119, 16
%125 = add <16 x i8> %120, <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>
%126 = add i64 %121, 1
%127 = icmp eq i64 %126, %72
br i1 %127, label %128, label %118
128: ; preds = %118, %114
%129 = icmp eq i64 %63, %66
br i1 %129, label %146, label %130
130: ; preds = %60, %128
%131 = phi i8* [ %46, %60 ], [ %67, %128 ]
%132 = phi i32 [ 0, %60 ], [ %68, %128 ]
br label %139
133: ; preds = %55
%134 = load i32, i32* @errno
%135 = tail call i8* @strerror(i32 %134)
%136 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i8* %135)
%137 = load i32, i32* @EXIT_FAILURE
%138 = tail call i32 @exit(i32 %137)
unreachable
139: ; preds = %130, %139
%140 = phi i8* [ %143, %139 ], [ %131, %130 ]
%141 = phi i32 [ %144, %139 ], [ %132, %130 ]
%142 = trunc i32 %141 to i8
%143 = getelementptr inbounds i8, i8* %140, i64 1
store i8 %142, i8* %140
%144 = add nuw nsw i32 %141, 1
%145 = icmp eq i32 %144, %41
br i1 %145, label %146, label %139
146: ; preds = %139, %128, %58
%147 = load i32, i32* @EXIT_SUCCESS
%148 = tail call i32 @exit(i32 %147)
unreachable
}