#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 help() {
  printf("Usage: parser [-hdsotfera]\n");
  printf("- Parse PCRE pattern from STDIN\n");
  printf("\t-h print this help\n");
  printf("\t-d debug mode\n");
  printf("\t-s silent mode\n");
  printf("\t-o output MSFM file (e.g. STDOUT; default nfa.msfm)\n");
  printf("\t-t output DOT file (e.g. graph.dot; default OFF)\n");
  printf("\t-f specify file as input, default STDIN\n");
  printf("\t-e export format of symbols: hex (default), dec\n");
  printf(
      "\t-r PCRE strict mode, show warning if diferent then PCRE behavior\n");
  printf("\t-a ASCII means 0-127\n");
  printf("\t-c counting constraints are code into symbols\n");
  printf("\t-E do not export EOF on /a$/ pattern\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
call   1030 <printf@plt>
lea    0xf17(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf46(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb1(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe8(%rip),%rdi
call   1030 <printf@plt>
lea    0xff3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1017(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef7(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf13(%rip),%rdi
call   1030 <puts@plt>
lea    0xf16(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf43(%rip),%rdi
call   1030 <puts@plt>
lea    0xf69(%rip),%rdi
call   1030 <puts@plt>
lea    0xf86(%rip),%rdi
call   1030 <puts@plt>
lea    0xfab(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe1(%rip),%rdi
call   1030 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1030 <puts@plt>
lea    0x100e(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [28 x i8] c"Usage: parser [-hdsotfera]\0A\00"
@.str.1 = [33 x i8] c"- Parse PCRE pattern from STDIN\0A\00"
@.str.2 = [21 x i8] c"\09-h print this help\0A\00"
@.str.3 = [16 x i8] c"\09-d debug mode\0A\00"
@.str.4 = [17 x i8] c"\09-s silent mode\0A\00"
@.str.5 = [54 x i8] c"\09-o output MSFM file (e.g. STDOUT; default nfa.msfm)\0A\00"
@.str.6 = [51 x i8] c"\09-t output DOT file (e.g. graph.dot; default OFF)\0A\00"
@.str.7 = [42 x i8] c"\09-f specify file as input, default STDIN\0A\00"
@.str.8 = [50 x i8] c"\09-e export format of symbols: hex (default), dec\0A\00"
@.str.9 = [67 x i8] c"\09-r PCRE strict mode, show warning if diferent then PCRE behavior\0A\00"
@.str.10 = [23 x i8] c"\09-a ASCII means 0-127\0A\00"
@.str.11 = [48 x i8] c"\09-c counting constraints are code into symbols\0A\00"
@.str.12 = [39 x i8] c"\09-E do not export EOF on /a$/ pattern\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [27 x i8] c"Usage: parser [-hdsotfera]\00"
@str.13 = [32 x i8] c"- Parse PCRE pattern from STDIN\00"
@str.14 = [20 x i8] c"\09-h print this help\00"
@str.15 = [15 x i8] c"\09-d debug mode\00"
@str.16 = [16 x i8] c"\09-s silent mode\00"
@str.17 = [53 x i8] c"\09-o output MSFM file (e.g. STDOUT; default nfa.msfm)\00"
@str.18 = [50 x i8] c"\09-t output DOT file (e.g. graph.dot; default OFF)\00"
@str.19 = [41 x i8] c"\09-f specify file as input, default STDIN\00"
@str.20 = [49 x i8] c"\09-e export format of symbols: hex (default), dec\00"
@str.21 = [66 x i8] c"\09-r PCRE strict mode, show warning if diferent then PCRE behavior\00"
@str.22 = [22 x i8] c"\09-a ASCII means 0-127\00"
@str.23 = [47 x i8] c"\09-c counting constraints are code into symbols\00"
@str.24 = [38 x i8] c"\09-E do not export EOF on /a$/ pattern\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.24, i64 0, i64 0))
ret void
}