LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/expression.c
// Function: match_oplist
static int match_oplist(int op, ...)
{
	va_list args;
	int nextop;

	va_start(args, op);
	do {
		nextop = va_arg(args, int);
	} while (nextop != 0 && nextop != op);
	va_end(args);

	return nextop != 0;
}

// Assembly:
subq $0x58, %rsp
leaq -0x60(%rsp), %r10
movq %rsi, 0x8(%r10)
movq %rdx, 0x10(%r10)
movq %rcx, 0x18(%r10)
movq %r8, 0x20(%r10)
movq %r9, 0x28(%r10)
testb %al, %al
je 0x344e9
movaps %xmm0, -0x30(%rsp)
movaps %xmm1, -0x20(%rsp)
movaps %xmm2, -0x10(%rsp)
movaps %xmm3, (%rsp)
movaps %xmm4, 0x10(%rsp)
movaps %xmm5, 0x20(%rsp)
movaps %xmm6, 0x30(%rsp)
movaps %xmm7, 0x40(%rsp)
movq %r10, -0x70(%rsp)
leaq 0x60(%rsp), %rcx
movq %rcx, -0x78(%rsp)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, -0x80(%rsp)
movl $0x8, %eax
cmpl $0x28, %eax
ja 0x34522
movq %rcx, %rdx
movl %eax, %ecx
addq %r10, %rcx
addl $0x8, %eax
movl %eax, -0x80(%rsp)
jmp 0x3452b
leaq 0x8(%rcx), %rdx
movq %rdx, -0x78(%rsp)
movl (%rcx), %esi
testl %esi, %esi
je 0x34538
movq %rdx, %rcx
cmpl %edi, %esi
jne 0x3450c
xorl %eax, %eax
testl %esi, %esi
setne %al
addq $0x58, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: remove_phisources
int remove_phisources(struct basic_block *par, struct basic_block *old)
{
	struct instruction *insn;
	int changed = 0;

	FOR_EACH_PTR(old->insns, insn) {
		pseudo_t phi;

		if (!insn->bb)
			continue;
		if (insn->opcode != OP_PHI)
			return changed;

		// found a phi-node in the target BB,
		// now look after its phi-sources.
		FOR_EACH_PTR(insn->phi_list, phi) {
			struct instruction *phisrc = phi->def;

			if (phi == VOID)
				continue;
			assert(phisrc->phi_node == insn);
			if (phisrc->bb != par)
				continue;
			// found a phi-source corresponding to this edge:
			// remove it but avoid the recursive killing.
			REPLACE_CURRENT_PTR(phi, VOID);
			remove_use(&phisrc->src);
			phisrc->bb = NULL;
			changed |= REPEAT_CSE;
			// Only the first one must be removed.
			goto next;
		} END_FOR_EACH_PTR(phi);
next: ;
	} END_FOR_EACH_PTR(insn);
	return changed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x28(%rsi), %rcx
testq %rcx, %rcx
je 0x34653
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x2b45d(%rip), %r15     # 0x5f9d0
pushq $0x1
popq %rbp
movq %rcx, %r12
movq %rcx, (%rsp)
xorl %r13d, %r13d
movl (%r12), %edx
movsbq %dl, %rcx
cmpq %rcx, %r13
jge 0x3463f
movq 0x18(%r12,%r13,8), %rcx
cmpw $0x100, %dx             # imm = 0x100
jb 0x345a6
testq %rcx, %rcx
je 0x34637
cmpq $0x0, 0x8(%rcx)
je 0x34637
movl (%rcx), %edx
andl $0x7f, %edx
cmpl $0x46, %edx
jne 0x34655
movq 0x38(%rcx), %rdx
testq %rdx, %rdx
je 0x34637
movq %rdx, %rsi
movzwl (%rsi), %edi
movsbl %dil, %r8d
testw %r8w, %r8w
movl $0x0, %r9d
cmovgl %r8d, %r9d
movzwl %r9w, %r8d
xorl %r9d, %r9d
cmpq %r9, %r8
je 0x34617
movq 0x18(%rsi,%r9,8), %r10
cmpw $0x100, %di             # imm = 0x100
jb 0x345fd
testq %r10, %r10
je 0x34612
cmpq %r15, %r10
je 0x34612
movq 0x18(%r10), %r14
cmpq %rcx, 0x38(%r14)
jne 0x34664
cmpq %rbx, 0x8(%r14)
je 0x34622
incq %r9
jmp 0x345e7
movq 0x10(%rsi), %rsi
cmpq %rdx, %rsi
jne 0x345cb
jmp 0x34637
leaq 0x30(%r14), %rdi
movq %r15, 0x18(%rsi,%r9,8)
callq 0x21d58
andq $0x0, 0x8(%r14)
movl %ebp, %eax
incq %r13
jmp 0x34580
movq 0x10(%r12), %r12
movq (%rsp), %rcx
cmpq %rcx, %r12
jne 0x3457d
jmp 0x34655
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xfb9d(%rip), %rdi      # 0x44208
leaq 0xfbaf(%rip), %rsi      # 0x44221
leaq 0xfbaf(%rip), %rcx      # 0x44228
pushq $0x33
popq %rdx
callq 0xe120
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: convert_instruction_target
void convert_instruction_target(struct instruction *insn, pseudo_t src)
{
	pseudo_t target;
	struct pseudo_user *pu;
	/*
	 * Go through the "insn->users" list and replace them all..
	 */
	target = insn->target;
	if (target == src)
		return;
	FOR_EACH_PTR(target->users, pu) {
		if (*pu->userp != VOID) {
			assert(*pu->userp == target);
			*pu->userp = src;
		}
	} END_FOR_EACH_PTR(pu);
	if (has_use_list(src))
		concat_user_list(target->users, &src->users);
	target->users = NULL;
}

// Assembly:
pushq %rbx
movq 0x20(%rdi), %rbx
cmpq %rsi, %rbx
je 0x34aba
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x34a8d
leaq 0x2af88(%rip), %rcx     # 0x5f9d0
movq %rax, %rdx
xorl %edi, %edi
movl (%rdx), %r8d
movsbq %r8b, %r9
cmpq %r9, %rdi
jge 0x34a84
movq 0x18(%rdx,%rdi,8), %r9
cmpw $0x100, %r8w            # imm = 0x100
jb 0x34a6b
testq %r9, %r9
je 0x34a7f
movq 0x8(%r9), %r8
movq (%r8), %r9
cmpq %rcx, %r9
je 0x34a7f
cmpq %rbx, %r9
jne 0x34abc
movq %rsi, (%r8)
incq %rdi
jmp 0x34a4d
movq 0x10(%rdx), %rdx
cmpq %rax, %rdx
jne 0x34a4b
testq %rsi, %rsi
je 0x34ab5
movl 0x4(%rsi), %eax
cmpl $0x6, %eax
ja 0x34aa2
pushq $0x43
popq %rcx
btl %eax, %ecx
jb 0x34ab5
movq 0x8(%rbx), %rax
addq $0x8, %rsi
movq %rsi, %rdi
movq %rax, %rsi
callq 0x1fe62
andq $0x0, 0x8(%rbx)
popq %rbx
retq
leaq 0xf7a7(%rip), %rdi      # 0x4426a
leaq 0xf757(%rip), %rsi      # 0x44221
leaq 0xf7ae(%rip), %rcx      # 0x4427f
movl $0x194, %edx            # imm = 0x194
callq 0xe120
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: dominates
int dominates(struct instruction *insn, struct instruction *dom, int local)
{
	switch (dom->opcode) {
	case OP_CALL: case OP_ENTRY:
		return local ? 0 : -1;
	case OP_LOAD: case OP_STORE:
		break;
	case OP_ASM:
		if (dom->clobber_memory)
			return -1;
		if (dom->output_memory)
			return -1;
		return 0;
	default:
		return 0;
	}

	if (dom->src != insn->src) {
		if (local)
			return 0;
		/* We don't think two explicitly different symbols ever alias */
		if (distinct_symbols(insn->src, dom->src))
			return 0;
		/* We could try to do some alias analysis here */
		return -1;
	}
	if (!same_memop(insn, dom)) {
		if (!overlapping_memop(insn, dom))
			return 0;
		return -1;
	}
	return 1;
}

// Assembly:
movl (%rsi), %ecx
movl %ecx, %r8d
andl $0x7f, %r8d
xorl %eax, %eax
leal -0x43(%r8), %r9d
cmpl $0x2, %r9d
jb 0x34b0a
cmpl $0x1, %r8d
je 0x34b02
cmpl $0x4e, %r8d
je 0x34b1c
cmpl $0x4a, %r8d
jne 0x34b1b
xorl %eax, %eax
cmpl $0x1, %edx
sbbl %eax, %eax
retq
movq 0x30(%rsi), %r8
movq 0x30(%rdi), %r9
cmpq %r9, %r8
je 0x34b2d
testl %edx, %edx
je 0x34b7e
retq
movb 0x40(%rsi), %al
testb $0x1, %al
jne 0x34b96
shlb $0x6, %al
sarb $0x7, %al
movsbl %al, %eax
retq
movq 0x38(%rdi), %rdx
movq 0x38(%rsi), %rsi
cmpq %rsi, %rdx
setne %r8b
movl (%rdi), %edi
movl %edi, %r9d
xorl %ecx, %r9d
cmpl $0x100, %r9d            # imm = 0x100
setae %r9b
orb %r8b, %r9b
cmpb $0x1, %r9b
jne 0x34b9a
leaq 0x29ba1(%rip), %r8      # 0x5e700
movl (%r8), %r8d
imull %r8d, %edx
imull %r8d, %esi
shrl $0x8, %edi
addl %edx, %edi
cmpl %esi, %edi
jbe 0x34b1b
shrl $0x8, %ecx
addl %ecx, %esi
cmpl %edx, %esi
jbe 0x34b1b
jmp 0x34b96
cmpl $0x5, 0x4(%r9)
jne 0x34b96
cmpl $0x5, 0x4(%r8)
jne 0x34b96
movq 0x18(%r9), %rcx
cmpq 0x18(%r8), %rcx
jne 0x34b1b
pushq $-0x1
jmp 0x34b9c
pushq $0x1
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: check_access
void check_access(struct instruction *insn)
{
	pseudo_t pseudo = insn->src;

	if (insn->bb && pseudo->type == PSEUDO_SYM) {
		int offset = insn->offset, bit = bytes_to_bits(offset) + insn->size;
		struct symbol *sym = pseudo->sym;

		if (sym->bit_size > 0 && (offset < 0 || bit > sym->bit_size)) {
			if (insn->tainted)
				return;
			warning(insn->pos, "invalid access %s '%s' (%d %d)",
				offset < 0 ? "below" : "past the end of",
				show_ident(sym->ident), offset,
				bits_to_bytes(sym->bit_size));
			insn->tainted = 1;
		}
	}
}

// Assembly:
cmpq $0x0, 0x8(%rdi)
je 0x34c63
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %rax
cmpl $0x5, 0x4(%rax)
jne 0x34c5b
movq 0x18(%rax), %r15
movl 0x50(%r15), %eax
testl %eax, %eax
jle 0x34c5b
movl 0x38(%rbx), %ebp
leaq 0x29b24(%rip), %r12     # 0x5e700
movl (%r12), %ecx
imull %ebp, %ecx
movl (%rbx), %edx
movl %edx, %esi
shrl $0x8, %esi
addl %ecx, %esi
testl %ebp, %ebp
sets %cl
cmpl %eax, %esi
setg %al
orb %cl, %al
testb %dl, %dl
setns %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x34c5b
testl %ebp, %ebp
leaq 0xf6d1(%rip), %rax      # 0x442de
leaq 0xf6d0(%rip), %r14      # 0x442e4
cmovsq %rax, %r14
movq 0x18(%r15), %rdi
callq 0x2936d
movq %rax, %rcx
movl 0x50(%r15), %eax
testl %eax, %eax
js 0x34c3c
movl (%r12), %esi
addl %esi, %eax
decl %eax
cltd
idivl %esi
movl %eax, %r9d
jmp 0x34c40
pushq $-0x1
popq %r9
movq 0x10(%rbx), %rdi
leaq 0xf674(%rip), %rsi      # 0x442bf
movq %r14, %rdx
movl %ebp, %r8d
xorl %eax, %eax
callq 0x1108a
orb $-0x80, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: kill_dead_stores
void kill_dead_stores(struct entrypoint *ep, pseudo_t addr, int local)
{
	unsigned long generation;
	struct basic_block *bb;

	switch (pseudo_user_list_size(addr->users)) {
	case 0:
		return;
	case 1:
		if (local) {
			struct pseudo_user *pu = first_user(addr);
			struct instruction *insn = pu->insn;
			if (insn->opcode == OP_STORE) {
				kill_instruction_force(insn);
				return;
			}
		}
	default:
		break;
	}

	generation = ++bb_generation;
	FOR_EACH_PTR(ep->bbs, bb) {
		if (bb->children)
			continue;
		kill_dead_stores_bb(addr, generation, bb, local);
	} END_FOR_EACH_PTR(bb);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq 0x8(%rsi), %rdi
callq 0x1f89c
testl %eax, %eax
je 0x34d3d
cmpl $0x1, %eax
jne 0x34cdf
testl %ebx, %ebx
je 0x34cdf
movq 0x8(%r14), %rax
movsbl (%rax), %ecx
testw %cx, %cx
movl $0x0, %edx
cmovgl %ecx, %edx
movzwl %dx, %ecx
xorl %edx, %edx
cmpq %rdx, %rcx
je 0x34cbc
movq 0x18(%rax,%rdx,8), %rsi
incq %rdx
testq %rsi, %rsi
je 0x34ca8
jmp 0x34cc2
movq 0x10(%rax), %rax
jmp 0x34c95
movq (%rsi), %rdi
movl (%rdi), %eax
andl $0x7f, %eax
cmpl $0x44, %eax
jne 0x34cdf
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x34d4c
movq 0x55292(%rip), %r12     # 0x89f78
incq %r12
movq %r12, 0x55288(%rip)     # 0x89f78
movq 0x18(%r15), %r15
testq %r15, %r15
je 0x34d3d
movq %r15, %r13
xorl %ebp, %ebp
movl (%r13), %eax
movsbq %al, %rcx
cmpq %rcx, %rbp
jge 0x34d34
movq 0x18(%r13,%rbp,8), %rdx
cmpw $0x100, %ax             # imm = 0x100
jb 0x34d1b
testq %rdx, %rdx
je 0x34d2f
cmpq $0x0, 0x20(%rdx)
jne 0x34d2f
movq %r14, %rdi
movq %r12, %rsi
movl %ebx, %ecx
callq 0x34d54
incq %rbp
jmp 0x34cfe
movq 0x10(%r13), %r13
cmpq %r15, %r13
jne 0x34cfc
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/flow.c
// Function: kill_dead_stores_bb
static void kill_dead_stores_bb(pseudo_t pseudo, unsigned long generation, struct basic_block *bb, int local)
{
	struct instruction *insn;
	struct basic_block *parent;

	if (bb->generation == generation)
		return;
	bb->generation = generation;
	FOR_EACH_PTR_REVERSE(bb->insns, insn) {
		if (!insn->bb)
			continue;
		switch (insn->opcode) {
		case OP_LOAD:
			if (insn->src == pseudo)
				return;
			break;
		case OP_STORE:
			if (insn->src == pseudo) {
				kill_instruction_force(insn);
				continue;
			}
			break;
		case OP_CALL:
			if (!local)
				return;
		default:
			continue;
		}
		if (!local && insn->src->type != PSEUDO_SYM)
			return;
	} END_FOR_EACH_PTR_REVERSE(insn);

	FOR_EACH_PTR(bb->parents, parent) {
		if (bb_list_size(parent->children) > 1)
			continue;
		kill_dead_stores_bb(pseudo, generation, parent, local);
	} END_FOR_EACH_PTR(parent);
}

// Assembly:
cmpq %rsi, 0x8(%rdx)
je 0x34e6d
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, 0x8(%rdx)
movq 0x28(%rdx), %rax
movq %rax, (%rsp)
testq %rax, %rax
je 0x34e00
movq (%rsp), %rbp
movq 0x8(%rbp), %rbp
movsbq (%rbp), %rax
movl %eax, %r13d
testl %r13d, %r13d
jle 0x34dfa
movq 0x10(%rbp,%r13,8), %rdi
cmpw $0x100, (%rbp)          # imm = 0x100
jb 0x34dac
testq %rdi, %rdi
je 0x34df5
cmpq $0x0, 0x8(%rdi)
je 0x34df5
movl (%rdi), %eax
andl $0x7f, %eax
cmpl $0x4a, %eax
je 0x34dea
cmpl $0x44, %eax
je 0x34dd5
cmpl $0x43, %eax
jne 0x34df5
movq 0x30(%rdi), %rax
cmpq %r15, %rax
jne 0x34dde
jmp 0x34e5f
movq 0x30(%rdi), %rax
cmpq %r15, %rax
je 0x34df0
testl %ebx, %ebx
jne 0x34df5
cmpl $0x5, 0x4(%rax)
je 0x34df5
jmp 0x34e5f
testl %ebx, %ebx
jne 0x34df5
jmp 0x34e5f
callq 0x34d4c
decq %r13
jmp 0x34d95
cmpq (%rsp), %rbp
jne 0x34d89
movq 0x18(%r12), %rax
movq %rax, (%rsp)
testq %rax, %rax
je 0x34e5f
movq (%rsp), %rbp
xorl %r13d, %r13d
movl (%rbp), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jge 0x34e55
movq 0x18(%rbp,%r13,8), %r12
cmpw $0x100, %ax             # imm = 0x100
jb 0x34e31
testq %r12, %r12
je 0x34e50
movq 0x20(%r12), %rdi
callq 0x1f89c
cmpl $0x1, %eax
jg 0x34e50
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movl %ebx, %ecx
callq 0x34d54
incq %r13
jmp 0x34e15
movq 0x10(%rbp), %rbp
cmpq (%rsp), %rbp
jne 0x34e12
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/flow.c
// Function: kill_bb
void kill_bb(struct basic_block *bb)
{
	struct instruction *insn;
	struct basic_block *child, *parent;

	FOR_EACH_PTR(bb->insns, insn) {
		if (!insn->bb)
			continue;
		kill_instruction_force(insn);
		kill_defs(insn);
		/*
		 * We kill unreachable instructions even if they
		 * otherwise aren't "killable" (e.g. volatile loads)
		 */
	} END_FOR_EACH_PTR(insn);
	bb->insns = NULL;

	FOR_EACH_PTR(bb->children, child) {
		remove_bb_from_list(&child->parents, bb, 0);
	} END_FOR_EACH_PTR(child);
	bb->children = NULL;

	FOR_EACH_PTR(bb->parents, parent) {
		remove_bb_from_list(&parent->children, bb, 0);
	} END_FOR_EACH_PTR(parent);
	bb->parents = NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %r12
testq %r12, %r12
je 0x34ef5
pushq $0x43
popq %rbp
movq %r12, %r13
xorl %r14d, %r14d
movl (%r13), %eax
movsbq %al, %rcx
cmpq %rcx, %r14
jge 0x34eec
movq 0x18(%r13,%r14,8), %r15
cmpw $0x100, %ax             # imm = 0x100
jb 0x34eab
testq %r15, %r15
je 0x34ed0
cmpq $0x0, 0x8(%r15)
je 0x34ed0
movq %r15, %rdi
callq 0x34d4c
movq 0x20(%r15), %rax
testq %rax, %rax
je 0x34ed0
movl 0x4(%rax), %ecx
cmpl $0x6, %ecx
ja 0x34ed5
btl %ecx, %ebp
jae 0x34ed5
incq %r14
jmp 0x34e8e
cmpq %r15, 0x18(%rax)
jne 0x34ed0
movq %r15, %rdi
leaq 0x2aaeb(%rip), %rsi     # 0x5f9d0
callq 0x34a2a
jmp 0x34ed0
movq 0x10(%r13), %r13
cmpq %r12, %r13
jne 0x34e8b
andq $0x0, 0x28(%rbx)
movq 0x20(%rbx), %r14
testq %r14, %r14
je 0x34f41
movq %r14, %r15
xorl %r12d, %r12d
movl (%r15), %eax
movsbq %al, %rcx
cmpq %rcx, %r12
jge 0x34f38
movq 0x18(%r15,%r12,8), %rdi
cmpw $0x100, %ax             # imm = 0x100
jb 0x34f25
testq %rdi, %rdi
je 0x34f33
addq $0x18, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x1fbfd
incq %r12
jmp 0x34f09
movq 0x10(%r15), %r15
cmpq %r14, %r15
jne 0x34f06
andq $0x0, 0x20(%rbx)
movq 0x18(%rbx), %r14
testq %r14, %r14
je 0x34f8d
movq %r14, %r15
xorl %r12d, %r12d
movl (%r15), %eax
movsbq %al, %rcx
cmpq %rcx, %r12
jge 0x34f84
movq 0x18(%r15,%r12,8), %rdi
cmpw $0x100, %ax             # imm = 0x100
jb 0x34f71
testq %rdi, %rdi
je 0x34f7f
addq $0x20, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x1fbfd
incq %r12
jmp 0x34f55
movq 0x10(%r15), %r15
cmpq %r14, %r15
jne 0x34f52
andq $0x0, 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/flow.c
// Function: kill_unreachable_bbs
void kill_unreachable_bbs(struct entrypoint *ep)
{
	struct basic_block *bb;
	unsigned long generation = ++bb_generation;

	mark_bb_reachable(ep->entry->bb, generation);
	FOR_EACH_PTR(ep->bbs, bb) {
		if (bb->generation == generation)
			continue;
		/* Mark it as being dead */
		kill_bb(bb);
		bb->ep = NULL;
		DELETE_CURRENT_PTR(bb);
	} END_FOR_EACH_PTR(bb);
	PACK_PTR_LIST(&ep->bbs);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x54fbf(%rip), %r14     # 0x89f78
incq %r14
movq %r14, 0x54fb5(%rip)     # 0x89f78
movq 0x28(%rdi), %rax
movq 0x8(%rax), %rdi
movq %r14, %rsi
callq 0x350a4
movq 0x18(%rbx), %rax
addq $0x18, %rbx
movq %rbx, 0x10(%rsp)
movq %rax, (%rsp)
testq %rax, %rax
je 0x3508c
movq (%rsp), %rbp
leaq 0x18(%rbp), %r12
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rsp)
movzwl (%rbp), %eax
xorl %r13d, %r13d
movsbl %al, %ecx
cmpl %ecx, %r13d
jge 0x3507a
movslq %r13d, %rcx
movq (%r12,%rcx,8), %r15
cmpw $0x100, %ax             # imm = 0x100
jb 0x3501f
testq %r15, %r15
je 0x35075
cmpq %r14, 0x8(%r15)
je 0x35075
leaq (%r12,%rcx,8), %rbx
movq %r15, %rdi
callq 0x34e6e
andq $0x0, 0x10(%r15)
movsbq (%rbp), %rax
movq 0x8(%rsp), %rcx
leaq (%rcx,%rax,8), %rax
cmpq %rax, %rbx
jae 0x35056
movq 0x8(%rbx), %rcx
movq %rcx, (%rbx)
addq $0x8, %rbx
jmp 0x35044
movl $0xf0f0f0f0, %eax       # imm = 0xF0F0F0F0
movq %rax, (%rbx)
movl (%rbp), %eax
leal -0x1(%rax), %ecx
movzbl %cl, %ecx
andl $0xffffff00, %eax       # imm = 0xFFFFFF00
orl %ecx, %eax
movw %ax, (%rbp)
decl %r13d
incl %r13d
jmp 0x35005
movq 0x8(%rsp), %rax
movq (%rax), %rbp
cmpq (%rsp), %rbp
jne 0x34ff1
movq 0x10(%rsp), %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1fa10
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: mark_bb_reachable
static void mark_bb_reachable(struct basic_block *bb, unsigned long generation)
{
	struct basic_block *child;

	if (bb->generation == generation)
		return;
	bb->generation = generation;
	FOR_EACH_PTR(bb->children, child) {
		mark_bb_reachable(child, generation);
	} END_FOR_EACH_PTR(child);
}

// Assembly:
cmpq %rsi, 0x8(%rdi)
je 0x35105
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rsi, 0x8(%rdi)
movq 0x20(%rdi), %r14
testq %r14, %r14
je 0x350fa
movq %r14, %r15
xorl %r12d, %r12d
movl (%r15), %eax
movsbq %al, %rcx
cmpq %rcx, %r12
jge 0x350f1
movq 0x18(%r15,%r12,8), %rdi
cmpw $0x100, %ax             # imm = 0x100
jb 0x350e4
testq %rdi, %rdi
je 0x350ec
movq %rbx, %rsi
callq 0x350a4
incq %r12
jmp 0x350c8
movq 0x10(%r15), %r15
cmpq %r14, %r15
jne 0x350c5
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: vrfy_flow
void vrfy_flow(struct entrypoint *ep)
{
	struct basic_block *bb;
	struct basic_block *entry = ep->entry->bb;

	FOR_EACH_PTR(ep->bbs, bb) {
		if (bb == entry)
			entry = NULL;
		vrfy_bb_flow(bb);
	} END_FOR_EACH_PTR(bb);
	assert(!entry);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x18(%rdi), %rcx
movq 0x28(%rdi), %rax
movq 0x8(%rax), %rdx
testq %rcx, %rcx
je 0x352af
movq %rcx, %r12
movq %rcx, 0x10(%rsp)
xorl %r13d, %r13d
movl (%r12), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jge 0x3529c
movq 0x18(%r12,%r13,8), %rbx
cmpw $0x100, %ax             # imm = 0x100
jb 0x35159
testq %rbx, %rbx
je 0x35294
cmpq %rdx, %rbx
movl $0x0, %eax
cmoveq %rax, %rdx
movq %rdx, 0x8(%rsp)
movq 0x28(%rbx), %rdi
callq 0x1f937
testq %rax, %rax
je 0x351df
movq %rax, %r14
movl (%rax), %eax
andl $0x7f, %eax
addl $-0x3, %eax
cmpl $0x4, %eax
ja 0x35205
leaq 0xf065(%rip), %rcx      # 0x441f4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x38(%r14), %rbp
testq %rbp, %rbp
je 0x35205
movq %rbp, %r14
xorl %r15d, %r15d
movl (%r14), %eax
movsbq %al, %rcx
cmpq %rcx, %r15
jge 0x351d4
movq 0x18(%r14,%r15,8), %rcx
cmpw $0x100, %ax             # imm = 0x100
jb 0x351c3
testq %rcx, %rcx
je 0x351cf
movq (%rcx), %rdi
movq 0x20(%rbx), %rsi
callq 0x35dff
incq %r15
jmp 0x351a7
movq 0x10(%r14), %r14
cmpq %rbp, %r14
jne 0x351a4
jmp 0x35205
cmpq $0x0, 0x20(%rbx)
je 0x3524a
jmp 0x352c3
movq 0x40(%r14), %rdi
movq 0x20(%rbx), %rsi
callq 0x35dff
movq 0x38(%r14), %rdi
movq 0x20(%rbx), %rsi
callq 0x35dff
movq 0x20(%rbx), %r14
testq %r14, %r14
je 0x3524a
movq %r14, %rbp
xorl %r15d, %r15d
movl (%rbp), %eax
movsbq %al, %rcx
cmpq %rcx, %r15
jge 0x35241
movq 0x18(%rbp,%r15,8), %rcx
cmpw $0x100, %ax             # imm = 0x100
jb 0x35230
testq %rcx, %rcx
je 0x3523c
movq 0x18(%rcx), %rsi
movq %rbx, %rdi
callq 0x35dff
incq %r15
jmp 0x35214
movq 0x10(%rbp), %rbp
cmpq %r14, %rbp
jne 0x35211
movq 0x18(%rbx), %r14
testq %r14, %r14
je 0x3528f
movq %r14, %rbp
xorl %r15d, %r15d
movl (%rbp), %eax
movsbq %al, %rcx
cmpq %rcx, %r15
jge 0x35286
movq 0x18(%rbp,%r15,8), %rcx
cmpw $0x100, %ax             # imm = 0x100
jb 0x35275
testq %rcx, %rcx
je 0x35281
movq 0x20(%rcx), %rsi
movq %rbx, %rdi
callq 0x35dff
incq %r15
jmp 0x35259
movq 0x10(%rbp), %rbp
cmpq %r14, %rbp
jne 0x35256
movq 0x8(%rsp), %rdx
incq %r13
jmp 0x35134
movq 0x10(%r12), %r12
movq 0x10(%rsp), %rcx
cmpq %rcx, %r12
jne 0x35131
testq %rdx, %rdx
jne 0x352e2
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xf055(%rip), %rdi      # 0x4431f
leaq 0xef50(%rip), %rsi      # 0x44221
leaq 0xf055(%rip), %rcx      # 0x4432d
movl $0x2ec, %edx            # imm = 0x2EC
callq 0xe120
leaq 0xf00b(%rip), %rdi      # 0x442f4
leaq 0xef31(%rip), %rsi      # 0x44221
leaq 0xf004(%rip), %rcx      # 0x442fb
movl $0x316, %edx            # imm = 0x316
callq 0xe120
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: simplify_cfg_early
int simplify_cfg_early(struct entrypoint *ep)
{
	struct basic_block *bb;
	int changed = 0;

	FOR_EACH_PTR_REVERSE(ep->bbs, bb) {
		struct instruction *insn;
		struct basic_block *tgt;

		if (!bb->ep) {
			DELETE_CURRENT_PTR(bb);
			changed = REPEAT_CFG_CLEANUP;
			continue;
		}

		insn = last_instruction(bb->insns);
		if (!insn)
			continue;
		switch (insn->opcode) {
		case OP_BR:
			tgt = insn->bb_true;
			if (bb_is_forwarder(bb))
				changed |= retarget_parents(bb, tgt);
			else if (bb_list_size(tgt->parents) == 1)
				changed |= merge_bb(bb, tgt);
			break;
		}
	} END_FOR_EACH_PTR_REVERSE(bb);
	return changed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x18(%rdi), %r13
testq %r13, %r13
je 0x3566f
movq $0x0, 0x8(%rsp)
movq %r13, %r12
movq 0x8(%r12), %r12
movsbq (%r12), %rbp
leaq 0x10(%r12), %rax
movq %rax, 0x10(%rsp)
leaq 0x18(%r12), %rbx
movl %ebp, %ebp
leaq (%rbx,%rbp,8), %rax
testl %ebp, %ebp
jle 0x35664
decq %rbp
movq -0x8(%rax), %r14
addq $-0x8, %rax
movzwl (%r12), %ecx
cmpw $0x100, %cx             # imm = 0x100
jb 0x3552b
testq %r14, %r14
je 0x35507
cmpq $0x0, 0x10(%r14)
je 0x3561f
movq 0x28(%r14), %rdi
callq 0x1f937
testq %rax, %rax
je 0x35501
movl (%rax), %ecx
andl $0x7f, %ecx
cmpl $0x3, %ecx
jne 0x35501
movq 0x38(%rax), %r15
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x355e4
movq %rax, %rcx
movzwl (%rcx), %edx
movsbl %dl, %esi
testw %si, %si
movl $0x0, %edi
cmovgl %esi, %edi
movzwl %di, %esi
xorl %edi, %edi
cmpq %rdi, %rsi
je 0x355ab
movq 0x18(%rcx,%rdi,8), %r8
cmpw $0x100, %dx             # imm = 0x100
jb 0x3558e
testq %r8, %r8
je 0x355a6
cmpq $0x0, 0x8(%r8)
je 0x355a6
movl (%r8), %r8d
andl $0x7f, %r8d
leal -0x4b(%r8), %r9d
cmpl $0x2, %r9d
jae 0x355b6
incq %rdi
jmp 0x35578
movq 0x10(%rcx), %rcx
cmpq %rax, %rcx
jne 0x35562
jmp 0x355e4
addl $-0x3, %r8d
cmpl $0x2, %r8d
jae 0x355e4
movq 0x18(%r14), %rdi
callq 0x1f919
testq %rax, %rax
je 0x35603
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x35e7e
testl %eax, %eax
jne 0x355c0
xorl %eax, %eax
jmp 0x3560e
movq 0x18(%r15), %rdi
callq 0x1f89c
cmpl $0x1, %eax
jne 0x35501
movq %r14, %rdi
movq %r15, %rsi
callq 0x3568c
jmp 0x3560e
movq %r14, %rdi
callq 0x34e6e
pushq $0x4
popq %rax
movq 0x8(%rsp), %rcx
orl %eax, %ecx
movq %rcx, 0x8(%rsp)
jmp 0x35501
movzwl %cx, %ecx
movsbq %cl, %rcx
movq 0x10(%rsp), %rdx
leaq (%rdx,%rcx,8), %rcx
cmpq %rcx, %rax
jae 0x35641
movq 0x8(%rax), %rdx
movq %rdx, (%rax)
addq $0x8, %rax
jmp 0x3562f
movl $0xf0f0f0f0, %ecx       # imm = 0xF0F0F0F0
movq %rcx, (%rax)
decb (%r12)
addq %rcx, %rbp
addq $0xf0f0f0f, %rbp        # imm = 0xF0F0F0F
pushq $0x4
popq %rax
movq %rax, 0x8(%rsp)
jmp 0x35501
cmpq %r13, %r12
jne 0x354e8
jmp 0x35678
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %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/flow.c
// Function: simplify_branch_branch
static int simplify_branch_branch(struct basic_block *bb, struct instruction *br,
	struct basic_block **target_p, int bb_true)
{
	struct basic_block *target = *target_p, *final;
	struct instruction *insn;
	int retval;

	if (target == bb)
		return 0;
	insn = last_instruction(target->insns);
	if (!insn || insn->opcode != OP_CBR || insn->cond != br->cond)
		return 0;
	/*
	 * Ahhah! We've found a branch to a branch on the same conditional!
	 * Now we just need to see if we can rewrite the branch..
	 */
	retval = 0;
	final = bb_true ? insn->bb_true : insn->bb_false;
	if (bb_has_side_effects(target))
		goto try_to_rewrite_target;
	if (bb_depends_on(final, target))
		goto try_to_rewrite_target;
	if (bb_depends_on_phi(final, target))
		return 0;
	return rewrite_branch(bb, target_p, target, final);

try_to_rewrite_target:
	/*
	 * If we're the only parent, at least we can rewrite the
	 * now-known second branch.
	 */
	if (bb_list_size(target->parents) != 1)
		return retval;
	convert_to_jump(insn, final);
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdx), %r15
xorl %eax, %eax
cmpq %rdi, %r15
je 0x35b96
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r12
movq 0x28(%r15), %rdi
callq 0x1f937
testq %rax, %rax
je 0x35b94
movq %rax, %r13
movl (%rax), %eax
andl $0x7f, %eax
cmpl $0x4, %eax
jne 0x35b94
movq 0x30(%r13), %rax
cmpq 0x30(%rbx), %rax
je 0x35ba5
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
testl %ebp, %ebp
sete %al
movq 0x38(%r13,%rax,8), %rbp
movq %r15, %rdi
callq 0x35c22
testl %eax, %eax
jne 0x35bcc
movq %rbp, %rdi
movq %r15, %rsi
callq 0x35cac
testl %eax, %eax
je 0x35bef
movq 0x18(%r15), %rdi
callq 0x1f89c
cmpl $0x1, %eax
movl $0x0, %eax
jne 0x35b96
movq %r13, %rdi
movq %rbp, %rsi
callq 0x35301
pushq $0x1
popq %rax
jmp 0x35b96
movq %rbp, %rdi
movq %r15, %rsi
callq 0x35d11
testl %eax, %eax
movl $0x0, %eax
jne 0x35b96
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbp, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x35d8c
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: bb_has_side_effects
static int bb_has_side_effects(struct basic_block *bb)
{
	struct instruction *insn;
	FOR_EACH_PTR(bb->insns, insn) {
		if (!insn->bb)
			continue;
		switch (insn->opcode) {
		case OP_CALL:
			/* FIXME! This should take "const" etc into account */
			return 1;

		case OP_LOAD:
			if (!insn->type)
				return 1;
			if (insn->is_volatile)
				return 1;
			continue;

		case OP_STORE:
		case OP_CONTEXT:
			return 1;

		case OP_ASM:
			/* FIXME! This should take "volatile" etc into account */
			return 1;

		default:
			continue;
		}
	} END_FOR_EACH_PTR(insn);
	return 0;
}

// Assembly:
movq 0x28(%rdi), %rcx
testq %rcx, %rcx
je 0x35ca9
pushq $0x1
popq %rax
movl $0x1882, %edx           # imm = 0x1882
movq %rcx, %rsi
movzwl (%rsi), %edi
movsbl %dil, %r8d
testw %r8w, %r8w
movl $0x0, %r9d
cmovgl %r8d, %r9d
movzwl %r9w, %r8d
xorl %r9d, %r9d
cmpq %r9, %r8
je 0x35ca0
movq 0x18(%rsi,%r9,8), %r10
cmpw $0x100, %di             # imm = 0x100
jb 0x35c68
testq %r10, %r10
je 0x35c9b
cmpq $0x0, 0x8(%r10)
je 0x35c9b
movl (%r10), %r11d
andl $0x7f, %r11d
addl $-0x43, %r11d
cmpl $0xc, %r11d
ja 0x35c9b
testl %r11d, %r11d
jne 0x35c95
cmpq $0x0, 0x18(%r10)
je 0x35cab
testb $0x1, 0x40(%r10)
je 0x35c9b
jmp 0x35cab
btl %r11d, %edx
jb 0x35cab
incq %r9
jmp 0x35c52
movq 0x10(%rsi), %rsi
cmpq %rcx, %rsi
jne 0x35c36
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: bb_depends_on
static int bb_depends_on(struct basic_block *target, struct basic_block *src)
{
	pseudo_t pseudo;

	FOR_EACH_PTR(src->defines, pseudo) {
		if (pseudo_in_list(target->needs, pseudo))
			return 1;
	} END_FOR_EACH_PTR(pseudo);
	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x50(%rsi), %r15
testq %r15, %r15
je 0x35d03
movq %rdi, %r14
pushq $0x1
popq %rbx
movq %r15, %r12
xorl %r13d, %r13d
movl (%r12), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jge 0x35cf9
movq 0x18(%r12,%r13,8), %rsi
cmpw $0x100, %ax             # imm = 0x100
jb 0x35ce7
testq %rsi, %rsi
je 0x35cf4
movq 0x48(%r14), %rdi
callq 0x34544
testl %eax, %eax
jne 0x35d05
incq %r13
jmp 0x35cca
movq 0x10(%r12), %r12
cmpq %r15, %r12
jne 0x35cc7
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: bb_depends_on_phi
static int bb_depends_on_phi(struct basic_block *target, struct basic_block *src)
{
	struct instruction *insn;
	FOR_EACH_PTR(src->insns, insn) {
		if (!insn->bb)
			continue;
		if (insn->opcode != OP_PHI)
			continue;
		if (pseudo_in_list(target->needs, insn->target))
			return 1;
	} END_FOR_EACH_PTR(insn);
	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x28(%rsi), %r15
testq %r15, %r15
je 0x35d7e
movq %rdi, %r14
pushq $0x1
popq %rbx
movq %r15, %r12
xorl %r13d, %r13d
movl (%r12), %ecx
movsbq %cl, %rax
cmpq %rax, %r13
jge 0x35d74
movq 0x18(%r12,%r13,8), %rax
cmpw $0x100, %cx             # imm = 0x100
jb 0x35d4d
testq %rax, %rax
je 0x35d6f
cmpq $0x0, 0x8(%rax)
je 0x35d6f
movl (%rax), %ecx
andl $0x7f, %ecx
cmpl $0x46, %ecx
jne 0x35d6f
movq 0x48(%r14), %rdi
movq 0x20(%rax), %rsi
callq 0x34544
testl %eax, %eax
jne 0x35d80
incq %r13
jmp 0x35d2f
movq 0x10(%r12), %r12
cmpq %r15, %r12
jne 0x35d2c
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: rewrite_branch
static int rewrite_branch(struct basic_block *bb,
	struct basic_block **ptr,
	struct basic_block *old,
	struct basic_block *new)
{
	if (*ptr != old || new == old || !bb->ep)
		return 0;

	/* We might find new if-conversions or non-dominating CSEs */
	/* we may also create new dead cycles */
	repeat_phase |= REPEAT_CSE | REPEAT_CFG_CLEANUP;
	*ptr = new;
	replace_bb_in_list(&bb->children, old, new, 1);
	remove_bb_from_list(&old->parents, bb, 1);
	add_bb(&new->parents, bb);
	return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
xorl %ebx, %ebx
cmpq %rdx, %rcx
je 0x35df1
movq %rdx, %r12
cmpq %rdx, (%rsi)
jne 0x35df1
movq %rdi, %r15
cmpq $0x0, 0x10(%rdi)
je 0x35df1
movq %rcx, %r14
leaq 0x2afbd(%rip), %rax     # 0x60d74
orb $0x5, (%rax)
movq %rcx, (%rsi)
leaq 0x20(%r15), %rdi
pushq $0x1
popq %rbx
movq %r12, %rsi
movq %rcx, %rdx
movl %ebx, %ecx
callq 0x1fce4
addq $0x18, %r12
movq %r12, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0x1fbfd
addq $0x18, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x1fae9
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: vrfy_bb_in_list
static void vrfy_bb_in_list(struct basic_block *bb, struct basic_block_list *list)
{
	if (bb) {
		struct basic_block *tmp;
		int no_bb_in_list = 0;

		FOR_EACH_PTR(list, tmp) {
			if (bb == tmp)
				return;
		} END_FOR_EACH_PTR(tmp);
		assert(no_bb_in_list);
	}
}

// Assembly:
pushq %rax
testq %rdi, %rdi
je 0x35e7c
testq %rsi, %rsi
je 0x35e5d
movq %rsi, %rax
movzwl (%rax), %ecx
movsbl %cl, %edx
testw %dx, %dx
movl $0x0, %r8d
cmovgl %edx, %r8d
movzwl %r8w, %edx
xorl %r8d, %r8d
cmpq %r8, %rdx
je 0x35e54
cmpw $0x100, %cx             # imm = 0x100
setb %r10b
movq 0x18(%rax,%r8,8), %r9
testq %r9, %r9
setne %r11b
orb %r10b, %r11b
incq %r8
cmpb $0x1, %r11b
jne 0x35e27
cmpq %rdi, %r9
jne 0x35e27
jmp 0x35e7c
movq 0x10(%rax), %rax
cmpq %rsi, %rax
jne 0x35e0d
leaq 0xe4f2(%rip), %rdi      # 0x44356
leaq 0xe3b6(%rip), %rsi      # 0x44221
leaq 0xe4f2(%rip), %rcx      # 0x44364
movl $0x2da, %edx            # imm = 0x2DA
callq 0xe120
popq %rax
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flow.c
// Function: rewrite_parent_branch
static int rewrite_parent_branch(struct basic_block *bb, struct basic_block *old, struct basic_block *new)
{
	int changed = 0;
	struct instruction *insn = last_instruction(bb->insns);

	if (!insn)
		return 0;

	/* Infinite loops: let's not "optimize" them.. */
	if (old == new)
		return 0;

	switch (insn->opcode) {
	case OP_CBR:
		changed |= rewrite_branch(bb, &insn->bb_false, old, new);
		/* fall through */
	case OP_BR:
		changed |= rewrite_branch(bb, &insn->bb_true, old, new);
		assert(changed);
		return changed;
	case OP_SWITCH: {
		struct multijmp *jmp;
		FOR_EACH_PTR(insn->multijmp_list, jmp) {
			changed |= rewrite_branch(bb, &jmp->target, old, new);
		} END_FOR_EACH_PTR(jmp);
		assert(changed);
		return changed;
	}
	default:
		return 0;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x28(%rdi), %rdi
callq 0x1f937
movq %rax, %r12
testq %rax, %rax
sete %al
cmpq %rbx, %r14
sete %cl
xorl %ebp, %ebp
orb %al, %cl
jne 0x35f7b
movl (%r12), %eax
andl $0x7f, %eax
xorl %ebp, %ebp
cmpl $0x3, %eax
je 0x35ee5
cmpl $0x5, %eax
je 0x35f1d
cmpl $0x4, %eax
jne 0x35f7b
leaq 0x40(%r12), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x35d8c
movl %eax, %ebp
addq $0x38, %r12
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x35d8c
orl %ebp, %eax
jne 0x35f78
leaq 0xe4a5(%rip), %rdi      # 0x443aa
leaq 0xe315(%rip), %rsi      # 0x44221
leaq 0xe49f(%rip), %rcx      # 0x443b2
movl $0x2aa, %edx            # imm = 0x2AA
callq 0xe120
movq 0x38(%r12), %rax
testq %rax, %rax
je 0x35f8c
xorl %r13d, %r13d
movq %rax, %rbp
movq %rax, (%rsp)
xorl %r12d, %r12d
movl (%rbp), %eax
movsbq %al, %rcx
cmpq %rcx, %r12
jge 0x35f66
movq 0x18(%rbp,%r12,8), %rsi
cmpw $0x100, %ax             # imm = 0x100
jb 0x35f50
testq %rsi, %rsi
je 0x35f61
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x35d8c
orl %eax, %r13d
incq %r12
jmp 0x35f34
movq 0x10(%rbp), %rbp
movq (%rsp), %rax
cmpq %rax, %rbp
jne 0x35f31
testl %r13d, %r13d
je 0x35f8c
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xe417(%rip), %rdi      # 0x443aa
leaq 0xe287(%rip), %rsi      # 0x44221
leaq 0xe411(%rip), %rcx      # 0x443b2
movl $0x2b1, %edx            # imm = 0x2B1
callq 0xe120
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flowgraph.c
// Function: cfg_postorder
int cfg_postorder(struct entrypoint *ep)
{
	struct cfg_info info = {
		.gen = ++bb_generation,
	};

	label_postorder(ep->entry->bb, &info);

	// OK, now info.list contains the node in postorder
	// Reuse ep->bbs for the reverse postorder.
	free_ptr_list(&ep->bbs);
	ep->bbs = NULL;
	reverse_bbs(&ep->bbs, info.list);
	free_ptr_list(&info.list);
	if (dbg_postorder)
		debug_postorder(ep);
	return info.nr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
leaq 0x8(%rsp), %r15
andq $0x0, (%r15)
leaq 0x53fa7(%rip), %rax     # 0x89f78
movq (%rax), %rcx
incq %rcx
movq %rcx, 0x8(%r15)
andl $0x0, 0x10(%r15)
movq %rdi, %rbx
movq %rcx, (%rax)
movq 0x28(%rdi), %rax
movq 0x8(%rax), %rdi
movq %r15, %rsi
callq 0x360df
leaq 0x18(%rbx), %r14
movq %r14, %rdi
callq 0x1ff30
andq $0x0, 0x18(%rbx)
movq (%r15), %r15
testq %r15, %r15
je 0x36049
movq %r15, %r12
movq 0x8(%r12), %r12
movsbq (%r12), %rax
movl %eax, %r13d
testl %r13d, %r13d
jle 0x36044
movq 0x10(%r12,%r13,8), %rsi
cmpw $0x100, (%r12)          # imm = 0x100
jb 0x36037
testq %rsi, %rsi
je 0x3603f
movq %r14, %rdi
callq 0x1fae9
decq %r13
jmp 0x3601f
cmpq %r15, %r12
jne 0x36012
leaq 0x8(%rsp), %rdi
callq 0x1ff30
leaq 0x2ad5e(%rip), %rax     # 0x60db8
cmpl $0x0, (%rax)
je 0x360cd
movq (%rbx), %rax
movq 0x18(%rax), %rdi
callq 0x2936d
leaq 0xe440(%rip), %rdi      # 0x444b2
movq %rax, %rsi
xorl %eax, %eax
callq 0xe0f0
movq 0x18(%rbx), %r14
testq %r14, %r14
je 0x360cd
leaq 0xe43f(%rip), %rbx      # 0x444cb
movq %r14, %r15
xorl %r12d, %r12d
movl (%r15), %ecx
movsbq %cl, %rax
cmpq %rax, %r12
jge 0x360c4
movq 0x18(%r15,%r12,8), %rax
cmpw $0x100, %cx             # imm = 0x100
jb 0x360af
testq %rax, %rax
je 0x360bf
movl 0x38(%rax), %esi
movl 0x58(%rax), %edx
movq %rbx, %rdi
xorl %eax, %eax
callq 0xe0f0
incq %r12
jmp 0x36092
movq 0x10(%r15), %r15
cmpq %r14, %r15
jne 0x3608f
movl 0x18(%rsp), %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flowgraph.c
// Function: label_postorder
static void label_postorder(struct basic_block *bb, struct cfg_info *info)
{
	struct basic_block *child;

	if (bb->generation == info->gen)
		return;

	bb->generation = info->gen;
	FOR_EACH_PTR_REVERSE(bb->children, child) {
		label_postorder(child, info);
	} END_FOR_EACH_PTR_REVERSE(child);

	bb->postorder_nr = info->nr++;
	add_bb(&info->list, bb);
}

// Assembly:
movq 0x8(%rsi), %rax
cmpq %rax, 0x8(%rdi)
jne 0x360ea
retq
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq %rax, 0x8(%rdi)
movq 0x20(%rdi), %r15
testq %r15, %r15
je 0x36140
movq %r15, %r12
movq 0x8(%r12), %r12
movsbq (%r12), %rax
movl %eax, %r13d
testl %r13d, %r13d
jle 0x3613b
movq 0x10(%r12,%r13,8), %rdi
cmpw $0x100, (%r12)          # imm = 0x100
jb 0x3612e
testq %rdi, %rdi
je 0x36136
movq %r14, %rsi
callq 0x360df
decq %r13
jmp 0x36116
cmpq %r15, %r12
jne 0x36109
movl 0x10(%r14), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x10(%r14)
movl %eax, 0x58(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1fae9
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/flowgraph.c
// Function: domtree_dominates
bool domtree_dominates(struct basic_block *a, struct basic_block *b)
{
	if (a == b)			// dominance is reflexive
		return true;
	if (a == b->idom)
		return true;
	if (b == a->idom)
		return false;

	// can't dominate if deeper in the DT
	if (a->dom_level >= b->dom_level)
		return false;

	// FIXME: can be faster if we have the DFS in-out numbers

	// walk up the dominator tree
	for (b = b->idom; b; b = b->idom) {
		if (b == a)
			return true;
	}
	return false;
}

// Assembly:
movb $0x1, %al
cmpq %rsi, %rdi
je 0x36512
movq 0x30(%rsi), %rcx
cmpq %rdi, %rcx
je 0x36512
cmpq %rsi, 0x30(%rdi)
je 0x36510
movl 0x3c(%rdi), %eax
cmpl 0x3c(%rsi), %eax
jge 0x36510
testq %rcx, %rcx
setne %al
cmpq %rdi, %rcx
je 0x36512
testq %rcx, %rcx
je 0x36512
movq 0x30(%rcx), %rcx
jmp 0x364fa
xorl %eax, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/ir.c
// Function: check_user
static int check_user(struct instruction *insn, pseudo_t pseudo)
{
	struct instruction *def;

	if (!pseudo) {
		show_entry(insn->bb->ep);
		sparse_error(insn->pos, "null pseudo in %s", show_instruction(insn));
		return 1;
	}
	switch (pseudo->type) {
	case PSEUDO_PHI:
	case PSEUDO_REG:
		def = pseudo->def;
		if (def && def->bb)
			break;
		show_entry(insn->bb->ep);
		sparse_error(insn->pos, "wrong usage for %s in %s", show_pseudo(pseudo),
			show_instruction(insn));
		return 1;

	default:
		break;
	}
	return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x36a4a
movq %rsi, %r14
movl 0x4(%rsi), %ecx
andl $-0x2, %ecx
xorl %eax, %eax
cmpl $0x2, %ecx
jne 0x36a77
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0x36a10
cmpq $0x0, 0x8(%rcx)
jne 0x36a77
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rdi
callq 0x128dd
movq %r14, %rdi
callq 0x11a4e
movq %rax, %r14
movq %rbx, %rdi
callq 0x11c44
movq 0x10(%rbx), %rdi
leaq 0xdc03(%rip), %rsi      # 0x4463e
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1120e
jmp 0x36a74
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rdi
callq 0x128dd
movq %rbx, %rdi
callq 0x11c44
movq 0x10(%rbx), %rdi
leaq 0xdbc2(%rip), %rsi      # 0x4462c
movq %rax, %rdx
xorl %eax, %eax
callq 0x1120e
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/ir.c
// Function: check_branch
static int check_branch(struct entrypoint *ep, struct instruction *insn, struct basic_block *bb)
{
	if (bb->ep && lookup_bb(ep->bbs, bb))
		return 0;
	sparse_error(insn->pos, "branch to dead BB: %s", show_instruction(insn));
	return 1;
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
cmpq $0x0, 0x10(%rdx)
je 0x36a9e
movq 0x18(%rdi), %rdi
movq %rdx, %rsi
callq 0x1fbbc
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
jne 0x36abe
movq %rbx, %rdi
callq 0x11c44
movq 0x10(%rbx), %rdi
leaq 0xdba6(%rip), %rsi      # 0x44657
movq %rax, %rdx
xorl %eax, %eax
callq 0x1120e
pushq $0x1
popq %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/ir.c
// Function: nbr_phi_operands
static int nbr_phi_operands(struct instruction *insn)
{
	pseudo_t p;
	int nbr = 0;

	if (!insn->phi_list)
		return 0;

	FOR_EACH_PTR(insn->phi_list, p) {
		if (p == VOID)
			continue;
		nbr++;
	} END_FOR_EACH_PTR(p);

	return nbr;
}

// Assembly:
movq 0x38(%rdi), %rcx
testq %rcx, %rcx
je 0x36b2f
pushq %rbx
xorl %eax, %eax
leaq 0x28efd(%rip), %rdx     # 0x5f9d0
movq %rcx, %rsi
movzwl (%rsi), %edi
movsbl %dil, %r8d
testw %r8w, %r8w
movl $0x0, %r9d
cmovgl %r8d, %r9d
movzwl %r9w, %r8d
xorl %r9d, %r9d
cmpq %r9, %r8
je 0x36b24
cmpw $0x100, %di             # imm = 0x100
setb %r10b
movq 0x18(%rsi,%r9,8), %r11
testq %r11, %r11
setne %bl
orb %r10b, %bl
cmpq %rdx, %r11
setne %r10b
andb %bl, %r10b
movzbl %r10b, %r10d
addl %r10d, %eax
incq %r9
jmp 0x36af2
movq 0x10(%rsi), %rsi
cmpq %rcx, %rsi
jne 0x36ad6
popq %rbx
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/liveness.c
// Function: clear_liveness
void clear_liveness(struct entrypoint *ep)
{
	struct basic_block *bb;

	FOR_EACH_PTR(ep->bbs, bb) {
		free_ptr_list(&bb->needs);
		free_ptr_list(&bb->defines);
	} END_FOR_EACH_PTR(bb);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x18(%rdi), %r14
testq %r14, %r14
je 0x36b95
movq %r14, %r15
xorl %r12d, %r12d
movl (%r15), %eax
movsbq %al, %rcx
cmpq %rcx, %r12
jge 0x36b8c
movq 0x18(%r15,%r12,8), %rbx
cmpw $0x100, %ax             # imm = 0x100
jb 0x36b72
testq %rbx, %rbx
je 0x36b87
leaq 0x48(%rbx), %rdi
callq 0x1ff30
addq $0x50, %rbx
movq %rbx, %rdi
callq 0x1ff30
incq %r12
jmp 0x36b56
movq 0x10(%r15), %r15
cmpq %r14, %r15
jne 0x36b53
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/liveness.c
// Function: insn_uses
static void insn_uses(struct basic_block *bb, pseudo_t pseudo)
{
	if (trackable_pseudo(pseudo)) {
		struct instruction *def = pseudo->def;
		if (pseudo->type != PSEUDO_REG || def->bb != bb || def->opcode == OP_PHI)
			add_pseudo_exclusive(&bb->needs, pseudo);
	}
}

// Assembly:
testq %rsi, %rsi
je 0x3722d
movl 0x4(%rsi), %eax
leal -0x3(%rax), %ecx
cmpl $0x1, %ecx
ja 0x3722d
cmpl $0x3, %eax
jne 0x37224
movq 0x18(%rsi), %rax
cmpq %rdi, 0x8(%rax)
jne 0x37224
movl (%rax), %eax
andl $0x7f, %eax
cmpl $0x46, %eax
jne 0x3722d
addq $0x48, %rdi
jmp 0x37658
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/memops.c
// Function: try_to_kill_store
static bool try_to_kill_store(struct instruction *insn,
			     struct instruction *dom, int local)
{
	int dominance = dominates(insn, dom, local);

	if (dominance) {
		/* possible partial dominance? */
		if (dominance < 0)
			return false;
		if (insn->target == dom->target && insn->bb == dom->bb) {
			// found a memop which makes the store redundant
			kill_instruction_force(insn);
			return false;
		}
		if (dom->opcode == OP_LOAD)
			return false;
		if (dom->is_volatile)
			return false;
		/* Yeehaa! Found one! */
		kill_instruction_force(dom);
	}
	return true;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x34adb
testl %eax, %eax
je 0x37fcb
js 0x37fc7
movq 0x20(%r14), %rax
cmpq 0x20(%rbx), %rax
jne 0x37fb4
movq 0x8(%r14), %rax
cmpq 0x8(%rbx), %rax
je 0x37fd0
movl (%rbx), %eax
andl $0x7f, %eax
cmpl $0x43, %eax
je 0x37fc7
movb $0x1, %bpl
testb $0x1, 0x40(%rbx)
je 0x37fd5
xorl %ebp, %ebp
jmp 0x37fdd
movb $0x1, %bpl
jmp 0x37fdd
xorl %ebp, %ebp
movq %r14, %rbx
movq %rbx, %rdi
callq 0x37fe4
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/ptrmap.c
// Function: _ptrmap_add
void __ptrmap_add(struct ptrmap **mapp, void *key, void *val)
{
	struct ptrmap *head = *mapp;
	struct ptrmap *newmap;
	struct ptrmap *map;
	struct ptrpair *pair;
	int nr;

	if ((map = head)) {
		struct ptrmap *next = map->next;
		if (next)		// head is full
			map = next;
		if ((nr = map->nr) < MAP_NR)
			goto oldmap;
	}

	// need a new block
	newmap = __alloc_ptrmap(0);
	if (!head) {
		*mapp = newmap;
	} else {
		newmap->next = head->next;
		head->next = newmap;
	}
	map = newmap;
	nr = 0;

oldmap:
	pair = &map->pairs[nr];
	pair->key = key;
	pair->val = val;
	map->nr = ++nr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %r12
testq %r12, %r12
je 0x3806c
movq (%r12), %rax
testq %rax, %rax
cmoveq %r12, %rax
movl 0x8(%rax), %ebp
cmpl $0x7, %ebp
jl 0x38087
xorl %ebp, %ebp
xorl %edi, %edi
callq 0x37fec
testq %r12, %r12
je 0x38084
movq (%r12), %rcx
movq %rcx, (%rax)
movq %r12, %r15
movq %rax, (%r15)
movslq %ebp, %rcx
movq %rcx, %rdx
shlq $0x4, %rdx
movq %r14, 0x10(%rax,%rdx)
movq %rbx, 0x18(%rax,%rdx)
incl %ecx
movl %ecx, 0x8(%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/ptrmap.c
// Function: _ptrmap_lookup
void *__ptrmap_lookup(struct ptrmap *map, void *key)
{
	for (; map; map = map->next) {
		int i, n = map->nr;
		for (i = 0; i < n; i++) {
			struct ptrpair *pair = &map->pairs[i];
			if (pair->key == key)
				return pair->val;
		}
	}
	return NULL;
}

// Assembly:
xorl %eax, %eax
testq %rdi, %rdi
je 0x380e1
movl 0x8(%rdi), %ecx
testl %ecx, %ecx
cmovlel %eax, %ecx
shlq $0x4, %rcx
addq $0x10, %rcx
xorl %edx, %edx
leaq 0x10(%rdx), %r8
cmpq %r8, %rcx
je 0x380d7
cmpq %rsi, 0x10(%rdi,%rdx)
movq %r8, %rdx
jne 0x380c2
jmp 0x380dc
movq (%rdi), %rdi
jmp 0x380ab
movq 0x8(%rdi,%r8), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/ptrmap.c
// Function: _ptrmap_update
void __ptrmap_update(struct ptrmap **mapp, void *key, void *val)
{
	struct ptrmap *map = *mapp;

	for (; map; map = map->next) {
		int i, n = map->nr;
		for (i = 0; i < n; i++) {
			struct ptrpair *pair = &map->pairs[i];
			if (pair->key == key) {
				if (pair->val != val)
					pair->val = val;
				return;
			}
		}
	}

	__ptrmap_add(mapp, key, val);
}

// Assembly:
xorl %ecx, %ecx
movq %rdi, %rax
movq (%rax), %rax
testq %rax, %rax
je 0x38040
movl 0x8(%rax), %r8d
testl %r8d, %r8d
cmovlel %ecx, %r8d
shlq $0x4, %r8
addq $0x10, %r8
xorl %r10d, %r10d
leaq 0x10(%r10), %r9
cmpq %r9, %r8
je 0x380e7
cmpq %rsi, 0x10(%rax,%r10)
movq %r9, %r10
jne 0x38109
cmpq %rdx, 0x8(%rax,%r9)
je 0x38128
movq %rdx, 0x8(%rax,%r9)
retq
nopl (%rax)