#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 */
struct utsname {
  int /*<<< orphan*/ release;
};
typedef scalar_t__ pid_t;

/* Variables and functions */
int /*<<< orphan*/ PR_SET_NO_NEW_PRIVS;
int WEXITSTATUS(int);
scalar_t__ WIFEXITED(int);
int /*<<< orphan*/ execvp(char *, char **);
int /*<<< orphan*/ exit(int);
scalar_t__ fork();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int);
int getopt(int, char **, char *);
int optind;
int /*<<< orphan*/ perror(char *);
int prctl(int /*<<< orphan*/, int, int /*<<< orphan*/, int /*<<< orphan*/,
          int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
scalar_t__ strverscmp(int /*<<< orphan*/, char *);
scalar_t__ uname(struct utsname *);
int /*<<< orphan*/ usage(char *);
scalar_t__ wait(int *);
int main(int argc, char **argv) {
  bool nobounded;
  struct utsname uts;
  pid_t pid;
  int rc, status;
  int opt;
  bool nnp = false;
  while ((opt = getopt(argc, argv, "n")) != -1) {
    switch (opt) {
    case 'n':
      nnp = true;
      break;
    default:
      usage(argv[0]);
      break;
    }
  }
  if ((argc - optind) < 2)
    usage(argv[0]);
  if (uname(&uts) < 0) {
    perror("uname");
    exit(-1);
  }
  nobounded = ((strcmp(argv[argc - 1], "test_bounded_t") == 0) &&
               (strverscmp(uts.release, "3.18") < 0));
  if (nnp) {
    rc = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
    if (rc < 0) {
      perror("prctl PR_SET_NO_NEW_PRIVS");
      exit(-1);
    }
  }
  pid = fork();
  if (pid < 0) {
    perror("fork");
    exit(-1);
  }
  if (pid == 0) {
    execvp(argv[optind], &argv[optind]);
    perror(argv[optind]);
    exit(-1);
  }
  pid = wait(&status);
  if (WIFEXITED(status)) {
    if (WEXITSTATUS(status) && nobounded) {
      printf("%s:  Kernels < v3.18 do not support bounded transitions under "
             "NNP.\n",
             argv[0]);
      exit(0);
    }
    exit(WEXITSTATUS(status));
  }
  fprintf(stderr, "Unexpected exit status 0x%x\n", status);
  exit(-1);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xde5(%rip),%rdx
call   10c0 <getopt@plt>
mov    %eax,-0x2c(%rbp)
cmp    $0xffffffff,%eax
je     125a <main+0x6a>
mov    -0x2c(%rbp),%eax
sub    $0x6e,%eax
jne    1249 <main+0x59>
jmp    123d <main+0x4d>
movl   $0x1,-0x30(%rbp)
jmp    1255 <main+0x65>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1090 <usage@plt>
jmp    120d <main+0x1d>
mov    -0x8(%rbp),%eax
mov    0x2d84(%rip),%rcx
sub    (%rcx),%eax
cmp    $0x2,%eax
jge    127b <main+0x8b>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1090 <usage@plt>
lea    -0x18(%rbp),%rdi
call   1050 <uname@plt>
cmp    $0x0,%rax
jge    12a4 <main+0xb4>
lea    0xd6d(%rip),%rdi
call   10b0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd4c(%rip),%rsi
call   1060 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    $0x0,%rcx
mov    %al,-0x31(%rbp)
jne    12ec <main+0xfc>
mov    -0x18(%rbp),%edi
lea    0xd3a(%rip),%rsi
call   1030 <strverscmp@plt>
cmp    $0x0,%rax
setl   %al
mov    %al,-0x31(%rbp)
mov    -0x31(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x30(%rbp)
je     1345 <main+0x155>
mov    0x2cc8(%rip),%rax
mov    (%rax),%edi
mov    $0x1,%esi
xor    %r8d,%r8d
mov    %r8d,%edx
mov    %r8d,%ecx
call   1080 <prctl@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jge    1340 <main+0x150>
lea    0xceb(%rip),%rdi
call   10b0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
jmp    1345 <main+0x155>
mov    $0x0,%al
call   1110 <fork@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jge    1371 <main+0x181>
lea    0xcd4(%rip),%rdi
call   10b0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
cmpq   $0x0,-0x20(%rbp)
jne    13c9 <main+0x1d9>
mov    -0x10(%rbp),%rax
mov    0x2c61(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x10(%rbp),%rsi
mov    0x2c4f(%rip),%rax
movslq (%rax),%rax
shl    $0x3,%rax
add    %rax,%rsi
call   10d0 <execvp@plt>
mov    -0x10(%rbp),%rax
mov    0x2c35(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
call   10b0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
lea    -0x28(%rbp),%rdi
call   1100 <wait@plt>
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%edi
call   10e0 <WIFEXITED@plt>
cmp    $0x0,%rax
je     142c <main+0x23c>
mov    -0x28(%rbp),%edi
call   10a0 <WEXITSTATUS@plt>
cmp    $0x0,%eax
je     141d <main+0x22d>
cmpl   $0x0,-0x14(%rbp)
je     141d <main+0x22d>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xc2a(%rip),%rdi
call   1040 <printf@plt>
xor    %edi,%edi
call   10f0 <exit@plt>
mov    -0x28(%rbp),%edi
call   10a0 <WEXITSTATUS@plt>
mov    %eax,%edi
call   10f0 <exit@plt>
mov    0x2ba5(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%edx
lea    0xc40(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
mov    $0x1,%r12b
lea    0xdf5(%rip),%r14
jmp    1210 <main+0x20>
xor    %r12d,%r12d
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r14,%rdx
call   10c0 <getopt@plt>
cmp    $0x6e,%eax
je     120d <main+0x1d>
cmp    $0xffffffff,%eax
je     1231 <main+0x41>
mov    (%rbx),%rdi
call   1090 <usage@plt>
jmp    1210 <main+0x20>
mov    0x2db0(%rip),%r15
mov    %ebp,%eax
sub    (%r15),%eax
cmp    $0x1,%eax
jg     124a <main+0x5a>
mov    (%rbx),%rdi
call   1090 <usage@plt>
lea    0x8(%rsp),%rdi
call   1050 <uname@plt>
test   %rax,%rax
jns    1265 <main+0x75>
lea    0xda2(%rip),%rdi
jmp    12fb <main+0x10b>
movslq %ebp,%rax
mov    -0x8(%rbx,%rax,8),%rdi
lea    0xd94(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
jne    129d <main+0xad>
mov    0x8(%rsp),%edi
lea    0xd8e(%rip),%rsi
call   1030 <strverscmp@plt>
mov    %rax,%r14
shr    $0x3f,%r14
test   $0x1,%r12b
je     12a6 <main+0xb6>
jmp    12cd <main+0xdd>
xor    %r14d,%r14d
test   $0x1,%r12b
jne    12cd <main+0xdd>
mov    0x2d23(%rip),%rax
mov    (%rax),%edi
mov    $0x1,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
call   1080 <prctl@plt>
test   %eax,%eax
jns    12cd <main+0xdd>
lea    0xd51(%rip),%rdi
jmp    12fb <main+0x10b>
xor    %eax,%eax
call   1110 <fork@plt>
test   %rax,%rax
jns    12e2 <main+0xf2>
lea    0xd56(%rip),%rdi
jmp    12fb <main+0x10b>
jne    130a <main+0x11a>
movslq (%r15),%rax
lea    (%rbx,%rax,8),%rsi
mov    (%rbx,%rax,8),%rdi
call   10d0 <execvp@plt>
movslq (%r15),%rax
mov    (%rbx,%rax,8),%rdi
call   10b0 <perror@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
lea    0x4(%rsp),%rdi
call   1100 <wait@plt>
mov    0x4(%rsp),%edi
call   10e0 <WIFEXITED@plt>
test   %rax,%rax
jne    1345 <main+0x155>
mov    0x2caf(%rip),%rax
mov    (%rax),%edi
mov    0x4(%rsp),%edx
lea    0xd49(%rip),%rsi
call   1070 <fprintf@plt>
mov    $0xffffffff,%edi
call   10f0 <exit@plt>
mov    0x4(%rsp),%edi
call   10a0 <WEXITSTATUS@plt>
test   %eax,%eax
setne  %al
and    %r14b,%al
cmp    $0x1,%al
jne    1370 <main+0x180>
mov    (%rbx),%rsi
lea    0xcd7(%rip),%rdi
call   1040 <printf@plt>
xor    %edi,%edi
call   10f0 <exit@plt>
mov    0x4(%rsp),%edi
call   10a0 <WEXITSTATUS@plt>
mov    %eax,%edi
call   10f0 <exit@plt>

LLVM IR (-O0):
%struct.utsname = type { i32 }
@.str = [2 x i8] c"n\00"
@optind = global i32 0
@.str.1 = [6 x i8] c"uname\00"
@.str.2 = [15 x i8] c"test_bounded_t\00"
@.str.3 = [5 x i8] c"3.18\00"
@PR_SET_NO_NEW_PRIVS = global i32 0
@.str.4 = [26 x i8] c"prctl PR_SET_NO_NEW_PRIVS\00"
@.str.5 = [5 x i8] c"fork\00"
@.str.6 = [68 x i8] c"%s: Kernels < v3.18 do not support bounded transitions under NNP.\0A\00"
@stderr = global i32 0
@.str.7 = [29 x i8] c"Unexpected exit status 0x%x\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca %struct.utsname
%8 = alloca i64
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %12
br label %13
13: ; preds = %26, %2
%14 = load i32, i32* %4
%15 = load i8**, i8*** %5
%16 = call i32 @getopt(i32 %14, i8** %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 %16, i32* %11
%17 = icmp ne i32 %16, -1
br i1 %17, label %18, label %27
18: ; preds = %13
%19 = load i32, i32* %11
switch i32 %19, label %21 [
i32 110, label %20
]
20: ; preds = %18
store i32 1, i32* %12
br label %26
21: ; preds = %18
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 0
%24 = load i8*, i8** %23
%25 = call i32 @usage(i8* %24)
br label %26
26: ; preds = %21, %20
br label %13
27: ; preds = %13
%28 = load i32, i32* %4
%29 = load i32, i32* @optind
%30 = sub nsw i32 %28, %29
%31 = icmp slt i32 %30, 2
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load i8**, i8*** %5
%34 = getelementptr inbounds i8*, i8** %33, i64 0
%35 = load i8*, i8** %34
%36 = call i32 @usage(i8* %35)
br label %37
37: ; preds = %32, %27
%38 = call i64 @uname(%struct.utsname* %7)
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%42 = call i32 @exit(i32 -1)
unreachable
43: ; preds = %37
%44 = load i8**, i8*** %5
%45 = load i32, i32* %4
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8*, i8** %44, i64 %47
%49 = load i8*, i8** %48
%50 = call i64 @strcmp(i8* %49, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %43
%53 = getelementptr inbounds %struct.utsname, %struct.utsname* %7, i32 0, i32 0
%54 = load i32, i32* %53
%55 = call i64 @strverscmp(i32 %54, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%56 = icmp slt i64 %55, 0
br label %57
57: ; preds = %52, %43
%58 = phi i1 [ false, %43 ], [ %56, %52 ]
%59 = zext i1 %58 to i32
store i32 %59, i32* %6
%60 = load i32, i32* %12
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %71
62: ; preds = %57
%63 = load i32, i32* @PR_SET_NO_NEW_PRIVS
%64 = call i32 @prctl(i32 %63, i32 1, i32 0, i32 0, i32 0)
store i32 %64, i32* %9
%65 = load i32, i32* %9
%66 = icmp slt i32 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %62
%68 = call i32 @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
%69 = call i32 @exit(i32 -1)
unreachable
70: ; preds = %62
br label %71
71: ; preds = %70, %57
%72 = call i64 (...) @fork()
store i64 %72, i64* %8
%73 = load i64, i64* %8
%74 = icmp slt i64 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %71
%76 = call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%77 = call i32 @exit(i32 -1)
unreachable
78: ; preds = %71
%79 = load i64, i64* %8
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %99
81: ; preds = %78
%82 = load i8**, i8*** %5
%83 = load i32, i32* @optind
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8*, i8** %82, i64 %84
%86 = load i8*, i8** %85
%87 = load i8**, i8*** %5
%88 = load i32, i32* @optind
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8*, i8** %87, i64 %89
%91 = call i32 @execvp(i8* %86, i8** %90)
%92 = load i8**, i8*** %5
%93 = load i32, i32* @optind
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8*, i8** %92, i64 %94
%96 = load i8*, i8** %95
%97 = call i32 @perror(i8* %96)
%98 = call i32 @exit(i32 -1)
unreachable
99: ; preds = %78
%100 = call i64 @wait(i32* %10)
store i64 %100, i64* %8
%101 = load i32, i32* %10
%102 = call i64 @WIFEXITED(i32 %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %121
104: ; preds = %99
%105 = load i32, i32* %10
%106 = call i32 @WEXITSTATUS(i32 %105)
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %117
108: ; preds = %104
%109 = load i32, i32* %6
%110 = icmp ne i32 %109, 0
br i1 %110, label %111, label %117
111: ; preds = %108
%112 = load i8**, i8*** %5
%113 = getelementptr inbounds i8*, i8** %112, i64 0
%114 = load i8*, i8** %113
%115 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i64 0, i64 0), i8* %114)
%116 = call i32 @exit(i32 0)
unreachable
117: ; preds = %108, %104
%118 = load i32, i32* %10
%119 = call i32 @WEXITSTATUS(i32 %118)
%120 = call i32 @exit(i32 %119)
unreachable
121: ; preds = %99
%122 = load i32, i32* @stderr
%123 = load i32, i32* %10
%124 = call i32 @fprintf(i32 %122, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0), i32 %123)
%125 = call i32 @exit(i32 -1)
unreachable
}

LLVM IR (-O2):
%struct.utsname = type { i32 }
@.str = [2 x i8] c"n\00"
@optind = global i32 0
@.str.1 = [6 x i8] c"uname\00"
@.str.2 = [15 x i8] c"test_bounded_t\00"
@.str.3 = [5 x i8] c"3.18\00"
@PR_SET_NO_NEW_PRIVS = global i32 0
@.str.4 = [26 x i8] c"prctl PR_SET_NO_NEW_PRIVS\00"
@.str.5 = [5 x i8] c"fork\00"
@.str.6 = [68 x i8] c"%s: Kernels < v3.18 do not support bounded transitions under NNP.\0A\00"
@stderr = global i32 0
@.str.7 = [29 x i8] c"Unexpected exit status 0x%x\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca %struct.utsname
%4 = alloca i32
%5 = bitcast %struct.utsname* %3 to i8*
%6 = bitcast i32* %4 to i8*
br label %7
7: ; preds = %9, %2
%8 = phi i1 [ true, %2 ], [ false, %9 ]
br label %9
9: ; preds = %7, %11
%10 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
switch i32 %10, label %11 [
i32 -1, label %14
i32 110, label %7
]
11: ; preds = %9
%12 = load i8*, i8** %1
%13 = tail call i32 @usage(i8* %12)
br label %9
14: ; preds = %9
%15 = load i32, i32* @optind
%16 = sub nsw i32 %0, %15
%17 = icmp slt i32 %16, 2
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i8*, i8** %1
%20 = tail call i32 @usage(i8* %19)
br label %21
21: ; preds = %18, %14
%22 = call i64 @uname(%struct.utsname* %3)
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = tail call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%26 = tail call i32 @exit(i32 -1)
unreachable
27: ; preds = %21
%28 = add nsw i32 %0, -1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8*, i8** %1, i64 %29
%31 = load i8*, i8** %30
%32 = tail call i64 @strcmp(i8* %31, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %27
%35 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 0
%36 = load i32, i32* %35
%37 = tail call i64 @strverscmp(i32 %36, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%38 = icmp slt i64 %37, 0
br label %39
39: ; preds = %34, %27
%40 = phi i1 [ false, %27 ], [ %38, %34 ]
br i1 %8, label %48, label %41
41: ; preds = %39
%42 = load i32, i32* @PR_SET_NO_NEW_PRIVS
%43 = tail call i32 @prctl(i32 %42, i32 1, i32 0, i32 0, i32 0)
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %41
%46 = tail call i32 @perror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
%47 = tail call i32 @exit(i32 -1)
unreachable
48: ; preds = %41, %39
%49 = tail call i64 (...) @fork()
%50 = icmp slt i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = tail call i32 @perror(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%53 = tail call i32 @exit(i32 -1)
unreachable
54: ; preds = %48
%55 = icmp eq i64 %49, 0
br i1 %55, label %56, label %68
56: ; preds = %54
%57 = load i32, i32* @optind
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8*, i8** %1, i64 %58
%60 = load i8*, i8** %59
%61 = tail call i32 @execvp(i8* %60, i8** %59)
%62 = load i32, i32* @optind
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8*, i8** %1, i64 %63
%65 = load i8*, i8** %64
%66 = tail call i32 @perror(i8* %65)
%67 = tail call i32 @exit(i32 -1)
unreachable
68: ; preds = %54
%69 = call i64 @wait(i32* %4)
%70 = load i32, i32* %4
%71 = call i64 @WIFEXITED(i32 %70)
%72 = icmp eq i64 %71, 0
br i1 %72, label %86, label %73
73: ; preds = %68
%74 = load i32, i32* %4
%75 = call i32 @WEXITSTATUS(i32 %74)
%76 = icmp ne i32 %75, 0
%77 = select i1 %76, i1 %40, i1 false
br i1 %77, label %78, label %82
78: ; preds = %73
%79 = load i8*, i8** %1
%80 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i64 0, i64 0), i8* %79)
%81 = call i32 @exit(i32 0)
unreachable
82: ; preds = %73
%83 = load i32, i32* %4
%84 = call i32 @WEXITSTATUS(i32 %83)
%85 = call i32 @exit(i32 %84)
unreachable
86: ; preds = %68
%87 = load i32, i32* @stderr
%88 = load i32, i32* %4
%89 = call i32 @fprintf(i32 %87, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0), i32 %88)
%90 = call i32 @exit(i32 -1)
unreachable
}