#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_FAILURE;
int /*<<< orphan*/ EXIT_SUCCESS;
int /*<<< orphan*/ SIGPIPE;
int /*<<< orphan*/ SIG_IGN;
int STDOUT_FILENO;
int /*<<< orphan*/ _exit(int /*<<< orphan*/);
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ errno;
scalar_t__ execv(char *, char **);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int fork();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ perror(char *);
int pipe(int *);
int /*<<< orphan*/ signal(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
char *strerror(int /*<<< orphan*/);
int strlen(char *);
scalar_t__ usleep(int);
int /*<<< orphan*/ wait(int /*<<< orphan*/ *);
int waitpid(int, int /*<<< orphan*/, int /*<<< orphan*/);
int write(int, char *, int);
int main(int argc, char *argv[]) {
  int pipefd[2];
  pid_t cpid;
  char buf;
  if (argc != 2) {
    fprintf(stderr, "Usage: %s <string>\n", argv[0]);
    exit(EXIT_FAILURE);
  }
  if (pipe(pipefd) == -1) {
    perror("pipe");
    exit(EXIT_FAILURE);
  }
  cpid = fork();
  if (cpid == -1) {
    perror("fork");
    exit(EXIT_FAILURE);
  }
  if (cpid == 0) {
    close(pipefd[0]);
    while (1) {
      signal(SIGPIPE, SIG_IGN);
      int x = write(pipefd[1], argv[1], strlen(argv[1]));
      if (x == -1) {
        fprintf(stderr, "we couldn't write:%s\n", strerror(errno));
        if (execv(argv[0], argv)) {
          fprintf(stderr, "execv failed%s\n", strerror(errno));
        }
      }
      if (usleep(500000) != 0) {
        fprintf(stderr, "usleep failed, error:%s\n", strerror(errno));
        exit(EXIT_FAILURE);
      }
    }
    close(pipefd[1]);
    _exit(EXIT_SUCCESS);
  } else {
    close(pipefd[1]);
    int z = 0;
    while (cpid != waitpid(cpid, 0, 0)) {
      fprintf(stderr, "child dies, respawn\n");
    }
    write(STDOUT_FILENO, "\n", 1);
    close(pipefd[0]);
    wait(NULL);
    exit(EXIT_SUCCESS);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     122c <main+0x4c>
mov    0x2dc9(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xde9(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2d93(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
lea    -0x18(%rbp),%rdi
call   1060 <pipe@plt>
cmp    $0xffffffff,%eax
jne    1258 <main+0x78>
lea    0xdcf(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2d67(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
mov    $0x0,%al
call   10f0 <fork@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0xffffffff,-0x1c(%rbp)
jne    1286 <main+0xa6>
lea    0xda6(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2d39(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
cmpl   $0x0,-0x1c(%rbp)
jne    13b9 <main+0x1d9>
mov    -0x18(%rbp),%edi
call   1050 <close@plt>
mov    0x2d29(%rip),%rax
mov    (%rax),%edi
mov    0x2d38(%rip),%rax
mov    (%rax),%esi
call   1070 <signal@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <strlen@plt>
mov    -0x34(%rbp),%edi
mov    -0x30(%rbp),%rsi
mov    %eax,%edx
call   1030 <write@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0xffffffff,-0x24(%rbp)
jne    1364 <main+0x184>
mov    0x2ce0(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x38(%rbp)
mov    0x2cc4(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
mov    -0x38(%rbp),%edi
mov    %rax,%rdx
lea    0xd0e(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rsi
call   10e0 <execv@plt>
cmp    $0x0,%rax
je     135f <main+0x17f>
mov    0x2c98(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
mov    0x2c7c(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
mov    -0x3c(%rbp),%edi
mov    %rax,%rdx
lea    0xcdc(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
jmp    1364 <main+0x184>
mov    $0x7a120,%edi
call   1100 <usleep@plt>
cmp    $0x0,%rax
je     13b4 <main+0x1d4>
mov    0x2c51(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x40(%rbp)
mov    0x2c35(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
mov    -0x40(%rbp),%edi
mov    %rax,%rdx
lea    0xca5(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2c0b(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
jmp    1298 <main+0xb8>
mov    -0x14(%rbp),%edi
call   1050 <close@plt>
movl   $0x0,-0x28(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x1c(%rbp),%edi
xor    %edx,%edx
mov    %edx,%esi
call   1090 <waitpid@plt>
mov    %eax,%ecx
mov    -0x44(%rbp),%eax
cmp    %ecx,%eax
je     1403 <main+0x223>
mov    0x2be2(%rip),%rax
mov    (%rax),%edi
lea    0xc66(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
jmp    13c8 <main+0x1e8>
mov    0x2be6(%rip),%rax
mov    (%rax),%edi
lea    0xbff(%rip),%rsi
mov    $0x1,%edx
call   1030 <write@plt>
mov    -0x18(%rbp),%edi
call   1050 <close@plt>
xor    %eax,%eax
mov    %eax,%edi
call   10d0 <wait@plt>
mov    0x2b7b(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r12
cmp    $0x2,%edi
jne    1209 <main+0x29>
mov    %rsp,%rdi
call   1060 <pipe@plt>
cmp    $0xffffffff,%eax
jne    1226 <main+0x46>
lea    0xe0d(%rip),%rdi
jmp    1243 <main+0x63>
mov    0x2dc0(%rip),%rax
mov    (%rax),%edi
mov    (%r12),%rdx
lea    0xde3(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
jmp    1248 <main+0x68>
xor    %eax,%eax
call   10f0 <fork@plt>
test   %eax,%eax
je     1256 <main+0x76>
mov    %eax,%ebp
cmp    $0xffffffff,%eax
jne    131f <main+0x13f>
lea    0xdd6(%rip),%rdi
call   10a0 <perror@plt>
mov    0x2d69(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
mov    (%rsp),%edi
call   1050 <close@plt>
mov    0x2d63(%rip),%r13
mov    0x2d74(%rip),%r14
mov    0x2d5d(%rip),%r15
jmp    1293 <main+0xb3>
cs nopw 0x0(%rax,%rax,1)
nop
mov    $0x7a120,%edi
call   1100 <usleep@plt>
test   %rax,%rax
jne    13a3 <main+0x1c3>
mov    0x0(%r13),%edi
mov    (%r14),%esi
call   1070 <signal@plt>
mov    0x4(%rsp),%ebp
mov    0x8(%r12),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %eax,%edx
call   1030 <write@plt>
cmp    $0xffffffff,%eax
jne    1280 <main+0xa0>
mov    (%r15),%ebx
mov    0x2cf5(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
mov    %ebx,%edi
lea    0xd43(%rip),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    (%r12),%rdi
mov    %r12,%rsi
call   10e0 <execv@plt>
test   %rax,%rax
je     1280 <main+0xa0>
mov    (%r15),%ebx
mov    0x2cc0(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
mov    %ebx,%edi
lea    0xd24(%rip),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1080 <fprintf@plt>
jmp    1280 <main+0xa0>
mov    0x4(%rsp),%edi
call   1050 <close@plt>
mov    %ebp,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1090 <waitpid@plt>
cmp    %eax,%ebp
je     136c <main+0x18c>
mov    0x2c92(%rip),%r14
lea    0xd18(%rip),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%r14),%edi
mov    %rbx,%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    %ebp,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1090 <waitpid@plt>
cmp    %eax,%ebp
jne    1350 <main+0x170>
mov    0x2c7d(%rip),%rax
mov    (%rax),%edi
lea    0xc96(%rip),%rsi
mov    $0x1,%edx
call   1030 <write@plt>
mov    (%rsp),%edi
call   1050 <close@plt>
xor    %edi,%edi
call   10d0 <wait@plt>
mov    0x2c14(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
mov    (%r15),%ebx
mov    0x2c13(%rip),%rax
mov    (%rax),%edi
call   10c0 <strerror@plt>
lea    0xc89(%rip),%rsi
mov    %ebx,%edi
mov    %rax,%rdx
jmp    121d <main+0x3d>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [20 x i8] c"Usage: %s <string>\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [5 x i8] c"pipe\00"
@.str.2 = [5 x i8] c"fork\00"
@SIGPIPE = global i32 0
@SIG_IGN = global i32 0
@.str.3 = [22 x i8] c"we couldn't write:%s\0A\00"
@errno = global i32 0
@.str.4 = [16 x i8] c"execv failed%s\0A\00"
@.str.5 = [25 x i8] c"usleep failed, error:%s\0A\00"
@.str.6 = [21 x i8] c"child dies, respawn\0A\00"
@STDOUT_FILENO = global i32 0
@.str.7 = [2 x i8] c"\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 [2 x i32]
%7 = alloca i32
%8 = alloca i8
%9 = alloca i32
%10 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* %4
%12 = icmp ne i32 %11, 2
br i1 %12, label %13, label %21
13: ; preds = %2
%14 = load i32, i32* @stderr
%15 = load i8**, i8*** %5
%16 = getelementptr inbounds i8*, i8** %15, i64 0
%17 = load i8*, i8** %16
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* %17)
%19 = load i32, i32* @EXIT_FAILURE
%20 = call i32 @exit(i32 %19)
unreachable
21: ; preds = %2
%22 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
%23 = call i32 @pipe(i32* %22)
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%27 = load i32, i32* @EXIT_FAILURE
%28 = call i32 @exit(i32 %27)
unreachable
29: ; preds = %21
%30 = call i32 (...) @fork()
store i32 %30, i32* %7
%31 = load i32, i32* %7
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %37
33: ; preds = %29
%34 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%35 = load i32, i32* @EXIT_FAILURE
%36 = call i32 @exit(i32 %35)
unreachable
37: ; preds = %29
%38 = load i32, i32* %7
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %88
40: ; preds = %37
%41 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
%42 = load i32, i32* %41
%43 = call i32 @close(i32 %42)
br label %44
44: ; preds = %40, %87
%45 = load i32, i32* @SIGPIPE
%46 = load i32, i32* @SIG_IGN
%47 = call i32 @signal(i32 %45, i32 %46)
%48 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 1
%49 = load i32, i32* %48
%50 = load i8**, i8*** %5
%51 = getelementptr inbounds i8*, i8** %50, i64 1
%52 = load i8*, i8** %51
%53 = load i8**, i8*** %5
%54 = getelementptr inbounds i8*, i8** %53, i64 1
%55 = load i8*, i8** %54
%56 = call i32 @strlen(i8* %55)
%57 = call i32 @write(i32 %49, i8* %52, i32 %56)
store i32 %57, i32* %9
%58 = load i32, i32* %9
%59 = icmp eq i32 %58, -1
br i1 %59, label %60, label %77
60: ; preds = %44
%61 = load i32, i32* @stderr
%62 = load i32, i32* @errno
%63 = call i8* @strerror(i32 %62)
%64 = call i32 (i32, i8*, ...) @fprintf(i32 %61, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* %63)
%65 = load i8**, i8*** %5
%66 = getelementptr inbounds i8*, i8** %65, i64 0
%67 = load i8*, i8** %66
%68 = load i8**, i8*** %5
%69 = call i64 @execv(i8* %67, i8** %68)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %76
71: ; preds = %60
%72 = load i32, i32* @stderr
%73 = load i32, i32* @errno
%74 = call i8* @strerror(i32 %73)
%75 = call i32 (i32, i8*, ...) @fprintf(i32 %72, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %74)
br label %76
76: ; preds = %71, %60
br label %77
77: ; preds = %76, %44
%78 = call i64 @usleep(i32 500000)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %87
80: ; preds = %77
%81 = load i32, i32* @stderr
%82 = load i32, i32* @errno
%83 = call i8* @strerror(i32 %82)
%84 = call i32 (i32, i8*, ...) @fprintf(i32 %81, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i8* %83)
%85 = load i32, i32* @EXIT_FAILURE
%86 = call i32 @exit(i32 %85)
unreachable
87: ; preds = %77
br label %44
88: ; preds = %37
%89 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 1
%90 = load i32, i32* %89
%91 = call i32 @close(i32 %90)
store i32 0, i32* %10
br label %92
92: ; preds = %97, %88
%93 = load i32, i32* %7
%94 = load i32, i32* %7
%95 = call i32 @waitpid(i32 %94, i32 0, i32 0)
%96 = icmp ne i32 %93, %95
br i1 %96, label %97, label %100
97: ; preds = %92
%98 = load i32, i32* @stderr
%99 = call i32 (i32, i8*, ...) @fprintf(i32 %98, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
br label %92
100: ; preds = %92
%101 = load i32, i32* @STDOUT_FILENO
%102 = call i32 @write(i32 %101, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 1)
%103 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
%104 = load i32, i32* %103
%105 = call i32 @close(i32 %104)
%106 = call i32 @wait(i32* null)
%107 = load i32, i32* @EXIT_SUCCESS
%108 = call i32 @exit(i32 %107)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [20 x i8] c"Usage: %s <string>\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [5 x i8] c"pipe\00"
@.str.2 = [5 x i8] c"fork\00"
@SIGPIPE = global i32 0
@SIG_IGN = global i32 0
@.str.3 = [22 x i8] c"we couldn't write:%s\0A\00"
@errno = global i32 0
@.str.4 = [16 x i8] c"execv failed%s\0A\00"
@.str.5 = [25 x i8] c"usleep failed, error:%s\0A\00"
@.str.6 = [21 x i8] c"child dies, respawn\0A\00"
@STDOUT_FILENO = global i32 0
@.str.7 = [2 x i8] c"\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [2 x i32]
%4 = bitcast [2 x i32]* %3 to i8*
%5 = icmp eq i32 %0, 2
br i1 %5, label %12, label %6
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = load i8*, i8** %1
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = load i32, i32* @EXIT_FAILURE
%11 = tail call i32 @exit(i32 %10)
unreachable
12: ; preds = %2
%13 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 0, i64 0
%14 = call i32 @pipe(i32* %13)
%15 = icmp eq i32 %14, -1
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%18 = load i32, i32* @EXIT_FAILURE
%19 = call i32 @exit(i32 %18)
unreachable
20: ; preds = %12
%21 = call i32 (...) @fork()
switch i32 %21, label %63 [
i32 -1, label %22
i32 0, label %26
]
22: ; preds = %20
%23 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%24 = load i32, i32* @EXIT_FAILURE
%25 = call i32 @exit(i32 %24)
unreachable
26: ; preds = %20
%27 = load i32, i32* %13
%28 = call i32 @close(i32 %27)
%29 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 0, i64 1
%30 = getelementptr inbounds i8*, i8** %1, i64 1
br label %31
31: ; preds = %53, %26
%32 = load i32, i32* @SIGPIPE
%33 = load i32, i32* @SIG_IGN
%34 = call i32 @signal(i32 %32, i32 %33)
%35 = load i32, i32* %29
%36 = load i8*, i8** %30
%37 = call i32 @strlen(i8* %36)
%38 = call i32 @write(i32 %35, i8* %36, i32 %37)
%39 = icmp eq i32 %38, -1
br i1 %39, label %40, label %53
40: ; preds = %31
%41 = load i32, i32* @stderr
%42 = load i32, i32* @errno
%43 = call i8* @strerror(i32 %42)
%44 = call i32 (i32, i8*, ...) @fprintf(i32 %41, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* %43)
%45 = load i8*, i8** %1
%46 = call i64 @execv(i8* %45, i8** %1)
%47 = icmp eq i64 %46, 0
br i1 %47, label %53, label %48
48: ; preds = %40
%49 = load i32, i32* @stderr
%50 = load i32, i32* @errno
%51 = call i8* @strerror(i32 %50)
%52 = call i32 (i32, i8*, ...) @fprintf(i32 %49, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %51)
br label %53
53: ; preds = %40, %48, %31
%54 = call i64 @usleep(i32 500000)
%55 = icmp eq i64 %54, 0
br i1 %55, label %31, label %56
56: ; preds = %53
%57 = load i32, i32* @stderr
%58 = load i32, i32* @errno
%59 = call i8* @strerror(i32 %58)
%60 = call i32 (i32, i8*, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i8* %59)
%61 = load i32, i32* @EXIT_FAILURE
%62 = call i32 @exit(i32 %61)
unreachable
63: ; preds = %20
%64 = getelementptr inbounds [2 x i32], [2 x i32]* %3, i64 0, i64 1
%65 = load i32, i32* %64
%66 = call i32 @close(i32 %65)
%67 = call i32 @waitpid(i32 %21, i32 0, i32 0)
%68 = icmp eq i32 %21, %67
br i1 %68, label %74, label %69
69: ; preds = %63, %69
%70 = load i32, i32* @stderr
%71 = call i32 (i32, i8*, ...) @fprintf(i32 %70, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
%72 = call i32 @waitpid(i32 %21, i32 0, i32 0)
%73 = icmp eq i32 %21, %72
br i1 %73, label %74, label %69
74: ; preds = %69, %63
%75 = load i32, i32* @STDOUT_FILENO
%76 = call i32 @write(i32 %75, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 1)
%77 = load i32, i32* %13
%78 = call i32 @close(i32 %77)
%79 = call i32 @wait(i32* null)
%80 = load i32, i32* @EXIT_SUCCESS
%81 = call i32 @exit(i32 %80)
unreachable
}