// File: /workspace/github_cpp_makefile_star2_O1/prophyle[P]prophasm/src/prophasm.cpp
// Function: ks_getuntil2(__kstream_t*, int, __kstring_t*, int*, int)
void print_help(){
	std::cerr <<
		"\n" <<
		"Program:  prophasm (a greedy assembler for k-mer set compression)\n" <<
		"Version:  " VERSION "\n" <<
		"Contact:  Karel Brinda <kbrinda@hsph.harvard.edu>\n" <<
		"\n" <<
		"Usage:    prophasm [options]\n" <<
		"\n" <<
		"Examples: prophasm -k 15 -i f1.fa -i f2.fa -x fx.fa\n" <<
		"             - compute intersection of f1 and f2\n" <<
		"          prophasm -k 15 -i f1.fa -i f2.fa -x fx.fa -o g1.fa -o g2.fa\n" <<
		"             - compute intersection of f1 and f2, and subtract it from them\n" <<
		"          prophasm -k 15 -i f1.fa -o g1.fa\n" <<
		"             - re-assemble f1 to g1\n" <<
		"\n" <<
		"Command-line parameters:\n" <<
		" -k INT   K-mer size.\n" <<
		" -i FILE  Input FASTA file (can be used multiple times).\n" <<
		" -o FILE  Output FASTA file (if used, must be used as many times as -i).\n" <<
		" -x FILE  Compute intersection, subtract it, save it.\n" <<
		" -s FILE  Output file with k-mer statistics.\n" <<
		//" -k INT   K-mer size. [" << default_k << "]\n" <<
		" -S       Silent mode.\n" <<
		"\n" <<
		"Note that '-' can be used for standard input/output. \n" <<
		std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbp
movq %rdx, %rbx
movl %esi, %r12d
movq %rdi, %r14
testq %rcx, %rcx
je 0x366e
movl $0x0, (%rbp)
xorl %r15d, %r15d
testl %r8d, %r8d
je 0x367b
movq (%rbx), %rax
jmp 0x367d
xorl %eax, %eax
movq %rax, (%rbx)
movl %r12d, 0xc(%rsp)
movq %rbp, 0x10(%rsp)
movl 0x8(%r14), %eax
cmpl 0xc(%r14), %eax
jge 0x36c5
movl 0x8(%r14), %r13d
movl 0xc(%r14), %r15d
movslq %r13d, %rbp
testl %r12d, %r12d
je 0x36d7
cmpl $0x2, %r12d
jne 0x36f9
cmpl %r15d, %r13d
jge 0x3726
addq (%r14), %rbp
cmpb $0xa, (%rbp)
je 0x3726
incl %r13d
incq %rbp
cmpl %r13d, %r15d
jne 0x36b2
jmp 0x3723
cmpl $0x0, 0x10(%r14)
je 0x37fe
xorl %eax, %eax
jmp 0x37f4
cmpl %r15d, %r13d
jge 0x3726
addq (%r14), %rbp
movzbl (%rbp), %edi
callq 0x2060
testl %eax, %eax
jne 0x3726
incl %r13d
incq %rbp
cmpl %r13d, %r15d
jne 0x36df
jmp 0x3723
cmpl %r15d, %r13d
jge 0x3726
addq (%r14), %rbp
movzbl (%rbp), %r12d
movl %r12d, %edi
callq 0x2060
cmpl $0x20, %r12d
je 0x3718
testl %eax, %eax
jne 0x3726
incl %r13d
incq %rbp
cmpl %r13d, %r15d
jne 0x3701
movl %r15d, %r13d
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
subq %rax, %rdx
movslq 0x8(%r14), %rsi
movslq %r13d, %r12
movq %r12, %rcx
subq %rsi, %rcx
leaq 0x1(%rcx), %rsi
cmpq %rsi, %rdx
movq 0x10(%rsp), %rbp
jae 0x3796
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rbx)
movq 0x10(%rbx), %rdi
callq 0x2350
movq %rax, 0x10(%rbx)
movq 0x10(%rbx), %rdi
addq (%rbx), %rdi
movslq 0x8(%r14), %rax
movq (%r14), %rsi
addq %rax, %rsi
movq %r12, %rdx
subq %rax, %rdx
callq 0x21c0
movslq 0x8(%r14), %rax
movq %r12, %rcx
subq %rax, %rcx
addq %rcx, (%rbx)
leal 0x1(%r12), %edx
movl 0xc(%r14), %ecx
cmpl %ecx, %r12d
setge %al
movl %edx, 0x8(%r14)
movl $0x1, %r15d
testq %rbp, %rbp
je 0x37ef
cmpl %ecx, %r13d
jge 0x37ef
movq (%r14), %rax
movzbl (%rax,%r12), %eax
movl %eax, (%rbp)
xorl %eax, %eax
movl 0xc(%rsp), %r12d
testb %al, %al
jne 0x368a
jmp 0x3830
movl $0x0, 0x8(%r14)
movq (%r14), %rsi
movq 0x18(%r14), %rdi
movl $0x4000, %edx           # imm = 0x4000
callq 0x23b0
movl %eax, 0xc(%r14)
testl %eax, %eax
jne 0x3694
movl $0x1, 0x10(%r14)
jmp 0x36d0
testl %r15d, %r15d
je 0x385c
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x3874
cmpl $0x2, %r12d
jne 0x388f
movq (%rbx), %rcx
cmpq $0x2, %rcx
jb 0x388f
cmpb $0xd, -0x1(%rax,%rcx)
jne 0x388f
decq %rcx
movq %rcx, (%rbx)
jmp 0x388f
cmpl $0x0, 0x10(%r14)
je 0x3835
movl 0x8(%r14), %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl 0xc(%r14), %ecx
jl 0x3835
jmp 0x389c
movq $0x1, 0x8(%rbx)
movl $0x1, %edi
movl $0x1, %esi
callq 0x2150
movq %rax, 0x10(%rbx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl (%rbx), %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop