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

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

    if (args->get<const char *>(SCDC_ARGS_TYPE_CSTR, &s) == SCDC_ARG_REF_NULL)
    {
      SCDC_ERROR("open_config_conf: getting socket name");
      ret = false;

    } else
    {
      SCDC_TRACE("open_config_conf: socketname: '" << s << "'");
      socketfile = make_uds_socketfile(s);
    }

  } else if (conf == "socketfile")
  {
    const char *s;

    if (args->get<const char *>(SCDC_ARGS_TYPE_CSTR, &s) == SCDC_ARG_REF_NULL)
    {
      SCDC_ERROR("open_config_conf: getting socket file");
      ret = false;

    } else
    {
      SCDC_TRACE("open_config_conf: socketfile: '" << s << "'");
      socketfile = s;
    }

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

  return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movb $0x1, (%rcx)
leaq 0x10590(%rip), %rsi     # 0x6d8a3
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x5d356
leaq 0x105ae(%rip), %rsi     # 0x6d8d4
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x5d3b8
movb $0x0, (%r15)
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x5de1a
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x5d412
movq (%r14), %rdi
movq %rsp, %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
je 0x5d412
movq (%rsp), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x5cf74
addq $0x98, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb670
movq (%r14), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5d40b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x5d40b
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x5d468
movq (%r14), %rdi
leaq 0x8(%rsp), %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
je 0x5d468
movq 0x8(%rsp), %r14
movq 0xa0(%rbx), %r15
addq $0x98, %rbx
movq %r14, %rdi
callq 0xb200
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0xb870
movb $0x1, %al
jmp 0x5d4fa
leaq 0x2f157(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5d4f8
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0xd06a(%rip), %rsi      # 0x6a4a8
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x10408(%rip), %rsi     # 0x6d85a
movl $0xe, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x10448(%rip), %rsi     # 0x6d8ae
jmp 0x5d4b8
leaq 0x2f101(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5d4f8
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0xd018(%rip), %rsi      # 0x6a4a8
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x103b6(%rip), %rsi     # 0x6d85a
movl $0xe, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x10427(%rip), %rsi     # 0x6d8df
movl $0x25, %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 %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq