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

  string c(cmd), p(params), r;
  bool ret;

  if (c == "put")
  {
    ret = reg_put(p);

    if (ret) reg_update(p);

  } else if (c == "get")
  {
    ret = reg_get(p);

  } else if (c == "info")
  {
    ret = reg_info(p, r);

  } else if (c == "rm")
  {
    ret = reg_rm(p);

  } else if (c == "ls")
  {
    ret = reg_ls(p, r);

  } else 
  {
    return scdc_dataprov::dataset_cmds_do_cmd(dataset, cmd, params, input, output, result);
  }

  result = r;

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %rbp
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r14
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rdx
movq %rbx, %rsi
callq 0x1a132
leaq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rdx
movq %rbp, %rsi
callq 0x1a132
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x34977(%rip), %rsi     # 0x51aa0
leaq 0x38(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x1d159
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x1d2fe
testb %al, %al
je 0x1d1a6
movb $0x1, %bl
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x1d416
jmp 0x1d1ce
leaq 0x349b8(%rip), %rsi     # 0x51b18
leaq 0x38(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x1d17d
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x1d570
jmp 0x1d1cc
leaq 0x346cc(%rip), %rsi     # 0x51850
leaq 0x38(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x1d1aa
leaq 0x18(%rsp), %rsi
leaq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x1d58a
jmp 0x1d1cc
xorl %ebx, %ebx
jmp 0x1d1ce
leaq 0x3630e(%rip), %rsi     # 0x534bf
leaq 0x38(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x1d212
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x1d682
movl %eax, %ebx
leaq 0x58(%rsp), %rsi
movq 0xf0(%rsp), %rdi
callq 0xb2e0
leaq 0x58(%rsp), %rdi
callq 0xb230
leaq 0x18(%rsp), %rdi
callq 0xb230
leaq 0x38(%rsp), %rdi
callq 0xb230
movl %ebx, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x34be4(%rip), %rsi     # 0x51dfd
leaq 0x38(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x1d23d
movb $0x1, %bl
leaq 0x18(%rsp), %rsi
leaq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x1d722
jmp 0x1d1ce
leaq 0x98(%rsp), %rdi
leaq 0x17(%rsp), %rdx
movq %rbx, %rsi
callq 0x1a132
leaq 0x78(%rsp), %rdi
leaq 0x16(%rsp), %rdx
movq %rbp, %rsi
callq 0x1a132
movq 0xf0(%rsp), %rax
movq %rax, (%rsp)
leaq 0x98(%rsp), %rdx
leaq 0x78(%rsp), %rcx
movq %r14, %rdi
movq %r13, %rsi
movq %r12, %r8
movq %r15, %r9
callq 0x2ee92
movl %eax, %ebx
leaq 0x78(%rsp), %rdi
callq 0xb230
leaq 0x98(%rsp), %rdi
callq 0xb230
jmp 0x1d1e0
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0xb230
jmp 0x1d2be
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0xb230
jmp 0x1d2d7
jmp 0x1d2d4
movq %rax, %rbx
jmp 0x1d2eb
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0xb230
leaq 0x18(%rsp), %rdi
callq 0xb230
leaq 0x38(%rsp), %rdi
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0
nop