#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*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ close(int);
int dup2(int, int);
int /*<<< orphan*/ errno;
int execv(char *, char **);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fdopen(int, char *);
int fileno(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char const *, char *);
int fork();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int pipe(int *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ streq(char const *, char *);
char *strerror(int /*<<< orphan*/);
FILE *prepare_output(char **prog, const char *ofn, int *child_pid) {
  FILE *output = NULL;
  int pip[2];
  int pid, rc, rc2;
  const int RD = 0, WR = 1;
  if (ofn && !streq(ofn, "-")) {
    output = fopen(ofn, "w");
    if (!output) {
      fprintf(stderr, "can't open output file: %s\n", ofn);
      return NULL;
    }
  }
  rc = pipe(pip);
  if (rc == -1) {
    fprintf(stderr, "can't create pipe!\n");
    return NULL;
  }
  pid = fork();
  if (pid == -1) {
    fprintf(stderr, "can't fork. bring a spoon.\n");
    return NULL;
  }
  if (pid) {
    close(pip[RD]);
    if (output)
      fclose(output);
    if (child_pid)
      *child_pid = pid;
    return fdopen(pip[WR], "w");
  } else {
    close(pip[WR]);
    rc = dup2(pip[RD], 0);
    rc2 = output ? dup2(fileno(output), 1) : 0;
    if (rc == -1 || rc2 == -1) {
      fprintf(stderr, "failed to setup I/O for the interpreter.\n");
      exit(1);
    }
    close(pip[RD]);
    if (output)
      fclose(output);
    rc = execv(prog[0], prog + 1);
    fprintf(stderr, "failed to spawn: %s: %s\n", prog[1], strerror(errno));
    exit(1);
  }
}


x86 assembly (clang, -O0):
<prepare_output>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movl   $0x0,-0x40(%rbp)
movl   $0x1,-0x44(%rbp)
cmpq   $0x0,-0x18(%rbp)
je     126a <prepare_output+0x9a>
mov    -0x18(%rbp),%rdi
lea    0xdf0(%rip),%rsi
call   1070 <streq@plt>
cmp    $0x0,%eax
jne    126a <prepare_output+0x9a>
mov    -0x18(%rbp),%rdi
lea    0xdd9(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    1265 <prepare_output+0x95>
mov    0x2d9c(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rdx
lea    0xdb3(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
movq   $0x0,-0x8(%rbp)
jmp    142b <prepare_output+0x25b>
jmp    126a <prepare_output+0x9a>
lea    -0x30(%rbp),%rdi
call   1060 <pipe@plt>
mov    %eax,-0x38(%rbp)
cmpl   $0xffffffff,-0x38(%rbp)
jne    12a4 <prepare_output+0xd4>
mov    0x2d59(%rip),%rax
mov    (%rax),%edi
lea    0xd90(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
movq   $0x0,-0x8(%rbp)
jmp    142b <prepare_output+0x25b>
mov    $0x0,%al
call   10f0 <fork@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0xffffffff,-0x34(%rbp)
jne    12dc <prepare_output+0x10c>
mov    0x2d21(%rip),%rax
mov    (%rax),%edi
lea    0xd6c(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
movq   $0x0,-0x8(%rbp)
jmp    142b <prepare_output+0x25b>
cmpl   $0x0,-0x34(%rbp)
je     132e <prepare_output+0x15e>
mov    -0x30(%rbp),%edi
call   1050 <close@plt>
cmpq   $0x0,-0x28(%rbp)
je     1302 <prepare_output+0x132>
mov    -0x28(%rbp),%rdi
call   1030 <fclose@plt>
cmpq   $0x0,-0x20(%rbp)
je     1316 <prepare_output+0x146>
mov    -0x34(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x2c(%rbp),%edi
lea    0xce2(%rip),%rsi
call   10a0 <fdopen@plt>
mov    %rax,-0x8(%rbp)
jmp    142b <prepare_output+0x25b>
mov    -0x2c(%rbp),%edi
call   1050 <close@plt>
mov    -0x30(%rbp),%edi
xor    %esi,%esi
call   1040 <dup2@plt>
mov    %eax,-0x38(%rbp)
cmpq   $0x0,-0x28(%rbp)
je     136b <prepare_output+0x19b>
mov    -0x28(%rbp),%rdi
call   1090 <fileno@plt>
mov    %eax,%edi
mov    $0x1,%esi
call   1040 <dup2@plt>
mov    %eax,-0x48(%rbp)
jmp    1375 <prepare_output+0x1a5>
xor    %eax,%eax
mov    %eax,-0x48(%rbp)
jmp    1375 <prepare_output+0x1a5>
mov    -0x48(%rbp),%eax
mov    %eax,-0x3c(%rbp)
cmpl   $0xffffffff,-0x38(%rbp)
je     138f <prepare_output+0x1bf>
cmpl   $0xffffffff,-0x3c(%rbp)
jne    13b0 <prepare_output+0x1e0>
mov    0x2c4a(%rip),%rax
mov    (%rax),%edi
lea    0xcb1(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    -0x30(%rbp),%edi
call   1050 <close@plt>
cmpq   $0x0,-0x28(%rbp)
je     13cc <prepare_output+0x1fc>
mov    -0x28(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
mov    -0x10(%rbp),%rsi
add    $0x8,%rsi
call   10e0 <execv@plt>
mov    %eax,-0x38(%rbp)
mov    0x2bf6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x54(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x50(%rbp)
mov    0x2bd6(%rip),%rax
mov    (%rax),%edi
call   10d0 <strerror@plt>
mov    -0x54(%rbp),%edi
mov    -0x50(%rbp),%rdx
mov    %rax,%rcx
lea    0xc60(%rip),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    -0x8(%rbp),%rax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<prepare_output>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %rdx,%r12
mov    %rdi,%r14
test   %rsi,%rsi
je     1201 <prepare_output+0x31>
mov    %rsi,%rbx
lea    0xe0f(%rip),%rsi
mov    %rbx,%rdi
call   1070 <streq@plt>
test   %eax,%eax
je     1299 <prepare_output+0xc9>
xor    %r15d,%r15d
lea    0x8(%rsp),%rdi
call   1060 <pipe@plt>
cmp    $0xffffffff,%eax
je     125d <prepare_output+0x8d>
xor    %eax,%eax
call   10f0 <fork@plt>
cmp    $0xffffffff,%eax
je     126f <prepare_output+0x9f>
mov    %eax,%ebx
test   %eax,%eax
je     12d3 <prepare_output+0x103>
mov    0x8(%rsp),%edi
call   1050 <close@plt>
test   %r15,%r15
je     123f <prepare_output+0x6f>
mov    %r15,%rdi
call   1030 <fclose@plt>
test   %r12,%r12
je     1248 <prepare_output+0x78>
mov    %ebx,(%r12)
mov    0xc(%rsp),%edi
lea    0xdaf(%rip),%rsi
call   10a0 <fdopen@plt>
mov    %rax,%r14
jmp    1289 <prepare_output+0xb9>
mov    0x2d7c(%rip),%rax
mov    (%rax),%edi
lea    0xdb3(%rip),%rsi
jmp    127f <prepare_output+0xaf>
mov    0x2d6a(%rip),%rax
mov    (%rax),%edi
lea    0xdb5(%rip),%rsi
xor    %r14d,%r14d
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    %r14,%rax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd62(%rip),%rsi
mov    %rbx,%rdi
call   10b0 <fopen@plt>
mov    %rax,%r15
test   %rax,%rax
jne    1204 <prepare_output+0x34>
mov    0x2d25(%rip),%rax
mov    (%rax),%edi
lea    0xd40(%rip),%rsi
xor    %r14d,%r14d
mov    %rbx,%rdx
xor    %eax,%eax
call   1080 <fprintf@plt>
jmp    1289 <prepare_output+0xb9>
mov    0xc(%rsp),%edi
call   1050 <close@plt>
mov    0x8(%rsp),%edi
xor    %ebp,%ebp
xor    %esi,%esi
call   1040 <dup2@plt>
mov    %eax,%ebx
test   %r15,%r15
je     130b <prepare_output+0x13b>
mov    %r15,%rdi
call   1090 <fileno@plt>
mov    %eax,%edi
mov    $0x1,%esi
call   1040 <dup2@plt>
cmp    $0xffffffff,%eax
sete   %bpl
cmp    $0xffffffff,%ebx
je     1372 <prepare_output+0x1a2>
test   %bpl,%bpl
jne    1372 <prepare_output+0x1a2>
mov    0x8(%rsp),%edi
call   1050 <close@plt>
test   %r15,%r15
je     132b <prepare_output+0x15b>
mov    %r15,%rdi
call   1030 <fclose@plt>
mov    (%r14),%rdi
lea    0x8(%r14),%rsi
call   10e0 <execv@plt>
mov    0x2ca2(%rip),%rax
mov    (%rax),%ebx
mov    0x8(%r14),%r14
mov    0x2c8d(%rip),%rax
mov    (%rax),%edi
call   10d0 <strerror@plt>
lea    0xd21(%rip),%rsi
mov    %ebx,%edi
mov    %r14,%rdx
mov    %rax,%rcx
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    0x2c67(%rip),%rax
mov    (%rax),%edi
lea    0xcce(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"-\00"
@.str.1 = [2 x i8] c"w\00"
@stderr = global i32 0
@.str.2 = [28 x i8] c"can't open output file: %s\0A\00"
@.str.3 = [20 x i8] c"can't create pipe!\0A\00"
@.str.4 = [28 x i8] c"can't fork. bring a spoon.\0A\00"
@.str.5 = [42 x i8] c"failed to setup I/O for the interpreter.\0A\00"
@.str.6 = [25 x i8] c"failed to spawn: %s: %s\0A\00"
@errno = global i32 0
define i32* @prepare_output(i8** %0, i8* %1, i32* %2) {
%4 = alloca i32*
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32*
%8 = alloca i32*
%9 = alloca [2 x i32]
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
store i8** %0, i8*** %5
store i8* %1, i8** %6
store i32* %2, i32** %7
store i32* null, i32** %8
store i32 0, i32* %13
store i32 1, i32* %14
%15 = load i8*, i8** %6
%16 = icmp ne i8* %15, null
br i1 %16, label %17, label %31
17: ; preds = %3
%18 = load i8*, i8** %6
%19 = call i32 @streq(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%20 = icmp ne i32 %19, 0
br i1 %20, label %31, label %21
21: ; preds = %17
%22 = load i8*, i8** %6
%23 = call i32* @fopen(i8* %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %23, i32** %8
%24 = load i32*, i32** %8
%25 = icmp ne i32* %24, null
br i1 %25, label %30, label %26
26: ; preds = %21
%27 = load i32, i32* @stderr
%28 = load i8*, i8** %6
%29 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %28)
store i32* null, i32** %4
br label %117
30: ; preds = %21
br label %31
31: ; preds = %30, %17, %3
%32 = getelementptr inbounds [2 x i32], [2 x i32]* %9, i64 0, i64 0
%33 = call i32 @pipe(i32* %32)
store i32 %33, i32* %11
%34 = load i32, i32* %11
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %39
36: ; preds = %31
%37 = load i32, i32* @stderr
%38 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
store i32* null, i32** %4
br label %117
39: ; preds = %31
%40 = call i32 (...) @fork()
store i32 %40, i32* %10
%41 = load i32, i32* %10
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = load i32, i32* @stderr
%45 = call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
store i32* null, i32** %4
br label %117
46: ; preds = %39
%47 = load i32, i32* %10
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %68
49: ; preds = %46
%50 = getelementptr inbounds [2 x i32], [2 x i32]* %9, i64 0, i64 0
%51 = load i32, i32* %50
%52 = call i32 @close(i32 %51)
%53 = load i32*, i32** %8
%54 = icmp ne i32* %53, null
br i1 %54, label %55, label %58
55: ; preds = %49
%56 = load i32*, i32** %8
%57 = call i32 @fclose(i32* %56)
br label %58
58: ; preds = %55, %49
%59 = load i32*, i32** %7
%60 = icmp ne i32* %59, null
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, i32* %10
%63 = load i32*, i32** %7
store i32 %62, i32* %63
br label %64
64: ; preds = %61, %58
%65 = getelementptr inbounds [2 x i32], [2 x i32]* %9, i64 0, i64 1
%66 = load i32, i32* %65
%67 = call i32* @fdopen(i32 %66, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %67, i32** %4
br label %117
68: ; preds = %46
%69 = getelementptr inbounds [2 x i32], [2 x i32]* %9, i64 0, i64 1
%70 = load i32, i32* %69
%71 = call i32 @close(i32 %70)
%72 = getelementptr inbounds [2 x i32], [2 x i32]* %9, i64 0, i64 0
%73 = load i32, i32* %72
%74 = call i32 @dup2(i32 %73, i32 0)
store i32 %74, i32* %11
%75 = load i32*, i32** %8
%76 = icmp ne i32* %75, null
br i1 %76, label %77, label %81
77: ; preds = %68
%78 = load i32*, i32** %8
%79 = call i32 @fileno(i32* %78)
%80 = call i32 @dup2(i32 %79, i32 1)
br label %82
81: ; preds = %68
br label %82
82: ; preds = %81, %77
%83 = phi i32 [ %80, %77 ], [ 0, %81 ]
store i32 %83, i32* %12
%84 = load i32, i32* %11
%85 = icmp eq i32 %84, -1
br i1 %85, label %89, label %86
86: ; preds = %82
%87 = load i32, i32* %12
%88 = icmp eq i32 %87, -1
br i1 %88, label %89, label %93
89: ; preds = %86, %82
%90 = load i32, i32* @stderr
%91 = call i32 (i32, i8*, ...) @fprintf(i32 %90, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
%92 = call i32 @exit(i32 1)
unreachable
93: ; preds = %86
%94 = getelementptr inbounds [2 x i32], [2 x i32]* %9, i64 0, i64 0
%95 = load i32, i32* %94
%96 = call i32 @close(i32 %95)
%97 = load i32*, i32** %8
%98 = icmp ne i32* %97, null
br i1 %98, label %99, label %102
99: ; preds = %93
%100 = load i32*, i32** %8
%101 = call i32 @fclose(i32* %100)
br label %102
102: ; preds = %99, %93
%103 = load i8**, i8*** %5
%104 = getelementptr inbounds i8*, i8** %103, i64 0
%105 = load i8*, i8** %104
%106 = load i8**, i8*** %5
%107 = getelementptr inbounds i8*, i8** %106, i64 1
%108 = call i32 @execv(i8* %105, i8** %107)
store i32 %108, i32* %11
%109 = load i32, i32* @stderr
%110 = load i8**, i8*** %5
%111 = getelementptr inbounds i8*, i8** %110, i64 1
%112 = load i8*, i8** %111
%113 = load i32, i32* @errno
%114 = call i8* @strerror(i32 %113)
%115 = call i32 (i32, i8*, ...) @fprintf(i32 %109, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i8* %112, i8* %114)
%116 = call i32 @exit(i32 1)
unreachable
117: ; preds = %64, %43, %36, %26
%118 = load i32*, i32** %4
ret i32* %118
}

LLVM IR (-O2):
@.str = [2 x i8] c"-\00"
@.str.1 = [2 x i8] c"w\00"
@stderr = global i32 0
@.str.2 = [28 x i8] c"can't open output file: %s\0A\00"
@.str.3 = [20 x i8] c"can't create pipe!\0A\00"
@.str.4 = [28 x i8] c"can't fork. bring a spoon.\0A\00"
@.str.5 = [42 x i8] c"failed to setup I/O for the interpreter.\0A\00"
@.str.6 = [25 x i8] c"failed to spawn: %s: %s\0A\00"
@errno = global i32 0
define noalias i32* @prepare_output(i8** %0, i8* %1, i32* writeonly %2) {
%4 = alloca [2 x i32]
%5 = bitcast [2 x i32]* %4 to i8*
%6 = icmp eq i8* %1, null
br i1 %6, label %16, label %7
7: ; preds = %3
%8 = tail call i32 @streq(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = tail call i32* @fopen(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp eq i32* %11, null
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, i32* @stderr
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i8* %1)
br label %76
16: ; preds = %10, %7, %3
%17 = phi i32* [ null, %7 ], [ %11, %10 ], [ null, %3 ]
%18 = getelementptr inbounds [2 x i32], [2 x i32]* %4, i64 0, i64 0
%19 = call i32 @pipe(i32* %18)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i32, i32* @stderr
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
br label %76
24: ; preds = %16
%25 = call i32 (...) @fork()
switch i32 %25, label %29 [
i32 -1, label %26
i32 0, label %42
]
26: ; preds = %24
%27 = load i32, i32* @stderr
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
br label %76
29: ; preds = %24
%30 = load i32, i32* %18
%31 = call i32 @close(i32 %30)
%32 = icmp eq i32* %17, null
br i1 %32, label %35, label %33
33: ; preds = %29
%34 = call i32 @fclose(i32* %17)
br label %35
35: ; preds = %33, %29
%36 = icmp eq i32* %2, null
br i1 %36, label %38, label %37
37: ; preds = %35
store i32 %25, i32* %2
br label %38
38: ; preds = %37, %35
%39 = getelementptr inbounds [2 x i32], [2 x i32]* %4, i64 0, i64 1
%40 = load i32, i32* %39
%41 = call i32* @fdopen(i32 %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %76
42: ; preds = %24
%43 = getelementptr inbounds [2 x i32], [2 x i32]* %4, i64 0, i64 1
%44 = load i32, i32* %43
%45 = call i32 @close(i32 %44)
%46 = load i32, i32* %18
%47 = call i32 @dup2(i32 %46, i32 0)
%48 = icmp eq i32* %17, null
br i1 %48, label %53, label %49
49: ; preds = %42
%50 = call i32 @fileno(i32* %17)
%51 = call i32 @dup2(i32 %50, i32 1)
%52 = icmp eq i32 %51, -1
br label %53
53: ; preds = %42, %49
%54 = phi i1 [ %52, %49 ], [ false, %42 ]
%55 = icmp eq i32 %47, -1
%56 = select i1 %55, i1 true, i1 %54
br i1 %56, label %57, label %61
57: ; preds = %53
%58 = load i32, i32* @stderr
%59 = call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
%60 = call i32 @exit(i32 1)
unreachable
61: ; preds = %53
%62 = load i32, i32* %18
%63 = call i32 @close(i32 %62)
br i1 %48, label %66, label %64
64: ; preds = %61
%65 = call i32 @fclose(i32* %17)
br label %66
66: ; preds = %64, %61
%67 = load i8*, i8** %0
%68 = getelementptr inbounds i8*, i8** %0, i64 1
%69 = call i32 @execv(i8* %67, i8** %68)
%70 = load i32, i32* @stderr
%71 = load i8*, i8** %68
%72 = load i32, i32* @errno
%73 = call i8* @strerror(i32 %72)
%74 = call i32 (i32, i8*, ...) @fprintf(i32 %70, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i8* %71, i8* %73)
%75 = call i32 @exit(i32 1)
unreachable
76: ; preds = %38, %26, %21, %13
%77 = phi i32* [ null, %21 ], [ null, %26 ], [ %41, %38 ], [ null, %13 ]
ret i32* %77
}