// File: /workspace/github_cpp_makefile_star2_O1/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, 0x70(%rsp)
movq %r8, %r12
movq %rcx, %rbp
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r14
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x1bdd6
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rdx
movq %rbp, %rsi
callq 0x1bdd6
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq 0x4b19e(%rip), %rsi     # 0x6aaeb
leaq 0x30(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x1fa60
leaq 0x4b1fd(%rip), %rsi     # 0x6ab63
leaq 0x30(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x1fa82
leaq 0x4af1c(%rip), %rsi     # 0x6a89b
leaq 0x30(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x1fa9d
leaq 0x4cb1f(%rip), %rsi     # 0x6c4b7
leaq 0x30(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x1fab1
leaq 0x4b49c(%rip), %rsi     # 0x6ae4d
leaq 0x30(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x1fb33
leaq 0x98(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %rbx, %rsi
callq 0x1bdd6
leaq 0x78(%rsp), %rdi
leaq 0xe(%rsp), %rdx
movq %rbp, %rsi
callq 0x1bdd6
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 0x70(%rsp), %r9
callq 0x37af0
movl %eax, %ebp
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fa39
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fad2
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x1fad2
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x1fbf8
movl %eax, %ebp
testb %al, %al
je 0x1fac0
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x1fdd6
jmp 0x1fac0
leaq 0x68(%r14), %rdi
leaq 0x10(%rsp), %rsi
callq 0x207d8
addq $0x70, %r14
cmpq %r14, %rax
setne %bpl
jmp 0x1fac0
leaq 0x10(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movq %r14, %rdi
callq 0x1ffee
jmp 0x1fabe
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x20136
movl %eax, %ebp
leaq 0x50(%rsp), %rsi
movq 0xf0(%rsp), %rdi
callq 0xb2c0
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1fae9
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fb04
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fb1f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebp, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
leaq 0x50(%rsp), %rdx
movq %r14, %rdi
callq 0x20240
jmp 0x1fac0
movq %rax, %rbx
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fb76
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x1fb76
movq %rax, %rbx
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fba3
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x1fba3
jmp 0x1fba0
movq %rax, %rbx
jmp 0x1fbd5
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1fbba
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fbd5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1fbf0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0