// File: /workspace/github_c_makefile_star2_O3/lucvoo[P]sparse-dev/evaluate.c
// Function: usual_conversions
static struct symbol *usual_conversions(int op,
					struct expression *left,
					struct expression *right,
					int lclass, int rclass,
					struct symbol *ltype,
					struct symbol *rtype)
{
	struct symbol *ctype;

	warn_for_different_enum_types(right->pos, left->ctype, right->ctype);

	if ((lclass | rclass) & TYPE_RESTRICT)
		goto Restr;

Normal:
	if (!(lclass & TYPE_FLOAT)) {
		if (!(rclass & TYPE_FLOAT))
			return bigger_int_type(ltype, rtype);
		else
			return rtype;
	} else if (rclass & TYPE_FLOAT) {
		if (rtype->rank > ltype->rank)
			return rtype;
		else
			return ltype;
	} else
		return ltype;

Restr:
	ctype = restricted_binop_type(op, left, right,
				      lclass, rclass, ltype, rtype);
	if (ctype)
		return ctype;

	unrestrict(left, lclass, &ltype);
	unrestrict(right, rclass, &rtype);

	goto Normal;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdx, %r12
movq %rsi, %r13
movl %edi, %r14d
movq 0x10(%rsi), %rsi
movq 0x8(%rdx), %rdi
movq 0x10(%rdx), %rdx
callq 0x364ef
movl %ebp, %eax
orl %r15d, %eax
testb $0x4, %al
jne 0x3688d
movq 0x40(%rsp), %r14
testb $0x8, %r15b
jne 0x36927
testb $0x8, %bpl
jne 0x369cb
movl 0x50(%rbx), %ecx
cmpb $0xb, (%rbx)
jne 0x36870
movq 0x60(%rbx), %rbx
leaq 0x2de91(%rip), %rax     # 0x64708
movl (%rax), %eax
cmpl %eax, %ecx
jge 0x3694f
leaq 0x34eb0(%rip), %rbx     # 0x6b738
jmp 0x3696a
movq 0x40(%rsp), %rax
movq %rax, (%rsp)
movl %r14d, %edi
movq %r13, %rsi
movq %r12, %rdx
movl %r15d, %ecx
movl %ebp, %r8d
movq %rbx, %r9
callq 0x36a1f
testq %rax, %rax
jne 0x36a10
movq 0x40(%rsp), %r14
testb $0x4, %r15b
je 0x368ec
testb $0x40, %r15b
je 0x368cb
movq 0x60(%rbx), %rbx
movq %rbx, %rdi
callq 0x237c5
movq 0x8(%r13), %rdi
leaq 0x135b5(%rip), %rsi     # 0x49e93
movq %rax, %rdx
xorl %eax, %eax
callq 0x118fc
movq 0x60(%rbx), %rbx
testb $0x4, %bpl
je 0x36850
testb $0x40, %bpl
je 0x36900
movq 0x60(%r14), %r14
movq %r14, %rdi
callq 0x237c5
movq 0x8(%r12), %rdi
leaq 0x1357f(%rip), %rsi     # 0x49e93
movq %rax, %rdx
xorl %eax, %eax
callq 0x118fc
movq 0x60(%r14), %r14
jmp 0x36850
testb $0x8, %bpl
je 0x36a0d
movl 0x54(%r14), %eax
shll $0x6, %eax
sarl $0x1d, %eax
movl 0x54(%rbx), %ecx
shll $0x6, %ecx
sarl $0x1d, %ecx
cmpl %ecx, %eax
cmovgq %r14, %rbx
jmp 0x36a0d
testb $0x2, 0x57(%rbx)
je 0x3696a
movq 0x68(%rbx), %rcx
btl $0xe, %ecx
jae 0x36881
leaq 0x34f8e(%rip), %rbx     # 0x6b8f8
movl 0x50(%r14), %ecx
cmpb $0xb, (%r14)
jne 0x36978
movq 0x60(%r14), %r14
cmpl %eax, %ecx
jge 0x36985
leaq 0x34db5(%rip), %r14     # 0x6b738
jmp 0x3699d
testb $0x2, 0x57(%r14)
je 0x3699d
movq 0x68(%r14), %rax
btl $0xe, %eax
jae 0x3697c
leaq 0x34f5b(%rip), %r14     # 0x6b8f8
cmpq %r14, %rbx
je 0x36a0d
movq 0x68(%rbx), %rax
movl 0x68(%r14), %ecx
xorl %eax, %ecx
btl $0xe, %ecx
jb 0x369d0
movl 0x54(%rbx), %eax
shll $0x6, %eax
sarl $0x1d, %eax
movl 0x54(%r14), %ecx
shll $0x6, %ecx
sarl $0x1d, %ecx
cmpl %ecx, %eax
cmovgq %rbx, %r14
movq %r14, %rax
jmp 0x36a10
btl $0xe, %eax
movq %r14, %rax
cmovaeq %rbx, %rax
cmovaeq %r14, %rbx
movl 0x54(%rbx), %edx
shll $0x6, %edx
sarl $0x1d, %edx
movl 0x54(%rax), %ecx
shll $0x6, %ecx
sarl $0x1d, %ecx
cmpl %ecx, %edx
jge 0x36a0d
movl 0x50(%rax), %edx
cmpl 0x50(%rbx), %edx
jg 0x36a10
movslq %ecx, %rax
leaq 0x291f9(%rip), %rcx     # 0x5fc00
movq (%rcx,%rax,8), %rax
jmp 0x36a10
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq