#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 notebook [OPTIONS]\n"
         "	-%c, --%s		lists all notebooks\n"
         "	-%c, --%s=NAME		adds a new notebook\n"
         "	-%c, --%s=NAME		delete an existing notebook\n"
         "	-%c, --%s=NAME		select the current notebook\n"
         "	-%c, --%s		%s\n",
         'l', "list", 'a', "add", 'D', "delete", 's', "select", '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    $0x6c,%esi
lea    0xfa1(%rip),%rdx
mov    $0x61,%ecx
lea    0xf9a(%rip),%r8
mov    $0x44,%r9d
lea    0xf91(%rip),%rbx
lea    0xf91(%rip),%r11
lea    0xf91(%rip),%r10
lea    0xf8f(%rip),%rax
mov    %rbx,(%rsp)
movl   $0x73,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    0xfd1(%rip),%rax
lea    0xfc5(%rip),%r10
lea    0xfb7(%rip),%r11
lea    0xfa9(%rip),%rbx
lea    0xecc(%rip),%rdi
lea    0xf92(%rip),%rdx
lea    0xf90(%rip),%r8
mov    $0x6c,%esi
mov    $0x61,%ecx
mov    $0x44,%r9d
push   %rax
push   %r10
push   $0x68
push   %r11
push   $0x73
push   %rbx
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [205 x i8] c"usage: gei notebook [OPTIONS]\0A\09-%c, --%s\09\09lists all notebooks\0A\09-%c, --%s=NAME\09\09adds a new notebook\0A\09-%c, --%s=NAME\09\09delete an existing notebook\0A\09-%c, --%s=NAME\09\09select the current notebook\0A\09-%c, --%s\09\09%s\0A\00"
@.str.1 = [5 x i8] c"list\00"
@.str.2 = [4 x i8] c"add\00"
@.str.3 = [7 x i8] c"delete\00"
@.str.4 = [7 x i8] c"select\00"
@.str.5 = [5 x i8] c"help\00"
@.str.6 = [24 x i8] c"print usage information\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([205 x i8], [205 x i8]* @.str, i64 0, i64 0), i8 signext 108, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8 signext 97, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8 signext 68, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8 signext 115, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8 signext 104, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [205 x i8] c"usage: gei notebook [OPTIONS]\0A\09-%c, --%s\09\09lists all notebooks\0A\09-%c, --%s=NAME\09\09adds a new notebook\0A\09-%c, --%s=NAME\09\09delete an existing notebook\0A\09-%c, --%s=NAME\09\09select the current notebook\0A\09-%c, --%s\09\09%s\0A\00"
@.str.1 = [5 x i8] c"list\00"
@.str.2 = [4 x i8] c"add\00"
@.str.3 = [7 x i8] c"delete\00"
@.str.4 = [7 x i8] c"select\00"
@.str.5 = [5 x i8] c"help\00"
@.str.6 = [24 x i8] c"print usage information\00"
define void @print_usage() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([205 x i8], [205 x i8]* @.str, i64 0, i64 0), i8 signext 108, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8 signext 97, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8 signext 68, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8 signext 115, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8 signext 104, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
ret void
}