// File: /workspace/github_cpp_makefile_star2_O3/solaldunckel[P]webserv/srcs/Utils/File.cpp
// Function: File::autoIndex(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::string File::autoIndex(std::string &target) {
  std::string body;
  struct tm	*tm;
  char buf[32];
  DIR *dir;
  struct stat statbuf;
  struct dirent *ent;

  dir = opendir(path_.c_str());
  body += "<html>\r\n";
  body += "<head><title>Index of " + target + "</title></head>\r\n";
  body += "<body>\r\n";
  body += "<h1>Index of " + target + "</h1><hr><pre>";
  std::vector<auto_listing> listing;

  readdir(dir);
  while ((ent = readdir(dir))) {
    auto_listing li;

    li.name_ = ent->d_name;
    if (li.name_.length() > 50) {
      li.name_.erase(47);
      li.name_ += "..>";
    }
    std::string path(path_ + "/" + ent->d_name);
    stat(path.c_str(), &statbuf);

    if (S_ISDIR(statbuf.st_mode)) {
      li.is_dir_ = true;
      li.name_ += "/";
    }

    tm = gmtime(&statbuf.st_mtime);
    int ret = strftime(buf, 32, "%d-%b-%Y %H:%M", tm);
    li.date_ = std::string(buf, ret);
    li.size_ = statbuf.st_size;
    listing.push_back(li);
  }

  std::sort(listing.begin(), listing.end(), sort_auto_listing);

  for (std::vector<auto_listing>::iterator it = listing.begin(); it != listing.end(); it++) {
    body = body + "<a href=\"" + ft::unique_char(target + + "/" + it->name_) + "\">" + it->name_ + "</a>";
    if (it != listing.begin()) {
      body += set_width(68 - it->name_.length(), it->date_);
      if (it->is_dir_)
        body += set_width(20, "-");
      else
        body += set_width(20, ft::to_string(it->size_));
    }
    body += "\r\n";
  }

  body += "</pre><hr></body>\r\n";
  body += "</html>\r\n";
  closedir(dir);
  return body;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq 0x10(%rdi), %rbx
movq %rbx, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x80(%rsi), %rdi
callq 0x4640
movq %rax, 0xc8(%rsp)
leaq 0x7dad(%rip), %rsi      # 0x257b9
movq %r15, %rdi
callq 0x4840
leaq 0x8483(%rip), %rsi      # 0x25e9e
leaq 0x18(%rsp), %rdi
movq %r14, %rdx
movq %r15, 0x8(%rsp)
callq 0x568a
leaq 0x7d9c(%rip), %rsi      # 0x257d0
leaq 0x18(%rsp), %rdi
callq 0x4840
leaq 0x48(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1da65
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x1da6d
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %r15, %rdi
callq 0x4100
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x1daae
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1dac9
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x7d12(%rip), %rsi      # 0x257e2
movq %r15, %rdi
callq 0x4840
leaq 0x83d6(%rip), %rsi      # 0x25eb5
leaq 0x18(%rsp), %rdi
movq %r14, %rdx
callq 0x568a
leaq 0x83d0(%rip), %rsi      # 0x25ec3
leaq 0x18(%rsp), %rdi
callq 0x4840
movq %r13, 0x38(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1db20
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x1db28
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %r15, %rdi
callq 0x4100
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x1db69
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
movq %r14, 0x1a8(%rsp)
movq %rbx, 0x10(%rsp)
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1db92
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4470
xorps %xmm0, %xmm0
movaps %xmm0, 0xf0(%rsp)
movq $0x0, 0x100(%rsp)
movq 0xc8(%rsp), %rdi
callq 0x4670
xorl %ebx, %ebx
leaq 0x38(%rsp), %r15
leaq 0x88(%rsp), %r14
leaq 0x1d0(%rsp), %r13
movq 0xc8(%rsp), %rdi
callq 0x4670
movq %rax, %rbp
testq %rax, %rax
je 0x1de35
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %rbx, 0x40(%rsp)
movb %bl, 0x48(%rsp)
movb %bl, 0x58(%rsp)
leaq 0x70(%rsp), %rax
movq %rax, 0x60(%rsp)
movq %rbx, 0x68(%rsp)
movb %bl, 0x70(%rsp)
addq $0x13, %rbp
movq %rbp, %rdi
callq 0x4190
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbp, %rcx
movq %rax, %r8
callq 0x4690
cmpq $0x33, 0x40(%rsp)
jb 0x1dc57
movq $0x2f, 0x40(%rsp)
movq 0x38(%rsp), %rax
movb $0x0, 0x2f(%rax)
movq %r15, %rdi
leaq 0x8280(%rip), %rsi      # 0x25ed2
callq 0x4840
leaq 0x98(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x80(%r12), %rsi
movq 0x88(%r12), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x6c2a
movq %r14, %rdi
leaq 0x7908(%rip), %rsi      # 0x25594
callq 0x4840
movq %r14, %rdi
movq %rbp, %rsi
callq 0x4840
leaq 0x28(%rsp), %rsi
movq %rsi, 0x18(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1dcc4
movq %rdx, 0x18(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x28(%rsp)
jmp 0x1dcca
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x20(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x1dd07
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x18(%rsp), %rdi
leaq 0x1f8(%rsp), %rsi
callq 0x43e0
movl 0x210(%rsp), %eax
movl $0xf000, %ecx           # imm = 0xF000
andl %ecx, %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0x1dd42
movb $0x1, 0x58(%rsp)
movq %r15, %rdi
leaq 0x7857(%rip), %rsi      # 0x25594
callq 0x4840
leaq 0x250(%rsp), %rdi
callq 0x43a0
movl $0x20, %esi
movq %r13, %rdi
leaq 0x8178(%rip), %rdx      # 0x25ed6
movq %rax, %rcx
callq 0x4380
cltq
leaq 0x98(%rsp), %rbp
movq %rbp, 0x88(%rsp)
leaq (%rsp,%rax), %rdx
addq $0x1d0, %rdx            # imm = 0x1D0
movq %r14, %rdi
movq %r13, %rsi
callq 0x579e
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x4570
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x1ddb8
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x228(%rsp), %rax
movq %rax, 0x80(%rsp)
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x1f488
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1ddf4
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x1de10
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1dbcd
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1dbcd
movq 0xf0(%rsp), %rbx
movq 0xf8(%rsp), %r14
cmpq %r14, %rbx
movq 0x8(%rsp), %r15
leaq 0x28(%rsp), %r13
je 0x1e492
movq %r14, %rax
subq %rbx, %rax
sarq $0x4, %rax
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rax, %rcx
bsrq %rcx, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
leaq -0x4f6(%rip), %rcx      # 0x1d98e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1f89c
leaq -0x508(%rip), %rdx      # 0x1d98e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1f992
movq 0xf0(%rsp), %r14
cmpq 0xf8(%rsp), %r14
je 0x1e492
leaq 0xe0(%rsp), %rbx
leaq 0x108(%rsp), %rbp
movq %rbx, 0xd0(%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xd0(%rsp), %r12
movq %r12, %rdi
callq 0x6c2a
movq %r12, %rdi
leaq 0x7ff2(%rip), %rsi      # 0x25ee5
callq 0x4840
leaq 0x118(%rsp), %rax
movq %rax, 0x108(%rsp)
movq 0x1a8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x6c2a
movq %rbp, %rdi
leaq 0x7668(%rip), %rsi      # 0x25594
callq 0x4840
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbp, %rdi
callq 0x4100
leaq 0x138(%rsp), %rsi
movq %rsi, 0x128(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1df74
movq %rdx, 0x128(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x138(%rsp)
jmp 0x1df7a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x130(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x148(%rsp), %rdi
leaq 0x128(%rsp), %rsi
callq 0x243cc
movq 0xd0(%rsp), %rcx
movl $0xf, %edi
cmpq %rbx, %rcx
je 0x1dfc4
movq 0xe0(%rsp), %rdi
movq 0xd8(%rsp), %r8
movq 0x148(%rsp), %rsi
movq 0x150(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x1e004
movl $0xf, %edi
leaq 0x158(%rsp), %r9
cmpq %r9, %rsi
je 0x1dfff
movq 0x158(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x1e013
leaq 0xd0(%rsp), %rdi
callq 0x4100
jmp 0x1e024
leaq 0x148(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x44d0
leaq 0xb8(%rsp), %rsi
movq %rsi, 0xa8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x1e055
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x1e05b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xa8(%rsp), %rdi
leaq 0x7e65(%rip), %rsi      # 0x25eef
callq 0x4840
leaq 0x98(%rsp), %rsi
movq %rsi, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1e0c3
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x1e0c9
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x88(%rsp), %rdi
callq 0x4100
movq %r13, 0x18(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1e11b
movq %rdx, 0x18(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x28(%rsp)
jmp 0x1e123
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x20(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x18(%rsp), %rdi
leaq 0x7dab(%rip), %rsi      # 0x25ef2
callq 0x4840
leaq 0x48(%rsp), %r13
movq %r13, 0x38(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1e174
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x1e17c
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
leaq 0x38(%rsp), %rsi
callq 0x4570
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x1e1b8
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %r13
cmpq %r13, %rdi
je 0x1e1d4
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x1e1f9
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x1e21e
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
je 0x1e243
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x1e268
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x1e28d
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0xd0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1e2aa
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x4470
cmpq 0xf0(%rsp), %r14
je 0x1e471
movq 0x8(%r14), %r15
leaq 0x198(%rsp), %rax
movq %rax, 0x188(%rsp)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
addq %rsi, %rdx
leaq 0x188(%rsp), %rbx
movq %rbx, %rdi
callq 0x6c2a
movl $0x44, %esi
subq %r15, %rsi
leaq 0x38(%rsp), %rdi
movq %rbx, %rdx
callq 0x1d907
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x4100
leaq 0xe0(%rsp), %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e337
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x188(%rsp), %rdi
leaq 0x198(%rsp), %rax
cmpq %rax, %rdi
je 0x1e35c
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x4470
cmpb $0x1, 0x20(%r14)
jne 0x1e3f8
leaq 0x178(%rsp), %rax
movq %rax, 0x168(%rsp)
leaq 0x168(%rsp), %r12
movq %r12, %rdi
leaq 0x7b6e(%rip), %rsi      # 0x25ef7
leaq 0x7b68(%rip), %rdx      # 0x25ef8
callq 0x579e
movl $0x14, %esi
leaq 0x38(%rsp), %rdi
movq %r12, %rdx
callq 0x1d907
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %r15, %rdi
callq 0x4100
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e3d5
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x168(%rsp), %rdi
leaq 0x178(%rsp), %rax
cmpq %rax, %rdi
je 0x1e471
movq 0x178(%rsp), %rsi
jmp 0x1e469
movq 0x48(%r14), %rsi
leaq 0x1b0(%rsp), %r12
movq %r12, %rdi
callq 0x10646
movl $0x14, %esi
leaq 0x38(%rsp), %rdi
movq %r12, %rdx
callq 0x1d907
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %r15, %rdi
callq 0x4100
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e44c
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x1e471
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x4470
movq %r15, %rdi
leaq 0x7364(%rip), %rsi      # 0x257df
callq 0x4840
addq $0x50, %r14
cmpq 0xf8(%rsp), %r14
jne 0x1dec7
leaq 0x7a60(%rip), %rsi      # 0x25ef9
movq %r15, %rdi
callq 0x4840
leaq 0x7375(%rip), %rsi      # 0x2581d
movq %r15, %rdi
callq 0x4840
movq 0xc8(%rsp), %rdi
callq 0x46c0
leaq 0xf0(%rsp), %rdi
callq 0x1f4e8
movq %r15, %rax
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x1e4fe
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1e4fe
movq %rax, %r12
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
jmp 0x1e534
jmp 0x1e548
movq %rax, %r12
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x1e52b
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1e52b
movq %rax, %r12
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1e54b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1e54b
movq %rax, %r12
movq 0x8(%rsp), %r15
jmp 0x1e818
movq %rax, %r12
jmp 0x1e818
jmp 0x1e7e5
movq %rax, %r12
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e586
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1e586
movq %rax, %r12
movq 0x168(%rsp), %rdi
leaq 0x178(%rsp), %rax
cmpq %rax, %rdi
je 0x1e7e8
movq 0x178(%rsp), %rsi
jmp 0x1e78b
jmp 0x1e7e5
movq %rax, %r12
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e5d5
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1e5d5
movq %rax, %r12
movq 0x1b0(%rsp), %rdi
leaq 0x1c0(%rsp), %rax
cmpq %rax, %rdi
je 0x1e7e8
movq 0x1c0(%rsp), %rsi
jmp 0x1e78b
jmp 0x1e795
movq %rax, %r12
jmp 0x1e624
movq %rax, %r12
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e624
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x188(%rsp), %rdi
leaq 0x198(%rsp), %rax
cmpq %rax, %rdi
je 0x1e7e8
movq 0x198(%rsp), %rsi
jmp 0x1e78b
jmp 0x1e7e5
jmp 0x1e795
movq %rax, %r12
movq 0xd0(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x1e783
jmp 0x1e7e8
movq %rax, %r12
jmp 0x1e76e
jmp 0x1e677
movq %rax, %r12
jmp 0x1e749
movq %rax, %r12
jmp 0x1e724
movq %rax, %r12
jmp 0x1e6ff
movq %rax, %r12
jmp 0x1e6da
movq %rax, %r12
jmp 0x1e6b5
movq %rax, %r12
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1e6b5
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x1e6da
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x1e6ff
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
je 0x1e724
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x1e749
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x1e76e
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x1e7e8
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1e7e8
movq %rax, %r12
jmp 0x1e7ed
jmp 0x1e7a0
jmp 0x1e7bb
jmp 0x1e7a0
movq %rax, %r12
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x1e7f7
movq 0x28(%rsp), %rsi
jmp 0x1e7db
jmp 0x1e7f4
movq %rax, %r12
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x1e7f7
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x1e7f7
movq %rax, %r12
movq 0x8(%rsp), %r15
movq 0x10(%rsp), %rbx
jmp 0x1e80b
movq %rax, %r12
movq 0x8(%rsp), %r15
movq 0x10(%rsp), %rbx
leaq 0x38(%rsp), %rdi
callq 0x1f4b2
leaq 0xf0(%rsp), %rdi
callq 0x1f4e8
movq (%r15), %rdi
cmpq %rbx, %rdi
je 0x1e82b
movq (%rbx), %rsi
incq %rsi
callq 0x4470
movq %r12, %rdi
callq 0x4790
nop