// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq 0x159636(%rip), %rax    # 0x1b2330
movq (%rax), %rax
movq %rax, -0x18(%rbp)
leaq -0x48(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xbfe80
movq -0x50(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq $0x0, 0x10(%rax)
movb $0x0, %al
callq 0xff2e0
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rdx
callq 0x571e0
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x58(%rbp), %rdi
callq 0x54f20
movq -0xd0(%rbp), %rdi
movq %rax, %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0xc0500
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rdi
callq 0x4a7f0
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x68(%rbp), %rdx
callq 0x56d80
cmpq $0x0, %rax
je 0x58dc7
callq 0x9e620
leaq 0xe700a(%rip), %rdi     # 0x13fdb7
leaq 0xe625a(%rip), %rsi     # 0x13f00e
movl $0x11cd, %edx           # imm = 0x11CD
leaq 0xf9c61(%rip), %rcx     # 0x152a21
movb $0x0, %al
callq 0x9d0f0
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
movq -0x70(%rbp), %rcx
callq 0xdff60
movl %eax, -0x74(%rbp)
cmpl $0x0, -0x74(%rbp)
je 0x58ed8
movq -0x50(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq -0xb0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rdi
movq -0x80(%rbp), %rsi
callq 0xbfe80
movq -0xb8(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq $0x1, 0x10(%rax)
movq -0x80(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
movq -0x70(%rbp), %rcx
callq 0xe0c10
movq -0xd8(%rbp), %rdi
movq %rax, %rcx
movl $0x1, %esi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
callq 0xc01a0
movq %rax, -0xc0(%rbp)
cmpq $0x0, -0xc0(%rbp)
je 0x58ea7
movl -0x74(%rbp), %r8d
movq -0xc0(%rbp), %rax
movq 0x8(%rax), %r9
leaq 0xe6f2c(%rip), %rdi     # 0x13fdb7
leaq 0xe617c(%rip), %rsi     # 0x13f00e
movl $0x11d6, %edx           # imm = 0x11D6
leaq 0xe6c64(%rip), %rcx     # 0x13fb02
movb $0x0, %al
callq 0x9cf40
jmp 0x58ecc
movl -0x74(%rbp), %r8d
leaq 0xe6f05(%rip), %rdi     # 0x13fdb7
leaq 0xe6155(%rip), %rsi     # 0x13f00e
movl $0x11da, %edx           # imm = 0x11DA
leaq 0xe6c5b(%rip), %rcx     # 0x13fb20
movb $0x0, %al
callq 0x9cf40
leaq -0xb8(%rbp), %rdi
callq 0xc06e0
movq -0x70(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x54bc0
movq -0x60(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x50(%rbp), %rdi
callq 0xc0720
movq -0xc8(%rbp), %rax
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax)