// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataprov/dataprov_fs2.cc
// Function: scdc_dataset_fs2_store::do_cmd_get(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_get(const string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
    {
      SCDC_TRACE("do_cmd_get: '" << params << "'");

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

      if (params.empty())
      {
        result = "empty path";
        SCDC_FAIL(__func__ << ": writing to store failed: " << result);
        return false;

      } else if (pwd.empty())
      {
        result = "no store selected";
        SCDC_FAIL(__func__ << ": getting entry failed: " << result);
        return false;

      } else
      {
        SCDC_TRACE("do_cmd_get: getting entry '" << params << "'");

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

        store_path += DIR_STORE_PREFIX + pwd + "/";

        SCDC_TRACE("do_cmd_put: store_path: '" << store_path << "'");

        string entry_path = store_path + DIR_ENTRY_PREFIX + params + DIR_ENTRY_SUFFIX;

        SCDC_TRACE("do_cmd_put: entry_path: '" << entry_path.c_str() << "'");

        if (!z_fs_is_file(entry_path.c_str()))
        {
          result = "entry does not exist";
          SCDC_FAIL("do_cmd_get: getting entry " << entry_path << " failed: " << result);
          return false;
        }

        /* FIXME */
        string entry_format;

        if (scdc_dataset_output_redirect(output, "from:file", entry_path.c_str()) != SCDC_SUCCESS)
        {
          result = "output redirection failed";
          SCDC_FAIL("do_cmd_get: getting entry " << entry_path << " failed: " << result);
          return false;
        }
      }

      return true;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %rbx
cmpq $0x0, 0x8(%rsi)
je 0x48fac
movq %rdi, %r12
cmpq $0x0, 0x20(%rdi)
je 0x4903c
movq %rcx, %r14
movq %rsi, %r15
movq 0x8(%r12), %rdi
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x48(%rsp), %rdx
xorl %esi, %esi
callq 0x4573e
addq $0x18, %r12
leaq 0x236b0(%rip), %rsi     # 0x6c60f
leaq 0x28(%rsp), %rdi
movq %r12, %rdx
callq 0x1b7aa
leaq 0x213fa(%rip), %rsi     # 0x6a36d
leaq 0x28(%rsp), %rdi
callq 0xba60
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4911c
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x49124
movq 0x8(%rbx), %rdx
leaq 0x2367c(%rip), %rcx     # 0x6c633
xorl %r14d, %r14d
movl $0xa, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x4359f(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x494fe
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x211b2(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x235c8(%rip), %rsi     # 0x6c5d2
movl $0x12, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x21b5e(%rip), %rsi     # 0x6ab7c
movl $0xa, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x2360c(%rip), %rsi     # 0x6c63e
movl $0x1b, %edx
jmp 0x490c7
movq 0x8(%rbx), %rdx
leaq 0x2363c(%rip), %rcx     # 0x6c683
xorl %r14d, %r14d
movl $0x11, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x4350f(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x494fe
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x21122(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x23538(%rip), %rsi     # 0x6c5d2
movl $0x12, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x21ace(%rip), %rsi     # 0x6ab7c
movl $0xa, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x2362c(%rip), %rsi     # 0x6c6ee
movl $0x18, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %r14d, %r14d
jmp 0x494fe
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x48(%rsp), %rdi
callq 0xb150
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x49167
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x38(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x49182
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x1d0a0
leaq 0x23474(%rip), %rsi     # 0x6c61d
leaq 0x68(%rsp), %rdi
callq 0xba60
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x68(%rsp), %rdi
callq 0xb150
movq %rbp, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x491e7
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x491ee
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2231c(%rip), %rsi     # 0x6b52d
callq 0xba60
movq %r12, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x49239
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x49241
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x49270
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x49287
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
callq 0x357bc
testq %rax, %rax
je 0x493de
movq %rbp, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movq 0x8(%rsp), %rdx
leaq 0x2347e(%rip), %rsi     # 0x6c737
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e106
cmpq $0x1, %rax
sete %r14b
je 0x493be
movq 0x8(%rbx), %rdx
leaq 0x231c3(%rip), %rcx     # 0x6c49f
movl $0x19, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x4327d(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x493be
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x8(%rax), %r15
leaq 0x20e8e(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x232a4(%rip), %rsi     # 0x6c5d2
movl $0x12, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x233da(%rip), %rsi     # 0x6c71c
movl $0x1a, %edx
movq %r15, %rdi
callq 0xb5f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %r15
leaq 0x216a6(%rip), %rsi     # 0x6aa11
movl $0x9, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r13), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x494cb
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x494cb
movq 0x8(%rbx), %rdx
leaq 0x2331e(%rip), %rcx     # 0x6c707
movl $0x14, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x43170(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x494c8
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x20d83(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x23199(%rip), %rsi     # 0x6c5d2
movl $0x12, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x232cf(%rip), %rsi     # 0x6c71c
movl $0x1a, %edx
movq %r14, %rdi
callq 0xb5f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %r14
leaq 0x2159b(%rip), %rsi     # 0x6aa11
movl $0x9, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %r14d, %r14d
leaq 0x58(%rsp), %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x494e7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
je 0x494fe
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movl %r14d, %eax
addq $0x88, %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 0x49534
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x49534
jmp 0x49531
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x495b8
movq 0x78(%rsp), %rsi
jmp 0x495b0
jmp 0x4957d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x49566
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x49566
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x495b8
movq 0x38(%rsp), %rsi
jmp 0x495b0
jmp 0x4957d
movq %rax, %rbx
jmp 0x495b8
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x495a1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x495a1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x495b8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x495d4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0