// File: /workspace/github_cpp_makefile_star2_O3/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 0x2a87d(%rip), %r12     # 0x2dfe8
movq (%r12), %rsi
pushq $0xa
popq %rbp
movl %ebp, %edi
callq 0x3290
movq (%r12), %rcx
leaq 0x207b0(%rip), %rdi     # 0x23f34
pushq $0x44
popq %rsi
pushq $0x1
popq %r14
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x207db(%rip), %rdi     # 0x23f79
pushq $0x1d
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x207e3(%rip), %rdi     # 0x23f97
pushq $0x32
popq %r15
movq %r15, %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x207fc(%rip), %rdi     # 0x23fca
pushq $0x34
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2081b(%rip), %rdi     # 0x23fff
pushq $0x1f
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x20825(%rip), %rdi     # 0x2401f
pushq $0x35
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x20845(%rip), %rdi     # 0x24055
pushq $0x3b
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2086b(%rip), %rdi     # 0x24091
pushq $0x3e
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x20894(%rip), %rdi     # 0x240d0
pushq $0x48
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x208c7(%rip), %rdi     # 0x24119
pushq $0x3c
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x208ee(%rip), %rdi     # 0x24156
pushq $0x2c
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x20905(%rip), %rdi     # 0x24183
pushq $0x31
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x20921(%rip), %rdi     # 0x241b5
movq %r15, %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2093e(%rip), %rdi     # 0x241e8
pushq $0x2e
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x20957(%rip), %rdi     # 0x24217
pushq $0x3a
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x2097c(%rip), %rdi     # 0x24252
pushq $0x3d
popq %rsi
movq %r14, %rdx
callq 0x3600
movq (%r12), %rcx
leaq 0x209a4(%rip), %rdi     # 0x24290
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 0x20995(%rip), %rdi     # 0x242af
pushq $0x1
popq %rdx
movl $0x541, %esi            # imm = 0x541
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x3600