// File: /workspace/github_c_makefile_star2_O1/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 $0x48, %rsp
movq %rsi, 0x10(%rsp)
movq %rdi, %r14
leaq 0x12dea3(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xe0431
xorl %eax, %eax
movq %rax, 0x10(%r15)
movq %rax, 0x8(%rsp)
movq (%r14), %r15
leaq 0x12ed76(%rip), %rbp    # 0x1a9cc8
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x7afac
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x7afac
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x7afac
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x7b2d3
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x7afdc
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r12
leaq 0x12ecf7(%rip), %rdi    # 0x1a9cc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x10(%r12)
jne 0x7aff3
leaq 0xc9f33(%rip), %rsi     # 0x144f1e
movq %r12, %rdi
callq 0xf592c
leaq 0x8(%rsp), %r13
movl $0x8, %ebx
movl $0x8, %edx
movq %r14, %rdi
movq %r13, %rsi
callq *0x10(%r12)
movq (%r13), %r15
movb $0x0, (%r13)
movq (%r14), %r12
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rcx
cmpq %r12, %rcx
je 0x7b06e
movq 0x10(%rax), %rcx
movl $0x18, %ebx
cmpq %r12, %rcx
je 0x7b06e
movq 0x20(%rax), %rcx
movl $0x28, %ebx
cmpq %r12, %rcx
je 0x7b06e
movq 0x30(%rax), %rcx
movl $0x38, %ebx
cmpq %r12, %rcx
jne 0x7b2db
movq (%rax,%rbx), %r13
testq %r13, %r13
jne 0x7b09e
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x12ec35(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x10(%r13)
jne 0x7b0b4
leaq 0xc9e72(%rip), %rsi     # 0x144f1e
movq %r13, %rdi
callq 0xf592c
leaq 0x8(%rsp), %rsi
movl $0x1, %edx
movq %r14, %rdi
callq *0x10(%r13)
testq %r15, %r15
je 0x7b2b4
movb 0x8(%rsp), %bl
movq %r15, %rdi
callq 0xcedbf
testb %al, %al
je 0x7b1f3
testb %bl, %bl
je 0x7b21e
movabsq $-0x3b1008a961ddaa8, %rdi # imm = 0xFC4EFF7569E22558
movq %r15, %rsi
callq 0x1222bd
leaq 0x12e365(%rip), %rax    # 0x1a9468
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 0x7b15d
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x7b15d
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x7b15d
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x7b2e3
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x7b18d
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r12
leaq 0x12e2e6(%rip), %rdi    # 0x1a9468
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
callq *0xa8(%r12)
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x7c64d
movq %rax, %r14
testq %rax, %rax
jne 0x7b2b7
movq %r12, %rdi
callq 0xc8348
movq %rax, %r14
movq %r15, %rdi
callq 0x1123e1
movq 0x10(%rsp), %rcx
movq %r14, (%rcx)
movq %rax, 0x8(%rcx)
movq $0x2, 0x10(%rcx)
jmp 0x7b2b4
movq %r15, %rdi
callq 0xe0cbc
leaq 0xc7c9e(%rip), %rsi     # 0x142ea0
movabsq $0x690af8765815ec4d, %rdi # imm = 0x690AF8765815EC4D
movq %rax, %rdx
xorl %eax, %eax
callq 0xc87b0
movq %rax, %r14
jmp 0x7b2b7
leaq 0x12e243(%rip), %rax    # 0x1a9468
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 0x7b27b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x7b27b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x7b27b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x7b2eb
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x7b2ab
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r15, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x12e1c8(%rip), %rdi    # 0x1a9468
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq 0x10(%rsp), %rax
movq %r14, 0x8(%rax)
xorl %r14d, %r14d
leaq 0x18(%rsp), %rdi
callq 0xe0b30
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0x7afb0
xorl %r13d, %r13d
jmp 0x7b072
xorl %r12d, %r12d
jmp 0x7b161
xorl %r14d, %r14d
jmp 0x7b27f