// File: /workspace/github_c_makefile_star2_O3/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_assignment
static struct symbol *evaluate_assignment(struct expression *expr)
{
	struct expression *left = expr->left;
	struct symbol *ltype;

	if (!lvalue_expression(left)) {
		expression_error(expr, "not an lvalue");
		return NULL;
	}

	ltype = left->ctype;

	if (expr->op != '=') {
		if (!evaluate_assign_op(expr))
			return NULL;
	} else {
		if (!compatible_assignment_types(expr, ltype, &expr->right, "assignment"))
			return NULL;
	}

	evaluate_assign_to(left, ltype);

	expr->ctype = ltype;
	return ltype;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movq 0x20(%rdi), %r15
cmpb $0x9, (%r15)
jne 0x33d4b
cmpl $0x2a, 0x4(%r15)
jne 0x33d4b
movq 0x10(%r15), %rbx
leaq 0x28(%r14), %r13
cmpl $0x3d, 0x4(%r14)
jne 0x33d70
leaq 0x164af(%rip), %rcx     # 0x4a1df
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x36caf
testl %eax, %eax
jne 0x3417b
jmp 0x3407d
leaq 0x16ca7(%rip), %rsi     # 0x4a9f9
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq 0x11b04
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r13), %rcx
movzbl (%rbx), %eax
movq %rbx, %rbp
cmpl $0x3, %eax
jne 0x33d87
movq 0x60(%rbx), %rbp
movzbl (%rbp), %eax
movq 0x10(%rcx), %r12
cmpl $0xa, %eax
jne 0x33dab
movq %rbp, %rdi
callq 0x2b0b8
movq %rax, %rbp
movzbl (%rax), %eax
cmpl $0x3, %eax
jne 0x33dab
movq 0x60(%rbp), %rbp
movzbl (%rbp), %eax
cmpl $0x9, %eax
jne 0x33db8
movq 0x60(%rbp), %rbp
movzbl (%rbp), %eax
cmpl $0x2, %eax
jne 0x33dd3
movq 0x60(%rbp), %rcx
cmpq 0x2c1c0(%rip), %rcx     # 0x5ff88
je 0x33de1
cmpq 0x2c17f(%rip), %rcx     # 0x5ff50
je 0x33de8
movl %eax, %eax
leaq 0x15dd4(%rip), %rcx     # 0x49bb0
movl (%rcx,%rax,4), %ecx
jmp 0x33ded
movl $0x1, %ecx
jmp 0x33ded
movl $0x9, %ecx
movzbl (%r12), %eax
movq %r12, %rsi
cmpl $0x3, %eax
jne 0x33e02
movq 0x60(%r12), %rsi
movzbl (%rsi), %eax
cmpl $0xa, %eax
jne 0x33e29
movl %ecx, 0x8(%rsp)
movq %rsi, %rdi
callq 0x2b0b8
movq %rax, %rsi
movzbl (%rax), %eax
cmpl $0x3, %eax
jne 0x33e25
movq 0x60(%rsi), %rsi
movzbl (%rsi), %eax
movl 0x8(%rsp), %ecx
cmpl $0x9, %eax
jne 0x33e35
movq 0x60(%rsi), %rsi
movzbl (%rsi), %eax
cmpl $0x2, %eax
movq %r13, 0x8(%rsp)
jne 0x33e55
movq 0x60(%rsi), %rdx
cmpq 0x2c13e(%rip), %rdx     # 0x5ff88
je 0x33e65
cmpq 0x2c0fd(%rip), %rdx     # 0x5ff50
je 0x33e6d
movl %eax, %r8d
leaq 0x15d51(%rip), %rdx     # 0x49bb0
movl (%rdx,%r8,4), %r8d
jmp 0x33e73
movl $0x1, %r8d
jmp 0x33e73
movl $0x9, %r8d
movl 0x4(%r14), %r13d
movl %ecx, %edx
andl %r8d, %edx
testb $0x1, %dl
je 0x33ee7
testb $0x8, %cl
je 0x33ea6
leal -0x100(%r13), %r9d
cmpl $0x6, %r9d
ja 0x33fac
movl $0x65, %edx
btl %r9d, %edx
jae 0x33fac
testb $0x4, %cl
jne 0x33f5a
leal -0x115(%r13), %edx
cmpl $0x1, %edx
ja 0x33fb8
movl 0x50(%rbp), %ecx
cmpb $0xb, (%rbp)
jne 0x33ecc
movq 0x60(%rbp), %rbp
leaq 0x30835(%rip), %rdx     # 0x64708
cmpl (%rdx), %ecx
jge 0x34090
leaq 0x37856(%rip), %r12     # 0x6b738
jmp 0x340b0
cmpl $0x10, %ecx
jne 0x33fac
movl %r8d, %eax
andl $0x9, %eax
cmpl $0x1, %eax
jne 0x33fac
andl $-0x3, %r13d
cmpl $0x100, %r13d           # imm = 0x100
jne 0x34084
testb $0x4, %r8b
je 0x33f4d
movq 0x8(%rsp), %rax
movq (%rax), %r12
testb $0x40, %r8b
je 0x33f28
movq 0x60(%rsi), %rsi
movq %rsi, %rdi
movq %rsi, %r13
callq 0x237c5
movq 0x8(%r12), %rdi
leaq 0x15f54(%rip), %rsi     # 0x49e93
movq %rax, %rdx
xorl %eax, %eax
callq 0x118fc
movq 0x60(%r13), %rsi
movq %r14, %rdi
callq 0x3733c
jmp 0x3417b
movl %r8d, %r12d
movq %rsi, 0x10(%rsp)
movl %r13d, %edi
callq 0x36b0a
testl %eax, %eax
je 0x34042
testb $0x40, %r12b
movq 0x10(%rsp), %rsi
je 0x33f8a
movq %rbx, %r12
cmpq %rbp, 0x60(%rsi)
je 0x34166
movq 0x8(%rsp), %rax
movq (%rax), %rax
cmpb $0x1, (%rax)
jne 0x33fdd
cmpq %rsi, %rbp
je 0x3417b
cmpq $0x0, 0x20(%rax)
jne 0x33fe6
jmp 0x3417b
leaq 0x16224(%rip), %rsi     # 0x4a1d7
jmp 0x33d52
testb $0x4, %r8b
jne 0x33fdd
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
movq %r12, (%rsp)
movl %r13d, %edi
movq %rbx, %r9
callq 0x36814
movq %rax, %r12
jmp 0x34166
cmpq %rsi, %rbp
je 0x3417b
movl %r13d, %edi
movq %rsi, %r15
callq 0x2ddfa
movq 0x8(%r14), %rdi
leaq 0x16208(%rip), %rsi     # 0x4a204
movq %rax, %rdx
xorl %eax, %eax
callq 0x118fc
movq %rbp, %rdi
callq 0x237c5
movq 0x8(%r14), %rdi
leaq 0x16202(%rip), %rsi     # 0x4a21b
movq %rax, %rdx
xorl %eax, %eax
callq 0x1178c
movq %r15, %rdi
callq 0x237c5
movq 0x8(%r14), %rdi
leaq 0x161fe(%rip), %rsi     # 0x4a234
movq %rax, %rdx
xorl %eax, %eax
callq 0x1178c
jmp 0x3406d
movl %r13d, %edi
callq 0x2ddfa
movq %rax, %r15
movq %rbp, %rdi
callq 0x237c5
movq 0x8(%r14), %rdi
leaq 0x1618a(%rip), %rsi     # 0x4a1ea
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x118fc
movq 0x28(%r14), %rdi
movq %rbx, %rsi
callq 0x32aa9
movq %rax, 0x28(%r14)
xorl %ebx, %ebx
jmp 0x33d5e
leaq 0x161c3(%rip), %rsi     # 0x4a24e
jmp 0x33d52
testb $0x2, 0x57(%rbp)
jne 0x3409b
movq %rbp, %r12
jmp 0x340b0
movq 0x68(%rbp), %rcx
btl $0xe, %ecx
jae 0x33edb
leaq 0x37848(%rip), %r12     # 0x6b8f8
testb $0x4, %r8b
je 0x340f6
movq 0x8(%rsp), %rax
movq (%rax), %rbp
testb $0x40, %r8b
je 0x340c8
movq 0x60(%rsi), %rsi
movq %rsi, %rdi
movq %rsi, %r13
callq 0x237c5
movq 0x8(%rbp), %rdi
leaq 0x15db5(%rip), %rsi     # 0x49e93
movq %rax, %rdx
xorl %eax, %eax
callq 0x118fc
movq 0x60(%r13), %rsi
movzbl (%rsi), %eax
leaq 0x30612(%rip), %rdx     # 0x64708
movl 0x50(%rsi), %ecx
cmpl $0xb, %eax
jne 0x34102
movq 0x60(%rsi), %rsi
cmpl (%rdx), %ecx
jge 0x34114
leaq 0x3762b(%rip), %rsi     # 0x6b738
movq 0x8(%rsp), %r13
jmp 0x34139
testb $0x2, 0x57(%rsi)
movq 0x8(%rsp), %r13
je 0x34139
movq 0x68(%rsi), %rax
btl $0xe, %eax
jb 0x34132
leaq 0x37608(%rip), %rsi     # 0x6b738
jmp 0x34139
leaq 0x377bf(%rip), %rsi     # 0x6b8f8
movq (%r13), %rdi
movq %rsi, %rbp
callq 0x32aa9
movq %rax, (%r13)
movl 0x50(%r12), %ecx
cmpl 0x50(%rbp), %ecx
jle 0x34166
leaq 0x3779e(%rip), %rsi     # 0x6b8f8
movq %rax, %rdi
callq 0x32aa9
movq %rax, (%r13)
movq 0x8(%rsp), %r13
movq (%r13), %rdi
movq %r12, %rsi
callq 0x32aa9
movq %rax, (%r13)
movq 0x68(%rbx), %rsi
movq %r15, %rdi
callq 0x376dc
movq %rbx, 0x10(%r14)
jmp 0x33d5e