#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 *, char, char *, char, char *, char *, char,
                          char *, char *, char, char *, char *);
void print_usage() {
  printf("Usage: gei rm [OPTIONS] <SHA1>\n"
         "  -%c, --%s=NAME	destination notebook\n"
         "  -%c, --%s=NAME	%s\n"
         "  -%c, --%s		%s\n"
         "  -%c, --%s		%s\n",
         'd', "destination", 'n', "notebook",
         "select the notebook to use for this operation", 'v', "verbose",
         "print verbose debug output", 'h', "help", "print usage information");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x38,%rsp
lea    0xee0(%rip),%rdi
mov    $0x64,%esi
lea    0xf4e(%rip),%rdx
mov    $0x6e,%ecx
lea    0xf4e(%rip),%r8
lea    0xf50(%rip),%r9
lea    0xf77(%rip),%rbx
lea    0xf78(%rip),%r11
lea    0xf8c(%rip),%r10
lea    0xf8a(%rip),%rax
movl   $0x76,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
movl   $0x68,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
call   1030 <printf@plt>
add    $0x38,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rbx
lea    0xfcd(%rip),%rax
lea    0xfc1(%rip),%r10
lea    0xf9f(%rip),%r11
lea    0xf90(%rip),%rbx
lea    0xecc(%rip),%rdi
lea    0xf3f(%rip),%rdx
lea    0xf44(%rip),%r8
lea    0xf46(%rip),%r9
mov    $0x64,%esi
mov    $0x6e,%ecx
push   %rax
push   %r10
push   $0x68
push   %r11
push   %rbx
push   $0x76
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [122 x i8] c"Usage: gei rm [OPTIONS] <SHA1>\0A -%c, --%s=NAME\09destination notebook\0A -%c, --%s=NAME\09%s\0A -%c, --%s\09\09%s\0A -%c, --%s\09\09%s\0A\00"
@.str.1 = [12 x i8] c"destination\00"
@.str.2 = [9 x i8] c"notebook\00"
@.str.3 = [46 x i8] c"select the notebook to use for this operation\00"
@.str.4 = [8 x i8] c"verbose\00"
@.str.5 = [27 x i8] c"print verbose debug output\00"
@.str.6 = [5 x i8] c"help\00"
@.str.7 = [24 x i8] c"print usage information\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([122 x i8], [122 x i8]* @.str, i64 0, i64 0), i8 signext 100, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8 signext 110, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i8 signext 118, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0), i8 signext 104, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [122 x i8] c"Usage: gei rm [OPTIONS] <SHA1>\0A -%c, --%s=NAME\09destination notebook\0A -%c, --%s=NAME\09%s\0A -%c, --%s\09\09%s\0A -%c, --%s\09\09%s\0A\00"
@.str.1 = [12 x i8] c"destination\00"
@.str.2 = [9 x i8] c"notebook\00"
@.str.3 = [46 x i8] c"select the notebook to use for this operation\00"
@.str.4 = [8 x i8] c"verbose\00"
@.str.5 = [27 x i8] c"print verbose debug output\00"
@.str.6 = [5 x i8] c"help\00"
@.str.7 = [24 x i8] c"print usage information\00"
define void @print_usage() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([122 x i8], [122 x i8]* @.str, i64 0, i64 0), i8 signext 100, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8 signext 110, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0), i8 signext 118, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0), i8 signext 104, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
ret void
}