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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x188(%rbp)
movl $0x1, %esi
callq 0x35ee0
testb $0x1, %al
jne 0x3619a
callq 0x5060
movl (%rax), %edi
callq 0x5170
movq %rax, -0x198(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0x190(%rbp)
callq 0x5960
movq -0x198(%rbp), %rsi
movq -0x190(%rbp), %rdx
leaq -0x90(%rbp), %rdi
callq 0x6be0
jmp 0x35fe2
leaq 0xde77(%rip), %rsi      # 0x43e60
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0x107f0
jmp 0x35ffb
leaq 0xde9c(%rip), %rdx      # 0x43e9e
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x6a80
jmp 0x36011
movq -0x188(%rbp), %rdx
subq $-0x80, %rdx
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x6a30
jmp 0x3602b
leaq -0xc9(%rbp), %rdi
movq %rdi, -0x1a0(%rbp)
callq 0x5960
movq -0x1a0(%rbp), %rdx
leaq 0xcfd4(%rip), %rsi      # 0x43020
leaq -0xc8(%rbp), %rdi
callq 0x6be0
jmp 0x3605a
leaq 0x26597(%rip), %rdi     # 0x5c5f8
movl $0x2, %esi
leaq -0x30(%rbp), %rdx
leaq -0xc8(%rbp), %rcx
movl $0x1, %r8d
callq 0x3b240
jmp 0x3607e
leaq -0xc8(%rbp), %rdi
callq 0x5aa8
leaq -0xc9(%rbp), %rdi
callq 0x55e0
leaq -0x30(%rbp), %rdi
callq 0x5aa8
leaq -0x50(%rbp), %rdi
callq 0x5aa8
leaq -0x70(%rbp), %rdi
callq 0x5aa8
leaq -0x90(%rbp), %rdi
callq 0x5aa8
leaq -0x91(%rbp), %rdi
callq 0x55e0
jmp 0x3640f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x36189
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x3617d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x36174
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x3616b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x36156
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x5aa8
leaq -0xc9(%rbp), %rdi
callq 0x55e0
leaq -0x30(%rbp), %rdi
callq 0x5aa8
leaq -0x50(%rbp), %rdi
callq 0x5aa8
leaq -0x70(%rbp), %rdi
callq 0x5aa8
leaq -0x90(%rbp), %rdi
callq 0x5aa8
leaq -0x91(%rbp), %rdi
callq 0x55e0
jmp 0x36418
movq -0x10(%rbp), %rdi
callq 0x5830
cmpq $0x0, %rax
je 0x3640f
movq -0x188(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x1ac(%rbp)
movq -0x10(%rbp), %rdi
callq 0x51f0
movq %rax, -0x1a8(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5830
movl -0x1ac(%rbp), %edi
movq -0x1a8(%rbp), %rsi
movq %rax, %rdx
callq 0x5190
cmpq $0x0, %rax
jg 0x3640f
callq 0x5060
movl (%rax), %edi
callq 0x5170
movq %rax, -0x1c0(%rbp)
leaq -0x151(%rbp), %rdi
movq %rdi, -0x1b8(%rbp)
callq 0x5960
movq -0x1c0(%rbp), %rsi
movq -0x1b8(%rbp), %rdx
leaq -0x150(%rbp), %rdi
callq 0x6be0
jmp 0x36236
leaq 0xdc23(%rip), %rsi      # 0x43e60
leaq -0x130(%rbp), %rdi
leaq -0x150(%rbp), %rdx
callq 0x107f0
jmp 0x36252
leaq 0xdc45(%rip), %rdx      # 0x43e9e
leaq -0x110(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x6a80
jmp 0x3626e
movq -0x188(%rbp), %rdx
subq $-0x80, %rdx
leaq -0xf0(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x6a30
jmp 0x3628e
leaq -0x179(%rbp), %rdi
movq %rdi, -0x1c8(%rbp)
callq 0x5960
movq -0x1c8(%rbp), %rdx
leaq 0xcd71(%rip), %rsi      # 0x43020
leaq -0x178(%rbp), %rdi
callq 0x6be0
jmp 0x362bd
leaq 0x26334(%rip), %rdi     # 0x5c5f8
movl $0x2, %esi
leaq -0xf0(%rbp), %rdx
leaq -0x178(%rbp), %rcx
movl $0x1, %r8d
callq 0x3b240
jmp 0x362e4
leaq -0x178(%rbp), %rdi
callq 0x5aa8
leaq -0x179(%rbp), %rdi
callq 0x55e0
leaq -0xf0(%rbp), %rdi
callq 0x5aa8
leaq -0x110(%rbp), %rdi
callq 0x5aa8
leaq -0x130(%rbp), %rdi
callq 0x5aa8
leaq -0x150(%rbp), %rdi
callq 0x5aa8
leaq -0x151(%rbp), %rdi
callq 0x55e0
jmp 0x3640f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x36401
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x363f5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x363e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x363dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
jmp 0x363c5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0x178(%rbp), %rdi
callq 0x5aa8
leaq -0x179(%rbp), %rdi
callq 0x55e0
leaq -0xf0(%rbp), %rdi
callq 0x5aa8
leaq -0x110(%rbp), %rdi
callq 0x5aa8
leaq -0x130(%rbp), %rdi
callq 0x5aa8
leaq -0x150(%rbp), %rdi
callq 0x5aa8
leaq -0x151(%rbp), %rdi
callq 0x55e0
jmp 0x36418
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
movq -0xa0(%rbp), %rdi
callq 0x5950
nopw %cs:(%rax,%rax)