// File: /workspace/github_cpp_makefile_star2_O1/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 0x45c90
movq 0x68(%rsp), %rdi
callq 0xb800
movq %rax, %rbx
testq %rax, %rax
je 0x4ae97
movq %rbx, %rdi
callq 0x466a2
movq %rax, %r15
movq %rbx, %rdi
callq 0xb8f0
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21934(%rip), %rsi     # 0x6c75b
leaq 0x21934(%rip), %rdx     # 0x6c762
leaq 0xa8(%rsp), %rdi
callq 0x1bee6
leaq 0x21921(%rip), %rax     # 0x6c763
leaq 0x2191e(%rip), %rsi     # 0x6c767
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 0x4af9d
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x4afa3
movq 0x8(%r14), %rdx
leaq 0x218aa(%rip), %rcx     # 0x6c74c
movl $0xe, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x416b7(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x4b202
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x1f2a8(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x21666(%rip), %rsi     # 0x6c55a
movl $0x12, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x1ff79(%rip), %rsi     # 0x6ae81
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x21651(%rip), %rsi     # 0x6c56d
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 0x1faab(%rip), %rsi     # 0x6a9f0
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 0x4b202
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 0x217a1(%rip), %rsi     # 0x6c76a
callq 0xba60
leaq 0x18(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4aff5
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x4affb
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 0x4b07d
movl $0x4, %r13d
movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B
movq %r12, %rcx
cmpq $0x63, %rcx
jbe 0x4b074
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x4b07a
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x4b07d
movq %rcx, %rax
mulq %rsi
shrq $0xb, %rdx
addl $0x4, %r13d
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x4b03c
addl $-0x3, %r13d
jmp 0x4b07d
addl $-0x2, %r13d
jmp 0x4b07d
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 0x26e83
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x18(%rsp), %r12
cmpq %r12, %rcx
je 0x4b0da
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4b0f5
movl $0xf, %esi
cmpq %rbp, 0x28(%rsp)
je 0x4b0f0
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4b106
movq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0xb150
jmp 0x4b114
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 0x4b138
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x4b13e
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 0x4b185
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4b19c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x78(%rsp), %r13
je 0x4b1b8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x4b1dd
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4b202
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x4b219
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 0x4b250
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4b250
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4b271
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4b271
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x4b29b
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4b29b
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4b2cb
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x4b2cb
jmp 0x4b2c8
jmp 0x4b2c8
jmp 0x4b2c8
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x4b2e7
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop