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

/* Variables and functions */
int EXIT_FAILURE;
int EXIT_SUCCESS;
int MS_BIND;
int MS_MOVE;
int MS_REC;
int /*<<< orphan*/ STDOUT_FILENO;
char *_guess_type(char *);
int _mount_brute(char *, char *, int, char *);
int _parse_options(char const *, int *, char **);
int /*<<< orphan*/ free(char *);
int getopt(int, char **, char *);
int mount(char *, char *, char const *, int, char *);
char *optarg;
int optind;
int /*<<< orphan*/ write(int /*<<< orphan*/, char *, int);
int main(int argc, char *argv[]) {
  int exit_code = EXIT_FAILURE;
  int flags = 0;
  int option = 0;
  char mode = 'm';
  char *data = NULL;
  const char *type = NULL;
  const char *options = NULL;
  do {
    option = getopt(argc, argv, "BRMt:o:");
    if (-1 == option) {
      break;
    }
    switch (option) {
    case 'B':
      mode = option;
      flags = MS_BIND;
      break;
    case 'R':
      mode = option;
      flags = (MS_BIND | MS_REC);
      break;
    case 'M':
      mode = option;
      flags = MS_MOVE;
      break;
    case 't':
      type = optarg;
      break;
    case 'o':
      options = optarg;
      break;
    default:
      (void)write(
          STDOUT_FILENO,
          "Usage: mount [-B|-R|-M] [-t TYPE] [-o OPTIONS] SOURCE TARGET\n",
          sizeof("Usage: mount [-B|-R|-M] [-t TYPE] [-o OPTIONS] SOURCE "
                 "TARGET\n"));
      goto end;
    }
  } while (1);
  if (argc != (2 + optind)) {
    (void)write(
        STDOUT_FILENO,
        "Usage: mount [-B|-R|-M] [-t TYPE] [-o OPTIONS] SOURCE TARGET\n",
        sizeof(
            "Usage: mount [-B|-R|-M] [-t TYPE] [-o OPTIONS] SOURCE TARGET\n"));
    goto end;
  }
  if ('m' == mode) {
    if (NULL != options) {
      if (false == _parse_options(options, &flags, &data)) {
        goto end;
      }
    }
    if (NULL == type) {
      type = _guess_type(argv[optind]);
    }
    if (NULL == type) {
      if (true == _mount_brute(argv[optind], argv[1 + optind], flags, data)) {
        goto success;
      } else {
        goto free_data;
      }
    }
  }
  if (-1 == mount(argv[optind], argv[1 + optind], type, flags, data)) {
    goto free_data;
  }
success:
  exit_code = EXIT_SUCCESS;
free_data:
  if (NULL != data) {
    free(data);
  }
end:
  return exit_code;
}


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)
mov    0x2e23(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movb   $0x6d,-0x1d(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
movq   $0x0,-0x38(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xe36(%rip),%rdx
call   1080 <getopt@plt>
mov    %eax,-0x1c(%rbp)
mov    $0xffffffff,%eax
cmp    -0x1c(%rbp),%eax
jne    11e5 <main+0x75>
jmp    12e4 <main+0x174>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
sub    $0x42,%eax
je     123d <main+0xcd>
jmp    11f9 <main+0x89>
mov    -0x3c(%rbp),%eax
sub    $0x4d,%eax
je     1274 <main+0x104>
jmp    120a <main+0x9a>
mov    -0x3c(%rbp),%eax
sub    $0x52,%eax
je     1254 <main+0xe4>
jmp    121b <main+0xab>
mov    -0x3c(%rbp),%eax
sub    $0x6f,%eax
je     129e <main+0x12e>
jmp    122c <main+0xbc>
mov    -0x3c(%rbp),%eax
sub    $0x74,%eax
je     128b <main+0x11b>
jmp    12b1 <main+0x141>
mov    -0x1c(%rbp),%eax
mov    %al,-0x1d(%rbp)
mov    0x2d8e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x18(%rbp)
jmp    12d0 <main+0x160>
mov    -0x1c(%rbp),%eax
mov    %al,-0x1d(%rbp)
mov    0x2d77(%rip),%rax
mov    (%rax),%eax
mov    0x2d66(%rip),%rcx
or     (%rcx),%eax
mov    %eax,-0x18(%rbp)
jmp    12d0 <main+0x160>
mov    -0x1c(%rbp),%eax
mov    %al,-0x1d(%rbp)
mov    0x2d37(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x18(%rbp)
jmp    12d0 <main+0x160>
mov    0x2d66(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x30(%rbp)
jmp    12d0 <main+0x160>
mov    0x2d53(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x38(%rbp)
jmp    12d0 <main+0x160>
mov    0x2d30(%rip),%rax
mov    (%rax),%edi
lea    0xd47(%rip),%rsi
mov    $0x3e,%edx
call   1050 <write@plt>
jmp    145c <main+0x2ec>
jmp    12d5 <main+0x165>
mov    $0x1,%al
test   $0x1,%al
jne    11bc <main+0x4c>
jmp    12e4 <main+0x174>
mov    -0x8(%rbp),%eax
mov    0x2cda(%rip),%rcx
mov    (%rcx),%ecx
add    $0x2,%ecx
cmp    %ecx,%eax
je     131a <main+0x1aa>
mov    0x2ce6(%rip),%rax
mov    (%rax),%edi
lea    0xcfd(%rip),%rsi
mov    $0x3e,%edx
call   1050 <write@plt>
jmp    145c <main+0x2ec>
movsbl -0x1d(%rbp),%ecx
mov    $0x6d,%eax
cmp    %ecx,%eax
jne    13e4 <main+0x274>
xor    %eax,%eax
cmp    -0x38(%rbp),%rax
je     135e <main+0x1ee>
mov    -0x38(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x28(%rbp),%rdx
call   1090 <_parse_options@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
jne    1359 <main+0x1e9>
jmp    145c <main+0x2ec>
jmp    135e <main+0x1ee>
xor    %eax,%eax
cmp    -0x30(%rbp),%rax
jne    1385 <main+0x215>
mov    -0x10(%rbp),%rax
mov    0x2c53(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
call   1070 <_guess_type@plt>
mov    %rax,-0x30(%rbp)
xor    %eax,%eax
cmp    -0x30(%rbp),%rax
jne    13df <main+0x26f>
mov    -0x10(%rbp),%rax
mov    0x2c2c(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x10(%rbp),%rax
mov    0x2c1a(%rip),%rcx
mov    (%rcx),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
mov    -0x18(%rbp),%edx
mov    -0x28(%rbp),%rcx
call   1040 <_mount_brute@plt>
mov    %eax,%ecx
mov    $0x1,%eax
cmp    %ecx,%eax
jne    13da <main+0x26a>
jmp    1436 <main+0x2c6>
jmp    1442 <main+0x2d2>
jmp    13e4 <main+0x274>
mov    -0x10(%rbp),%rax
mov    0x2bd9(%rip),%rcx
movslq (%rcx),%rcx
mov    (%rax,%rcx,8),%rdi
mov    -0x10(%rbp),%rax
mov    0x2bc7(%rip),%rcx
mov    (%rcx),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x18(%rbp),%ecx
mov    -0x28(%rbp),%r8
call   1060 <mount@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cmp    %ecx,%eax
jne    1431 <main+0x2c1>
jmp    1442 <main+0x2d2>
jmp    1436 <main+0x2c6>
mov    0x2b6b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x14(%rbp)
xor    %eax,%eax
cmp    -0x28(%rbp),%rax
je     1457 <main+0x2e7>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
jmp    145c <main+0x2ec>
mov    -0x14(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r12
mov    %edi,%ebp
mov    0x2e26(%rip),%rax
mov    (%rax),%eax
mov    %eax,0x10(%rsp)
movq   $0x0,0x18(%rsp)
movb   $0x6d,0xf(%rsp)
xor    %r14d,%r14d
lea    0xe58(%rip),%r13
mov    0x2e49(%rip),%r15
xor    %eax,%eax
mov    %rax,0x20(%rsp)
xor    %ebx,%ebx
jmp    11c3 <main+0x53>
nopw   0x0(%rax,%rax,1)
mov    (%r15),%rbx
mov    %ebp,%edi
mov    %r12,%rsi
mov    %r13,%rdx
call   1080 <getopt@plt>
cmp    $0x6f,%eax
je     11c0 <main+0x50>
cmp    $0x4c,%eax
jle    11f7 <main+0x87>
cmp    $0x4d,%eax
je     1216 <main+0xa6>
cmp    $0x52,%eax
je     1227 <main+0xb7>
cmp    $0x74,%eax
jne    12c1 <main+0x151>
mov    (%r15),%rax
mov    %rax,0x20(%rsp)
jmp    11c3 <main+0x53>
cmp    $0xffffffff,%eax
je     1242 <main+0xd2>
cmp    $0x42,%eax
jne    12c1 <main+0x151>
mov    0x2dcc(%rip),%rax
mov    (%rax),%r14d
movb   $0x42,0xf(%rsp)
jmp    11c3 <main+0x53>
mov    0x2d9b(%rip),%rax
mov    (%rax),%r14d
movb   $0x4d,0xf(%rsp)
jmp    11c3 <main+0x53>
mov    0x2da2(%rip),%rax
mov    (%rax),%r14d
mov    0x2da0(%rip),%rax
or     (%rax),%r14d
movb   $0x52,0xf(%rsp)
jmp    11c3 <main+0x53>
mov    %r14d,0x14(%rsp)
mov    0x2d7a(%rip),%r14
mov    (%r14),%eax
add    $0x2,%eax
cmp    %ebp,%eax
jne    12c1 <main+0x151>
cmpb   $0x6d,0xf(%rsp)
jne    12f0 <main+0x180>
test   %rbx,%rbx
mov    0x20(%rsp),%rbp
je     1283 <main+0x113>
lea    0x14(%rsp),%rsi
lea    0x18(%rsp),%rdx
mov    %rbx,%rdi
call   1090 <_parse_options@plt>
test   %eax,%eax
je     12db <main+0x16b>
test   %rbp,%rbp
mov    0x10(%rsp),%ebx
jne    12f9 <main+0x189>
movslq (%r14),%rax
mov    (%r12,%rax,8),%rdi
call   1070 <_guess_type@plt>
mov    %rax,%rbp
test   %rax,%rax
jne    12f9 <main+0x189>
movslq (%r14),%rax
mov    (%r12,%rax,8),%rdi
mov    0x8(%r12,%rax,8),%rsi
mov    0x14(%rsp),%edx
mov    0x18(%rsp),%rcx
call   1040 <_mount_brute@plt>
cmp    $0x1,%eax
je     131b <main+0x1ab>
jmp    1324 <main+0x1b4>
mov    0x2d20(%rip),%rax
mov    (%rax),%edi
lea    0xd37(%rip),%rsi
mov    $0x3e,%edx
call   1050 <write@plt>
mov    0x10(%rsp),%ebx
mov    %ebx,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x10(%rsp),%ebx
mov    0x20(%rsp),%rbp
movslq (%r14),%rax
mov    (%r12,%rax,8),%rdi
mov    0x8(%r12,%rax,8),%rsi
mov    0x14(%rsp),%ecx
mov    0x18(%rsp),%r8
mov    %rbp,%rdx
call   1060 <mount@plt>
cmp    $0xffffffff,%eax
je     1324 <main+0x1b4>
mov    0x2c86(%rip),%rax
mov    (%rax),%ebx
mov    0x18(%rsp),%rdi
test   %rdi,%rdi
je     12df <main+0x16f>
call   1030 <free@plt>
jmp    12df <main+0x16f>

LLVM IR (-O0):
@EXIT_FAILURE = global i32 0
@.str = [8 x i8] c"BRMt:o:\00"
@MS_BIND = global i32 0
@MS_REC = global i32 0
@MS_MOVE = global i32 0
@optarg = global i8* null
@STDOUT_FILENO = global i32 0
@.str.1 = [62 x i8] c"Usage: mount [-B|-R|-M] [-t TYPE] [-o OPTIONS] SOURCE TARGET\0A\00"
@optind = global i32 0
@EXIT_SUCCESS = global i32 0
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 i8*
%12 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = load i32, i32* @EXIT_FAILURE
store i32 %13, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
store i8 109, i8* %9
store i8* null, i8** %10
store i8* null, i8** %11
store i8* null, i8** %12
br label %14
14: ; preds = %45, %2
%15 = load i32, i32* %4
%16 = load i8**, i8*** %5
%17 = call i32 @getopt(i32 %15, i8** %16, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
store i32 %17, i32* %8
%18 = load i32, i32* %8
%19 = icmp eq i32 -1, %18
br i1 %19, label %20, label %21
20: ; preds = %14
br label %46
21: ; preds = %14
%22 = load i32, i32* %8
switch i32 %22, label %41 [
i32 66, label %23
i32 82, label %27
i32 77, label %33
i32 116, label %37
i32 111, label %39
]
23: ; preds = %21
%24 = load i32, i32* %8
%25 = trunc i32 %24 to i8
store i8 %25, i8* %9
%26 = load i32, i32* @MS_BIND
store i32 %26, i32* %7
br label %44
27: ; preds = %21
%28 = load i32, i32* %8
%29 = trunc i32 %28 to i8
store i8 %29, i8* %9
%30 = load i32, i32* @MS_BIND
%31 = load i32, i32* @MS_REC
%32 = or i32 %30, %31
store i32 %32, i32* %7
br label %44
33: ; preds = %21
%34 = load i32, i32* %8
%35 = trunc i32 %34 to i8
store i8 %35, i8* %9
%36 = load i32, i32* @MS_MOVE
store i32 %36, i32* %7
br label %44
37: ; preds = %21
%38 = load i8*, i8** @optarg
store i8* %38, i8** %11
br label %44
39: ; preds = %21
%40 = load i8*, i8** @optarg
store i8* %40, i8** %12
br label %44
41: ; preds = %21
%42 = load i32, i32* @STDOUT_FILENO
%43 = call i32 @write(i32 %42, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0), i32 62)
br label %127
44: ; preds = %39, %37, %33, %27, %23
br label %45
45: ; preds = %44
br i1 true, label %14, label %46
46: ; preds = %45, %20
%47 = load i32, i32* %4
%48 = load i32, i32* @optind
%49 = add nsw i32 2, %48
%50 = icmp ne i32 %47, %49
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = load i32, i32* @STDOUT_FILENO
%53 = call i32 @write(i32 %52, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0), i32 62)
br label %127
54: ; preds = %46
%55 = load i8, i8* %9
%56 = sext i8 %55 to i32
%57 = icmp eq i32 109, %56
br i1 %57, label %58, label %99
58: ; preds = %54
%59 = load i8*, i8** %12
%60 = icmp ne i8* null, %59
br i1 %60, label %61, label %67
61: ; preds = %58
%62 = load i8*, i8** %12
%63 = call i32 @_parse_options(i8* %62, i32* %7, i8** %10)
%64 = icmp eq i32 0, %63
br i1 %64, label %65, label %66
65: ; preds = %61
br label %127
66: ; preds = %61
br label %67
67: ; preds = %66, %58
%68 = load i8*, i8** %11
%69 = icmp eq i8* null, %68
br i1 %69, label %70, label %77
70: ; preds = %67
%71 = load i8**, i8*** %5
%72 = load i32, i32* @optind
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8*, i8** %71, i64 %73
%75 = load i8*, i8** %74
%76 = call i8* @_guess_type(i8* %75)
store i8* %76, i8** %11
br label %77
77: ; preds = %70, %67
%78 = load i8*, i8** %11
%79 = icmp eq i8* null, %78
br i1 %79, label %80, label %98
80: ; preds = %77
%81 = load i8**, i8*** %5
%82 = load i32, i32* @optind
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8*, i8** %81, i64 %83
%85 = load i8*, i8** %84
%86 = load i8**, i8*** %5
%87 = load i32, i32* @optind
%88 = add nsw i32 1, %87
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8*, i8** %86, i64 %89
%91 = load i8*, i8** %90
%92 = load i32, i32* %7
%93 = load i8*, i8** %10
%94 = call i32 @_mount_brute(i8* %85, i8* %91, i32 %92, i8* %93)
%95 = icmp eq i32 1, %94
br i1 %95, label %96, label %97
96: ; preds = %80
br label %118
97: ; preds = %80
br label %120
98: ; preds = %77
br label %99
99: ; preds = %98, %54
%100 = load i8**, i8*** %5
%101 = load i32, i32* @optind
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8*, i8** %100, i64 %102
%104 = load i8*, i8** %103
%105 = load i8**, i8*** %5
%106 = load i32, i32* @optind
%107 = add nsw i32 1, %106
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i8*, i8** %105, i64 %108
%110 = load i8*, i8** %109
%111 = load i8*, i8** %11
%112 = load i32, i32* %7
%113 = load i8*, i8** %10
%114 = call i32 @mount(i8* %104, i8* %110, i8* %111, i32 %112, i8* %113)
%115 = icmp eq i32 -1, %114
br i1 %115, label %116, label %117
116: ; preds = %99
br label %120
117: ; preds = %99
br label %118
118: ; preds = %117, %96
%119 = load i32, i32* @EXIT_SUCCESS
store i32 %119, i32* %6
br label %120
120: ; preds = %118, %116, %97
%121 = load i8*, i8** %10
%122 = icmp ne i8* null, %121
br i1 %122, label %123, label %126
123: ; preds = %120
%124 = load i8*, i8** %10
%125 = call i32 @free(i8* %124)
br label %126
126: ; preds = %123, %120
br label %127
127: ; preds = %126, %65, %51, %41
%128 = load i32, i32* %6
ret i32 %128
}

LLVM IR (-O2):
@EXIT_FAILURE = global i32 0
@.str = [8 x i8] c"BRMt:o:\00"
@MS_BIND = global i32 0
@MS_REC = global i32 0
@MS_MOVE = global i32 0
@optarg = global i8* null
@STDOUT_FILENO = global i32 0
@.str.1 = [62 x i8] c"Usage: mount [-B|-R|-M] [-t TYPE] [-o OPTIONS] SOURCE TARGET\0A\00"
@optind = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = load i32, i32* @EXIT_FAILURE
%6 = bitcast i32* %3 to i8*
%7 = bitcast i8** %4 to i8*
store i8* null, i8** %4
br label %8
8: ; preds = %27, %2
%9 = phi i32 [ 0, %2 ], [ %28, %27 ]
%10 = phi i8 [ 109, %2 ], [ %29, %27 ]
%11 = phi i8* [ null, %2 ], [ %14, %27 ]
%12 = phi i8* [ null, %2 ], [ %17, %27 ]
br label %13
13: ; preds = %8, %30
%14 = phi i8* [ %11, %8 ], [ %31, %30 ]
%15 = phi i8* [ %12, %8 ], [ %17, %30 ]
br label %16
16: ; preds = %13, %32
%17 = phi i8* [ %33, %32 ], [ %15, %13 ]
%18 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
switch i32 %18, label %34 [
i32 -1, label %37
i32 66, label %19
i32 82, label %21
i32 77, label %25
i32 116, label %30
i32 111, label %32
]
19: ; preds = %16
%20 = load i32, i32* @MS_BIND
br label %27
21: ; preds = %16
%22 = load i32, i32* @MS_BIND
%23 = load i32, i32* @MS_REC
%24 = or i32 %23, %22
br label %27
25: ; preds = %16
%26 = load i32, i32* @MS_MOVE
br label %27
27: ; preds = %25, %21, %19
%28 = phi i32 [ %20, %19 ], [ %24, %21 ], [ %26, %25 ]
%29 = phi i8 [ 66, %19 ], [ 82, %21 ], [ 77, %25 ]
br label %8
30: ; preds = %16
%31 = load i8*, i8** @optarg
br label %13
32: ; preds = %16
%33 = load i8*, i8** @optarg
br label %16
34: ; preds = %16
%35 = load i32, i32* @STDOUT_FILENO
%36 = tail call i32 @write(i32 %35, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0), i32 62)
br label %95
37: ; preds = %16
store i32 %9, i32* %3
%38 = load i32, i32* @optind
%39 = add nsw i32 %38, 2
%40 = icmp eq i32 %39, %0
br i1 %40, label %44, label %41
41: ; preds = %37
%42 = load i32, i32* @STDOUT_FILENO
%43 = tail call i32 @write(i32 %42, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.1, i64 0, i64 0), i32 62)
br label %95
44: ; preds = %37
%45 = icmp eq i8 %10, 109
br i1 %45, label %46, label %73
46: ; preds = %44
%47 = icmp eq i8* %17, null
br i1 %47, label %51, label %48
48: ; preds = %46
%49 = call i32 @_parse_options(i8* %17, i32* %3, i8** %4)
%50 = icmp eq i32 %49, 0
br i1 %50, label %95, label %51
51: ; preds = %48, %46
%52 = icmp eq i8* %14, null
br i1 %52, label %53, label %73
53: ; preds = %51
%54 = load i32, i32* @optind
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8*, i8** %1, i64 %55
%57 = load i8*, i8** %56
%58 = call i8* @_guess_type(i8* %57)
%59 = icmp eq i8* %58, null
br i1 %59, label %60, label %73
60: ; preds = %53
%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 = add nsw i32 %61, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8*, i8** %1, i64 %66
%68 = load i8*, i8** %67
%69 = load i32, i32* %3
%70 = load i8*, i8** %4
%71 = call i32 @_mount_brute(i8* %64, i8* %68, i32 %69, i8* %70)
%72 = icmp eq i32 %71, 1
br i1 %72, label %87, label %89
73: ; preds = %51, %53, %44
%74 = phi i8* [ %58, %53 ], [ %14, %44 ], [ %14, %51 ]
%75 = load i32, i32* @optind
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8*, i8** %1, i64 %76
%78 = load i8*, i8** %77
%79 = add nsw i32 %75, 1
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8*, i8** %1, i64 %80
%82 = load i8*, i8** %81
%83 = load i32, i32* %3
%84 = load i8*, i8** %4
%85 = call i32 @mount(i8* %78, i8* %82, i8* %74, i32 %83, i8* %84)
%86 = icmp eq i32 %85, -1
br i1 %86, label %89, label %87
87: ; preds = %73, %60
%88 = load i32, i32* @EXIT_SUCCESS
br label %89
89: ; preds = %73, %60, %87
%90 = phi i32 [ %88, %87 ], [ %5, %60 ], [ %5, %73 ]
%91 = load i8*, i8** %4
%92 = icmp eq i8* %91, null
br i1 %92, label %95, label %93
93: ; preds = %89
%94 = call i32 @free(i8* %91)
br label %95
95: ; preds = %89, %93, %48, %41, %34
%96 = phi i32 [ %5, %41 ], [ %5, %48 ], [ %90, %93 ], [ %90, %89 ], [ %5, %34 ]
ret i32 %96
}