#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 *);
void print_usage(void) {
  printf("plpc - plp c toolchain\n\n");
  printf("usage: plpc <options> <input files>\n");
  printf("global options:\n");
  printf("-o <filename>		output filename\n");
  printf("-d [0,1,2]		debug level (0=off (default), 1=on, "
         "2=verbose)\n");
  printf("-e 			do not stop on errors, even if crazy things "
         "happen\n");
  printf("--nocleanup		leave intermediate files\n");
  printf("\n");
  printf("preprocessor options:\n");
  printf("--define		print defines\n");
  printf("\n");
  printf("compiler options:\n");
  printf("--symbol		print symbol table to <output name>.symbol\n");
  printf(
      "--parse			print parse tree to <output name>.parse\n");
  printf("--graph			create a visual graph of the parse "
         "tree to <output name>.png\n");
  printf("--front			run the front end only, do not call "
         "handle() on the parse tree\n");
  printf("--noannotate		do not annotate output with original source\n");
  printf("\n");
  printf("binary builder options:\n");
  printf("--entry <filename>	use alternate entry point\n");
  printf("--metafile <filename>	use alternate metafile\n");
  printf("--builtin		print builtin entry point and metafile and "
         "exit\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf10(%rip),%rdi
call   1030 <printf@plt>
lea    0xf24(%rip),%rdi
call   1030 <printf@plt>
lea    0xf54(%rip),%rdi
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
call   1030 <printf@plt>
lea    0xea8(%rip),%rdi
call   1030 <printf@plt>
lea    0xf91(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
call   1030 <printf@plt>
lea    0xe84(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9d(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1031(%rip),%rdi
call   1030 <printf@plt>
lea    0x106f(%rip),%rdi
call   1030 <printf@plt>
lea    0xe30(%rip),%rdi
call   1030 <printf@plt>
lea    0x1092(%rip),%rdi
call   1030 <printf@plt>
lea    0x109f(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c1(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e3(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xee4(%rip),%rdi
call   1040 <puts@plt>
lea    0xefc(%rip),%rdi
call   1040 <puts@plt>
lea    0xf00(%rip),%rdi
call   1040 <puts@plt>
lea    0xf13(%rip),%rdi
call   1040 <puts@plt>
lea    0xf42(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6f(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf7f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf89(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xf8b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf91(%rip),%rdi
call   1040 <puts@plt>
lea    0xfba(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe0(%rip),%rdi
call   1040 <puts@plt>
lea    0x101b(%rip),%rdi
call   1040 <puts@plt>
lea    0x1058(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x107c(%rip),%rdi
call   1040 <puts@plt>
lea    0x1088(%rip),%rdi
call   1040 <puts@plt>
lea    0x10a9(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ca(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"plpc - plp c toolchain\0A\0A\00"
@.str.1 = [37 x i8] c"usage: plpc <options> <input files>\0A\00"
@.str.2 = [17 x i8] c"global options:\0A\00"
@.str.3 = [32 x i8] c"-o <filename>\09\09output filename\0A\00"
@.str.4 = [60 x i8] c"-d [0,1,2]\09\09debug level (0=off (default), 1=on, 2=verbose)\0A\00"
@.str.5 = [58 x i8] c"-e \09\09\09do not stop on errors, even if crazy things happen\0A\00"
@.str.6 = [39 x i8] c"--nocleanup\09\09leave intermediate files\0A\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [23 x i8] c"preprocessor options:\0A\00"
@.str.9 = [25 x i8] c"--define\09\09print defines\0A\00"
@.str.10 = [19 x i8] c"compiler options:\0A\00"
@.str.11 = [54 x i8] c"--symbol\09\09print symbol table to <output name>.symbol\0A\00"
@.str.12 = [51 x i8] c"--parse\09\09\09print parse tree to <output name>.parse\0A\00"
@.str.13 = [72 x i8] c"--graph\09\09\09create a visual graph of the parse tree to <output name>.png\0A\00"
@.str.14 = [74 x i8] c"--front\09\09\09run the front end only, do not call handle() on the parse tree\0A\00"
@.str.15 = [59 x i8] c"--noannotate\09\09do not annotate output with original source\0A\00"
@.str.16 = [25 x i8] c"binary builder options:\0A\00"
@.str.17 = [46 x i8] c"--entry <filename>\09use alternate entry point\0A\00"
@.str.18 = [46 x i8] c"--metafile <filename>\09use alternate metafile\0A\00"
@.str.19 = [60 x i8] c"--builtin\09\09print builtin entry point and metafile and exit\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.13, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.14, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.18, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [24 x i8] c"plpc - plp c toolchain\0A\00"
@str.20 = [36 x i8] c"usage: plpc <options> <input files>\00"
@str.21 = [16 x i8] c"global options:\00"
@str.22 = [31 x i8] c"-o <filename>\09\09output filename\00"
@str.23 = [59 x i8] c"-d [0,1,2]\09\09debug level (0=off (default), 1=on, 2=verbose)\00"
@str.24 = [57 x i8] c"-e \09\09\09do not stop on errors, even if crazy things happen\00"
@str.25 = [38 x i8] c"--nocleanup\09\09leave intermediate files\00"
@str.26 = [22 x i8] c"preprocessor options:\00"
@str.27 = [24 x i8] c"--define\09\09print defines\00"
@str.28 = [18 x i8] c"compiler options:\00"
@str.29 = [53 x i8] c"--symbol\09\09print symbol table to <output name>.symbol\00"
@str.30 = [50 x i8] c"--parse\09\09\09print parse tree to <output name>.parse\00"
@str.31 = [71 x i8] c"--graph\09\09\09create a visual graph of the parse tree to <output name>.png\00"
@str.32 = [73 x i8] c"--front\09\09\09run the front end only, do not call handle() on the parse tree\00"
@str.33 = [58 x i8] c"--noannotate\09\09do not annotate output with original source\00"
@str.34 = [24 x i8] c"binary builder options:\00"
@str.35 = [45 x i8] c"--entry <filename>\09use alternate entry point\00"
@str.36 = [45 x i8] c"--metafile <filename>\09use alternate metafile\00"
@str.37 = [59 x i8] c"--builtin\09\09print builtin entry point and metafile and exit\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.20, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.21, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.22, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.23, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.24, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.25, i64 0, i64 0))
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.26, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.27, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.28, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.33, i64 0, i64 0))
%18 = tail call i32 @putchar(i32 10)
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.34, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.35, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.36, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.37, i64 0, i64 0))
ret void
}