// File: /workspace/github_cpp_makefile_star2_O3/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 0x1d082(%rip), %rsi     # 0x6ce14
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x4fdbe
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 0x4c856
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x4fe45
movq (%r14), %rdi
movq %rsp, %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
je 0x4fe45
movq (%rsp), %rdi
callq 0x35787
testq %rax, %rax
je 0x4fefd
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 0x4feef
movq %r14, %rdi
movl $0x2f, %esi
callq 0xb420
jmp 0x4feef
leaq 0x3c724(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x4feed
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0x1a637(%rip), %rsi     # 0x6a4a8
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1cf97(%rip), %rsi     # 0x6ce1c
movl $0x18, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1cc55(%rip), %rsi     # 0x6caee
movl $0x10, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1cf88(%rip), %rsi     # 0x6ce35
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 0x3c66c(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x4feed
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %rbx
leaq 0x1a583(%rip), %rsi     # 0x6a4a8
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1cee3(%rip), %rsi     # 0x6ce1c
movl $0x18, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1cba1(%rip), %rsi     # 0x6caee
movl $0x10, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x1cefb(%rip), %rsi     # 0x6ce5c
movl $0x18, %edx
movq %rbx, %rdi
callq 0xb5f0
movq (%rsp), %r14
testq %r14, %r14
je 0x4ff8f
movq %r14, %rdi
callq 0xb200
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xb5f0
jmp 0x4ffa6
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0xb990
leaq 0x1c36b(%rip), %rsi     # 0x6c318
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 0x4fee4
nop