#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 /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void Usage(char *pszName) {
  fprintf(
      stderr,
      "Usage: %s [OPTIONS] NAME MOUNTPOINT\n"
      "Mount the VirtualBox shared folder NAME from the host system to "
      "MOUNTPOINT.\n"
      "\n"
      "  -w                    mount the shared folder writable (the default)\n"
      "  -r                    mount the shared folder read-only\n"
      "  -o OPTION[,OPTION...] use the mount options specified\n"
      "\n",
      pszName);
  fprintf(
      stderr,
      "Available mount options are:\n"
      "\n"
      "     rw                 mount writable (the default)\n"
      "     ro                 mount read only\n"
      "     uid=UID            set the default file owner user id to UID\n"
      "     gid=GID            set the default file owner group id to GID\n");
  fprintf(stderr,
          "     dmode=MODE         override the mode for all directories "
          "(octal) to MODE\n"
          "     fmode=MODE         override the mode for all regular files "
          "(octal) to MODE\n"
          "     umask=UMASK        set the umask (bitmask of permissions not "
          "present) in (octal) UMASK\n"
          "     dmask=UMASK        set the umask applied to directories only "
          "in (octal) UMASK\n"
          "     fmask=UMASK        set the umask applied to regular files only "
          "in (octal) UMASK\n"
          "     stat_ttl=TTL       set the \"time to live\" (in ms) for the "
          "stat caches (default %d)\n",
          200);
  fprintf(
      stderr,
      "     fsync              honor fsync calls instead of ignoring them\n"
      "     ttl=TTL            set the \"time to live\" to TID for the dentry\n"
      "     iocharset CHARSET  use the character set CHARSET for i/o "
      "operations (default utf8)\n"
      "     convertcp CHARSET  convert the shared folder name from the "
      "character set CHARSET to utf8\n\n"
      "Less common used options:\n"
      "     noexec,exec,nodev,dev,nosuid,suid\n");
  exit(1);
}


x86 assembly (clang, -O0):
<Usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xec0(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e92(%rip),%rax
mov    (%rax),%edi
lea    0xfd5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e7b(%rip),%rax
mov    (%rax),%edi
lea    0x10bf(%rip),%rsi
mov    $0xc8,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e5f(%rip),%rax
mov    (%rax),%edi
lea    0x129e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<Usage>:
push   %rbx
mov    %rdi,%rdx
mov    0x2eb5(%rip),%rbx
mov    (%rbx),%edi
lea    0xecc(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfe8(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10d9(%rip),%rsi
mov    $0xc8,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x12bf(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [300 x i8] c"Usage: %s [OPTIONS] NAME MOUNTPOINT\0AMount the VirtualBox shared folder NAME from the host system to MOUNTPOINT.\0A\0A -w mount the shared folder writable (the default)\0A -r mount the shared folder read-only\0A -o OPTION[,OPTION...] use the mount options specified\0A\0A\00"
@.str.1 = [257 x i8] c"Available mount options are:\0A\0A rw mount writable (the default)\0A ro mount read only\0A uid=UID set the default file owner user id to UID\0A gid=GID set the default file owner group id to GID\0A\00"
@.str.2 = [507 x i8] c" dmode=MODE override the mode for all directories (octal) to MODE\0A fmode=MODE override the mode for all regular files (octal) to MODE\0A umask=UMASK set the umask (bitmask of permissions not present) in (octal) UMASK\0A dmask=UMASK set the umask applied to directories only in (octal) UMASK\0A fmask=UMASK set the umask applied to regular files only in (octal) UMASK\0A stat_ttl=TTL set the \22time to live\22 (in ms) for the stat caches (default %d)\0A\00"
@.str.3 = [385 x i8] c" fsync honor fsync calls instead of ignoring them\0A ttl=TTL set the \22time to live\22 to TID for the dentry\0A iocharset CHARSET use the character set CHARSET for i/o operations (default utf8)\0A convertcp CHARSET convert the shared folder name from the character set CHARSET to utf8\0A\0ALess common used options:\0A noexec,exec,nodev,dev,nosuid,suid\0A\00"
define void @Usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([300 x i8], [300 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = load i32, i32* @stderr
%7 = call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([257 x i8], [257 x i8]* @.str.1, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([507 x i8], [507 x i8]* @.str.2, i64 0, i64 0), i32 200)
%10 = load i32, i32* @stderr
%11 = call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([385 x i8], [385 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [300 x i8] c"Usage: %s [OPTIONS] NAME MOUNTPOINT\0AMount the VirtualBox shared folder NAME from the host system to MOUNTPOINT.\0A\0A -w mount the shared folder writable (the default)\0A -r mount the shared folder read-only\0A -o OPTION[,OPTION...] use the mount options specified\0A\0A\00"
@.str.1 = [257 x i8] c"Available mount options are:\0A\0A rw mount writable (the default)\0A ro mount read only\0A uid=UID set the default file owner user id to UID\0A gid=GID set the default file owner group id to GID\0A\00"
@.str.2 = [507 x i8] c" dmode=MODE override the mode for all directories (octal) to MODE\0A fmode=MODE override the mode for all regular files (octal) to MODE\0A umask=UMASK set the umask (bitmask of permissions not present) in (octal) UMASK\0A dmask=UMASK set the umask applied to directories only in (octal) UMASK\0A fmask=UMASK set the umask applied to regular files only in (octal) UMASK\0A stat_ttl=TTL set the \22time to live\22 (in ms) for the stat caches (default %d)\0A\00"
@.str.3 = [385 x i8] c" fsync honor fsync calls instead of ignoring them\0A ttl=TTL set the \22time to live\22 to TID for the dentry\0A iocharset CHARSET use the character set CHARSET for i/o operations (default utf8)\0A convertcp CHARSET convert the shared folder name from the character set CHARSET to utf8\0A\0ALess common used options:\0A noexec,exec,nodev,dev,nosuid,suid\0A\00"
define void @Usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 (i32, i8*, ...) @fprintf(i32 %2, i8* getelementptr inbounds ([300 x i8], [300 x i8]* @.str, i64 0, i64 0), i8* %0)
%4 = load i32, i32* @stderr
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([257 x i8], [257 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([507 x i8], [507 x i8]* @.str.2, i64 0, i64 0), i32 200)
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([385 x i8], [385 x i8]* @.str.3, i64 0, i64 0))
%10 = tail call i32 @exit(i32 1)
unreachable
}