// File: /workspace/github_cpp_makefile_star2_O3/solaldunckel[P]webserv/srcs/Utils/File.cpp
// Function: File::getContent[abi:cxx11]()
std::string File::getContent() {
  std::string final;
  char buf[4096 + 1];
  int ret;

  lseek(fd_, 0, SEEK_SET);
  while ((ret = read(fd_, buf, 4096)) != 0) {
    if (ret == -1) {
      Log.print(DEBUG, "read : " + std::string(strerror(errno)), RED, true);
      return "";
    }
    buf[ret] = '\0';
    final.insert(final.length(), buf, ret);
  }
  return final;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10a0, %rsp           # imm = 0x10A0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movl (%rsi), %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4820
leaq 0x90(%rsp), %r15
leaq 0x10(%rsp), %r12
movl (%r14), %edi
movl $0x1000, %edx           # imm = 0x1000
movq %r15, %rsi
callq 0x45e0
testl %eax, %eax
je 0x1edf3
cmpl $-0x1, %eax
je 0x1ed93
movslq %eax, %r8
movb $0x0, 0x90(%rsp,%r8)
movq 0x18(%rsp), %rsi
movq %r12, %rdi
xorl %edx, %edx
movq %r15, %rcx
callq 0x44d0
jmp 0x1ed56
callq 0x4050
movl (%rax), %edi
callq 0x4140
leaq 0x70(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %rax, %rsi
callq 0x5712
leaq 0x7174(%rip), %rcx      # 0x25f2c
leaq 0x70(%rsp), %rdi
movl $0x7, %r8d
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 0x1ee28
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x1ee2f
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x10(%rsp), %rcx
cmpq %r13, %rcx
je 0x1ee12
movq %rcx, (%rbx)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x1ee1a
movups (%r13), %xmm0
movups %xmm0, (%rax)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rbx)
jmp 0x1ef08
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x61c9(%rip), %rsi      # 0x25020
leaq 0x61c7(%rip), %rdx      # 0x25025
leaq 0x50(%rsp), %rdi
callq 0x579e
leaq 0x13679(%rip), %rdi     # 0x324e8
leaq 0x30(%rsp), %rdx
leaq 0x50(%rsp), %rcx
movl $0x2, %esi
movl $0x1, %r8d
callq 0x20f32
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1eea0
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x1eeb7
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1eed8
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x6b92(%rip), %rdx      # 0x25a78
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x579e
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x1ef08
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rax
addq $0x10a0, %rsp           # imm = 0x10A0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x1ef7e
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1ef3d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1ef3d
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x1ef59
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1ef59
movq %rax, %rbx
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ef81
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1ef81
jmp 0x1ef7e
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x1ef98
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4790