// File: /workspace/github_cpp_makefile_star2_O3/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 0x28ef0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x28f30
movl %eax, %ebx
testb %al, %al
jne 0x358e0
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 0x1fc24(%rip), %rsi     # 0x55404
leaq 0x1fc37(%rip), %rdx     # 0x5541e
leaq 0x48(%rsp), %rdi
callq 0x26750
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
movq %r15, %rdx
callq 0x29120
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 0x1fcff(%rip), %rsi     # 0x55529
leaq 0x8(%rsp), %rdi
callq 0x29090
leaq 0x88(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x29120
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3585a
callq 0x27560
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3586d
callq 0x27560
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x3587c
callq 0x27560
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x1fb94(%rip), %rsi     # 0x5541f
leaq 0x1fba6(%rip), %rdx     # 0x55438
callq 0x26750
leaq 0x8(%rsp), %rsi
leaq 0x88(%rsp), %rdx
movq %r14, %rdi
callq 0x27bd0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x358bb
callq 0x27560
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x358d1
callq 0x27560
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x358e0
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 0x35917
callq 0x27560
jmp 0x35917
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x35965
jmp 0x3596f
jmp 0x3592c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x35943
callq 0x27560
jmp 0x35943
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3595b
callq 0x27560
jmp 0x3595b
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x3596f
callq 0x27560
jmp 0x3596f
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x35985
callq 0x27560
jmp 0x35985
jmp 0x35982
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x270a0
movq %rbx, %rdi
callq 0x28c10
movq %rax, %rdi
callq 0x2f047