#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_FAILURE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
void help(void) {
  if (0)
    fprintf(stderr,
            "[DEBUG dox4pl: file:%s line:%d]: "
            "help()"
            "\n",
            "dox4pl.l", 491);
  else {
    ;
  };
  printf("%s - %s\n", "dox4pl", "DoxygenProlog");
  printf("\nUsage: %s [-h|-V] [-v] [-f] source\n", "d");
  printf("\nOptions:\n");
  printf("\t-h,         --help\n\t\tShow this help.\n");
  printf(
      "\t-V,         --version\n\t\tShow version and copyright information.\n");
  printf("\t-v,         --verbose\n\t\tSet verbose level (cumulative).\n");
  printf("\t-f source,  --file source\n");
  printf("\t\tRead from source (prolog file).\n");
  printf("\t\tIf not given a source file, it will read from stdin.\n");
  printf("\n\tWrite the following lines into your doxygen configuration file "
         "(.cfg):\n\n");
  printf("\t\tFILE_PATTERNS   = *.pl *.prolog\n");
  printf("\t\tFILTER_PATTERNS = *.pl=\"dox4pl\"\n");
  printf("\nExit status:\n\t0 if ok.\n\t1 some error occurred.\n");
  printf("Todo:\n\tLong options not implemented yet.\n");
  printf("Author:\n\tWritten by %s <%s>\n", "Ruben Carlo Benante",
         "rcb@beco.cc");
  printf("\tSee dox4pl -V for copyright information.\n\n");
  exit(EXIT_FAILURE);
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xed7(%rip),%rsi
lea    0xed7(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed7(%rip),%rdi
lea    0xef5(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeff(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1013(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1036(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1052(%rip),%rdi
lea    0x1068(%rip),%rsi
lea    0x1075(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1073(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2db2(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xec8(%rip),%rdi
lea    0xeca(%rip),%rsi
lea    0xeca(%rip),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeca(%rip),%rdi
lea    0xee8(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf19(%rip),%rdi
call   1030 <puts@plt>
lea    0xf17(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf66(%rip),%rdi
call   1030 <puts@plt>
lea    0xf93(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa2(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1021(%rip),%rdi
call   1030 <puts@plt>
lea    0x1037(%rip),%rdi
call   1030 <puts@plt>
lea    0x104d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1071(%rip),%rdi
call   1030 <puts@plt>
lea    0xe4c(%rip),%rdi
lea    0xe62(%rip),%rsi
lea    0xe6f(%rip),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1072(%rip),%rdi
call   1030 <puts@plt>
mov    0x2dbf(%rip),%rax
mov    (%rax),%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"%s - %s\0A\00"
@.str.1 = [7 x i8] c"dox4pl\00"
@.str.2 = [14 x i8] c"DoxygenProlog\00"
@.str.3 = [37 x i8] c"\0AUsage: %s [-h|-V] [-v] [-f] source\0A\00"
@.str.4 = [2 x i8] c"d\00"
@.str.5 = [11 x i8] c"\0AOptions:\0A\00"
@.str.6 = [39 x i8] c"\09-h, --help\0A\09\09Show this help.\0A\00"
@.str.7 = [66 x i8] c"\09-V, --version\0A\09\09Show version and copyright information.\0A\00"
@.str.8 = [58 x i8] c"\09-v, --verbose\0A\09\09Set verbose level (cumulative).\0A\00"
@.str.9 = [28 x i8] c"\09-f source, --file source\0A\00"
@.str.10 = [35 x i8] c"\09\09Read from source (prolog file).\0A\00"
@.str.11 = [56 x i8] c"\09\09If not given a source file, it will read from stdin.\0A\00"
@.str.12 = [75 x i8] c"\0A\09Write the following lines into your doxygen configuration file (.cfg):\0A\0A\00"
@.str.13 = [35 x i8] c"\09\09FILE_PATTERNS = *.pl *.prolog\0A\00"
@.str.14 = [35 x i8] c"\09\09FILTER_PATTERNS = *.pl=\22dox4pl\22\0A\00"
@.str.15 = [49 x i8] c"\0AExit status:\0A\090 if ok.\0A\091 some error occurred.\0A\00"
@.str.16 = [42 x i8] c"Todo:\0A\09Long options not implemented yet.\0A\00"
@.str.17 = [29 x i8] c"Author:\0A\09Written by %s <%s>\0A\00"
@.str.18 = [20 x i8] c"Ruben Carlo Benante\00"
@.str.19 = [12 x i8] c"rcb@beco.cc\00"
@.str.20 = [44 x i8] c"\09See dox4pl -V for copyright information.\0A\0A\00"
@EXIT_FAILURE = global i32 0
@stderr = global i32 0
define void @help() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.7, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.8, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.11, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.12, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.13, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.15, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.16, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.20, i64 0, i64 0))
%17 = load i32, i32* @EXIT_FAILURE
%18 = call i32 @exit(i32 %17)
unreachable
}

LLVM IR (-O2):
@.str = [9 x i8] c"%s - %s\0A\00"
@.str.1 = [7 x i8] c"dox4pl\00"
@.str.2 = [14 x i8] c"DoxygenProlog\00"
@.str.3 = [37 x i8] c"\0AUsage: %s [-h|-V] [-v] [-f] source\0A\00"
@.str.4 = [2 x i8] c"d\00"
@.str.17 = [29 x i8] c"Author:\0A\09Written by %s <%s>\0A\00"
@.str.18 = [20 x i8] c"Ruben Carlo Benante\00"
@.str.19 = [12 x i8] c"rcb@beco.cc\00"
@EXIT_FAILURE = global i32 0
@stderr = global i32 0
@str = [10 x i8] c"\0AOptions:\00"
@str.21 = [38 x i8] c"\09-h, --help\0A\09\09Show this help.\00"
@str.22 = [65 x i8] c"\09-V, --version\0A\09\09Show version and copyright information.\00"
@str.23 = [57 x i8] c"\09-v, --verbose\0A\09\09Set verbose level (cumulative).\00"
@str.24 = [27 x i8] c"\09-f source, --file source\00"
@str.25 = [34 x i8] c"\09\09Read from source (prolog file).\00"
@str.26 = [55 x i8] c"\09\09If not given a source file, it will read from stdin.\00"
@str.27 = [74 x i8] c"\0A\09Write the following lines into your doxygen configuration file (.cfg):\0A\00"
@str.28 = [34 x i8] c"\09\09FILE_PATTERNS = *.pl *.prolog\00"
@str.29 = [34 x i8] c"\09\09FILTER_PATTERNS = *.pl=\22dox4pl\22\00"
@str.30 = [48 x i8] c"\0AExit status:\0A\090 if ok.\0A\091 some error occurred.\00"
@str.31 = [41 x i8] c"Todo:\0A\09Long options not implemented yet.\00"
@str.32 = [43 x i8] c"\09See dox4pl -V for copyright information.\0A\00"
define void @help() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.21, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.22, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.23, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.24, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.25, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.26, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.27, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.28, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.29, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.30, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.31, i64 0, i64 0))
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.32, i64 0, i64 0))
%17 = load i32, i32* @EXIT_FAILURE
%18 = tail call i32 @exit(i32 %17)
unreachable
}