// File: /workspace/github_c_makefile_star2_O1/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, %r14
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x14e1f6(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x58(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xe0431
movq (%rsp), %r13
movq $0x0, 0x10(%r13)
movq 0x8(%rbx), %r12
testq %r12, %r12
je 0x5af76
movl %ebp, 0xc(%rsp)
movq %r14, 0x20(%rsp)
movq (%r12), %r15
leaq 0x14f0b0(%rip), %rdx    # 0x1a9cc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r15, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x5ac71
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x5ac71
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x5ac71
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x5af90
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x5aca1
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r15, %rsi
callq 0xf3f85
movq %rax, %rbp
leaq 0x14f032(%rip), %rdi    # 0x1a9cc8
movq %r15, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbp, %rdi
movq %r12, %rsi
callq 0x10aa5d
movq %rax, 0x18(%rsp)
movq 0x8(%rbx), %r15
movq 0x10(%rbx), %r12
movq (%r15), %rbp
leaq 0x14f005(%rip), %rdx    # 0x1a9cc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %rbp, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x5ad1c
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x5ad1c
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x5ad1c
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x5af97
movq (%rax,%rcx), %r14
testq %r14, %r14
jne 0x5ad4c
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xf3f85
movq %rax, %r14
leaq 0x14ef87(%rip), %rdi    # 0x1a9cc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x10aa6e
xorl %eax, %eax
callq 0x109f7a
movabsq $0x420d5f875454e1c, %rdx # imm = 0x420D5F875454E1C
movq %r13, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
movq 0x8(%rbx), %r15
movq (%r15), %r12
leaq 0x14ef3f(%rip), %rdx    # 0x1a9cc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r12, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r12, %rdx
je 0x5ade2
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r12, %rdx
je 0x5ade2
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r12, %rdx
je 0x5ade2
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r12, %rdx
jne 0x5af9f
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x5ae12
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r12, %rsi
callq 0xf3f85
movq %rax, %rbp
leaq 0x14eec1(%rip), %rdi    # 0x1a9cc8
movq %r12, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbp, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x10a65c
cmpq $0x0, 0x8(%r13)
movq 0x20(%rsp), %r15
je 0x5aeb0
movq (%rsp), %rsi
leaq 0x28(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xe0431
movq 0x10(%rsp), %r14
movq $0x1, 0x10(%r14)
movq 0x8(%r13), %rdi
callq 0x115213
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movl $0x1, %esi
movq %r14, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r14
cmpb $0x0, 0xc(%rsp)
je 0x5ae91
movq 0x8(%r14), %rdi
callq 0xc9049
movq %r14, %rdi
movq %rax, %rsi
callq 0x11454b
movq 0x8(%r14), %rdx
leaq 0xf4dc8(%rip), %rsi     # 0x14fc64
movq %r15, %rdi
xorl %eax, %eax
callq 0x5afab
leaq 0x10(%rsp), %rdi
callq 0xe0b11
movq 0x18(%r13), %rdx
movq 0x20(%r13), %rcx
leaq 0xe765c(%rip), %rsi     # 0x14251b
movq %r15, %rdi
xorl %eax, %eax
callq 0x5afab
movq 0x8(%rbx), %rbx
movq (%rbx), %r14
leaq 0x14edf1(%rip), %rdx    # 0x1a9cc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x5af2c
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x5af2c
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x5af2c
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x5afa6
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x5af5c
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r15
leaq 0x14ed77(%rip), %rdi    # 0x1a9cc8
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r15, %rdi
movq %rbx, %rsi
movq 0x18(%rsp), %rdx
callq 0x10aa6e
movq %rsp, %rdi
callq 0xe0b11
jmp 0x5af7e
movq %r13, %rdi
callq 0xe0b30
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ebp, %ebp
jmp 0x5ac75
xorl %r14d, %r14d
jmp 0x5ad20
xorl %ebp, %ebp
jmp 0x5ade6
xorl %r15d, %r15d
jmp 0x5af30