// File: mh0fm4[P]SCDC/src/components/dataprov/dataprov_store_mem.cc
// Function: scdc_dataprov_store_mem_handler::info_entry(scdc_dataprov_store_mem_handler::store_data_t*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool scdc_dataprov_store_mem_handler::info_entry(store_t store, const char *path, std::string &result)
{
  SCDC_TRACE_F("store: '" << store << "', path: '%s'" << path);

  bool ret = true;

  if (!path || path[0] == '\0')
  {
    result = "entries: " + zxx::to_string(store->entries.size());

  } else
  {
    entry_t entry = find_entry(store, path);

    if (entry == entry_null)
    {
      result = string("entry '") + path + "' not found";
      SCDC_FAIL_F(result);
      goto do_return;
    }

    result = string("entry '") + path + "', size: " + zxx::to_string(entry->buf.current);
  }

  ret = true;

do_return:
  SCDC_TRACE_F("return: " << ret << ", result: " << result);

  return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x198(%rbp)
jmp 0x37248
movb $0x1, -0x21(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x3725f
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x372d6
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
callq 0x3b160
movq %rax, %rsi
leaq -0x68(%rbp), %rdi
movq %rdi, -0x1a0(%rbp)
callq 0x3ae30
movq -0x1a0(%rbp), %rdx
leaq 0x6f810(%rip), %rsi     # 0xa6a9d
leaq -0x48(%rbp), %rdi
callq 0x3b040
jmp 0x37298
movq -0x20(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0xc850
leaq -0x48(%rbp), %rdi
callq 0xc3e0
leaq -0x68(%rbp), %rdi
callq 0xc3e0
jmp 0x37609
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xc3e0
jmp 0x3761f
movq -0x198(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x37630
movq %rax, -0x80(%rbp)
cmpq $0x0, -0x80(%rbp)
jne 0x37494
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x1a8(%rbp)
callq 0xcbc0
movq -0x1a8(%rbp), %rdx
leaq 0x6f96c(%rip), %rsi     # 0xa6c86
leaq -0xe0(%rbp), %rdi
callq 0x27820
jmp 0x37328
movq -0x18(%rbp), %rdx
leaq -0xc0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x2eef0
jmp 0x37341
leaq 0x6f71e(%rip), %rdx     # 0xa6a66
leaq -0xa0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x2eef0
jmp 0x3735d
movq -0x20(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0xc850
leaq -0xa0(%rbp), %rdi
callq 0xc3e0
leaq -0xc0(%rbp), %rdi
callq 0xc3e0
leaq -0xe0(%rbp), %rdi
callq 0xc3e0
leaq -0xe1(%rbp), %rdi
callq 0xc730
leaq 0x9d304(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x257e0
cmpq $0x0, %rax
je 0x3748d
leaq 0x9d2eb(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x25800
leaq 0x9d2dc(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x257e0
movq %rax, %rdi
leaq 0x6edd2(%rip), %rsi     # 0xa61b0
callq 0xc670
movq %rax, %rdi
leaq 0x6f685(%rip), %rsi     # 0xa6a72
callq 0xc670
movq %rax, %rdi
leaq 0x6f6cc(%rip), %rsi     # 0xa6ac8
callq 0xc670
movq %rax, %rdi
leaq 0x726e0(%rip), %rsi     # 0xa9aeb
callq 0xc670
movq %rax, %rdi
movq -0x20(%rbp), %rsi
callq 0xc5b0
movq %rax, %rdi
movq 0x9cb9a(%rip), %rsi     # 0xd3fc0
callq 0xc6d0
leaq 0x9d276(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x25820
jmp 0x3748d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x3747c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x37470
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0xc3e0
leaq -0xe0(%rbp), %rdi
callq 0xc3e0
leaq -0xe1(%rbp), %rdi
callq 0xc730
jmp 0x3761f
jmp 0x3748f
jmp 0x3760d
leaq -0x169(%rbp), %rdi
movq %rdi, -0x1b0(%rbp)
callq 0xcbc0
movq -0x1b0(%rbp), %rdx
leaq 0x6f7d1(%rip), %rsi     # 0xa6c86
leaq -0x168(%rbp), %rdi
callq 0x27820
jmp 0x374c3
movq -0x18(%rbp), %rdx
leaq -0x148(%rbp), %rdi
leaq -0x168(%rbp), %rsi
callq 0x2eef0
jmp 0x374dc
leaq 0x6f5f0(%rip), %rdx     # 0xa6ad3
leaq -0x128(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0x2eef0
jmp 0x374f8
movq -0x80(%rbp), %rax
movq 0x30(%rax), %rsi
leaq -0x190(%rbp), %rdi
callq 0x3b370
jmp 0x3750e
leaq -0x108(%rbp), %rdi
leaq -0x128(%rbp), %rsi
leaq -0x190(%rbp), %rdx
callq 0x3b090
jmp 0x3752a
movq -0x20(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0xc850
leaq -0x108(%rbp), %rdi
callq 0xc3e0
leaq -0x190(%rbp), %rdi
callq 0xc3e0
leaq -0x128(%rbp), %rdi
callq 0xc3e0
leaq -0x148(%rbp), %rdi
callq 0xc3e0
leaq -0x168(%rbp), %rdi
callq 0xc3e0
leaq -0x169(%rbp), %rdi
callq 0xc730
jmp 0x37609
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x375fb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x375ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x375e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x375d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x190(%rbp), %rdi
callq 0xc3e0
leaq -0x128(%rbp), %rdi
callq 0xc3e0
leaq -0x148(%rbp), %rdi
callq 0xc3e0
leaq -0x168(%rbp), %rdi
callq 0xc3e0
leaq -0x169(%rbp), %rdi
callq 0xc730
jmp 0x3761f
movb $0x1, -0x21(%rbp)
jmp 0x3760f
jmp 0x37611
movb -0x21(%rbp), %al
andb $0x1, %al
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
movq -0x70(%rbp), %rdi
callq 0xcba0
nopl (%rax,%rax)