// File: /workspace/github_cpp_makefile_star2_O1/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 0x494ee
movq %rdi, %r12
cmpq $0x0, 0x20(%rdi)
je 0x4957e
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 0x45c90
addq $0x18, %r12
leaq 0x230f6(%rip), %rsi     # 0x6c597
leaq 0x28(%rsp), %rdi
movq %r12, %rdx
callq 0x1b85e
leaq 0x20e98(%rip), %rsi     # 0x6a34d
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 0x4965e
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x49666
movq 0x8(%rbx), %rdx
leaq 0x230c2(%rip), %rcx     # 0x6c5bb
xorl %r14d, %r14d
movl $0xa, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x4305d(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x49a40
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x20c50(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x2300e(%rip), %rsi     # 0x6c55a
movl $0x12, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x215fc(%rip), %rsi     # 0x6ab5c
movl $0xa, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x23052(%rip), %rsi     # 0x6c5c6
movl $0x1b, %edx
jmp 0x49609
movq 0x8(%rbx), %rdx
leaq 0x23082(%rip), %rcx     # 0x6c60b
xorl %r14d, %r14d
movl $0x11, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x42fcd(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x49a40
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x20bc0(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x22f7e(%rip), %rsi     # 0x6c55a
movl $0x12, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x2156c(%rip), %rsi     # 0x6ab5c
movl $0xa, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x23072(%rip), %rsi     # 0x6c676
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 0x49a40
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 0x496a9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x38(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x496c4
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 0x1d19a
leaq 0x22eba(%rip), %rsi     # 0x6c5a5
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 0x49729
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x49730
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 0x21dba(%rip), %rsi     # 0x6b50d
callq 0xba60
movq %r12, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4977b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x49783
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 0x497b2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x497c9
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
callq 0x35b08
testq %rax, %rax
je 0x49920
movq %rbp, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movq 0x8(%rsp), %rdx
leaq 0x22ec4(%rip), %rsi     # 0x6c6bf
movq %r14, %rdi
xorl %eax, %eax
callq 0x2e3a8
cmpq $0x1, %rax
sete %r14b
je 0x49900
movq 0x8(%rbx), %rdx
leaq 0x22c09(%rip), %rcx     # 0x6c427
movl $0x19, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x42d3b(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x49900
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x8(%rax), %r15
leaq 0x2092c(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x22cea(%rip), %rsi     # 0x6c55a
movl $0x12, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x22e20(%rip), %rsi     # 0x6c6a4
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 0x21144(%rip), %rsi     # 0x6a9f1
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 0x49a0d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x49a0d
movq 0x8(%rbx), %rdx
leaq 0x22d64(%rip), %rcx     # 0x6c68f
movl $0x14, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb870
leaq 0x42c2e(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x49a0a
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x20821(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x22bdf(%rip), %rsi     # 0x6c55a
movl $0x12, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x22d15(%rip), %rsi     # 0x6c6a4
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 0x21039(%rip), %rsi     # 0x6a9f1
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 0x49a29
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
je 0x49a40
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 0x49a76
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x49a76
jmp 0x49a73
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x49afa
movq 0x78(%rsp), %rsi
jmp 0x49af2
jmp 0x49abf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x49aa8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x49aa8
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49afa
movq 0x38(%rsp), %rsi
jmp 0x49af2
jmp 0x49abf
movq %rax, %rbx
jmp 0x49afa
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x49ae3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x49ae3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x49afa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x49b16
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0