// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore_x_threads.c
// Function: x_m_thread_func
static vd_t x_m_thread_func( vd_t thread_obj )
{
    if( x_thread_defines_m_thread_func( thread_obj ) )
    {
        return ( vd_t )x_thread_a_m_thread_func( thread_obj );
    }
    else if( x_thread_defines_c_thread_func( thread_obj ) )
    {
        return ( vd_t )x_thread_a_c_thread_func( thread_obj );
    }
    else
    {
        return NULL;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
leaq 0x7c895(%rip), %r12     # 0x1a4450
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x127c16
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x127c16
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x127c16
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x127e04
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x127c46
movabsq $-0x669e595d90fccf30, %rdi # imm = 0x9961A6A26F0330D0
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x7c815(%rip), %rdi     # 0x1a4450
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq (%rbx), %r14
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
cmpq $0x0, 0x10(%r15)
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
je 0x127ce7
cmpq %r14, %rdx
je 0x127cab
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x127cab
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x127cab
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x127e0c
movq (%rax,%rcx), %rax
testq %rax, %rax
jne 0x127cde
movabsq $-0x669e595d90fccf30, %rdi # imm = 0x9961A6A26F0330D0
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x7c780(%rip), %rdi     # 0x1a4450
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r15, %rax
addq $0x10, %rax
jmp 0x127de6
cmpq %r14, %rdx
je 0x127d1a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x127d1a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x127d1a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x127e13
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x127d4a
movabsq $-0x669e595d90fccf30, %rdi # imm = 0x9961A6A26F0330D0
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x7c711(%rip), %rdi     # 0x1a4450
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x18(%r15)
je 0x127df6
movq (%rbx), %r14
movl (%r12), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r12,%rax,8), %rcx
movq 0x18(%r12,%rax,8), %rdx
andq %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x127daf
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x127daf
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x127daf
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x127e1b
movq (%rax,%rcx), %rax
testq %rax, %rax
jne 0x127de2
movabsq $-0x669e595d90fccf30, %rdi # imm = 0x9961A6A26F0330D0
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x7c67c(%rip), %rdi     # 0x1a4450
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r15, %rax
addq $0x18, %rax
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *(%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
xorl %r15d, %r15d
jmp 0x127c1a
xorl %eax, %eax
jmp 0x127caf
xorl %r15d, %r15d
jmp 0x127d1e
xorl %eax, %eax
jmp 0x127db3