#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 print_usage() {
  printf("Usage\n");
  printf("\t(1): by-chrom VCF-INFILE-NAME OUTFILE-NAME CHROM\n");
  printf("\t(2): by-snp-id VCF-INFILE-NAME OUTFILE-NAME SNP-ID-INFILE-NAME\n");
  printf("\t(3): fpos-by-chrom VCF-INFILE-NAME\n");
  printf("\t(4): by-chrom-range VCF-INFILE-NAME OUTFILE-NAME CHR1:10-10000\n");
  printf("\t(5): indel VCF-INFILE-NAME OUTFILE-NAME\n");
  printf("\t(6): indel-w-threshold VCF-INFILE-NAME OUTFILE-NAME THRESHOLD\n");
  printf("Description\n");
  printf("\t(1) Extract all the vcf elements in a specified chromosome.\n");
  printf("\t(2) Format of SNP-ID-INFILE-NAME:");
  printf("\t\tSNP-ID\\tCHROM\\tPOS\n");
  printf("\t(3) Return the file position of the first occurence of data of "
         "given chromosome.\n");
  printf("\t(4) Extract all the vcf elements of a specific range of a "
         "chromosome.\n");
  printf("\t(5) Extract all the vcf elements with one or more indel variant "
         "(>1bp).\n");
  printf("\t(6) Extract all the vcf elements with one or more indel variant "
         "(>1bp) at least threshold.\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf55(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa8(%rip),%rdi
call   1030 <printf@plt>
lea    0xfdc(%rip),%rdi
call   1030 <printf@plt>
lea    0xfdd(%rip),%rdi
call   1030 <printf@plt>
lea    0x100f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1026(%rip),%rdi
call   1030 <printf@plt>
lea    0x1030(%rip),%rdi
call   1030 <printf@plt>
lea    0x1077(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b3(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f1(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xefb(%rip),%rdi
call   1030 <puts@plt>
lea    0xef5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf67(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9b(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1030 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1030 <puts@plt>
lea    0xe6c(%rip),%rdi
call   1040 <printf@plt>
lea    0x1010(%rip),%rdi
call   1030 <puts@plt>
lea    0x1019(%rip),%rdi
call   1030 <puts@plt>
lea    0x105f(%rip),%rdi
call   1030 <puts@plt>
lea    0x109a(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d7(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"Usage\0A\00"
@.str.1 = [51 x i8] c"\09(1): by-chrom VCF-INFILE-NAME OUTFILE-NAME CHROM\0A\00"
@.str.2 = [65 x i8] c"\09(2): by-snp-id VCF-INFILE-NAME OUTFILE-NAME SNP-ID-INFILE-NAME\0A\00"
@.str.3 = [37 x i8] c"\09(3): fpos-by-chrom VCF-INFILE-NAME\0A\00"
@.str.4 = [65 x i8] c"\09(4): by-chrom-range VCF-INFILE-NAME OUTFILE-NAME CHR1:10-10000\0A\00"
@.str.5 = [42 x i8] c"\09(5): indel VCF-INFILE-NAME OUTFILE-NAME\0A\00"
@.str.6 = [64 x i8] c"\09(6): indel-w-threshold VCF-INFILE-NAME OUTFILE-NAME THRESHOLD\0A\00"
@.str.7 = [13 x i8] c"Description\0A\00"
@.str.8 = [62 x i8] c"\09(1) Extract all the vcf elements in a specified chromosome.\0A\00"
@.str.9 = [35 x i8] c"\09(2) Format of SNP-ID-INFILE-NAME:\00"
@.str.10 = [22 x i8] c"\09\09SNP-ID\\tCHROM\\tPOS\0A\00"
@.str.11 = [83 x i8] c"\09(3) Return the file position of the first occurence of data of given chromosome.\0A\00"
@.str.12 = [72 x i8] c"\09(4) Extract all the vcf elements of a specific range of a chromosome.\0A\00"
@.str.13 = [74 x i8] c"\09(5) Extract all the vcf elements with one or more indel variant (>1bp).\0A\00"
@.str.14 = [93 x i8] c"\09(6) Extract all the vcf elements with one or more indel variant (>1bp) at least threshold.\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.14, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.9 = [35 x i8] c"\09(2) Format of SNP-ID-INFILE-NAME:\00"
@str = [6 x i8] c"Usage\00"
@str.15 = [50 x i8] c"\09(1): by-chrom VCF-INFILE-NAME OUTFILE-NAME CHROM\00"
@str.16 = [64 x i8] c"\09(2): by-snp-id VCF-INFILE-NAME OUTFILE-NAME SNP-ID-INFILE-NAME\00"
@str.17 = [36 x i8] c"\09(3): fpos-by-chrom VCF-INFILE-NAME\00"
@str.18 = [64 x i8] c"\09(4): by-chrom-range VCF-INFILE-NAME OUTFILE-NAME CHR1:10-10000\00"
@str.19 = [41 x i8] c"\09(5): indel VCF-INFILE-NAME OUTFILE-NAME\00"
@str.20 = [63 x i8] c"\09(6): indel-w-threshold VCF-INFILE-NAME OUTFILE-NAME THRESHOLD\00"
@str.21 = [12 x i8] c"Description\00"
@str.22 = [61 x i8] c"\09(1) Extract all the vcf elements in a specified chromosome.\00"
@str.23 = [21 x i8] c"\09\09SNP-ID\\tCHROM\\tPOS\00"
@str.24 = [82 x i8] c"\09(3) Return the file position of the first occurence of data of given chromosome.\00"
@str.25 = [71 x i8] c"\09(4) Extract all the vcf elements of a specific range of a chromosome.\00"
@str.26 = [73 x i8] c"\09(5) Extract all the vcf elements with one or more indel variant (>1bp).\00"
@str.27 = [92 x i8] c"\09(6) Extract all the vcf elements with one or more indel variant (>1bp) at least threshold.\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.15, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.16, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.17, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.18, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.19, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.20, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.21, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.22, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.26, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @str.27, i64 0, i64 0))
ret void
}