// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_bcml_t_test_transfer
sz_t x_bcml_t_test_transfer( const x_bcml* o, tp_t t )
{
    // bcore_x_bcml.h:463:1
    BLM_INIT_LEVEL(0);
    st_s* string = st_s_create();
    x_bcml_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_bcml* o2 =((x_bcml*)( x_inst_t_create(t )));
    if( x_bcml_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 0x11e2c7(%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
movl $0x1, %edx
movl $0x1, %ecx
movl $0x1, %r8d
movq %rax, %r9
callq 0x796f1
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 0x7dc1d
leaq 0x11e8de(%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 0x7dbe0
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x7dbe0
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x7dbe0
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x7dbe9
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x7dc10
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x11e863(%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 0x79025
testq %rax, %rax
je 0x7dc56
callq 0xbf031
leaq 0xba48f(%rip), %rdi     # 0x1380cb
leaq 0xb96eb(%rip), %rsi     # 0x13732e
leaq 0xcaaca(%rip), %rcx     # 0x148714
movl $0x1227, %edx           # imm = 0x1227
xorl %eax, %eax
callq 0xbe6f9
movq %rbx, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq 0xf42c1
testl %eax, %eax
je 0x7dd15
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 0x7dce9
movq 0x8(%rax), %r9
leaq 0xba401(%rip), %rdi     # 0x1380cb
leaq 0xb965d(%rip), %rsi     # 0x13732e
leaq 0xba13e(%rip), %rcx     # 0x137e16
movl $0x1230, %edx           # imm = 0x1230
movl %ebp, %r8d
xorl %eax, %eax
callq 0xbe592
jmp 0x7dd0d
leaq 0xba3db(%rip), %rdi     # 0x1380cb
leaq 0xb9637(%rip), %rsi     # 0x13732e
leaq 0xba136(%rip), %rcx     # 0x137e34
movl $0x1234, %edx           # imm = 0x1234
movl %ebp, %r8d
xorl %eax, %eax
callq 0xbe592
movq %rsp, %rdi
callq 0xd6d0d
testq %r15, %r15
je 0x7ddb9
leaq 0x11e743(%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 0x7dd7b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x7dd7b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x7dd7b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x7dd84
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x7ddab
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x11e6c8(%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