// File: zeeev[P]DASVC/bamtools/src/api/internal/io/HttpHeader_p.cpp
// Function: BamTools::Internal::HttpHeader::ToString[abi:cxx11]() const
string HttpHeader::ToString(void) const {
    string result("");
    if ( m_isValid ) {
        map<string, string>::const_iterator fieldIter = m_fields.begin();
        map<string, string>::const_iterator fieldEnd  = m_fields.end();
        for ( ; fieldIter != fieldEnd; ++fieldIter ) {
            const string& key   = (*fieldIter).first;
            const string& value = (*fieldIter).second;
            const string& line  = key   + Constants::FIELD_SEPARATOR +
                                  value + Constants::FIELD_NEWLINE;
            result += line;
        }
    }
    return result;
}

// Assembly:
subq $0xf8, %rsp
movq %rdi, 0x38(%rsp)
movq %rdi, %rax
movq %rax, 0x28(%rsp)
movq %rdi, 0xf0(%rsp)
movq %rsi, 0xe8(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x30(%rsp)
movb $0x0, 0xe7(%rsp)
leaq 0xe6(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x7b5f0
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rdx
leaq 0x12910(%rip), %rsi     # 0xeb0dc
callq 0x78e70
jmp 0xd87d3
leaq 0xe6(%rsp), %rdi
callq 0x76f80
movq 0x30(%rsp), %rax
testb $0x1, 0x38(%rax)
je 0xd89fb
movq 0x30(%rsp), %rdi
addq $0x8, %rdi
callq 0x72900
movq %rax, 0x20(%rsp)
jmp 0xd8804
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rax
movq %rax, 0xc8(%rsp)
addq $0x8, %rdi
callq 0x72810
movq %rax, 0x18(%rsp)
jmp 0xd8826
movq 0x18(%rsp), %rax
movq %rax, 0xc0(%rsp)
leaq 0xc8(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x7ade0
movb %al, 0x17(%rsp)
jmp 0xd884e
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0xd885b
jmp 0xd89f9
leaq 0xc8(%rsp), %rdi
callq 0x738e0
movq %rax, 0x8(%rsp)
jmp 0xd886f
movq 0x8(%rsp), %rax
movq %rax, 0xb8(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x738e0
movq %rax, (%rsp)
jmp 0xd888f
movq (%rsp), %rax
addq $0x20, %rax
movq %rax, 0xb0(%rsp)
movq 0xb8(%rsp), %rsi
leaq 0x405d2(%rip), %rdx     # 0x118e80
leaq 0x48(%rsp), %rdi
callq 0x7c720
jmp 0xd88ba
movq 0xb0(%rsp), %rdx
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x7c720
jmp 0xd88d3
leaq 0x40586(%rip), %rdx     # 0x118e60
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x7c720
jmp 0xd88ee
leaq 0x68(%rsp), %rdi
callq 0x7cce8
jmp 0xd88fa
leaq 0x48(%rsp), %rdi
callq 0x7cce8
jmp 0xd8906
movq 0x38(%rsp), %rdi
leaq 0x88(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0xa8(%rsp), %rsi
callq 0x78530
jmp 0xd892a
leaq 0x88(%rsp), %rdi
callq 0x7cce8
jmp 0xd8939
jmp 0xd893b
leaq 0xc8(%rsp), %rdi
callq 0x7b630
jmp 0xd894a
jmp 0xd8833
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0xe6(%rsp), %rdi
callq 0x76f80
jmp 0xd8a32
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0xd8a24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0xd89c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x7cce8
jmp 0xd89c4
jmp 0xd89c6
leaq 0x48(%rsp), %rdi
callq 0x7cce8
jmp 0xd89d2
jmp 0xd8a24
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x7cce8
jmp 0xd89f7
jmp 0xd8a24
jmp 0xd89fb
movb $0x1, 0xe7(%rsp)
testb $0x1, 0xe7(%rsp)
jne 0xd8a17
movq 0x38(%rsp), %rdi
callq 0x7cce8
movq 0x28(%rsp), %rax
addq $0xf8, %rsp
retq
movq 0x38(%rsp), %rdi
callq 0x7cce8
jmp 0xd8a30
jmp 0xd8a32
movq 0xd8(%rsp), %rdi
callq 0x7b550
movq %rax, %rdi
callq 0x88ef0
nopw (%rax,%rax)