// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataset_jobrun::do_cmd_rm(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_rm(const std::string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
    {
      if (!has_jobid() && dataprov_jobrun()->do_cmd_rm(params, input, output, result)) return true;

      string jobid;
      string p = params;

      if (!select_job(p, true, true, jobid))
      {
        result = "selecting job '" + jobid + "' failed";
        SCDC_FAIL("do_cmd_put: " << result);
        return false;
      }

      SCDC_ASSERT(dataprov_jobrun()->is_job(jobid));

      dataprov_jobrun()->job_wait_running(jobid);

      bool ret = true;

      ret = ret && do_cmd_rm_inout(p, input, output, result);

      ret = ret && destroy_job(jobid);

      undo_select_job();

      set_jobid("");

      return ret;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %r14
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x60(%rsp), %rdi
callq 0xb750
leaq 0x60(%rsp), %rsi
pushq $0x1
popq %rcx
movq %rsp, %r8
movq %r14, %rdi
movl %ecx, %edx
callq 0x41480
testb %al, %al
je 0x40cba
movq 0x8(%r14), %rdi
movq %rsp, %rsi
callq 0x3db40
testb %al, %al
jne 0x40c7d
leaq 0x34989(%rip), %r13     # 0x75580
movq (%r13), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x40c7d
addq $0x20, %rdi
callq 0xb800
movq (%r13), %rax
movq 0x18(%rax), %rdi
leaq 0x1092f(%rip), %rsi     # 0x51549
callq 0xb520
leaq 0x1357e(%rip), %rsi     # 0x541a4
movq %rax, %rdi
callq 0xb520
leaq 0x1070f(%rip), %rsi     # 0x51344
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movl $0x1b7, %esi            # imm = 0x1B7
callq 0xb990
leaq 0x1356f(%rip), %rsi     # 0x541c0
movq %rax, %rdi
callq 0xb520
leaq 0x12230(%rip), %rsi     # 0x52e90
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
callq 0xb270
movq (%r13), %rdi
addq $0x20, %rdi
callq 0xb3e0
movq 0x8(%r14), %rdi
movq %rsp, %rsi
callq 0x3e35c
movq (%r14), %rax
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %rbx, %r8
callq *0x60(%rax)
testb %al, %al
je 0x40d74
movq %rsp, %rsi
movq %r14, %rdi
callq 0x41b38
movl %eax, %ebx
jmp 0x40d76
leaq 0x1348b(%rip), %rsi     # 0x5414c
leaq 0x40(%rsp), %rdi
movq %rsp, %rdx
callq 0x19ae2
leaq 0x121bb(%rip), %rdx     # 0x52e90
leaq 0x20(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x1cb18
leaq 0x20(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb690
movq %r14, %rdi
callq 0xb230
leaq 0x40(%rsp), %rdi
callq 0xb230
leaq 0x34873(%rip), %r14     # 0x75580
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x40d70
addq $0x20, %rdi
callq 0xb800
movq (%r14), %rax
movq 0x8(%rax), %rdi
leaq 0x1045a(%rip), %rsi     # 0x51188
callq 0xb520
leaq 0x13422(%rip), %rsi     # 0x5415c
movq %rax, %rdi
callq 0xb520
leaq 0x1343f(%rip), %rsi     # 0x54188
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %rbx, %rsi
callq 0xb490
movq %rax, %rdi
callq 0xb270
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3e0
xorl %ebx, %ebx
jmp 0x40daf
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x41594
leaq 0x11738(%rip), %rsi     # 0x524bd
leaq 0x20(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x1a132
addq $0x18, %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xb2e0
leaq 0x20(%rsp), %rdi
callq 0xb230
leaq 0x60(%rsp), %rdi
callq 0xb230
movq %rsp, %rdi
callq 0xb230
movl %ebx, %eax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
jmp 0x40de8
jmp 0x40df8
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0xb230
jmp 0x40dfb
jmp 0x40df8
movq %rax, %rbx
jmp 0x40e05
jmp 0x40df8
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0xb230
movq %rsp, %rdi
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0
nop