// File: /workspace/github_cpp_makefile_star2_O2/trisolaris233[P]httpc/src/response.hpp
// Function: httpc::Response::ToBuffers()
std::vector<boost::asio::const_buffer> ToBuffers() {
            std::vector<boost::asio::const_buffer> buffers;

            buffers.emplace_back(ToBuffer(this->status_code));

            for (const auto& header : this->headers) {
                buffers.emplace_back(boost::asio::buffer(header.field));
                buffers.emplace_back(boost::asio::buffer(NameValueSeparator));
                buffers.emplace_back(boost::asio::buffer(header.value));
                buffers.emplace_back(boost::asio::buffer(CRLF));
            }
            buffers.emplace_back(boost::asio::buffer(CRLF));
#ifdef HTTPC_ENABLE_GZIP
            buffers.emplace_back(boost::asio::buffer(this->gzip_message_body_));
#else
            buffers.emplace_back(boost::asio::buffer(this->message_body));
#endif
            
            
            // std::stringstream ss;
            // ss  << "HTTP/1" << this->http_major_version << "." << this->http_minor_version 
            //     << " " << static_cast<int>(this->status_code)
            //     << " " << GetHTTPReasonPhrase(this->status_code) << GetCRLF();
            // buffers.push_back(boost::asio::buffer(ss.str()));
            
            // for (const auto& header : this->headers) {
            //     ss.clear();
            //     ss << header.field << ": " << header.value << GetCRLF();
            //     buffers.emplace_back(
            //         boost::asio::buffer(ss.str())
            //     );
            // }
            // buffers.push_back(boost::asio::buffer(GetCRLF()));
            // buffers.push_back(boost::asio::buffer(this->message_body));

            return buffers;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movl 0x8(%rsi), %edi
callq 0x191e7
leaq -0x38(%rbp), %rsi
movq %rax, (%rsi)
movq %rdx, 0x8(%rsi)
movq %rbx, %rdi
callq 0x191a6
movq 0x30(%r14), %r12
movq %r14, -0x40(%rbp)
movq 0x38(%r14), %r13
leaq -0x38(%rbp), %r15
leaq 0xabd6(%rip), %r14      # 0x22cda
cmpq %r13, %r12
je 0x1816d
movups (%r12), %xmm0
movups %xmm0, -0x38(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x193a0
leaq 0xabb4(%rip), %rax      # 0x22cd8
movq %rax, -0x38(%rbp)
movq $0x2, -0x30(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x193a0
movups 0x20(%r12), %xmm0
movups %xmm0, -0x38(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x193a0
movq %r14, -0x38(%rbp)
movq $0x2, -0x30(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x193a0
addq $0x40, %r12
jmp 0x18104
leaq -0x38(%rbp), %rsi
movq %r14, (%rsi)
movq $0x2, 0x8(%rsi)
movq %rbx, %rdi
callq 0x193a0
movq -0x40(%rbp), %rdx
movq 0xa8(%rdx), %rax
movq %rax, %rcx
testq %rax, %rax
je 0x1819e
movq 0xa0(%rdx), %rcx
leaq -0x38(%rbp), %rsi
movq %rcx, (%rsi)
movq %rax, 0x8(%rsi)
movq %rbx, %rdi
callq 0x193e2
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x181cf
jmp 0x181cf
jmp 0x181cf
jmp 0x181cf
jmp 0x181cf
jmp 0x181cf
movq %rax, %r14
movq %rbx, %rdi
callq 0x18436
movq %r14, %rdi
callq 0x8850