// File: /workspace/github_c_makefile_star2_O3/lucvoo[P]sparse-dev/simplify.c
// Function: clean_up_phi
static int clean_up_phi(struct instruction *insn)
{
	struct pseudo_list *list = NULL;
	pseudo_t pseudo;

	if ((pseudo = trivial_phi(NULL, insn, &list))) {
		convert_instruction_target(insn, pseudo);
		kill_instruction(insn);
		return REPEAT_CSE;
	}

	return if_convert_phi(insn);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %rdx
movq $0x0, (%rdx)
xorl %edi, %edi
movq %rbx, %rsi
callq 0x29c66
testq %rax, %rax
je 0x273e7
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3b384
movq %rbx, %rdi
xorl %esi, %esi
callq 0x24a3f
movl $0x1, %ebp
jmp 0x2757d
movl (%rbx), %eax
andl $0x7f, %eax
cmpl $0x46, %eax
jne 0x275ad
movq 0x38(%rbx), %rcx
testq %rcx, %rcx
je 0x2757b
movq 0x8(%rbx), %rax
xorl %edx, %edx
leaq 0x3e5c1(%rip), %rsi     # 0x659d0
movq %rcx, %rdi
movzwl (%rdi), %r9d
testb %r9b, %r9b
jle 0x27485
movl %r9d, %r8d
andl $0x7f, %r8d
cmpw $0x1, %r8w
adcl $0x0, %r8d
movzbl %r8b, %r8d
movzwl %r9w, %r9d
xorl %r10d, %r10d
cmpl $0x100, %r9d            # imm = 0x100
setae %bpl
movq 0x18(%rdi,%r10,8), %r11
testq %r11, %r11
sete %r14b
testb %r14b, %bpl
jne 0x2747d
cmpq %rsi, %r11
je 0x2747d
cmpl $0x1, %edx
jg 0x2757b
movq 0x18(%r11), %r11
movl (%r11), %ebp
andl $0x7f, %ebp
cmpl $0x45, %ebp
jne 0x2758e
movslq %edx, %r14
incl %edx
movq %r11, 0x20(%rsp,%r14,8)
incq %r10
cmpq %r10, %r8
jne 0x27436
movq 0x10(%rdi), %rdi
cmpq %rcx, %rdi
jne 0x27412
xorl %ebp, %ebp
cmpl $0x2, %edx
jne 0x2757d
movq 0x18(%rax), %rdi
leaq 0x10(%rsp), %rsi
movl $0x2, %edx
callq 0x22625
cmpl $0x2, %eax
jne 0x2757d
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
movq 0x8(%rax), %r12
movq 0x30(%rax), %rsi
movq 0x8(%rcx), %r13
movq 0x30(%rcx), %r14
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %r12, %rdx
xorq %rax, %rdx
movq %r13, %rdi
xorq %rcx, %rdi
orq %rdx, %rdi
je 0x274f9
xorq %r12, %rcx
xorq %r13, %rax
orq %rcx, %rax
jne 0x2757d
movq %r12, %rdi
movq %rsi, 0x8(%rsp)
callq 0x29db4
movq %rax, %r15
movq %r13, %rdi
movq %r14, %rsi
callq 0x29db4
cmpq %rax, %r15
jne 0x2757d
movq 0x28(%r15), %rdi
callq 0x225ce
testq %rax, %rax
je 0x2757d
movl (%rax), %ecx
andl $0x7f, %ecx
cmpl $0x4, %ecx
jne 0x2757d
cmpq $0x0, 0x30(%rax)
je 0x275cc
movq 0x40(%rax), %rcx
testq %rcx, %rcx
je 0x275eb
cmpq %r13, 0x38(%rax)
sete %dl
cmpq %r12, %rcx
sete %cl
orb %dl, %cl
movq %r14, %r8
movq 0x8(%rsp), %rcx
cmovneq %rcx, %r8
cmovneq %r14, %rcx
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x134d5
jmp 0x273d3
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ffe7(%rip), %rdi     # 0x4757c
leaq 0x1fe90(%rip), %rsi     # 0x4742c
leaq 0x1ff94(%rip), %rcx     # 0x47537
movl $0x66, %edx
callq 0xe120
leaq 0x1ff6c(%rip), %rdi     # 0x47520
leaq 0x1fe71(%rip), %rsi     # 0x4742c
leaq 0x1ff75(%rip), %rcx     # 0x47537
movl $0x5e, %edx
callq 0xe120
leaq 0x1a20a(%rip), %rdi     # 0x417dd
leaq 0x1fe52(%rip), %rsi     # 0x4742c
leaq 0x1ff09(%rip), %rcx     # 0x474ea
movl $0x98, %edx
callq 0xe120
leaq 0x1ff21(%rip), %rdi     # 0x47513
leaq 0x1fe33(%rip), %rsi     # 0x4742c
leaq 0x1feea(%rip), %rcx     # 0x474ea
movl $0x99, %edx
callq 0xe120