// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/toolkit/bamtools_header.cpp
// Function: BamTools::HeaderTool::HeaderTool()
HeaderTool::HeaderTool(void)
    : AbstractTool()
    , m_settings(new HeaderSettings)
    , m_impl(0)
{
    // set program details
    Options::SetProgramInfo("bamtools header", "prints header from BAM file(s)", "[-in <filename> -in <filename> ... | -list <filelist>]");
    
    // set up options 
    OptionGroup* IO_Opts = Options::CreateOptionGroup("Input & Output");
    Options::AddValueOption("-in", "BAM filename", "the input BAM file(s)", "", m_settings->HasInput, m_settings->InputFiles, IO_Opts, Options::StandardIn());
    Options::AddValueOption("-list", "filename", "the input BAM file list, one line per file", "", m_settings->HasInputFilelist,  m_settings->InputFilelist, IO_Opts);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq 0x4b969(%rip), %rax     # 0x8e968
movq %rax, (%rdi)
movl $0x40, %edi
callq 0x275c0
movw $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
xorl %ecx, %ecx
movq %rcx, 0x18(%rax)
leaq 0x30(%rax), %rdx
movq %rdx, 0x20(%rax)
movq %rcx, 0x28(%rax)
movb $0x0, 0x30(%rax)
movq %rax, 0x8(%rbx)
movq %rcx, 0x10(%rbx)
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2f85f(%rip), %rsi     # 0x728a6
leaq 0x2f867(%rip), %rdx     # 0x728b5
leaq 0x8(%rsp), %rdi
callq 0x2f1a0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2f84e(%rip), %rsi     # 0x728b6
leaq 0x2f865(%rip), %rdx     # 0x728d4
leaq 0x28(%rsp), %rdi
callq 0x2f1a0
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x2f84c(%rip), %rsi     # 0x728d5
leaq 0x2f87b(%rip), %rdx     # 0x7290b
leaq 0x48(%rsp), %rdi
callq 0x2f1a0
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x64164
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x430bd
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x430cc
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x430db
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x2e427(%rip), %rsi     # 0x71511
leaq 0x2e42e(%rip), %rdx     # 0x7151f
callq 0x2f1a0
leaq 0x8(%rsp), %rdi
callq 0x634cc
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x43112
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x2e3ff(%rip), %rsi     # 0x71520
leaq 0x2e3fb(%rip), %rdx     # 0x71523
callq 0x2f1a0
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x2e3e8(%rip), %rsi     # 0x71524
leaq 0x2e3ed(%rip), %rdx     # 0x71530
callq 0x2f1a0
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x2e3da(%rip), %rsi     # 0x71531
leaq 0x2e3e8(%rip), %rdx     # 0x71546
callq 0x2f1a0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x336a4(%rip), %rdx     # 0x76817
leaq 0x68(%rsp), %rdi
movq %rdx, %rsi
callq 0x2f1a0
movq 0x8(%rbx), %r15
callq 0x641a2
leaq 0x8(%r15), %r9
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %rdx
leaq 0x68(%rsp), %rcx
movq %r15, %r8
pushq %rax
pushq %r14
callq 0x2e4fe
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x431bf
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x38(%rsp), %r15
je 0x431d3
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x431e2
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x431f1
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x2e347(%rip), %rsi     # 0x71547
leaq 0x2e345(%rip), %rdx     # 0x7154c
callq 0x2f1a0
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x2e3eb(%rip), %rsi     # 0x71606
leaq 0x2e3ec(%rip), %rdx     # 0x7160e
callq 0x2f1a0
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x2e317(%rip), %rsi     # 0x7154d
leaq 0x2e33a(%rip), %rdx     # 0x71577
callq 0x2f1a0
leaq 0x68(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x335c6(%rip), %rdx     # 0x76817
movq %rdx, %rsi
callq 0x2f1a0
movq 0x8(%rbx), %r9
leaq 0x1(%r9), %r8
addq $0x20, %r9
subq $0x8, %rsp
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x50(%rsp), %rdx
leaq 0x70(%rsp), %rcx
pushq %r14
callq 0x2e8c0
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x43297
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x432a6
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x432b5
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x432c4
callq 0x27560
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x432ed
callq 0x27560
jmp 0x432ed
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x43301
callq 0x27560
jmp 0x43301
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4331a
callq 0x27560
jmp 0x4331a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x433d8
jmp 0x433d3
jmp 0x4338f
movq %rax, %rbx
jmp 0x433a6
movq %rax, %rbx
jmp 0x433b5
movq %rax, %rbx
jmp 0x433c9
jmp 0x4338f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x433d8
jmp 0x433d3
jmp 0x4338f
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4336f
callq 0x27560
jmp 0x4336f
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x43383
callq 0x27560
jmp 0x43383
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x433d8
jmp 0x433d3
movq %rax, %rbx
jmp 0x433d8
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x433a6
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x433b5
callq 0x27560
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x433c9
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x433d8
callq 0x27560
movq %rbx, %rdi
callq 0x27b10