// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataprov_jobrun_system::open_config_conf(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, scdc_args*, bool&)
bool scdc_dataprov_jobrun_system::open_config_conf(const std::string &conf, scdc_args *args, bool &done)
{
  done = true;
  bool ret = true;

  if (conf == "workdir")
  {
    const char *s;

    if (args->get<const char *>(SCDC_ARGS_TYPE_CSTR, &s) == SCDC_ARG_REF_NULL)
    {
      SCDC_ERROR(__func__ << ": getting parameter for work directory");
      ret = false;

    } else
    {
      if (!z_fs_is_directory(s))
      {
        SCDC_ERROR(__func__ << ": given work directory '" << s << "' is not a directory");
        ret = false;

      } else
      {
        workdir = s;

        if (*(workdir.end() - 1) != '/') workdir += '/';
      }
    }

  } else
  {
    done = false;
    ret = scdc_dataprov_jobrun::open_config_conf(conf, args, done);
  }

  return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movb $0x1, (%rcx)
leaq 0x1cbc4(%rip), %rsi     # 0x6cda4
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x5020c
movb $0x0, (%r15)
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x4cd3e
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x50293
movq (%r14), %rdi
movq %rsp, %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
je 0x50293
movq (%rsp), %rdi
callq 0x35ad3
testq %rax, %rax
je 0x5034b
movq (%rsp), %r15
leaq 0x270(%rbx), %r14
movq 0x278(%rbx), %r12
movq %r15, %rdi
callq 0xb200
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r15, %rcx
movq %rax, %r8
callq 0xb870
movq 0x270(%rbx), %rax
movq 0x278(%rbx), %rcx
movb $0x1, %bl
cmpb $0x2f, -0x1(%rax,%rcx)
je 0x5033d
movq %r14, %rdi
movl $0x2f, %esi
callq 0xb420
jmp 0x5033d
leaq 0x3c2d6(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5033b
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0x1a1c9(%rip), %rsi     # 0x6a488
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1cad9(%rip), %rsi     # 0x6cdac
movl $0x18, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1c797(%rip), %rsi     # 0x6ca7e
movl $0x10, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1caca(%rip), %rsi     # 0x6cdc5
movl $0x26, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%rbx), %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 (%r14), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x3c21e(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5033b
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %rbx
leaq 0x1a115(%rip), %rsi     # 0x6a488
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1ca25(%rip), %rsi     # 0x6cdac
movl $0x18, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1c6e3(%rip), %rsi     # 0x6ca7e
movl $0x10, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1ca3d(%rip), %rsi     # 0x6cdec
movl $0x18, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%rsp), %r14
testq %r14, %r14
je 0x503dd
movq %r14, %rdi
callq 0xb200
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xb5f0
jmp 0x503f4
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0xb990
leaq 0x1bea5(%rip), %rsi     # 0x6c2a0
movl $0x14, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%rbx), %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
jmp 0x50332
nop