// File: /workspace/github_cpp_makefile_star2_O1/UTAP[P]APHTTP/utils/request.cpp
// Function: Request::serializeToFile(Request*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Request::serializeToFile(Request *req, string filePath) {
  string reqString = to_string(req->getMethod());
  reqString += "\n";
  reqString += req->getPath();
  reqString += "\n";
  reqString += req->getHeadersString();
  reqString += "\n";
  reqString += req->getBody();
  reqString += "\n";
  reqString += req->getQueryString();
  writeToFile(reqString, filePath);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, -0x70(%rbp)
movq %rdi, %r14
movl 0x20(%rdi), %ebx
movl %ebx, %r15d
negl %r15d
cmovsl %ebx, %r15d
movl $0x1, %r12d
cmpl $0xa, %r15d
jb 0xe539
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0xe530
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xe536
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xe539
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xe4fd
addl $-0x3, %r12d
jmp 0xe539
addl $-0x2, %r12d
jmp 0xe539
decl %r12d
shrl $0x1f, %ebx
movl %ebx, %esi
addl %r12d, %esi
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x68(%rbp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x43d0
movq (%r13), %rdi
addq %rbx, %rdi
movl %r12d, %esi
movl %r15d, %edx
callq 0x7cc9
leaq 0xb101(%rip), %rsi      # 0x19674
movq %r13, %rdi
callq 0x45f0
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x7e12
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x4130
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xe5b5
callq 0x4310
leaq 0xb0b8(%rip), %rsi      # 0x19674
leaq -0x68(%rbp), %rdi
callq 0x45f0
leaq -0x48(%rbp), %rdi
movq %r14, %rsi
callq 0xe00a
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x4130
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xe5f0
callq 0x4310
leaq 0xb07d(%rip), %rsi      # 0x19674
leaq -0x68(%rbp), %rdi
callq 0x45f0
leaq -0x48(%rbp), %rdi
movq %r14, %rsi
callq 0xb598
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x4130
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xe62b
callq 0x4310
leaq 0xb042(%rip), %rsi      # 0x19674
leaq -0x68(%rbp), %rdi
callq 0x45f0
leaq -0x48(%rbp), %rdi
movq %r14, %rsi
callq 0xdf0c
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x68(%rbp), %rdi
callq 0x4130
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xe666
callq 0x4310
leaq -0x68(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0xf96a
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xe685
callq 0x4310
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe6a0
jmp 0xe6b5
jmp 0xe6a0
jmp 0xe6b5
jmp 0xe6a0
jmp 0xe6b5
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xe6b8
callq 0x4310
jmp 0xe6b8
jmp 0xe6b5
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xe6ca
callq 0x4310
movq %rbx, %rdi
callq 0x45a0