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

  if (conf == "address")
  {
    const char *a;

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

    } else
    {
      SCDC_TRACE("open_config_conf: address: '" << address << "'");
      address = a;
    }

  } else if (conf == "port")
  {
    if (args->get<int>(SCDC_ARGS_TYPE_INT, &port) == SCDC_ARG_REF_NULL)
    {
      SCDC_ERROR("open_config_conf: getting port");
      ret = false;

    } else
    {
      SCDC_TRACE("open_config_conf: port: " << port);
    }

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

  return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
movb $0x1, (%rcx)
leaq 0x10aea(%rip), %rsi     # 0x6d74e
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x5cca3
leaq 0x10af9(%rip), %rsi     # 0x6d770
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x5ccc8
movb $0x0, (%r15)
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x5e2d6
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x5cd87
movq (%rbx), %rdi
movq %rsp, %rdx
movl $0x4, %esi
callq *%rax
testq %rax, %rax
setne %bl
jmp 0x5cd89
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x5ccf0
addq $0xb8, %r14
movq (%rbx), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq *%rax
movb $0x1, %bl
testq %rax, %rax
jne 0x5ce4f
leaq 0x2f879(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5cd80
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0xd770(%rip), %rsi      # 0x6a488
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x10995(%rip), %rsi     # 0x6d6c1
movl $0xe, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0x10a16(%rip), %rsi     # 0x6d756
movl $0x1e, %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
jmp 0x5ce4f
xorl %ebx, %ebx
testb %bl, %bl
je 0x5cdbf
movq (%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 0x5ce4f
leaq 0x2f7aa(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5ce4f
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %r14
leaq 0xd6a1(%rip), %rsi      # 0x6a488
movl $0xc, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x108c6(%rip), %rsi     # 0x6d6c1
movl $0xe, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x10925(%rip), %rsi     # 0x6d734
movl $0x21, %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 $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop