// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/toolkit/bamtools_coverage.cpp
// Function: BamTools::CoverageTool::CoverageTool()
CoverageTool::CoverageTool(void) 
    : AbstractTool()
    , m_settings(new CoverageSettings)
    , m_impl(0)
{ 
    // set program details
    Options::SetProgramInfo("bamtools coverage", "prints coverage data for a single BAM file", "[-in <filename>] [-out <filename>]");
    
    // set up options 
    OptionGroup* IO_Opts = Options::CreateOptionGroup("Input & Output");
    Options::AddValueOption("-in",  "BAM filename", "the input BAM file", "", m_settings->HasInputFile,  m_settings->InputBamFilename, IO_Opts, Options::StandardIn());
    Options::AddValueOption("-out", "filename",     "the output file",    "", m_settings->HasOutputFile, m_settings->OutputFilename,   IO_Opts, Options::StandardOut());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq 0x5d66b(%rip), %rax     # 0x8e748
movq %rax, (%rdi)
movl $0x48, %edi
callq 0x275c0
movq %rax, %r14
movq %rax, %rdi
callq 0x3161e
movq %r14, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x409a9(%rip), %rsi     # 0x71abb
leaq 0x409b3(%rip), %rdx     # 0x71acc
leaq 0x8(%rsp), %rdi
callq 0x2f1a0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x4099a(%rip), %rsi     # 0x71acd
leaq 0x409bd(%rip), %rdx     # 0x71af7
leaq 0x28(%rsp), %rdi
callq 0x2f1a0
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x409a4(%rip), %rsi     # 0x71af8
leaq 0x409bf(%rip), %rdx     # 0x71b1a
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 0x31188
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x31197
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x311a6
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x4035c(%rip), %rsi     # 0x71511
leaq 0x40363(%rip), %rdx     # 0x7151f
callq 0x2f1a0
leaq 0x8(%rsp), %rdi
callq 0x634cc
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x311dd
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x40334(%rip), %rsi     # 0x71520
leaq 0x40330(%rip), %rdx     # 0x71523
callq 0x2f1a0
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x4031d(%rip), %rsi     # 0x71524
leaq 0x40322(%rip), %rdx     # 0x71530
callq 0x2f1a0
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x4459c(%rip), %rsi     # 0x757be
leaq 0x445a7(%rip), %rdx     # 0x757d0
callq 0x2f1a0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x455d9(%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 0x2ebbe
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x3128a
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x38(%rsp), %r15
je 0x3129e
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x312ad
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x312bc
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x402ad(%rip), %rsi     # 0x71578
leaq 0x402aa(%rip), %rdx     # 0x7157c
callq 0x2f1a0
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x40320(%rip), %rsi     # 0x71606
leaq 0x40321(%rip), %rdx     # 0x7160e
callq 0x2f1a0
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x4081a(%rip), %rsi     # 0x71b1b
leaq 0x40822(%rip), %rdx     # 0x71b2a
callq 0x2f1a0
leaq 0x68(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x454fb(%rip), %rdx     # 0x76817
movq %rdx, %rsi
callq 0x2f1a0
movq 0x8(%rbx), %rbx
callq 0x641aa
leaq 0x28(%rbx), %r9
incq %rbx
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %rdx
leaq 0x68(%rsp), %rcx
movq %rbx, %r8
pushq %rax
pushq %r14
callq 0x2ebbe
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x31366
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x31375
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x31384
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x31393
callq 0x27560
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x31454
movq %rax, %rbx
jmp 0x31463
movq %rax, %rbx
jmp 0x31477
jmp 0x3142f
movq %rax, %rbx
jmp 0x31495
movq %rax, %rbx
jmp 0x314a4
movq %rax, %rbx
jmp 0x314b8
jmp 0x3142f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314c7
jmp 0x314c2
jmp 0x3142f
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x31408
callq 0x27560
jmp 0x31408
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x3141c
callq 0x27560
jmp 0x3141c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314c7
jmp 0x314c2
movq %rax, %rbx
jmp 0x314c7
movq %rax, %rbx
movq %r14, %rdi
jmp 0x314c2
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x31454
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x31463
callq 0x27560
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x31477
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314c7
jmp 0x314c2
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x31495
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x314a4
callq 0x27560
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x314b8
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314c7
callq 0x27560
movq %rbx, %rdi
callq 0x27b10
nop