// File: /workspace/github_c_makefile_star2_O3/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 $0xd8, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %r14
leaq 0x111f35(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x48(%rsp), %r12
movq %r12, %rdi
callq 0xd6675
movq $0x0, 0x10(%r12)
testb $0x1, 0x10(%rbx)
jne 0x89f8f
leaq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0x107c9f
leaq 0x48(%rsp), %rdi
movabsq $0x79b76918ff0af12a, %rsi # imm = 0x79B76918FF0AF12A
movq %r12, %rdx
callq 0xd68d9
movq %r14, %rdi
movl %ebp, %esi
movq %r15, %rdx
movq %r12, %rcx
callq 0x81403
testq %rax, %rax
jne 0x89fa0
orb $0x1, 0x40(%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x89fc2
movq 0x8(%rax), %rax
movabsq $0x388af54280329140, %rcx # imm = 0x388AF54280329140
cmpq %rcx, %rax
je 0x8a26f
movabsq $0x528f7bf4c984ae7a, %rcx # imm = 0x528F7BF4C984AE7A
cmpq %rcx, %rax
je 0x8a14a
movabsq $0x636781c0e7610236, %rcx # imm = 0x636781C0E7610236
cmpq %rcx, %rax
jne 0x89fc2
leaq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0x8a455
movq (%rbx), %rax
movq 0x8(%rax), %r15
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x8a3b5
movq 0x8(%rax), %r13
movq 0x30(%rsp), %rdi
callq 0xbe7e4
movq %rax, %r12
testq %r13, %r13
je 0x8a3c2
movq %r13, %rdi
callq 0x1074f1
jmp 0x8a3c4
leaq 0xaeb4d(%rip), %rsi     # 0x138ae3
movq %r15, %rdi
xorl %eax, %eax
callq 0x71189
movq %rax, %r12
leaq 0x48(%rsp), %rdi
callq 0xd6d2c
movq %r12, %rax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, (%rbx)
je 0x8a443
leaq 0x78(%rsp), %r12
movq %r12, 0x20(%rsp)
leaq 0x48(%rsp), %rsi
movq %r12, %rdi
callq 0xd6675
movq $0x4, 0x10(%r12)
callq 0x5475f
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movl $0x4, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
leaq 0x8(%rax), %r13
movq %r15, %rdi
callq 0xbe7e4
movq %r13, %rdi
movq %rax, %rsi
callq 0x6475d
movq (%r15), %r13
leaq 0x112c99(%rip), %rax    # 0x19ccc8
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r13, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x8a085
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x8a085
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x8a085
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x8a08e
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x8a0b5
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %rbp
leaq 0x112c1e(%rip), %rdi    # 0x19ccc8
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r15, %rsi
callq 0xffe72
movq %rax, 0x10(%r12)
leaq 0x30(%rsp), %rcx
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x7fc0d
testq %rax, %rax
je 0x8a3a6
movq 0x20(%rsp), %rsi
leaq 0xa8(%rsp), %rbx
movq %rbx, %rdi
callq 0xd6675
movq $0x5, 0x10(%rbx)
xorl %eax, %eax
callq 0x109c82
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movl $0x5, %esi
movq %rbx, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r14
movq %rax, %rdi
callq 0xbf00c
movq 0x8(%r14), %rdx
leaq 0xae9cd(%rip), %rsi     # 0x138b02
movq %r15, %rdi
xorl %eax, %eax
callq 0x71189
movq %rax, %r12
movq %rbx, %rdi
jmp 0x89fa8
leaq 0x78(%rsp), %r12
movq %r12, 0x20(%rsp)
leaq 0x48(%rsp), %rsi
movq %r12, %rdi
callq 0xd6675
movq $0x3, 0x10(%r12)
movq (%rbx), %rax
movq %rax, 0x28(%rsp)
callq 0x5475f
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movl $0x3, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r13
leaq 0x8(%rax), %r12
movq %r15, %rdi
callq 0xbe7e4
movq %r12, %rdi
movq %rax, %rsi
callq 0x6475d
movq (%r15), %rbp
leaq 0x112b13(%rip), %rax    # 0x19ccc8
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbp, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x8a20b
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x8a20b
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x8a20b
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x8a214
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x8a23b
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x112a98(%rip), %rdi    # 0x19ccc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
movq %r15, %rsi
callq 0xffe72
movq %rax, 0x10(%r13)
leaq 0xa8(%rsp), %r15
leaq 0x30(%rsp), %r8
movq %r15, %rdi
movq 0x28(%rsp), %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x8a8cb
jmp 0x8a38f
leaq 0x78(%rsp), %r12
movq %r12, 0x20(%rsp)
leaq 0x48(%rsp), %rsi
movq %r12, %rdi
callq 0xd6675
movq $0x3, 0x10(%r12)
movq (%rbx), %rax
movq %rax, 0x28(%rsp)
callq 0x5475f
movabsq $0x717ff038b7471b82, %rdx # imm = 0x717FF038B7471B82
movl $0x3, %esi
movq %r12, %rdi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r13
leaq 0x8(%rax), %r12
movq %r15, %rdi
callq 0xbe7e4
movq %r12, %rdi
movq %rax, %rsi
callq 0x6475d
movq (%r15), %rbp
leaq 0x1129ee(%rip), %rax    # 0x19ccc8
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %rbp, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %rbp, %rdx
je 0x8a330
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbp, %rdx
je 0x8a330
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbp, %rdx
je 0x8a330
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbp, %rdx
jne 0x8a339
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x8a360
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %rbp, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x112973(%rip), %rdi    # 0x19ccc8
movq %rbp, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
movq %r15, %rsi
callq 0xffe72
movq %rax, 0x10(%r13)
leaq 0xa8(%rsp), %r15
leaq 0x30(%rsp), %r8
movq %r15, %rdi
movq 0x28(%rsp), %rsi
movq %r14, %rdx
movq %r13, %rcx
callq 0x8a4cb
movq %rbx, %rdi
callq 0x107ca9
movq 0x10(%r15), %rax
movq %rax, 0x10(%rbx)
movups (%r15), %xmm0
movups %xmm0, (%rbx)
leaq 0x20(%rsp), %rdi
callq 0xd6d0d
jmp 0x8a443
movq 0x30(%rsp), %rdi
callq 0xbe7e4
movq %rax, %r12
xorl %eax, %eax
movq %r12, 0x78(%rsp)
movq %rax, 0x80(%rsp)
movl $0x2, %eax
movq %rax, 0x88(%rsp)
addq $0x78, %r14
movq %rax, 0x10(%rsp)
movups 0x78(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0xd4234
testq %rax, %rax
je 0x8a427
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x8a427
movq 0x8(%rcx), %r14
movq (%rax), %r15
movq %rbx, %rdi
callq 0x107ca9
testq %r14, %r14
je 0x8a432
movq %r14, %rdi
callq 0x1074f1
jmp 0x8a434
movq (%rax), %r15
movq %rbx, %rdi
callq 0x107ca9
xorl %eax, %eax
movq %r15, (%rbx)
movq %rax, 0x8(%rbx)
movq $0x1, 0x10(%rbx)
leaq 0x48(%rsp), %rdi
callq 0xd6d2c
xorl %r12d, %r12d
jmp 0x89fad