#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 option {
  char *member_0;
  char member_3;
  int /*<<< orphan*/ member_2;
  int /*<<< orphan*/ member_1;
};

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ EXIT_SUCCESS;
int /*<<< orphan*/ err(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ execvp(char *, char **);
int getopt_long(int, char **, char *, struct option *, int /*<<< orphan*/ *);
int /*<<< orphan*/ no_argument;
int optind;
int unshare(int);
int /*<<< orphan*/ usage(int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  struct option longopts[] = {
      {"help", no_argument, 0, 'h'}, {"mount", no_argument, 0, 'm'},
      {"uts", no_argument, 0, 'u'},  {"ipc", no_argument, 0, 'i'},
      {"net", no_argument, 0, 'n'},
  };
  int unshare_flags = 0;
  int c;
  ;
  ;
  ;
  while ((c = getopt_long(argc, argv, "hmuin", longopts, NULL)) != -1) {
    switch (c) {
    case 'h':
      usage(EXIT_SUCCESS);
    case 'm':
      unshare_flags |= 0x00020000;
      break;
    case 'u':
      unshare_flags |= 0x04000000;
      break;
    case 'i':
      unshare_flags |= 0x08000000;
      break;
    case 'n':
      unshare_flags |= 0x40000000;
      break;
    default:
      usage(EXIT_FAILURE);
    }
  }
  if (optind >= argc)
    usage(EXIT_FAILURE);
  if (-1 == unshare(unshare_flags))
    err(EXIT_FAILURE, ("unshare failed"));
  execvp(argv[optind], argv + optind);
  err(EXIT_FAILURE, ("exec %s failed"), argv[optind]);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec8(%rip),%rax
mov    %rax,-0x90(%rbp)
mov    0x2e5a(%rip),%rax
mov    (%rax),%eax
mov    %al,-0x88(%rbp)
movl   $0x0,-0x84(%rbp)
movl   $0x68,-0x80(%rbp)
lea    0xe9f(%rip),%rax
mov    %rax,-0x78(%rbp)
mov    0x2e2f(%rip),%rax
mov    (%rax),%eax
mov    %al,-0x70(%rbp)
movl   $0x0,-0x6c(%rbp)
movl   $0x6d,-0x68(%rbp)
lea    0xe80(%rip),%rax
mov    %rax,-0x60(%rbp)
mov    0x2e0a(%rip),%rax
mov    (%rax),%eax
mov    %al,-0x58(%rbp)
movl   $0x0,-0x54(%rbp)
movl   $0x75,-0x50(%rbp)
lea    0xe5f(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0x2de5(%rip),%rax
mov    (%rax),%eax
mov    %al,-0x40(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x69,-0x38(%rbp)
lea    0xe3e(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0x2dc0(%rip),%rax
mov    (%rax),%eax
mov    %al,-0x28(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x6e,-0x20(%rbp)
movl   $0x0,-0x94(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    -0x90(%rbp),%rcx
lea    0xe05(%rip),%rdx
xor    %eax,%eax
mov    %eax,%r8d
call   1040 <getopt_long@plt>
mov    %eax,-0x98(%rbp)
cmp    $0xffffffff,%eax
je     130e <main+0x1be>
mov    -0x98(%rbp),%eax
add    $0xffffff98,%eax
mov    %eax,%ecx
mov    %rcx,-0xa0(%rbp)
sub    $0xd,%eax
ja     12fb <main+0x1ab>
mov    -0xa0(%rbp),%rax
lea    0xd74(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2d2c(%rip),%rax
mov    (%rax),%edi
call   1060 <usage@plt>
mov    -0x94(%rbp),%eax
or     $0x20000,%eax
mov    %eax,-0x94(%rbp)
jmp    1309 <main+0x1b9>
mov    -0x94(%rbp),%eax
or     $0x4000000,%eax
mov    %eax,-0x94(%rbp)
jmp    1309 <main+0x1b9>
mov    -0x94(%rbp),%eax
or     $0x8000000,%eax
mov    %eax,-0x94(%rbp)
jmp    1309 <main+0x1b9>
mov    -0x94(%rbp),%eax
or     $0x40000000,%eax
mov    %eax,-0x94(%rbp)
jmp    1309 <main+0x1b9>
mov    0x2cce(%rip),%rax
mov    (%rax),%edi
call   1060 <usage@plt>
jmp    1235 <main+0xe5>
mov    0x2cd3(%rip),%rax
mov    (%rax),%eax
cmp    -0x8(%rbp),%eax
jl     132e <main+0x1de>
mov    0x2ca9(%rip),%rax
mov    (%rax),%edi
call   1060 <usage@plt>
mov    -0x94(%rbp),%edi
call   1030 <unshare@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cmp    %ecx,%eax
jne    135f <main+0x20f>
mov    0x2c81(%rip),%rax
mov    (%rax),%edi
lea    0xcfd(%rip),%rsi
mov    $0x0,%al
call   1050 <err@plt>
mov    -0x10(%rbp),%rax
mov    0x2c7e(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x10(%rbp),%rsi
mov    0x2c6c(%rip),%rax
movslq (%rax),%rax
shl    $0x3,%rax
add    %rax,%rsi
call   1070 <execvp@plt>
mov    0x2c3e(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x2c49(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdx
lea    0xcb7(%rip),%rsi
mov    $0x0,%al
call   1050 <err@plt>
mov    -0x4(%rbp),%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
lea    0xecb(%rip),%rax
mov    %rax,0x10(%rsp)
mov    0x2e5f(%rip),%rax
mov    (%rax),%al
mov    %al,0x18(%rsp)
movabs $0x6800000000,%rcx
mov    %rcx,0x1c(%rsp)
lea    0xea8(%rip),%rcx
mov    %rcx,0x28(%rsp)
mov    %al,0x30(%rsp)
movabs $0x6d00000000,%rcx
mov    %rcx,0x34(%rsp)
lea    0xe8f(%rip),%rcx
mov    %rcx,0x40(%rsp)
mov    %al,0x48(%rsp)
movabs $0x7500000000,%rcx
mov    %rcx,0x4c(%rsp)
lea    0xe74(%rip),%rcx
mov    %rcx,0x58(%rsp)
mov    %al,0x60(%rsp)
movabs $0x6900000000,%rcx
mov    %rcx,0x64(%rsp)
lea    0xe59(%rip),%rcx
mov    %rcx,0x70(%rsp)
mov    %al,0x78(%rsp)
movabs $0x6e00000000,%rax
mov    %rax,0x7c(%rsp)
xor    %eax,%eax
mov    %rax,0x8(%rsp)
lea    0xe37(%rip),%r15
lea    0x10(%rsp),%r12
mov    0x2dac(%rip),%r13
lea    0xdd5(%rip),%r14
jmp    123e <main+0xee>
nopl   (%rax)
cmp    $0xffffffff,%eax
je     12b4 <main+0x164>
mov    0x0(%r13),%edi
call   1060 <usage@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r15,%rdx
mov    %r12,%rcx
xor    %r8d,%r8d
call   1040 <getopt_long@plt>
lea    -0x68(%rax),%ecx
cmp    $0xd,%ecx
ja     1230 <main+0xe0>
movslq (%r14,%rcx,4),%rax
add    %r14,%rax
jmp    *%rax
mov    0x2d5f(%rip),%rax
mov    (%rax),%edi
call   1060 <usage@plt>
mov    0x8(%rsp),%rax
or     $0x20000,%eax
mov    %rax,0x8(%rsp)
jmp    123e <main+0xee>
mov    0x8(%rsp),%rax
or     $0x8000000,%eax
mov    %rax,0x8(%rsp)
jmp    123e <main+0xee>
mov    0x8(%rsp),%rax
or     $0x40000000,%eax
mov    %rax,0x8(%rsp)
jmp    123e <main+0xee>
mov    0x8(%rsp),%rax
or     $0x4000000,%eax
mov    %rax,0x8(%rsp)
jmp    123e <main+0xee>
mov    0x2d2d(%rip),%r14
cmp    %ebp,(%r14)
jl     12c9 <main+0x179>
mov    0x0(%r13),%edi
call   1060 <usage@plt>
mov    0x8(%rsp),%rdi
call   1030 <unshare@plt>
cmp    $0xffffffff,%eax
jne    12ea <main+0x19a>
mov    0x0(%r13),%edi
lea    0xd72(%rip),%rsi
xor    %eax,%eax
call   1050 <err@plt>
movslq (%r14),%rax
lea    (%rbx,%rax,8),%rsi
mov    (%rbx,%rax,8),%rdi
call   1070 <execvp@plt>
mov    0x0(%r13),%edi
movslq (%r14),%rax
mov    (%rbx,%rax,8),%rdx
lea    0xd58(%rip),%rsi
xor    %eax,%eax
call   1050 <err@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.option = type { i8*, i8, i32, i32 }
@.str = [5 x i8] c"help\00"
@no_argument = global i32 0
@.str.1 = [6 x i8] c"mount\00"
@.str.2 = [4 x i8] c"uts\00"
@.str.3 = [4 x i8] c"ipc\00"
@.str.4 = [4 x i8] c"net\00"
@.str.5 = [6 x i8] c"hmuin\00"
@EXIT_SUCCESS = global i32 0
@EXIT_FAILURE = global i32 0
@optind = global i32 0
@.str.6 = [15 x i8] c"unshare failed\00"
@.str.7 = [15 x i8] c"exec %s failed\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [5 x %struct.option]
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %6, i64 0, i64 0
%10 = getelementptr inbounds %struct.option, %struct.option* %9, i32 0, i32 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %10
%11 = getelementptr inbounds %struct.option, %struct.option* %9, i32 0, i32 1
%12 = load i32, i32* @no_argument
%13 = trunc i32 %12 to i8
store i8 %13, i8* %11
%14 = getelementptr inbounds %struct.option, %struct.option* %9, i32 0, i32 2
store i32 0, i32* %14
%15 = getelementptr inbounds %struct.option, %struct.option* %9, i32 0, i32 3
store i32 104, i32* %15
%16 = getelementptr inbounds %struct.option, %struct.option* %9, i64 1
%17 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %17
%18 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 1
%19 = load i32, i32* @no_argument
%20 = trunc i32 %19 to i8
store i8 %20, i8* %18
%21 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 2
store i32 0, i32* %21
%22 = getelementptr inbounds %struct.option, %struct.option* %16, i32 0, i32 3
store i32 109, i32* %22
%23 = getelementptr inbounds %struct.option, %struct.option* %16, i64 1
%24 = getelementptr inbounds %struct.option, %struct.option* %23, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8** %24
%25 = getelementptr inbounds %struct.option, %struct.option* %23, i32 0, i32 1
%26 = load i32, i32* @no_argument
%27 = trunc i32 %26 to i8
store i8 %27, i8* %25
%28 = getelementptr inbounds %struct.option, %struct.option* %23, i32 0, i32 2
store i32 0, i32* %28
%29 = getelementptr inbounds %struct.option, %struct.option* %23, i32 0, i32 3
store i32 117, i32* %29
%30 = getelementptr inbounds %struct.option, %struct.option* %23, i64 1
%31 = getelementptr inbounds %struct.option, %struct.option* %30, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8** %31
%32 = getelementptr inbounds %struct.option, %struct.option* %30, i32 0, i32 1
%33 = load i32, i32* @no_argument
%34 = trunc i32 %33 to i8
store i8 %34, i8* %32
%35 = getelementptr inbounds %struct.option, %struct.option* %30, i32 0, i32 2
store i32 0, i32* %35
%36 = getelementptr inbounds %struct.option, %struct.option* %30, i32 0, i32 3
store i32 105, i32* %36
%37 = getelementptr inbounds %struct.option, %struct.option* %30, i64 1
%38 = getelementptr inbounds %struct.option, %struct.option* %37, i32 0, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8** %38
%39 = getelementptr inbounds %struct.option, %struct.option* %37, i32 0, i32 1
%40 = load i32, i32* @no_argument
%41 = trunc i32 %40 to i8
store i8 %41, i8* %39
%42 = getelementptr inbounds %struct.option, %struct.option* %37, i32 0, i32 2
store i32 0, i32* %42
%43 = getelementptr inbounds %struct.option, %struct.option* %37, i32 0, i32 3
store i32 110, i32* %43
store i32 0, i32* %7
br label %44
44: ; preds = %70, %2
%45 = load i32, i32* %4
%46 = load i8**, i8*** %5
%47 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %6, i64 0, i64 0
%48 = call i32 @getopt_long(i32 %45, i8** %46, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), %struct.option* %47, i32* null)
store i32 %48, i32* %8
%49 = icmp ne i32 %48, -1
br i1 %49, label %50, label %71
50: ; preds = %44
%51 = load i32, i32* %8
switch i32 %51, label %67 [
i32 104, label %52
i32 109, label %55
i32 117, label %58
i32 105, label %61
i32 110, label %64
]
52: ; preds = %50
%53 = load i32, i32* @EXIT_SUCCESS
%54 = call i32 @usage(i32 %53)
br label %55
55: ; preds = %50, %52
%56 = load i32, i32* %7
%57 = or i32 %56, 131072
store i32 %57, i32* %7
br label %70
58: ; preds = %50
%59 = load i32, i32* %7
%60 = or i32 %59, 67108864
store i32 %60, i32* %7
br label %70
61: ; preds = %50
%62 = load i32, i32* %7
%63 = or i32 %62, 134217728
store i32 %63, i32* %7
br label %70
64: ; preds = %50
%65 = load i32, i32* %7
%66 = or i32 %65, 1073741824
store i32 %66, i32* %7
br label %70
67: ; preds = %50
%68 = load i32, i32* @EXIT_FAILURE
%69 = call i32 @usage(i32 %68)
br label %70
70: ; preds = %67, %64, %61, %58, %55
br label %44
71: ; preds = %44
%72 = load i32, i32* @optind
%73 = load i32, i32* %4
%74 = icmp sge i32 %72, %73
br i1 %74, label %75, label %78
75: ; preds = %71
%76 = load i32, i32* @EXIT_FAILURE
%77 = call i32 @usage(i32 %76)
br label %78
78: ; preds = %75, %71
%79 = load i32, i32* %7
%80 = call i32 @unshare(i32 %79)
%81 = icmp eq i32 -1, %80
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = load i32, i32* @EXIT_FAILURE
%84 = call i32 (i32, i8*, ...) @err(i32 %83, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0))
br label %85
85: ; preds = %82, %78
%86 = load i8**, i8*** %5
%87 = load i32, i32* @optind
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8*, i8** %86, i64 %88
%90 = load i8*, i8** %89
%91 = load i8**, i8*** %5
%92 = load i32, i32* @optind
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8*, i8** %91, i64 %93
%95 = call i32 @execvp(i8* %90, i8** %94)
%96 = load i32, i32* @EXIT_FAILURE
%97 = load i8**, i8*** %5
%98 = load i32, i32* @optind
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8*, i8** %97, i64 %99
%101 = load i8*, i8** %100
%102 = call i32 (i32, i8*, ...) @err(i32 %96, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %101)
%103 = load i32, i32* %3
ret i32 %103
}

LLVM IR (-O2):
%struct.option = type { i8*, i8, i32, i32 }
@.str = [5 x i8] c"help\00"
@no_argument = global i32 0
@.str.1 = [6 x i8] c"mount\00"
@.str.2 = [4 x i8] c"uts\00"
@.str.3 = [4 x i8] c"ipc\00"
@.str.4 = [4 x i8] c"net\00"
@.str.5 = [6 x i8] c"hmuin\00"
@EXIT_SUCCESS = global i32 0
@EXIT_FAILURE = global i32 0
@optind = global i32 0
@.str.6 = [15 x i8] c"unshare failed\00"
@.str.7 = [15 x i8] c"exec %s failed\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [5 x %struct.option]
%4 = bitcast [5 x %struct.option]* %3 to i8*
%5 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 0
%6 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 0, i32 0
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %6
%7 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 0, i32 1
%8 = load i32, i32* @no_argument
%9 = trunc i32 %8 to i8
store i8 %9, i8* %7
%10 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 0, i32 2
store i32 0, i32* %10
%11 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 0, i32 3
store i32 104, i32* %11
%12 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 1, i32 0
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %12
%13 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 1, i32 1
store i8 %9, i8* %13
%14 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 1, i32 2
store i32 0, i32* %14
%15 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 1, i32 3
store i32 109, i32* %15
%16 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 2, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8** %16
%17 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 2, i32 1
store i8 %9, i8* %17
%18 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 2, i32 2
store i32 0, i32* %18
%19 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 2, i32 3
store i32 117, i32* %19
%20 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 3, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8** %20
%21 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 3, i32 1
store i8 %9, i8* %21
%22 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 3, i32 2
store i32 0, i32* %22
%23 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 3, i32 3
store i32 105, i32* %23
%24 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 4, i32 0
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8** %24
%25 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 4, i32 1
store i8 %9, i8* %25
%26 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 4, i32 2
store i32 0, i32* %26
%27 = getelementptr inbounds [5 x %struct.option], [5 x %struct.option]* %3, i64 0, i64 4, i32 3
store i32 110, i32* %27
br label %28
28: ; preds = %43, %2
%29 = phi i32 [ 0, %2 ], [ %44, %43 ]
br label %30
30: ; preds = %28, %45
%31 = call i32 @getopt_long(i32 %0, i8** %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), %struct.option* %5, i32* null)
switch i32 %31, label %45 [
i32 -1, label %48
i32 104, label %32
i32 109, label %35
i32 117, label %37
i32 105, label %39
i32 110, label %41
]
32: ; preds = %30
%33 = load i32, i32* @EXIT_SUCCESS
%34 = call i32 @usage(i32 %33)
br label %35
35: ; preds = %30, %32
%36 = or i32 %29, 131072
br label %43
37: ; preds = %30
%38 = or i32 %29, 67108864
br label %43
39: ; preds = %30
%40 = or i32 %29, 134217728
br label %43
41: ; preds = %30
%42 = or i32 %29, 1073741824
br label %43
43: ; preds = %41, %39, %37, %35
%44 = phi i32 [ %36, %35 ], [ %38, %37 ], [ %40, %39 ], [ %42, %41 ]
br label %28
45: ; preds = %30
%46 = load i32, i32* @EXIT_FAILURE
%47 = call i32 @usage(i32 %46)
br label %30
48: ; preds = %30
%49 = load i32, i32* @optind
%50 = icmp slt i32 %49, %0
br i1 %50, label %54, label %51
51: ; preds = %48
%52 = load i32, i32* @EXIT_FAILURE
%53 = call i32 @usage(i32 %52)
br label %54
54: ; preds = %51, %48
%55 = call i32 @unshare(i32 %29)
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, i32* @EXIT_FAILURE
%59 = call i32 (i32, i8*, ...) @err(i32 %58, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0))
br label %60
60: ; preds = %57, %54
%61 = load i32, i32* @optind
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8*, i8** %1, i64 %62
%64 = load i8*, i8** %63
%65 = call i32 @execvp(i8* %64, i8** %63)
%66 = load i32, i32* @EXIT_FAILURE
%67 = load i32, i32* @optind
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8*, i8** %1, i64 %68
%70 = load i8*, i8** %69
%71 = call i32 (i32, i8*, ...) @err(i32 %66, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %70)
ret i32 0
}