// File: /workspace/github_cpp_makefile_star2_O3/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %r14
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq $0x0, -0x8(%rbp)
movb $0x0, (%rbp)
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x28(%rsp), %rdi
movq %rax, %rsi
callq 0x1d0a0
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %r8
movq %r14, %rdi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x543d4
testb %al, %al
je 0x53871
movq 0x8(%r14), %r13
leaq 0x128(%r13), %rdi
leaq 0x48(%rsp), %rsi
callq 0x56418
addq $0x130, %r13            # imm = 0x130
cmpq %r13, %rax
jne 0x53829
leaq 0x38e16(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x53829
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x18(%rax), %r13
leaq 0x16de8(%rip), %rsi     # 0x6a569
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x19a7f(%rip), %rsi     # 0x6d214
movl $0x1b, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x16bbb(%rip), %rsi     # 0x6a364
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x1b7, %esi            # imm = 0x1B7
callq 0xb9a0
movq %rax, %r13
leaq 0x19a63(%rip), %rsi     # 0x6d230
movl $0x23, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x1871f(%rip), %rsi     # 0x6bf00
movl $0x8, %edx
movq %r13, %rdi
callq 0xb5f0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %r13, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
leaq 0x38d53(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x8(%r14), %rdi
leaq 0x48(%rsp), %rsi
callq 0x4f822
movq (%r14), %rax
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %rbx, %r8
callq *0x60(%rax)
testb %al, %al
je 0x538bf
movq 0x8(%r14), %rdi
leaq 0x48(%rsp), %rsi
callq 0x4efa2
testb %al, %al
je 0x538bf
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
movl %eax, %ebx
jmp 0x538c1
leaq 0x19944(%rip), %rsi     # 0x6d1bc
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x1b7aa
leaq 0x18672(%rip), %rsi     # 0x6bf00
leaq 0x68(%rsp), %rdi
callq 0xba60
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x53917
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5391e
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x54558
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x17c54(%rip), %rdx     # 0x6b52d
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x1be38
addq $0x18, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0xb2c0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x53a1d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x53a1d
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb670
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x5395a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x53975
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x38bf4(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53a1b
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x16807(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19817(%rip), %rsi     # 0x6d1cc
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1982f(%rip), %rsi     # 0x6d1f8
movl $0xc, %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 %ebx, %ebx
leaq 0x38(%rsp), %rax
movq 0x28(%rsp), %rdi
cmpq %rax, %rdi
je 0x53a39
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53a50
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x53aa6
movq 0x18(%rsp), %rsi
jmp 0x53a90
jmp 0x53aa3
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x53aa6
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x53aa6
jmp 0x53aa3
movq %rax, %rbx
jmp 0x53ac2
jmp 0x53aa3
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x53ac2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53ad9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop