// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore_spect_interpreter.c
// Function: bcore_interpret_auto
sr_s bcore_interpret_auto( sr_s source )
{
    bcore_life_s* l = bcore_life_s_create();
    sr_s src = sr_cp( bcore_life_s_push_sr( l, source ), TYPEOF_bcore_source_s );
    bcore_txt_ml_interpreter_s* txt_ml = bcore_life_s_push_aware( l, bcore_txt_ml_interpreter_s_create() );
    sr_s interpreter = bcore_txt_ml_interpreter_s_interpret( txt_ml, src );

    if( !interpreter.o ) bcore_source_x_parse_err_fa( src, "No interpreter specified." );

    st_s* log = bcore_life_s_push_aware( l, st_s_create() );
    if( !bcore_trait_satisfied_type( typeof( "bcore_interpreter" ), sr_s_type( &interpreter ), log ) )
    {
        bcore_source_x_parse_err_fa( src, "Object '#<sc_t>' is no interpreter.\nReason: #<sc_t>", ifnameof( sr_s_type( &interpreter ) ), log->sc );
    }

    sr_s obj = bcore_interpret_x( interpreter, src );

    bcore_life_s_discard( l );

    return obj;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
xorl %eax, %eax
callq 0xd6618
movq %rax, %r14
movq 0xd0(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0xc0(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x80(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xd69ba
movq (%r15), %r12
movq 0x8(%r15), %rdi
movq 0x10(%r15), %r15
movabsq $-0x7e8ee9b9b4bbaa8, %rsi # imm = 0xF817116464B44558
callq 0xeb464
movq %r12, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movq %r15, 0x28(%rsp)
xorl %eax, %eax
callq 0x11901d
movq %r14, %rdi
movq %rax, %rsi
callq 0xd6a3c
movq 0x28(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x48(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x119091
cmpq $0x0, (%r15)
jne 0xfdc44
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x4d38a(%rip), %rdi     # 0x14afc7
xorl %eax, %eax
callq 0x100c6a
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x109c82
movq %r14, %rdi
movq %rax, %rsi
callq 0xd6a3c
movq %rax, %r15
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0xfdc6a
movq 0x8(%rax), %r12
movabsq $-0x3b86ea0301a54219, %rdi # imm = 0xC47915FCFE5ABDE7
movq %r12, %rsi
movq %r15, %rdx
callq 0x116f32
testb %al, %al
jne 0xfdccd
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0xfdc93
movq 0x8(%rax), %rdi
jmp 0xfdc95
xorl %edi, %edi
callq 0xd6ec4
testq %rax, %rax
leaq 0x4aa71(%rip), %rsi     # 0x148715
cmovneq %rax, %rsi
movq 0x8(%r15), %rdx
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x4d31b(%rip), %rdi     # 0x14afe1
xorl %eax, %eax
callq 0x100c6a
movq 0x28(%rsp), %rax
movq %rax, 0x70(%rsp)
movups 0x18(%rsp), %xmm0
movaps %xmm0, 0x60(%rsp)
movups 0x48(%rsp), %xmm0
movaps %xmm0, 0x30(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x38(%rsp), %rdi
movabsq $0x629d5ac4ae32e121, %rsi # imm = 0x629D5AC4AE32E121
callq 0xeb464
movq 0x30(%rsp), %rsi
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movaps 0x60(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq *0x10(%rax)
testb $0x2, 0x40(%rsp)
je 0xfdd46
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x107590
movq %r14, %rdi
callq 0xd6647
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq