// File: /workspace/github_c_makefile_star2_O1/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 0x2a064
testq %rax, %rax
je 0x275de
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3c2b1
movq %rbx, %rdi
xorl %esi, %esi
callq 0x24adf
movl $0x1, %ebp
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl (%rbx), %eax
andl $0x7f, %eax
cmpl $0x46, %eax
jne 0x277c0
movq 0x8(%rbx), %rax
movq 0x38(%rbx), %rdx
xorl %ebp, %ebp
testq %rdx, %rdx
je 0x2769c
xorl %ecx, %ecx
leaq 0x3f3c8(%rip), %rsi     # 0x669d0
movq %rdx, %rdi
movzwl (%rdi), %r9d
testb %r9b, %r9b
jle 0x2768a
movl %r9d, %r8d
andl $0x7f, %r8d
cmpw $0x1, %r8w
adcl $0x0, %r8d
movzbl %r8b, %r8d
movzwl %r9w, %r9d
xorl %r10d, %r10d
movq 0x18(%rdi,%r10,8), %r14
cmpl $0x100, %r9d            # imm = 0x100
jb 0x27642
testq %r14, %r14
je 0x27682
cmpq %rsi, %r14
je 0x27676
movl $0x1, %r11d
cmpl $0x1, %ecx
jg 0x2767c
movq 0x18(%r14), %r11
movl (%r11), %r14d
andl $0x7f, %r14d
cmpl $0x45, %r14d
jne 0x277a1
movslq %ecx, %r14
incl %ecx
movq %r11, 0x20(%rsp,%r14,8)
xorl %r11d, %r11d
jmp 0x2767c
movl $0x8, %r11d
testb $0x7, %r11b
jne 0x276a4
incq %r10
cmpq %r10, %r8
jne 0x2762f
movq 0x10(%rdi), %rdi
cmpq %rdx, %rdi
jne 0x2760b
xorl %r11d, %r11d
jmp 0x276a4
movl $0x2, %r11d
xorl %ecx, %ecx
testb $0xd, %r11b
jne 0x275cd
cmpl $0x2, %ecx
jne 0x275cd
movq 0x18(%rax), %rdi
leaq 0x10(%rsp), %rsi
movl $0x2, %edx
callq 0x226af
cmpl $0x2, %eax
jne 0x275cd
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 0x27717
xorq %r12, %rcx
xorq %r13, %rax
orq %rcx, %rax
jne 0x275cd
movq %r12, %rdi
movq %rsi, 0x8(%rsp)
callq 0x2a1f9
movq %rax, %r15
movq %r13, %rdi
movq %r14, %rsi
callq 0x2a1f9
cmpq %rax, %r15
jne 0x275cd
movq 0x28(%r15), %rdi
callq 0x22652
testq %rax, %rax
je 0x275cd
movl (%rax), %ecx
andl $0x7f, %ecx
cmpl $0x4, %ecx
jne 0x275cd
cmpq $0x0, 0x30(%rax)
je 0x277df
movq 0x40(%rax), %rcx
testq %rcx, %rcx
je 0x277fe
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 0x13463
jmp 0x275be
leaq 0x20e54(%rip), %rdi     # 0x485fc
leaq 0x20cfd(%rip), %rsi     # 0x484ac
leaq 0x20e01(%rip), %rcx     # 0x485b7
movl $0x66, %edx
callq 0xe120
leaq 0x20dd9(%rip), %rdi     # 0x485a0
leaq 0x20cde(%rip), %rsi     # 0x484ac
leaq 0x20de2(%rip), %rcx     # 0x485b7
movl $0x5e, %edx
callq 0xe120
leaq 0x1b027(%rip), %rdi     # 0x4280d
leaq 0x20cbf(%rip), %rsi     # 0x484ac
leaq 0x20d76(%rip), %rcx     # 0x4856a
movl $0x98, %edx
callq 0xe120
leaq 0x20d8e(%rip), %rdi     # 0x48593
leaq 0x20ca0(%rip), %rsi     # 0x484ac
leaq 0x20d57(%rip), %rcx     # 0x4856a
movl $0x99, %edx
callq 0xe120