// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_bcml_push_leaf_arr
void x_bcml_push_leaf_arr( x_sink* sink, tp_t t, const x_inst* leaf, sz_t size )
{
    // bcore_x_bcml.h:367:1
    
    switch( t )
    {
        case TYPEOF_aware_t : x_sink_push_data(sink,leaf, size * sizeof( aware_t ) ); break;
        case TYPEOF_bl_t    : { for(sz_t i = 0; i < size; i++ ) x_sink_push_bl(sink,((const bl_t*)(leaf))[ i ] ); } break; // bl is converted
        case TYPEOF_f2_t    : x_sink_push_data(sink,leaf, size * sizeof( f2_t ) ); break;
        case TYPEOF_f3_t    : x_sink_push_data(sink,leaf, size * sizeof( f3_t ) ); break;
        case TYPEOF_s0_t    : x_sink_push_data(sink,leaf, size * sizeof( s0_t ) ); break;
        case TYPEOF_s1_t    : x_sink_push_data(sink,leaf, size * sizeof( s1_t ) ); break;
        case TYPEOF_s2_t    : x_sink_push_data(sink,leaf, size * sizeof( s2_t ) ); break;
        case TYPEOF_s3_t    : x_sink_push_data(sink,leaf, 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++ ) x_sink_push_s3(sink,((const sz_t*)(leaf))[ i ] ); } break; // sz is converted
        case TYPEOF_uz_t    : { for(sz_t i = 0; i < size; i++ ) x_sink_push_u3(sink,((const uz_t*)(leaf))[ i ] ); } break; // uz is converted
        case TYPEOF_tp_t    : x_sink_push_data(sink,leaf, size * sizeof( tp_t ) ); break;
        case TYPEOF_u0_t    : x_sink_push_data(sink,leaf, size * sizeof( u0_t ) ); break;
        case TYPEOF_u1_t    : x_sink_push_data(sink,leaf, size * sizeof( u1_t ) ); break;
        case TYPEOF_u2_t    : x_sink_push_data(sink,leaf, size * sizeof( u2_t ) ); break;
        case TYPEOF_u3_t    : x_sink_push_data(sink,leaf, size * sizeof( u3_t ) ); break;
        default: ERR_fa( "Cannot convert array of type '#<sc_t>' into a binary stream.", bnameof( t ) );
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, (%rsp)
movq %rdi, %r14
movabsq $-0x3ac242643d9c35a9, %rax # imm = 0xC53DBD9BC263CA57
cmpq %rax, %rsi
movq %rcx, 0x8(%rsp)
movq %rdi, %r15
jg 0x7d113
movabsq $-0x5aa4411ac4e2880f, %rax # imm = 0xA55BBEE53B1D77F1
cmpq %rax, %rsi
jg 0x7d157
movabsq $-0x6119581ac7eacd64, %rax # imm = 0x9EE6A7E53815329C
cmpq %rax, %rsi
jg 0x7d25e
movabsq $-0x73f6ae1ad309fd45, %rax # imm = 0x8C0951E52CF602BB
cmpq %rax, %rsi
je 0x7d1c5
movabsq $-0x6bce971ace902370, %rax # imm = 0x943168E5316FDC90
cmpq %rax, %rsi
je 0x7d509
jmp 0x7d78a
movabsq $0x585a3b17ca3de1ff, %rax # imm = 0x585A3B17CA3DE1FF
cmpq %rax, %rsi
jg 0x7d18c
movabsq $-0x84b14e74a9e1ff1, %rax # imm = 0xF7B4EB18B561E00F
cmpq %rax, %rsi
jg 0x7d27c
movabsq $-0x3ac242643d9c35a8, %rax # imm = 0xC53DBD9BC263CA58
cmpq %rax, %rsi
je 0x7d5d2
movabsq $-0x388c46b188de83fe, %rax # imm = 0xC773B94E77217C02
jmp 0x7d467
movabsq $-0x4882601bdca6aefc, %rax # imm = 0xB77D9FE423595104
cmpq %rax, %rsi
jg 0x7d33b
movabsq $-0x5aa4411ac4e2880e, %rax # imm = 0xA55BBEE53B1D77F2
cmpq %rax, %rsi
je 0x7d470
movabsq $-0x58737885f0577326, %rax # imm = 0xA78C877A0FA88CDA
jmp 0x7d299
movabsq $0x69849117d3eb7d61, %rax # imm = 0x69849117D3EB7D61
cmpq %rax, %rsi
jg 0x7d44a
movabsq $0x585a3b17ca3de200, %rax # imm = 0x585A3B17CA3DE200
cmpq %rax, %rsi
je 0x7d470
movabsq $0x62367a17d02b474d, %rax # imm = 0x62367A17D02B474D
cmpq %rax, %rsi
jne 0x7d78a
movq (%r14), %r12
leaq 0x11f8e1(%rip), %rax    # 0x19cab0
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x7d225
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x7d225
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x7d225
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x7d232
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x7d59c
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x11f862(%rip), %rdi    # 0x19cab0
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
jmp 0x7d59c
movabsq $-0x6119581ac7eacd63, %rax # imm = 0x9EE6A7E53815329D
cmpq %rax, %rsi
je 0x7d2a2
movabsq $-0x5fc2af85f419929b, %rax # imm = 0xA03D507A0BE66D65
jmp 0x7d467
movabsq $-0x84b14e74a9e1ff0, %rax # imm = 0xF7B4EB18B561E010
cmpq %rax, %rsi
je 0x7d77b
movabsq $0x510c2417c67dabeb, %rax # imm = 0x510C2417C67DABEB
cmpq %rax, %rsi
jne 0x7d78a
movq (%r14), %r12
leaq 0x11f804(%rip), %rax    # 0x19cab0
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x7d302
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x7d302
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x7d302
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x7d30b
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x7d332
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x11f789(%rip), %rdi    # 0x19cab0
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
shlq $0x2, %rbx
jmp 0x7d59c
movabsq $-0x4882601bdca6aefb, %rax # imm = 0xB77D9FE423595105
cmpq %rax, %rsi
je 0x7d697
movabsq $-0x3f1363e6d8155aed, %rax # imm = 0xC0EC9C1927EAA513
cmpq %rax, %rsi
jne 0x7d78a
testq %rbx, %rbx
jle 0x7d77b
xorl %ebx, %ebx
leaq 0x11f73d(%rip), %r13    # 0x19cab0
leaq 0x10(%rsp), %rbp
movq (%rsp), %rax
movq (%rax,%rbx,8), %rax
movq %rax, 0x10(%rsp)
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), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x7d3df
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x7d3df
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x7d3df
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x7d3e8
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x7d40b
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r14), %rax
testq %rax, %rax
jne 0x7d427
movq %r14, %rdi
leaq 0xbcd18(%rip), %rsi     # 0x13a136
callq 0xeb49c
movq 0x10(%r14), %rax
movl $0x8, %edx
movq %r15, %r14
movq %r15, %rdi
movq %rbp, %rsi
callq *%rax
incq %rbx
cmpq %rbx, 0x8(%rsp)
jne 0x7d378
jmp 0x7d77b
movabsq $0x69849117d3eb7d62, %rax # imm = 0x69849117D3EB7D62
cmpq %rax, %rsi
je 0x7d509
movabsq $0x6d07f9ef5b68e8a2, %rax # imm = 0x6D07F9EF5B68E8A2
cmpq %rax, %rsi
jne 0x7d78a
movq (%r14), %r12
leaq 0x11f636(%rip), %rax    # 0x19cab0
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x7d4d0
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x7d4d0
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x7d4d0
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x7d4d9
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x7d500
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x11f5bb(%rip), %rdi    # 0x19cab0
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
shlq $0x3, %rbx
jmp 0x7d59c
movq (%r14), %r12
leaq 0x11f59d(%rip), %rax    # 0x19cab0
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r12, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x7d569
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x7d569
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x7d569
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x7d572
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x7d599
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x11f522(%rip), %rdi    # 0x19cab0
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
addq %rbx, %rbx
movq 0x10(%r13), %rax
testq %rax, %rax
jne 0x7d5b8
leaq 0xbcb8a(%rip), %rsi     # 0x13a136
movq %r13, %rdi
callq 0xeb49c
movq 0x10(%r13), %rax
movq %r14, %rdi
movq (%rsp), %rsi
movq %rbx, %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
testq %rbx, %rbx
jle 0x7d77b
xorl %ebx, %ebx
leaq 0x11f4cc(%rip), %r13    # 0x19cab0
movq (%rsp), %rax
movb (%rax,%rbx), %r12b
movq (%r14), %rbp
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x7d646
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x7d646
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x7d646
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x7d64f
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x7d672
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r13, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movzbl %r12b, %edx
movq %r14, %rdi
movq %r15, %r14
movq %r15, %rsi
callq 0xfe4a7
incq %rbx
cmpq %rbx, 0x8(%rsp)
jne 0x7d5e4
jmp 0x7d77b
testq %rbx, %rbx
jle 0x7d77b
xorl %ebx, %ebx
leaq 0x11f407(%rip), %r13    # 0x19cab0
leaq 0x10(%rsp), %rbp
movq (%rsp), %rax
movq (%rax,%rbx,8), %rax
movq %rax, 0x10(%rsp)
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), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x7d715
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x7d715
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x7d715
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x7d71e
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x7d741
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %r14
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r14), %rax
testq %rax, %rax
jne 0x7d75d
movq %r14, %rdi
leaq 0xbc9e2(%rip), %rsi     # 0x13a136
callq 0xeb49c
movq 0x10(%r14), %rax
movl $0x8, %edx
movq %r15, %r14
movq %r15, %rdi
movq %rbp, %rsi
callq *%rax
incq %rbx
cmpq %rbx, 0x8(%rsp)
jne 0x7d6ae
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rsi, %rdi
callq 0xd6ec4
leaq 0xba8e0(%rip), %rdi     # 0x138079
leaq 0xb9b8e(%rip), %rsi     # 0x13732e
leaq 0xba8e7(%rip), %rcx     # 0x13808e
movl $0x11cd, %edx           # imm = 0x11CD
movq %rax, %r8
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xbe6f9