#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("4P HELP PAGE:\n");
  printf("\t-f <file>\tGenotypes input file name\n");
  printf("\t-i <number>\tInput file type (0:plink,1:arlequin,2:vcf)\n");
  printf("\t-m <file>\tMap input file name (only for plink files)\n");
  printf("\t-n <number>\tNumber of individuals\n");
  printf("\t-s <number>\tNumber of SNPs\n");
  printf("\t-p <file>\tPopulations input file name (only for vcf files)\n");
  printf("\t-a <file>\tAncestral allele input file name (only for plink and "
         "vcf files)\n");
  printf("\t-t <number>\tNumber of cores used for computations\n");
  printf("\t-v\t\tOutput genotype informations to the standard output\n");
  printf("\t-y\t\tOutput statistics in a single file\n");
  printf("\t-h\t\tPrint this help\n");
  printf("\nUsage: 4p -f <inputfile> -m <mapfile> -i <inputtype> -n <nind> -s "
         "<nsnp> -p <populationfile> -a <ancallfile> -t <ncores>\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee8(%rip),%rdi
call   1030 <printf@plt>
lea    0xf02(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf72(%rip),%rdi
call   1030 <printf@plt>
lea    0xf83(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb4(%rip),%rdi
call   1030 <printf@plt>
lea    0xff4(%rip),%rdi
call   1030 <printf@plt>
lea    0x101c(%rip),%rdi
call   1030 <printf@plt>
lea    0x104a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1067(%rip),%rdi
call   1030 <printf@plt>
lea    0x1071(%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    0xeea(%rip),%rdi
call   1030 <puts@plt>
lea    0xf03(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf59(%rip),%rdi
call   1030 <puts@plt>
lea    0xf70(%rip),%rdi
call   1030 <puts@plt>
lea    0xf80(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb0(%rip),%rdi
call   1030 <puts@plt>
lea    0xfef(%rip),%rdi
call   1030 <puts@plt>
lea    0x1016(%rip),%rdi
call   1030 <puts@plt>
lea    0x1043(%rip),%rdi
call   1030 <puts@plt>
lea    0x105f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1068(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [15 x i8] c"4P HELP PAGE:\0A\00"
@.str.1 = [38 x i8] c"\09-f <file>\09Genotypes input file name\0A\00"
@.str.2 = [57 x i8] c"\09-i <number>\09Input file type (0:plink,1:arlequin,2:vcf)\0A\00"
@.str.3 = [55 x i8] c"\09-m <file>\09Map input file name (only for plink files)\0A\00"
@.str.4 = [36 x i8] c"\09-n <number>\09Number of individuals\0A\00"
@.str.5 = [29 x i8] c"\09-s <number>\09Number of SNPs\0A\00"
@.str.6 = [61 x i8] c"\09-p <file>\09Populations input file name (only for vcf files)\0A\00"
@.str.7 = [76 x i8] c"\09-a <file>\09Ancestral allele input file name (only for plink and vcf files)\0A\00"
@.str.8 = [52 x i8] c"\09-t <number>\09Number of cores used for computations\0A\00"
@.str.9 = [58 x i8] c"\09-v\09\09Output genotype informations to the standard output\0A\00"
@.str.10 = [41 x i8] c"\09-y\09\09Output statistics in a single file\0A\00"
@.str.11 = [22 x i8] c"\09-h\09\09Print this help\0A\00"
@.str.12 = [123 x i8] c"\0AUsage: 4p -f <inputfile> -m <mapfile> -i <inputtype> -n <nind> -s <nsnp> -p <populationfile> -a <ancallfile> -t <ncores>\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([123 x i8], [123 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [14 x i8] c"4P HELP PAGE:\00"
@str.13 = [37 x i8] c"\09-f <file>\09Genotypes input file name\00"
@str.14 = [56 x i8] c"\09-i <number>\09Input file type (0:plink,1:arlequin,2:vcf)\00"
@str.15 = [54 x i8] c"\09-m <file>\09Map input file name (only for plink files)\00"
@str.16 = [35 x i8] c"\09-n <number>\09Number of individuals\00"
@str.17 = [28 x i8] c"\09-s <number>\09Number of SNPs\00"
@str.18 = [60 x i8] c"\09-p <file>\09Populations input file name (only for vcf files)\00"
@str.19 = [75 x i8] c"\09-a <file>\09Ancestral allele input file name (only for plink and vcf files)\00"
@str.20 = [51 x i8] c"\09-t <number>\09Number of cores used for computations\00"
@str.21 = [57 x i8] c"\09-v\09\09Output genotype informations to the standard output\00"
@str.22 = [40 x i8] c"\09-y\09\09Output statistics in a single file\00"
@str.23 = [21 x i8] c"\09-h\09\09Print this help\00"
@str.24 = [122 x i8] c"\0AUsage: 4p -f <inputfile> -m <mapfile> -i <inputtype> -n <nind> -s <nsnp> -p <populationfile> -a <ancallfile> -t <ncores>\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([122 x i8], [122 x i8]* @str.24, i64 0, i64 0))
ret void
}