// File: /workspace/github_c_makefile_star2_O1/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 0xe03d4
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 0xe0795
movq (%r15), %r12
movq 0x8(%r15), %rdi
movq 0x10(%r15), %r15
movabsq $-0x7e8ee9b9b4bbaa8, %rsi # imm = 0xF817116464B44558
callq 0xf58f8
movq %r12, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movq %r15, 0x28(%rsp)
xorl %eax, %eax
callq 0x1243cc
movq %r14, %rdi
movq %rax, %rsi
callq 0xe081c
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 0x124440
cmpq $0x0, (%r15)
jne 0x1087d4
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x4d7d2(%rip), %rdi     # 0x155f9f
xorl %eax, %eax
callq 0x10b866
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x114bbb
movq %r14, %rdi
movq %rax, %rsi
callq 0xe081c
movq %rax, %r15
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x1087fa
movq 0x8(%rax), %r12
movabsq $-0x3b86ea0301a54219, %rdi # imm = 0xC47915FCFE5ABDE7
movq %r12, %rsi
movq %r15, %rdx
callq 0x12223f
testb %al, %al
jne 0x10885d
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x108823
movq 0x8(%rax), %rdi
jmp 0x108825
xorl %edi, %edi
callq 0xe0cbc
testq %rax, %rax
leaq 0x4aebb(%rip), %rsi     # 0x1536ef
cmovneq %rax, %rsi
movq 0x8(%r15), %rdx
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x4d763(%rip), %rdi     # 0x155fb9
xorl %eax, %eax
callq 0x10b866
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 0xf58f8
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 0x1088d6
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%rsp)
callq 0x112485
movq %r14, %rdi
callq 0xe0403
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq