// File: /workspace/github_c_makefile_star2_O0/martincameron[P]towntalk/towntalk.c
// Function: parse_local_expression
static struct element* parse_local_expression( struct element *elem,
	struct function *func, struct variables *vars, struct local_variable *local, struct expression *prev, char *message ) {
	struct element *next = elem->next;
	char *field = &elem->str.string[ strlen( local->name ) ];
	struct expression *expr = calloc( 1, sizeof( struct expression ) );
	if( expr ) {
		prev->next = expr;
		expr->line = elem->line;
		expr->index = local->index;
		expr->evaluate = evaluate_local;
		if( field[ 0 ] == '.' ) {
			next = parse_member_expression( local->type, expr, &field[ 1 ], elem, func, vars, prev, message );
		} else if( field[ 0 ] == ':' ) {
			next = parse_member_call_expression( local->type, expr, &field[ 1 ], elem, func, vars, prev, message );
		} else if( !strcmp( field, "++" ) ) {
			expr->evaluate = evaluate_local_post_inc;
		} else if( !strcmp( field, "--" ) ) {
			expr->evaluate = evaluate_local_post_dec;
		} else if( field[ 0 ] ) {
			sprintf( message, "Invalid local variable expression '%.64s' on line %d.", elem->str.string, elem->line );
		}
	} else {
		strcpy( message, OUT_OF_MEMORY );
	}
	return next;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x30c0
movq %rax, %rcx
movq -0x50(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x40(%rbp)
movl $0x1, %edi
movl $0x20, %esi
callq 0x3120
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
je 0x7719
movq -0x48(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rax
movl 0x28(%rax), %ecx
movq -0x48(%rbp), %rax
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
movl (%rax), %ecx
movq -0x48(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x48(%rbp), %rax
leaq -0x2a42(%rip), %rcx     # 0x4bc0
movq %rcx, 0x18(%rax)
movq -0x40(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x7651
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq $0x1, %rdx
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %r8
movq -0x18(%rbp), %r9
movq -0x28(%rbp), %r10
movq -0x30(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0xb260
movq %rax, -0x38(%rbp)
jmp 0x7717
movq -0x40(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x3a, %eax
jne 0x7699
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq $0x1, %rdx
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %r8
movq -0x18(%rbp), %r9
movq -0x28(%rbp), %r10
movq -0x30(%rbp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0xb380
movq %rax, -0x38(%rbp)
jmp 0x7715
movq -0x40(%rbp), %rdi
leaq 0x1458a(%rip), %rsi     # 0x1bc2e
callq 0x3130
cmpl $0x0, %eax
jne 0x76bf
movq -0x48(%rbp), %rax
leaq -0x2a89(%rip), %rcx     # 0x4c30
movq %rcx, 0x18(%rax)
jmp 0x7713
movq -0x40(%rbp), %rdi
leaq 0x14567(%rip), %rsi     # 0x1bc31
callq 0x3130
cmpl $0x0, %eax
jne 0x76e5
movq -0x48(%rbp), %rax
leaq -0x2a2f(%rip), %rcx     # 0x4cb0
movq %rcx, 0x18(%rax)
jmp 0x7711
movq -0x40(%rbp), %rax
cmpb $0x0, (%rax)
je 0x770f
movq -0x30(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x8(%rbp), %rax
movl 0x28(%rax), %ecx
leaq 0x1452c(%rip), %rsi     # 0x1bc34
movb $0x0, %al
callq 0x31f0
jmp 0x7711
jmp 0x7713
jmp 0x7715
jmp 0x7717
jmp 0x7729
movq -0x30(%rbp), %rdi
movq 0x19a3c(%rip), %rsi     # 0x21160
callq 0x3070
movq -0x38(%rbp), %rax
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)