// File: /workspace/github_c_makefile_star2_O0/been-jamming[P]MinimalCC/expression.c
// Function: operation_not_equals_func
void operation_not_equals_func(char *reg_a, char *reg_b, value *value_a, value *value_b, FILE *output_file, type *output_type){
	if(peek_type(&(value_a->data_type)) == type_function || peek_type(&(value_b->data_type)) == type_function){
		snprintf(error_message, sizeof(error_message), "Cannot compare function types");
		do_error(1);
	}
	if(peek_type(&(value_a->data_type)) == type_pointer){
		if(peek_type(&(value_b->data_type)) == type_pointer){
			pop_type(&(value_a->data_type));
			pop_type(&(value_b->data_type));
			if(!types_equal(&(value_a->data_type), &(value_b->data_type))){
				snprintf(warning_message, sizeof(warning_message), "Comparing incompatible data types");
				do_warning();
			}
			fileprint(output_file, "sne %s, %s, %s\n", reg_a, reg_a, reg_b);
			*output_type = INT_TYPE;
		} else {
			snprintf(warning_message, sizeof(warning_message), "Comparing pointer and non-pointer types");
			do_warning();
			fileprint(output_file, "sne %s, %s, %s\n", reg_a, reg_a, reg_b);
			*output_type = INT_TYPE;
		}
	} else {
		if(peek_type(&(value_b->data_type)) == type_pointer){
			snprintf(warning_message, sizeof(warning_message), "Comparing pointer and non-pointer types");
			do_warning();
		}
		fileprint(output_file, "sne %s, %s, %s\n", reg_a, reg_a, reg_b);
		*output_type = INT_TYPE;
	}
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq %r9, 0x8(%rsp)
movq 0x20(%rsp), %rdi
addq $0x10, %rdi
callq 0xbdb0
cmpl $0x5, %eax
je 0x2998
movq 0x18(%rsp), %rdi
addq $0x10, %rdi
callq 0xbdb0
cmpl $0x5, %eax
jne 0x29bc
leaq 0xeb91(%rip), %rdi      # 0x11530
movl $0x100, %esi            # imm = 0x100
leaq 0xaca8(%rip), %rdx      # 0xd653
movb $0x0, %al
callq 0x10b0
movl $0x1, %edi
callq 0x87b0
movq 0x20(%rsp), %rdi
addq $0x10, %rdi
callq 0xbdb0
cmpl $0x4, %eax
jne 0x2ad7
movq 0x18(%rsp), %rdi
addq $0x10, %rdi
callq 0xbdb0
cmpl $0x4, %eax
jne 0x2a7c
movq 0x20(%rsp), %rdi
addq $0x10, %rdi
callq 0xbe20
movq 0x18(%rsp), %rdi
addq $0x10, %rdi
callq 0xbe20
movq 0x20(%rsp), %rdi
addq $0x10, %rdi
movq 0x18(%rsp), %rsi
addq $0x10, %rsi
callq 0xbec0
cmpb $0x0, %al
jne 0x2a42
leaq 0xea08(%rip), %rdi      # 0x11430
movl $0x100, %esi            # imm = 0x100
leaq 0xac3d(%rip), %rdx      # 0xd671
movb $0x0, %al
callq 0x10b0
movb $0x0, %al
callq 0x8770
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x28(%rsp), %r8
leaq 0xac6e(%rip), %rsi      # 0xd6cb
movb $0x0, %al
callq 0x16f0
movq 0x8(%rsp), %rdi
leaq 0xe758(%rip), %rsi      # 0x111c8
movl $0x40, %edx
callq 0x1120
jmp 0x2ad5
leaq 0xe9ad(%rip), %rdi      # 0x11430
movl $0x100, %esi            # imm = 0x100
leaq 0xac14(%rip), %rdx      # 0xd6a3
movb $0x0, %al
callq 0x10b0
movb $0x0, %al
callq 0x8770
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x28(%rsp), %r8
leaq 0xac13(%rip), %rsi      # 0xd6cb
movb $0x0, %al
callq 0x16f0
movq 0x8(%rsp), %rdi
leaq 0xe6fd(%rip), %rsi      # 0x111c8
movl $0x40, %edx
callq 0x1120
jmp 0x2b43
movq 0x18(%rsp), %rdi
addq $0x10, %rdi
callq 0xbdb0
cmpl $0x4, %eax
jne 0x2b0b
leaq 0xe93f(%rip), %rdi      # 0x11430
movl $0x100, %esi            # imm = 0x100
leaq 0xaba6(%rip), %rdx      # 0xd6a3
movb $0x0, %al
callq 0x10b0
movb $0x0, %al
callq 0x8770
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x28(%rsp), %r8
leaq 0xaba5(%rip), %rsi      # 0xd6cb
movb $0x0, %al
callq 0x16f0
movq 0x8(%rsp), %rdi
leaq 0xe68f(%rip), %rsi      # 0x111c8
movl $0x40, %edx
callq 0x1120
addq $0x38, %rsp
retq
nopl (%rax,%rax)