// File: /workspace/github_c_makefile_star2_O3/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, %r15
leaq 0x134434(%rip), %rbp    # 0x19bdd0
movq (%rbp), %rsi
leaq 0x38(%rsp), %r12
movq %r12, 0x8(%rsp)
movq %r12, %rdi
callq 0xd6675
movq $0x0, 0x10(%r12)
callq 0x56c50
movabsq $-0x74dceedd59a2bd6f, %rdx # imm = 0x8B231122A65D4291
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r13
leaq 0x8(%r15), %rdi
callq 0xe4653
movq %r12, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xd6b17
movq %r13, %rdi
movq %rax, %rsi
callq 0x56f5e
movq (%rbx), %rdx
leaq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
movq %rbx, %rcx
callq 0x57639
movq (%r12), %rbx
testq %rbx, %rbx
je 0x67aa9
cmpq $0x0, 0x38(%r15)
je 0x67ac3
movq %r14, 0x10(%rsp)
addq $0x28, %r15
xorl %r12d, %r12d
leaq 0x18(%rsp), %r14
movq %r12, (%r14)
movq (%rbp), %rsi
leaq 0x68(%rsp), %r13
movq %r13, %rdi
callq 0xd6675
movq %r12, 0x10(%r13)
movq %r15, %rdi
callq 0xe4653
movq %r13, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xd6b17
movq %rax, %rdi
movq %r14, %rsi
callq 0x6fd6f
movq %rax, %r15
movq %r13, %rdi
callq 0xd6d2c
leaq 0x38(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
callq 0xd68a8
movq (%r14), %r12
testq %r12, %r12
je 0x67ae3
movq %rax, %r15
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x67b06
movq 0x8(%rax), %r14
jmp 0x67b09
movq 0x10(%r15), %rdx
leaq 0xcfd42(%rip), %rsi     # 0x1377f6
movq %r14, %rdi
xorl %eax, %eax
callq 0xfe6d6
jmp 0x67bdf
leaq 0xcfd7e(%rip), %rsi     # 0x137848
movq %r14, %rdi
xorl %eax, %eax
callq 0xfe6d6
leaq 0x38(%rsp), %rdi
callq 0xd6d2c
jmp 0x67be9
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xbf00c
leaq 0xcfd66(%rip), %rsi     # 0x13785d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xfe6d6
jmp 0x67bdf
xorl %r14d, %r14d
leaq 0x134958(%rip), %rax    # 0x19c468
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 0x67b66
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x67b66
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x67b66
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x67b6f
movq (%rax,%rcx), %r13
testq %r13, %r13
jne 0x67b96
movabsq $0x782b96602f424981, %rdi # imm = 0x782B96602F424981
movq %r14, %rsi
callq 0xe9bc5
movq %rax, %r13
leaq 0x1348dd(%rip), %rdi    # 0x19c468
movq %r14, %rsi
movq %rax, %rdx
callq 0x115fac
cmpq %r15, %rbx
je 0x67bdf
cmpq %r12, 0x8(%r13)
jne 0x67bb3
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq *0x90(%r13)
jmp 0x67bdf
movq %r13, %rdi
movq %rbx, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq *0x98(%r13)
testq %rax, %rax
je 0x67bdf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
callq 0xd6d2c
movl %ebx, %edi
callq 0x54258
leaq 0x8(%rsp), %rdi
callq 0xd6d0d
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq