// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btml_t_test_transfer
sz_t x_btml_t_test_transfer( const x_btml* o, tp_t t )
{
    // bcore_x_btml.h:682:1
    BLM_INIT_LEVEL(0);
    st_s* string = st_s_create();
    x_btml_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_btml* o2 =((x_btml*)( x_inst_t_create(t )));
    if( x_btml_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 0x15d626(%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 0x4d770
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 0x51e30
cmpq $0x0, %rax
je 0x54dd7
callq 0x9e620
leaq 0xead2e(%rip), %rdi     # 0x13faeb
leaq 0xea24a(%rip), %rsi     # 0x13f00e
movl $0xed4, %edx            # imm = 0xED4
leaq 0xfdc51(%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 0x54ee8
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 0x54eb7
movl -0x74(%rbp), %r8d
movq -0xc0(%rbp), %rax
movq 0x8(%rax), %r9
leaq 0xeac50(%rip), %rdi     # 0x13faeb
leaq 0xea16c(%rip), %rsi     # 0x13f00e
movl $0xedd, %edx            # imm = 0xEDD
leaq 0xeac54(%rip), %rcx     # 0x13fb02
movb $0x0, %al
callq 0x9cf40
jmp 0x54edc
movl -0x74(%rbp), %r8d
leaq 0xeac29(%rip), %rdi     # 0x13faeb
leaq 0xea145(%rip), %rsi     # 0x13f00e
movl $0xee1, %edx            # imm = 0xEE1
leaq 0xeac4b(%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)