// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_bbml_t_parse_body
er_t x_bbml_t_parse_body( x_bbml* o, tp_t t, x_source* source )
{
    // bcore_x_bbml.h:244:1
    
    x_stamp* stamp =((x_stamp*)( o));
    if( x_bbml_t_defines_bbml_body_from_source(t ) )
    {
        BLM_TRY(x_bbml_t_bbml_body_from_source(o,t, source ))
    }
    else if( t == ((tp_t)(TYPEOF_st_s)) )
    {
        st_s* st = ((st_s*)(o));
        st_s_clear(st);
        char c = 0;
        while( (c = x_source_get_char(source)) != 0 ) st_s_push_char(st,c );
    }
    else if( x_stamp_t_is_leaf(t ) )
    {
        BLM_TRY(x_bbml_t_parse_leaf_body( o,t, source ))
    }
    else if( x_stamp_t_is_pure_array(t ) )
    {
        x_array* arr =((x_array*)( stamp));
    
        if( x_array_t_is_mutable_mono_typed(t ) ) x_array_t_set_gtype(arr,t, x_bbml_parse_type(source ) );
    
        sz_t size = x_bbml_parse_size(source );
    
        if( x_array_t_is_fixed(t ) )
        {
            sz_t arr_size = x_array_t_size(arr,t );
    
            for(sz_t i = 0; i < size; i++ )
            {
                sr_s sr = sr_null();
                BLM_TRY(x_bbml_parse_create_object(source, (&(sr)) ))
                if( i < arr_size )
                {
                    x_array_t_set_sr(arr,t, i, sr );
                }
                else
                {
                    sr_down( sr );
                }
            }
        }
        else
        {
            x_array_t_set_size(arr,t, size );
            for(sz_t i = 0; i < size; i++ )
            {
                sr_s sr = sr_null();
                BLM_TRY(x_bbml_parse_create_object(source, (&(sr)) ))
                x_array_t_set_sr(arr,t, i, sr );
            }
        }
    }
    else
    {
        while( !x_source_eos(source) )
        {
            // non existing member variables are parsed but not assigned
            tp_t tp_name = x_bbml_parse_type(source );
            if( !tp_name ) break;
    
            sr_s sr = sr_null();
            BLM_TRY(x_bbml_parse_create_object(source, (&(sr)) ))
            if( x_stamp_t_exists(t, tp_name ) )
            {
                BLM_TRY(x_stamp_t_set_sr(stamp,t, tp_name, sr ))
            }
            else
            {
                sr_down( sr );
            }
        }
    }
    
    x_stamp_t_source(stamp,t, source );
    x_stamp_t_mutated(stamp,t );
    
    return  0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x562f0
testb $0x1, %al
jne 0x5587e
jmp 0x558c3
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x56320
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x558be
movq -0x30(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x15ca87(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x55d23
jmp 0x55cfd
movabsq $-0x503db0e6e1c2e704, %rax # imm = 0xAFC24F191E3D18FC
cmpq %rax, -0x18(%rbp)
jne 0x55910
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0xffb50
movb $0x0, -0x41(%rbp)
movq -0x20(%rbp), %rdi
callq 0x547f0
movb %al, -0x41(%rbp)
movsbl %al, %eax
cmpl $0x0, %eax
je 0x5590b
movq -0x40(%rbp), %rdi
movsbl -0x41(%rbp), %esi
callq 0xffba0
jmp 0x558e8
jmp 0x55cfb
movq -0x18(%rbp), %rdi
callq 0x54810
testb $0x1, %al
jne 0x5591f
jmp 0x55964
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x55d30
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x50(%rbp)
je 0x5595f
movq -0x50(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x15c9e6(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x55d23
jmp 0x55cf9
movq -0x18(%rbp), %rdi
callq 0x54870
testb $0x1, %al
jne 0x55976
jmp 0x55bb5
movq -0x28(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rdi
callq 0x548a0
testb $0x1, %al
jne 0x5598d
jmp 0x559c2
movq -0x60(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x20(%rbp), %rdi
callq 0x557e0
movq -0x120(%rbp), %rdi
movq -0x118(%rbp), %rsi
movq %rax, %rdx
callq 0x54920
movq -0x20(%rbp), %rdi
callq 0x56360
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rdi
callq 0x54990
testb $0x1, %al
jne 0x559e1
jmp 0x55adc
movq -0x60(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x549c0
movq %rax, -0x70(%rbp)
movq $0x0, -0x78(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x68(%rbp), %rax
jge 0x55ad7
leaq -0x90(%rbp), %rdi
callq 0x8a380
movq -0x20(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x55110
movq %rax, -0x98(%rbp)
cmpq $0x0, -0x98(%rbp)
je 0x55a62
movq -0x98(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq 0x15c8e6(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0xa0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x55d23
movq -0x78(%rbp), %rax
cmpq -0x70(%rbp), %rax
jge 0x55a9f
movq -0x60(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0x90(%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 0x549f0
jmp 0x55ac4
leaq -0x90(%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 0x45510
jmp 0x55ac6
movq -0x78(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
jmp 0x559fa
jmp 0x55bb0
movq -0x60(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x68(%rbp), %rdx
callq 0x54a40
movq $0x0, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
cmpq -0x68(%rbp), %rax
jge 0x55bae
leaq -0xc0(%rbp), %rdi
callq 0x8a380
movq -0x20(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x55110
movq %rax, -0xc8(%rbp)
cmpq $0x0, -0xc8(%rbp)
je 0x55b63
movq -0xc8(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x15c7e5(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0xd0(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x55d23
movq -0x60(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq -0xc0(%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 0x549f0
movq -0xa8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xa8(%rbp)
jmp 0x55af8
jmp 0x55bb0
jmp 0x55cf7
jmp 0x55bb7
movq -0x20(%rbp), %rdi
callq 0x44f20
xorb $-0x1, %al
testb $0x1, %al
jne 0x55bcb
jmp 0x55cf5
movq -0x20(%rbp), %rdi
callq 0x557e0
movq %rax, -0xd8(%rbp)
cmpq $0x0, -0xd8(%rbp)
jne 0x55bea
jmp 0x55cf5
leaq -0xf0(%rbp), %rdi
callq 0x8a380
movq -0x20(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x55110
movq %rax, -0xf8(%rbp)
cmpq $0x0, -0xf8(%rbp)
je 0x55c44
movq -0xf8(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x15c704(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x100(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x55d23
movq -0x18(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x54ab0
testb $0x1, %al
jne 0x55c5a
jmp 0x55ccb
movq -0x28(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0xd8(%rbp), %rdx
leaq -0xf0(%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 0x45ea0
movq %rax, -0x108(%rbp)
cmpq $0x0, -0x108(%rbp)
je 0x55cc9
movq -0x108(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x15c67c(%rip), %rax    # 0x1b2330
movq (%rax), %rdi
callq 0xc0720
movq -0x110(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x55d23
jmp 0x55cf0
leaq -0xf0(%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 0x45510
jmp 0x55bb7
jmp 0x55cf7
jmp 0x55cf9
jmp 0x55cfb
jmp 0x55cfd
movq -0x28(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x54590
movq -0x28(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x54ae0
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq