// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_bbml_push_leaf
void x_bbml_push_leaf( x_sink* sink, tp_t t, const x_inst* leaf )
{
    // bcore_x_bbml.h:332:1
    
    switch( t )
    {
        case TYPEOF_aware_t : x_sink_push_tp(sink,*(((const tp_t*)(leaf)) )); break;
        case TYPEOF_bl_t    : x_sink_push_bl(sink,*(((const bl_t*)(leaf)) )); break;
        case TYPEOF_f2_t    : x_sink_push_f2(sink,*(((const f2_t*)(leaf)) )); break;
        case TYPEOF_f3_t    : x_sink_push_f3(sink,*(((const f3_t*)(leaf)) )); break;
        case TYPEOF_s0_t    : x_sink_push_s0(sink,*(((const s0_t*)(leaf)) )); break;
        case TYPEOF_s1_t    : x_sink_push_s1(sink,*(((const s1_t*)(leaf)) )); break;
        case TYPEOF_s2_t    : x_sink_push_s2(sink,*(((const s2_t*)(leaf)) )); break;
        case TYPEOF_s3_t    : x_sink_push_s3(sink,*(((const s3_t*)(leaf)) )); break;
        case TYPEOF_sc_t    : break; // c-style constant strings are skipped over
        case TYPEOF_sz_t    : x_sink_push_sz(sink,*(((const sz_t*)(leaf)) )); break;
        case TYPEOF_uz_t    : x_sink_push_uz(sink,*(((const uz_t*)(leaf)) )); break;
        case TYPEOF_tp_t    : x_sink_push_tp(sink,*(((const tp_t*)(leaf)) )); break;
        case TYPEOF_u0_t    : x_sink_push_u0(sink,*(((const u0_t*)(leaf)) )); break;
        case TYPEOF_u1_t    : x_sink_push_u1(sink,*(((const u1_t*)(leaf)) )); break;
        case TYPEOF_u2_t    : x_sink_push_u2(sink,*(((const u2_t*)(leaf)) )); break;
        case TYPEOF_u3_t    : x_sink_push_u3(sink,*(((const u3_t*)(leaf)) )); break;
        default: ERR_fa( "Cannot convert type '#<sc_t>' into a binary stream.", bnameof( t ) );
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movabsq $-0x3ac242643d9c35a9, %rax # imm = 0xC53DBD9BC263CA57
cmpq %rax, %rsi
jg 0x77941
movabsq $-0x5aa4411ac4e2880f, %rax # imm = 0xA55BBEE53B1D77F1
cmpq %rax, %rsi
jg 0x77985
movabsq $-0x6119581ac7eacd64, %rax # imm = 0x9EE6A7E53815329C
cmpq %rax, %rsi
jg 0x77ac3
movabsq $-0x73f6ae1ad309fd45, %rax # imm = 0x8C0951E52CF602BB
cmpq %rax, %rsi
je 0x77da3
movabsq $-0x6bce971ace902370, %rax # imm = 0x943168E5316FDC90
cmpq %rax, %rsi
je 0x77cd8
jmp 0x77e4f
movabsq $0x585a3b17ca3de1ff, %rax # imm = 0x585A3B17CA3DE1FF
cmpq %rax, %rsi
jg 0x779cc
movabsq $-0x84b14e74a9e1ff1, %rax # imm = 0xF7B4EB18B561E00F
cmpq %rax, %rsi
jg 0x77af3
movabsq $-0x3ac242643d9c35a8, %rax # imm = 0xC53DBD9BC263CA58
cmpq %rax, %rsi
je 0x77da3
movabsq $-0x388c46b188de83fe, %rax # imm = 0xC773B94E77217C02
jmp 0x77c0f
movabsq $-0x4882601bdca6aefc, %rax # imm = 0xB77D9FE423595104
cmpq %rax, %rsi
jg 0x77bd7
movabsq $-0x5aa4411ac4e2880e, %rax # imm = 0xA55BBEE53B1D77F2
cmpq %rax, %rsi
je 0x77c18
movabsq $-0x58737885f0577326, %rax # imm = 0xA78C877A0FA88CDA
cmpq %rax, %rsi
jne 0x77e4f
movss (%rdx), %xmm0
movss %xmm0, (%rsp)
jmp 0x77b1e
movabsq $0x69849117d3eb7d61, %rax # imm = 0x69849117D3EB7D61
cmpq %rax, %rsi
jg 0x77bf2
movabsq $0x585a3b17ca3de200, %rax # imm = 0x585A3B17CA3DE200
cmpq %rax, %rsi
je 0x77c18
movabsq $0x62367a17d02b474d, %rax # imm = 0x62367A17D02B474D
cmpq %rax, %rsi
jne 0x77e4f
movb (%rdx), %al
movb %al, (%rsp)
movq (%rbx), %r14
leaq 0x12509c(%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 %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x77a6a
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x77a6a
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x77a6a
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x77a73
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x77a9a
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x125021(%rip), %rdi    # 0x19cab0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r15), %rax
testq %rax, %rax
jne 0x77ab6
leaq 0xc268c(%rip), %rsi     # 0x13a136
movq %r15, %rdi
callq 0xeb49c
movq 0x10(%r15), %rax
movq %rsp, %rsi
movl $0x1, %edx
jmp 0x77d93
movabsq $-0x6119581ac7eacd63, %rax # imm = 0x9EE6A7E53815329D
cmpq %rax, %rsi
je 0x77b19
movabsq $-0x5fc2af85f419929b, %rax # imm = 0xA03D507A0BE66D65
cmpq %rax, %rsi
jne 0x77e4f
movsd (%rdx), %xmm0
movsd %xmm0, (%rsp)
jmp 0x77c1f
movabsq $-0x84b14e74a9e1ff0, %rax # imm = 0xF7B4EB18B561E010
cmpq %rax, %rsi
je 0x77d98
movabsq $0x510c2417c67dabeb, %rax # imm = 0x510C2417C67DABEB
cmpq %rax, %rsi
jne 0x77e4f
movl (%rdx), %eax
movl %eax, (%rsp)
movq (%rbx), %r14
leaq 0x124f88(%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 %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x77b7e
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x77b7e
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x77b7e
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x77b87
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x77bae
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x124f0d(%rip), %rdi    # 0x19cab0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r15), %rax
testq %rax, %rax
jne 0x77bca
leaq 0xc2578(%rip), %rsi     # 0x13a136
movq %r15, %rdi
callq 0xeb49c
movq 0x10(%r15), %rax
movq %rsp, %rsi
movl $0x4, %edx
jmp 0x77d93
movabsq $-0x4882601bdca6aefb, %rax # imm = 0xB77D9FE423595105
cmpq %rax, %rsi
je 0x77c18
movabsq $-0x3f1363e6d8155aed, %rax # imm = 0xC0EC9C1927EAA513
jmp 0x77c0f
movabsq $0x69849117d3eb7d62, %rax # imm = 0x69849117D3EB7D62
cmpq %rax, %rsi
je 0x77cd8
movabsq $0x6d07f9ef5b68e8a2, %rax # imm = 0x6D07F9EF5B68E8A2
cmpq %rax, %rsi
jne 0x77e4f
movq (%rdx), %rax
movq %rax, (%rsp)
movq (%rbx), %r14
leaq 0x124e87(%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 %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x77c7f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x77c7f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x77c7f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x77c88
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x77caf
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x124e0c(%rip), %rdi    # 0x19cab0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r15), %rax
testq %rax, %rax
jne 0x77ccb
leaq 0xc2477(%rip), %rsi     # 0x13a136
movq %r15, %rdi
callq 0xeb49c
movq 0x10(%r15), %rax
movq %rsp, %rsi
movl $0x8, %edx
jmp 0x77d93
movzwl (%rdx), %eax
movw %ax, (%rsp)
movq (%rbx), %r14
leaq 0x124dc7(%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 %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x77d3f
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x77d3f
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x77d3f
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x77d48
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x77d6f
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x124d4c(%rip), %rdi    # 0x19cab0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%r15), %rax
testq %rax, %rax
jne 0x77d8b
leaq 0xc23b7(%rip), %rsi     # 0x13a136
movq %r15, %rdi
callq 0xeb49c
movq 0x10(%r15), %rax
movq %rsp, %rsi
movl $0x2, %edx
movq %rbx, %rdi
callq *%rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movb (%rdx), %bpl
movq (%rbx), %r14
leaq 0x124d00(%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 %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x77e06
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x77e06
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x77e06
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x77e0f
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x77e36
movabsq $0x5ea8cabb93ff3b7e, %rdi # imm = 0x5EA8CABB93FF3B7E
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x124c85(%rip), %rdi    # 0x19cab0
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movzbl %bpl, %edx
movq %r15, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xfe4a7
movq %rsi, %rdi
callq 0xd6ec4
leaq 0xc009f(%rip), %rdi     # 0x137efd
leaq 0xbf4c9(%rip), %rsi     # 0x13732e
leaq 0xc00a2(%rip), %rcx     # 0x137f0e
movl $0x103d, %edx           # imm = 0x103D
movq %rax, %r8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xbe6f9