#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 *, ...);
char *progname();
void printUsage() {
  printf("Usage: %s [options] [inputFiles]\n", progname());
  printf("Purpose: Designing allele-specific oligos for detecting "
         "recombination hotspots\n");
  printf("Example: aso -g data/mus/genome -s data/mus/vcf "
         "data/mus/exampleHotSpots19.txt\n");
  printf("Options:\n");
  printf("\t-g STR path to folder containing genome files in FASTA format\n");
  printf("\t-s STR path to folder containing SNPs in VCF format\n");
  printf("\t[-l NUM oligo length; default aso: %d; default universal: %d]\n",
         17, 100);
  printf("\t[-u generate universals; default: allele-specific oligos]\n");
  printf("\t[-d distance between universals; default: %d]\n", 200);
  printf("\t[-h print this help message and exit]\n");
  printf("\t[-v print program information and exit]\n");
  exit(0);
}


x86 assembly (clang, -O0):
<printUsage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <progname@plt>
mov    %rax,%rsi
lea    0xebb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf11(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf53(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf4f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf81(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfa9(%rip),%rdi
mov    $0x11,%esi
mov    $0x64,%edx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfd1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfff(%rip),%rdi
mov    $0xc8,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x101c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1036(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<printUsage>:
push   %rax
xor    %eax,%eax
call   1030 <progname@plt>
lea    0xeb1(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf32(%rip),%rdi
call   1040 <puts@plt>
lea    0xf75(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb8(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb5(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe8(%rip),%rdi
call   1040 <puts@plt>
lea    0xe86(%rip),%rdi
mov    $0x11,%esi
mov    $0x64,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xff9(%rip),%rdi
call   1040 <puts@plt>
lea    0xea2(%rip),%rdi
mov    $0xc8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1015(%rip),%rdi
call   1040 <puts@plt>
lea    0x1030(%rip),%rdi
call   1040 <puts@plt>
xor    %edi,%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@.str = [34 x i8] c"Usage: %s [options] [inputFiles]\0A\00"
@.str.1 = [80 x i8] c"Purpose: Designing allele-specific oligos for detecting recombination hotspots\0A\00"
@.str.2 = [80 x i8] c"Example: aso -g data/mus/genome -s data/mus/vcf data/mus/exampleHotSpots19.txt\0A\00"
@.str.3 = [10 x i8] c"Options:\0A\00"
@.str.4 = [64 x i8] c"\09-g STR path to folder containing genome files in FASTA format\0A\00"
@.str.5 = [54 x i8] c"\09-s STR path to folder containing SNPs in VCF format\0A\00"
@.str.6 = [64 x i8] c"\09[-l NUM oligo length; default aso: %d; default universal: %d]\0A\00"
@.str.7 = [60 x i8] c"\09[-u generate universals; default: allele-specific oligos]\0A\00"
@.str.8 = [48 x i8] c"\09[-d distance between universals; default: %d]\0A\00"
@.str.9 = [40 x i8] c"\09[-h print this help message and exit]\0A\00"
@.str.10 = [42 x i8] c"\09[-v print program information and exit]\0A\00"
define void @printUsage() {
%1 = call i8* (...) @progname()
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* %1)
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 17, i32 100)
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0), i32 200)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [34 x i8] c"Usage: %s [options] [inputFiles]\0A\00"
@.str.6 = [64 x i8] c"\09[-l NUM oligo length; default aso: %d; default universal: %d]\0A\00"
@.str.8 = [48 x i8] c"\09[-d distance between universals; default: %d]\0A\00"
@str = [79 x i8] c"Purpose: Designing allele-specific oligos for detecting recombination hotspots\00"
@str.11 = [79 x i8] c"Example: aso -g data/mus/genome -s data/mus/vcf data/mus/exampleHotSpots19.txt\00"
@str.12 = [9 x i8] c"Options:\00"
@str.13 = [63 x i8] c"\09-g STR path to folder containing genome files in FASTA format\00"
@str.14 = [53 x i8] c"\09-s STR path to folder containing SNPs in VCF format\00"
@str.15 = [59 x i8] c"\09[-u generate universals; default: allele-specific oligos]\00"
@str.16 = [39 x i8] c"\09[-h print this help message and exit]\00"
@str.17 = [41 x i8] c"\09[-v print program information and exit]\00"
define void @printUsage() {
%1 = tail call i8* (...) @progname()
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* %1)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0), i32 17, i32 100)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.15, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0), i32 200)
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.16, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.17, i64 0, i64 0))
%13 = tail call i32 @exit(i32 0)
unreachable
}