#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*/ printf(char *);
void show_help() {
  printf("Use: parrot_mount [OPTIONS] PATH DEST RWX\n");
  printf("     parrot_mount [OPTIONS] --unmount PATH\n");
  printf("     parrot_mount [OPTIONS] --disable\n");
  printf("\n");
  printf("Where options are:\n");
  printf("   --unmount        Unmount a previously mounted path.\n");
  printf("   --disable        Disable any further mounting/unmounting in this "
         "parrot session.\n");
  printf("-d --debug <flags>  Enable debugging for this subsystem.\n");
  printf("-v --version        Show version number.\n");
  printf("-h --help           Help: Show these options.\n");
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf04(%rip),%rdi
call   1030 <printf@plt>
lea    0xf24(%rip),%rdi
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf67(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfde(%rip),%rdi
call   1030 <printf@plt>
lea    0xffc(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xef6(%rip),%rdi
call   1040 <puts@plt>
lea    0xf15(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf25(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1040 <puts@plt>
lea    0xf57(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9f(%rip),%rdi
call   1040 <puts@plt>
lea    0xfcc(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe9(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [43 x i8] c"Use: parrot_mount [OPTIONS] PATH DEST RWX\0A\00"
@.str.1 = [44 x i8] c" parrot_mount [OPTIONS] --unmount PATH\0A\00"
@.str.2 = [39 x i8] c" parrot_mount [OPTIONS] --disable\0A\00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [20 x i8] c"Where options are:\0A\00"
@.str.5 = [56 x i8] c" --unmount Unmount a previously mounted path.\0A\00"
@.str.6 = [85 x i8] c" --disable Disable any further mounting/unmounting in this parrot session.\0A\00"
@.str.7 = [58 x i8] c"-d --debug <flags> Enable debugging for this subsystem.\0A\00"
@.str.8 = [42 x i8] c"-v --version Show version number.\0A\00"
@.str.9 = [47 x i8] c"-h --help Help: Show these options.\0A\00"
define void @show_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [42 x i8] c"Use: parrot_mount [OPTIONS] PATH DEST RWX\00"
@str.10 = [43 x i8] c" parrot_mount [OPTIONS] --unmount PATH\00"
@str.11 = [38 x i8] c" parrot_mount [OPTIONS] --disable\00"
@str.12 = [19 x i8] c"Where options are:\00"
@str.13 = [55 x i8] c" --unmount Unmount a previously mounted path.\00"
@str.14 = [84 x i8] c" --disable Disable any further mounting/unmounting in this parrot session.\00"
@str.15 = [57 x i8] c"-d --debug <flags> Enable debugging for this subsystem.\00"
@str.16 = [41 x i8] c"-v --version Show version number.\00"
@str.17 = [46 x i8] c"-h --help Help: Show these options.\00"
define void @show_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.10, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.11, i64 0, i64 0))
%4 = tail call i32 @putchar(i32 10)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.16, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.17, i64 0, i64 0))
ret void
}