// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq 0x15b8c6(%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 0x55420
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 0x55040
cmpq $0x0, %rax
je 0x56b37
callq 0x9e620
leaq 0xe9111(%rip), %rdi     # 0x13fc2e
leaq 0xe84ea(%rip), %rsi     # 0x13f00e
movl $0x103a, %edx           # imm = 0x103A
leaq 0xfbef1(%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 0x56c48
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 0x56c17
movl -0x74(%rbp), %r8d
movq -0xc0(%rbp), %rax
movq 0x8(%rax), %r9
leaq 0xe9033(%rip), %rdi     # 0x13fc2e
leaq 0xe840c(%rip), %rsi     # 0x13f00e
movl $0x1043, %edx           # imm = 0x1043
leaq 0xe8ef4(%rip), %rcx     # 0x13fb02
movb $0x0, %al
callq 0x9cf40
jmp 0x56c3c
movl -0x74(%rbp), %r8d
leaq 0xe900c(%rip), %rdi     # 0x13fc2e
leaq 0xe83e5(%rip), %rsi     # 0x13f00e
movl $0x1047, %edx           # imm = 0x1047
leaq 0xe8eeb(%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)