// File: /workspace/github_c_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %r14
leaq 0x1469db(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x28(%rsp), %rbx
movq %rbx, 0x8(%rsp)
movq %rbx, %rdi
callq 0xd6675
movq $0x0, 0x10(%rbx)
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x55774
movl %ebp, 0x4(%rsp)
movq %r15, 0x18(%rsp)
movq (%r12), %rbx
leaq 0x147895(%rip), %r15    # 0x19ccc8
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0x55489
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x55489
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x55489
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x55492
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x554b9
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x14781a(%rip), %rdi    # 0x19ccc8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r13, %rdi
movq %r12, %rsi
callq 0xffe72
movq %rax, 0x10(%rsp)
movq 0x8(%r14), %r13
movq 0x10(%r14), %rbx
movq (%r13), %r12
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x5552b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x5552b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x5552b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x55534
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x5555b
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %rbp
leaq 0x147778(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xffe83
xorl %eax, %eax
callq 0xff39f
leaq 0x28(%rsp), %rdi
movabsq $0x420d5f875454e1c, %rdx # imm = 0x420D5F875454E1C
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r13
movq 0x8(%r14), %rbx
movq (%rbx), %r12
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x555e9
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x555e9
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x555e9
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x555f2
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x55619
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xe9bc5
movq %rax, %rbp
leaq 0x1476ba(%rip), %rdi    # 0x19ccc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0xffa74
cmpq $0x0, 0x8(%r13)
movq 0x18(%rsp), %r12
je 0x556b2
movq 0x8(%rsp), %rsi
leaq 0x58(%rsp), %rbx
movq %rbx, 0x20(%rsp)
movq %rbx, %rdi
callq 0xd6675
movq $0x1, 0x10(%rbx)
movq 0x8(%r13), %rdi
callq 0x10a2da
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movl $0x1, %esi
movq %rbx, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %rbx
cmpb $0x0, 0x4(%rsp)
je 0x55693
movq 0x8(%rbx), %rdi
callq 0xbf4cf
movq %rbx, %rdi
movq %rax, %rsi
callq 0x109612
movq 0x8(%rbx), %rdx
leaq 0xef5d7(%rip), %rsi     # 0x144c75
movq %r12, %rdi
xorl %eax, %eax
callq 0x55790
leaq 0x20(%rsp), %rdi
callq 0xd6d0d
movq 0x18(%r13), %rdx
movq 0x20(%r13), %rcx
leaq 0xe1cd2(%rip), %rsi     # 0x137393
movq %r12, %rdi
xorl %eax, %eax
callq 0x55790
movq 0x8(%r14), %rbx
movq (%rbx), %r14
movl (%r15), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r15,%rax,8), %rcx
movq 0x18(%r15,%rax,8), %rdx
andq %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x55728
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x55728
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x55728
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x55731
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x55758
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r15
leaq 0x14757b(%rip), %rdi    # 0x19ccc8
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %rbx, %rsi
movq 0x10(%rsp), %rdx
callq 0xffe83
leaq 0x8(%rsp), %rdi
callq 0xd6d0d
jmp 0x5577e
leaq 0x28(%rsp), %rdi
callq 0xd6d2c
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq