#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*/ PrintStdOpts(char *);
int /*<<< orphan*/ printf(char *);
void ReportUsage(void) {
  printf("\nUSAGE: HCopy [options] src [ + src ...] tgt ...\n\n");
  printf(" Option                                       Default\n\n");
  printf(" -a i     Use level i labels                  1\n");
  printf(" -e t     End copy at time t                  EOF\n");
  printf(" -i mlf   Save labels to mlf s                null\n");
  printf(" -l dir   Output target label files to dir    current\n");
  printf(" -m t     Set margin of t around x/n segs     0\n");
  printf(" -n i [j] Extract i'th [to j'th] label        off\n");
  printf(" -s t     Start copy at time t                0\n");
  printf(" -t n     Set trace line width to n           70\n");
  printf(" -x s [n] Extract [n'th occ of] label  s      off\n");
  PrintStdOpts("FGILPOX");
}


x86 assembly (clang, -O0):
<ReportUsage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xefc(%rip),%rdi
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf74(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc7(%rip),%rdi
call   1030 <printf@plt>
lea    0xfec(%rip),%rdi
call   1030 <printf@plt>
lea    0x1013(%rip),%rdi
call   1030 <printf@plt>
lea    0x1038(%rip),%rdi
call   1030 <printf@plt>
lea    0x105e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1085(%rip),%rdi
call   1040 <PrintStdOpts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ReportUsage>:
push   %rax
lea    0xee0(%rip),%rdi
call   1030 <puts@plt>
lea    0xf06(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf55(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7b(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa2(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcc(%rip),%rdi
call   1030 <puts@plt>
lea    0xff0(%rip),%rdi
call   1030 <puts@plt>
lea    0x1016(%rip),%rdi
call   1030 <puts@plt>
lea    0x103a(%rip),%rdi
call   1030 <puts@plt>
lea    0x105f(%rip),%rdi
call   1030 <puts@plt>
lea    0xe54(%rip),%rdi
pop    %rax
jmp    1040 <PrintStdOpts@plt>

LLVM IR (-O0):
@.str = [51 x i8] c"\0AUSAGE: HCopy [options] src [ + src ...] tgt ...\0A\0A\00"
@.str.1 = [56 x i8] c" Option Default\0A\0A\00"
@.str.2 = [49 x i8] c" -a i Use level i labels 1\0A\00"
@.str.3 = [51 x i8] c" -e t End copy at time t EOF\0A\00"
@.str.4 = [52 x i8] c" -i mlf Save labels to mlf s null\0A\00"
@.str.5 = [55 x i8] c" -l dir Output target label files to dir current\0A\00"
@.str.6 = [49 x i8] c" -m t Set margin of t around x/n segs 0\0A\00"
@.str.7 = [51 x i8] c" -n i [j] Extract i'th [to j'th] label off\0A\00"
@.str.8 = [49 x i8] c" -s t Start copy at time t 0\0A\00"
@.str.9 = [50 x i8] c" -t n Set trace line width to n 70\0A\00"
@.str.10 = [51 x i8] c" -x s [n] Extract [n'th occ of] label s off\0A\00"
@.str.11 = [8 x i8] c"FGILPOX\00"
define void @ReportUsage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @PrintStdOpts(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.11 = [8 x i8] c"FGILPOX\00"
@str = [50 x i8] c"\0AUSAGE: HCopy [options] src [ + src ...] tgt ...\0A\00"
@str.12 = [55 x i8] c" Option Default\0A\00"
@str.13 = [48 x i8] c" -a i Use level i labels 1\00"
@str.14 = [50 x i8] c" -e t End copy at time t EOF\00"
@str.15 = [51 x i8] c" -i mlf Save labels to mlf s null\00"
@str.16 = [54 x i8] c" -l dir Output target label files to dir current\00"
@str.17 = [48 x i8] c" -m t Set margin of t around x/n segs 0\00"
@str.18 = [50 x i8] c" -n i [j] Extract i'th [to j'th] label off\00"
@str.19 = [48 x i8] c" -s t Start copy at time t 0\00"
@str.20 = [49 x i8] c" -t n Set trace line width to n 70\00"
@str.21 = [50 x i8] c" -x s [n] Extract [n'th occ of] label s off\00"
define void @ReportUsage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @PrintStdOpts(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
ret void
}