#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 pid_t;

/* Variables and functions */
int /*<<< orphan*/ EXIT_SUCCESS;
void *MAP_FAILED;
int /*<<< orphan*/ MAP_SHARED;
int O_CREAT;
int O_RDWR;
int PROT_READ;
int PROT_WRITE;
int /*<<< orphan*/ STDOUT_FILENO;
int S_IRUSR;
int S_IWUSR;
scalar_t__ WIFEXITED(int);
int close(int);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int fork();
scalar_t__ ftruncate(int, int);
int /*<<< orphan*/ memcpy(void *, char *, int);
void *mmap(int /*<<< orphan*/ *, int, int, int /*<<< orphan*/, int,
           int /*<<< orphan*/);
int /*<<< orphan*/ perror_exit(char *);
int /*<<< orphan*/ printf(char *);
int shm_open(char *, int, int);
int /*<<< orphan*/ sleep(int);
scalar_t__ wait(int *);
int /*<<< orphan*/ write(int /*<<< orphan*/, void *, int);
int main(int argc, char *argv[]) {
  int fd;
  void *addr;
  pid_t child;
  child = fork();
  if (child == -1)
    perror_exit("fork");
  if (child == 0) {
    sleep(1);
    fd = shm_open("shm-test", O_RDWR, 0);
    if (fd == -1)
      perror_exit("shm_open");
    addr = mmap(NULL, 4, PROT_READ, MAP_SHARED, fd, 0);
    if (addr == MAP_FAILED)
      perror_exit("mmap child");
    if (close(fd) == -1)
      perror_exit("close");
    write(STDOUT_FILENO, addr, 4);
    printf("\n");
    exit(EXIT_SUCCESS);
  } else {
    fd = shm_open("shm-test", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
    if (fd == -1)
      perror_exit("shm_open");
    if (ftruncate(fd, 4))
      perror_exit("ftruncate");
    addr = mmap(NULL, 4, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
    if (addr == MAP_FAILED)
      perror_exit("mmap parent");
    if (close(fd) == -1)
      perror_exit("close");
    memcpy(addr, "hola", 4);
    int status;
    while (1) {
      if (wait(&status) < 0)
        perror_exit("wait");
      if (WIFEXITED(status))
        break;
    }
    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    $0x0,%al
call   10f0 <fork@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0xffffffff,-0x24(%rbp)
jne    1206 <main+0x36>
lea    0xdff(%rip),%rdi
call   1090 <perror_exit@plt>
cmpl   $0x0,-0x24(%rbp)
jne    12e3 <main+0x113>
mov    $0x1,%edi
call   10d0 <sleep@plt>
mov    0x2da7(%rip),%rax
mov    (%rax),%esi
lea    0xddb(%rip),%rdi
xor    %edx,%edx
call   10c0 <shm_open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    124a <main+0x7a>
lea    0xdc9(%rip),%rdi
call   1090 <perror_exit@plt>
mov    0x2d9f(%rip),%rax
mov    (%rax),%edx
mov    0x2d7e(%rip),%rax
mov    (%rax),%ecx
mov    -0x14(%rbp),%r8d
xor    %eax,%eax
mov    %eax,%edi
mov    $0x4,%esi
xor    %r9d,%r9d
call   1040 <mmap@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    0x2d18(%rip),%rcx
cmp    (%rcx),%rax
jne    1295 <main+0xc5>
lea    0xd87(%rip),%rdi
call   1090 <perror_exit@plt>
mov    -0x14(%rbp),%edi
call   1070 <close@plt>
cmp    $0xffffffff,%eax
jne    12b2 <main+0xe2>
lea    0xd75(%rip),%rdi
call   1090 <perror_exit@plt>
mov    0x2d27(%rip),%rax
mov    (%rax),%edi
mov    -0x20(%rbp),%rsi
mov    $0x4,%edx
call   1030 <write@plt>
lea    0xd58(%rip),%rdi
call   1050 <printf@plt>
mov    0x2cc4(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
mov    0x2cde(%rip),%rax
mov    (%rax),%esi
mov    0x2d05(%rip),%rax
or     (%rax),%esi
mov    0x2cac(%rip),%rax
mov    (%rax),%edx
mov    0x2cbb(%rip),%rax
or     (%rax),%edx
lea    0xcf7(%rip),%rdi
call   10c0 <shm_open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    132c <main+0x15c>
lea    0xce7(%rip),%rdi
call   1090 <perror_exit@plt>
mov    -0x14(%rbp),%edi
mov    $0x4,%esi
call   1060 <ftruncate@plt>
cmp    $0x0,%rax
je     134f <main+0x17f>
lea    0xce0(%rip),%rdi
call   1090 <perror_exit@plt>
mov    0x2c9a(%rip),%rax
mov    (%rax),%edx
mov    0x2c51(%rip),%rax
or     (%rax),%edx
mov    0x2c70(%rip),%rax
mov    (%rax),%ecx
mov    -0x14(%rbp),%r8d
xor    %eax,%eax
mov    %eax,%edi
mov    $0x4,%esi
xor    %r9d,%r9d
call   1040 <mmap@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    0x2c0a(%rip),%rcx
cmp    (%rcx),%rax
jne    13a3 <main+0x1d3>
lea    0xc96(%rip),%rdi
call   1090 <perror_exit@plt>
mov    -0x14(%rbp),%edi
call   1070 <close@plt>
cmp    $0xffffffff,%eax
jne    13c0 <main+0x1f0>
lea    0xc67(%rip),%rdi
call   1090 <perror_exit@plt>
mov    -0x20(%rbp),%rdi
lea    0xc75(%rip),%rsi
mov    $0x4,%edx
call   1080 <memcpy@plt>
lea    -0x28(%rbp),%rdi
call   10e0 <wait@plt>
cmp    $0x0,%rax
jge    13f4 <main+0x224>
lea    0xc56(%rip),%rdi
call   1090 <perror_exit@plt>
mov    -0x28(%rbp),%edi
call   10a0 <WIFEXITED@plt>
cmp    $0x0,%rax
je     140b <main+0x23b>
jmp    1410 <main+0x240>
jmp    13d5 <main+0x205>
mov    0x2b89(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   10f0 <fork@plt>
test   %eax,%eax
je     1309 <main+0x139>
cmp    $0xffffffff,%eax
jne    11f4 <main+0x24>
lea    0xe11(%rip),%rdi
call   1090 <perror_exit@plt>
mov    0x2dcd(%rip),%rax
mov    0x2df6(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    0x2d9b(%rip),%rax
mov    0x2dac(%rip),%rcx
mov    (%rcx),%edx
or     (%rax),%edx
lea    0xde6(%rip),%rdi
call   10c0 <shm_open@plt>
mov    %eax,%ebx
cmp    $0xffffffff,%eax
jne    1237 <main+0x67>
lea    0xddc(%rip),%rdi
call   1090 <perror_exit@plt>
mov    %ebx,%edi
mov    $0x4,%esi
call   1060 <ftruncate@plt>
test   %rax,%rax
je     1254 <main+0x84>
lea    0xdd9(%rip),%rdi
call   1090 <perror_exit@plt>
mov    0x2d95(%rip),%rax
mov    0x2d4e(%rip),%rcx
mov    (%rcx),%edx
or     (%rax),%edx
mov    0x2d6b(%rip),%rax
mov    (%rax),%ecx
xor    %edi,%edi
mov    $0x4,%esi
mov    %ebx,%r8d
xor    %r9d,%r9d
call   1050 <mmap@plt>
mov    %rax,%r14
mov    0x2d0d(%rip),%rax
cmp    (%rax),%r14
jne    129c <main+0xcc>
lea    0xd9b(%rip),%rdi
call   1090 <perror_exit@plt>
mov    %ebx,%edi
call   1070 <close@plt>
cmp    $0xffffffff,%eax
jne    12b4 <main+0xe4>
lea    0xd73(%rip),%rdi
call   1090 <perror_exit@plt>
lea    0xd83(%rip),%rsi
mov    %r14,%rdi
mov    $0x4,%edx
call   1080 <memcpy@plt>
lea    0x4(%rsp),%rbx
lea    0xd6f(%rip),%r14
jmp    12f2 <main+0x122>
cs nopw 0x0(%rax,%rax,1)
mov    0x4(%rsp),%edi
call   10a0 <WIFEXITED@plt>
test   %rax,%rax
jne    13b4 <main+0x1e4>
mov    %rbx,%rdi
call   10e0 <wait@plt>
test   %rax,%rax
jns    12e0 <main+0x110>
mov    %r14,%rdi
call   1090 <perror_exit@plt>
jmp    12e0 <main+0x110>
mov    $0x1,%edi
call   10d0 <sleep@plt>
mov    0x2cae(%rip),%rax
mov    (%rax),%esi
lea    0xce2(%rip),%rdi
xor    %edx,%edx
call   10c0 <shm_open@plt>
mov    %eax,%ebx
cmp    $0xffffffff,%eax
jne    133d <main+0x16d>
lea    0xcd6(%rip),%rdi
call   1090 <perror_exit@plt>
mov    0x2cac(%rip),%rax
mov    (%rax),%edx
mov    0x2c8b(%rip),%rax
mov    (%rax),%ecx
xor    %edi,%edi
mov    $0x4,%esi
mov    %ebx,%r8d
xor    %r9d,%r9d
call   1050 <mmap@plt>
mov    %rax,%r14
mov    0x2c2d(%rip),%rax
cmp    (%rax),%r14
jne    137c <main+0x1ac>
lea    0xca0(%rip),%rdi
call   1090 <perror_exit@plt>
mov    %ebx,%edi
call   1070 <close@plt>
cmp    $0xffffffff,%eax
jne    1394 <main+0x1c4>
lea    0xc93(%rip),%rdi
call   1090 <perror_exit@plt>
mov    0x2c45(%rip),%rax
mov    (%rax),%edi
mov    %r14,%rsi
mov    $0x4,%edx
call   1040 <write@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2be5(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"fork\00"
@.str.1 = [9 x i8] c"shm-test\00"
@O_RDWR = global i32 0
@.str.2 = [9 x i8] c"shm_open\00"
@PROT_READ = global i32 0
@MAP_SHARED = global i32 0
@MAP_FAILED = global i8* null
@.str.3 = [11 x i8] c"mmap child\00"
@.str.4 = [6 x i8] c"close\00"
@STDOUT_FILENO = global i32 0
@.str.5 = [2 x i8] c"\0A\00"
@EXIT_SUCCESS = global i32 0
@O_CREAT = global i32 0
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@.str.6 = [10 x i8] c"ftruncate\00"
@PROT_WRITE = global i32 0
@.str.7 = [12 x i8] c"mmap parent\00"
@.str.8 = [5 x i8] c"hola\00"
@.str.9 = [5 x i8] c"wait\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%10 = call i32 (...) @fork()
store i32 %10, i32* %8
%11 = load i32, i32* %8
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @perror_exit(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %15
15: ; preds = %13, %2
%16 = load i32, i32* %8
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %49
18: ; preds = %15
%19 = call i32 @sleep(i32 1)
%20 = load i32, i32* @O_RDWR
%21 = call i32 @shm_open(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %20, i32 0)
store i32 %21, i32* %6
%22 = load i32, i32* %6
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = call i32 @perror_exit(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %26
26: ; preds = %24, %18
%27 = load i32, i32* @PROT_READ
%28 = load i32, i32* @MAP_SHARED
%29 = load i32, i32* %6
%30 = call i8* @mmap(i32* null, i32 4, i32 %27, i32 %28, i32 %29, i32 0)
store i8* %30, i8** %7
%31 = load i8*, i8** %7
%32 = load i8*, i8** @MAP_FAILED
%33 = icmp eq i8* %31, %32
br i1 %33, label %34, label %36
34: ; preds = %26
%35 = call i32 @perror_exit(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %36
36: ; preds = %34, %26
%37 = load i32, i32* %6
%38 = call i32 @close(i32 %37)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @perror_exit(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %42
42: ; preds = %40, %36
%43 = load i32, i32* @STDOUT_FILENO
%44 = load i8*, i8** %7
%45 = call i32 @write(i32 %43, i8* %44, i32 4)
%46 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%47 = load i32, i32* @EXIT_SUCCESS
%48 = call i32 @exit(i32 %47)
unreachable
49: ; preds = %15
%50 = load i32, i32* @O_RDWR
%51 = load i32, i32* @O_CREAT
%52 = or i32 %50, %51
%53 = load i32, i32* @S_IRUSR
%54 = load i32, i32* @S_IWUSR
%55 = or i32 %53, %54
%56 = call i32 @shm_open(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %52, i32 %55)
store i32 %56, i32* %6
%57 = load i32, i32* %6
%58 = icmp eq i32 %57, -1
br i1 %58, label %59, label %61
59: ; preds = %49
%60 = call i32 @perror_exit(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %61
61: ; preds = %59, %49
%62 = load i32, i32* %6
%63 = call i64 @ftruncate(i32 %62, i32 4)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32 @perror_exit(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
br label %67
67: ; preds = %65, %61
%68 = load i32, i32* @PROT_READ
%69 = load i32, i32* @PROT_WRITE
%70 = or i32 %68, %69
%71 = load i32, i32* @MAP_SHARED
%72 = load i32, i32* %6
%73 = call i8* @mmap(i32* null, i32 4, i32 %70, i32 %71, i32 %72, i32 0)
store i8* %73, i8** %7
%74 = load i8*, i8** %7
%75 = load i8*, i8** @MAP_FAILED
%76 = icmp eq i8* %74, %75
br i1 %76, label %77, label %79
77: ; preds = %67
%78 = call i32 @perror_exit(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
br label %79
79: ; preds = %77, %67
%80 = load i32, i32* %6
%81 = call i32 @close(i32 %80)
%82 = icmp eq i32 %81, -1
br i1 %82, label %83, label %85
83: ; preds = %79
%84 = call i32 @perror_exit(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %85
85: ; preds = %83, %79
%86 = load i8*, i8** %7
%87 = call i32 @memcpy(i8* %86, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
br label %88
88: ; preds = %85, %98
%89 = call i64 @wait(i32* %9)
%90 = icmp slt i64 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %88
%92 = call i32 @perror_exit(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %93
93: ; preds = %91, %88
%94 = load i32, i32* %9
%95 = call i64 @WIFEXITED(i32 %94)
%96 = icmp ne i64 %95, 0
br i1 %96, label %97, label %98
97: ; preds = %93
br label %99
98: ; preds = %93
br label %88
99: ; preds = %97
%100 = load i32, i32* @EXIT_SUCCESS
%101 = call i32 @exit(i32 %100)
unreachable
}

LLVM IR (-O2):
@.str = [5 x i8] c"fork\00"
@.str.1 = [9 x i8] c"shm-test\00"
@O_RDWR = global i32 0
@.str.2 = [9 x i8] c"shm_open\00"
@PROT_READ = global i32 0
@MAP_SHARED = global i32 0
@MAP_FAILED = global i8* null
@.str.3 = [11 x i8] c"mmap child\00"
@.str.4 = [6 x i8] c"close\00"
@STDOUT_FILENO = global i32 0
@EXIT_SUCCESS = global i32 0
@O_CREAT = global i32 0
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@.str.6 = [10 x i8] c"ftruncate\00"
@PROT_WRITE = global i32 0
@.str.7 = [12 x i8] c"mmap parent\00"
@.str.8 = [5 x i8] c"hola\00"
@.str.9 = [5 x i8] c"wait\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = tail call i32 (...) @fork()
switch i32 %4, label %33 [
i32 -1, label %5
i32 0, label %7
]
5: ; preds = %2
%6 = tail call i32 @perror_exit(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
br label %33
7: ; preds = %2
%8 = tail call i32 @sleep(i32 1)
%9 = load i32, i32* @O_RDWR
%10 = tail call i32 @shm_open(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %9, i32 0)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = tail call i32 @perror_exit(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %14
14: ; preds = %12, %7
%15 = load i32, i32* @PROT_READ
%16 = load i32, i32* @MAP_SHARED
%17 = tail call i8* @mmap(i32* null, i32 4, i32 %15, i32 %16, i32 %10, i32 0)
%18 = load i8*, i8** @MAP_FAILED
%19 = icmp eq i8* %17, %18
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = tail call i32 @perror_exit(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
br label %22
22: ; preds = %20, %14
%23 = tail call i32 @close(i32 %10)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = tail call i32 @perror_exit(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %27
27: ; preds = %25, %22
%28 = load i32, i32* @STDOUT_FILENO
%29 = tail call i32 @write(i32 %28, i8* %17, i32 4)
%30 = tail call i32 @putchar(i32 10)
%31 = load i32, i32* @EXIT_SUCCESS
%32 = tail call i32 @exit(i32 %31)
unreachable
33: ; preds = %5, %2
%34 = load i32, i32* @O_RDWR
%35 = load i32, i32* @O_CREAT
%36 = or i32 %35, %34
%37 = load i32, i32* @S_IRUSR
%38 = load i32, i32* @S_IWUSR
%39 = or i32 %38, %37
%40 = tail call i32 @shm_open(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 %36, i32 %39)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %44
42: ; preds = %33
%43 = tail call i32 @perror_exit(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %44
44: ; preds = %42, %33
%45 = tail call i64 @ftruncate(i32 %40, i32 4)
%46 = icmp eq i64 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %44
%48 = tail call i32 @perror_exit(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
br label %49
49: ; preds = %47, %44
%50 = load i32, i32* @PROT_READ
%51 = load i32, i32* @PROT_WRITE
%52 = or i32 %51, %50
%53 = load i32, i32* @MAP_SHARED
%54 = tail call i8* @mmap(i32* null, i32 4, i32 %52, i32 %53, i32 %40, i32 0)
%55 = load i8*, i8** @MAP_FAILED
%56 = icmp eq i8* %54, %55
br i1 %56, label %57, label %59
57: ; preds = %49
%58 = tail call i32 @perror_exit(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
br label %59
59: ; preds = %57, %49
%60 = tail call i32 @close(i32 %40)
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = tail call i32 @perror_exit(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %64
64: ; preds = %62, %59
%65 = tail call i32 @memcpy(i8* %54, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 4)
%66 = bitcast i32* %3 to i8*
br label %67
67: ; preds = %72, %64
%68 = call i64 @wait(i32* %3)
%69 = icmp slt i64 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = call i32 @perror_exit(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %72
72: ; preds = %70, %67
%73 = load i32, i32* %3
%74 = call i64 @WIFEXITED(i32 %73)
%75 = icmp eq i64 %74, 0
br i1 %75, label %67, label %76
76: ; preds = %72
%77 = load i32, i32* @EXIT_SUCCESS
%78 = call i32 @exit(i32 %77)
unreachable
}