// File: /workspace/github_cpp_makefile_star2_O1/statgen[P]statgen/lib/samtools-0.1.7a-hybrid/sam_view.c
// Function: usage
static int usage(int is_long_help)
{
	fprintf(stderr, "\n");
	fprintf(stderr, "Usage:   samtools view [options] <in.bam>|<in.sam> [region1 [...]]\n\n");
	fprintf(stderr, "Options: -b       output BAM\n");
	fprintf(stderr, "         -h       print header for the SAM output\n");
	fprintf(stderr, "         -H       print header only (no alignments)\n");
	fprintf(stderr, "         -S       input is SAM\n");
	fprintf(stderr, "         -u       uncompressed BAM output (force -b)\n");
	fprintf(stderr, "         -x       output FLAG in HEX (samtools-C specific)\n");
	fprintf(stderr, "         -X       output FLAG in string (samtools-C specific)\n");
	fprintf(stderr, "         -t FILE  list of reference names and lengths (force -S) [null]\n");
	fprintf(stderr, "         -T FILE  reference sequence file (force -S) [null]\n");
	fprintf(stderr, "         -o FILE  output file name [stdout]\n");
	fprintf(stderr, "         -f INT   required flag, 0 for unset [0]\n");
	fprintf(stderr, "         -F INT   filtering flag, 0 for unset [0]\n");
	fprintf(stderr, "         -q INT   minimum mapping quality [0]\n");
	fprintf(stderr, "         -l STR   only output reads in library STR [null]\n");
	fprintf(stderr, "         -r STR   only output reads in read group STR [null]\n");
	fprintf(stderr, "         -?       longer help\n");
	fprintf(stderr, "\n");
	if (is_long_help)
		fprintf(stderr, "Notes:\n\
\n\
  1. By default, this command assumes the file on the command line is in\n\
     the BAM format and it prints the alignments in SAM. If `-t' is\n\
     applied, the input file is assumed to be in the SAM format. The\n\
     file supplied with `-t' is SPACE/TAB delimited with the first two\n\
     fields of each line consisting of the reference name and the\n\
     corresponding sequence length. The `.fai' file generated by `faidx'\n\
     can be used here. This file may be empty if reads are unaligned.\n\
\n\
  2. SAM->BAM conversion: `samtools view -bT ref.fa in.sam.gz'.\n\
\n\
  3. BAM->SAM conversion: `samtools view in.bam'.\n\
\n\
  4. A region should be presented in one of the following formats:\n\
     `chr1', `chr2:1,000' and `chr3:1000-2,000'. When a region is\n\
     specified, the input alignment file must be an indexed BAM file.\n\
\n\
  5. Option `-u' is preferred over `-b' when the output is piped to\n\
     another samtools command.\n\
\n\
  6. In a string FLAG, each character represents one bit with\n\
     p=0x1 (paired), P=0x2 (properly paired), u=0x4 (unmapped),\n\
     U=0x8 (mate unmapped), r=0x10 (reverse), R=0x20 (mate reverse)\n\
     1=0x40 (first), 2=0x80 (second), s=0x100 (not primary), \n\
     f=0x200 (failure) and d=0x400 (duplicate). Note that `-x' and\n\
     `-X' are samtools-C specific. Picard and older samtools do not\n\
     support HEX or string flags.\n\
\n");
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edi, %ebx
movq 0x2b87d(%rip), %r12     # 0x2efe8
movq (%r12), %rsi
pushq $0xa
popq %rbp
movl %ebp, %edi
callq 0x3290
movq (%r12), %rcx
leaq 0x21758(%rip), %rdi     # 0x24edc
pushq $0x44
popq %rsi
pushq $0x1
popq %r14
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x21783(%rip), %rdi     # 0x24f21
pushq $0x1d
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2178b(%rip), %rdi     # 0x24f3f
pushq $0x32
popq %r15
movq %r15, %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x217a4(%rip), %rdi     # 0x24f72
pushq $0x34
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x217c3(%rip), %rdi     # 0x24fa7
pushq $0x1f
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x217cd(%rip), %rdi     # 0x24fc7
pushq $0x35
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x217ed(%rip), %rdi     # 0x24ffd
pushq $0x3b
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x21813(%rip), %rdi     # 0x25039
pushq $0x3e
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2183c(%rip), %rdi     # 0x25078
pushq $0x48
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2186f(%rip), %rdi     # 0x250c1
pushq $0x3c
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x21896(%rip), %rdi     # 0x250fe
pushq $0x2c
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x218ad(%rip), %rdi     # 0x2512b
pushq $0x31
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x218c9(%rip), %rdi     # 0x2515d
movq %r15, %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x218e6(%rip), %rdi     # 0x25190
pushq $0x2e
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x218ff(%rip), %rdi     # 0x251bf
pushq $0x3a
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x21924(%rip), %rdi     # 0x251fa
pushq $0x3d
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2194c(%rip), %rdi     # 0x25238
pushq $0x1e
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rsi
movl %ebp, %edi
callq 0x3290
testl %ebx, %ebx
jne 0x390f
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq (%r12), %rcx
leaq 0x2193d(%rip), %rdi     # 0x25257
pushq $0x1
popq %rdx
movl $0x541, %esi            # imm = 0x541
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x3600