#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 show_help(const char *cmd) {
  printf("Use: %s [options] <sequences file> [second sequence file]\n", cmd);
  printf("where options are:\n");
  printf(" -s <size>      Size of \"rectangle\" for filtering. You can "
         "determine\n");
  printf("                the size dynamically by passing in d rather than a "
         "number.\n");
  printf(" -r <file>      A meryl file of repeat mers to be filtered out.\n");
  printf(" -k <number>    The k-mer size to use in candidate selection "
         "(default is 22).\n");
  printf(" -w <number>    The minimizer window size to use in candidate "
         "selection (default is 22).\n");
  printf(" -o <filename>  The output file. Default is stdout.\n");
  printf("                output file to indicate it has ended (default is "
         "nothing)\n");
  printf(" -d <subsys>    Enable debug messages for this subsystem.  Try 'd "
         "-all' to start .\n");
  printf(" -v             Show version string\n");
  printf(" -h             Show this help screen\n");
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1042(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1069(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1103(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rax
mov    %rdi,%rsi
lea    0xed5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf42(%rip),%rdi
call   1030 <puts@plt>
lea    0xf81(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb5(%rip),%rdi
call   1030 <puts@plt>
lea    0xff7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1044(%rip),%rdi
call   1030 <puts@plt>
lea    0x106c(%rip),%rdi
call   1030 <puts@plt>
lea    0x10aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f1(%rip),%rdi
call   1030 <puts@plt>
lea    0x1109(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"Use: %s [options] <sequences file> [second sequence file]\0A\00"
@.str.1 = [20 x i8] c"where options are:\0A\00"
@.str.2 = [70 x i8] c" -s <size> Size of \22rectangle\22 for filtering. You can determine\0A\00"
@.str.3 = [76 x i8] c" the size dynamically by passing in d rather than a number.\0A\00"
@.str.4 = [65 x i8] c" -r <file> A meryl file of repeat mers to be filtered out.\0A\00"
@.str.5 = [79 x i8] c" -k <number> The k-mer size to use in candidate selection (default is 22).\0A\00"
@.str.6 = [90 x i8] c" -w <number> The minimizer window size to use in candidate selection (default is 22).\0A\00"
@.str.7 = [53 x i8] c" -o <filename> The output file. Default is stdout.\0A\00"
@.str.8 = [75 x i8] c" output file to indicate it has ended (default is nothing)\0A\00"
@.str.9 = [84 x i8] c" -d <subsys> Enable debug messages for this subsystem. Try 'd -all' to start .\0A\00"
@.str.10 = [37 x i8] c" -v Show version string\0A\00"
@.str.11 = [39 x i8] c" -h Show this help screen\0A\00"
define void @show_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [59 x i8] c"Use: %s [options] <sequences file> [second sequence file]\0A\00"
@str = [19 x i8] c"where options are:\00"
@str.12 = [69 x i8] c" -s <size> Size of \22rectangle\22 for filtering. You can determine\00"
@str.13 = [75 x i8] c" the size dynamically by passing in d rather than a number.\00"
@str.14 = [64 x i8] c" -r <file> A meryl file of repeat mers to be filtered out.\00"
@str.15 = [78 x i8] c" -k <number> The k-mer size to use in candidate selection (default is 22).\00"
@str.16 = [89 x i8] c" -w <number> The minimizer window size to use in candidate selection (default is 22).\00"
@str.17 = [52 x i8] c" -o <filename> The output file. Default is stdout.\00"
@str.18 = [74 x i8] c" output file to indicate it has ended (default is nothing)\00"
@str.19 = [83 x i8] c" -d <subsys> Enable debug messages for this subsystem. Try 'd -all' to start .\00"
@str.20 = [36 x i8] c" -v Show version string\00"
@str.21 = [38 x i8] c" -h Show this help screen\00"
define void @show_help(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.18, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.19, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.20, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.21, i64 0, i64 0))
ret void
}