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

/* Variables and functions */
int EXIT_FAILURE;
char *basename(char *);
int /*<<< orphan*/ check_status(int);
int /*<<< orphan*/ close(int);
int connect_socket_fail(char *);
int /*<<< orphan*/ execvp(char *, char **);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ exit_error(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
char *getenv(char *);
int getopt(int, char **, char *);
void *malloc_fail(int);
int optind;
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ print_args(int, char **);
int /*<<< orphan*/ readline(int, char *, int);
int /*<<< orphan*/ send_str_fail(int, char *);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  int sock, c, dry_run = 0;
  while ((c = getopt(argc, argv, "n")) != -1) {
    switch (c) {
    case 'n':
      dry_run = 1;
      break;
    }
  }
  if (argc != optind + 2) {
    fprintf(stderr, "usage: %s [-n] SOCKET KEY_FINGERPRINT\n",
            basename(argv[0]));
    exit(EXIT_FAILURE);
  }
  sock = connect_socket_fail(argv[optind]);
  send_str_fail(sock, argv[optind + 1]);
  send_str_fail(sock, "\n");
  char *env_cmd = getenv("SSH_ORIGINAL_COMMAND");
  if (!env_cmd) {
    exit_error("Environment variable "
               "SSH_ORIGINAL_COMMAND"
               " not set.");
  }
  send_str_fail(sock, env_cmd);
  send_str_fail(sock, "\n");
  check_status(sock);
  char **nargv = malloc_fail(sizeof(char *) * (32 + 1));
  ssize_t r;
  int nargc = 0;
  for (;;) {
    char *buffer = malloc_fail(sizeof(char) * 1024);
    r = readline(sock, buffer, 1024);
    if (r == 0)
      break;
    if (r < 0) {
      perror("failed to read");
      return EXIT_FAILURE;
    };
    nargv[nargc] = buffer;
    ++nargc;
  };
  nargv[nargc] = (char *)0;
  close(sock);
  if (dry_run) {
    print_args(nargc, nargv);
  } else {
    if (nargc < 1)
      exit_error("validation failed; too few arguments returned");
    if (!execvp(nargv[0], nargv)) {
      perror("execvp");
      return EXIT_FAILURE;
    }
  }
  return 0;
}


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)
movl   $0x0,-0x1c(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xde5(%rip),%rdx
call   10d0 <getopt@plt>
mov    %eax,-0x18(%rbp)
cmp    $0xffffffff,%eax
je     1249 <main+0x59>
mov    -0x18(%rbp),%eax
sub    $0x6e,%eax
jne    1244 <main+0x54>
jmp    123d <main+0x4d>
movl   $0x1,-0x1c(%rbp)
jmp    120d <main+0x1d>
mov    -0x8(%rbp),%eax
mov    0x2d95(%rip),%rcx
mov    (%rcx),%ecx
add    $0x2,%ecx
cmp    %ecx,%eax
je     1298 <main+0xa8>
mov    0x2d71(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x44(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   10a0 <basename@plt>
mov    -0x44(%rbp),%edi
mov    %rax,%rdx
lea    0xd7d(%rip),%rsi
call   1090 <fprintf@plt>
mov    0x2d3f(%rip),%rax
mov    (%rax),%edi
call   1100 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x2d45(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
call   10b0 <connect_socket_fail@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    0x2d28(%rip),%rcx
mov    (%rcx),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
call   1110 <send_str_fail@plt>
mov    -0x14(%rbp),%edi
lea    0xd4c(%rip),%rsi
call   1110 <send_str_fail@plt>
lea    0xd42(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    1307 <main+0x117>
lea    0xd3c(%rip),%rdi
call   1070 <exit_error@plt>
mov    -0x14(%rbp),%edi
mov    -0x28(%rbp),%rsi
call   1110 <send_str_fail@plt>
mov    -0x14(%rbp),%edi
lea    0xd0a(%rip),%rsi
call   1110 <send_str_fail@plt>
mov    -0x14(%rbp),%edi
call   1040 <check_status@plt>
mov    $0x108,%edi
call   1080 <malloc_fail@plt>
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x38(%rbp)
mov    $0x400,%edi
call   1080 <malloc_fail@plt>
mov    %rax,-0x40(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x40(%rbp),%rsi
mov    $0x400,%edx
call   1050 <readline@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jne    1370 <main+0x180>
jmp    13b5 <main+0x1c5>
cmpl   $0x0,-0x34(%rbp)
jge    1397 <main+0x1a7>
lea    0xcf0(%rip),%rdi
call   10c0 <perror@plt>
mov    0x2c43(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1440 <main+0x250>
mov    -0x40(%rbp),%rdx
mov    -0x30(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    133f <main+0x14f>
mov    -0x30(%rbp),%rax
movslq -0x38(%rbp),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x14(%rbp),%edi
call   1060 <close@plt>
cmpl   $0x0,-0x1c(%rbp)
je     13e8 <main+0x1f8>
mov    -0x38(%rbp),%edi
mov    -0x30(%rbp),%rsi
call   10f0 <print_args@plt>
jmp    1439 <main+0x249>
cmpl   $0x1,-0x38(%rbp)
jge    13fe <main+0x20e>
lea    0xc87(%rip),%rdi
call   1070 <exit_error@plt>
mov    -0x30(%rbp),%rax
mov    (%rax),%rdi
mov    -0x30(%rbp),%rsi
call   10e0 <execvp@plt>
cmp    $0x0,%eax
jne    1434 <main+0x244>
lea    0xc90(%rip),%rdi
call   10c0 <perror@plt>
mov    0x2ba6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1440 <main+0x250>
jmp    1439 <main+0x249>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %rsi,%rbx
mov    %edi,%ebp
mov    $0x1,%r12b
lea    0xdf9(%rip),%r14
nopw   0x0(%rax,%rax,1)
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r14,%rdx
call   10d0 <getopt@plt>
cmp    $0x6e,%eax
je     1229 <main+0x39>
cmp    $0xffffffff,%eax
jne    1210 <main+0x20>
jmp    122e <main+0x3e>
xor    %r12d,%r12d
jmp    1210 <main+0x20>
mov    0x2db3(%rip),%r15
movslq (%r15),%rax
lea    0x2(%rax),%ecx
cmp    %ebp,%ecx
jne    1381 <main+0x191>
mov    (%rbx,%rax,8),%rdi
call   10b0 <connect_socket_fail@plt>
mov    %eax,%r14d
movslq (%r15),%rax
mov    0x8(%rbx,%rax,8),%rsi
mov    %r14d,%edi
call   1110 <send_str_fail@plt>
lea    0xdc1(%rip),%rsi
mov    %r14d,%edi
call   1110 <send_str_fail@plt>
lea    0xdb4(%rip),%rdi
call   1030 <getenv@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    128e <main+0x9e>
lea    0xdb5(%rip),%rdi
call   1070 <exit_error@plt>
mov    %r14d,%edi
mov    %rbx,%rsi
call   1110 <send_str_fail@plt>
lea    0xd87(%rip),%rsi
mov    %r14d,%edi
call   1110 <send_str_fail@plt>
mov    %r14d,%edi
call   1040 <check_status@plt>
mov    $0x108,%edi
call   1080 <malloc_fail@plt>
mov    %rax,%r15
mov    $0x400,%edi
call   1080 <malloc_fail@plt>
mov    %rax,%rbx
mov    %r14d,%edi
mov    %rax,%rsi
mov    $0x400,%edx
call   1050 <readline@plt>
xor    %ebp,%ebp
test   %eax,%eax
je     1311 <main+0x121>
test   %eax,%eax
js     136a <main+0x17a>
mov    %rbx,(%r15,%rbp,8)
add    $0x1,%rbp
mov    $0x400,%edi
call   1080 <malloc_fail@plt>
mov    %rax,%rbx
mov    %r14d,%edi
mov    %rax,%rsi
mov    $0x400,%edx
call   1050 <readline@plt>
test   %eax,%eax
jne    12e0 <main+0xf0>
mov    %ebp,%eax
movq   $0x0,(%r15,%rax,8)
mov    %r14d,%edi
call   1060 <close@plt>
test   $0x1,%r12b
je     1355 <main+0x165>
test   %ebp,%ebp
jne    1339 <main+0x149>
lea    0xd4c(%rip),%rdi
call   1070 <exit_error@plt>
mov    (%r15),%rdi
mov    %r15,%rsi
call   10e0 <execvp@plt>
mov    %eax,%ecx
xor    %eax,%eax
test   %ecx,%ecx
jne    1361 <main+0x171>
lea    0xd5b(%rip),%rdi
jmp    1371 <main+0x181>
mov    %ebp,%edi
mov    %r15,%rsi
call   10f0 <print_args@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xd00(%rip),%rdi
call   10c0 <perror@plt>
mov    0x2c53(%rip),%rax
mov    (%rax),%eax
jmp    1361 <main+0x171>
mov    0x2c50(%rip),%rax
mov    (%rax),%ebp
mov    (%rbx),%rdi
call   10a0 <basename@plt>
lea    0xc69(%rip),%rsi
mov    %ebp,%edi
mov    %rax,%rdx
call   1090 <fprintf@plt>
mov    0x2c26(%rip),%rax
mov    (%rax),%edi
call   1100 <exit@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"n\00"
@optind = global i32 0
@stderr = global i32 0
@.str.1 = [39 x i8] c"usage: %s [-n] SOCKET KEY_FINGERPRINT\0A\00"
@EXIT_FAILURE = global i32 0
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [21 x i8] c"SSH_ORIGINAL_COMMAND\00"
@.str.4 = [51 x i8] c"Environment variable SSH_ORIGINAL_COMMAND not set.\00"
@.str.5 = [15 x i8] c"failed to read\00"
@.str.6 = [46 x i8] c"validation failed; too few arguments returned\00"
@.str.7 = [7 x i8] c"execvp\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i8**
%11 = alloca i32
%12 = alloca i32
%13 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %8
br label %14
14: ; preds = %22, %2
%15 = load i32, i32* %4
%16 = load i8**, i8*** %5
%17 = call i32 @getopt(i32 %15, i8** %16, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 %17, i32* %7
%18 = icmp ne i32 %17, -1
br i1 %18, label %19, label %23
19: ; preds = %14
%20 = load i32, i32* %7
switch i32 %20, label %22 [
i32 110, label %21
]
21: ; preds = %19
store i32 1, i32* %8
br label %22
22: ; preds = %19, %21
br label %14
23: ; preds = %14
%24 = load i32, i32* %4
%25 = load i32, i32* @optind
%26 = add nsw i32 %25, 2
%27 = icmp ne i32 %24, %26
br i1 %27, label %28, label %37
28: ; preds = %23
%29 = load i32, i32* @stderr
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 0
%32 = load i8*, i8** %31
%33 = call i8* @basename(i8* %32)
%34 = call i32 @fprintf(i32 %29, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i8* %33)
%35 = load i32, i32* @EXIT_FAILURE
%36 = call i32 @exit(i32 %35)
unreachable
37: ; preds = %23
%38 = load i8**, i8*** %5
%39 = load i32, i32* @optind
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8*, i8** %38, i64 %40
%42 = load i8*, i8** %41
%43 = call i32 @connect_socket_fail(i8* %42)
store i32 %43, i32* %6
%44 = load i32, i32* %6
%45 = load i8**, i8*** %5
%46 = load i32, i32* @optind
%47 = add nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8*, i8** %45, i64 %48
%50 = load i8*, i8** %49
%51 = call i32 @send_str_fail(i32 %44, i8* %50)
%52 = load i32, i32* %6
%53 = call i32 @send_str_fail(i32 %52, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%54 = call i8* @getenv(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
store i8* %54, i8** %9
%55 = load i8*, i8** %9
%56 = icmp ne i8* %55, null
br i1 %56, label %59, label %57
57: ; preds = %37
%58 = call i32 @exit_error(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
br label %59
59: ; preds = %57, %37
%60 = load i32, i32* %6
%61 = load i8*, i8** %9
%62 = call i32 @send_str_fail(i32 %60, i8* %61)
%63 = load i32, i32* %6
%64 = call i32 @send_str_fail(i32 %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%65 = load i32, i32* %6
%66 = call i32 @check_status(i32 %65)
%67 = call i8* @malloc_fail(i32 264)
%68 = bitcast i8* %67 to i8**
store i8** %68, i8*** %10
store i32 0, i32* %12
br label %69
69: ; preds = %83, %59
%70 = call i8* @malloc_fail(i32 1024)
store i8* %70, i8** %13
%71 = load i32, i32* %6
%72 = load i8*, i8** %13
%73 = call i32 @readline(i32 %71, i8* %72, i32 1024)
store i32 %73, i32* %11
%74 = load i32, i32* %11
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %69
br label %91
77: ; preds = %69
%78 = load i32, i32* %11
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %77
%81 = call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%82 = load i32, i32* @EXIT_FAILURE
store i32 %82, i32* %3
br label %121
83: ; preds = %77
%84 = load i8*, i8** %13
%85 = load i8**, i8*** %10
%86 = load i32, i32* %12
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8*, i8** %85, i64 %87
store i8* %84, i8** %88
%89 = load i32, i32* %12
%90 = add nsw i32 %89, 1
store i32 %90, i32* %12
br label %69
91: ; preds = %76
%92 = load i8**, i8*** %10
%93 = load i32, i32* %12
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8*, i8** %92, i64 %94
store i8* null, i8** %95
%96 = load i32, i32* %6
%97 = call i32 @close(i32 %96)
%98 = load i32, i32* %8
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %104
100: ; preds = %91
%101 = load i32, i32* %12
%102 = load i8**, i8*** %10
%103 = call i32 @print_args(i32 %101, i8** %102)
br label %120
104: ; preds = %91
%105 = load i32, i32* %12
%106 = icmp slt i32 %105, 1
br i1 %106, label %107, label %109
107: ; preds = %104
%108 = call i32 @exit_error(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0))
br label %109
109: ; preds = %107, %104
%110 = load i8**, i8*** %10
%111 = getelementptr inbounds i8*, i8** %110, i64 0
%112 = load i8*, i8** %111
%113 = load i8**, i8*** %10
%114 = call i32 @execvp(i8* %112, i8** %113)
%115 = icmp ne i32 %114, 0
br i1 %115, label %119, label %116
116: ; preds = %109
%117 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%118 = load i32, i32* @EXIT_FAILURE
store i32 %118, i32* %3
br label %121
119: ; preds = %109
br label %120
120: ; preds = %119, %100
store i32 0, i32* %3
br label %121
121: ; preds = %120, %116, %80
%122 = load i32, i32* %3
ret i32 %122
}

LLVM IR (-O2):
@.str = [2 x i8] c"n\00"
@optind = global i32 0
@stderr = global i32 0
@.str.1 = [39 x i8] c"usage: %s [-n] SOCKET KEY_FINGERPRINT\0A\00"
@EXIT_FAILURE = global i32 0
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [21 x i8] c"SSH_ORIGINAL_COMMAND\00"
@.str.4 = [51 x i8] c"Environment variable SSH_ORIGINAL_COMMAND not set.\00"
@.str.5 = [15 x i8] c"failed to read\00"
@.str.6 = [46 x i8] c"validation failed; too few arguments returned\00"
@.str.7 = [7 x i8] c"execvp\00"
define i32 @main(i32 %0, i8** %1) {
br label %3
3: ; preds = %5, %2
%4 = phi i1 [ true, %2 ], [ false, %5 ]
br label %5
5: ; preds = %3, %5
%6 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
switch i32 %6, label %5 [
i32 -1, label %7
i32 110, label %3
]
7: ; preds = %5
%8 = load i32, i32* @optind
%9 = add nsw i32 %8, 2
%10 = icmp eq i32 %9, %0
br i1 %10, label %18, label %11
11: ; preds = %7
%12 = load i32, i32* @stderr
%13 = load i8*, i8** %1
%14 = tail call i8* @basename(i8* %13)
%15 = tail call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i8* %14)
%16 = load i32, i32* @EXIT_FAILURE
%17 = tail call i32 @exit(i32 %16)
unreachable
18: ; preds = %7
%19 = sext i32 %8 to i64
%20 = getelementptr inbounds i8*, i8** %1, i64 %19
%21 = load i8*, i8** %20
%22 = tail call i32 @connect_socket_fail(i8* %21)
%23 = load i32, i32* @optind
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8*, i8** %1, i64 %25
%27 = load i8*, i8** %26
%28 = tail call i32 @send_str_fail(i32 %22, i8* %27)
%29 = tail call i32 @send_str_fail(i32 %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%30 = tail call i8* @getenv(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
%31 = icmp eq i8* %30, null
br i1 %31, label %32, label %34
32: ; preds = %18
%33 = tail call i32 @exit_error(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
br label %34
34: ; preds = %32, %18
%35 = tail call i32 @send_str_fail(i32 %22, i8* %30)
%36 = tail call i32 @send_str_fail(i32 %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%37 = tail call i32 @check_status(i32 %22)
%38 = tail call i8* @malloc_fail(i32 264)
%39 = bitcast i8* %38 to i8**
%40 = tail call i8* @malloc_fail(i32 1024)
%41 = tail call i32 @readline(i32 %22, i8* %40, i32 1024)
%42 = icmp eq i32 %41, 0
br i1 %42, label %59, label %43
43: ; preds = %34, %51
%44 = phi i64 [ %53, %51 ], [ 0, %34 ]
%45 = phi i32 [ %55, %51 ], [ %41, %34 ]
%46 = phi i8* [ %54, %51 ], [ %40, %34 ]
%47 = icmp slt i32 %45, 0
br i1 %47, label %48, label %51
48: ; preds = %43
%49 = tail call i32 @perror(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%50 = load i32, i32* @EXIT_FAILURE
br label %77
51: ; preds = %43
%52 = getelementptr inbounds i8*, i8** %39, i64 %44
store i8* %46, i8** %52
%53 = add nuw i64 %44, 1
%54 = tail call i8* @malloc_fail(i32 1024)
%55 = tail call i32 @readline(i32 %22, i8* %54, i32 1024)
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %43
57: ; preds = %51
%58 = trunc i64 %53 to i32
br label %59
59: ; preds = %57, %34
%60 = phi i32 [ 0, %34 ], [ %58, %57 ]
%61 = zext i32 %60 to i64
%62 = getelementptr inbounds i8*, i8** %39, i64 %61
store i8* null, i8** %62
%63 = tail call i32 @close(i32 %22)
br i1 %4, label %66, label %64
64: ; preds = %59
%65 = tail call i32 @print_args(i32 %60, i8** %39)
br label %77
66: ; preds = %59
%67 = icmp eq i32 %60, 0
br i1 %67, label %68, label %70
68: ; preds = %66
%69 = tail call i32 @exit_error(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0))
br label %70
70: ; preds = %68, %66
%71 = load i8*, i8** %39
%72 = tail call i32 @execvp(i8* %71, i8** %39)
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %70
%75 = tail call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%76 = load i32, i32* @EXIT_FAILURE
br label %77
77: ; preds = %48, %64, %70, %74
%78 = phi i32 [ %76, %74 ], [ 0, %70 ], [ 0, %64 ], [ %50, %48 ]
ret i32 %78
}