// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/lib/bcore/bcore_flect.c
// Function: bcore_self_body_s_parse_src
static void bcore_self_body_s_parse_src( bcore_self_body_s* o, sr_s src, const bcore_self_s* self, bl_t aware, bl_t advanced_checks )
{
    bcore_life_s* l = bcore_life_s_create();
    src = bcore_life_s_push_sr( l, sr_cp( src, TYPEOF_bcore_source_s ) );
    bcore_self_body_s_clear( o );

    if( aware )
    {
        bcore_self_item_s* item = bcore_self_item_s_create();
        item->type = TYPEOF_aware_t;
        item->name = typeof( "_" );
        item->caps = BCORE_CAPS_SOLID_STATIC;
        bcore_self_body_s_push_d( o, item );
    }

    if( bcore_source_r_parse_bl_fa( &src, " #?'{' " ) )
    {
        while( !bcore_source_r_parse_bl_fa( &src, " #?'}' " ) )
        {
            if( bcore_source_r_parse_bl_fa( &src, " #?'...'" ) )
            {
                o->complete = false;
                break;
            }
            bcore_self_item_s* item = bcore_self_item_s_create();
            if( bcore_self_item_s_parse_src( item, src, self, advanced_checks ) )
            {
                bcore_error_pop_all_to_stderr();
                bcore_abort();
            }

            if( item->type == typeof( "aware_t" ) )
            {
                if( o->size > 0 )
                {
                    bcore_source_r_parse_err_fa( &src, "'aware_t' declares self-awareness. It can only be first element in body. Use type 'tp_t' elsewhere." );
                }
            }

            bcore_self_body_s_push_d( o, item );
        }
    }


    bcore_life_s_discard( l );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movb %cl, %al
movb %dl, %cl
leaq 0x10(%rbp), %rdx
movq %rdx, -0x68(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %cl
movb %cl, -0x11(%rbp)
andb $0x1, %al
movb %al, -0x12(%rbp)
movb $0x0, %al
callq 0xbfdd0
movq %rax, %rcx
movq -0x68(%rbp), %rax
movq %rcx, -0x20(%rbp)
movq -0x20(%rbp), %rcx
movq %rcx, -0x70(%rbp)
leaq -0x50(%rbp), %rdi
movabsq $-0x7e8ee9b9b4bbaa8, %rsi # imm = 0xF817116464B44558
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xa6370
movq -0x70(%rbp), %rsi
leaq -0x38(%rbp), %rdi
leaq -0x50(%rbp), %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0xc02c0
movq -0x68(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, (%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rdi
callq 0xa4b00
testb $0x1, -0x11(%rbp)
je 0xa64fd
callq 0xa08d0
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movabsq $-0x388c46b188de83fe, %rcx # imm = 0xC773B94E77217C02
movq %rcx, (%rax)
leaq 0x909aa(%rip), %rdi     # 0x136e7f
callq 0xa63d0
movq %rax, %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x58(%rbp), %rax
movl $0x1, 0x10(%rax)
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0xa4b90
movq -0x68(%rbp), %rdi
leaq 0xa8b03(%rip), %rsi     # 0x14f00b
callq 0xa12a0
testb $0x1, %al
jne 0xa6516
jmp 0xa65f9
jmp 0xa6518
movq -0x68(%rbp), %rdi
leaq 0xa8af0(%rip), %rsi     # 0x14f013
callq 0xa12a0
xorb $-0x1, %al
testb $0x1, %al
jne 0xa6533
jmp 0xa65f7
movq -0x68(%rbp), %rdi
leaq 0xa8add(%rip), %rsi     # 0x14f01b
callq 0xa12a0
testb $0x1, %al
jne 0xa6549
jmp 0xa6556
movq -0x8(%rbp), %rax
movb $0x0, 0x18(%rax)
jmp 0xa65f7
callq 0xa08d0
movq -0x68(%rbp), %rcx
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
movq -0x10(%rbp), %rsi
movb -0x12(%rbp), %al
andb $0x1, %al
movq (%rcx), %rdx
movq %rdx, (%rsp)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rsp)
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rsp)
movzbl %al, %edx
callq 0xa1110
cmpq $0x0, %rax
je 0xa65a3
callq 0x9e620
movb $0x0, %al
callq 0x9c670
movq -0x60(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x78(%rbp)
leaq 0xa8a6f(%rip), %rdi     # 0x14f024
callq 0xa63d0
movq %rax, %rcx
movq -0x78(%rbp), %rax
cmpq %rcx, %rax
jne 0xa65e5
movq -0x8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jbe 0xa65e3
movq -0x68(%rbp), %rdi
leaq 0xa8a50(%rip), %rsi     # 0x14f02c
movb $0x0, %al
callq 0xf42e0
jmp 0xa65e5
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0xa4b90
jmp 0xa6518
jmp 0xa65f9
movq -0x20(%rbp), %rdi
callq 0xbfe00
addq $0x90, %rsp
popq %rbp
retq
nopl (%rax,%rax)