// File: 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 %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movb $0x1, (%rax)
movb $0x1, -0x21(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x2a4b6(%rip), %rsi     # 0xa8d9c
callq 0x25b80
testb $0x1, %al
jne 0x7e8f4
jmp 0x7eadb
movq -0x18(%rbp), %rdi
movl $0x4, %esi
leaq -0x30(%rbp), %rdx
xorl %ecx, %ecx
callq 0x4d6c0
cmpq $0x0, %rax
jne 0x7e9ac
jmp 0x7e914
leaq 0x55d8d(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e8e0
cmpq $0x0, %rax
je 0x7e9a1
leaq 0x55d78(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e900
leaq 0x55d69(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e8e0
movq %rax, %rdi
leaq 0x27b57(%rip), %rsi     # 0xa64a8
callq 0xc670
movq %rax, %rdi
leaq 0x2a444(%rip), %rsi     # 0xa8da4
callq 0xc670
movq %rax, %rdi
leaq 0x2a107(%rip), %rsi     # 0xa8a76
callq 0xc670
movq %rax, %rdi
leaq 0x2a43f(%rip), %rsi     # 0xa8dbd
callq 0xc670
movq %rax, %rdi
movq 0x55633(%rip), %rsi     # 0xd3fc0
callq 0xc6d0
leaq 0x55d0f(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e920
jmp 0x7e9a3
movb $0x0, -0x21(%rbp)
jmp 0x7ead9
movq -0x30(%rbp), %rdi
callq 0x5d460
cmpq $0x0, %rax
jne 0x7ea75
jmp 0x7e9c1
leaq 0x55ce0(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e8e0
cmpq $0x0, %rax
je 0x7ea6d
leaq 0x55cc7(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e900
leaq 0x55cb8(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e8e0
movq %rax, %rdi
leaq 0x27aa6(%rip), %rsi     # 0xa64a8
callq 0xc670
movq %rax, %rdi
leaq 0x2a393(%rip), %rsi     # 0xa8da4
callq 0xc670
movq %rax, %rdi
leaq 0x2a056(%rip), %rsi     # 0xa8a76
callq 0xc670
movq %rax, %rdi
leaq 0x2a3b5(%rip), %rsi     # 0xa8de4
callq 0xc670
movq %rax, %rdi
movq -0x30(%rbp), %rsi
callq 0xc670
movq %rax, %rdi
leaq 0x298ce(%rip), %rsi     # 0xa8318
callq 0xc670
movq %rax, %rdi
movq 0x55567(%rip), %rsi     # 0xd3fc0
callq 0xc6d0
leaq 0x55c43(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x2e920
jmp 0x7ea6f
movb $0x0, -0x21(%rbp)
jmp 0x7ead7
movq -0x48(%rbp), %rdi
movq -0x30(%rbp), %rsi
addq $0x270, %rdi            # imm = 0x270
callq 0xc920
movq -0x48(%rbp), %rdi
addq $0x270, %rdi            # imm = 0x270
callq 0xc3a0
movq %rax, -0x40(%rbp)
leaq -0x40(%rbp), %rdi
movl $0x1, %esi
callq 0x72a60
movq %rax, -0x38(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x72aa0
movsbl (%rax), %eax
cmpl $0x2f, %eax
je 0x7ead5
movq -0x48(%rbp), %rdi
addq $0x270, %rdi            # imm = 0x270
movl $0x2f, %esi
callq 0xc3f0
jmp 0x7ead7
jmp 0x7ead9
jmp 0x7eafc
movq -0x48(%rbp), %rdi
movq -0x20(%rbp), %rax
movb $0x0, (%rax)
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
callq 0x7a290
andb $0x1, %al
movb %al, -0x21(%rbp)
movb -0x21(%rbp), %al
andb $0x1, %al
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)