#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 */
typedef int /*<<< orphan*/ tmpfname;
typedef int /*<<< orphan*/ off_t;

/* Variables and functions */
scalar_t__ EINVAL;
void *MAP_FAILED;
int MAP_SHARED;
int O_CREAT;
int O_EXCL;
int O_RDWR;
int PROT_READ;
int PROT_WRITE;
int S_IRUSR;
int S_IWUSR;
int /*<<< orphan*/ _SC_PAGE_SIZE;
int /*<<< orphan*/ close(int);
scalar_t__ errno;
int /*<<< orphan*/ exit(int);
int ftruncate(int, long);
int getpid();
void *mmap(void *, size_t, int, int, int, int /*<<< orphan*/);
int munmap(char *, size_t);
int open(char *, int, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ snprintf(char *, int, char *, int);
char *strerror(scalar_t__);
int sysconf(int /*<<< orphan*/);
int /*<<< orphan*/ unlink(char *);
int main(void) {
  char tmpfname[256];
  long file_size;
  void *pa = NULL;
  void *addr = NULL;
  size_t len;
  int flag;
  int fd;
  off_t off = 0;
  int prot;
  int page_size;
  char *pa2;
  page_size = sysconf(_SC_PAGE_SIZE);
  file_size = 2 * page_size;
  len = page_size + 1;
  snprintf(tmpfname, sizeof(tmpfname), "/tmp/pts_munmap_1_1_%d", getpid());
  unlink(tmpfname);
  fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
  if (fd == -1) {
    printf("munmap/3-1.c"
           " Error at open(): %s\n",
           strerror(errno));
    exit(2);
  }
  unlink(tmpfname);
  if (ftruncate(fd, file_size) == -1) {
    printf("Error at ftruncate: %s\n", strerror(errno));
    exit(2);
  }
  flag = MAP_SHARED;
  prot = PROT_READ | PROT_WRITE;
  pa = mmap(addr, len, prot, flag, fd, off);
  if (pa == MAP_FAILED) {
    printf("Test Unresolved: "
           "munmap/3-1.c"
           " Error at mmap: %s\n",
           strerror(errno));
    exit(2);
  }
  pa2 = pa;
  while (((unsigned long)pa2 % page_size) == 0)
    pa2++;
  close(fd);
  if (munmap(pa2, len) == -1 && errno == EINVAL) {
    printf("Got EINVAL\n");
    printf("Test PASSED\n");
    exit(0);
  } else {
    printf("Test FAILED: "
           "munmap/3-1.c"
           " munmap returns: %s\n",
           strerror(errno));
    exit(1);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x120(%rbp)
movq   $0x0,-0x128(%rbp)
movl   $0x0,-0x13c(%rbp)
mov    0x2d97(%rip),%rax
mov    (%rax),%edi
call   10c0 <sysconf@plt>
mov    %eax,-0x144(%rbp)
mov    -0x144(%rbp),%eax
shl    $0x1,%eax
cltq
mov    %rax,-0x118(%rbp)
mov    -0x144(%rbp),%eax
add    $0x1,%eax
cltq
mov    %rax,-0x130(%rbp)
lea    -0x110(%rbp),%rax
mov    %rax,-0x158(%rbp)
mov    $0x0,%al
call   1040 <getpid@plt>
mov    -0x158(%rbp),%rdi
mov    %eax,%ecx
mov    $0x100,%esi
lea    0xdac(%rip),%rdx
call   1070 <snprintf@plt>
lea    -0x110(%rbp),%rdi
call   1030 <unlink@plt>
lea    -0x110(%rbp),%rdi
mov    0x2d85(%rip),%rax
mov    (%rax),%esi
mov    0x2d54(%rip),%rax
or     (%rax),%esi
mov    0x2d33(%rip),%rax
or     (%rax),%esi
mov    0x2d12(%rip),%rax
mov    (%rax),%edx
mov    0x2d31(%rip),%rax
or     (%rax),%edx
call   10b0 <open@plt>
mov    %eax,-0x138(%rbp)
cmpl   $0xffffffff,-0x138(%rbp)
jne    12db <main+0x11b>
mov    0x2cf8(%rip),%rax
mov    (%rax),%rdi
call   10e0 <strerror@plt>
mov    %rax,%rsi
lea    0xd4d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x2,%edi
call   10d0 <exit@plt>
lea    -0x110(%rbp),%rdi
call   1030 <unlink@plt>
mov    -0x138(%rbp),%edi
mov    -0x118(%rbp),%rsi
call   1080 <ftruncate@plt>
cmp    $0xffffffff,%eax
jne    132c <main+0x16c>
mov    0x2ca7(%rip),%rax
mov    (%rax),%rdi
call   10e0 <strerror@plt>
mov    %rax,%rsi
lea    0xd1e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x2,%edi
call   10d0 <exit@plt>
mov    0x2cad(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x134(%rbp)
mov    0x2cae(%rip),%rax
mov    (%rax),%eax
mov    0x2c5d(%rip),%rcx
or     (%rcx),%eax
mov    %eax,-0x140(%rbp)
mov    -0x128(%rbp),%rdi
mov    -0x130(%rbp),%rsi
mov    -0x140(%rbp),%edx
mov    -0x134(%rbp),%ecx
mov    -0x138(%rbp),%r8d
mov    -0x13c(%rbp),%r9d
call   1050 <mmap@plt>
mov    %rax,-0x120(%rbp)
mov    -0x120(%rbp),%rax
mov    0x2bf3(%rip),%rcx
cmp    (%rcx),%rax
jne    13c8 <main+0x208>
mov    0x2c0b(%rip),%rax
mov    (%rax),%rdi
call   10e0 <strerror@plt>
mov    %rax,%rsi
lea    0xc9a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x2,%edi
call   10d0 <exit@plt>
mov    -0x120(%rbp),%rax
mov    %rax,-0x150(%rbp)
mov    -0x150(%rbp),%rax
movslq -0x144(%rbp),%rcx
xor    %edx,%edx
div    %rcx
cmp    $0x0,%rdx
jne    140a <main+0x24a>
mov    -0x150(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x150(%rbp)
jmp    13d6 <main+0x216>
mov    -0x138(%rbp),%edi
call   1090 <close@plt>
mov    -0x150(%rbp),%rdi
mov    -0x130(%rbp),%rsi
call   10a0 <munmap@plt>
cmp    $0xffffffff,%eax
jne    146e <main+0x2ae>
mov    0x2b78(%rip),%rax
mov    (%rax),%rax
mov    0x2b56(%rip),%rcx
cmp    (%rcx),%rax
jne    146e <main+0x2ae>
lea    0xc30(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xc2e(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %edi,%edi
call   10d0 <exit@plt>
mov    0x2b3b(%rip),%rax
mov    (%rax),%rdi
call   10e0 <strerror@plt>
mov    %rax,%rsi
lea    0xc14(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    $0x1,%edi
call   10d0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x108,%rsp
mov    0x2dac(%rip),%rax
mov    (%rax),%edi
call   10d0 <sysconf@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1050 <getpid@plt>
lea    0xe05(%rip),%rdx
mov    %rsp,%rbp
mov    %rbp,%rdi
mov    $0x100,%esi
mov    %eax,%ecx
call   1080 <snprintf@plt>
mov    %rbp,%rdi
call   1030 <unlink@plt>
mov    0x2ddc(%rip),%rax
mov    0x2dad(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    0x2d8a(%rip),%rax
or     (%rax),%esi
mov    0x2d69(%rip),%rax
mov    0x2d8a(%rip),%rcx
mov    (%rcx),%edx
or     (%rax),%edx
mov    %rbp,%rdi
call   10c0 <open@plt>
cmp    $0xffffffff,%eax
jne    126a <main+0x9a>
mov    0x2d5a(%rip),%rax
mov    (%rax),%rdi
call   10f0 <strerror@plt>
lea    0xdb2(%rip),%rdi
jmp    12f9 <main+0x129>
mov    %eax,%r15d
lea    (%rbx,%rbx,1),%eax
movslq %eax,%rbp
mov    %rsp,%rdi
call   1030 <unlink@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
call   1090 <ftruncate@plt>
cmp    $0xffffffff,%eax
jne    12a3 <main+0xd3>
mov    0x2d1e(%rip),%rax
mov    (%rax),%rdi
call   10f0 <strerror@plt>
lea    0xd98(%rip),%rdi
jmp    12f9 <main+0x129>
lea    0x1(%rbx),%eax
movslq %eax,%r14
mov    0x2d30(%rip),%rax
mov    (%rax),%ecx
mov    0x2d37(%rip),%rax
mov    0x2ce8(%rip),%rdx
mov    (%rdx),%edx
or     (%rax),%edx
xor    %edi,%edi
mov    %r14,%rsi
mov    %r15d,%r8d
xor    %r9d,%r9d
call   1060 <mmap@plt>
mov    %rax,%rcx
mov    0x2caa(%rip),%rax
cmp    (%rax),%rcx
jne    130d <main+0x13d>
mov    0x2cc6(%rip),%rax
mov    (%rax),%rdi
call   10f0 <strerror@plt>
lea    0xd58(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x2,%edi
call   10e0 <exit@plt>
movslq %ebx,%rsi
mov    %rcx,%rbp
add    $0xffffffffffffffff,%rbp
jmp    1335 <main+0x165>
nopl   0x0(%rax)
mov    %rcx,%rax
xor    %edx,%edx
div    %rsi
add    $0x1,%rbp
add    $0x1,%rcx
test   %rdx,%rdx
jne    1349 <main+0x179>
mov    %rcx,%rax
or     %rsi,%rax
shr    $0x20,%rax
jne    1320 <main+0x150>
mov    %ecx,%eax
xor    %edx,%edx
div    %ebx
jmp    1328 <main+0x158>
mov    %r15d,%edi
call   10a0 <close@plt>
mov    %rbp,%rdi
mov    %r14,%rsi
call   10b0 <munmap@plt>
mov    0x2c4d(%rip),%rcx
mov    (%rcx),%rdi
cmp    $0xffffffff,%eax
jne    1396 <main+0x1c6>
mov    0x2c26(%rip),%rax
cmp    (%rax),%rdi
jne    1396 <main+0x1c6>
lea    0xd32(%rip),%rdi
call   1040 <puts@plt>
lea    0xd31(%rip),%rdi
call   1040 <puts@plt>
xor    %edi,%edi
call   10e0 <exit@plt>
call   10f0 <strerror@plt>
lea    0xce0(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0x1,%edi
call   10e0 <exit@plt>

LLVM IR (-O0):
@_SC_PAGE_SIZE = global i32 0
@.str = [23 x i8] c"/tmp/pts_munmap_1_1_%d\00"
@O_CREAT = global i32 0
@O_RDWR = global i32 0
@O_EXCL = global i32 0
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@.str.1 = [34 x i8] c"munmap/3-1.c Error at open(): %s\0A\00"
@errno = global i64 0
@.str.2 = [24 x i8] c"Error at ftruncate: %s\0A\00"
@MAP_SHARED = global i32 0
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_FAILED = global i8* null
@.str.3 = [49 x i8] c"Test Unresolved: munmap/3-1.c Error at mmap: %s\0A\00"
@EINVAL = global i64 0
@.str.4 = [12 x i8] c"Got EINVAL\0A\00"
@.str.5 = [13 x i8] c"Test PASSED\0A\00"
@.str.6 = [46 x i8] c"Test FAILED: munmap/3-1.c munmap returns: %s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [256 x i8]
%3 = alloca i64
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i64
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i8*
store i32 0, i32* %1
store i8* null, i8** %4
store i8* null, i8** %5
store i32 0, i32* %9
%13 = load i32, i32* @_SC_PAGE_SIZE
%14 = call i32 @sysconf(i32 %13)
store i32 %14, i32* %11
%15 = load i32, i32* %11
%16 = mul nsw i32 2, %15
%17 = sext i32 %16 to i64
store i64 %17, i64* %3
%18 = load i32, i32* %11
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
store i64 %20, i64* %6
%21 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%22 = call i32 (...) @getpid()
%23 = call i32 @snprintf(i8* %21, i32 256, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 %22)
%24 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%25 = call i32 @unlink(i8* %24)
%26 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%27 = load i32, i32* @O_CREAT
%28 = load i32, i32* @O_RDWR
%29 = or i32 %27, %28
%30 = load i32, i32* @O_EXCL
%31 = or i32 %29, %30
%32 = load i32, i32* @S_IRUSR
%33 = load i32, i32* @S_IWUSR
%34 = or i32 %32, %33
%35 = call i32 @open(i8* %26, i32 %31, i32 %34)
store i32 %35, i32* %8
%36 = load i32, i32* %8
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %43
38: ; preds = %0
%39 = load i64, i64* @errno
%40 = call i8* @strerror(i64 %39)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* %40)
%42 = call i32 @exit(i32 2)
unreachable
43: ; preds = %0
%44 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%45 = call i32 @unlink(i8* %44)
%46 = load i32, i32* %8
%47 = load i64, i64* %3
%48 = call i32 @ftruncate(i32 %46, i64 %47)
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %55
50: ; preds = %43
%51 = load i64, i64* @errno
%52 = call i8* @strerror(i64 %51)
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i8* %52)
%54 = call i32 @exit(i32 2)
unreachable
55: ; preds = %43
%56 = load i32, i32* @MAP_SHARED
store i32 %56, i32* %7
%57 = load i32, i32* @PROT_READ
%58 = load i32, i32* @PROT_WRITE
%59 = or i32 %57, %58
store i32 %59, i32* %10
%60 = load i8*, i8** %5
%61 = load i64, i64* %6
%62 = load i32, i32* %10
%63 = load i32, i32* %7
%64 = load i32, i32* %8
%65 = load i32, i32* %9
%66 = call i8* @mmap(i8* %60, i64 %61, i32 %62, i32 %63, i32 %64, i32 %65)
store i8* %66, i8** %4
%67 = load i8*, i8** %4
%68 = load i8*, i8** @MAP_FAILED
%69 = icmp eq i8* %67, %68
br i1 %69, label %70, label %75
70: ; preds = %55
%71 = load i64, i64* @errno
%72 = call i8* @strerror(i64 %71)
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0), i8* %72)
%74 = call i32 @exit(i32 2)
unreachable
75: ; preds = %55
%76 = load i8*, i8** %4
store i8* %76, i8** %12
br label %77
77: ; preds = %84, %75
%78 = load i8*, i8** %12
%79 = ptrtoint i8* %78 to i64
%80 = load i32, i32* %11
%81 = sext i32 %80 to i64
%82 = urem i64 %79, %81
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %77
%85 = load i8*, i8** %12
%86 = getelementptr inbounds i8, i8* %85, i32 1
store i8* %86, i8** %12
br label %77
87: ; preds = %77
%88 = load i32, i32* %8
%89 = call i32 @close(i32 %88)
%90 = load i8*, i8** %12
%91 = load i64, i64* %6
%92 = call i32 @munmap(i8* %90, i64 %91)
%93 = icmp eq i32 %92, -1
br i1 %93, label %94, label %102
94: ; preds = %87
%95 = load i64, i64* @errno
%96 = load i64, i64* @EINVAL
%97 = icmp eq i64 %95, %96
br i1 %97, label %98, label %102
98: ; preds = %94
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%101 = call i32 @exit(i32 0)
unreachable
102: ; preds = %94, %87
%103 = load i64, i64* @errno
%104 = call i8* @strerror(i64 %103)
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0), i8* %104)
%106 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@_SC_PAGE_SIZE = global i32 0
@.str = [23 x i8] c"/tmp/pts_munmap_1_1_%d\00"
@O_CREAT = global i32 0
@O_RDWR = global i32 0
@O_EXCL = global i32 0
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@.str.1 = [34 x i8] c"munmap/3-1.c Error at open(): %s\0A\00"
@errno = global i64 0
@.str.2 = [24 x i8] c"Error at ftruncate: %s\0A\00"
@MAP_SHARED = global i32 0
@PROT_READ = global i32 0
@PROT_WRITE = global i32 0
@MAP_FAILED = global i8* null
@.str.3 = [49 x i8] c"Test Unresolved: munmap/3-1.c Error at mmap: %s\0A\00"
@EINVAL = global i64 0
@.str.6 = [46 x i8] c"Test FAILED: munmap/3-1.c munmap returns: %s\0A\00"
@str = [11 x i8] c"Got EINVAL\00"
@str.7 = [12 x i8] c"Test PASSED\00"
define i32 @main() {
%1 = alloca [256 x i8]
%2 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%3 = load i32, i32* @_SC_PAGE_SIZE
%4 = tail call i32 @sysconf(i32 %3)
%5 = add nsw i32 %4, 1
%6 = sext i32 %5 to i64
%7 = tail call i32 (...) @getpid()
%8 = call i32 @snprintf(i8* %2, i32 256, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 %7)
%9 = call i32 @unlink(i8* %2)
%10 = load i32, i32* @O_CREAT
%11 = load i32, i32* @O_RDWR
%12 = or i32 %11, %10
%13 = load i32, i32* @O_EXCL
%14 = or i32 %12, %13
%15 = load i32, i32* @S_IRUSR
%16 = load i32, i32* @S_IWUSR
%17 = or i32 %16, %15
%18 = call i32 @open(i8* %2, i32 %14, i32 %17)
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %25
20: ; preds = %0
%21 = load i64, i64* @errno
%22 = call i8* @strerror(i64 %21)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* %22)
%24 = call i32 @exit(i32 2)
unreachable
25: ; preds = %0
%26 = shl nsw i32 %4, 1
%27 = sext i32 %26 to i64
%28 = call i32 @unlink(i8* %2)
%29 = call i32 @ftruncate(i32 %18, i64 %27)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %36
31: ; preds = %25
%32 = load i64, i64* @errno
%33 = call i8* @strerror(i64 %32)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i8* %33)
%35 = call i32 @exit(i32 2)
unreachable
36: ; preds = %25
%37 = load i32, i32* @MAP_SHARED
%38 = load i32, i32* @PROT_READ
%39 = load i32, i32* @PROT_WRITE
%40 = or i32 %39, %38
%41 = call i8* @mmap(i8* null, i64 %6, i32 %40, i32 %37, i32 %18, i32 0)
%42 = load i8*, i8** @MAP_FAILED
%43 = icmp eq i8* %41, %42
br i1 %43, label %46, label %44
44: ; preds = %36
%45 = sext i32 %4 to i64
br label %51
46: ; preds = %36
%47 = load i64, i64* @errno
%48 = call i8* @strerror(i64 %47)
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0), i8* %48)
%50 = call i32 @exit(i32 2)
unreachable
51: ; preds = %51, %44
%52 = phi i8* [ %56, %51 ], [ %41, %44 ]
%53 = ptrtoint i8* %52 to i64
%54 = urem i64 %53, %45
%55 = icmp eq i64 %54, 0
%56 = getelementptr inbounds i8, i8* %52, i64 1
br i1 %55, label %51, label %57
57: ; preds = %51
%58 = call i32 @close(i32 %18)
%59 = call i32 @munmap(i8* %52, i64 %6)
%60 = icmp eq i32 %59, -1
%61 = load i64, i64* @errno
%62 = load i64, i64* @EINVAL
%63 = icmp eq i64 %61, %62
%64 = select i1 %60, i1 %63, i1 false
br i1 %64, label %65, label %69
65: ; preds = %57
%66 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0))
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.7, i64 0, i64 0))
%68 = call i32 @exit(i32 0)
unreachable
69: ; preds = %57
%70 = call i8* @strerror(i64 %61)
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0), i8* %70)
%72 = call i32 @exit(i32 1)
unreachable
}