// File: /workspace/github_cpp_makefile_star2_O1/zeeev[P]DASVC/bamtools/src/api/internal/bam/BamMultiReader_p.cpp
// Function: BamTools::Internal::BamMultiReaderPrivate::CloseFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool BamMultiReaderPrivate::CloseFile(const string& filename) {

    m_errorString.clear();

    vector<string> filenames(1, filename);
    if ( CloseFiles(filenames) )
        return true;
    else {
        const string currentError = m_errorString;
        const string message = string("error while closing file: ") + filename + "\n" + currentError;
        SetErrorString("BamMultiReader::CloseFile", message);
        return false;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc0, %rsp
movq %rsi, %r15
movq %rdi, %r14
movq $0x0, 0x30(%rdi)
movq 0x28(%rdi), %rax
movb $0x0, (%rax)
leaq 0xa8(%rsp), %rbx
leaq 0x28(%rsp), %rcx
movl $0x1, %esi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x28f00
movq %r14, %rdi
movq %rbx, %rsi
callq 0x28f40
movl %eax, %ebx
testb %al, %al
jne 0x358b8
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x267c0
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1fc4c(%rip), %rsi     # 0x55404
leaq 0x1fc5f(%rip), %rdx     # 0x5541e
leaq 0x48(%rsp), %rdi
callq 0x26750
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
movq %r15, %rdx
callq 0x29130
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x267c0
leaq 0x1fd27(%rip), %rsi     # 0x55529
leaq 0x8(%rsp), %rdi
callq 0x290a0
leaq 0x88(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x29130
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x35832
callq 0x27560
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35845
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x35854
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x1fbbc(%rip), %rsi     # 0x5541f
leaq 0x1fbce(%rip), %rdx     # 0x55438
callq 0x26750
leaq 0x8(%rsp), %rsi
leaq 0x88(%rsp), %rdx
movq %r14, %rdi
callq 0x27be0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x35893
callq 0x27560
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x358a9
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x358b8
callq 0x27560
leaq 0xa8(%rsp), %rdi
callq 0x270a0
movl %ebx, %eax
addq $0xc0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x358ef
callq 0x27560
jmp 0x358ef
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x3593d
jmp 0x35947
jmp 0x35904
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3591b
callq 0x27560
jmp 0x3591b
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x35933
callq 0x27560
jmp 0x35933
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x35947
callq 0x27560
jmp 0x35947
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x3595d
callq 0x27560
jmp 0x3595d
jmp 0x3595a
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x270a0
movq %rbx, %rdi
callq 0x28c20
movq %rax, %rdi
callq 0x2f0bd