// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: bcore_shell_op_default_set_s_run
BCORE_DEFINE_OBJECT_INST_P_NASC_END( bcore_shell_op_default_set_s )

void bcore_shell_op_default_set_s_run( bcore_shell_op_default_set_s* o, bcore_shell* obj, const bcore_main_frame_s* main_frame, x_source* source, bcore_sink* sink, bcore_shell_control_s* control )
{
    // bcore_shell.h:600:9
    BLM_INIT_LEVEL(0);
    sr_s sr = x_stamp_path_s_get_sr_in(x_stamp_path_s_parse(((x_stamp_path_s*)BLM_LEVEL_T_PUSH(0,x_stamp_path_s,x_stamp_path_s_create())),((x_source*)BLM_LEVEL_A_PUSH(0,x_source_create_from_st(&(o->path )))) ),((const x_inst*)(obj )));
    if( sr.o )
    {
        if( o->source.size == 0 )
        {
            bcore_sink_a_push_fa(sink,"No value specified.\n" );
            BLM_RETURN();
        }
        tp_t type = 0;
        x_btml* val = ((x_btml*)BLM_LEVEL_TV_PUSH(0,type ,x_btml_create_from_st_t(&(o->source), (&(type)) )));
        if( type )
        {
            BLM_TRY_EXIT(x_inst_t_copy_typed(sr.o,sr_s_type(&( sr )), type,((const x_inst*)( val ))))
        }
        else
        {
            bcore_error_pop_all_to_sink(sink );
            bcore_sink_a_push_fa(sink,"Could not assign value.\n" );
        }
    }
    else
    {
        bcore_sink_a_push_fa(sink,"Path '#<sc_t>' not found.\n", o->path.sc );
    }
    BLM_DOWN();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r8, %r14
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x13afaf(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x38(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xe0431
movq 0x8(%rsp), %r15
movq $0x0, 0x10(%r15)
callq 0x5c50a
movabsq $-0x74dceedd59a2bd6f, %rdx # imm = 0x8B231122A65D4291
movq %r15, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
leaq 0x8(%r12), %rdi
callq 0xee7cd
movq %r15, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xe0900
movq %r13, %rdi
movq %rax, %rsi
callq 0x5c826
movq (%rbx), %rdx
leaq 0x20(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
movq %rbx, %rcx
callq 0x5cf36
movq (%rbp), %rbx
testq %rbx, %rbx
je 0x6df34
movq %r14, 0x10(%rsp)
cmpq $0x0, 0x38(%r12)
je 0x6df4f
addq $0x28, %r12
xorl %r13d, %r13d
leaq 0x18(%rsp), %r14
movq %r13, (%r14)
leaq 0x13af05(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x68(%rsp), %rbp
movq %rbp, %rdi
callq 0xe0431
movq %r13, 0x10(%rbp)
movq %r12, %rdi
callq 0xee7cd
movq %rbp, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xe0900
movq %rax, %rdi
movq %r14, %rsi
callq 0x7668a
movq %rax, %r12
movq %rbp, %rdi
callq 0xe0b30
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r12, %rcx
callq 0xe0676
movq (%r14), %r12
testq %r12, %r12
je 0x6df71
movq %rax, %r15
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x6df94
movq 0x8(%rax), %r14
jmp 0x6df97
movq 0x10(%r12), %rdx
leaq 0xd4a3e(%rip), %rsi     # 0x14297e
movq %r14, %rdi
xorl %eax, %eax
callq 0x109273
jmp 0x6e073
leaq 0xd4a7a(%rip), %rsi     # 0x1429d0
movq 0x10(%rsp), %rdi
xorl %eax, %eax
callq 0x109273
movq 0x8(%rsp), %rdi
callq 0xe0b30
jmp 0x6e07d
movq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0xc8b80
leaq 0xd4a60(%rip), %rsi     # 0x1429e5
movq %r14, %rdi
xorl %eax, %eax
callq 0x109273
jmp 0x6e073
xorl %r14d, %r14d
leaq 0x13b4ca(%rip), %rax    # 0x1a9468
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r14, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x6dff8
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x6dff8
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x6dff8
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x6e08f
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x6e028
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r13
leaq 0x13b44b(%rip), %rdi    # 0x1a9468
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq %r15, %rbx
je 0x6e043
cmpq %r12, 0x8(%r13)
jne 0x6e047
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq *0x90(%r13)
xorl %ebx, %ebx
jmp 0x6e05d
movq %r13, %rdi
movq %rbx, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq *0x98(%r13)
movq %rax, %rbx
testq %rbx, %rbx
je 0x6e073
movq 0x8(%rsp), %rdi
callq 0xe0b30
movl %ebx, %edi
callq 0x59990
leaq 0x8(%rsp), %rdi
callq 0xe0b11
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r13d, %r13d
jmp 0x6dffc