// File: /workspace/github_cpp_makefile_star2_O2/UTAP[P]APHTTP/utils/response.cpp
// Function: Response::print[abi:cxx11](int&)
string Response::print(int &size) {
  string header = "";
  header += "HTTP/1.0 " + to_string(code) + " " + phrase + "\r\n";
  header += "Server: " + SERVER_NAME + " \r\n";
  header += "Content-Length: " + to_string(body.size()) + "\r\n";
  for (auto it = headers.begin(); !headers.empty() && it != headers.end(); it++)
    header += it->first + ": " + it->second + "\r\n";
  header += "\r\n";
  size = header.size() + body.size();
  return header + body;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xa543(%rip), %rsi      # 0x11595
leaq -0xb0(%rbp), %rdi
leaq -0x50(%rbp), %rdx
callq 0x41a0
movq %r15, -0x30(%rbp)
movl (%r15), %esi
leaq -0xe8(%rbp), %rdi
callq 0x66a3
leaq 0xa32f(%rip), %rsi      # 0x113ab
leaq -0x108(%rbp), %rdi
leaq -0xe8(%rbp), %rdx
callq 0x673e
leaq 0xa8b4(%rip), %rdx      # 0x1194a
leaq -0x90(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x7ffd
movq -0x30(%rbp), %rax
leaq 0x8(%rax), %rdx
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x8026
leaq 0xa597(%rip), %rdx      # 0x1165f
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x7ffd
leaq -0xb0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x45f0
leaq -0x50(%rbp), %rdi
callq 0x4638
leaq -0x70(%rbp), %rdi
callq 0x4638
leaq -0x90(%rbp), %rdi
callq 0x4638
leaq -0x108(%rbp), %rdi
callq 0x4638
leaq -0xe8(%rbp), %rdi
callq 0x4638
leaq 0xa293(%rip), %rsi      # 0x113b5
leaq 0x11837(%rip), %rdx     # 0x18960
leaq -0x70(%rbp), %rdi
callq 0x804f
leaq 0xa285(%rip), %rdx      # 0x113be
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x7ffd
leaq -0xb0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x45f0
leaq -0x50(%rbp), %rdi
callq 0x4638
leaq -0x70(%rbp), %rdi
callq 0x4638
movq -0x30(%rbp), %rax
movq 0x30(%rax), %rsi
leaq -0x90(%rbp), %rdi
callq 0x80c5
leaq 0xa23f(%rip), %rsi      # 0x113c2
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0x673e
leaq 0xa4c5(%rip), %rdx      # 0x1165f
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x7ffd
movq %r14, -0xc0(%rbp)
movq %rbx, -0xc8(%rbp)
leaq -0xb0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x45f0
movq -0x30(%rbp), %r15
leaq 0x28(%r15), %rax
movq %rax, -0xb8(%rbp)
leaq -0x50(%rbp), %r13
movq %r13, %rdi
callq 0x4638
leaq -0x70(%rbp), %r14
movq %r14, %rdi
callq 0x4638
leaq -0x90(%rbp), %rbx
movq %rbx, %rdi
callq 0x4638
movq 0x60(%r15), %r12
addq $0x50, %r15
movq -0x30(%rbp), %rax
cmpq $0x0, 0x70(%rax)
je 0x727d
cmpq %r15, %r12
je 0x727d
leaq 0x20(%r12), %rsi
movq %rbx, %rdi
leaq 0x9fc9(%rip), %rdx      # 0x111eb
callq 0x8107
leaq 0x40(%r12), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8026
movq %r13, %rdi
movq %r14, %rsi
leaq 0xa41b(%rip), %rdx      # 0x1165f
callq 0x7ffd
leaq -0xb0(%rbp), %rdi
movq %r13, %rsi
callq 0x45f0
movq %r13, %rdi
callq 0x4638
movq %r14, %rdi
callq 0x4638
movq %rbx, %rdi
callq 0x4638
movq %r12, %rdi
callq 0x4280
movq %rax, %r12
jmp 0x7203
leaq 0xa3db(%rip), %rsi      # 0x1165f
leaq -0xb0(%rbp), %rdi
callq 0x45d0
movq -0xc8(%rbp), %rbx
movq -0x30(%rbp), %rax
movl 0x30(%rax), %eax
leaq -0xb0(%rbp), %rsi
addl 0x8(%rsi), %eax
movq -0xc0(%rbp), %rcx
movl %eax, (%rcx)
movq %rbx, %rdi
movq -0xb8(%rbp), %rdx
callq 0x813f
leaq -0xb0(%rbp), %rdi
callq 0x4638
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7356
jmp 0x7364
jmp 0x7377
jmp 0x7372
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x4638
jmp 0x7300
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
jmp 0x7381
jmp 0x7372
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x4638
jmp 0x7319
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x4638
jmp 0x7327
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x4638
jmp 0x7338
movq %rax, %rbx
leaq -0x108(%rbp), %rdi
callq 0x4638
jmp 0x7349
movq %rax, %rbx
leaq -0xe8(%rbp), %rdi
jmp 0x7381
jmp 0x7372
jmp 0x7372
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x4638
jmp 0x7367
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x4638
jmp 0x737a
movq %rax, %rbx
jmp 0x7386
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x4638
leaq -0xb0(%rbp), %rdi
callq 0x4638
movq %rbx, %rdi
callq 0x4580