#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 *, float, char *, char, char *, char *, char,
                          char *, char *, char, char *, char *);
void print_usage() {
  printf("usage: git show [OPTIONS] <SHA1>\n"
         "  -%c, --%s		show full note with metadata\n"
         "  -%c, --%s=NAME	%s\n"
         "  -%c, --%s		%s\n"
         "  -%c, --%s		%s\n",
         'f', "full", '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    $0x28,%rsp
lea    0xee4(%rip),%rdi
movss  0xed8(%rip),%xmm0
lea    0xf55(%rip),%rsi
mov    $0x6e,%edx
lea    0xf4e(%rip),%rcx
lea    0xf50(%rip),%r8
mov    $0x76,%r9d
lea    0xf71(%rip),%rbx
lea    0xf72(%rip),%r11
lea    0xf86(%rip),%r10
lea    0xf84(%rip),%rax
mov    %rbx,(%rsp)
mov    %r11,0x8(%rsp)
movl   $0x68,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %rax,0x20(%rsp)
call   1030 <printf@plt>
add    $0x28,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rbx
sub    $0x8,%rsp
lea    0xfcc(%rip),%rax
lea    0xfc0(%rip),%r10
lea    0xf9e(%rip),%r11
lea    0xf8f(%rip),%rbx
lea    0xecc(%rip),%rdi
lea    0xf45(%rip),%rsi
lea    0xf43(%rip),%rcx
lea    0xf45(%rip),%r8
movss  0xeab(%rip),%xmm0
mov    $0x6e,%edx
mov    $0x76,%r9d
push   %rax
push   %r10
push   $0x68
push   %r11
push   %rbx
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [128 x i8] c"usage: git show [OPTIONS] <SHA1>\0A -%c, --%s\09\09show full note with metadata\0A -%c, --%s=NAME\09%s\0A -%c, --%s\09\09%s\0A -%c, --%s\09\09%s\0A\00"
@.str.1 = [5 x i8] c"full\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 ([128 x i8], [128 x i8]* @.str, i64 0, i64 0), float 1.020000e+02, i8* getelementptr inbounds ([5 x i8], [5 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 = [128 x i8] c"usage: git show [OPTIONS] <SHA1>\0A -%c, --%s\09\09show full note with metadata\0A -%c, --%s=NAME\09%s\0A -%c, --%s\09\09%s\0A -%c, --%s\09\09%s\0A\00"
@.str.1 = [5 x i8] c"full\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 ([128 x i8], [128 x i8]* @.str, i64 0, i64 0), float 1.020000e+02, i8* getelementptr inbounds ([5 x i8], [5 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
}