// File: /workspace/github_cpp_makefile_star2_O3/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r8, %r14
movq %rdi, %r12
movq 0x8(%rdi), %rdi
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x68(%rsp), %rdx
xorl %esi, %esi
callq 0x4573e
movq 0x68(%rsp), %rdi
callq 0xb800
movq %rax, %rbx
testq %rax, %rax
je 0x4a955
movq %rbx, %rdi
callq 0x46152
movq %rax, %r15
movq %rbx, %rdi
callq 0xb8f0
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21eee(%rip), %rsi     # 0x6c7d3
leaq 0x21eee(%rip), %rdx     # 0x6c7da
leaq 0xa8(%rsp), %rdi
callq 0x1be38
leaq 0x21edb(%rip), %rax     # 0x6c7db
leaq 0x21ed8(%rip), %rsi     # 0x6c7df
cmpb $0x0, 0x6c(%r12)
cmovneq %rax, %rsi
leaq 0xa8(%rsp), %rdi
callq 0xba60
leaq 0x98(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4aa5b
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x4aa61
movq 0x8(%r14), %rdx
leaq 0x21e64(%rip), %rcx     # 0x6c7c4
movl $0xe, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x41bf9(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x4acbe
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x1f80a(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x21c20(%rip), %rsi     # 0x6c5d2
movl $0x12, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x204db(%rip), %rsi     # 0x6aea1
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x21c0b(%rip), %rsi     # 0x6c5e5
movl $0x15, %edx
movq %r15, %rdi
callq 0xb5f0
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %r15
leaq 0x2000d(%rip), %rsi     # 0x6aa10
movl $0xa, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %r14, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
jmp 0x4acbe
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x21d5b(%rip), %rsi     # 0x6c7e2
callq 0xba60
leaq 0x18(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4aab3
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x4aab9
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %r12
negq %r12
cmovsq %r15, %r12
movl $0x1, %r13d
cmpq $0xa, %r12
jb 0x4ab3b
movl $0x4, %r13d
movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B
movq %r12, %rcx
cmpq $0x63, %rcx
jbe 0x4ab32
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x4ab38
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x4ab3b
movq %rcx, %rax
mulq %rsi
shrq $0xb, %rdx
addl $0x4, %r13d
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x4aafa
addl $-0x3, %r13d
jmp 0x4ab3b
addl $-0x2, %r13d
jmp 0x4ab3b
decl %r13d
shrq $0x3f, %r15
leal (%r15,%r13), %esi
leaq 0x38(%rsp), %rax
movq %rax, %rbp
movq %rax, -0x10(%rax)
leaq 0x28(%rsp), %rdi
movl $0x2d, %edx
callq 0xb610
addq 0x28(%rsp), %r15
movq %r15, %rdi
movl %r13d, %esi
movq %r12, %rdx
callq 0x26d25
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x18(%rsp), %r12
cmpq %r12, %rcx
je 0x4ab98
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x4abb6
movl $0xf, %edi
cmpq %rbp, %rsi
je 0x4abb1
movq 0x38(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4abc2
leaq 0x8(%rsp), %rdi
callq 0xb150
jmp 0x4abd0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xb5d0
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x4abf4
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x4abfa
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x48(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xb670
movq (%r15), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x4ac41
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4ac58
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x78(%rsp), %r13
je 0x4ac74
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x4ac99
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4acbe
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4acd5
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
testq %rbx, %rbx
setne %al
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4ad0c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4ad0c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4ad2d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4ad2d
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x4ad57
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4ad57
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4ad87
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4ad87
jmp 0x4ad84
jmp 0x4ad84
jmp 0x4ad84
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x4ada3
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop