#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 usage(void) {
  printf("proftool - print profile statistics\n");
  printf("Usage: proftool [options] file[s]\n");
  printf("Options:\n");
  printf("   --apparmor - print profiles without apparmor\n");
  printf("   --caps - print profiles without caps\n");
  printf("   --dbus-system-none - profiles without  \"dbus-system none\"\n");
  printf("   --dbus-user-none - profiles without  \"dbus-user none\"\n");
  printf("   --ssh - print profiles without \"include disable-common.inc\"\n");
  printf("   --noexec - print profiles without \"include disable-exec.inc\"\n");
  printf("   --noroot - print profiles without \"noroot\"\n");
  printf("   --private-bin - print profiles without private-bin\n");
  printf("   --private-dev - print profiles without private-dev\n");
  printf("   --private-etc - print profiles without private-etc\n");
  printf("   --private-tmp - print profiles without private-tmp\n");
  printf("   --seccomp - print profiles without seccomp\n");
  printf("   --memory-deny-write-execute - profile without "
         "\"memory-deny-write-execute\"\n");
  printf("   --whitelist-home - print profiles whitelisting home directory\n");
  printf("   --whitelist-var - print profiles without \"include "
         "whitelist-var-common.inc\"\n");
  printf("   --whitelist-runuser - print profiles without \"include "
         "whitelist-runuser-common.inc\" or \"blacklist ${RUNUSER}\"\n");
  printf("   --whitelist-usrshare - print profiles without \"include "
         "whitelist-usr-share-common.inc\"\n");
  printf("   --debug\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xefe(%rip),%rdi
call   1030 <printf@plt>
lea    0xf15(%rip),%rdi
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
call   1030 <printf@plt>
lea    0xf38(%rip),%rdi
call   1030 <printf@plt>
lea    0xf55(%rip),%rdi
call   1030 <printf@plt>
lea    0xf87(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe9(%rip),%rdi
call   1030 <printf@plt>
lea    0x101e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1041(%rip),%rdi
call   1030 <printf@plt>
lea    0x106c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1097(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c2(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ed(%rip),%rdi
call   1030 <printf@plt>
lea    0x1110(%rip),%rdi
call   1030 <printf@plt>
lea    0x1152(%rip),%rdi
call   1030 <printf@plt>
lea    0x1188(%rip),%rdi
call   1030 <printf@plt>
lea    0x11cc(%rip),%rdi
call   1030 <printf@plt>
lea    0x1232(%rip),%rdi
call   1030 <printf@plt>
lea    0x1281(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8c(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xef0(%rip),%rdi
call   1040 <puts@plt>
lea    0xf06(%rip),%rdi
call   1040 <puts@plt>
lea    0xf03(%rip),%rdi
call   1040 <puts@plt>
lea    0xf27(%rip),%rdi
call   1040 <puts@plt>
lea    0xf43(%rip),%rdi
call   1040 <puts@plt>
lea    0xf74(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa1(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd4(%rip),%rdi
call   1040 <puts@plt>
lea    0x1008(%rip),%rdi
call   1040 <puts@plt>
lea    0x102a(%rip),%rdi
call   1040 <puts@plt>
lea    0x1054(%rip),%rdi
call   1040 <puts@plt>
lea    0x107e(%rip),%rdi
call   1040 <puts@plt>
lea    0x10a8(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d2(%rip),%rdi
call   1040 <puts@plt>
lea    0x10f4(%rip),%rdi
call   1040 <puts@plt>
lea    0x1135(%rip),%rdi
call   1040 <puts@plt>
lea    0x116a(%rip),%rdi
call   1040 <puts@plt>
lea    0x11ad(%rip),%rdi
call   1040 <puts@plt>
lea    0x1212(%rip),%rdi
call   1040 <puts@plt>
lea    0x1260(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [37 x i8] c"proftool - print profile statistics\0A\00"
@.str.1 = [35 x i8] c"Usage: proftool [options] file[s]\0A\00"
@.str.2 = [10 x i8] c"Options:\0A\00"
@.str.3 = [49 x i8] c" --apparmor - print profiles without apparmor\0A\00"
@.str.4 = [41 x i8] c" --caps - print profiles without caps\0A\00"
@.str.5 = [62 x i8] c" --dbus-system-none - profiles without \22dbus-system none\22\0A\00"
@.str.6 = [58 x i8] c" --dbus-user-none - profiles without \22dbus-user none\22\0A\00"
@.str.7 = [64 x i8] c" --ssh - print profiles without \22include disable-common.inc\22\0A\00"
@.str.8 = [65 x i8] c" --noexec - print profiles without \22include disable-exec.inc\22\0A\00"
@.str.9 = [47 x i8] c" --noroot - print profiles without \22noroot\22\0A\00"
@.str.10 = [55 x i8] c" --private-bin - print profiles without private-bin\0A\00"
@.str.11 = [55 x i8] c" --private-dev - print profiles without private-dev\0A\00"
@.str.12 = [55 x i8] c" --private-etc - print profiles without private-etc\0A\00"
@.str.13 = [55 x i8] c" --private-tmp - print profiles without private-tmp\0A\00"
@.str.14 = [47 x i8] c" --seccomp - print profiles without seccomp\0A\00"
@.str.15 = [78 x i8] c" --memory-deny-write-execute - profile without \22memory-deny-write-execute\22\0A\00"
@.str.16 = [66 x i8] c" --whitelist-home - print profiles whitelisting home directory\0A\00"
@.str.17 = [80 x i8] c" --whitelist-var - print profiles without \22include whitelist-var-common.inc\22\0A\00"
@.str.18 = [114 x i8] c" --whitelist-runuser - print profiles without \22include whitelist-runuser-common.inc\22 or \22blacklist ${RUNUSER}\22\0A\00"
@.str.19 = [91 x i8] c" --whitelist-usrshare - print profiles without \22include whitelist-usr-share-common.inc\22\0A\00"
@.str.20 = [12 x i8] c" --debug\0A\00"
@.str.21 = [2 x i8] c"\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 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))
%11 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([114 x i8], [114 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.21, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [36 x i8] c"proftool - print profile statistics\00"
@str.22 = [34 x i8] c"Usage: proftool [options] file[s]\00"
@str.23 = [9 x i8] c"Options:\00"
@str.24 = [48 x i8] c" --apparmor - print profiles without apparmor\00"
@str.25 = [40 x i8] c" --caps - print profiles without caps\00"
@str.26 = [61 x i8] c" --dbus-system-none - profiles without \22dbus-system none\22\00"
@str.27 = [57 x i8] c" --dbus-user-none - profiles without \22dbus-user none\22\00"
@str.28 = [63 x i8] c" --ssh - print profiles without \22include disable-common.inc\22\00"
@str.29 = [64 x i8] c" --noexec - print profiles without \22include disable-exec.inc\22\00"
@str.30 = [46 x i8] c" --noroot - print profiles without \22noroot\22\00"
@str.31 = [54 x i8] c" --private-bin - print profiles without private-bin\00"
@str.32 = [54 x i8] c" --private-dev - print profiles without private-dev\00"
@str.33 = [54 x i8] c" --private-etc - print profiles without private-etc\00"
@str.34 = [54 x i8] c" --private-tmp - print profiles without private-tmp\00"
@str.35 = [46 x i8] c" --seccomp - print profiles without seccomp\00"
@str.36 = [77 x i8] c" --memory-deny-write-execute - profile without \22memory-deny-write-execute\22\00"
@str.37 = [65 x i8] c" --whitelist-home - print profiles whitelisting home directory\00"
@str.38 = [79 x i8] c" --whitelist-var - print profiles without \22include whitelist-var-common.inc\22\00"
@str.39 = [113 x i8] c" --whitelist-runuser - print profiles without \22include whitelist-runuser-common.inc\22 or \22blacklist ${RUNUSER}\22\00"
@str.40 = [90 x i8] c" --whitelist-usrshare - print profiles without \22include whitelist-usr-share-common.inc\22\00"
@str.41 = [11 x i8] c" --debug\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.22, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.23, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.24, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.25, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.26, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.27, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.28, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.29, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.30, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.31, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.32, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.33, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.34, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.35, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.36, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.37, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.38, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([113 x i8], [113 x i8]* @str.39, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([90 x i8], [90 x i8]* @str.40, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.41, i64 0, i64 0))
%22 = tail call i32 @putchar(i32 10)
ret void
}