#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 *, ...);
int /*<<< orphan*/ usage();
void printh(void) {
  usage();
  printf("\nOptions: \n");
  printf("%-17s %s\n", "  -d --delete", "delete files from trash");
  printf("%-17s %s", "  -i", "interactive, confirm before over writing");
  printf("%s\n", " or deleting a file");
  printf("%-17s %s", "  -r --restore", "restore a file from trash to");
  printf("%s\n", " its original location");
  printf("\n");
  printf("%-17s %s\n", "  -h --help", "shows this help");
  printf("%-17s %s\n", "  -v --verbose", "verbose operation mode");
  printf("%-17s %s\n", "  -V --version", "shows version information");
  printf("\nReport bugs to <pjp at fedoraproject dot org>\n");
}


x86 assembly (clang, -O0):
<printh>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1040 <usage@plt>
lea    0xece(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xecc(%rip),%rdi
lea    0xecf(%rip),%rsi
lea    0xed6(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
lea    0xee2(%rip),%rsi
lea    0xee0(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe9a(%rip),%rdi
lea    0xef4(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeaf(%rip),%rdi
lea    0xef3(%rip),%rsi
lea    0xefb(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe69(%rip),%rdi
lea    0xf03(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe40(%rip),%rdi
lea    0xef7(%rip),%rsi
lea    0xefc(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe24(%rip),%rdi
lea    0xef7(%rip),%rsi
lea    0xeff(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe08(%rip),%rdi
lea    0xf01(%rip),%rsi
lea    0xf09(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf15(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printh>:
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   1060 <usage@plt>
lea    0xfd7(%rip),%rdi
call   1040 <puts@plt>
lea    0xea2(%rip),%r14
lea    0xea5(%rip),%rsi
lea    0xeac(%rip),%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xeb3(%rip),%rbx
lea    0xeb5(%rip),%rsi
lea    0xeb3(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xecb(%rip),%rdi
call   1040 <puts@plt>
lea    0xed3(%rip),%rsi
lea    0xedb(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xee7(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee8(%rip),%rsi
lea    0xeed(%rip),%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xeec(%rip),%rsi
lea    0xef4(%rip),%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xefa(%rip),%rsi
lea    0xf02(%rip),%rdx
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf16(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"\0AOptions: \0A\00"
@.str.1 = [10 x i8] c"%-17s %s\0A\00"
@.str.2 = [14 x i8] c" -d --delete\00"
@.str.3 = [24 x i8] c"delete files from trash\00"
@.str.4 = [9 x i8] c"%-17s %s\00"
@.str.5 = [5 x i8] c" -i\00"
@.str.6 = [41 x i8] c"interactive, confirm before over writing\00"
@.str.7 = [4 x i8] c"%s\0A\00"
@.str.8 = [20 x i8] c" or deleting a file\00"
@.str.9 = [15 x i8] c" -r --restore\00"
@.str.10 = [29 x i8] c"restore a file from trash to\00"
@.str.11 = [23 x i8] c" its original location\00"
@.str.12 = [2 x i8] c"\0A\00"
@.str.13 = [12 x i8] c" -h --help\00"
@.str.14 = [16 x i8] c"shows this help\00"
@.str.15 = [15 x i8] c" -v --verbose\00"
@.str.16 = [23 x i8] c"verbose operation mode\00"
@.str.17 = [15 x i8] c" -V --version\00"
@.str.18 = [26 x i8] c"shows version information\00"
@.str.19 = [48 x i8] c"\0AReport bugs to <pjp at fedoraproject dot org>\0A\00"
define void @printh() {
%1 = call i32 (...) @usage()
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.18, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [10 x i8] c"%-17s %s\0A\00"
@.str.2 = [14 x i8] c" -d --delete\00"
@.str.3 = [24 x i8] c"delete files from trash\00"
@.str.4 = [9 x i8] c"%-17s %s\00"
@.str.5 = [5 x i8] c" -i\00"
@.str.6 = [41 x i8] c"interactive, confirm before over writing\00"
@.str.8 = [20 x i8] c" or deleting a file\00"
@.str.9 = [15 x i8] c" -r --restore\00"
@.str.10 = [29 x i8] c"restore a file from trash to\00"
@.str.11 = [23 x i8] c" its original location\00"
@.str.13 = [12 x i8] c" -h --help\00"
@.str.14 = [16 x i8] c"shows this help\00"
@.str.15 = [15 x i8] c" -v --verbose\00"
@.str.16 = [23 x i8] c"verbose operation mode\00"
@.str.17 = [15 x i8] c" -V --version\00"
@.str.18 = [26 x i8] c"shows version information\00"
@str = [11 x i8] c"\0AOptions: \00"
@str.20 = [47 x i8] c"\0AReport bugs to <pjp at fedoraproject dot org>\00"
define void @printh() {
%1 = tail call i32 (...) @usage()
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0))
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.18, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.20, i64 0, i64 0))
ret void
}