LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_ptrsizeof
static struct symbol *evaluate_ptrsizeof(struct expression *expr)
{
	struct symbol *type;
	int size;

	type = evaluate_type_information(expr);
	if (!type)
		return NULL;

	if (type->type == SYM_NODE)
		type = type->ctype.base_type;
	if (!type)
		return NULL;
	switch (type->type) {
	case SYM_ARRAY:
		break;
	case SYM_PTR:
		type = get_base_type(type);
		if (type)
			break;
	default:
		expression_error(expr, "expected pointer expression");
		return NULL;
	}
	size = type->bit_size;
	if (size & (bits_in_char-1))
		size = 0;
	expr->type = EXPR_VALUE;
	expr->value = bits_to_bytes(size);
	expr->taint = 0;
	expr->ctype = size_t_ctype;
	return size_t_ctype;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x38430
testq %rax, %rax
je 0x354f8
cmpb $0x3, (%rax)
jne 0x354ae
movq 0x60(%rax), %rax
testq %rax, %rax
je 0x354f8
movzbl (%rax), %ecx
cmpl $0x6, %ecx
je 0x354ce
cmpl $0x4, %ecx
jne 0x354fd
movq 0x60(%rax), %rdi
callq 0x2b5f4
testq %rax, %rax
je 0x354fd
movl 0x50(%rax), %edx
leaq 0x30228(%rip), %rax     # 0x65700
movl (%rax), %esi
decl %esi
xorl %ecx, %ecx
testl %edx, %esi
cmovel %edx, %ecx
movb $0x1, (%rbx)
testl %ecx, %ecx
js 0x35513
movl (%rax), %esi
leal (%rcx,%rsi), %eax
decl %eax
cltd
idivl %esi
cltq
jmp 0x3551a
xorl %r14d, %r14d
jmp 0x35533
leaq 0x1604f(%rip), %rsi     # 0x4b553
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x11abc
jmp 0x35533
movq $-0x1, %rax
movq %rax, 0x20(%rbx)
movl $0x0, 0x28(%rbx)
leaq 0x300f4(%rip), %rax     # 0x65620
movq (%rax), %r14
movq %r14, 0x10(%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_alignof
static struct symbol *evaluate_alignof(struct expression *expr)
{
	struct symbol *type;

	type = evaluate_type_information(expr);
	if (!type)
		return NULL;

	expr->type = EXPR_VALUE;
	expr->value = type->ctype.alignment;
	expr->taint = 0;
	expr->ctype = size_t_ctype;
	return size_t_ctype;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x38430
testq %rax, %rax
je 0x3556e
movb $0x1, (%rbx)
movq 0x70(%rax), %rax
movq %rax, 0x20(%rbx)
movl $0x0, 0x28(%rbx)
leaq 0x300bb(%rip), %rax     # 0x65620
movq (%rax), %rax
movq %rax, 0x10(%rbx)
jmp 0x35570
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: check_label_declaration
static void check_label_declaration(struct position pos, struct symbol *label)
{
	switch (label->namespace) {
	case NS_LABEL:
		if (label->stmt)
			break;
		sparse_error(pos, "label '%s' was not declared", show_ident(label->ident));
		/* fallthrough */
	case NS_NONE:
		current_fn->bogus_linear = 1;
	default:
		break;
	}
}

// Assembly:
pushq %rbx
movl (%rsi), %eax
shrl $0x8, %eax
andl $0x1ff, %eax            # imm = 0x1FF
je 0x36693
cmpl $0x8, %eax
jne 0x366a1
cmpq $0x0, 0x90(%rsi)
jne 0x366a1
movq %rdi, %rbx
movq 0x18(%rsi), %rdi
callq 0x2e465
leaq 0x14fee(%rip), %rsi     # 0x4b674
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x11a38
movq 0x5a8d6(%rip), %rax     # 0x90f70
orl $0x100, 0x54(%rax)      # imm = 0x100
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_symbol
static struct symbol *evaluate_symbol(struct symbol *sym)
{
	struct symbol *base_type;

	if (!sym)
		return sym;
	if (sym->evaluated)
		return sym;
	sym->evaluated = 1;

	sym = examine_symbol_type(sym);
	base_type = get_base_type(sym);
	if (!base_type)
		return NULL;

	/* Evaluate the initializers */
	if (sym->initializer)
		evaluate_initializer(sym, &sym->initializer);

	/* And finally, evaluate the body of the symbol too */
	if (base_type->type == SYM_FN) {
		struct symbol *curr = current_fn;

		if (sym->definition && sym->definition != sym)
			return evaluate_symbol(sym->definition);

		current_fn = sym;

		examine_fn_arguments(base_type);
		if (!base_type->stmt && base_type->inline_stmt && sym->definition)
			uninline(sym);
		if (base_type->stmt)
			evaluate_statement(base_type->stmt);

		current_fn = curr;
	}

	return base_type;
}

// Assembly:
testq %rdi, %rdi
je 0x3674d
movl 0x54(%rdi), %eax
btl $0xd, %eax
jb 0x367fe
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
orl $0x2000, %eax           # imm = 0x2000
movl %eax, 0x54(%rdi)
callq 0x2b5f4
movq %rax, %r14
movq 0x60(%rax), %rdi
callq 0x2b5f4
testq %rax, %rax
je 0x36754
movq %rax, %rbx
cmpq $0x0, 0xb0(%r14)
je 0x3678c
cmpb $0x3, (%r14)
movq %r14, %rax
jne 0x366fc
movq 0x60(%r14), %rax
cmpb $0xa, (%rax)
jne 0x36712
movq %rax, %rdi
callq 0x2b5f4
cmpb $0x3, (%rax)
jne 0x36712
movq 0x60(%rax), %rax
cmpb $0x9, (%rax)
jne 0x3671b
movq 0x60(%rax), %rax
leaq 0xb0(%r14), %r15
movzbl (%rax), %ecx
cmpq $0x2, %rcx
jne 0x36741
movq 0x60(%rax), %rax
cmpq 0x2a84a(%rip), %rax     # 0x60f80
je 0x3675b
cmpq 0x2a801(%rip), %rax     # 0x60f40
je 0x36762
leaq 0x144f8(%rip), %rax     # 0x4ac40
movl (%rax,%rcx,4), %edx
jmp 0x36767
xorl %edi, %edi
jmp 0x367fe
xorl %edi, %edi
jmp 0x367f4
movl $0x1, %edx
jmp 0x36767
movl $0x9, %edx
movq %r15, %rdi
xorl %esi, %esi
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x38639
testl %eax, %eax
jne 0x3678c
movq (%r15), %rdi
leaq 0x14fd1(%rip), %rsi     # 0x4b756
xorl %eax, %eax
callq 0x11abc
cmpb $0x5, (%rbx)
jne 0x367f1
movq 0xc8(%r14), %rdi
testq %rdi, %rdi
sete %al
cmpq %r14, %rdi
sete %bpl
orb %al, %bpl
je 0x367e4
movq 0x5a7bf(%rip), %r15     # 0x90f70
movq %r14, 0x5a7b8(%rip)     # 0x90f70
movq %rbx, %rdi
callq 0x32794
cmpq $0x0, 0x90(%rbx)
je 0x36802
movq 0x90(%rbx), %rdi
testq %rdi, %rdi
je 0x367db
callq 0x35f67
movq %r15, 0x5a78e(%rip)     # 0x90f70
jmp 0x367ec
callq 0x366a3
movq %rax, %rdi
testb %bpl, %bpl
je 0x367f4
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
movq %rdi, %rax
retq
cmpq $0x0, 0xa0(%rbx)
je 0x367ca
cmpq $0x0, 0xc8(%r14)
je 0x367ca
movq %r14, %rdi
callq 0x10bde
jmp 0x367ca
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: evaluate_symbol_list
void evaluate_symbol_list(struct symbol_list *list)
{
	struct symbol *sym;

	FOR_EACH_PTR(list, sym) {
		has_error &= ~ERROR_CURR_PHASE;
		evaluate_symbol(sym);
		check_duplicates(sym);
	} END_FOR_EACH_PTR(sym);
}

// Assembly:
testq %rdi, %rdi
je 0x36fb4
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0x30e2a(%rip), %r15     # 0x67d84
movq %rdi, %r12
movzwl (%r12), %eax
testb %al, %al
jle 0x36fa1
xorl %r13d, %r13d
movq 0x18(%r12,%r13,8), %r14
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x36f7d
testq %r14, %r14
je 0x36f91
andb $-0x2, (%r15)
movq %r14, %rdi
callq 0x366a3
movq %r14, %rdi
callq 0x36dad
incq %r13
movl (%r12), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jl 0x36f69
movq 0x10(%r12), %r12
cmpq %rbx, %r12
jne 0x36f5d
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: unqualify_type
static struct symbol *unqualify_type(struct symbol *ctype)
{
	if (!ctype)
		return ctype;
	if (ctype->type == SYM_NODE && (ctype->ctype.modifiers & MOD_QUALIFIER)) {
		struct symbol *unqual = alloc_symbol(ctype->pos, 0);

		*unqual = *ctype;
		unqual->ctype.modifiers &= ~MOD_QUALIFIER;
		return unqual;
	}
	return ctype;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x36ff4
movq %rdi, %rbx
cmpb $0x3, (%rdi)
jne 0x36ff6
testb $0xe, 0x69(%rbx)
je 0x36ff6
movq 0x4(%rbx), %rdi
xorl %esi, %esi
callq 0x2b547
movq %rax, %r14
movl $0xe0, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0xe1e0
andb $-0xf, 0x69(%r14)
movq %r14, %rbx
jmp 0x36ff6
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: warn_for_different_enum_types
static void
warn_for_different_enum_types (struct position pos,
			       struct symbol *typea,
			       struct symbol *typeb)
{
	if (!Wenum_mismatch)
		return;
	if (typea->type == SYM_NODE)
		typea = typea->ctype.base_type;
	if (typeb->type == SYM_NODE)
		typeb = typeb->ctype.base_type;

	if (typea == typeb)
		return;

	if (typea->type == SYM_ENUM && typeb->type == SYM_ENUM) {
		warning(pos, "mixing different enum types:");
		info(pos, "   %s", show_typename(typea));
		info(pos, "   %s", show_typename(typeb));
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x2a597(%rip), %rax     # 0x615a4
cmpl $0x0, (%rax)
je 0x3708c
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpb $0x3, (%rsi)
jne 0x37024
movq 0x60(%r15), %r15
cmpb $0x3, (%r14)
jne 0x3702e
movq 0x60(%r14), %r14
cmpq %r14, %r15
je 0x3708c
cmpb $0x9, (%r15)
jne 0x3708c
cmpb $0x9, (%r14)
jne 0x3708c
leaq 0x13e9b(%rip), %rsi     # 0x4aee1
movq %rbx, %rdi
xorl %eax, %eax
callq 0x118b4
movq %r15, %rdi
callq 0x2386c
leaq 0x128b8(%rip), %r15     # 0x49917
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x11744
movq %r14, %rdi
callq 0x2386c
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x11744
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: cast_flags
static int cast_flags(struct expression *expr, struct expression *old)
{
	struct symbol *t;
	int class;
	int flags = CEF_NONE;

	class = classify_type(expr->ctype, &t);
	if (class & TYPE_NUM) {
		flags = old->flags & ~CEF_CONST_MASK;
		/*
		 * Casts to numeric types never result in address
		 * constants [6.6(9)].
		 */
		flags &= ~CEF_ADDR;

		/*
		 * As an extension, treat address constants cast to
		 * integer type as an arithmetic constant.
		 */
		if (old->flags & CEF_ADDR)
			flags = CEF_ACE;

		/*
		 * Cast to float type -> not an integer constant
		 * expression [6.6(6)].
		 */
		if (class & TYPE_FLOAT)
			flags &= ~CEF_CLR_ICE;
		/*
		 * Casts of float literals to integer type results in
		 * a constant integer expression [6.6(6)].
		 */
		else if (old->flags & CEF_FLOAT)
			flags = CEF_SET_ICE;
	} else if (class & TYPE_PTR) {
		/*
		 * Casts of integer literals to pointer type yield
		 * address constants [6.6(9)].
		 *
		 * As an extension, treat address constants cast to a
		 * different pointer type as address constants again.
		 *
		 * As another extension, treat integer constant
		 * expressions (in contrast to literals) cast to
		 * pointer type as address constants.
		 */
		if (old->flags & (CEF_ICE | CEF_ADDR))
			flags = CEF_ADDR;
	}

	return flags;
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movq 0x10(%rdi), %rax
cmpb $0x3, (%rax)
jne 0x370a3
movq 0x60(%rax), %rax
cmpb $0xa, (%rax)
jne 0x370b9
movq %rax, %rdi
callq 0x2b5f4
cmpb $0x3, (%rax)
jne 0x370b9
movq 0x60(%rax), %rax
cmpb $0x9, (%rax)
jne 0x370c2
movq 0x60(%rax), %rax
movzbl (%rax), %ecx
cmpq $0x2, %rcx
jne 0x370e1
movq 0x60(%rax), %rax
cmpq 0x29eaa(%rip), %rax     # 0x60f80
je 0x370ed
cmpq 0x29e61(%rip), %rax     # 0x60f40
je 0x370f4
leaq 0x13b58(%rip), %rax     # 0x4ac40
movl (%rax,%rcx,4), %ecx
jmp 0x370f9
movl $0x1, %ecx
jmp 0x370f9
movl $0x9, %ecx
testb $0x1, %cl
jne 0x37113
xorl %eax, %eax
testb $0x10, %cl
je 0x37142
xorl %eax, %eax
testb $0x50, 0x1(%rbx)
setne %al
shll $0x6, %eax
jmp 0x37142
movl (%rbx), %edx
movl %edx, %esi
shrl $0x8, %esi
andl $0xb4, %esi
btl $0xe, %edx
movl $0x20, %eax
cmovael %esi, %eax
testb $0x8, %cl
jne 0x3713f
btl $0x9, %edx
movl $0x30, %ecx
cmovbl %ecx, %eax
jmp 0x37142
andl $-0x60, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %r14
movq %r14, %rdi
callq 0x33628
movq %rax, %r15
cmpb $0x3, (%rax)
jne 0x3716a
movq 0x60(%r15), %r15
cmpb $0xa, (%r15)
jne 0x37184
movq %r15, %rdi
callq 0x2b5f4
movq %rax, %r15
cmpb $0x3, (%rax)
jne 0x37184
movq 0x60(%r15), %r15
cmpb $0x9, (%r15)
jne 0x3718e
movq 0x60(%r15), %r15
movzbl (%r15), %eax
cmpq $0x2, %rax
jne 0x371ae
movq 0x60(%r15), %rcx
cmpq 0x29ddd(%rip), %rcx     # 0x60f80
je 0x371ba
cmpq 0x29d94(%rip), %rcx     # 0x60f40
je 0x371c1
leaq 0x13a8b(%rip), %rcx     # 0x4ac40
movl (%rcx,%rax,4), %ebp
jmp 0x371c6
movl $0x1, %ebp
jmp 0x371c6
movl $0x9, %ebp
testb $0x20, %bpl
jne 0x37265
movq 0x8(%rbx), %r13
xorl %edi, %edi
callq 0x30029
movq %rax, %r12
movl (%rax), %eax
orl $0x1, %eax
movq %r13, 0x8(%r12)
movq $0x0, 0x20(%r12)
leaq 0x35540(%rip), %rcx     # 0x6c738
movq %rcx, 0x10(%r12)
andl $0xffff0001, %eax       # imm = 0xFFFF0001
orl $0x3100, %eax           # imm = 0x3100
movl %eax, (%r12)
testb $0x10, %bpl
je 0x37216
movq %r15, 0x10(%r12)
movl $0x10b, 0x4(%rbx)       # imm = 0x10B
movq 0x10(%r12), %rax
movq %rax, (%rsp)
movl $0x10b, %edi            # imm = 0x10B
movq %r14, %rsi
movq %r12, %rdx
movl %ebp, %ecx
movl $0x1, %r8d
movq %r15, %r9
callq 0x37305
movq %rax, %r15
movb $0x16, (%rbx)
movq %r14, %rdi
movq %rax, %rsi
callq 0x334cd
movq %rax, 0x20(%rbx)
movq %r12, %rdi
movq %r15, %rsi
callq 0x334cd
movq %rax, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testq %rdi, %rdi
je 0x372e8
leaq 0x10828(%rip), %r12     # 0x47abc
leaq 0x2f145(%rip), %rbp     # 0x663e0
xorl %r13d, %r13d
xorl %eax, %eax
orq 0x68(%r14), %r13
movq 0x80(%r14), %rcx
testq %rcx, %rcx
je 0x372d0
testq %rax, %rax
je 0x372cd
cmpq %rcx, %rax
je 0x372d0
movq 0x4(%r14), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x11a38
movq %rbp, %rax
jmp 0x372d0
movq %rcx, %rax
cmpb $0x3, (%r14)
jne 0x372df
movq 0x60(%r14), %r14
testq %r14, %r14
jne 0x372a0
andq $-0x204381e0, %r13      # imm = 0xDFBC7E20
jmp 0x372ed
xorl %eax, %eax
xorl %r13d, %r13d
movq %r13, (%r15)
movq %rax, (%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_O1/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 0x37537
cmpb $0x1, (%rsi)
jne 0x37563
xorl %ebx, %ebx
cmpq $0x0, 0x20(%rsi)
cmoveq %rax, %rbx
jmp 0x37565
movq %r9, %rbx
testb $0x4, %bpl
jne 0x37552
cmpb $0x1, (%rdx)
jne 0x37563
xorl %eax, %eax
cmpq $0x0, 0x20(%rdx)
cmovneq %rax, %rbx
jmp 0x37565
cmpq %rax, %rbx
je 0x37565
testb $0x40, %r14b
jne 0x375a3
testb $0x40, %bpl
jne 0x375af
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x37599
callq 0x3760d
movl %eax, %eax
leaq 0x135fc(%rip), %rcx     # 0x4ab74
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %r14d, %ebp
testb $0x40, %bpl
je 0x3759b
movq 0x60(%rbx), %rbx
jmp 0x3759b
andl %ebp, %r14d
testb $0x40, %r14b
je 0x3759b
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
xorl %ecx, %ecx
cmpq %rax, 0x60(%rbx)
cmovneq %rcx, %rbx
jmp 0x37565
xorl %ecx, %ecx
cmpq %rbx, 0x60(%rax)
cmoveq %rax, %rcx
movq %rcx, %rbx
jmp 0x37565
// File: /workspace/github_c_makefile_star2_O1/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 0x3760c
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
testb $0x40, %sil
je 0x375de
movq (%rbx), %rax
movq 0x60(%rax), %rax
movq %rax, (%rbx)
movq (%rbx), %rdi
callq 0x2386c
movq 0x8(%r14), %rdi
leaq 0x13932(%rip), %rsi     # 0x4af23
movq %rax, %rdx
xorl %eax, %eax
callq 0x118b4
movq (%rbx), %rax
movq 0x60(%rax), %rax
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x3, %esi
callq 0x2b547
movq %rax, %r14
movq 0x8(%r12), %rdi
movl $0x4, %esi
callq 0x2b547
movq %rax, %r15
movq %rax, 0x60(%r14)
leaq 0x2e093(%rip), %rax     # 0x6572c
movl (%rax), %eax
movl %eax, 0x50(%r15)
leaq 0x2e08a(%rip), %rcx     # 0x65730
movslq (%rcx), %rcx
movq %rcx, 0x70(%r15)
movl %eax, 0x50(%r14)
movq %rcx, 0x70(%r14)
movq %rbx, %rdi
callq 0x2b4ec
testb $0x2, 0x68(%rbx)
je 0x376e6
movq 0x18(%rbx), %rdi
callq 0x2e465
movq 0x8(%r12), %rdi
leaq 0x138b3(%rip), %rsi     # 0x4af8b
movq %rax, %rdx
xorl %eax, %eax
callq 0x118b4
andb $-0x3, 0x68(%rbx)
cmpb $0x3, (%rbx)
jne 0x37742
movq 0x80(%rbx), %rax
testq %rax, %rax
je 0x37731
movq 0x80(%r15), %rcx
testq %rcx, %rcx
je 0x3772a
cmpq %rax, %rcx
je 0x37731
movq 0x4(%rbx), %rdi
leaq 0x2eccd(%rip), %rax     # 0x663e0
movq %rax, 0x80(%r15)
leaq 0x1039b(%rip), %rsi     # 0x47abc
xorl %eax, %eax
callq 0x11a38
jmp 0x37731
movq %rax, 0x80(%r15)
movq 0x68(%rbx), %rax
andl $0x1c001e00, %eax       # imm = 0x1C001E00
orq %rax, 0x68(%r15)
movq 0x60(%rbx), %rbx
testl %ebp, %ebp
je 0x377a2
cmpb $0x6, (%rbx)
jne 0x377a2
movq 0x80(%rbx), %rax
testq %rax, %rax
je 0x37791
movq 0x80(%r15), %rcx
testq %rcx, %rcx
je 0x3778a
cmpq %rax, %rcx
je 0x37791
movq 0x4(%rbx), %rdi
leaq 0x2ec6d(%rip), %rax     # 0x663e0
movq %rax, 0x80(%r15)
leaq 0x1033b(%rip), %rsi     # 0x47abc
xorl %eax, %eax
callq 0x11a38
jmp 0x37791
movq %rax, 0x80(%r15)
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_O1/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:
movl (%rdi), %eax
movzbl %al, %eax
cmpb $0x5, %al
jne 0x377c7
cmpl $0x2b, 0x4(%rdi)
jne 0x377c7
movq 0x20(%rdi), %rdi
jmp 0x377b2
cmpl $0x3, %eax
jne 0x377d8
movq 0x20(%rdi), %rax
orq $0x100, 0x68(%rax)      # imm = 0x100
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x37891
movl $0x1, %r15d
testl %eax, %eax
jne 0x3787f
movq (%rbx), %rax
xorl %r15d, %r15d
testq %rax, %rax
je 0x37819
movq 0x10(%rax), %rbp
jmp 0x3781b
xorl %ebp, %ebp
movq (%rsp), %rcx
movq 0x8(%r12), %rdi
leaq 0x137bd(%rip), %rsi     # 0x4afe8
movq %r13, %rdx
xorl %eax, %eax
callq 0x118b4
movq %r14, %rdi
callq 0x2386c
movq 0x8(%r12), %rdi
leaq 0x137b9(%rip), %rsi     # 0x4b002
movq %rax, %rdx
xorl %eax, %eax
callq 0x11744
movq %rbp, %rdi
callq 0x2386c
movq 0x8(%r12), %rdi
leaq 0x137aa(%rip), %rsi     # 0x4b011
movq %rax, %rdx
xorl %eax, %eax
callq 0x11744
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x334cd
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_O1/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 0x37dde
cmpl $0x16, %eax
je 0x37d43
cmpl $0x5, %eax
jne 0x37e44
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x37e44
movq 0x10(%rax), %rax
testq %rax, %rax
sete %cl
cmpq 0x291ef(%rip), %rax     # 0x60f50
sete %al
orb %cl, %al
jne 0x37e44
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x37e44
movq 0x10(%rax), %rax
testq %rax, %rax
sete %cl
cmpq 0x291c6(%rip), %rax     # 0x60f50
sete %al
orb %cl, %al
jne 0x37e44
leaq 0x8(%rbx), %r14
movl 0x4(%rbx), %edi
callq 0x2e42a
movq 0x8(%rbx), %rdi
leaq 0x132b9(%rip), %rsi     # 0x4b065
movq %rax, %rdx
xorl %eax, %eax
callq 0x11a38
movq 0x20(%rbx), %rax
movq 0x10(%rax), %rdi
callq 0x2386c
movq 0x8(%rbx), %rdi
leaq 0x11b49(%rip), %rsi     # 0x49917
movq %rax, %rdx
xorl %eax, %eax
callq 0x11744
leaq 0x28(%rbx), %r15
jmp 0x37e24
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x37e44
movq 0x10(%rax), %rax
testq %rax, %rax
sete %cl
cmpq 0x29158(%rip), %rax     # 0x60f50
sete %al
orb %cl, %al
jne 0x37e44
leaq 0x20(%rbx), %r15
leaq 0x8(%rbx), %r14
movl 0x4(%rbx), %edi
callq 0x2e42a
movq 0x8(%rbx), %rdi
leaq 0x13272(%rip), %rsi     # 0x4b08c
movq %rax, %rdx
xorl %eax, %eax
callq 0x11a38
movq (%r15), %rax
movq 0x10(%rax), %rdi
callq 0x2386c
movq (%r14), %rdi
leaq 0x11add(%rip), %rsi     # 0x49917
movq %rax, %rdx
xorl %eax, %eax
callq 0x11744
movb $0x0, 0x1(%rbx)
leaq 0x35a69(%rip), %rax     # 0x6d8b8
movq %rax, 0x10(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x380df
movq %rdi, %rbx
testl %esi, %esi
jne 0x380c0
cmpb $0x6, (%rbx)
jne 0x380c0
cmpl $0x3d, 0x4(%rbx)
jne 0x380c0
movq 0x8(%rbx), %rdi
leaq 0x130e3(%rip), %rsi     # 0x4b19c
xorl %eax, %eax
callq 0x118b4
movq %rbx, %rdi
callq 0x32c63
movq %rax, %r14
testq %rax, %rax
sete %al
cmpq 0x28e78(%rip), %r14     # 0x60f50
sete %cl
orb %al, %cl
je 0x380e9
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
testb $-0x80, 0x6a(%r14)
je 0x38102
movq 0x8(%rbx), %rdi
leaq 0x130c6(%rip), %rsi     # 0x4b1c1
xorl %eax, %eax
callq 0x118b4
movzbl (%r14), %eax
movq %r14, %rcx
cmpl $0x3, %eax
jne 0x38112
movq 0x60(%r14), %rcx
cmpb $0x5, (%rcx)
jne 0x3812c
leaq 0x2fcc2(%rip), %rax     # 0x67de0
cmpl $0x0, (%rax)
je 0x38182
leaq 0x133c2(%rip), %rdx     # 0x4b4ec
jmp 0x38150
movq %r14, %rcx
cmpl $0x3, %eax
jne 0x38138
movq 0x60(%r14), %rcx
cmpb $0x6, (%rcx)
jne 0x38164
leaq 0x2fc9c(%rip), %rax     # 0x67de0
cmpl $0x0, (%rax)
je 0x38182
leaq 0x130bc(%rip), %rdx     # 0x4b20c
movq 0x8(%rbx), %rdi
leaq 0x13082(%rip), %rsi     # 0x4b1dd
xorl %eax, %eax
callq 0x118b4
jmp 0x38182
movq %r14, %rcx
cmpl $0x3, %eax
jne 0x38170
movq 0x60(%r14), %rcx
movzbl (%rcx), %eax
cmpl $0xe, %eax
ja 0x38191
movl $0x6a10, %edx           # imm = 0x6A10
btl %eax, %edx
jae 0x38191
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x33628
movq 0x60(%rcx), %rax
cmpq 0x28de4(%rip), %rax     # 0x60f80
sete %cl
cmpq 0x28d9a(%rip), %rax     # 0x60f40
sete %al
orb %cl, %al
jne 0x38182
movq 0x8(%rbx), %rdi
leaq 0x1305d(%rip), %rsi     # 0x4b215
xorl %eax, %eax
callq 0x11a38
movq %r14, %rdi
callq 0x2386c
movq 0x8(%rbx), %rdi
leaq 0x11745(%rip), %rsi     # 0x49917
movq %rax, %rdx
xorl %eax, %eax
callq 0x11744
jmp 0x380df
// File: /workspace/github_c_makefile_star2_O1/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 0x382e4
cmpb $0x9, (%r15)
jne 0x382e4
movq 0x10(%r15), %r14
testb $0x8, 0x56(%r14)
je 0x38296
movq 0x18(%r14), %rdi
callq 0x2e465
movq 0x8(%rbx), %rdi
leaq 0x12cd2(%rip), %rsi     # 0x4af5e
movq %rax, %rdx
xorl %eax, %eax
callq 0x11a38
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 0x377b2
movq 0x10(%rbx), %rax
cmpq 0x28c35(%rip), %rax     # 0x60f00
jne 0x382de
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x3765b
movq %rax, 0x10(%rbx)
movq 0x10(%rbx), %r14
jmp 0x382f8
leaq 0x1305d(%rip), %rsi     # 0x4b348
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x11abc
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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), %r15
xorl %edi, %edi
callq 0x30029
movq %rax, %r14
movl (%rax), %eax
orl $0x3, %eax
movq %r15, 0x8(%r14)
andl $0xffff0003, %eax       # imm = 0xFFFF0003
movl %eax, (%r14)
movq 0x20(%rbx), %r15
movq %r12, 0xb0(%r15)
movq %r15, %rdi
callq 0x366a3
leaq 0x352d0(%rip), %rax     # 0x6d618
movq %rax, 0x10(%r14)
movq %r15, 0x20(%r14)
testb $0x10, 0x68(%r15)
je 0x3835c
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_O1/lucvoo[P]sparse-dev/evaluate.c
// Function: find_member_type
static struct symbol *find_member_type(struct symbol *utype, struct symbol *type)
{
	struct symbol *t, *member;

	if (utype->type != SYM_UNION)
		return NULL;

	FOR_EACH_PTR(utype->symbol_list, member) {
		classify_type(member, &t);
		if (type == t)
			return member;
	} END_FOR_EACH_PTR(member);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpb $0x8, (%rdi)
jne 0x38420
movq 0x98(%rdi), %r15
testq %r15, %r15
je 0x38417
movq %rsi, %rbx
movq %r15, %r12
movzwl (%r12), %eax
testb %al, %al
jle 0x38402
xorl %r13d, %r13d
movq 0x18(%r12,%r13,8), %r14
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x383c1
testq %r14, %r14
je 0x383f2
cmpb $0x3, (%r14)
movq %r14, %rax
jne 0x383ce
movq 0x60(%r14), %rax
cmpb $0xa, (%rax)
jne 0x383e4
movq %rax, %rdi
callq 0x2b5f4
cmpb $0x3, (%rax)
jne 0x383e4
movq 0x60(%rax), %rax
cmpb $0x9, (%rax)
jne 0x383ed
movq 0x60(%rax), %rax
cmpq %rbx, %rax
je 0x38410
incq %r13
movl (%r12), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jl 0x383ad
movq 0x10(%r12), %r12
cmpq %r15, %r12
jne 0x383a1
xorl %eax, %eax
jmp 0x3841c
movl $0x1, %eax
jmp 0x3841c
movl $0x2, %eax
testb $0x1, %al
jne 0x38423
xorl %r14d, %r14d
movq %r14, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x20(%rdi), %rbx
testq %rbx, %rbx
je 0x3847b
movq %rbx, %rdi
callq 0x2b5f4
cmpb $0x3, (%rbx)
movq %rbx, %rax
jne 0x38454
movq 0x60(%rbx), %rax
cmpb $0x9, (%rax)
jne 0x3845d
movq 0x60(%rax), %rax
cmpb $0xb, (%rax)
jne 0x384e8
leaq 0x130c6(%rip), %rsi     # 0x4b533
xorl %ebx, %ebx
movq %r14, %rdi
xorl %eax, %eax
callq 0x11abc
jmp 0x384e8
movq 0x28(%r14), %rdi
callq 0x32c63
testq %rax, %rax
je 0x384e6
movq %rax, %rbx
movzbl (%rax), %eax
movq %rbx, %rcx
cmpl $0x3, %eax
jne 0x3849b
movq 0x60(%rbx), %rcx
cmpb $0x9, (%rcx)
jne 0x384a4
movq 0x60(%rcx), %rcx
cmpb $0xd, (%rcx)
jne 0x384f3
movl 0x50(%rbx), %eax
leaq 0x2d255(%rip), %rcx     # 0x65708
cmpl (%rcx), %eax
jge 0x38440
movq %r14, %rax
movzbl (%rax), %ecx
cmpl $0x10, %ecx
jle 0x384ce
movl $0x28, %edx
cmpl $0x15, %ecx
je 0x384e0
jmp 0x38527
cmpl $0x9, %ecx
jne 0x38534
movl 0x4(%rax), %ecx
movl $0x20, %edx
cmpl $0x28, %ecx
jne 0x38513
movq (%rax,%rdx), %rax
jmp 0x384ba
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rcx
cmpl $0x3, %eax
jne 0x384ff
movq 0x60(%rbx), %rcx
cmpb $0x9, (%rcx)
jne 0x38508
movq 0x60(%rcx), %rcx
cmpb $0xe, (%rcx)
jne 0x38440
jmp 0x3853d
cmpl $0x2b, %ecx
je 0x3853d
cmpl $0x2d, %ecx
je 0x3853d
cmpl $0x7e, %ecx
je 0x3853d
jmp 0x38440
addl $-0x11, %ecx
cmpl $0x2, %ecx
jb 0x3853d
jmp 0x38440
cmpl $0x5, %ecx
jne 0x38440
leaq 0x341f4(%rip), %rbx     # 0x6c738
jmp 0x38440
// File: /workspace/github_c_makefile_star2_O1/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:
testq %rsi, %rsi
je 0x38632
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %r13
movq %rsi, 0x8(%rsp)
movq %rdi, (%rsp)
cmpb $0x0, (%r13)
setg %bpl
jle 0x38607
xorl %r14d, %r14d
movq 0x18(%r13,%r14,8), %r12
movq 0x18(%r12), %rax
testq %rax, %rax
je 0x3859e
movb $0x1, %bl
cmpq %rdi, %rax
jne 0x385ee
movl 0x48(%r12), %ecx
jmp 0x385e6
movq 0x60(%r12), %rax
movb $0x1, %bl
testq %rax, %rax
je 0x385ee
movzbl (%rax), %ecx
addl $-0x7, %ecx
cmpl $0x1, %ecx
ja 0x385ee
movq 0x98(%rax), %rsi
movq (%rsp), %rdi
movq %r15, %rdx
movq %r8, 0x10(%rsp)
callq 0x38549
movq 0x10(%rsp), %r8
movq (%rsp), %rdi
testq %rax, %rax
je 0x385ee
movl (%r15), %ecx
addl 0x48(%r12), %ecx
movq %rax, %r12
movl %ecx, (%r15)
xorl %ebx, %ebx
movq %r12, %r8
testb %bl, %bl
je 0x38607
incq %r14
movsbq (%r13), %rax
cmpq %rax, %r14
setl %bpl
jl 0x38581
testb $0x1, %bpl
jne 0x38622
movq 0x10(%r13), %r13
movq 0x8(%rsp), %rsi
cmpq %rsi, %r13
jne 0x3856f
xorl %r8d, %r8d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x38635
xorl %r8d, %r8d
movq %r8, %rax
retq
// File: /workspace/github_c_makefile_star2_O1/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), %r14
xorl %eax, %eax
testq %r14, %r14
je 0x39113
movq %rdi, %rbx
movl (%r14), %ecx
movzbl %cl, %ecx
cmpb $0x9, %cl
jne 0x390e3
cmpl $0x28, 0x4(%r14)
jne 0x390e3
movq 0x20(%r14), %r14
testq %r14, %r14
jne 0x390c6
jmp 0x39113
cmpl $0x2, %ecx
jne 0x39113
cmpq (%rbx), %r14
je 0x3910b
leaq 0x2ed24(%rip), %rax     # 0x67e18
cmpl $0x0, (%rax)
je 0x3910b
movq 0x8(%r14), %rdi
leaq 0x12725(%rip), %rsi     # 0x4b829
xorl %eax, %eax
callq 0x118b4
movq %r14, (%rbx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 %r12
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
cmpb $0x3, (%rdi)
jne 0x39132
movq 0x60(%r14), %r14
movq (%rbx), %r15
testb $0x10, %sil
jne 0x3915d
movq 0x98(%r14), %rax
testq %rax, %rax
je 0x39195
movq %rax, %rcx
cmpb $0x0, (%rcx)
jg 0x3919e
movq 0x10(%rcx), %rcx
cmpq %rax, %rcx
jne 0x3914a
xorl %r14d, %r14d
jmp 0x3919a
cmpl $0x0, 0x50(%r14)
je 0x39234
movq 0x8(%r15), %r12
xorl %edi, %edi
callq 0x30029
movl (%rax), %ecx
orl $0x1a, %ecx
movq %r12, 0x8(%rax)
andl $0xffff001a, %ecx       # imm = 0xFFFF001A
movl %ecx, (%rax)
movq %r15, 0x28(%rax)
movq 0x60(%r14), %rcx
movq %rcx, 0x10(%rax)
jmp 0x39238
xorl %r14d, %r14d
xorl %ecx, %ecx
xorl %edx, %edx
jmp 0x391ab
movq 0x18(%rcx), %r14
andq $-0x4, %r14
movl $0x1, %edx
testq %r14, %r14
sete %bpl
je 0x3922e
cmpq $0x0, 0x18(%r14)
jne 0x391fd
cmpb $0x3, (%r14)
movq %r14, %rsi
jne 0x391c8
movq 0x60(%r14), %rsi
cmpb $0x9, (%rsi)
jne 0x391d1
movq 0x60(%rsi), %rsi
cmpb $0xb, (%rsi)
jne 0x391fd
movsbl (%rcx), %esi
cmpl %esi, %edx
jl 0x391ed
movq 0x10(%rcx), %rcx
xorl %edx, %edx
cmpq %rax, %rcx
jne 0x391d6
xorl %r14d, %r14d
jmp 0x391ab
movslq %edx, %rsi
movq 0x18(%rcx,%rsi,8), %r14
andq $-0x4, %r14
incl %edx
jmp 0x391ab
movq 0x8(%r15), %r12
xorl %edi, %edi
callq 0x30029
movl (%rax), %ecx
orl $0x19, %ecx
movq %r12, 0x8(%rax)
andl $0xffff0019, %ecx       # imm = 0xFFFF0019
movl %ecx, (%rax)
movq %r15, 0x38(%rax)
movq %r14, 0x10(%rax)
movq %r14, 0x30(%rax)
movl 0x48(%r14), %ecx
movl %ecx, 0x20(%rax)
jmp 0x3922e
testb $0x1, %bpl
je 0x39238
xorl %eax, %eax
jmp 0x3923b
movq %rax, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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:
testq %rdi, %rdi
je 0x3946b
pushq %rbx
movq %rdi, %rbx
movl (%rbx), %eax
cmpb $0x19, %al
je 0x39448
movzbl %al, %eax
cmpl $0x1a, %eax
jne 0x3946a
movq %rbx, %rdi
callq 0x3946c
jmp 0x39461
movq 0x38(%rbx), %rcx
andl $0xffffff00, %eax       # imm = 0xFFFFFF00
orl $0x1b, %eax
movl %eax, (%rbx)
movl $0x1, 0x24(%rbx)
movq %rcx, 0x28(%rbx)
movq 0x28(%rbx), %rbx
testq %rbx, %rbx
jne 0x39430
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x39495
leaq 0x2c279(%rip), %rdx     # 0x65700
movl (%rdx), %r8d
addl %r8d, %eax
decl %eax
cltd
idivl %r8d
jmp 0x3949a
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
imull %esi, %eax
movl %eax, 0x20(%rdi)
subl %esi, %ecx
incl %ecx
movl %ecx, 0x24(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/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), %r14
movzbl 0x4(%r14), %eax
cmpl $0x3d, %eax
je 0x396dd
cmpl $0x2b, %eax
je 0x396d9
addq $0x4, %r14
testl %eax, %eax
jne 0x396e5
movq 0x8(%r12), %rdi
leaq 0x12402(%rip), %rsi     # 0x4bad2
xorl %eax, %eax
callq 0x11a38
jmp 0x396e5
orb $0x2, 0x18(%rbx)
orb $0x1, 0x18(%rbx)
addq $0x5, %r14
leaq 0x11498(%rip), %r13     # 0x4ab84
leaq 0x123fb(%rip), %r15     # 0x4baee
leaq 0x2c046(%rip), %rbp     # 0x65740
movzbl (%r14), %eax
incq %r14
movsbl %al, %edx
cmpl $0x55, %eax
jg 0x3972c
leal -0x25(%rax), %ecx
cmpl $0x2c, %ecx
ja 0x39764
movslq (%r13,%rcx,4), %rax
addq %r13, %rax
jmpq *%rax
movq 0x8(%r12), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x11a38
jmp 0x396fa
cmpl $0x6e, %eax
jg 0x39742
cmpl $0x56, %eax
je 0x39752
cmpl $0x6d, %eax
je 0x39752
cmpl $0x5b, %eax
jne 0x39768
jmp 0x39793
cmpl $0x6f, %eax
je 0x39752
cmpl $0x72, %eax
jne 0x39768
orb $0x10, 0x18(%rbx)
jmp 0x396fa
orb $0x20, 0x18(%rbx)
jmp 0x396fa
orb $0x8, 0x18(%rbx)
jmp 0x396fa
orb $0x4, 0x18(%rbx)
jmp 0x396fa
testl %eax, %eax
je 0x39787
movq (%rbp), %rax
movq 0x68(%rax), %rax
testq %rax, %rax
je 0x396fa
movq %rbx, %rdi
movl %edx, %esi
movq %r14, %rdx
callq *%rax
movq %rax, %r14
jmp 0x396fa
movb 0x18(%rbx), %al
testb $0x10, %al
je 0x39793
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_O1/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 %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testb $0x20, 0x18(%rdi)
movq 0x10(%rdi), %r14
jne 0x397d3
movq %r14, %rdi
callq 0x32c63
movq 0x10(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x33628
movq 0x8(%r14), %r12
xorl %edi, %edi
callq 0x30029
movq %rax, %r15
movl (%rax), %eax
orl $0x9, %eax
movq %r12, 0x8(%r15)
andl $0xffff0009, %eax       # imm = 0xFFFF0009
movl %eax, (%r15)
movl $0x26, 0x4(%r15)
movq %r14, 0x20(%r15)
movq %r15, %rdi
callq 0x38254
movq %r15, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O1/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
movl $0x28, %esi
callq 0x195d7
movq %rax, %r14
movq (%rax), %r13
movl %r13d, %eax
andl $0x3f, %eax
cmpl $0x12, %eax
jne 0x398fe
cmpl $0x7b, 0x10(%r14)
jne 0x398fe
xorl %edi, %edi
callq 0x30029
movq %rax, %r12
movl (%rax), %eax
orl $0x13, %eax
movq %r13, 0x8(%r12)
andl $0xffff0013, %eax       # imm = 0xFFFF0013
movl %eax, (%r12)
movq (%r14), %rdi
movl $0x3, %esi
callq 0x19687
movq %rax, %r13
movq %r12, (%r15)
movq %rax, 0x20(%r12)
callq 0x22fa2
movq 0x8(%r14), %rdi
movq %r13, %rsi
callq 0x1a2c6
movq %rax, %r15
callq 0x22f02
leaq 0x122ed(%rip), %rdx     # 0x4bbdc
movq %r15, %rdi
movl $0x7d, %esi
callq 0x195d7
jmp 0x39909
movq %r14, %rdi
movq %r15, %rsi
callq 0x3a9cd
movq %rax, %r15
cmpq %r14, %rax
jne 0x39922
movq (%r15), %rdi
leaq 0x122e0(%rip), %rsi     # 0x4bbfb
xorl %eax, %eax
callq 0x11a38
movq %r15, %rdi
movl $0x29, %esi
movq %rbx, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x195d7
// File: /workspace/github_c_makefile_star2_O1/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 0x39991
movq %rax, %r15
movq (%rbx), %rax
testq %rax, %rax
je 0x39966
cmpb $0x2, (%rax)
je 0x39982
movq (%r12), %rdi
leaq 0x122af(%rip), %rsi     # 0x4bc20
movq %r14, %rdx
xorl %eax, %eax
callq 0x11a38
movq $0x0, (%rbx)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq