#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void print_usage(void) {
  printf("\nValid usage for lesyange\n");
  printf("\tlesyange [-OPTION1, -OPTION2, ...]  ebnf_file\n");
  printf("OPTIONS:\n");
  printf("\t-h: print this help text and exit.\n");
  printf("\t-v: print the lesyange version and exit.\n");
  printf("\t-d[=(*|a|l|s): print debug information into the parse process, "
         "possible values are:\n");
  printf("\t\t*: means any information, this is the default option.\n");
  printf("\t\ta: just print informations about the semantic actions being "
         "fired.\n");
  printf("\t\tl: just print informations about the lexer module.\n");
  printf("\t\ts: just print informations about the syntatic module.\n");
  printf("\n");
  exit(0);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee4(%rip),%rdi
call   1030 <printf@plt>
lea    0xf08(%rip),%rdi
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf88(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfef(%rip),%rdi
call   1030 <printf@plt>
lea    0x1019(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
lea    0xed6(%rip),%rdi
call   1040 <puts@plt>
lea    0xef9(%rip),%rdi
call   1040 <puts@plt>
lea    0xef6(%rip),%rdi
call   1040 <puts@plt>
lea    0xf0e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1040 <puts@plt>
lea    0xf75(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa1(%rip),%rdi
call   1040 <puts@plt>
lea    0xfda(%rip),%rdi
call   1040 <puts@plt>
lea    0x1003(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [27 x i8] c"\0AValid usage for lesyange\0A\00"
@.str.1 = [48 x i8] c"\09lesyange [-OPTION1, -OPTION2, ...] ebnf_file\0A\00"
@.str.2 = [10 x i8] c"OPTIONS:\0A\00"
@.str.3 = [37 x i8] c"\09-h: print this help text and exit.\0A\00"
@.str.4 = [43 x i8] c"\09-v: print the lesyange version and exit.\0A\00"
@.str.5 = [86 x i8] c"\09-d[=(*|a|l|s): print debug information into the parse process, possible values are:\0A\00"
@.str.6 = [57 x i8] c"\09\09*: means any information, this is the default option.\0A\00"
@.str.7 = [70 x i8] c"\09\09a: just print informations about the semantic actions being fired.\0A\00"
@.str.8 = [54 x i8] c"\09\09l: just print informations about the lexer module.\0A\00"
@.str.9 = [57 x i8] c"\09\09s: just print informations about the syntatic module.\0A\00"
@.str.10 = [2 x i8] c"\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [26 x i8] c"\0AValid usage for lesyange\00"
@str.11 = [47 x i8] c"\09lesyange [-OPTION1, -OPTION2, ...] ebnf_file\00"
@str.12 = [9 x i8] c"OPTIONS:\00"
@str.13 = [36 x i8] c"\09-h: print this help text and exit.\00"
@str.14 = [42 x i8] c"\09-v: print the lesyange version and exit.\00"
@str.15 = [85 x i8] c"\09-d[=(*|a|l|s): print debug information into the parse process, possible values are:\00"
@str.16 = [56 x i8] c"\09\09*: means any information, this is the default option.\00"
@str.17 = [69 x i8] c"\09\09a: just print informations about the semantic actions being fired.\00"
@str.18 = [53 x i8] c"\09\09l: just print informations about the lexer module.\00"
@str.19 = [56 x i8] c"\09\09s: just print informations about the syntatic module.\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 @exit(i32 0)
unreachable
}