// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_bbml_t_test_transfer
sz_t x_bbml_t_test_transfer( const x_bbml* o, tp_t t )
{
    // bcore_x_bbml.h:424:1
    BLM_INIT_LEVEL(0);
    st_s* string = st_s_create();
    x_bbml_t_to_sink(o,t,((x_sink*)( string )));
    sz_t file_size = string->size;
    
    x_source* source = ((x_source*)BLM_LEVEL_A_PUSH(0,x_source_create_from_st_d(string )));
    
    x_bbml* o2 =((x_bbml*)( x_inst_t_create(t )));
    if( x_bbml_t_from_source(o2,t, source ) )
    {
        bcore_error_pop_all_to_stderr();
        ERR_fa( "\n" );
    }
    
    s2_t c = bcore_compare_bityped( t, o, t, o2 );
    if( c != 0 )
    {BLM_INIT_LEVEL(1);
        const st_s* diff = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,((st_s*)(bcore_diff_bityped( t, o, t, o2 )))));
        if( diff )
        {
            ERR( "Comparison returned '%"PRIi32"':\n%s\n", c, diff->sc );
        }
        else
        {
            ERR( "Comparison returned '%"PRIi32"' but diff returned 'NULL'\n", c );
        }
    BLM_DOWN();}
    
    x_inst_t_discard(((x_inst*)(o2)),t );
    BLM_RETURNV(sz_t, file_size)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x12313b(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0xd6675
movq $0x0, 0x10(%r13)
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x109c82
movq %rax, %rbp
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movl $0x1, %ecx
movq %rax, %r8
callq 0x7467f
movq 0x10(%rbp), %r14
movq %rbp, %rdi
callq 0xe4679
movq %r13, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xd6b17
movq %rax, %r13
movabsq $-0x3b1008a961ddaa8, %rdi # imm = 0xFC4EFF7569E22558
movq %rbx, %rsi
callq 0x116fb0
testq %rbx, %rbx
je 0x78da0
leaq 0x12375b(%rip), %rax    # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbx, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x78d63
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x78d63
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x78d63
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x78d6c
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x78d93
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x1236e0(%rip), %rdi    # 0x19c468
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
callq *0xa8(%r15)
movq %rax, %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x73ff3
testq %rax, %rax
je 0x78dd9
callq 0xbf031
leaq 0xbf183(%rip), %rdi     # 0x137f42
leaq 0xbe568(%rip), %rsi     # 0x13732e
leaq 0xcf947(%rip), %rcx     # 0x148714
movl $0x1093, %edx           # imm = 0x1093
xorl %eax, %eax
callq 0xbe6f9
movq %rbx, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq 0xf42c1
testl %eax, %eax
je 0x78e98
movl %eax, %ebp
leaq 0x38(%rsp), %r13
movq %r13, (%rsp)
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0xd6675
movq $0x1, 0x10(%r13)
movq %rbx, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq 0xf4d80
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movl $0x1, %esi
movq %r13, %rdi
movq %rax, %rcx
callq 0xd68a8
testq %rax, %rax
je 0x78e6c
movq 0x8(%rax), %r9
leaq 0xbf0f5(%rip), %rdi     # 0x137f42
leaq 0xbe4da(%rip), %rsi     # 0x13732e
leaq 0xbefbb(%rip), %rcx     # 0x137e16
movl $0x109c, %edx           # imm = 0x109C
movl %ebp, %r8d
xorl %eax, %eax
callq 0xbe592
jmp 0x78e90
leaq 0xbf0cf(%rip), %rdi     # 0x137f42
leaq 0xbe4b4(%rip), %rsi     # 0x13732e
leaq 0xbefb3(%rip), %rcx     # 0x137e34
movl $0x10a0, %edx           # imm = 0x10A0
movl %ebp, %r8d
xorl %eax, %eax
callq 0xbe592
movq %rsp, %rdi
callq 0xd6d0d
testq %r15, %r15
je 0x78f3c
leaq 0x1235c0(%rip), %rax    # 0x19c468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbx, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x78efe
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x78efe
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x78efe
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x78f07
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x78f2e
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x123545(%rip), %rdi    # 0x19c468
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
movq %r15, %rsi
callq *0xb8(%r12)
leaq 0x8(%rsp), %rdi
callq 0xd6d2c
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq