// File: /workspace/github_cpp_makefile_star2_O1/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 0x1d19a
leaq 0x28(%rsp), %rsi
leaq 0x48(%rsp), %r8
movq %r14, %rdi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x54834
testb %al, %al
je 0x53cd1
movq 0x8(%r14), %r13
leaq 0x128(%r13), %rdi
leaq 0x48(%rsp), %rsi
callq 0x5685a
addq $0x130, %r13            # imm = 0x130
cmpq %r13, %rax
jne 0x53c89
leaq 0x389b6(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x53c89
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x18(%rax), %r13
leaq 0x16968(%rip), %rsi     # 0x6a549
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x195af(%rip), %rsi     # 0x6d1a4
movl $0x1b, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x1673b(%rip), %rsi     # 0x6a344
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x1b7, %esi            # imm = 0x1B7
callq 0xb9a0
movq %rax, %r13
leaq 0x19593(%rip), %rsi     # 0x6d1c0
movl $0x23, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x18247(%rip), %rsi     # 0x6be88
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 0x388f3(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x8(%r14), %rdi
leaq 0x48(%rsp), %rsi
callq 0x4fc72
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 0x53d1f
movq 0x8(%r14), %rdi
leaq 0x48(%rsp), %rsi
callq 0x4f3f2
testb %al, %al
je 0x53d1f
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
movl %eax, %ebx
jmp 0x53d21
leaq 0x19474(%rip), %rsi     # 0x6d14c
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x1b85e
leaq 0x1819a(%rip), %rsi     # 0x6be88
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 0x53d77
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x53d7e
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x549b8
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x177d4(%rip), %rdx     # 0x6b50d
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x1bee6
addq $0x18, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0xb2c0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x53e7d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x53e7d
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 0x53dba
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x53dd5
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x38794(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53e7b
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x16387(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19347(%rip), %rsi     # 0x6d15c
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1935f(%rip), %rsi     # 0x6d188
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 0x53e99
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53eb0
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 0x53f06
movq 0x18(%rsp), %rsi
jmp 0x53ef0
jmp 0x53f03
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x53f06
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x53f06
jmp 0x53f03
movq %rax, %rbx
jmp 0x53f22
jmp 0x53f03
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x53f22
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53f39
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop