// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_bbml_parse_create_object
er_t x_bbml_parse_create_object( x_source* source, sr_s* obj )
{
    // bcore_x_bbml.h:185:1
    BLM_INIT_LEVEL(0);
    er_t er = 0;
    tp_t type = x_bbml_parse_type(source );
    bl_t flag = x_bbml_parse_flag(source );
    
    if( type )
    {
        if( bcore_flect_exists( type ) )
        {
            if( flag )
            {
                x_inst* inst = ((x_inst*)BLM_LEVEL_TV_PUSH(0,type ,x_inst_t_create(type )));
                BLM_TRY(x_bbml_t_parse_body(((x_bbml*)( inst)),type, source ))
                (*(obj)) = sr_tsm(type, ((x_inst*)bcore_fork(inst)) );
            }
            else // no instance
            {
                obj->p = bcore_inst_s_get_typed( type );
            }
        }
        else
        {
            BLM_RETURNV(er_t, bcore_error_push_fa(TYPEOF_parse_error, "Type '#<sc_t>' has no reflection.", bnameof( type ) ))
        }
    }
    
    BLM_RETURNV(er_t, er)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x127c7c(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xd6675
xorl %eax, %eax
movq %rax, 0x10(%r15)
movq %rax, (%rsp)
movq (%r14), %r15
leaq 0x128b50(%rip), %r13    # 0x19ccc8
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x741cf
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x741cf
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x741cf
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x741d8
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x741ff
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x128ad4(%rip), %rdi    # 0x19ccc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r12), %rax
testq %rax, %rax
jne 0x7421d
leaq 0xc5b86(%rip), %rsi     # 0x139d96
movq %r12, %rdi
callq 0xeb49c
movq 0x10(%r12), %rax
movq %rsp, %r12
movl $0x8, %ebp
movl $0x8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq *%rax
movq (%r12), %r15
movb $0x0, (%r12)
movq (%r14), %r12
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rcx
cmpq %r12, %rcx
je 0x74290
movq 0x10(%rax), %rcx
movl $0x18, %ebp
cmpq %r12, %rcx
je 0x74290
movq 0x20(%rax), %rcx
movl $0x28, %ebp
cmpq %r12, %rcx
je 0x74290
movq 0x30(%rax), %rcx
movl $0x38, %ebp
cmpq %r12, %rcx
jne 0x74299
movq (%rax,%rbp), %r13
testq %r13, %r13
jne 0x742c0
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x128a13(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r13), %rax
testq %rax, %rax
jne 0x742dc
leaq 0xc5ac6(%rip), %rsi     # 0x139d96
movq %r13, %rdi
callq 0xeb49c
movq 0x10(%r13), %rax
movq %rsp, %rsi
movl $0x1, %edx
movq %r14, %rdi
callq *%rax
testq %r15, %r15
je 0x744cb
movb (%rsp), %bpl
movq %r15, %rdi
callq 0xc4c3d
testb %al, %al
je 0x7440f
testb %bpl, %bpl
je 0x7443a
movabsq $-0x3b1008a961ddaa8, %rdi # imm = 0xFC4EFF7569E22558
movq %r15, %rsi
callq 0x116fb0
leaq 0x128140(%rip), %rax    # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x7437e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x7437e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x7437e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x74387
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x743ae
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x1280c5(%rip), %rdi    # 0x19c468
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
callq *0xa8(%r12)
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x7575c
movq %rax, %r14
testq %rax, %rax
jne 0x744ce
movq %r12, %rdi
callq 0xbe7e4
movq %rax, %r14
movq %r15, %rdi
callq 0x1074f1
movq %r14, (%rbx)
movq %rax, 0x8(%rbx)
movq $0x2, 0x10(%rbx)
jmp 0x744cb
movq %r15, %rdi
callq 0xd6ec4
leaq 0xc38fa(%rip), %rsi     # 0x137d18
movabsq $0x690af8765815ec4d, %rdi # imm = 0x690AF8765815EC4D
movq %rax, %rdx
xorl %eax, %eax
callq 0xbec3c
movq %rax, %r14
jmp 0x744ce
leaq 0x128027(%rip), %rax    # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x74497
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x74497
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x74497
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x744a0
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x744c7
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r14
leaq 0x127fac(%rip), %rdi    # 0x19c468
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r14, 0x8(%rbx)
xorl %r14d, %r14d
leaq 0x8(%rsp), %rdi
callq 0xd6d2c
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq