#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("\n");
  printf("USAGE: \n");
  printf("\n");
  printf("ERROR CORRECTION\n");
  printf("Required: \n");
  printf("\n");
  printf("\t-i \t[file] \tSpecify one or many FASTQ input files.\n");
  printf("\n");
  printf("Optional: \n");
  printf("\n");
  printf("\t-o \t \tOutput directory.\n");
  printf("\t-p \t \tSpecify input should be treated as paired.\n");
  printf("\n");
  printf("\t-s \t[bool] \tSubstitution corrections. \"true\" or \"false\".\n");
  printf("\t-n \t[bool] \tInsertion corrections. \"true\" or \"false\".\n");
  printf("\t-d \t[bool] \tDeletion corrections. \"true\" or \"false\".\n");
  printf("\t-h \t[bool] \tHomopolymer corrections. \"true\" or \"false\".\n");
  printf("\t-f \t[bool] \tLow k-mer read filtering. \"true\" or \"false\".\n");
  printf("\n");
  printf("\t-k \t[int] \tSpecify the k-mer size.\n");
  printf("\t-b \t[int] \tSpecify the input batch size.\n");
  printf("\n");
  printf("FASTK CONVERSION\n");
  printf("Required: \n");
  printf("\t-fastk \t\tFASTQ to FASTK file conversion.\n");
  printf("\t-i \t[file] \tSpecify one or many input files.\n");
  printf("\n");
  printf("EXAMPLES: \n");
  printf("\n");
  printf("./error -i file1.fastq\n");
  printf("\tCorrect a single file.\n");
  printf("\n");
  printf("./error -i file1.fastq file2.fastq file3.fastq\n");
  printf("\tCorrect multiple file together.\n");
  printf("\n");
  printf("./error -i frag_1.fastq frag_2.fastq -p\n");
  printf("\tCorrect two paired files.\n");
  printf("\n");
  printf("./error -fastk -i file1.fastq\n");
  printf("\tConvert file1.fastq to FASTK format.\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xeec(%rip),%rdi
call   1030 <printf@plt>
lea    0xed9(%rip),%rdi
call   1030 <printf@plt>
lea    0xed4(%rip),%rdi
call   1030 <printf@plt>
lea    0xeca(%rip),%rdi
call   1030 <printf@plt>
lea    0xed0(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb0(%rip),%rdi
call   1030 <printf@plt>
lea    0xec4(%rip),%rdi
call   1030 <printf@plt>
lea    0xe98(%rip),%rdi
call   1030 <printf@plt>
lea    0xee1(%rip),%rdi
call   1030 <printf@plt>
lea    0xe80(%rip),%rdi
call   1030 <printf@plt>
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
call   1030 <printf@plt>
lea    0xe5c(%rip),%rdi
call   1030 <printf@plt>
lea    0xefe(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf59(%rip),%rdi
call   1030 <printf@plt>
lea    0xf84(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
call   1030 <printf@plt>
lea    0xe14(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfee(%rip),%rdi
call   1030 <printf@plt>
lea    0xdf0(%rip),%rdi
call   1030 <printf@plt>
lea    0x1001(%rip),%rdi
call   1030 <printf@plt>
lea    0xdec(%rip),%rdi
call   1030 <printf@plt>
lea    0xffb(%rip),%rdi
call   1030 <printf@plt>
lea    0x101a(%rip),%rdi
call   1030 <printf@plt>
lea    0xdb4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1031(%rip),%rdi
call   1030 <printf@plt>
lea    0xd9c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1025(%rip),%rdi
call   1030 <printf@plt>
lea    0x1031(%rip),%rdi
call   1030 <printf@plt>
lea    0xd78(%rip),%rdi
call   1030 <printf@plt>
lea    0x1032(%rip),%rdi
call   1030 <printf@plt>
lea    0x1056(%rip),%rdi
call   1030 <printf@plt>
lea    0xd54(%rip),%rdi
call   1030 <printf@plt>
lea    0x1060(%rip),%rdi
call   1030 <printf@plt>
lea    0x107d(%rip),%rdi
call   1030 <printf@plt>
lea    0xd30(%rip),%rdi
call   1030 <printf@plt>
lea    0x1081(%rip),%rdi
call   1030 <printf@plt>
lea    0x1094(%rip),%rdi
call   1030 <printf@plt>
lea    0xd0c(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rbx
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xece(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xec0(%rip),%rdi
call   1040 <puts@plt>
lea    0x10c8(%rip),%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xeac(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xeca(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xebf(%rip),%rdi
call   1040 <puts@plt>
lea    0xecc(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee8(%rip),%rdi
call   1040 <puts@plt>
lea    0xf16(%rip),%rdi
call   1040 <puts@plt>
lea    0xf41(%rip),%rdi
call   1040 <puts@plt>
lea    0xf6b(%rip),%rdi
call   1040 <puts@plt>
lea    0xf98(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xfbc(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd4(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xfe8(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xff0(%rip),%rdi
call   1040 <puts@plt>
lea    0x100e(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1026(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x101b(%rip),%rdi
call   1040 <puts@plt>
lea    0x1026(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1028(%rip),%rdi
call   1040 <puts@plt>
lea    0x104b(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1056(%rip),%rdi
call   1040 <puts@plt>
lea    0x1072(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1077(%rip),%rdi
call   1040 <puts@plt>
lea    0x1089(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rbx
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [9 x i8] c"USAGE: \0A\00"
@.str.2 = [18 x i8] c"ERROR CORRECTION\0A\00"
@.str.3 = [12 x i8] c"Required: \0A\00"
@.str.4 = [53 x i8] c"\09-i \09[file] \09Specify one or many FASTQ input files.\0A\00"
@.str.5 = [12 x i8] c"Optional: \0A\00"
@.str.6 = [26 x i8] c"\09-o \09 \09Output directory.\0A\00"
@.str.7 = [51 x i8] c"\09-p \09 \09Specify input should be treated as paired.\0A\00"
@.str.8 = [59 x i8] c"\09-s \09[bool] \09Substitution corrections. \22true\22 or \22false\22.\0A\00"
@.str.9 = [56 x i8] c"\09-n \09[bool] \09Insertion corrections. \22true\22 or \22false\22.\0A\00"
@.str.10 = [55 x i8] c"\09-d \09[bool] \09Deletion corrections. \22true\22 or \22false\22.\0A\00"
@.str.11 = [58 x i8] c"\09-h \09[bool] \09Homopolymer corrections. \22true\22 or \22false\22.\0A\00"
@.str.12 = [59 x i8] c"\09-f \09[bool] \09Low k-mer read filtering. \22true\22 or \22false\22.\0A\00"
@.str.13 = [37 x i8] c"\09-k \09[int] \09Specify the k-mer size.\0A\00"
@.str.14 = [43 x i8] c"\09-b \09[int] \09Specify the input batch size.\0A\00"
@.str.15 = [18 x i8] c"FASTK CONVERSION\0A\00"
@.str.16 = [43 x i8] c"\09-fastk \09\09FASTQ to FASTK file conversion.\0A\00"
@.str.17 = [47 x i8] c"\09-i \09[file] \09Specify one or many input files.\0A\00"
@.str.18 = [12 x i8] c"EXAMPLES: \0A\00"
@.str.19 = [24 x i8] c"./error -i file1.fastq\0A\00"
@.str.20 = [25 x i8] c"\09Correct a single file.\0A\00"
@.str.21 = [48 x i8] c"./error -i file1.fastq file2.fastq file3.fastq\0A\00"
@.str.22 = [34 x i8] c"\09Correct multiple file together.\0A\00"
@.str.23 = [41 x i8] c"./error -i frag_1.fastq frag_2.fastq -p\0A\00"
@.str.24 = [28 x i8] c"\09Correct two paired files.\0A\00"
@.str.25 = [31 x i8] c"./error -fastk -i file1.fastq\0A\00"
@.str.26 = [39 x i8] c"\09Convert file1.fastq to FASTK format.\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.10, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.11, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.12, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.13, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.14, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.15, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.16, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.17, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.19, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.20, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.21, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.22, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.23, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.24, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%39 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.25, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.26, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [8 x i8] c"USAGE: \00"
@str.27 = [17 x i8] c"ERROR CORRECTION\00"
@str.29 = [52 x i8] c"\09-i \09[file] \09Specify one or many FASTQ input files.\00"
@str.30 = [11 x i8] c"Optional: \00"
@str.31 = [25 x i8] c"\09-o \09 \09Output directory.\00"
@str.32 = [50 x i8] c"\09-p \09 \09Specify input should be treated as paired.\00"
@str.33 = [58 x i8] c"\09-s \09[bool] \09Substitution corrections. \22true\22 or \22false\22.\00"
@str.34 = [55 x i8] c"\09-n \09[bool] \09Insertion corrections. \22true\22 or \22false\22.\00"
@str.35 = [54 x i8] c"\09-d \09[bool] \09Deletion corrections. \22true\22 or \22false\22.\00"
@str.36 = [57 x i8] c"\09-h \09[bool] \09Homopolymer corrections. \22true\22 or \22false\22.\00"
@str.37 = [58 x i8] c"\09-f \09[bool] \09Low k-mer read filtering. \22true\22 or \22false\22.\00"
@str.38 = [36 x i8] c"\09-k \09[int] \09Specify the k-mer size.\00"
@str.39 = [42 x i8] c"\09-b \09[int] \09Specify the input batch size.\00"
@str.40 = [17 x i8] c"FASTK CONVERSION\00"
@str.41 = [11 x i8] c"Required: \00"
@str.42 = [42 x i8] c"\09-fastk \09\09FASTQ to FASTK file conversion.\00"
@str.43 = [46 x i8] c"\09-i \09[file] \09Specify one or many input files.\00"
@str.44 = [11 x i8] c"EXAMPLES: \00"
@str.45 = [23 x i8] c"./error -i file1.fastq\00"
@str.46 = [24 x i8] c"\09Correct a single file.\00"
@str.47 = [47 x i8] c"./error -i file1.fastq file2.fastq file3.fastq\00"
@str.48 = [33 x i8] c"\09Correct multiple file together.\00"
@str.49 = [40 x i8] c"./error -i frag_1.fastq frag_2.fastq -p\00"
@str.50 = [27 x i8] c"\09Correct two paired files.\00"
@str.51 = [30 x i8] c"./error -fastk -i file1.fastq\00"
@str.52 = [38 x i8] c"\09Convert file1.fastq to FASTK format.\00"
define void @help() {
%1 = tail call i32 @putchar(i32 10)
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @putchar(i32 10)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.27, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.41, i64 0, i64 0))
%6 = tail call i32 @putchar(i32 10)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.29, i64 0, i64 0))
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.30, i64 0, i64 0))
%10 = tail call i32 @putchar(i32 10)
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.31, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.32, i64 0, i64 0))
%13 = tail call i32 @putchar(i32 10)
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.33, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.34, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.35, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.36, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.37, i64 0, i64 0))
%19 = tail call i32 @putchar(i32 10)
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.38, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.39, i64 0, i64 0))
%22 = tail call i32 @putchar(i32 10)
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.40, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.41, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.42, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.43, i64 0, i64 0))
%27 = tail call i32 @putchar(i32 10)
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.44, i64 0, i64 0))
%29 = tail call i32 @putchar(i32 10)
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.45, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.46, i64 0, i64 0))
%32 = tail call i32 @putchar(i32 10)
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.47, i64 0, i64 0))
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.48, i64 0, i64 0))
%35 = tail call i32 @putchar(i32 10)
%36 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.49, i64 0, i64 0))
%37 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.50, i64 0, i64 0))
%38 = tail call i32 @putchar(i32 10)
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.51, i64 0, i64 0))
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.52, i64 0, i64 0))
%41 = tail call i32 @putchar(i32 10)
ret void
}