// File: /workspace/github_c_makefile_star2_O0/been-jamming[P]MinimalCC/expression.c
// Function: compile_variable_initializer
void compile_variable_initializer(char **c){
	variable *var;
	char varname_buf[32];
	type vartype;

	vartype = EMPTY_TYPE;
	parse_type(&vartype, c, varname_buf, NULL, 32, 0);
	var = malloc(sizeof(variable));
	var->varname = malloc(sizeof(char)*32);
	var->var_type = vartype;
	strcpy(var->varname, varname_buf);
	variables_size += align4(type_size(&(var->var_type), 0));
	var->stack_pos = variables_size - 4;
	if(read_dictionary(*local_variables[current_scope], var->varname, 0)){
		free(var->varname);
		free(var);
		snprintf(error_message, sizeof(error_message), "Duplicate local variable definition");
		do_error(1);
	}
	write_dictionary(local_variables[current_scope], var->varname, var, 0);
	skip_whitespace(c);
	if(**c != ';'){
		snprintf(error_message, sizeof(error_message), "Expected ';'");
		do_error(1);
	}
	++*c;
}

// Assembly:
subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0xe70d(%rip), %rsi      # 0x117a8
movl $0x40, %edx
callq 0x1120
movq 0xc0(%rsp), %rsi
leaq 0x90(%rsp), %rdx
leaq 0x50(%rsp), %rdi
xorl %eax, %eax
movl %eax, %ecx
movl $0x20, %r8d
xorl %r9d, %r9d
callq 0xc370
movl $0x50, %edi
callq 0x1130
movq %rax, 0xb8(%rsp)
movl $0x20, %edi
callq 0x1130
movq %rax, %rcx
movq 0xb8(%rsp), %rax
movq %rcx, (%rax)
movq 0xb8(%rsp), %rdi
addq $0x8, %rdi
leaq 0x50(%rsp), %rsi
movl $0x40, %edx
callq 0x1120
movq 0xb8(%rsp), %rax
movq (%rax), %rdi
leaq 0x90(%rsp), %rsi
callq 0x1050
movq 0xb8(%rsp), %rdi
addq $0x8, %rdi
xorl %esi, %esi
callq 0x1a40
movl %eax, %edi
callq 0x3050
movl %eax, %ecx
leaq 0xe14c(%rip), %rax      # 0x11298
addl (%rax), %ecx
leaq 0xe143(%rip), %rax      # 0x11298
movl %ecx, (%rax)
leaq 0xe13a(%rip), %rax      # 0x11298
movl (%rax), %ecx
subl $0x4, %ecx
movq 0xb8(%rsp), %rax
movl %ecx, 0x48(%rax)
movslq 0xe1a3(%rip), %rcx      # 0x11318
leaq 0xe1a4(%rip), %rax      # 0x11320
movq (%rax,%rcx,8), %rcx
movq 0xb8(%rsp), %rax
movq (%rax), %rdi
xorl %eax, %eax
movq 0x40(%rcx), %rdx
movq %rsp, %rax
movq %rdx, 0x40(%rax)
movups (%rcx), %xmm0
movups 0x10(%rcx), %xmm1
movups 0x20(%rcx), %xmm2
movups 0x30(%rcx), %xmm3
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
xorl %esi, %esi
callq 0xb090
cmpq $0x0, %rax
je 0x3204
movq 0xb8(%rsp), %rax
movq (%rax), %rdi
callq 0x1030
movq 0xb8(%rsp), %rdi
callq 0x1030
leaq 0xe349(%rip), %rdi      # 0x11530
movl $0x100, %esi            # imm = 0x100
leaq 0xa59d(%rip), %rdx      # 0xd790
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x87b0
movslq 0xe10d(%rip), %rcx      # 0x11318
leaq 0xe10e(%rip), %rax      # 0x11320
movq (%rax,%rcx,8), %rdi
movq 0xb8(%rsp), %rax
movq (%rax), %rsi
movq 0xb8(%rsp), %rdx
xorl %ecx, %ecx
callq 0xb1e0
movq 0xc0(%rsp), %rdi
callq 0xbb70
movq 0xc0(%rsp), %rax
movq (%rax), %rax
movsbl (%rax), %eax
cmpl $0x3b, %eax
je 0x3274
leaq 0xe2d9(%rip), %rdi      # 0x11530
movl $0x100, %esi            # imm = 0x100
leaq 0xa551(%rip), %rdx      # 0xd7b4
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x87b0
movq 0xc0(%rsp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
addq $0xc8, %rsp
retq
nop