// File: zeeev[P]DASVC/bamtools/src/api/internal/bam/BamMultiReader_p.cpp
// Function: BamTools::Internal::BamMultiReaderPrivate::OpenFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool BamMultiReaderPrivate::OpenFile(const std::string& filename) {
    vector<string> filenames(1, filename);
    if ( Open(filenames) )
        return true;
    else {
        const string currentError = m_errorString;
        const string message = string("could not open file: ") + filename + "\n\t" + currentError;
        SetErrorString("BamMultiReader::OpenFile", message);
        return false;
    }
}

// Assembly:
subq $0x148, %rsp            # imm = 0x148
movq %rdi, 0x138(%rsp)
movq %rsi, 0x130(%rsp)
movq 0x138(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x130(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x117(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x72070
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
leaq 0x118(%rsp), %rdi
movl $0x1, %esi
callq 0x7bee0
jmp 0xa1c31
leaq 0x117(%rsp), %rdi
callq 0x71d80
movq 0x18(%rsp), %rdi
leaq 0x118(%rsp), %rsi
callq 0x78a50
movb %al, 0x17(%rsp)
jmp 0xa1c56
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0xa1c60
jmp 0xa1cb7
movb $0x1, 0x147(%rsp)
movl $0x1, 0x100(%rsp)
jmp 0xa1f19
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x117(%rsp), %rdi
callq 0x71d80
jmp 0xa1f48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0xa1f37
movq 0x18(%rsp), %rsi
addq $0x28, %rsi
leaq 0xe0(%rsp), %rdi
callq 0x73370
jmp 0xa1ccf
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x7b5f0
movq 0x8(%rsp), %rdx
leaq 0x48ad1(%rip), %rsi     # 0xea7bb
leaq 0x60(%rsp), %rdi
callq 0x78e70
jmp 0xa1cf6
movq 0x130(%rsp), %rdx
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x7c720
jmp 0xa1d12
leaq 0x48fbe(%rip), %rdx     # 0xeacd7
leaq 0xa0(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x785a0
jmp 0xa1d30
leaq 0xc0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
callq 0x7c720
jmp 0xa1d4f
leaq 0xa0(%rsp), %rdi
callq 0x7cce8
jmp 0xa1d5e
leaq 0x80(%rsp), %rdi
callq 0x7cce8
jmp 0xa1d6d
leaq 0x60(%rsp), %rdi
callq 0x7cce8
jmp 0xa1d79
leaq 0x5f(%rsp), %rdi
callq 0x76f80
leaq 0x37(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x7b5f0
movq (%rsp), %rdx
leaq 0x48a35(%rip), %rsi     # 0xea7d1
leaq 0x38(%rsp), %rdi
callq 0x78e70
jmp 0xa1da8
movq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0x77c30
jmp 0xa1dc1
leaq 0x38(%rsp), %rdi
callq 0x7cce8
jmp 0xa1dcd
leaq 0x37(%rsp), %rdi
callq 0x76f80
movb $0x0, 0x147(%rsp)
movl $0x1, 0x100(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0x7cce8
jmp 0xa1edf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0xa1e82
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0xa1e74
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0xa1e63
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x7cce8
jmp 0xa1e61
jmp 0xa1e63
leaq 0x80(%rsp), %rdi
callq 0x7cce8
jmp 0xa1e72
jmp 0xa1e74
leaq 0x60(%rsp), %rdi
callq 0x7cce8
jmp 0xa1e80
jmp 0xa1e82
leaq 0x5f(%rsp), %rdi
callq 0x76f80
jmp 0xa1f08
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0xa1ec6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x7cce8
jmp 0xa1ec4
jmp 0xa1ec6
leaq 0x37(%rsp), %rdi
callq 0x76f80
leaq 0xc0(%rsp), %rdi
callq 0x7cce8
jmp 0xa1f04
leaq 0xe0(%rsp), %rdi
callq 0x7cce8
jmp 0xa1f06
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x108(%rsp)
movl %eax, 0x104(%rsp)
jmp 0xa1f08
jmp 0xa1f08
jmp 0xa1f19
leaq 0xe0(%rsp), %rdi
callq 0x7cce8
jmp 0xa1f17
jmp 0xa1f37
leaq 0x118(%rsp), %rdi
callq 0x74e60
movb 0x147(%rsp), %al
andb $0x1, %al
addq $0x148, %rsp            # imm = 0x148
retq
leaq 0x118(%rsp), %rdi
callq 0x74e60
jmp 0xa1f46
jmp 0xa1f48
movq 0x108(%rsp), %rdi
callq 0x7b550
movq %rax, %rdi
callq 0x88ef0
nopl (%rax)