#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 ARG_MAX;
int /*<<< orphan*/ _parse_args(int, char **, char *, int, int *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
scalar_t__ pclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *popen(char *, char const *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
size_t strlen(char *);
int main(int argc, char *argv[]) {
  char cmd[ARG_MAX];
  int reverse_flag;
  char buf[ARG_MAX];
  char reversed[ARG_MAX];
  size_t i, len;
  FILE *pipe;
  const char *mode = "r";
  _parse_args(argc, argv, cmd, ARG_MAX, &reverse_flag);
  pipe = popen(cmd, mode);
  if (!pipe) {
    fprintf(stderr, "Could not open pipe (%s)\n", cmd);
    exit(1);
  }
  while (fgets(buf, ARG_MAX, pipe) != NULL) {
    len = strlen(buf);
    if (reverse_flag) {
      for (i = 0; i < len - 1; i++) {
        reversed[i] = buf[len - i - 2];
      }
      reversed[len - 1] = '\n';
      reversed[len] = '\0';
    }
    fprintf(stdout, "%s", reverse_flag ? reversed : buf);
  }
  if (pclose(pipe) != 0) {
    fprintf(stderr, "Could not close pipe (%s)\n", cmd);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e58(%rip),%rax
mov    (%rax),%ecx
mov    %rsp,%rdx
mov    %rdx,-0x18(%rbp)
mov    %rcx,%rsi
add    $0xf,%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x60(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x20(%rbp)
mov    (%rax),%ecx
mov    %rcx,%rdi
add    $0xf,%rdi
and    $0xfffffffffffffff0,%rdi
mov    %rsp,%rsi
sub    %rdi,%rsi
mov    %rsi,-0x70(%rbp)
mov    %rsi,%rsp
mov    %rcx,-0x30(%rbp)
mov    (%rax),%eax
mov    %rax,%rsi
add    $0xf,%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rcx
sub    %rsi,%rcx
mov    %rcx,-0x68(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x38(%rbp)
lea    0xe08(%rip),%rax
mov    %rax,-0x58(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    0x2dde(%rip),%rax
mov    (%rax),%ecx
lea    -0x24(%rbp),%r8
call   1070 <_parse_args@plt>
mov    -0x60(%rbp),%rdi
mov    -0x58(%rbp),%rsi
call   1080 <popen@plt>
mov    %rax,-0x50(%rbp)
cmpq   $0x0,-0x50(%rbp)
jne    1254 <main+0xe4>
mov    -0x60(%rbp),%rdx
mov    0x2d9c(%rip),%rax
mov    (%rax),%edi
lea    0xdbd(%rip),%rsi
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>
jmp    1259 <main+0xe9>
mov    -0x70(%rbp),%rdi
mov    0x2d84(%rip),%rax
mov    (%rax),%esi
mov    -0x50(%rbp),%rdx
call   1050 <fgets@plt>
cmp    $0x0,%rax
je     133c <main+0x1cc>
mov    -0x70(%rbp),%rdi
call   1030 <strlen@plt>
mov    %rax,-0x48(%rbp)
cmpl   $0x0,-0x24(%rbp)
je     12f4 <main+0x184>
movq   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%rax
mov    -0x48(%rbp),%rcx
sub    $0x1,%rcx
cmp    %rcx,%rax
jae    12dc <main+0x16c>
mov    -0x68(%rbp),%rax
mov    -0x70(%rbp),%rcx
mov    -0x48(%rbp),%rdx
sub    -0x40(%rbp),%rdx
sub    $0x2,%rdx
mov    (%rcx,%rdx,1),%dl
mov    -0x40(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    1298 <main+0x128>
mov    -0x68(%rbp),%rax
mov    -0x48(%rbp),%rcx
sub    $0x1,%rcx
movb   $0xa,(%rax,%rcx,1)
mov    -0x48(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    0x2cd5(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x74(%rbp)
cmpl   $0x0,-0x24(%rbp)
je     1317 <main+0x1a7>
mov    -0x68(%rbp),%rax
mov    %rax,-0x80(%rbp)
jmp    1324 <main+0x1b4>
mov    -0x70(%rbp),%rax
mov    %rax,-0x80(%rbp)
jmp    1324 <main+0x1b4>
mov    -0x74(%rbp),%edi
mov    -0x80(%rbp),%rdx
lea    0xcea(%rip),%rsi
call   1060 <fprintf@plt>
jmp    1259 <main+0xe9>
mov    -0x50(%rbp),%rdi
call   1040 <pclose@plt>
cmp    $0x0,%rax
je     1368 <main+0x1f8>
mov    -0x60(%rbp),%rdx
mov    0x2c7e(%rip),%rax
mov    (%rax),%edi
lea    0xcbc(%rip),%rsi
call   1060 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    0x2e60(%rip),%r12
mov    (%r12),%ecx
mov    %rsp,%rbx
mov    %rcx,%rax
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rbx
mov    %rbx,%rsp
mov    %rsp,%r13
sub    %rax,%r13
mov    %r13,%rsp
mov    %rsp,%r14
sub    %rax,%r14
mov    %r14,%rsp
lea    -0x2c(%rbp),%r8
mov    %rbx,%rdx
call   1070 <_parse_args@plt>
lea    0xe3b(%rip),%rsi
mov    %rbx,-0x38(%rbp)
mov    %rbx,%rdi
call   1080 <popen@plt>
test   %rax,%rax
je     13e2 <main+0x272>
mov    %rax,%r15
mov    (%r12),%esi
mov    %r13,%rdi
mov    %rax,%rdx
call   1050 <fgets@plt>
test   %rax,%rax
je     13ab <main+0x23b>
mov    %r12,%rbx
lea    -0x11(%r13),%rax
mov    %rax,-0x40(%rbp)
lea    -0x9(%r13),%rax
mov    %rax,-0x48(%rbp)
lea    0xe0d(%rip),%r12
jmp    1255 <main+0xe5>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movw   $0xa,-0x1(%r14,%rax,1)
mov    %r14,%rdx
mov    %r8,%rbx
mov    0x2d9b(%rip),%rax
mov    (%rax),%edi
mov    %r12,%rsi
call   1060 <fprintf@plt>
mov    (%rbx),%esi
mov    %r13,%rdi
mov    %r15,%rdx
call   1050 <fgets@plt>
test   %rax,%rax
je     13ab <main+0x23b>
mov    %r13,%rdi
call   1030 <strlen@plt>
cmpl   $0x0,-0x2c(%rbp)
mov    %r13,%rdx
je     122e <main+0xbe>
mov    %rbx,%r8
mov    %rax,%rdx
add    $0xffffffffffffffff,%rdx
je     1220 <main+0xb0>
cmp    $0x8,%rdx
jae    127f <main+0x10f>
xor    %ecx,%ecx
jmp    1387 <main+0x217>
cmp    $0x20,%rdx
jae    128c <main+0x11c>
xor    %ecx,%ecx
jmp    132d <main+0x1bd>
mov    %rdx,%rcx
and    $0xffffffffffffffe0,%rcx
mov    -0x40(%rbp),%rsi
add    %rax,%rsi
xor    %edi,%edi
pxor   %xmm3,%xmm3
movdqu -0x10(%rsi),%xmm0
movdqu (%rsi),%xmm1
movdqa %xmm1,%xmm2
punpcklbw %xmm3,%xmm2
pshufd $0x4e,%xmm2,%xmm2
pshuflw $0x1b,%xmm2,%xmm2
pshufhw $0x1b,%xmm2,%xmm2
punpckhbw %xmm3,%xmm1
pshufd $0x4e,%xmm1,%xmm1
pshuflw $0x1b,%xmm1,%xmm1
pshufhw $0x1b,%xmm1,%xmm1
packuswb %xmm2,%xmm1
movdqa %xmm0,%xmm2
punpcklbw %xmm3,%xmm2
pshufd $0x4e,%xmm2,%xmm2
pshuflw $0x1b,%xmm2,%xmm2
pshufhw $0x1b,%xmm2,%xmm2
punpckhbw %xmm3,%xmm0
pshufd $0x4e,%xmm0,%xmm0
pshuflw $0x1b,%xmm0,%xmm0
pshufhw $0x1b,%xmm0,%xmm0
packuswb %xmm2,%xmm0
movdqa %xmm1,(%r14,%rdi,1)
movdqa %xmm0,0x10(%r14,%rdi,1)
add    $0x20,%rdi
add    $0xffffffffffffffe0,%rsi
cmp    %rdi,%rcx
jne    12a0 <main+0x130>
cmp    %rcx,%rdx
je     1220 <main+0xb0>
test   $0x18,%dl
je     1387 <main+0x217>
mov    %rcx,%rsi
mov    %rdx,%rcx
and    $0xfffffffffffffff8,%rcx
mov    %rax,%rdi
sub    %rsi,%rdi
add    -0x48(%rbp),%rdi
pxor   %xmm1,%xmm1
cs nopw 0x0(%rax,%rax,1)
nop
movq   (%rdi),%xmm0
punpcklbw %xmm1,%xmm0
pshufd $0x4e,%xmm0,%xmm0
pshuflw $0x1b,%xmm0,%xmm0
pshufhw $0x1b,%xmm0,%xmm0
packuswb %xmm0,%xmm0
movq   %xmm0,(%r14,%rsi,1)
add    $0x8,%rsi
add    $0xfffffffffffffff8,%rdi
cmp    %rsi,%rcx
jne    1350 <main+0x1e0>
cmp    %rcx,%rdx
je     1220 <main+0xb0>
mov    %rax,%rdx
sub    %rcx,%rdx
add    %r14,%rcx
movzbl -0x2(%r13,%rdx,1),%ebx
mov    %bl,(%rcx)
add    $0xffffffffffffffff,%rdx
add    $0x1,%rcx
cmp    $0x1,%rdx
jne    1390 <main+0x220>
jmp    1220 <main+0xb0>
mov    %r15,%rdi
call   1040 <pclose@plt>
test   %rax,%rax
je     13d1 <main+0x261>
mov    0x2c19(%rip),%rax
mov    (%rax),%edi
lea    0xc57(%rip),%rsi
mov    -0x38(%rbp),%rdx
call   1060 <fprintf@plt>
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2bef(%rip),%rax
mov    (%rax),%edi
lea    0xc10(%rip),%rsi
mov    -0x38(%rbp),%rdx
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@ARG_MAX = global i32 0
@.str = [2 x i8] c"r\00"
@stderr = global i32 0
@.str.1 = [26 x i8] c"Could not open pipe (%s)\0A\00"
@stdout = global i32 0
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [27 x i8] c"Could not close pipe (%s)\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i64
%8 = alloca i32
%9 = alloca i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i64
%13 = alloca i32*
%14 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = load i32, i32* @ARG_MAX
%16 = zext i32 %15 to i64
%17 = call i8* @llvm.stacksave()
store i8* %17, i8** %6
%18 = alloca i8, i64 %16
store i64 %16, i64* %7
%19 = load i32, i32* @ARG_MAX
%20 = zext i32 %19 to i64
%21 = alloca i8, i64 %20
store i64 %20, i64* %9
%22 = load i32, i32* @ARG_MAX
%23 = zext i32 %22 to i64
%24 = alloca i8, i64 %23
store i64 %23, i64* %10
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %14
%25 = load i32, i32* %4
%26 = load i8**, i8*** %5
%27 = load i32, i32* @ARG_MAX
%28 = call i32 @_parse_args(i32 %25, i8** %26, i8* %18, i32 %27, i32* %8)
%29 = load i8*, i8** %14
%30 = call i32* @popen(i8* %18, i8* %29)
store i32* %30, i32** %13
%31 = load i32*, i32** %13
%32 = icmp ne i32* %31, null
br i1 %32, label %37, label %33
33: ; preds = %2
%34 = load i32, i32* @stderr
%35 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i8* %18)
%36 = call i32 @exit(i32 1)
unreachable
37: ; preds = %2
br label %38
38: ; preds = %77, %37
%39 = load i32, i32* @ARG_MAX
%40 = load i32*, i32** %13
%41 = call i32* @fgets(i8* %21, i32 %39, i32* %40)
%42 = icmp ne i32* %41, null
br i1 %42, label %43, label %80
43: ; preds = %38
%44 = call i64 @strlen(i8* %21)
store i64 %44, i64* %12
%45 = load i32, i32* %8
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %71
47: ; preds = %43
store i64 0, i64* %11
br label %48
48: ; preds = %62, %47
%49 = load i64, i64* %11
%50 = load i64, i64* %12
%51 = sub i64 %50, 1
%52 = icmp ult i64 %49, %51
br i1 %52, label %53, label %65
53: ; preds = %48
%54 = load i64, i64* %12
%55 = load i64, i64* %11
%56 = sub i64 %54, %55
%57 = sub i64 %56, 2
%58 = getelementptr inbounds i8, i8* %21, i64 %57
%59 = load i8, i8* %58
%60 = load i64, i64* %11
%61 = getelementptr inbounds i8, i8* %24, i64 %60
store i8 %59, i8* %61
br label %62
62: ; preds = %53
%63 = load i64, i64* %11
%64 = add i64 %63, 1
store i64 %64, i64* %11
br label %48
65: ; preds = %48
%66 = load i64, i64* %12
%67 = sub i64 %66, 1
%68 = getelementptr inbounds i8, i8* %24, i64 %67
store i8 10, i8* %68
%69 = load i64, i64* %12
%70 = getelementptr inbounds i8, i8* %24, i64 %69
store i8 0, i8* %70
br label %71
71: ; preds = %65, %43
%72 = load i32, i32* @stdout
%73 = load i32, i32* %8
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %71
br label %77
76: ; preds = %71
br label %77
77: ; preds = %76, %75
%78 = phi i8* [ %24, %75 ], [ %21, %76 ]
%79 = call i32 @fprintf(i32 %72, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %78)
br label %38
80: ; preds = %38
%81 = load i32*, i32** %13
%82 = call i64 @pclose(i32* %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %80
%85 = load i32, i32* @stderr
%86 = call i32 @fprintf(i32 %85, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i8* %18)
br label %87
87: ; preds = %84, %80
store i32 0, i32* %3
%88 = load i8*, i8** %6
%89 = load i32, i32* %3
ret i32 %89
}

LLVM IR (-O2):
@ARG_MAX = global i32 0
@.str = [2 x i8] c"r\00"
@stderr = global i32 0
@.str.1 = [26 x i8] c"Could not open pipe (%s)\0A\00"
@stdout = global i32 0
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [27 x i8] c"Could not close pipe (%s)\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = load i32, i32* @ARG_MAX
%5 = zext i32 %4 to i64
%6 = alloca i8, i64 %5
%7 = bitcast i32* %3 to i8*
%8 = alloca i8, i64 %5
%9 = alloca i8, i64 %5
%10 = call i32 @_parse_args(i32 %0, i8** %1, i8* %6, i32 %4, i32* %3)
%11 = call i32* @popen(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%12 = icmp eq i32* %11, null
br i1 %12, label %19, label %13
13: ; preds = %2
%14 = load i32, i32* @ARG_MAX
%15 = call i32* @fgets(i8* %8, i32 %14, i32* %11)
%16 = icmp eq i32* %15, null
br i1 %16, label %97, label %17
17: ; preds = %13
%18 = getelementptr inbounds i8, i8* %8, i64 -7
br label %23
19: ; preds = %2
%20 = load i32, i32* @stderr
%21 = call i32 @fprintf(i32 %20, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i8* %6)
%22 = call i32 @exit(i32 1)
unreachable
23: ; preds = %17, %90
%24 = call i64 @strlen(i8* %8)
%25 = load i32, i32* %3
%26 = icmp eq i32 %25, 0
br i1 %26, label %90, label %27
27: ; preds = %23
%28 = add i64 %24, -1
%29 = icmp eq i64 %28, 0
br i1 %29, label %87, label %30
30: ; preds = %27
%31 = add i64 %24, -2
%32 = icmp ult i64 %28, 8
br i1 %32, label %77, label %33
33: ; preds = %30
%34 = icmp ult i64 %28, 32
br i1 %34, label %61, label %35
35: ; preds = %33
%36 = and i64 %28, -32
br label %37
37: ; preds = %37, %35
%38 = phi i64 [ 0, %35 ], [ %54, %37 ]
%39 = sub i64 %31, %38
%40 = getelementptr inbounds i8, i8* %8, i64 %39
%41 = getelementptr inbounds i8, i8* %40, i64 -15
%42 = bitcast i8* %41 to <16 x i8>*
%43 = load <16 x i8>, <16 x i8>* %42
%44 = shufflevector <16 x i8> %43, <16 x i8> poison, <16 x i32> <i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
%45 = getelementptr inbounds i8, i8* %40, i64 -16
%46 = getelementptr inbounds i8, i8* %45, i64 -15
%47 = bitcast i8* %46 to <16 x i8>*
%48 = load <16 x i8>, <16 x i8>* %47
%49 = shufflevector <16 x i8> %48, <16 x i8> poison, <16 x i32> <i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
%50 = getelementptr inbounds i8, i8* %9, i64 %38
%51 = bitcast i8* %50 to <16 x i8>*
store <16 x i8> %44, <16 x i8>* %51
%52 = getelementptr inbounds i8, i8* %50, i64 16
%53 = bitcast i8* %52 to <16 x i8>*
store <16 x i8> %49, <16 x i8>* %53
%54 = add nuw i64 %38, 32
%55 = icmp eq i64 %54, %36
br i1 %55, label %56, label %37
56: ; preds = %37
%57 = icmp eq i64 %28, %36
br i1 %57, label %87, label %58
58: ; preds = %56
%59 = and i64 %28, 24
%60 = icmp eq i64 %59, 0
br i1 %60, label %77, label %61
61: ; preds = %33, %58
%62 = phi i64 [ %36, %58 ], [ 0, %33 ]
%63 = and i64 %28, -8
br label %64
64: ; preds = %64, %61
%65 = phi i64 [ %62, %61 ], [ %73, %64 ]
%66 = sub i64 %31, %65
%67 = getelementptr inbounds i8, i8* %18, i64 %66
%68 = bitcast i8* %67 to <8 x i8>*
%69 = load <8 x i8>, <8 x i8>* %68
%70 = shufflevector <8 x i8> %69, <8 x i8> poison, <8 x i32> <i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
%71 = getelementptr inbounds i8, i8* %9, i64 %65
%72 = bitcast i8* %71 to <8 x i8>*
store <8 x i8> %70, <8 x i8>* %72
%73 = add nuw i64 %65, 8
%74 = icmp eq i64 %73, %63
br i1 %74, label %75, label %64
75: ; preds = %64
%76 = icmp eq i64 %28, %63
br i1 %76, label %87, label %77
77: ; preds = %30, %58, %75
%78 = phi i64 [ 0, %30 ], [ %36, %58 ], [ %63, %75 ]
br label %79
79: ; preds = %77, %79
%80 = phi i64 [ %85, %79 ], [ %78, %77 ]
%81 = sub i64 %31, %80
%82 = getelementptr inbounds i8, i8* %8, i64 %81
%83 = load i8, i8* %82
%84 = getelementptr inbounds i8, i8* %9, i64 %80
store i8 %83, i8* %84
%85 = add nuw i64 %80, 1
%86 = icmp eq i64 %85, %28
br i1 %86, label %87, label %79
87: ; preds = %79, %56, %75, %27
%88 = getelementptr inbounds i8, i8* %9, i64 %28
store i8 10, i8* %88
%89 = getelementptr inbounds i8, i8* %9, i64 %24
store i8 0, i8* %89
br label %90
90: ; preds = %87, %23
%91 = phi i8* [ %9, %87 ], [ %8, %23 ]
%92 = load i32, i32* @stdout
%93 = call i32 @fprintf(i32 %92, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %91)
%94 = load i32, i32* @ARG_MAX
%95 = call i32* @fgets(i8* %8, i32 %94, i32* %11)
%96 = icmp eq i32* %95, null
br i1 %96, label %97, label %23
97: ; preds = %90, %13
%98 = call i64 @pclose(i32* %11)
%99 = icmp eq i64 %98, 0
br i1 %99, label %103, label %100
100: ; preds = %97
%101 = load i32, i32* @stderr
%102 = call i32 @fprintf(i32 %101, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i8* %6)
br label %103
103: ; preds = %100, %97
ret i32 0
}