// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataprov/dataprov_fs2.cc
// Function: scdc_dataset_fs2_store::do_cmd_info(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, _scdc_dataset_inout_t*, _scdc_dataset_inout_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool do_cmd_info(const string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
    {
      SCDC_TRACE("do_cmd_info: '" << params << "'");

      scdc_dataprov_fs2 *dataprov_fs2 = static_cast<scdc_dataprov_fs2 *>(dataprov);

      string main_path;
      dataprov_fs2->do_full_path(0, main_path);

      SCDC_TRACE("do_cmd_info: main_path: '" << main_path << "'");

      DIR *dir = opendir(main_path.c_str());

      if (!dir)
      {
        result = "opening failed";
        SCDC_FAIL(__func__ << ": opening directory '" << main_path << "' failed: " << result);
        return false;
      }

      scdcint_t nstores = dir_count_stores(dir);

      closedir(dir);

      result = string("admin: ") + (admin?"yes":"no") + ", stores: " + zxx::to_string(nstores);

      return true;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r8, %r14
movq %rdi, %r15
movq 0x8(%rdi), %rdi
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x8(%rsp), %rdx
xorl %esi, %esi
callq 0x3783e
movq 0x8(%rsp), %rdi
callq 0xb830
movq %rax, %rbx
testq %rax, %rax
je 0x3ab57
movq %rbx, %rdi
callq 0x37ed9
movq %rax, %r12
movq %rbx, %rdi
callq 0xb910
leaq 0x18ccc(%rip), %rsi     # 0x53763
leaq 0x48(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1a132
leaq 0x18cbe(%rip), %rax     # 0x5376b
leaq 0x18cbb(%rip), %rdx     # 0x5376f
cmpb $0x0, 0x6c(%r15)
cmovneq %rax, %rdx
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1cb18
leaq 0x18c9f(%rip), %rdx     # 0x53772
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x1cb18
leaq 0x28(%rsp), %rdi
movq %r12, %rsi
callq 0x21972
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x218f1
leaq 0xa8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xb690
movq %r15, %rdi
callq 0xb230
leaq 0x28(%rsp), %rdi
callq 0xb230
leaq 0x88(%rsp), %rdi
callq 0xb230
leaq 0x68(%rsp), %rdi
callq 0xb230
leaq 0x48(%rsp), %rdi
callq 0xb230
jmp 0x3abff
leaq 0x18bf6(%rip), %rsi     # 0x53754
movq %r14, %rdi
callq 0xba40
leaq 0x3aa13(%rip), %r15     # 0x75580
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x3abff
addq $0x20, %rdi
callq 0xb800
movq (%r15), %rax
movq 0x8(%rax), %rdi
leaq 0x165f6(%rip), %rsi     # 0x51188
callq 0xb520
leaq 0x189c4(%rip), %rsi     # 0x53562
movq %rax, %rdi
callq 0xb520
leaq 0x17284(%rip), %rsi     # 0x51e31
movq %rax, %rdi
callq 0xb520
leaq 0x189b9(%rip), %rsi     # 0x53575
movq %rax, %rdi
callq 0xb520
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0xb490
leaq 0x16dcd(%rip), %rsi     # 0x519a5
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %r14, %rsi
callq 0xb490
movq %rax, %rdi
callq 0xb270
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3e0
testq %rbx, %rbx
setne %bl
leaq 0x8(%rsp), %rdi
callq 0xb230
movl %ebx, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xb230
jmp 0x3ac32
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xb230
jmp 0x3ac44
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xb230
jmp 0x3ac53
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xb230
jmp 0x3ac68
jmp 0x3ac65
jmp 0x3ac65
jmp 0x3ac65
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0