// File: /workspace/github_c_makefile_star2_O3/nh13[P]ksw/src/main.c
// Function: usage
void usage(main_opt_t *opt)
{
	int i;
	fprintf(stderr, "\n");
	fprintf(stderr, "Program: ksw (klib smith-waterman)\n");
	fprintf(stderr, "Version: %s\n", GIT_HASH);
	fprintf(stderr, "Usage: ksw [options]\n\n");
	fprintf(stderr, "Algorithm options:\n\n");
	fprintf(stderr, "       -M INT      The alignment mode:");
	for (i = AlignmentModeStart; i <= AlignmentModeEnd; ++i) {
		fprintf(stderr, " %d - %s", i, alignment_mode_to_str(i));
		if (i < AlignmentModeEnd) fputc(',', stderr);
	}
	fprintf(stderr, " [%d - %s]\n", opt->alignment_mode, alignment_mode_to_str(opt->alignment_mode));
	fprintf(stderr, "       -a INT      The match score (>0) [%d]\n", opt->match_score);
	fprintf(stderr, "       -b INT      The mismatch penalty (>0) [%d]\n", opt->mismatch_score);
	fprintf(stderr, "       -q INT      The gap open penalty (>=0) [%d]\n", opt->gap_open);
	fprintf(stderr, "       -r INT      The gap extend penalty (>0) [%d]\n", opt->gap_extend);
	fprintf(stderr, "       -w INT      The band width (ksw only) [%d]\n", opt->band_width);
	fprintf(stderr, "       -m FILE     Path to the scoring matrix (4x4 or 5x5) [%s]\n", opt->matrix_fn == NULL ? "None" : opt->matrix_fn);
	fprintf(stderr, "       -c          Append the cigar to the output [%s]\n", opt->add_cigar == 0 ? "false" : "true");
	fprintf(stderr, "       -s          Append the query and target to the output [%s]\n", opt->add_seq == 0 ? "false" : "true");
	fprintf(stderr, "       -H          Add a header line to the output [%s]\n", opt->add_header == 0 ? "false" : "true");
	fprintf(stderr, "       -R          Right-align gaps (ksw only)[%s]\n", opt->right_align_gaps == 0 ? "false" : "true");
	fprintf(stderr, "       -O          Output offset-and-length, otherwise start-and-end (all zero-based)[%s]\n", opt->offset_and_length == 0 ? "false" : "true");
	fprintf(stderr, "       -l INT      The library type:");
	for (i = LibraryStart; i <= LibraryEnd; ++i) {
		fprintf(stderr, " %d - %s", i, library_to_str(i));
		if (i < LibraryEnd) fputc(',', stderr);
	}
	fprintf(stderr, " [%d - %s]\n", opt->library, library_to_str(opt->library));
	fprintf(stderr,"\nNote: when any of the algorithms open a gap, the gap open plus the gap extension penalty is applied.\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x639ca7(%rip), %r12    # 0x7d7fd8
movq (%r12), %rsi
pushq $0xa
popq %rdi
callq 0x19e140
movq (%r12), %rcx
leaq 0x42c54f(%rip), %rdi    # 0x5ca897
pushq $0x23
popq %rsi
pushq $0x1
popq %r14
movq %r14, %rdx
callq 0x19e200
movq (%r12), %rdi
leaq 0x42c559(%rip), %rsi    # 0x5ca8bb
leaq 0x42c55f(%rip), %rdx    # 0x5ca8c8
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rcx
leaq 0x42c551(%rip), %rdi    # 0x5ca8ce
pushq $0x16
popq %rsi
movq %r14, %rdx
callq 0x19e200
movq (%r12), %rcx
leaq 0x42c552(%rip), %rdi    # 0x5ca8e5
pushq $0x14
popq %rsi
movq %r14, %rdx
callq 0x19e200
movq (%r12), %rcx
leaq 0x42c551(%rip), %rdi    # 0x5ca8fa
pushq $0x26
popq %rsi
movq %r14, %rdx
callq 0x19e200
movq (%r12), %rdi
leaq 0x42c143(%rip), %r14    # 0x5ca502
movl %ebp, %eax
leaq 0x42c068(%rip), %r15    # 0x5ca430
movslq (%r15,%rax,4), %rax
addq %r15, %rax
movq %r14, %rcx
jmpq *%rax
leaq 0x42c126(%rip), %rcx    # 0x5ca501
jmp 0x19e3e4
leaq 0x42c124(%rip), %rcx    # 0x5ca508
leaq 0x42c536(%rip), %rsi    # 0x5ca921
movl %ebp, %edx
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rsi
pushq $0x2c
popq %rdi
callq 0x19e140
incl %ebp
movq (%r12), %rdi
movl %ebp, %eax
movslq (%r15,%rax,4), %rax
addq %r15, %rax
movq %r14, %rcx
jmpq *%rax
leaq 0x42c506(%rip), %rsi    # 0x5ca921
leaq 0x42c0ed(%rip), %rcx    # 0x5ca50f
pushq $0x3
popq %rdx
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movl 0x20(%rbx), %edx
cmpq $0x3, %rdx
ja 0x19e446
leaq 0x58f290(%rip), %rax    # 0x72d6d0
movq (%rax,%rdx,8), %rcx
jmp 0x19e44d
leaq 0x42c0c9(%rip), %rcx    # 0x5ca516
leaq 0x42c4d6(%rip), %rsi    # 0x5ca92a
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movl (%rbx), %edx
leaq 0x42c4ce(%rip), %rsi    # 0x5ca936
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movl 0x4(%rbx), %edx
leaq 0x42c4e7(%rip), %rsi    # 0x5ca964
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movl 0x8(%rbx), %edx
leaq 0x42c505(%rip), %rsi    # 0x5ca997
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movl 0xc(%rbx), %edx
leaq 0x42c524(%rip), %rsi    # 0x5ca9cb
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movl 0x10(%rbx), %edx
leaq 0x42c544(%rip), %rsi    # 0x5caa00
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movq 0x18(%rbx), %rax
testq %rax, %rax
leaq 0x42c59f(%rip), %rdx    # 0x5caa74
cmovneq %rax, %rdx
leaq 0x42c553(%rip), %rsi    # 0x5caa33
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
cmpl $0x0, 0x24(%rbx)
leaq 0x42c5bb(%rip), %r15    # 0x5caab1
leaq 0x42c5ba(%rip), %r14    # 0x5caab7
movq %r14, %rdx
cmoveq %r15, %rdx
leaq 0x42c56e(%rip), %rsi    # 0x5caa79
xorl %eax, %eax
callq 0x19e180
cmpl $0x0, 0x28(%rbx)
movq (%r12), %rdi
movq %r14, %rdx
cmoveq %r15, %rdx
leaq 0x42c594(%rip), %rsi    # 0x5caabc
xorl %eax, %eax
callq 0x19e180
cmpl $0x0, 0x2c(%rbx)
movq (%r12), %rdi
movq %r14, %rdx
cmoveq %r15, %rdx
leaq 0x42c5ba(%rip), %rsi    # 0x5caaff
xorl %eax, %eax
callq 0x19e180
cmpl $0x0, 0x30(%rbx)
movq (%r12), %rdi
movq %r14, %rdx
cmoveq %r15, %rdx
leaq 0x42c5d6(%rip), %rsi    # 0x5cab38
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movq %rbx, (%rsp)
cmpl $0x0, 0x34(%rbx)
cmoveq %r15, %r14
leaq 0x42c5ec(%rip), %rsi    # 0x5cab6c
movq %r14, %rdx
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rcx
leaq 0x42c632(%rip), %rdi    # 0x5cabc7
pushq $0x24
popq %rsi
pushq $0x1
popq %rdx
callq 0x19e200
leaq 0x42bf77(%rip), %r13    # 0x5ca51e
leaq 0x42c373(%rip), %r14    # 0x5ca921
pushq $0x2c
popq %rbp
leaq 0x42c2c2(%rip), %rbx    # 0x5ca87a
xorl %r15d, %r15d
movq (%r12), %rdi
movq %r13, %rcx
testl %r15d, %r15d
je 0x19e5d0
cmpl $0x1, %r15d
jne 0x19e5ed
movq %rbx, %rcx
movq %r14, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rsi
movl %ebp, %edi
callq 0x19e140
incl %r15d
jmp 0x19e5bb
leaq 0x42c32d(%rip), %rsi    # 0x5ca921
leaq 0x42bf28(%rip), %rcx    # 0x5ca523
pushq $0x2
popq %rdx
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rdi
movq (%rsp), %rax
movl 0x38(%rax), %edx
cmpq $0x2, %rdx
ja 0x19e623
leaq 0x58f0d3(%rip), %rax    # 0x72d6f0
movq (%rax,%rdx,8), %rcx
jmp 0x19e62a
leaq 0x42beec(%rip), %rcx    # 0x5ca516
leaq 0x42c2f9(%rip), %rsi    # 0x5ca92a
xorl %eax, %eax
callq 0x19e180
movq (%r12), %rcx
leaq 0x42c5a9(%rip), %rdi    # 0x5cabec
pushq $0x66
popq %rsi
pushq $0x1
popq %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x19e200