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

  if (conf == "cmd_handler")
  {
    if (args->get<scdc_nodeport_cmd_handler_args_t>(SCDC_ARGS_TYPE_NODEPORT_CMD_HANDLER, &cmd_handler_args, true) == SCDC_ARG_REF_NULL)
    {
      SCDC_ERROR("open_config_conf: getting command handler");
      ret = false;

    } else
    {
      SCDC_TRACE("open_config_conf: cmd_handler: " << reinterpret_cast<void *>(cmd_handler_args.handler) << " / " << static_cast<void *>(cmd_handler_args.data));
    }

  } else if (conf == "max_connections")
  {
    if (args->get<scdcint_t>(SCDC_ARGS_TYPE_SCDCINT, &max_connections) == SCDC_ARG_REF_NULL)
    {
      SCDC_ERROR("open_config_conf: getting max. connections");
      ret = false;

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

  } else if (conf.compare(0, 4, "zlib") == 0)
  {
    SCDC_TRACE("open_config_conf: cfg_compression: '" << cfg_compression << "'");
    cfg_compression = conf;

  } else done = false;

  return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movb $0x1, (%rcx)
leaq 0xf611(%rip), %rsi      # 0x6d905
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x5e33e
leaq 0xf63f(%rip), %rsi      # 0x6d946
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x5e3c0
leaq 0xf663(%rip), %rcx      # 0x6d981
movl $0x4, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0xb700
testl %eax, %eax
je 0x5e47e
movb $0x0, (%r15)
jmp 0x5e48d
addq $0x48, %rbx
movl $0x12, %esi
movq %r12, %rdi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0x5ea74
movq %rax, %rcx
movb $0x1, %al
testq %rcx, %rcx
jne 0x5e48f
leaq 0x2e204(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5e47a
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0xc0f7(%rip), %rsi      # 0x6a488
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0xf56c(%rip), %rsi      # 0x6d911
movl $0xa, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0xf563(%rip), %rsi      # 0x6d91c
movl $0x29, %edx
jmp 0x5e43f
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x5e3ea
addq $0x68, %rbx
movq (%r12), %rdi
movl $0x2, %esi
movq %rbx, %rdx
callq *%rax
movq %rax, %rcx
movb $0x1, %al
testq %rcx, %rcx
jne 0x5e48f
leaq 0x2e17f(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x5e47a
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x18(%rax), %rbx
leaq 0xc076(%rip), %rsi      # 0x6a488
movl $0xc, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0xf4eb(%rip), %rsi      # 0x6d911
movl $0xa, %edx
movq %rbx, %rdi
callq 0xb5f0
leaq 0xf51c(%rip), %rsi      # 0x6d956
movl $0x2a, %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
jmp 0x5e48f
addq $0x70, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb2c0
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop