// File: /workspace/github_cpp_makefile_star2_O1/trisolaris233[P]httpc/src/response.hpp
// Function: httpc::Response::SetDefault(httpc::HTTPStatusCodeEnum)
inline void SetDefault(HTTPStatusCodeEnum status) {
            this->http_major_version = this->http_minor_version = 1;
            this->status_code = status;
            this->reason_phrase = GetHTTPReasonPhrase(status);
            this->headers.clear();
            this->AddHeader("Content-Type", "text/html");
#ifdef HTTPC_ENABLE_GZIP
            this->AddHeader("Content-Encoding", "gzip");
            // this->headers.push_back({"Content-Encoding", "gzip"});
#endif
            this->message_body
                .assign("<html><body><h1>")
                .append(GetHTTPReasonPhrase(status))
                .append("</h1></body></html>");
#ifdef HTTPC_ENABLE_GZIP
            this->GzipEncode();
#endif
            this->SetContentLength_();
            
            //MakeDefaultResponse(status, *this);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4078, %rsp           # imm = 0x4078
movl %esi, %r15d
movq %rdi, %rbx
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%rdi)
movl %esi, 0x8(%rdi)
leaq -0x40a0(%rbp), %r14
movq %r14, %rdi
callq 0x22aa4
leaq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x8610
movq (%r14), %rdi
leaq -0x4090(%rbp), %r13
cmpq %r13, %rdi
je 0xa61d
movq -0x4090(%rbp), %rsi
incq %rsi
callq 0x8520
leaq 0x30(%rbx), %rdi
movq 0x30(%rbx), %rsi
callq 0xb4fe
leaq 0x1a115(%rip), %rsi     # 0x24746
leaq 0x1a11b(%rip), %rdx     # 0x24753
movq %rbx, %rdi
callq 0xb198
leaq 0x1a116(%rip), %rsi     # 0x2475d
leaq 0x1a120(%rip), %rdx     # 0x2476e
movq %rbx, %rdi
callq 0xb198
leaq 0x48(%rbx), %rdi
movq 0x50(%rbx), %rdx
leaq 0x1a10e(%rip), %rcx     # 0x24773
movl $0x10, %r8d
xorl %esi, %esi
callq 0x8790
movq %rax, %r12
movq %r14, %rdi
movl %r15d, %esi
callq 0x22aa4
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r12, %rdi
callq 0x81b0
leaq 0x1a0ee(%rip), %rsi     # 0x24784
movq %rax, %rdi
callq 0x88d0
movq -0x40a0(%rbp), %rdi
cmpq %r13, %rdi
je 0xa6b9
movq -0x4090(%rbp), %rsi
incq %rsi
callq 0x8520
movq 0x48(%rbx), %r13
movq 0x50(%rbx), %r15
xorps %xmm0, %xmm0
leaq -0x98(%rbp), %rdi
movups %xmm0, 0x40(%rdi)
movq $0x0, 0x50(%rdi)
leaq 0x1a0d4(%rip), %rax     # 0x247b2
movl $0x1, %esi
movl $0x8, %edx
movl $0x1f, %ecx
movl $0x8, %r8d
xorl %r9d, %r9d
pushq $0x70
pushq %rax
callq 0x8090
addq $0x10, %rsp
testl %eax, %eax
jne 0xa765
movq %r15, %rax
leaq 0xa0(%rbx), %r15
leaq -0x98(%rbp), %r12
movq %r13, (%r12)
movl %eax, 0x8(%r12)
movl $0x4000, -0x78(%rbp)    # imm = 0x4000
movq %r14, -0x80(%rbp)
movq %r12, %rdi
movl $0x4, %esi
callq 0x8290
cmpl $-0x2, %eax
je 0xa765
movl $0x4000, %eax           # imm = 0x4000
subl -0x78(%rbp), %eax
movslq %eax, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x80b0
cmpl $0x0, -0x78(%rbp)
je 0xa720
leaq -0x98(%rbp), %rdi
callq 0x8360
movq %rbx, %rdi
callq 0xb256
addq $0x4078, %rsp           # imm = 0x4078
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40a0(%rbp), %rdi
cmpq %r13, %rdi
je 0xa79d
movq -0x4090(%rbp), %rsi
incq %rsi
callq 0x8520
movq %rbx, %rdi
callq 0x8830