#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);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void print_help(int exitvalue) {
  fprintf(stderr, "glistmaker version %u.%u.%u (%s)\n", 4, 2, 6, "stable");
  fprintf(stderr, "Usage: glistmaker <INPUTFILES> [OPTIONS]\n");
  fprintf(stderr, "Options:\n");
  fprintf(stderr,
          "    -v, --version           - print version information and exit\n");
  fprintf(stderr,
          "    -h, --help              - print this usage screen and exit\n");
  fprintf(stderr,
          "    -w, --wordlength NUMBER - specify index wordsize (1-32)\n");
  fprintf(
      stderr,
      "    -o, --outputname STRING - specify output name (default \"out\")\n");
  fprintf(stderr,
          "    --index                 - create index instead of list\n");
  fprintf(stderr,
          "    --num_threads           - number of threads (default %u)\n", 8);
  fprintf(stderr,
          "    --max_tables            - maximum number of temporary tables "
          "(default %u)\n",
          (32 * 128));
  fprintf(stderr,
          "    --table_size            - maximum size of the temporary table "
          "(default %llu)\n",
          (1024 * 1024ULL));
  fprintf(
      stderr,
      "    --tmpdir                - directory for temporary files (may need "
      "an order of magnitude more space than the size of the final list)\n");
  fprintf(stderr, "    --stream                - read files as streams instead "
                  "of memory-mapping (slower but uses less virtual memory)\n");
  fprintf(stderr, "    --index                 - creates indexed list (larger "
                  "and slower)\n");
  fprintf(stderr, "    -D                      - increase debug level\n");
  exit(exitvalue);
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    0x2eae(%rip),%rax
mov    (%rax),%edi
lea    0xec5(%rip),%rsi
mov    $0x4,%edx
mov    $0x2,%ecx
mov    $0x6,%r8d
lea    0xed0(%rip),%r9
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e80(%rip),%rax
mov    (%rax),%edi
lea    0xec0(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e69(%rip),%rax
mov    (%rax),%edi
lea    0xed3(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e52(%rip),%rax
mov    (%rax),%edi
lea    0xec6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e3b(%rip),%rax
mov    (%rax),%edi
lea    0xef1(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e24(%rip),%rax
mov    (%rax),%edi
lea    0xf1a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e0d(%rip),%rax
mov    (%rax),%edi
lea    0xf40(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2df6(%rip),%rax
mov    (%rax),%edi
lea    0xf6c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ddf(%rip),%rax
mov    (%rax),%edi
lea    0xf91(%rip),%rsi
mov    $0x8,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dc3(%rip),%rax
mov    (%rax),%edi
lea    0xfb3(%rip),%rsi
mov    $0x1000,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2da7(%rip),%rax
mov    (%rax),%edi
lea    0xfe6(%rip),%rsi
mov    $0x100000,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d8b(%rip),%rax
mov    (%rax),%edi
lea    0x101c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d74(%rip),%rax
mov    (%rax),%edi
lea    0x108e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d5d(%rip),%rax
mov    (%rax),%edi
lea    0x10ec(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d46(%rip),%rax
mov    (%rax),%edi
lea    0x111d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x4(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<print_help>:
push   %rbp
push   %rbx
push   %rax
mov    %edi,%ebp
mov    0x2eb4(%rip),%rbx
mov    (%rbx),%edi
lea    0xecb(%rip),%rsi
lea    0xee6(%rip),%r9
mov    $0x4,%edx
mov    $0x2,%ecx
mov    $0x6,%r8d
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xecd(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee7(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee1(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf13(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf43(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf70(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa3(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfcf(%rip),%rsi
mov    $0x8,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xff8(%rip),%rsi
mov    $0x1000,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1032(%rip),%rsi
mov    $0x100000,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x106f(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10e8(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x114d(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1185(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    %ebp,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [34 x i8] c"glistmaker version %u.%u.%u (%s)\0A\00"
@.str.1 = [7 x i8] c"stable\00"
@.str.2 = [42 x i8] c"Usage: glistmaker <INPUTFILES> [OPTIONS]\0A\00"
@.str.3 = [10 x i8] c"Options:\0A\00"
@.str.4 = [66 x i8] c" -v, --version - print version information and exit\0A\00"
@.str.5 = [64 x i8] c" -h, --help - print this usage screen and exit\0A\00"
@.str.6 = [61 x i8] c" -w, --wordlength NUMBER - specify index wordsize (1-32)\0A\00"
@.str.7 = [67 x i8] c" -o, --outputname STRING - specify output name (default \22out\22)\0A\00"
@.str.8 = [60 x i8] c" --index - create index instead of list\0A\00"
@.str.9 = [62 x i8] c" --num_threads - number of threads (default %u)\0A\00"
@.str.10 = [79 x i8] c" --max_tables - maximum number of temporary tables (default %u)\0A\00"
@.str.11 = [82 x i8] c" --table_size - maximum size of the temporary table (default %llu)\0A\00"
@.str.12 = [137 x i8] c" --tmpdir - directory for temporary files (may need an order of magnitude more space than the size of the final list)\0A\00"
@.str.13 = [117 x i8] c" --stream - read files as streams instead of memory-mapping (slower but uses less virtual memory)\0A\00"
@.str.14 = [72 x i8] c" --index - creates indexed list (larger and slower)\0A\00"
@.str.15 = [52 x i8] c" -D - increase debug level\0A\00"
define void @print_help(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* @stderr
%4 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i32 4, i32 2, i32 6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.6, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.7, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.8, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0), i32 8)
%21 = load i32, i32* @stderr
%22 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.10, i64 0, i64 0), i32 4096)
%23 = load i32, i32* @stderr
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.11, i64 0, i64 0), i64 1048576)
%25 = load i32, i32* @stderr
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.12, i64 0, i64 0))
%27 = load i32, i32* @stderr
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([117 x i8], [117 x i8]* @.str.13, i64 0, i64 0))
%29 = load i32, i32* @stderr
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.14, i64 0, i64 0))
%31 = load i32, i32* @stderr
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.15, i64 0, i64 0))
%33 = load i32, i32* %2
%34 = call i32 @exit(i32 %33)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [34 x i8] c"glistmaker version %u.%u.%u (%s)\0A\00"
@.str.1 = [7 x i8] c"stable\00"
@.str.2 = [42 x i8] c"Usage: glistmaker <INPUTFILES> [OPTIONS]\0A\00"
@.str.3 = [10 x i8] c"Options:\0A\00"
@.str.4 = [66 x i8] c" -v, --version - print version information and exit\0A\00"
@.str.5 = [64 x i8] c" -h, --help - print this usage screen and exit\0A\00"
@.str.6 = [61 x i8] c" -w, --wordlength NUMBER - specify index wordsize (1-32)\0A\00"
@.str.7 = [67 x i8] c" -o, --outputname STRING - specify output name (default \22out\22)\0A\00"
@.str.8 = [60 x i8] c" --index - create index instead of list\0A\00"
@.str.9 = [62 x i8] c" --num_threads - number of threads (default %u)\0A\00"
@.str.10 = [79 x i8] c" --max_tables - maximum number of temporary tables (default %u)\0A\00"
@.str.11 = [82 x i8] c" --table_size - maximum size of the temporary table (default %llu)\0A\00"
@.str.12 = [137 x i8] c" --tmpdir - directory for temporary files (may need an order of magnitude more space than the size of the final list)\0A\00"
@.str.13 = [117 x i8] c" --stream - read files as streams instead of memory-mapping (slower but uses less virtual memory)\0A\00"
@.str.14 = [72 x i8] c" --index - creates indexed list (larger and slower)\0A\00"
@.str.15 = [52 x i8] c" -D - increase debug level\0A\00"
define void @print_help(i32 %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 (i32, i8*, ...) @fprintf(i32 %2, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i32 4, i32 2, i32 6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%4 = load i32, i32* @stderr
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = tail call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = tail call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.6, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.7, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.8, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0), i32 8)
%20 = load i32, i32* @stderr
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.10, i64 0, i64 0), i32 4096)
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.11, i64 0, i64 0), i64 1048576)
%24 = load i32, i32* @stderr
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([137 x i8], [137 x i8]* @.str.12, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = tail call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([117 x i8], [117 x i8]* @.str.13, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = tail call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.14, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = tail call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.15, i64 0, i64 0))
%32 = tail call i32 @exit(i32 %0)
unreachable
}