// File: /workspace/github_cpp_makefile_star2_O3/solaldunckel[P]webserv/srcs/Utils/File.cpp
// Function: File::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void File::append(std::string &body) {
  close();
  fd_ = ::open(path_.c_str(), O_RDWR | O_APPEND);
  if (fd_ < 0)
    return ;
  if (body.length() && write(fd_, body.c_str(), body.length()) <= 0)
    Log.print(DEBUG, "append : " + std::string(strerror(errno)) + " of " + path_, RED, true);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %edi
testl %edi, %edi
jle 0x1d2f9
callq 0x4850
movl $0x0, (%rbx)
movq 0x80(%rbx), %rdi
movl $0x402, %esi            # imm = 0x402
xorl %eax, %eax
callq 0x4320
movl %eax, (%rbx)
testl %eax, %eax
js 0x1d533
movq 0x8(%r14), %rdx
testq %rdx, %rdx
je 0x1d533
movq (%r14), %rsi
movl %eax, %edi
callq 0x4150
testq %rax, %rax
jg 0x1d533
callq 0x4050
movl (%rax), %edi
callq 0x4140
leaq 0x90(%rsp), %r14
leaq 0xf(%rsp), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x5712
leaq 0x8b29(%rip), %rcx      # 0x25e8a
movl $0x9, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x44d0
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d39a
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x1d3a1
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8afa(%rip), %rsi      # 0x25ebe
callq 0x4840
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d3f0
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x1d3f7
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x50(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x80(%rbx), %rsi
movq 0x88(%rbx), %rdx
callq 0x4100
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1d44e
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x1d456
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x80(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x7b9f(%rip), %rsi      # 0x25020
leaq 0x7b9d(%rip), %rdx      # 0x25025
leaq 0x70(%rsp), %rdi
callq 0x579e
leaq 0x1504f(%rip), %rdi     # 0x324e8
leaq 0x10(%rsp), %rdx
leaq 0x70(%rsp), %rcx
movl $0x2, %esi
movl $0x1, %r8d
callq 0x20f32
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d4cd
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1d4e4
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1d4fb
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d512
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d533
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4470
addq $0xb0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x1d566
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1d566
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1d582
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1d582
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1d59e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1d59e
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d5ba
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1d5ba
movq %rax, %rbx
leaq 0xa0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1d5db
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4790
nop