// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_frame_s_eval_op_assign
er_t x_btcl_frame_s_eval_op_assign( x_btcl_frame_s* o, s2_t op_priority, x_source* source, sr_s* sr )
{
    // bcore_x_btcl_op.x:340:1
    BLM_INIT_LEVEL(0);
    if( sr_s_is_const(sr) ) BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Assignment to a const object.\n" ))
    
    sr_s sb;BLM_T_INIT_SPUSH(sr_s, &sb);; BLM_TRY(x_btcl_frame_s_eval(o,op_priority, source,&( sb )))
    
    sr_s_set_const(&(sb),true );
    
    switch( sr_s_o_type(sr) )
    {
        case ((tp_t)(TYPEOF_x_btcl_null_variable_s)):
        {
            x_btcl_clone_if_weak_or_twice_referenced(&(sb ));
            sr_s* sr1 = x_btcl_frame_s_var_set(o,((const x_btcl_null_variable_s*)(sr->o))->tp_name, sr_tsm(sr_s_o_type(&(sb)), bcore_fork( sb.o ) ) );
            sr_s_twc(sr,sr_s_o_type(sr1), sr1->o );
        }
        break;
    
        case ((tp_t)(TYPEOF_x_btcl_null_member_s)):
        {BLM_INIT_LEVEL(3);
            sr_s sr1 = x_btcl_null_member_s_set_sr(((x_btcl_null_member_s*)(sr->o)),o, x_source_point_s_setup_from_source(((x_source_point_s*)BLM_LEVEL_T_PUSH(3,x_source_point_s,x_source_point_s_create())),source ),&( sb ));
            sr_s_down(sr);
            (*(sr)) = sr1;
        BLM_DOWN();}
        break;
    
        case ((tp_t)(TYPEOF_x_btcl_null_arr_element_s)):
        {BLM_INIT_LEVEL(3);
            sr_s sr1 = x_btcl_null_arr_element_s_set_sr(((x_btcl_null_arr_element_s*)(sr->o)),o, x_source_point_s_setup_from_source(((x_source_point_s*)BLM_LEVEL_T_PUSH(3,x_source_point_s,x_source_point_s_create())),source ),&( sb ));
            sr_s_down(sr);
            (*(sr)) = sr1;
        BLM_DOWN();}
        break;
    
        default:
        {
            if( sr->o )
            {BLM_INIT_LEVEL(4);
                er_t err = x_btcl_frame_s_generic_copy(o,x_source_point_s_setup_from_source(((x_source_point_s*)BLM_LEVEL_T_PUSH(4,x_source_point_s,x_source_point_s_create())),source ), sr,&( sb ));
                if( err ) {BLM_INIT_LEVEL(5); BLM_RETURNV(er_t, x_source_parse_error_fa(source,"operator '=': #<sc_t>\n", bcore_error_pop_all_to_st(((st_s*)BLM_LEVEL_T_PUSH(5,st_s,st_s_create())) )->sc )) BLM_DOWN();}
            BLM_DOWN();}
        }
        break;
    }
    
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %r14
leaq 0x116cb2(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x68(%rsp), %r12
movq %r12, %rdi
callq 0xe0431
movq $0x0, 0x10(%r12)
testb $0x1, 0x10(%rbx)
jne 0x92196
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x112ba5
leaq 0x68(%rsp), %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
movq %r12, %rdx
callq 0xe06ab
movq %r14, %rdi
movl %ebp, %esi
movq %r15, %rdx
movq %r12, %rcx
callq 0x88ece
movq %rax, %r12
testq %rax, %rax
jne 0x92497
orb $0x1, 0x30(%rsp)
testq %rbx, %rbx
je 0x921af
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x921af
movq 0x8(%rax), %rax
jmp 0x921b1
leaq 0xb1ace(%rip), %rsi     # 0x143c6b
movq %r15, %rdi
xorl %eax, %eax
callq 0x77b7c
movq %rax, %r12
jmp 0x92497
xorl %eax, %eax
movabsq $0x388af54280329140, %rcx # imm = 0x388AF54280329140
cmpq %rcx, %rax
je 0x92280
movabsq $0x528f7bf4c984ae7a, %rcx # imm = 0x528F7BF4C984AE7A
cmpq %rcx, %rax
je 0x9220c
movabsq $0x636781c0e7610236, %rcx # imm = 0x636781C0E7610236
cmpq %rcx, %rax
jne 0x92316
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x924c7
movq (%rbx), %rax
movq 0x8(%r15), %rcx
testq %rcx, %rcx
je 0x923fc
movq 0x8(%rcx), %r12
jmp 0x923ff
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %r12
movq %rdi, (%r12)
leaq 0x68(%rsp), %rsi
callq 0xe0431
movq (%r12), %r13
movq $0x3, 0x10(%r13)
movq (%rbx), %rbp
callq 0x59ec4
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movl $0x3, %esi
movq %r13, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x8c9dc
leaq 0x98(%rsp), %r15
leaq 0x20(%rsp), %r8
movq %r15, %rdi
movq %rbp, %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x9296d
jmp 0x922f2
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %r12
movq %rdi, (%r12)
leaq 0x68(%rsp), %rsi
callq 0xe0431
movq (%r12), %r13
movq $0x3, 0x10(%r13)
movq (%rbx), %rbp
callq 0x59ec4
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movl $0x3, %esi
movq %r13, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x8c9dc
leaq 0x98(%rsp), %r15
leaq 0x20(%rsp), %r8
movq %r15, %rdi
movq %rbp, %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x92539
movq %rbx, %rdi
callq 0x112baf
movq 0x10(%r15), %rax
movq %rax, 0x10(%rbx)
movups (%r15), %xmm0
movups %xmm0, (%rbx)
movq %r12, %rdi
callq 0xe0b11
jmp 0x92494
cmpq $0x0, (%rbx)
je 0x92494
leaq 0x38(%rsp), %rdi
movq %rdi, 0x18(%rsp)
leaq 0x68(%rsp), %rsi
callq 0xe0431
movq 0x18(%rsp), %r13
movq $0x4, 0x10(%r13)
callq 0x59ec4
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movl $0x4, %esi
movq %r13, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x8c9dc
leaq 0x20(%rsp), %rcx
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x8740f
movq %rax, %rbx
testq %rax, %rax
je 0x924b6
movq 0x18(%rsp), %rsi
leaq 0x98(%rsp), %r14
movq %r14, %rdi
callq 0xe0431
movq $0x5, 0x10(%r14)
xorl %eax, %eax
callq 0x114bbb
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movl $0x5, %esi
movq %r14, %rdi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
movq %rax, %rdi
callq 0xc8b80
movq 0x8(%r12), %rdx
leaq 0xb18a8(%rip), %rsi     # 0x143c8a
movq %r15, %rdi
xorl %eax, %eax
callq 0x77b7c
movq %rax, %r12
movq %r14, %rdi
callq 0xe0b30
jmp 0x924c0
xorl %r12d, %r12d
movq 0x8(%rax), %r15
movq 0x20(%rsp), %rdi
callq 0xc8348
movq %rax, %r13
testq %r12, %r12
je 0x9241f
movq %r12, %rdi
callq 0x1123e1
jmp 0x92421
xorl %eax, %eax
movq %r13, 0x38(%rsp)
movq %rax, 0x40(%rsp)
movl $0x2, %eax
movq %rax, 0x48(%rsp)
addq $0x78, %r14
movq %rax, 0x10(%rsp)
movups 0x38(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0xddff8
testq %rax, %rax
je 0x92466
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x92466
movq 0x8(%rcx), %r14
jmp 0x92469
xorl %r14d, %r14d
movq (%rax), %r15
movq %rbx, %rdi
callq 0x112baf
testq %r14, %r14
je 0x92483
movq %r14, %rdi
callq 0x1123e1
jmp 0x92485
xorl %eax, %eax
movq %r15, (%rbx)
movq %rax, 0x8(%rbx)
movq $0x1, 0x10(%rbx)
xorl %r12d, %r12d
leaq 0x68(%rsp), %rdi
callq 0xe0b30
movq %r12, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18(%rsp), %rdi
callq 0xe0b11
testq %rbx, %rbx
jne 0x924a1
jmp 0x92494