LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: cast_to_bool
static struct symbol *cast_to_bool(struct expression *expr)
{
	struct expression *old = expr->cast_expression;
	struct expression *zero;
	struct symbol *otype;
	int oclass = classify_type(degenerate(old), &otype);
	struct symbol *ctype;

	if (oclass & TYPE_COMPOUND)
		return NULL;

	zero = alloc_const_expression(expr->pos, 0);
	if (oclass & TYPE_PTR)
		zero->ctype = otype;
	expr->op = SPECIAL_NOTEQUAL;
	ctype = usual_conversions(expr->op, old, zero,
			oclass, TYPE_NUM, otype, zero->ctype);
	expr->type = EXPR_COMPARE;
	expr->left = cast_to(old, ctype);
	expr->right = cast_to(zero, ctype);

	return expr->ctype;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x28(%rdi), %r14
movq %r14, %rdi
callq 0x2f6c0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x2f4dd
movl %eax, %ebp
testb $0x20, %bpl
jne 0x3082d
movq 0x8(%rbx), %rdi
xorl %esi, %esi
callq 0x308a8
movq %rax, %r15
movq 0x8(%rsp), %r9
testb $0x10, %bpl
je 0x307e4
movq %r9, 0x10(%r15)
movl $0x10b, 0x4(%rbx)       # imm = 0x10B
movq 0x10(%r15), %rax
movq %rax, (%rsp)
pushq $0x1
popq %r8
movl $0x10b, %edi            # imm = 0x10B
movq %r14, %rsi
movq %r15, %rdx
movl %ebp, %ecx
callq 0x308db
movq %rax, %r12
movb $0x16, (%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x2f54c
movq %rax, 0x20(%rbx)
movq %r15, %rdi
movq %r12, %rsi
callq 0x2f54c
movq %rax, 0x28(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: base_type
static struct symbol *base_type(struct symbol *node, unsigned long *modp, struct ident **asp)
{
	unsigned long mod = 0;
	struct ident *as = NULL;

	while (node) {
		mod |= node->ctype.modifiers;
		combine_address_space(node->pos, &as, node->ctype.as);
		if (node->type == SYM_NODE) {
			node = node->ctype.base_type;
			continue;
		}
		break;
	}
	*modp = mod & ~MOD_IGNORE;
	*asp = as;
	return node;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x8(%rsp), %r12
andq $0x0, (%r12)
xorl %r13d, %r13d
testq %r14, %r14
je 0x30885
orq 0x68(%r14), %r13
movq 0x4(%r14), %rdi
movq 0x80(%r14), %rdx
movq %r12, %rsi
callq 0x2cce9
cmpb $0x3, (%r14)
jne 0x30885
movq 0x60(%r14), %r14
jmp 0x3085d
andq $-0x204381e0, %r13      # imm = 0xDFBC7E20
movq %r13, (%r15)
movq 0x8(%rsp), %rax
movq %rax, (%rbx)
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/./expression.h
// Function: alloc_const_expression
static inline struct expression *alloc_const_expression(struct position pos, int value)
{
	struct expression *expr = __alloc_expression(0);
	expr->type = EXPR_VALUE;
	expr->pos = pos;
	expr->value = value;
	expr->ctype = &int_ctype;
	expr->flags = CEF_SET_INT;
	return expr;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
xorl %edi, %edi
callq 0x2aafa
movq %r14, 0x8(%rax)
movslq %ebx, %rcx
movq %rcx, 0x20(%rax)
leaq 0x34e6e(%rip), %rcx     # 0x65738
movq %rcx, 0x10(%rax)
movw $0x3101, (%rax)         # imm = 0x3101
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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
subq $0x18, %rsp
movq %r9, %r12
movl %r8d, %ebx
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movl %edi, 0x14(%rsp)
movq 0x50(%rsp), %r13
movq %r9, 0x8(%rsp)
movq 0x10(%rsi), %rsi
movq 0x8(%rdx), %rdi
movq 0x10(%rdx), %rdx
callq 0x30681
movl %ebx, %eax
orl %ebp, %eax
testb $0x4, %al
je 0x30960
movq %r13, (%rsp)
movl 0x14(%rsp), %edi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
movl %ebx, %r8d
movq %r12, %r9
callq 0x30a43
testq %rax, %rax
jne 0x30a34
leaq 0x8(%rsp), %rdx
movq %r15, %rdi
movl %ebp, %esi
callq 0x30ae2
leaq 0x50(%rsp), %rdx
movq %r14, %rdi
movl %ebx, %esi
callq 0x30ae2
testb $0x8, %bpl
jne 0x309bd
testb $0x8, %bl
jne 0x309c9
movq 0x8(%rsp), %rdi
movq 0x50(%rsp), %r14
callq 0x2f685
movq %rax, %rbx
movq %r14, %rdi
callq 0x2f685
cmpq %rax, %rbx
je 0x30a31
movq %rax, %rcx
movq 0x68(%rbx), %rax
movl 0x68(%rcx), %edx
xorl %eax, %edx
btl $0xe, %edx
jb 0x309f4
movl 0x54(%rbx), %eax
shll $0x6, %eax
sarl $0x1d, %eax
movl 0x54(%rcx), %edx
shll $0x6, %edx
sarl $0x1d, %edx
cmpl %edx, %eax
cmovgq %rbx, %rcx
movq %rcx, %rax
jmp 0x30a34
testb $0x8, %bl
jne 0x309d0
movq 0x8(%rsp), %rax
jmp 0x30a34
movq 0x50(%rsp), %rax
jmp 0x30a34
movq 0x50(%rsp), %rcx
movl 0x54(%rcx), %edx
shll $0x6, %edx
sarl $0x1d, %edx
movq 0x8(%rsp), %rax
movl 0x54(%rax), %esi
shll $0x6, %esi
sarl $0x1d, %esi
cmpl %esi, %edx
cmovgq %rcx, %rax
jmp 0x30a34
btl $0xe, %eax
movq %rcx, %rax
cmovaeq %rbx, %rax
cmovaeq %rcx, %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 0x30a31
movl 0x50(%rax), %edx
cmpl 0x50(%rbx), %edx
jg 0x30a34
movslq %ecx, %rax
leaq 0x291d5(%rip), %rcx     # 0x59c00
movq (%rcx,%rax,8), %rax
jmp 0x30a34
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: restricted_binop_type
static struct symbol *restricted_binop_type(int op,
					struct expression *left,
					struct expression *right,
					int lclass, int rclass,
					struct symbol *ltype,
					struct symbol *rtype)
{
	struct symbol *ctype = NULL;
	if (lclass & TYPE_RESTRICT) {
		if (rclass & TYPE_RESTRICT) {
			if (ltype == rtype) {
				ctype = ltype;
			} else if (lclass & TYPE_FOULED) {
				if (unfoul(ltype) == rtype)
					ctype = ltype;
			} else if (rclass & TYPE_FOULED) {
				if (unfoul(rtype) == ltype)
					ctype = rtype;
			}
		} else {
			if (!restricted_value(right, ltype))
				ctype = ltype;
		}
	} else if (!restricted_value(left, rtype))
		ctype = rtype;

	if (ctype) {
		switch (restricted_binop(op, ctype)) {
		case 1:
			if ((lclass ^ rclass) & TYPE_FOULED)
				ctype = unfoul(ctype);
			break;
		case 3:
			if (!(lclass & rclass & TYPE_FOULED))
				break;
		case 0:
			ctype = NULL;
		default:
			break;
		}
	}

	return ctype;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %r8d, %ebp
movl %ecx, %r14d
movq 0x20(%rsp), %rax
testb $0x4, %r14b
jne 0x30a69
cmpb $0x1, (%rsi)
jne 0x30ad8
cmpq $0x0, 0x20(%rsi)
movq %rax, %rbx
jne 0x30ad8
jmp 0x30a9c
movq %r9, %rbx
testb $0x4, %bpl
jne 0x30a80
cmpb $0x1, (%rdx)
jne 0x30ad8
cmpq $0x0, 0x20(%rdx)
jne 0x30ad8
jmp 0x30a9c
cmpq %rax, %rbx
je 0x30a9c
testb $0x40, %r14b
jne 0x30ac7
testb $0x40, %bpl
je 0x30ad8
cmpq %rbx, 0x60(%rax)
movq %rax, %rbx
jne 0x30ad8
jmp 0x30aa1
testq %rbx, %rbx
je 0x30ad8
callq 0x30b2e
movl %eax, %eax
leaq 0x12285(%rip), %rcx     # 0x42d34
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %r14d, %ebp
testb $0x40, %bpl
je 0x30ada
movq 0x60(%rbx), %rbx
jmp 0x30ada
cmpq %rax, 0x60(%rbx)
jne 0x30ad8
jmp 0x30aa1
andl %ebp, %r14d
testb $0x40, %r14b
je 0x30ada
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: unrestrict
static inline void unrestrict(struct expression *expr,
			      int class, struct symbol **ctype)
{
	if (class & TYPE_RESTRICT) {
		if (class & TYPE_FOULED)
			*ctype = unfoul(*ctype);
		warning(expr->pos, "%s degrades to integer",
			show_typename(*ctype));
		*ctype = (*ctype)->ctype.base_type; /* get to arithmetic type */
	}
}

// Assembly:
testb $0x4, %sil
je 0x30b2d
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movq (%rdx), %rdi
testb $0x40, %sil
je 0x30b02
movq 0x60(%rdi), %rdi
movq %rdi, (%rbx)
callq 0x20b5a
movq 0x8(%r14), %rdi
leaq 0x125d1(%rip), %rsi     # 0x430e3
movq %rax, %rdx
xorl %eax, %eax
callq 0x1108a
movq (%rbx), %rax
movq 0x60(%rax), %rax
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: create_pointer
static struct symbol *create_pointer(struct expression *expr, struct symbol *sym, int degenerate)
{
	struct symbol *node = alloc_symbol(expr->pos, SYM_NODE);
	struct symbol *ptr = alloc_symbol(expr->pos, SYM_PTR);

	node->ctype.base_type = ptr;
	ptr->bit_size = bits_in_pointer;
	ptr->ctype.alignment = pointer_alignment;

	node->bit_size = bits_in_pointer;
	node->ctype.alignment = pointer_alignment;

	access_symbol(sym);
	if (sym->ctype.modifiers & MOD_REGISTER) {
		warning(expr->pos, "taking address of 'register' variable '%s'", show_ident(sym->ident));
		sym->ctype.modifiers &= ~MOD_REGISTER;
	}
	if (sym->type == SYM_NODE) {
		combine_address_space(sym->pos, &ptr->ctype.as, sym->ctype.as);
		ptr->ctype.modifiers |= sym->ctype.modifiers & MOD_PTRINHERIT;
		sym = sym->ctype.base_type;
	}
	if (degenerate && sym->type == SYM_ARRAY) {
		combine_address_space(sym->pos, &ptr->ctype.as, sym->ctype.as);
		ptr->ctype.modifiers |= sym->ctype.modifiers & MOD_PTRINHERIT;
		sym = sym->ctype.base_type;
	}
	ptr->ctype.base_type = sym;

	return node;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r12
movq 0x8(%rdi), %rdi
pushq $0x3
popq %rsi
callq 0x2671f
movq %rax, %r14
movq 0x8(%r12), %rdi
pushq $0x4
popq %rsi
callq 0x2671f
movq %rax, %r15
movq %rax, 0x60(%r14)
leaq 0x2db82(%rip), %rax     # 0x5e72c
movl (%rax), %eax
movl %eax, 0x50(%r15)
leaq 0x2db79(%rip), %rcx     # 0x5e730
movslq (%rcx), %rcx
movq %rcx, 0x70(%r15)
movl %eax, 0x50(%r14)
movq %rcx, 0x70(%r14)
movq %rbx, %rdi
callq 0x266c4
testb $0x2, 0x68(%rbx)
je 0x30bf7
movq 0x18(%rbx), %rdi
callq 0x2936d
movq 0x8(%r12), %rdi
leaq 0x12562(%rip), %rsi     # 0x4314b
movq %rax, %rdx
xorl %eax, %eax
callq 0x1108a
andb $-0x3, 0x68(%rbx)
cmpb $0x3, (%rbx)
jne 0x30c24
leaq 0x80(%r15), %rsi
movq 0x4(%rbx), %rdi
movq 0x80(%rbx), %rdx
callq 0x2cce9
movq 0x68(%rbx), %rax
andl $0x1c001e00, %eax       # imm = 0x1C001E00
orq %rax, 0x68(%r15)
movq 0x60(%rbx), %rbx
testl %ebp, %ebp
je 0x30c55
cmpb $0x6, (%rbx)
jne 0x30c55
movq %r15, %rsi
subq $-0x80, %rsi
movq 0x4(%rbx), %rdi
movq 0x80(%rbx), %rdx
callq 0x2cce9
movq 0x68(%rbx), %rax
andl $0x1c001e00, %eax       # imm = 0x1C001E00
orq %rax, 0x68(%r15)
movq 0x60(%rbx), %rbx
movq %rbx, 0x60(%r15)
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: mark_addressable
static void mark_addressable(struct expression *expr)
{
	while (expr->type == EXPR_BINOP && expr->op == '+')
		expr = expr->left;
	if (expr->type == EXPR_SYMBOL) {
		struct symbol *sym = expr->symbol;
		sym->ctype.modifiers |= MOD_ADDRESSABLE;
	}
}

// Assembly:
movzbl (%rdi), %eax
cmpl $0x5, %eax
jne 0x30c79
cmpl $0x2b, 0x4(%rdi)
jne 0x30c8a
movq 0x20(%rdi), %rdi
jmp 0x30c65
cmpl $0x3, %eax
jne 0x30c8a
movq 0x20(%rdi), %rax
orq $0x100, 0x68(%rax)      # imm = 0x100
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: compatible_assignment_types
static int compatible_assignment_types(struct expression *expr, struct symbol *target,
	struct expression **rp, const char *where)
{
	const char *typediff;

	if (!check_assignment_types(target, rp, &typediff)) {
		struct symbol *source = *rp ? (*rp)->ctype : NULL;
		warning(expr->pos, "incorrect type in %s (%s)", where, typediff);
		info(expr->pos, "   expected %s", show_typename(target));
		info(expr->pos, "   got %s", show_typename(source));
		*rp = cast_to(*rp, target);
		return 0;
	}

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq %rsp, %rdx
movq %rsi, %rdi
movq %rbx, %rsi
callq 0x30d43
testl %eax, %eax
je 0x30cba
pushq $0x1
popq %r15
jmp 0x30d31
movq (%rbx), %rax
xorl %r15d, %r15d
testq %rax, %rax
je 0x30ccb
movq 0x10(%rax), %rbp
jmp 0x30ccd
xorl %ebp, %ebp
movq (%rsp), %rcx
movq 0x8(%r12), %rdi
leaq 0x124cb(%rip), %rsi     # 0x431a8
movq %r13, %rdx
xorl %eax, %eax
callq 0x1108a
movq %r14, %rdi
callq 0x20b5a
movq 0x8(%r12), %rdi
leaq 0x124c7(%rip), %rsi     # 0x431c2
movq %rax, %rdx
xorl %eax, %eax
callq 0x10ddc
movq %rbp, %rdi
callq 0x20b5a
movq 0x8(%r12), %rdi
leaq 0x124b8(%rip), %rsi     # 0x431d1
movq %rax, %rdx
xorl %eax, %eax
callq 0x10ddc
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x2f54c
movq %rax, (%rbx)
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: bad_expr_type
static struct symbol *bad_expr_type(struct expression *expr)
{
	switch (expr->type) {
	case EXPR_BINOP:
	case EXPR_COMPARE:
		if (!valid_subexpr_type(expr))
			break;
		sparse_error(expr->pos, "incompatible types for operation (%s):", show_special(expr->op));
		info(expr->pos, "   %s", show_typename(expr->left->ctype));
		info(expr->pos, "   %s", show_typename(expr->right->ctype));
		break;
	case EXPR_PREOP:
	case EXPR_POSTOP:
		if (!valid_expr_type(expr->unop))
			break;
		sparse_error(expr->pos, "incompatible type for operation (%s):", show_special(expr->op));
		info(expr->pos, "   %s", show_typename(expr->unop->ctype));
		break;
	default:
		break;
	}

	expr->flags = CEF_NONE;
	return expr->ctype = &bad_ctype;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %eax
leal -0x9(%rax), %ecx
cmpl $0x2, %ecx
jb 0x3113b
cmpl $0x16, %eax
je 0x310e2
cmpl $0x5, %eax
jne 0x311a1
movq %rbx, %rdi
callq 0x2f8ea
testl %eax, %eax
je 0x311a1
leaq 0x8(%rbx), %r14
movl 0x4(%rbx), %edi
callq 0x29332
movq 0x8(%rbx), %rdi
leaq 0x1211e(%rip), %rsi     # 0x43227
movq %rax, %rdx
xorl %eax, %eax
callq 0x1120e
movq 0x20(%rbx), %rax
movq 0x10(%rax), %rdi
callq 0x20b5a
movq 0x8(%rbx), %rdi
leaq 0x1090c(%rip), %rsi     # 0x41a37
movq %rax, %rdx
xorl %eax, %eax
callq 0x10ddc
leaq 0x28(%rbx), %r15
jmp 0x31181
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x311a1
movq 0x10(%rax), %rax
testq %rax, %rax
sete %cl
cmpq 0x28e0b(%rip), %rax     # 0x59f60
sete %al
orb %cl, %al
jne 0x311a1
leaq 0x20(%rbx), %r15
leaq 0x8(%rbx), %r14
movl 0x4(%rbx), %edi
callq 0x29332
movq 0x8(%rbx), %rdi
leaq 0x120d7(%rip), %rsi     # 0x4324e
movq %rax, %rdx
xorl %eax, %eax
callq 0x1120e
movq (%r15), %rax
movq 0x10(%rax), %rdi
callq 0x20b5a
movq (%r14), %rdi
leaq 0x108a0(%rip), %rsi     # 0x41a37
movq %rax, %rdx
xorl %eax, %eax
callq 0x10ddc
movb $0x0, 0x1(%rbx)
leaq 0x3570c(%rip), %rax     # 0x668b8
movq %rax, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: target_qualifiers
static unsigned long target_qualifiers(struct symbol *type)
{
	unsigned long mod = type->ctype.modifiers & MOD_IGN;
	if (type->ctype.base_type && type->ctype.base_type->type == SYM_ARRAY)
		mod = 0;
	return mod;
}

// Assembly:
movq 0x60(%rdi), %rcx
movq 0x68(%rdi), %rax
andl $0x11000e00, %eax       # imm = 0x11000E00
testq %rcx, %rcx
je 0x313ab
xorl %edx, %edx
cmpb $0x6, (%rcx)
cmoveq %rdx, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_conditional
static struct symbol *evaluate_conditional(struct expression *expr, int iterator)
{
	struct symbol *ctype;

	if (!expr)
		return NULL;

	if (!iterator && expr->type == EXPR_ASSIGNMENT && expr->op == '=')
		warning(expr->pos, "assignment expression in conditional");

	ctype = evaluate_expression(expr);
	if (!valid_type(ctype))
		return NULL;
	if (is_safe_type(ctype))
		warning(expr->pos, "testing a 'safe expression'");
	if (is_func_type(ctype)) {
		if (Waddress)
			warning(expr->pos, "the address of %s will always evaluate as true", "a function");
	} else if (is_array_type(ctype)) {
		if (Waddress)
			warning(expr->pos, "the address of %s will always evaluate as true", "an array");
	} else if (!is_scalar_type(ctype)) {
		sparse_error(expr->pos, "non-scalar type in conditional:");
		info(expr->pos, "   %s", show_typename(ctype));
		return NULL;
	}

	ctype = degenerate(expr);
	return ctype;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x313f8
movq %rdi, %rbx
testl %esi, %esi
jne 0x313d9
cmpb $0x6, (%rbx)
jne 0x313d9
cmpl $0x3d, 0x4(%rbx)
jne 0x313d9
movq 0x8(%rbx), %rdi
leaq 0x11f8c(%rip), %rsi     # 0x4335e
xorl %eax, %eax
callq 0x1108a
movq %rbx, %rdi
callq 0x2d0ed
movq %rax, %r14
testq %rax, %rax
sete %al
cmpq 0x28b6f(%rip), %r14     # 0x59f60
sete %cl
orb %al, %cl
je 0x31402
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
testb $-0x80, 0x6a(%r14)
je 0x3141b
movq 0x8(%rbx), %rdi
leaq 0x11f6f(%rip), %rsi     # 0x43383
xorl %eax, %eax
callq 0x1108a
movq %r14, %rdi
callq 0x314f0
testl %eax, %eax
je 0x3143c
leaq 0x2f9b2(%rip), %rax     # 0x60de0
cmpl $0x0, (%rax)
je 0x3146d
leaq 0x12274(%rip), %rdx     # 0x436ae
jmp 0x3145b
movq %r14, %rdi
callq 0x31508
testl %eax, %eax
je 0x3147c
leaq 0x2f991(%rip), %rax     # 0x60de0
cmpl $0x0, (%rax)
je 0x3146d
leaq 0x11f73(%rip), %rdx     # 0x433ce
movq 0x8(%rbx), %rdi
leaq 0x11f39(%rip), %rsi     # 0x4339f
xorl %eax, %eax
callq 0x1108a
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2f6c0
movzbl (%r14), %ecx
movq %r14, %rax
cmpl $0x3, %ecx
jne 0x3148e
movq 0x60(%r14), %rax
movl (%rax), %ecx
cmpb $0xe, %cl
ja 0x314a0
movzbl %cl, %ecx
movl $0x6a10, %edx           # imm = 0x6A10
btl %ecx, %edx
jb 0x3146d
movq 0x60(%rax), %rax
cmpq 0x28ad5(%rip), %rax     # 0x59f80
sete %cl
cmpq 0x28a9b(%rip), %rax     # 0x59f50
sete %al
orb %cl, %al
jne 0x3146d
movq 0x8(%rbx), %rdi
leaq 0x11f10(%rip), %rsi     # 0x433d7
xorl %eax, %eax
callq 0x1120e
movq %r14, %rdi
callq 0x20b5a
movq 0x8(%rbx), %rdi
leaq 0x10556(%rip), %rsi     # 0x41a37
movq %rax, %rdx
xorl %eax, %eax
callq 0x10ddc
jmp 0x313f8
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: modify_for_unsigned
static int modify_for_unsigned(int op)
{
	if (op == '<')
		op = SPECIAL_UNSIGNED_LT;
	else if (op == '>')
		op = SPECIAL_UNSIGNED_GT;
	else if (op == SPECIAL_LTE)
		op = SPECIAL_UNSIGNED_LTE;
	else if (op == SPECIAL_GTE)
		op = SPECIAL_UNSIGNED_GTE;
	return op;
}

// Assembly:
cmpl $0x3c, %edi
je 0x3153e
cmpl $0x108, %edi            # imm = 0x108
je 0x31538
cmpl $0x3e, %edi
jne 0x31544
movl $0x11a, %eax            # imm = 0x11A
retq
movl $0x11b, %eax            # imm = 0x11B
retq
movl $0x119, %eax            # imm = 0x119
retq
cmpl $0x109, %edi            # imm = 0x109
movl $0x11c, %eax            # imm = 0x11C
cmovnel %edi, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: mark_assigned
static void mark_assigned(struct expression *expr)
{
	struct symbol *sym;

	if (!expr)
		return;
	switch (expr->type) {
	case EXPR_SYMBOL:
		sym = expr->symbol;
		if (!sym)
			return;
		if (sym->type != SYM_NODE)
			return;
		sym->ctype.modifiers |= MOD_ASSIGNED;
		return;

	case EXPR_BINOP:
		mark_assigned(expr->left);
		mark_assigned(expr->right);
		return;
	case EXPR_CAST:
	case EXPR_FORCE_CAST:
		mark_assigned(expr->cast_expression);
		return;
	case EXPR_SLICE:
		mark_assigned(expr->base);
		return;
	default:
		/* Hmm? */
		return;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x28
popq %r14
pushq $0x20
popq %r15
testq %rbx, %rbx
je 0x315d0
movzbl (%rbx), %eax
leal -0xb(%rax), %edx
movq %r14, %rcx
cmpl $0x2, %edx
jb 0x315b3
cmpl $0x5, %eax
je 0x315a7
cmpl $0x1d, %eax
jne 0x315b9
movq %r15, %rcx
jmp 0x315b3
movq 0x20(%rbx), %rdi
callq 0x31575
movq %r14, %rcx
movq (%rbx,%rcx), %rbx
jmp 0x31585
cmpl $0x3, %eax
jne 0x315d0
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x315d0
cmpb $0x3, (%rax)
jne 0x315d0
orb $-0x80, 0x68(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_addressof
static struct symbol *evaluate_addressof(struct expression *expr)
{
	struct expression *op = expr->unop;
	struct symbol *ctype;

	if (op->op != '*' || op->type != EXPR_PREOP) {
		expression_error(expr, "not addressable");
		return NULL;
	}
	ctype = op->ctype;
	if (ctype->builtin)
		sparse_error(expr->pos, "taking the address of built-in function '%s'", show_ident(ctype->ident));
	*expr = *op->unop;

	mark_addressable(expr);

	/*
	 * symbol expression evaluation is lazy about the type
	 * of the sub-expression, so we may have to generate
	 * the type here if so..
	 */
	if (expr->ctype == &lazy_ptr_ctype) {
		ctype = create_pointer(expr, ctype, 0);
		expr->ctype = ctype;
	}
	return expr->ctype;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %r15
cmpl $0x2a, 0x4(%r15)
jne 0x31665
cmpb $0x9, (%r15)
jne 0x31665
movq 0x10(%r15), %r14
testb $0x8, 0x56(%r14)
je 0x31618
movq 0x18(%r14), %rdi
callq 0x2936d
movq 0x8(%rbx), %rdi
leaq 0x11b10(%rip), %rsi     # 0x4311e
movq %rax, %rdx
xorl %eax, %eax
callq 0x1120e
movq 0x20(%r15), %rax
movaps (%rax), %xmm0
movaps 0x10(%rax), %xmm1
movaps 0x20(%rax), %xmm2
movaps 0x30(%rax), %xmm3
movaps %xmm3, 0x30(%rbx)
movaps %xmm2, 0x20(%rbx)
movaps %xmm1, 0x10(%rbx)
movaps %xmm0, (%rbx)
movq %rbx, %rdi
callq 0x30c65
movq 0x10(%rbx), %r15
cmpq 0x288c3(%rip), %r15     # 0x59f10
jne 0x31679
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x30b70
movq %rax, %r15
movq %rax, 0x10(%rbx)
jmp 0x31679
leaq 0x11e9e(%rip), %rsi     # 0x4350a
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x11292
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_compound_literal
static struct symbol *evaluate_compound_literal(struct expression *expr, struct expression *source)
{
	struct expression *addr = alloc_expression(expr->pos, EXPR_SYMBOL);
	struct symbol *sym = expr->cast_type;

	sym->initializer = source;
	evaluate_symbol(sym);

	addr->ctype = &lazy_ptr_ctype;	/* Lazy eval */
	addr->symbol = sym;
	if (sym->ctype.modifiers & MOD_TOPLEVEL)
		addr->flags |= CEF_ADDR;

	expr->type = EXPR_PREOP;
	expr->op = '*';
	expr->deref = addr;
	expr->ctype = sym;
	return sym;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
pushq $0x3
popq %rsi
callq 0x30712
movq %rax, %r14
movq 0x20(%rbx), %r15
movq %r12, 0xb0(%r15)
movq %r15, %rdi
callq 0x3031d
leaq 0x34f5f(%rip), %rax     # 0x66618
movq %rax, 0x10(%r14)
movq %r15, 0x20(%r14)
testb $0x10, 0x68(%r15)
je 0x316cd
orb $0x40, 0x1(%r14)
movb $0x9, (%rbx)
movl $0x2a, 0x4(%rbx)
movq %r14, 0x20(%rbx)
movq %r15, 0x10(%rbx)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_type_information
static struct symbol *evaluate_type_information(struct expression *expr)
{
	struct symbol *sym = expr->cast_type;
	if (!sym) {
		sym = evaluate_expression(expr->cast_expression);
		if (!sym)
			return NULL;
		/*
		 * Expressions of restricted types will possibly get
		 * promoted - check that here
		 */
		if (is_restricted_type(sym)) {
			if (sym->bit_size < bits_in_int && is_promoted(expr))
				sym = &int_ctype;
		} else if (is_fouled_type(sym)) {
			sym = &int_ctype;
		}
	}
	examine_symbol_type(sym);
	if (is_bitfield_type(sym)) {
		expression_error(expr, "trying to examine bitfield type");
		return NULL;
	}
	return sym;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %r14
testq %r14, %r14
jne 0x31773
movq 0x28(%rbx), %rdi
callq 0x2d0ed
testq %rax, %rax
je 0x3175f
movq %rax, %r15
movq %rax, %rdi
callq 0x3104e
cmpl $0xd, %eax
jne 0x31764
movl 0x50(%r15), %eax
leaq 0x2cfe0(%rip), %rcx     # 0x5e708
cmpl (%rcx), %eax
jge 0x31770
pushq $0x28
popq %rax
leaq 0x34002(%rip), %r14     # 0x65738
pushq $0x20
popq %rcx
movq %rbx, %rdx
movzbl (%rdx), %esi
cmpl $0x9, %esi
je 0x3174e
movq %rax, %rdi
cmpl $0x15, %esi
je 0x31759
jmp 0x317a5
movl 0x4(%rdx), %esi
movq %rcx, %rdi
cmpl $0x28, %esi
jne 0x317b4
movq (%rdx,%rdi), %rdx
jmp 0x3173c
xorl %r14d, %r14d
jmp 0x3179c
cmpl $0xe, %eax
jne 0x31770
leaq 0x33fc8(%rip), %r15     # 0x65738
movq %r15, %r14
movq %r14, %rdi
callq 0x267cd
movq %r14, %rdi
callq 0x3104e
cmpl $0xb, %eax
jne 0x3179c
leaq 0x11f66(%rip), %rsi     # 0x436f5
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x11292
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
leal -0x11(%rsi), %eax
cmpl $0x2, %eax
jb 0x31773
cmpl $0x5, %esi
jne 0x31770
jmp 0x31773
cmpl $0x2b, %esi
je 0x31773
cmpl $0x2d, %esi
je 0x31773
cmpl $0x7e, %esi
je 0x31773
jmp 0x31770
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: find_identifier
static struct symbol *find_identifier(struct ident *ident, struct symbol_list *_list, int *offset)
{
	struct ptr_list *head = (struct ptr_list *)_list;
	struct ptr_list *list = head;

	if (!head)
		return NULL;
	do {
		int i;
		for (i = 0; i < list->nr; i++) {
			struct symbol *sym = (struct symbol *) list->list[i];
			if (sym->ident) {
				if (sym->ident != ident)
					continue;
				*offset = sym->offset;
				return sym;
			} else {
				struct symbol *ctype = sym->ctype.base_type;
				struct symbol *sub;
				if (!ctype)
					continue;
				if (ctype->type != SYM_UNION && ctype->type != SYM_STRUCT)
					continue;
				sub = find_identifier(ident, ctype->symbol_list, offset);
				if (!sub)
					continue;
				*offset += sym->offset;
				return sub;
			}	
		}
	} while ((list = list->next) != head);
	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x3183d
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %r13
xorl %ebp, %ebp
movsbq (%r13), %rax
cmpq %rax, %rbp
jge 0x31834
movq 0x18(%r13,%rbp,8), %r12
movq 0x18(%r12), %rax
testq %rax, %rax
je 0x31806
cmpq %r15, %rax
je 0x31842
incq %rbp
jmp 0x317e3
movq 0x60(%r12), %rax
testq %rax, %rax
je 0x31801
movzbl (%rax), %ecx
addl $-0x7, %ecx
cmpl $0x1, %ecx
ja 0x31801
movq 0x98(%rax), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x317c5
testq %rax, %rax
je 0x31801
jmp 0x3185b
movq 0x10(%r13), %r13
cmpq %r14, %r13
jne 0x317e1
xorl %r12d, %r12d
jmp 0x31849
movl 0x48(%r12), %ecx
movl %ecx, (%rbx)
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl (%rbx), %ecx
addl 0x48(%r12), %ecx
movq %rax, %r12
jmp 0x31847
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: is_string_type
static inline int is_string_type(struct symbol *type)
{
	if (type->type == SYM_NODE)
		type = type->ctype.base_type;
	if (type->type != SYM_ARRAY)
		return 0;
	type = type->ctype.base_type;
	return is_byte_type(type) || is_wchar_type(type);
}

// Assembly:
movzbl (%rdi), %ecx
cmpl $0x3, %ecx
jne 0x3212c
movq 0x60(%rdi), %rdi
movzbl (%rdi), %ecx
xorl %eax, %eax
cmpl $0x6, %ecx
jne 0x32169
movq 0x60(%rdi), %rcx
movl 0x50(%rcx), %edx
leaq 0x2c5bf(%rip), %rsi     # 0x5e700
movzbl (%rcx), %eax
cmpl (%rsi), %edx
jne 0x32151
cmpl $0xb, %eax
je 0x3215a
pushq $0x1
popq %rax
retq
cmpl $0x3, %eax
jne 0x3215a
movq 0x60(%rcx), %rcx
leaq 0x2c4ff(%rip), %rdx     # 0x5e660
xorl %eax, %eax
cmpq (%rdx), %rcx
sete %al
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: is_string_literal
static int is_string_literal(struct expression **v)
{
	struct expression *e = *v;
	while (e && e->type == EXPR_PREOP && e->op == '(')
		e = e->unop;
	if (!e || e->type != EXPR_STRING)
		return 0;
	if (e != *v && Wparen_string)
		warning(e->pos,
			"array initialized from parenthesized string constant");
	*v = e;
	return 1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rdi, %r14
xorl %eax, %eax
movq (%r14), %r14
testq %r14, %r14
je 0x321c2
movzbl (%r14), %ecx
cmpl $0x9, %ecx
jne 0x32194
cmpl $0x28, 0x4(%r14)
jne 0x321c2
addq $0x20, %r14
jmp 0x32176
cmpl $0x2, %ecx
jne 0x321c2
cmpq (%rbx), %r14
je 0x321bc
leaq 0x2ec73(%rip), %rax     # 0x60e18
cmpl $0x0, (%rax)
je 0x321bc
movq 0x8(%r14), %rdi
leaq 0x11836(%rip), %rsi     # 0x439eb
xorl %eax, %eax
callq 0x1108a
movq %r14, (%rbx)
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: first_subobject
static struct expression *first_subobject(struct symbol *ctype, int class,
					  struct expression **v)
{
	struct expression *e = *v, *new;

	if (ctype->type == SYM_NODE)
		ctype = ctype->ctype.base_type;

	if (class & TYPE_PTR) { /* array */
		if (!ctype->bit_size)
			return NULL;
		new = alloc_expression(e->pos, EXPR_INDEX);
		new->idx_expression = e;
		new->ctype = ctype->ctype.base_type;
	} else  {
		struct symbol *field, *p;
		PREPARE_PTR_LIST(ctype->symbol_list, p);
		while (p && !p->ident && is_bitfield_type(p))
			NEXT_PTR_LIST(p);
		field = p;
		FINISH_PTR_LIST(p);
		if (!field)
			return NULL;
		new = alloc_expression(e->pos, EXPR_IDENTIFIER);
		new->ident_expression = e;
		new->field = new->ctype = field;
		new->offset = field->offset;
	}
	*v = new;
	return new;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r15
cmpb $0x3, (%rdi)
jne 0x321e4
movq 0x60(%r15), %r15
movq (%rbx), %r12
testb $0x10, %sil
jne 0x32214
movq 0x98(%r15), %r13
testq %r13, %r13
movq %rbx, (%rsp)
je 0x3223c
movq %r13, %rbp
cmpb $0x0, (%rbp)
jg 0x3224a
movq 0x10(%rbp), %rbp
cmpq %r13, %rbp
jne 0x32200
xorl %r15d, %r15d
jmp 0x32241
cmpl $0x0, 0x50(%r15)
je 0x32245
movq 0x8(%r12), %rdi
pushq $0x1a
popq %rsi
callq 0x30712
movq %rax, %r14
movq %r12, 0x28(%rax)
movq 0x60(%r15), %rax
movq %rax, 0x10(%r14)
jmp 0x322c1
xorl %r15d, %r15d
xorl %ebp, %ebp
xorl %ebx, %ebx
jmp 0x32255
xorl %r14d, %r14d
jmp 0x322c4
movq 0x18(%rbp), %r15
andq $-0x4, %r15
pushq $0x1
popq %rbx
xorl %r14d, %r14d
testq %r15, %r15
je 0x322c4
cmpq $0x0, 0x18(%r15)
jne 0x32299
movq %r15, %rdi
callq 0x3104e
cmpl $0xb, %eax
jne 0x32299
movsbl (%rbp), %eax
cmpl %eax, %ebx
jl 0x32289
movq 0x10(%rbp), %rbp
xorl %ebx, %ebx
cmpq %r13, %rbp
jne 0x32271
xorl %r15d, %r15d
jmp 0x32258
movslq %ebx, %rax
movq 0x18(%rbp,%rax,8), %r15
andq $-0x4, %r15
incl %ebx
jmp 0x32258
movq 0x8(%r12), %rdi
pushq $0x19
popq %rsi
callq 0x30712
movq %rax, %r14
movq %r12, 0x38(%rax)
movq %r15, 0x10(%rax)
movq %r15, 0x30(%rax)
movl 0x48(%r15), %eax
movl %eax, 0x20(%r14)
movq (%rsp), %rbx
movq %r14, (%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: convert_designators
static void convert_designators(struct expression *e)
{
	while (e) {
		if (e->type == EXPR_INDEX)
			convert_index(e);
		else if (e->type == EXPR_IDENTIFIER)
			convert_ident(e);
		else
			break;
		e = e->init_expr;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
testq %rbx, %rbx
je 0x324a9
movl (%rbx), %eax
cmpb $0x19, %al
je 0x3248b
movzbl %al, %eax
cmpl $0x1a, %eax
jne 0x324a9
movq %rbx, %rdi
callq 0x324d2
movq 0x28(%rbx), %rbx
jmp 0x3246a
movq 0x38(%rbx), %rcx
andl $0xffffff00, %eax       # imm = 0xFFFFFF00
orl $0x1b, %eax
movl %eax, (%rbx)
movl $0x1, 0x24(%rbx)
movq %rcx, 0x28(%rbx)
movq %rcx, %rbx
jmp 0x3246a
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: convert_index
static void convert_index(struct expression *e)
{
	struct expression *child = e->idx_expression;
	unsigned from = e->idx_from;
	unsigned to = e->idx_to + 1;
	e->type = EXPR_POS;
	e->init_offset = from * bits_to_bytes(e->ctype->bit_size);
	e->init_nr = to - from;
	e->init_expr = child;
}

// Assembly:
movl 0x20(%rdi), %esi
movl 0x24(%rdi), %ecx
movb $0x1b, (%rdi)
movq 0x10(%rdi), %rax
movl 0x50(%rax), %eax
testl %eax, %eax
js 0x324fb
leaq 0x2c213(%rip), %rdx     # 0x5e700
movl (%rdx), %r8d
addl %r8d, %eax
decl %eax
cltd
idivl %r8d
jmp 0x324fe
pushq $-0x1
popq %rax
imull %esi, %eax
movl %eax, 0x20(%rdi)
subl %esi, %ecx
incl %ecx
movl %ecx, 0x24(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: check_case_type
static void check_case_type(struct expression *switch_expr,
			    struct expression *case_expr,
			    struct expression **enumcase)
{
	struct symbol *switch_type, *case_type;
	int sclass, cclass;

	if (!case_expr)
		return;

	switch_type = switch_expr->ctype;
	case_type = evaluate_expression(case_expr);

	if (!switch_type || !case_type)
		goto Bad;
	if (enumcase) {
		if (*enumcase)
			warn_for_different_enum_types(case_expr->pos, case_type, (*enumcase)->ctype);
		else if (is_enum_type(case_type))
			*enumcase = case_expr;
	}

	sclass = classify_type(switch_type, &switch_type);
	cclass = classify_type(case_type, &case_type);

	/* both should be arithmetic */
	if (!(sclass & cclass & TYPE_NUM))
		goto Bad;

	/* neither should be floating */
	if ((sclass | cclass) & TYPE_FLOAT)
		goto Bad;

	/* if neither is restricted, we are OK */
	if (!((sclass | cclass) & TYPE_RESTRICT))
		return;

	if (!restricted_binop_type(SPECIAL_EQUAL, case_expr, switch_expr,
				   cclass, sclass, case_type, switch_type)) {
		unrestrict(case_expr, cclass, &case_type);
		unrestrict(switch_expr, sclass, &switch_type);
	}
	return;

Bad:
	expression_error(case_expr, "incompatible types for 'case' statement");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rsi, %rsi
je 0x32621
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %r12
movq %r12, 0x10(%rsp)
movq %rsi, %rdi
callq 0x2d0ed
movq %rax, %r15
movq %rax, 0x8(%rsp)
testq %r12, %r12
setne %al
testq %r15, %r15
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x32630
testq %r13, %r13
je 0x325a4
movq (%r13), %rax
testq %rax, %rax
je 0x32594
movq 0x10(%rax), %rdx
movq 0x8(%r14), %rdi
movq %r15, %rsi
callq 0x30681
jmp 0x325a4
movq %r15, %rdi
callq 0x3250c
testl %eax, %eax
je 0x325a4
movq %r14, (%r13)
leaq 0x10(%rsp), %rsi
movq %r12, %rdi
callq 0x2f4dd
movl %eax, %ebp
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x2f4dd
movl %eax, %r15d
movl %ebp, %eax
andl %r15d, %eax
testb $0x1, %al
je 0x32630
movl %r15d, %eax
orl %ebp, %eax
testb $0x8, %al
jne 0x32630
testb $0x4, %al
je 0x32621
movq 0x8(%rsp), %r9
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
movl $0x10a, %edi            # imm = 0x10A
movq %r14, %rsi
movq %rbx, %rdx
movl %r15d, %ecx
movl %ebp, %r8d
callq 0x30a43
testq %rax, %rax
jne 0x32621
leaq 0x8(%rsp), %rdx
movq %r14, %rdi
movl %r15d, %esi
callq 0x30ae2
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x30ae2
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x115de(%rip), %rsi     # 0x43c15
movq %r14, %rdi
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x11292
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: parse_asm_constraint
static void parse_asm_constraint(struct asm_operand *op)
{
	struct expression *constraint = op->constraint;
	const char *str = constraint->string->data;
	int c;

	switch (str[0]) {
	case '\0':
		sparse_error(constraint->pos, "invalid ASM constraint (\"\")");
		break;
	case '+':
		op->is_modify = true;
		/* fall-through */
	case '=':
		op->is_assign = true;
		str++;
		break;
	}

	while ((c = *str++)) {
		switch (c) {
		case '=':
		case '+':
			sparse_error(constraint->pos, "invalid ASM constraint '%c'", c);
			break;

		case '&':
			op->is_earlyclobber = true;
			break;
		case '%':
			op->is_commutative = true;
			break;
		case 'r':
			op->is_register = true;
			break;

		case 'm':
		case 'o':
		case 'V':
		case 'Q':
			op->is_memory = true;
			break;

		case '<':
		case '>':
			// FIXME: ignored for now
			break;

		case ',':
			// FIXME: multiple alternative constraints
			break;

		case '0' ... '9':
			// FIXME: numeric  matching constraint?
			break;
		case '[':
			// FIXME: symbolic matching constraint
			return;

		default:
			if (arch_target->asm_constraint)
				str = arch_target->asm_constraint(op, c, str);

			// FIXME: multi-letter constraints
			break;
		}
	}

	// FIXME: how to deal with multi-constraint?
	if (op->is_register)
		op->is_memory = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %r12
movq 0x28(%r12), %rax
leaq 0x4(%rax), %r14
movzbl 0x4(%rax), %ecx
testl %ecx, %ecx
je 0x32696
cmpl $0x2b, %ecx
je 0x32681
cmpl $0x3d, %ecx
jne 0x326a9
movb 0x18(%rbx), %cl
jmp 0x32687
movb 0x18(%rbx), %cl
orb $0x2, %cl
orb $0x1, %cl
movb %cl, 0x18(%rbx)
addq $0x5, %rax
movq %rax, %r14
jmp 0x326a9
movq 0x8(%r12), %rdi
leaq 0x115f2(%rip), %rsi     # 0x43c94
xorl %eax, %eax
callq 0x1120e
leaq 0x2c090(%rip), %r13     # 0x5e740
leaq 0x1068d(%rip), %rbp     # 0x42d44
leaq 0x115f2(%rip), %r15     # 0x43cb0
movzbl (%r14), %eax
incq %r14
movsbl %al, %edx
leal -0x25(%rax), %ecx
cmpl $0x2c, %ecx
ja 0x326eb
movslq (%rbp,%rcx,4), %rax
addq %rbp, %rax
jmpq *%rax
movq 0x8(%r12), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1120e
jmp 0x326be
cmpl $0x56, %eax
je 0x32724
cmpl $0x6d, %eax
je 0x32724
cmpl $0x6f, %eax
je 0x32724
cmpl $0x72, %eax
je 0x32736
testl %eax, %eax
je 0x3273c
cmpl $0x5b, %eax
je 0x32748
movq (%r13), %rax
movq 0x68(%rax), %rax
testq %rax, %rax
je 0x326be
movq %rbx, %rdi
movl %edx, %esi
movq %r14, %rdx
callq *%rax
movq %rax, %r14
jmp 0x326be
orb $0x20, 0x18(%rbx)
jmp 0x326be
orb $0x4, 0x18(%rbx)
jmp 0x326be
orb $0x8, 0x18(%rbx)
jmp 0x326be
orb $0x10, 0x18(%rbx)
jmp 0x326be
movb 0x18(%rbx), %al
testb $0x10, %al
je 0x32748
andb $-0x21, %al
movb %al, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_asm_memop
static void evaluate_asm_memop(struct asm_operand *op)
{
	if (op->is_memory) {
		struct expression *expr = op->expr;
		struct expression *addr;

		// implicit addressof
		addr = alloc_expression(expr->pos, EXPR_PREOP);
		addr->op = '&';
		addr->unop = expr;

		evaluate_addressof(addr);
		op->expr = addr;
	} else {
		evaluate_expression(op->expr);
		degenerate(op->expr);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testb $0x20, 0x18(%rdi)
movq 0x10(%rdi), %r14
jne 0x3277f
movq %r14, %rdi
callq 0x2d0ed
movq 0x10(%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2f6c0
movq 0x8(%r14), %rdi
pushq $0x9
popq %rsi
callq 0x30712
movq %rax, %r15
movl $0x26, 0x4(%rax)
movq %r14, 0x20(%rax)
movq %rax, %rdi
callq 0x315d6
movq %r15, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/expression.c
// Function: parens_expression
struct token *parens_expression(struct token *token, struct expression **expr, const char *where)
{
	struct token *p;

	token = expect(token, '(', where);
	p = token;
	if (match_op(token, '{')) {
		struct expression *e = alloc_expression(token->pos, EXPR_STATEMENT);
		struct statement *stmt = alloc_statement(token->pos, STMT_COMPOUND);
		*expr = e;
		e->statement = stmt;
		start_label_scope();
		token = compound_statement(token->next, stmt);
		end_label_scope();
		token = expect(token, '}', "at end of statement expression");
	} else
		token = parse_expression(token, expr);

	if (token == p)
		sparse_error(token->pos, "an expression is expected before ')'");
	return expect(token, ')', where);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
pushq $0x28
popq %rsi
callq 0x17480
movq %rax, %r14
movq (%rax), %rdi
movl %edi, %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x32879
cmpl $0x7b, 0x10(%r14)
jne 0x32879
pushq $0x13
popq %rsi
callq 0x328b4
movq %rax, %r12
movq (%r14), %rdi
pushq $0x3
popq %rsi
callq 0x17530
movq %rax, %r13
movq %r12, (%r15)
movq %rax, 0x20(%r12)
callq 0x2018a
movq 0x8(%r14), %rdi
movq %r13, %rsi
callq 0x180ba
movq %rax, %r15
callq 0x200f4
leaq 0x11530(%rip), %rdx     # 0x43d9c
pushq $0x7d
popq %rsi
movq %r15, %rdi
callq 0x17480
jmp 0x32884
movq %r14, %rdi
movq %r15, %rsi
callq 0x33661
movq %rax, %r15
cmpq %r14, %rax
jne 0x3289d
movq (%r15), %rdi
leaq 0x11525(%rip), %rsi     # 0x43dbb
xorl %eax, %eax
callq 0x1120e
pushq $0x29
popq %rsi
movq %r15, %rdi
movq %rbx, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x17480
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/expression.c
// Function: string_expression
struct token *string_expression(struct token *token, struct expression **expr, const char *where)
{
	struct token *next = primary_expression(token, expr);

	if (!*expr || (*expr)->type != EXPR_STRING) {
		sparse_error(token->pos, "string literal expected for %s", where);
		*expr = NULL;
	}
	return next;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
callq 0x32929
movq %rax, %r15
movq (%rbx), %rax
testq %rax, %rax
je 0x32901
cmpb $0x2, (%rax)
je 0x3291a
movq (%r12), %rdi
leaq 0x114d4(%rip), %rsi     # 0x43de0
movq %r14, %rdx
xorl %eax, %eax
callq 0x1120e
andq $0x0, (%rbx)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/expression.c
// Function: conditional_expression
struct token *conditional_expression(struct token *token, struct expression **tree)
{
	token = logical_or_expression(token, tree);
	if (*tree && match_op(token, '?')) {
		struct expression *expr = alloc_expression(token->pos, EXPR_CONDITIONAL);
		expr->op = token->special;
		expr->conditional = *tree;
		*tree = expr;
		token = parse_expression(token->next, &expr->cond_true);
		token = expect(token, ':', "in conditional expression");
		token = conditional_expression(token, &expr->cond_false);
	}
	return token;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
pushq $0x7
popq %rbp
leaq 0x8(%rsp), %r14
andq $0x0, 0x10(%rsp)
leaq 0x10(%rsp), %rsi
callq 0x337a4
movq %rax, %r13
movq 0x10(%rsp), %rbx
testq %rbx, %rbx
je 0x335ad
movq (%r13), %rdi
movl %edi, %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x33547
andq $0x0, 0x8(%rsp)
cmpl $0x10e, 0x10(%r13)      # imm = 0x10E
jne 0x33547
movl %ebp, %esi
callq 0x328b4
movq %rax, %r15
movq 0x8(%r13), %rdi
movq %r14, %rsi
callq 0x337a4
movq %rax, %r13
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x33528
movl $0x10e, 0x4(%r15)       # imm = 0x10E
movq %rbx, 0x20(%r15)
movq %rax, 0x28(%r15)
movq %r15, %rbx
jmp 0x334d2
movl $0x10e, %edi            # imm = 0x10E
callq 0x29332
movq (%r13), %rdi
leaq 0x10be8(%rip), %rsi     # 0x44125
movq %rax, %rdx
xorl %eax, %eax
callq 0x1120e
movq %rbx, (%r12)
movq (%r13), %rdi
movl %edi, %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x335b2
cmpl $0x3f, 0x10(%r13)
jne 0x335b2
pushq $0x11
popq %rsi
callq 0x328b4
movq %rax, %r15
movl 0x10(%r13), %eax
movl %eax, 0x4(%r15)
movq (%r12), %rax
movq %rax, 0x20(%r15)
movq %r15, (%r12)
movq 0x8(%r13), %rdi
leaq 0x28(%r15), %rsi
callq 0x33661
movq %rax, %rdi
pushq $0x3a
popq %rsi
leaq 0x10890(%rip), %rdx     # 0x43e29
callq 0x17480
movq %rax, %rdi
addq $0x30, %r15
movq %r15, %r12
jmp 0x334b1
andq $0x0, (%r12)
movq %r13, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/expression.c
// Function: assignment_expression
struct token *assignment_expression(struct token *token, struct expression **tree)
{
	token = conditional_expression(token, tree);
	if (*tree && token_type(token) == TOKEN_SPECIAL) {
		static const int assignments[] = {
			'=',
			SPECIAL_ADD_ASSIGN, SPECIAL_SUB_ASSIGN,
			SPECIAL_MUL_ASSIGN, SPECIAL_DIV_ASSIGN,
			SPECIAL_MOD_ASSIGN, SPECIAL_SHL_ASSIGN,
			SPECIAL_SHR_ASSIGN, SPECIAL_AND_ASSIGN,
			SPECIAL_OR_ASSIGN,  SPECIAL_XOR_ASSIGN };
		int i, op = token->special;
		for (i = 0; i < ARRAY_SIZE(assignments); i++)
			if (assignments[i] == op) {
				struct expression * expr = alloc_expression(token->pos, EXPR_ASSIGNMENT);
				struct token *next = token->next;
				expr->left = *tree;
				expr->op = op;
				*tree = expr;
				token = assignment_expression(next, &expr->right);
				if (token == next)
					expression_error(expr, "expression expected before '%s'", show_token(token));
				return token;
			}
	}
	return token;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
callq 0x33498
movq %rax, %rbx
cmpq $0x0, (%r14)
je 0x33655
movq (%rbx), %rdi
movl %edi, %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x33655
movl 0x10(%rbx), %ebp
xorl %eax, %eax
leaq 0x1077a(%rip), %rcx     # 0x43d70
cmpq $0x2c, %rax
je 0x33655
leaq 0x4(%rax), %rdx
cmpl %ebp, (%rax,%rcx)
movq %rdx, %rax
jne 0x335f6
pushq $0x6
popq %rsi
callq 0x328b4
movq %rax, %r15
movq 0x8(%rbx), %r12
movq (%r14), %rax
movq %rax, 0x20(%r15)
movl %ebp, 0x4(%r15)
movq %r15, (%r14)
leaq 0x28(%r15), %rsi
movq %r12, %rdi
callq 0x335c4
movq %rax, %rbx
cmpq %r12, %rax
jne 0x33655
movq %rbx, %rdi
callq 0x294bb
leaq 0x8a8e(%rip), %rsi      # 0x3c0d6
movq %r15, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x11292
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/expression.c
// Function: parse_type
static struct token *parse_type(struct token *token, struct expression **tree)
{
	struct symbol *sym;
	*tree = alloc_expression(token->pos, EXPR_TYPE);
	token = typename(token, &sym, NULL);
	if (sym->ident)
		sparse_error(token->pos,
			     "type expression should not include identifier "
			     "\"%s\"", sym->ident->name);
	(*tree)->symbol = sym;
	return token;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
pushq $0x4
popq %rsi
callq 0x328b4
movq %rax, (%rbx)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x175d4
movq %rax, %r14
movq (%r15), %rax
movq 0x18(%rax), %rdx
testq %rdx, %rdx
je 0x33790
addq $0x12, %rdx
movq (%r14), %rdi
leaq 0x10887(%rip), %rsi     # 0x4400b
xorl %eax, %eax
callq 0x1120e
movq 0x8(%rsp), %rax
movq (%rbx), %rcx
movq %rax, 0x20(%rcx)
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/expression.c
// Function: relational_expression
static struct token *relational_expression(struct token *token, struct expression **tree)
{
	LR_BINOP_EXPRESSION(
		token, tree, EXPR_COMPARE, shift_expression,
		(op == '<') || (op == '>') ||
		(op == SPECIAL_LTE) || (op == SPECIAL_GTE)
	);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
leaq 0x10(%rsp), %r15
andq $0x0, (%r15)
movq %r15, %rsi
callq 0x33c4b
movq %rax, %r14
movq (%r15), %rbx
testq %rbx, %rbx
je 0x33c11
movq %r12, (%rsp)
pushq $0x16
popq %rbp
leaq 0x8(%rsp), %r15
movq (%r14), %rdi
movl %edi, %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x33c31
andq $0x0, 0x8(%rsp)
movl 0x10(%r14), %r12d
leal -0x108(%r12), %eax
cmpl $0x2, %eax
jb 0x33bdd
cmpl $0x3e, %r12d
je 0x33bdd
cmpl $0x3c, %r12d
jne 0x33c31
movl %ebp, %esi
callq 0x328b4
movq %rax, %r13
movq 0x8(%r14), %rdi
movq %r15, %rsi
callq 0x33c4b
movq %rax, %r14
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x33c15
movl %r12d, 0x4(%r13)
movq %rbx, 0x20(%r13)
movq %rax, 0x28(%r13)
movq %r13, %rbx
jmp 0x33bad
xorl %ebx, %ebx
jmp 0x33c35
movl %r12d, %edi
callq 0x29332
movq (%r14), %rdi
leaq 0x104fe(%rip), %rsi     # 0x44125
movq %rax, %rdx
xorl %eax, %eax
callq 0x1120e
movq (%rsp), %r12
movq %rbx, (%r12)
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq