// File: /workspace/github_c_makefile_star2_O0/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_source_point_s_source_reference_to_sink
void x_source_point_s_source_reference_to_sink( const x_source_point_s* o, bl_t file_name_only, x_sink* sink )
{
    // bcore_x_source.h:256:1
    BLM_INIT_LEVEL(0);
    if( !o->source ) BLM_RETURN();
    s3_t index = x_source_get_index(o->source);
    x_source_set_index(o->source,o->index );
    
    bcore_source_context_s* context = ((bcore_source_context_s*)BLM_LEVEL_T_PUSH(0,bcore_source_context_s,bcore_source_context_s_create()));
    bcore_source_a_get_context(((const bcore_source*)(o->source)),context );
    
    if( context->file_path )
    {BLM_INIT_LEVEL(1);
        st_s* file = ((st_s*)BLM_LEVEL_T_PUSH(1,st_s,st_s_clone(context->file_path)));
        if( file_name_only ) st_s_copy_sc(file,bcore_file_name(file->sc ) );
        x_sink_push_fa(sink,"#<sc_t>", file->sc );
    BLM_DOWN();}
    
    x_sink_push_fa(sink,":#<sz_t>:#<sz_t>", context->line, context->col );
    x_source_set_index(o->source,index );
    BLM_DOWN();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
leaq 0x16efbe(%rip), %rax    # 0x1b2330
movq (%rax), %rax
movq %rax, -0x20(%rbp)
leaq -0x50(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xbfe80
movq -0x58(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x433bb
movq -0x58(%rbp), %rdi
callq 0xc0720
jmp 0x43546
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x431f0
movq %rax, -0x60(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x431c0
movq -0x20(%rbp), %rax
movq %rax, -0xb8(%rbp)
movb $0x0, %al
callq 0xf2270
movq -0xb8(%rbp), %rdi
movq %rax, %rcx
xorl %eax, %eax
movl %eax, %esi
movabsq $0x420d5f875454e1c, %rdx # imm = 0x420D5F875454E1C
callq 0xc01a0
movq %rax, -0x68(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x68(%rbp), %rsi
callq 0x43550
movq -0x68(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x4350a
movq -0x58(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0xbfe80
movq -0xa8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq $0x1, 0x10(%rax)
movq -0x70(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0xff990
movq -0xc0(%rbp), %rdi
movq %rax, %rcx
movl $0x1, %esi
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
callq 0xc01a0
movq %rax, -0xb0(%rbp)
testb $0x1, -0x9(%rbp)
je 0x434e1
movq -0xb0(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xb0(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x9f460
movq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0xfea50
movq -0x18(%rbp), %rdi
movq -0xb0(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x10ba2e(%rip), %rsi    # 0x14ef25
movb $0x0, %al
callq 0x43590
leaq -0xa8(%rbp), %rdi
callq 0xc06e0
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rax
movq 0x18(%rax), %rdx
movq -0x68(%rbp), %rax
movq 0x20(%rax), %rcx
leaq 0xfbb4e(%rip), %rsi     # 0x13f073
movb $0x0, %al
callq 0x43590
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x60(%rbp), %rsi
callq 0x431c0
leaq -0x58(%rbp), %rdi
callq 0xc06e0
addq $0xd0, %rsp
popq %rbp
retq
nop