// File: /workspace/github_c_makefile_star2_O2/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_bcml_t_parse_leaf_arr_body
er_t x_bcml_t_parse_leaf_arr_body( x_bcml* o, tp_t t, sz_t size, x_source* source )
{
    // bcore_x_bcml.h:240:1
    
    switch( t )
    {
        case TYPEOF_aware_t : x_source_get_data(source,((x_inst*)(o)), size * sizeof( aware_t ) ); break;
        case TYPEOF_bl_t    : { for(sz_t i = 0; i < size; i++ ) { ((bl_t*)(o))[ i ] = x_source_get_bl(source); } } break; // bl is converted
        case TYPEOF_f2_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( f2_t ) ); break;
        case TYPEOF_f3_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( f3_t ) ); break;
        case TYPEOF_s0_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( s0_t ) ); break;
        case TYPEOF_s1_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( s1_t ) ); break;
        case TYPEOF_s2_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( s2_t ) ); break;
        case TYPEOF_s3_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( s3_t ) ); break;
        case TYPEOF_sc_t    : break; // c-style constant strings are skipped over
        case TYPEOF_sz_t    : { for(sz_t i = 0; i < size; i++ ) { ((sz_t*)(o))[ i ] = x_source_get_sz(source); } } break; // sz is converted
        case TYPEOF_uz_t    : { for(sz_t i = 0; i < size; i++ ) { ((uz_t*)(o))[ i ] = x_source_get_uz(source); } } break; // uz is converted
        case TYPEOF_tp_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( tp_t ) ); break;
        case TYPEOF_u0_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( u0_t ) ); break;
        case TYPEOF_u1_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( u1_t ) ); break;
        case TYPEOF_u2_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( u2_t ) ); break;
        case TYPEOF_u3_t    : x_source_get_data(source,((x_inst*)(o)), size * sizeof( u3_t ) ); break;
        default: ERR_fa( "Cannot convert array of type '#<sc_t>' from a binary stream.", bnameof( t ) );
    }
    return  0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %rbx
movq %rdi, %r14
movabsq $-0x73f6ae1ad309fd45, %rax # imm = 0x8C0951E52CF602BB
cmpq %rax, %rsi
je 0x39155
movabsq $-0x6bce971ace902370, %rax # imm = 0x943168E5316FDC90
cmpq %rax, %rsi
je 0x39152
movabsq $-0x6119581ac7eacd63, %rax # imm = 0x9EE6A7E53815329D
cmpq %rax, %rsi
je 0x3914c
movabsq $-0x5fc2af85f419929b, %rax # imm = 0xA03D507A0BE66D65
cmpq %rax, %rsi
je 0x39146
movabsq $-0x5aa4411ac4e2880e, %rax # imm = 0xA55BBEE53B1D77F2
cmpq %rax, %rsi
je 0x39146
movabsq $-0x58737885f0577326, %rax # imm = 0xA78C877A0FA88CDA
cmpq %rax, %rsi
je 0x3914c
movabsq $0x6d07f9ef5b68e8a2, %rax # imm = 0x6D07F9EF5B68E8A2
cmpq %rax, %rsi
je 0x39146
movabsq $-0x3f1363e6d8155aed, %rax # imm = 0xC0EC9C1927EAA513
cmpq %rax, %rsi
je 0x39191
movabsq $-0x3ac242643d9c35a8, %rax # imm = 0xC53DBD9BC263CA58
cmpq %rax, %rsi
je 0x39171
movabsq $-0x388c46b188de83fe, %rax # imm = 0xC773B94E77217C02
cmpq %rax, %rsi
je 0x39146
movabsq $-0x84b14e74a9e1ff0, %rax # imm = 0xF7B4EB18B561E010
cmpq %rax, %rsi
je 0x39163
movabsq $0x510c2417c67dabeb, %rax # imm = 0x510C2417C67DABEB
cmpq %rax, %rsi
je 0x3914c
movabsq $0x585a3b17ca3de200, %rax # imm = 0x585A3B17CA3DE200
cmpq %rax, %rsi
je 0x39146
movabsq $0x62367a17d02b474d, %rax # imm = 0x62367A17D02B474D
cmpq %rax, %rsi
je 0x39155
movabsq $0x69849117d3eb7d62, %rax # imm = 0x69849117D3EB7D62
cmpq %rax, %rsi
je 0x39152
movabsq $-0x4882601bdca6aefb, %rax # imm = 0xB77D9FE423595105
cmpq %rax, %rsi
jne 0x391b1
xorl %r12d, %r12d
testq %rbx, %rbx
cmovleq %r12, %rbx
cmpq %r12, %rbx
je 0x39163
movq %r15, %rdi
callq 0x37ef7
movq %rax, (%r14,%r12,8)
incq %r12
jmp 0x39130
shlq $0x3, %rbx
jmp 0x39155
shlq $0x2, %rbx
jmp 0x39155
addq %rbx, %rbx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x34684
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
xorl %r12d, %r12d
testq %rbx, %rbx
cmovleq %r12, %rbx
cmpq %r12, %rbx
je 0x39163
movq %r15, %rdi
callq 0x37dff
movb %al, (%r14,%r12)
incq %r12
jmp 0x3917b
xorl %r12d, %r12d
testq %rbx, %rbx
cmovleq %r12, %rbx
cmpq %r12, %rbx
je 0x39163
movq %r15, %rdi
callq 0x37ed5
movq %rax, (%r14,%r12,8)
incq %r12
jmp 0x3919b
movq %rsi, %rdi
callq 0x71db6
leaq 0x7c227(%rip), %rdi     # 0xb53e7
leaq 0x7b587(%rip), %rsi     # 0xb474e
leaq 0x7c236(%rip), %rcx     # 0xb5404
movl $0x1150, %edx           # imm = 0x1150
movq %rax, %r8
xorl %eax, %eax
callq 0x60186
jmp 0x39163