// File: /workspace/github_cpp_makefile_star2_O1/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, %rbx
movq %rsi, %r12
movq %rdi, %r14
movb $0x1, (%rcx)
leaq 0x1008a(%rip), %rsi     # 0x6d833
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x5d7e8
leaq 0x100a8(%rip), %rsi     # 0x6d864
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x5d806
movb $0x0, (%r15)
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x5e2d6
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x5d82d
movq (%rbx), %rdi
movq %rsp, %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
setne %bl
jmp 0x5d82f
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x5d8d2
movq (%rbx), %rdi
leaq 0x8(%rsp), %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
setne %bl
jmp 0x5d8d4
xorl %ebx, %ebx
testb %bl, %bl
je 0x5d879
movq (%rsp), %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x5d404
addq $0x98, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xb670
movq (%r15), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5d99b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x5d99b
leaq 0x2ecf0(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5d99b
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %r14
leaq 0xcbe3(%rip), %rsi      # 0x6a488
movl $0xc, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0xff31(%rip), %rsi      # 0x6d7ea
movl $0xe, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0xff71(%rip), %rsi      # 0x6d83e
jmp 0x5d95b
xorl %ebx, %ebx
testb %bl, %bl
je 0x5d90b
movq 0x8(%rsp), %r15
movq 0xa0(%r14), %r12
addq $0x98, %r14
movq %r15, %rdi
callq 0xb200
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r15, %rcx
movq %rax, %r8
callq 0xb870
jmp 0x5d99b
leaq 0x2ec5e(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5d99b
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %r14
leaq 0xcb55(%rip), %rsi      # 0x6a488
movl $0xc, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0xfea3(%rip), %rsi      # 0x6d7ea
movl $0xe, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0xff14(%rip), %rsi      # 0x6d86f
movl $0x25, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %r14, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop