// File: /workspace/github_cpp_makefile_star2_O1/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 0x5e653(%rip), %rax     # 0x8f748
movq %rax, (%rdi)
movl $0x48, %edi
callq 0x275c0
movq %rax, %r14
movq %rax, %rdi
callq 0x31636
movq %r14, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x41991(%rip), %rsi     # 0x72abb
leaq 0x4199b(%rip), %rdx     # 0x72acc
leaq 0x8(%rsp), %rdi
callq 0x2f1b2
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x41982(%rip), %rsi     # 0x72acd
leaq 0x419a5(%rip), %rdx     # 0x72af7
leaq 0x28(%rsp), %rdi
callq 0x2f1b2
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x4198c(%rip), %rsi     # 0x72af8
leaq 0x419a7(%rip), %rdx     # 0x72b1a
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 0x311a0
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x311af
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x311be
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x41344(%rip), %rsi     # 0x72511
leaq 0x4134b(%rip), %rdx     # 0x7251f
callq 0x2f1b2
leaq 0x8(%rsp), %rdi
callq 0x63a0c
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x311f5
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x4131c(%rip), %rsi     # 0x72520
leaq 0x41318(%rip), %rdx     # 0x72523
callq 0x2f1b2
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x41305(%rip), %rsi     # 0x72524
leaq 0x4130a(%rip), %rdx     # 0x72530
callq 0x2f1b2
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x45584(%rip), %rsi     # 0x767be
leaq 0x4558f(%rip), %rdx     # 0x767d0
callq 0x2f1b2
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x465c5(%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 0x2ebcc
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x312a2
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x38(%rsp), %r15
je 0x312b6
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x312c5
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x312d4
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x41295(%rip), %rsi     # 0x72578
leaq 0x41292(%rip), %rdx     # 0x7257c
callq 0x2f1b2
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x41308(%rip), %rsi     # 0x72606
leaq 0x41309(%rip), %rdx     # 0x7260e
callq 0x2f1b2
leaq 0x48(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x41802(%rip), %rsi     # 0x72b1b
leaq 0x4180a(%rip), %rdx     # 0x72b2a
callq 0x2f1b2
leaq 0x68(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x464e7(%rip), %rdx     # 0x7781b
movq %rdx, %rsi
callq 0x2f1b2
movq 0x8(%rbx), %rbx
callq 0x646ea
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 0x2ebcc
addq $0x10, %rsp
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x3137e
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3138d
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x3139c
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x313ab
callq 0x27560
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x3146c
movq %rax, %rbx
jmp 0x3147b
movq %rax, %rbx
jmp 0x3148f
jmp 0x31447
movq %rax, %rbx
jmp 0x314ad
movq %rax, %rbx
jmp 0x314bc
movq %rax, %rbx
jmp 0x314d0
jmp 0x31447
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314df
jmp 0x314da
jmp 0x31447
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x31420
callq 0x27560
jmp 0x31420
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x31434
callq 0x27560
jmp 0x31434
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314df
jmp 0x314da
movq %rax, %rbx
jmp 0x314df
movq %rax, %rbx
movq %r14, %rdi
jmp 0x314da
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x3146c
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3147b
callq 0x27560
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3148f
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314df
jmp 0x314da
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x314ad
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x314bc
callq 0x27560
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x314d0
callq 0x27560
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x314df
callq 0x27560
movq %rbx, %rdi
callq 0x27b20
nop