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

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ _exit(int /*<<< orphan*/);
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ errno;
int /*<<< orphan*/ execvp(char *, char **);
int fork();
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
char **get_cmd_line_args(int /*<<< orphan*/);
int geteuid();
int /*<<< orphan*/ getpid();
int /*<<< orphan*/ setenv(char *, char *, int);
scalar_t__ setns(int, int /*<<< orphan*/);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ stderr;
char *strerror(int /*<<< orphan*/);
scalar_t__ syscall_setresgid(int /*<<< orphan*/, int /*<<< orphan*/,
                             int /*<<< orphan*/);
scalar_t__ syscall_setresuid(int /*<<< orphan*/, int /*<<< orphan*/,
                             int /*<<< orphan*/);
int reexec_userns_join(int userns, int mountns) {
  pid_t ppid = getpid();
  char uid[16];
  char **argv;
  int pid;
  sprintf(uid, "%d", geteuid());
  argv = get_cmd_line_args(ppid);
  if (argv == NULL) {
    fprintf(stderr, "cannot read argv: %s\n", strerror(errno));
    _exit(EXIT_FAILURE);
  }
  pid = fork();
  if (pid < 0)
    fprintf(stderr, "cannot fork: %s\n", strerror(errno));
  if (pid)
    return pid;
  setenv("_LIBPOD_USERNS_CONFIGURED", "init", 1);
  setenv("_LIBPOD_ROOTLESS_UID", uid, 1);
  if (setns(userns, 0) < 0) {
    fprintf(stderr, "cannot setns: %s\n", strerror(errno));
    _exit(EXIT_FAILURE);
  }
  close(userns);
  if (mountns >= 0 && setns(mountns, 0) < 0) {
    fprintf(stderr, "cannot setns: %s\n", strerror(errno));
    _exit(EXIT_FAILURE);
  }
  close(userns);
  if (syscall_setresgid(0, 0, 0) < 0) {
    fprintf(stderr, "cannot setresgid: %s\n", strerror(errno));
    _exit(EXIT_FAILURE);
  }
  if (syscall_setresuid(0, 0, 0) < 0) {
    fprintf(stderr, "cannot setresuid: %s\n", strerror(errno));
    _exit(EXIT_FAILURE);
  }
  execvp(argv[0], argv);
  _exit(EXIT_FAILURE);
}


x86 assembly (clang, -O0):
<reexec_userns_join>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    $0x0,%al
call   1050 <getpid@plt>
mov    %eax,-0xc(%rbp)
lea    -0x20(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    $0x0,%al
call   1070 <geteuid@plt>
mov    -0x38(%rbp),%rdi
mov    %eax,%edx
lea    0xdec(%rip),%rsi
call   10d0 <sprintf@plt>
mov    -0xc(%rbp),%edi
call   1100 <get_cmd_line_args@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    126a <reexec_userns_join+0x8a>
mov    0x2da9(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
mov    0x2d95(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    -0x3c(%rbp),%edi
mov    %rax,%rdx
lea    0xdac(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2d6d(%rip),%rax
mov    (%rax),%edi
call   1030 <_exit@plt>
mov    $0x0,%al
call   10f0 <fork@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jge    12aa <reexec_userns_join+0xca>
mov    0x2d5b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x40(%rbp)
mov    0x2d47(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    -0x40(%rbp),%edi
mov    %rax,%rdx
lea    0xd74(%rip),%rsi
call   10a0 <fprintf@plt>
cmpl   $0x0,-0x2c(%rbp)
je     12bd <reexec_userns_join+0xdd>
mov    -0x2c(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret
lea    0xd66(%rip),%rdi
lea    0xd79(%rip),%rsi
mov    $0x1,%edx
call   1040 <setenv@plt>
lea    -0x20(%rbp),%rsi
lea    0xd69(%rip),%rdi
mov    $0x1,%edx
call   1040 <setenv@plt>
mov    -0x4(%rbp),%edi
xor    %esi,%esi
call   1060 <setns@plt>
cmp    $0x0,%rax
jge    1338 <reexec_userns_join+0x158>
mov    0x2cdb(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x44(%rbp)
mov    0x2cc7(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    -0x44(%rbp),%edi
mov    %rax,%rdx
lea    0xd39(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2c9f(%rip),%rax
mov    (%rax),%edi
call   1030 <_exit@plt>
mov    -0x4(%rbp),%edi
call   1080 <close@plt>
cmpl   $0x0,-0x8(%rbp)
jl     1398 <reexec_userns_join+0x1b8>
mov    -0x8(%rbp),%edi
xor    %esi,%esi
call   1060 <setns@plt>
cmp    $0x0,%rax
jge    1398 <reexec_userns_join+0x1b8>
mov    0x2c7b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x48(%rbp)
mov    0x2c67(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    -0x48(%rbp),%edi
mov    %rax,%rdx
lea    0xcd9(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2c3f(%rip),%rax
mov    (%rax),%edi
call   1030 <_exit@plt>
mov    -0x4(%rbp),%edi
call   1080 <close@plt>
xor    %edx,%edx
mov    %edx,%edi
mov    %edx,%esi
call   10b0 <syscall_setresgid@plt>
cmp    $0x0,%rax
jge    13ef <reexec_userns_join+0x20f>
mov    0x2c24(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4c(%rbp)
mov    0x2c10(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    -0x4c(%rbp),%edi
mov    %rax,%rdx
lea    0xc94(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2be8(%rip),%rax
mov    (%rax),%edi
call   1030 <_exit@plt>
xor    %edx,%edx
mov    %edx,%edi
mov    %edx,%esi
call   1090 <syscall_setresuid@plt>
cmp    $0x0,%rax
jge    143e <reexec_userns_join+0x25e>
mov    0x2bd5(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x50(%rbp)
mov    0x2bc1(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
mov    -0x50(%rbp),%edi
mov    %rax,%rdx
lea    0xc5b(%rip),%rsi
call   10a0 <fprintf@plt>
mov    0x2b99(%rip),%rax
mov    (%rax),%edi
call   1030 <_exit@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%rdi
mov    -0x28(%rbp),%rsi
call   10c0 <execvp@plt>
mov    0x2b7b(%rip),%rax
mov    (%rax),%edi
call   1030 <_exit@plt>

x86 assembly (clang, -O2):
<reexec_userns_join>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    %esi,%r15d
mov    %edi,%r14d
xor    %eax,%eax
call   1050 <getpid@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1070 <geteuid@plt>
lea    0xdf9(%rip),%rsi
mov    %rsp,%rdi
mov    %eax,%edx
call   10d0 <sprintf@plt>
mov    %ebx,%edi
call   1100 <get_cmd_line_args@plt>
test   %rax,%rax
je     12cb <reexec_userns_join+0xeb>
mov    %rax,%rbx
xor    %eax,%eax
call   10f0 <fork@plt>
mov    %eax,%ebp
test   %eax,%eax
js     1296 <reexec_userns_join+0xb6>
jne    12be <reexec_userns_join+0xde>
lea    0xdec(%rip),%rdi
lea    0xdff(%rip),%rsi
mov    $0x1,%edx
call   1040 <setenv@plt>
lea    0xdf3(%rip),%rdi
mov    %rsp,%rsi
mov    $0x1,%edx
call   1040 <setenv@plt>
mov    %r14d,%edi
xor    %esi,%esi
call   1060 <setns@plt>
test   %rax,%rax
jns    1301 <reexec_userns_join+0x121>
mov    0x2d63(%rip),%rax
mov    (%rax),%ebx
mov    0x2d52(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
lea    0xdca(%rip),%rsi
jmp    12e9 <reexec_userns_join+0x109>
mov    0x2d43(%rip),%rax
mov    (%rax),%ebx
mov    0x2d32(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
lea    0xd65(%rip),%rsi
mov    %ebx,%edi
mov    %rax,%rdx
call   10a0 <fprintf@plt>
mov    %ebp,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2d0e(%rip),%rax
mov    (%rax),%ebx
mov    0x2cfd(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
lea    0xd1a(%rip),%rsi
mov    %ebx,%edi
mov    %rax,%rdx
call   10a0 <fprintf@plt>
mov    0x2cd6(%rip),%rax
mov    (%rax),%edi
call   1030 <_exit@plt>
mov    %r14d,%edi
call   1080 <close@plt>
test   %r15d,%r15d
js     1321 <reexec_userns_join+0x141>
mov    %r15d,%edi
xor    %esi,%esi
call   1060 <setns@plt>
test   %rax,%rax
js     1276 <reexec_userns_join+0x96>
mov    %r14d,%edi
call   1080 <close@plt>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
call   10b0 <syscall_setresgid@plt>
test   %rax,%rax
jns    1359 <reexec_userns_join+0x179>
mov    0x2ca0(%rip),%rax
mov    (%rax),%ebx
mov    0x2c8f(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
lea    0xd19(%rip),%rsi
jmp    12e9 <reexec_userns_join+0x109>
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1090 <syscall_setresuid@plt>
test   %rax,%rax
jns    138c <reexec_userns_join+0x1ac>
mov    0x2c70(%rip),%rax
mov    (%rax),%ebx
mov    0x2c5f(%rip),%rax
mov    (%rax),%edi
call   10e0 <strerror@plt>
lea    0xcff(%rip),%rsi
jmp    12e9 <reexec_userns_join+0x109>
mov    (%rbx),%rdi
mov    %rbx,%rsi
call   10c0 <execvp@plt>
jmp    12f3 <reexec_userns_join+0x113>

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@stderr = global i32 0
@.str.1 = [22 x i8] c"cannot read argv: %s\0A\00"
@errno = global i32 0
@EXIT_FAILURE = global i32 0
@.str.2 = [17 x i8] c"cannot fork: %s\0A\00"
@.str.3 = [26 x i8] c"_LIBPOD_USERNS_CONFIGURED\00"
@.str.4 = [5 x i8] c"init\00"
@.str.5 = [21 x i8] c"_LIBPOD_ROOTLESS_UID\00"
@.str.6 = [18 x i8] c"cannot setns: %s\0A\00"
@.str.7 = [22 x i8] c"cannot setresgid: %s\0A\00"
@.str.8 = [22 x i8] c"cannot setresuid: %s\0A\00"
define i32 @reexec_userns_join(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca [16 x i8]
%7 = alloca i8**
%8 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%9 = call i32 (...) @getpid()
store i32 %9, i32* %5
%10 = getelementptr inbounds [16 x i8], [16 x i8]* %6, i64 0, i64 0
%11 = call i32 (...) @geteuid()
%12 = call i32 @sprintf(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %11)
%13 = load i32, i32* %5
%14 = call i8** @get_cmd_line_args(i32 %13)
store i8** %14, i8*** %7
%15 = load i8**, i8*** %7
%16 = icmp eq i8** %15, null
br i1 %16, label %17, label %24
17: ; preds = %2
%18 = load i32, i32* @stderr
%19 = load i32, i32* @errno
%20 = call i8* @strerror(i32 %19)
%21 = call i32 @fprintf(i32 %18, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %20)
%22 = load i32, i32* @EXIT_FAILURE
%23 = call i32 @_exit(i32 %22)
unreachable
24: ; preds = %2
%25 = call i32 (...) @fork()
store i32 %25, i32* %8
%26 = load i32, i32* %8
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load i32, i32* @stderr
%30 = load i32, i32* @errno
%31 = call i8* @strerror(i32 %30)
%32 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %31)
br label %33
33: ; preds = %28, %24
%34 = load i32, i32* %8
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = load i32, i32* %8
ret i32 %37
38: ; preds = %33
%39 = call i32 @setenv(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1)
%40 = getelementptr inbounds [16 x i8], [16 x i8]* %6, i64 0, i64 0
%41 = call i32 @setenv(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8* %40, i32 1)
%42 = load i32, i32* %3
%43 = call i64 @setns(i32 %42, i32 0)
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %52
45: ; preds = %38
%46 = load i32, i32* @stderr
%47 = load i32, i32* @errno
%48 = call i8* @strerror(i32 %47)
%49 = call i32 @fprintf(i32 %46, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i8* %48)
%50 = load i32, i32* @EXIT_FAILURE
%51 = call i32 @_exit(i32 %50)
unreachable
52: ; preds = %38
%53 = load i32, i32* %3
%54 = call i32 @close(i32 %53)
%55 = load i32, i32* %4
%56 = icmp sge i32 %55, 0
br i1 %56, label %57, label %68
57: ; preds = %52
%58 = load i32, i32* %4
%59 = call i64 @setns(i32 %58, i32 0)
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %68
61: ; preds = %57
%62 = load i32, i32* @stderr
%63 = load i32, i32* @errno
%64 = call i8* @strerror(i32 %63)
%65 = call i32 @fprintf(i32 %62, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i8* %64)
%66 = load i32, i32* @EXIT_FAILURE
%67 = call i32 @_exit(i32 %66)
unreachable
68: ; preds = %57, %52
%69 = load i32, i32* %3
%70 = call i32 @close(i32 %69)
%71 = call i64 @syscall_setresgid(i32 0, i32 0, i32 0)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %80
73: ; preds = %68
%74 = load i32, i32* @stderr
%75 = load i32, i32* @errno
%76 = call i8* @strerror(i32 %75)
%77 = call i32 @fprintf(i32 %74, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), i8* %76)
%78 = load i32, i32* @EXIT_FAILURE
%79 = call i32 @_exit(i32 %78)
unreachable
80: ; preds = %68
%81 = call i64 @syscall_setresuid(i32 0, i32 0, i32 0)
%82 = icmp slt i64 %81, 0
br i1 %82, label %83, label %90
83: ; preds = %80
%84 = load i32, i32* @stderr
%85 = load i32, i32* @errno
%86 = call i8* @strerror(i32 %85)
%87 = call i32 @fprintf(i32 %84, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), i8* %86)
%88 = load i32, i32* @EXIT_FAILURE
%89 = call i32 @_exit(i32 %88)
unreachable
90: ; preds = %80
%91 = load i8**, i8*** %7
%92 = getelementptr inbounds i8*, i8** %91, i64 0
%93 = load i8*, i8** %92
%94 = load i8**, i8*** %7
%95 = call i32 @execvp(i8* %93, i8** %94)
%96 = load i32, i32* @EXIT_FAILURE
%97 = call i32 @_exit(i32 %96)
unreachable
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@stderr = global i32 0
@.str.1 = [22 x i8] c"cannot read argv: %s\0A\00"
@errno = global i32 0
@EXIT_FAILURE = global i32 0
@.str.2 = [17 x i8] c"cannot fork: %s\0A\00"
@.str.3 = [26 x i8] c"_LIBPOD_USERNS_CONFIGURED\00"
@.str.4 = [5 x i8] c"init\00"
@.str.5 = [21 x i8] c"_LIBPOD_ROOTLESS_UID\00"
@.str.6 = [18 x i8] c"cannot setns: %s\0A\00"
@.str.7 = [22 x i8] c"cannot setresgid: %s\0A\00"
@.str.8 = [22 x i8] c"cannot setresuid: %s\0A\00"
define i32 @reexec_userns_join(i32 %0, i32 %1) {
%3 = alloca [16 x i8]
%4 = tail call i32 (...) @getpid()
%5 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 0
%6 = tail call i32 (...) @geteuid()
%7 = call i32 @sprintf(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %6)
%8 = tail call i8** @get_cmd_line_args(i32 %4)
%9 = icmp eq i8** %8, null
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = load i32, i32* @errno
%13 = tail call i8* @strerror(i32 %12)
%14 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %13)
%15 = load i32, i32* @EXIT_FAILURE
%16 = tail call i32 @_exit(i32 %15)
unreachable
17: ; preds = %2
%18 = tail call i32 (...) @fork()
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, i32* @stderr
%22 = load i32, i32* @errno
%23 = tail call i8* @strerror(i32 %22)
%24 = tail call i32 @fprintf(i32 %21, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %23)
br label %27
25: ; preds = %17
%26 = icmp eq i32 %18, 0
br i1 %26, label %28, label %27
27: ; preds = %20, %25
ret i32 %18
28: ; preds = %25
%29 = tail call i32 @setenv(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 1)
%30 = call i32 @setenv(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8* %5, i32 1)
%31 = call i64 @setns(i32 %0, i32 0)
%32 = icmp slt i64 %31, 0
br i1 %32, label %33, label %40
33: ; preds = %28
%34 = load i32, i32* @stderr
%35 = load i32, i32* @errno
%36 = call i8* @strerror(i32 %35)
%37 = call i32 @fprintf(i32 %34, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i8* %36)
%38 = load i32, i32* @EXIT_FAILURE
%39 = call i32 @_exit(i32 %38)
unreachable
40: ; preds = %28
%41 = call i32 @close(i32 %0)
%42 = icmp sgt i32 %1, -1
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = call i64 @setns(i32 %1, i32 0)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = load i32, i32* @stderr
%48 = load i32, i32* @errno
%49 = call i8* @strerror(i32 %48)
%50 = call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i8* %49)
%51 = load i32, i32* @EXIT_FAILURE
%52 = call i32 @_exit(i32 %51)
unreachable
53: ; preds = %43, %40
%54 = call i32 @close(i32 %0)
%55 = call i64 @syscall_setresgid(i32 0, i32 0, i32 0)
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %53
%58 = load i32, i32* @stderr
%59 = load i32, i32* @errno
%60 = call i8* @strerror(i32 %59)
%61 = call i32 @fprintf(i32 %58, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), i8* %60)
%62 = load i32, i32* @EXIT_FAILURE
%63 = call i32 @_exit(i32 %62)
unreachable
64: ; preds = %53
%65 = call i64 @syscall_setresuid(i32 0, i32 0, i32 0)
%66 = icmp slt i64 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = load i32, i32* @stderr
%69 = load i32, i32* @errno
%70 = call i8* @strerror(i32 %69)
%71 = call i32 @fprintf(i32 %68, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), i8* %70)
%72 = load i32, i32* @EXIT_FAILURE
%73 = call i32 @_exit(i32 %72)
unreachable
74: ; preds = %64
%75 = load i8*, i8** %8
%76 = call i32 @execvp(i8* %75, i8** %8)
%77 = load i32, i32* @EXIT_FAILURE
%78 = call i32 @_exit(i32 %77)
unreachable
}