// File: /workspace/github_cpp_makefile_star2_O1/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 0x4c89f(%rip), %rax     # 0x8f968
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 0x3077e(%rip), %rsi     # 0x7388f
leaq 0x30786(%rip), %rdx     # 0x7389e
leaq 0x8(%rsp), %rdi
callq 0x2f1b2
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x3076d(%rip), %rsi     # 0x7389f
leaq 0x30784(%rip), %rdx     # 0x738bd
leaq 0x28(%rsp), %rdi
callq 0x2f1b2
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3076b(%rip), %rsi     # 0x738be
leaq 0x3079a(%rip), %rdx     # 0x738f4
leaq 0x48(%rsp), %rdi
callq 0x2f1b2
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0x646a4
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x43187
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x43196
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x431a5
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x2f35d(%rip), %rsi     # 0x72511
leaq 0x2f364(%rip), %rdx     # 0x7251f
callq 0x2f1b2
leaq 0x8(%rsp), %rdi
callq 0x63a0c
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x431dc
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x2f335(%rip), %rsi     # 0x72520
leaq 0x2f331(%rip), %rdx     # 0x72523
callq 0x2f1b2
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x2f31e(%rip), %rsi     # 0x72524
leaq 0x2f323(%rip), %rdx     # 0x72530
callq 0x2f1b2
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x2f310(%rip), %rsi     # 0x72531
leaq 0x2f31e(%rip), %rdx     # 0x72546
callq 0x2f1b2
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x345de(%rip), %rdx     # 0x7781b
leaq 0x68(%rsp), %rdi
movq %rdx, %rsi
callq 0x2f1b2
movq 0x8(%rbx), %r15
callq 0x646e2
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 0x2e4f6
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x43289
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x38(%rsp), %r15
je 0x4329d
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x432ac
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x432bb
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x2f27d(%rip), %rsi     # 0x72547
leaq 0x2f27b(%rip), %rdx     # 0x7254c
callq 0x2f1b2
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x2f321(%rip), %rsi     # 0x72606
leaq 0x2f322(%rip), %rdx     # 0x7260e
callq 0x2f1b2
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x2f24d(%rip), %rsi     # 0x7254d
leaq 0x2f270(%rip), %rdx     # 0x72577
callq 0x2f1b2
leaq 0x68(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x34500(%rip), %rdx     # 0x7781b
movq %rdx, %rsi
callq 0x2f1b2
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 0x2e8ba
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x43361
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x43370
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x4337f
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x4338e
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 0x433b7
callq 0x27560
jmp 0x433b7
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x433cb
callq 0x27560
jmp 0x433cb
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x433e4
callq 0x27560
jmp 0x433e4
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x434a2
jmp 0x4349d
jmp 0x43459
movq %rax, %rbx
jmp 0x43470
movq %rax, %rbx
jmp 0x4347f
movq %rax, %rbx
jmp 0x43493
jmp 0x43459
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x434a2
jmp 0x4349d
jmp 0x43459
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x43439
callq 0x27560
jmp 0x43439
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x4344d
callq 0x27560
jmp 0x4344d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x434a2
jmp 0x4349d
movq %rax, %rbx
jmp 0x434a2
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x43470
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4347f
callq 0x27560
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x43493
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x434a2
callq 0x27560
movq %rbx, %rdi
callq 0x27b20