// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/node/nodeport_pool.cc
// Function: scdc_nodeport_pool::authority(char const*, scdc_args*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool scdc_nodeport_pool::authority(const char *conf, scdc_args *args, std::string &auth)
{
  stringlist confs(':', conf);
  string np_type = confs.front_pop();
  conf += confs.offset();

#if USE_NODE_DIRECT
  if (np_type == "direct") return scdc_nodeport_direct::authority(conf, args, auth);
#endif
#if USE_NODE_TCP
  if (np_type == "tcp") return scdc_nodeport_tcp::authority(conf, args, auth);
#endif
#if USE_NODE_UDS
  if (np_type == "uds") return scdc_nodeport_uds::authority(conf, args, auth);
#endif
#if USE_NODE_MPI
  if (np_type == "mpi") return scdc_nodeport_mpi::authority(conf, args, auth);
#endif
#if USE_NODE_STREAM
  if (np_type == "stream") return scdc_nodeport_stream::authority(conf, args, auth);
#endif
#if USE_NODE_TIMER
  if (np_type == "timer") return scdc_nodeport_timer::authority(conf, args, auth);
#endif

  if (np_type.size() > 0)
  {
    SCDC_ERROR("unknown nodeport type '" << np_type << "'");
    auth.clear();
    return false;
  }

  return scdc_nodeport::authority(conf, args, auth);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x20(%rsp), %r12
movq %r12, %rdi
movl $0x3a, %esi
movq %r15, %rdx
movq $-0x1, %rcx
callq 0x1b83e
movq %rsp, %rdi
movq %r12, %rsi
callq 0x1b878
leaq 0x40(%rsp), %rax
movq -0x20(%rax), %rcx
addq $0x30, %rcx
cmpq $0x0, -0x10(%rax)
cmoveq %rax, %rcx
addq (%rcx), %r15
leaq 0x3683f(%rip), %rsi     # 0x6a26a
movq %rsp, %rdi
callq 0xb110
testl %eax, %eax
je 0x33b52
leaq 0x38005(%rip), %rsi     # 0x6ba47
movq %rsp, %rdi
callq 0xb110
testl %eax, %eax
je 0x33b62
leaq 0x37ff7(%rip), %rsi     # 0x6ba50
movq %rsp, %rdi
callq 0xb110
testl %eax, %eax
je 0x33b82
leaq 0x3763c(%rip), %rsi     # 0x6b0ac
movq %rsp, %rdi
callq 0xb110
testl %eax, %eax
je 0x33b72
leaq 0x3800f(%rip), %rsi     # 0x6ba96
movq %rsp, %rdi
callq 0xb110
testl %eax, %eax
je 0x33b72
cmpq $0x0, 0x8(%rsp)
je 0x33b72
leaq 0x58ac6(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x33b40
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %r14
leaq 0x369d9(%rip), %rsi     # 0x6a4a8
movl $0xc, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x37fb9(%rip), %rsi     # 0x6ba9c
movl $0xf, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x37fb5(%rip), %rsi     # 0x6baac
movl $0x17, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %r14
leaq 0x388b4(%rip), %rsi     # 0x6c3d3
movl $0x1, %edx
movq %rax, %rdi
callq 0xb5f0
movq %r14, %rdi
callq 0xb250
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq $0x0, 0x8(%rbx)
movq (%rbx), %rax
movb $0x0, (%rax)
xorl %ebx, %ebx
jmp 0x33b92
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x5bbc4
jmp 0x33b90
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x5c3b0
jmp 0x33b90
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x5dd42
jmp 0x33b90
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x5cfca
movl %eax, %ebx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33bad
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x20(%rsp), %rdi
callq 0x1bad0
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x33be8
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33be8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x20(%rsp), %rdi
callq 0x1bad0
movq %rbx, %rdi
callq 0xb9c0