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

  bool ret = true;

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

  } else
  {
    store_t store = find_store(path);

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

    result = string("store '") + path + "', entries: " + zxx::to_string(store->entries.size());
  }

  ret = true;

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

  return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xb0, %rsp
movq %rdx, %rbx
testq %rsi, %rsi
je 0x1f7d0
movq %rsi, %r14
cmpb $0x0, (%rsi)
je 0x1f7d0
movq %r14, %rsi
callq 0x1f982
testq %rax, %rax
je 0x1f826
movq %rax, %r15
leaq 0x326f8(%rip), %rsi     # 0x51e29
leaq 0x70(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1a132
leaq 0x30(%rsp), %rdi
leaq 0x70(%rsp), %rsi
movq %r14, %rdx
callq 0x1cb18
leaq 0x322e1(%rip), %rdx     # 0x51a3a
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x1cb18
movq 0x30(%r15), %rsi
leaq 0x90(%rsp), %rdi
callq 0x2188b
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x218f1
leaq 0x50(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb690
movq %r14, %rdi
callq 0xb230
leaq 0x90(%rsp), %rdi
callq 0xb230
leaq 0x10(%rsp), %rdi
callq 0xb230
leaq 0x30(%rsp), %rdi
callq 0xb230
leaq 0x70(%rsp), %rdi
jmp 0x1f812
movq 0x10(%rdi), %rsi
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x2188b
leaq 0x33f8c(%rip), %rsi     # 0x53774
leaq 0x50(%rsp), %rdi
movq %r14, %rdx
callq 0x218cd
leaq 0x50(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb690
movq %r14, %rdi
callq 0xb230
leaq 0x10(%rsp), %rdi
callq 0xb230
movb $0x1, %al
addq $0xb0, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x325fc(%rip), %rsi     # 0x51e29
leaq 0x30(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x1a132
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movq %r14, %rdx
callq 0x1cb18
leaq 0x321b1(%rip), %rdx     # 0x51a06
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x1cb18
leaq 0x50(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb690
movq %r14, %rdi
callq 0xb230
leaq 0x10(%rsp), %rdi
callq 0xb230
leaq 0x30(%rsp), %rdi
callq 0xb230
leaq 0x55ce9(%rip), %r14     # 0x75580
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x1f817
addq $0x20, %rdi
callq 0xb800
movq (%r14), %rax
movq 0x8(%rax), %rdi
leaq 0x318cc(%rip), %rsi     # 0x51188
callq 0xb520
leaq 0x3214a(%rip), %rsi     # 0x51a12
movq %rax, %rdi
callq 0xb520
leaq 0x32158(%rip), %rsi     # 0x51a2f
movq %rax, %rdi
callq 0xb520
leaq 0x351bd(%rip), %rsi     # 0x54aa3
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %rbx, %rsi
callq 0xb490
movq %rax, %rdi
callq 0xb270
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3e0
jmp 0x1f817
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb230
jmp 0x1f924
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
jmp 0x1f974
jmp 0x1f967
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0xb230
jmp 0x1f942
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb230
jmp 0x1f951
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xb230
jmp 0x1f960
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
jmp 0x1f974
movq %rax, %rbx
jmp 0x1f979
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0
nop