// File: /workspace/github_c_makefile_star2_O2/lucvoo[P]sparse-dev/linearize.c
// Function: show_entry
void show_entry(struct entrypoint *ep)
{
	struct symbol *sym;
	struct basic_block *bb;

	printf("%s:\n", show_ident(ep->name->ident));

	if (verbose) {
		printf("ep %p: %s\n", ep, show_ident(ep->name->ident));

		FOR_EACH_PTR(ep->syms, sym) {
			if (!sym->pseudo)
				continue;
			if (!sym->pseudo->users)
				continue;
			printf("   sym: %p %s\n", sym, show_ident(sym->ident));
			if (sym->ctype.modifiers & (MOD_EXTERN | MOD_STATIC | MOD_ADDRESSABLE))
				printf("\texternal visibility\n");
			show_symbol_usage(sym->pseudo);
		} END_FOR_EACH_PTR(sym);

		printf("\n");
	}

	FOR_EACH_PTR(ep->bbs, bb) {
		if (!bb)
			continue;
		if (!bb->parents && !bb->children && !bb->insns && verbose < 2)
			continue;
		show_bb(bb);
		printf("\n");
	} END_FOR_EACH_PTR(bb);

	printf("\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x18(%rax), %rdi
callq 0x2936d
leaq 0x26c76(%rip), %rdi     # 0x39577
movq %rax, %rsi
xorl %eax, %eax
callq 0xe0f0
leaq 0x4e552(%rip), %r13     # 0x60e64
cmpl $0x0, (%r13)
je 0x12a66
movq (%rbx), %rax
movq 0x18(%rax), %rdi
callq 0x2936d
leaq 0x27ef3(%rip), %rdi     # 0x3a823
movq %rbx, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe0f0
movq %rbx, 0x8(%rsp)
movq 0x8(%rbx), %rax
movq %rax, (%rsp)
testq %rax, %rax
je 0x12a52
leaq 0x2d24c(%rip), %r15     # 0x3fba6
leaq 0x4d1ef(%rip), %r12     # 0x5fb50
movq (%rsp), %rdx
xorl %r13d, %r13d
movq %rdx, 0x10(%rsp)
movl (%rdx), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jge 0x12a44
movq 0x18(%rdx,%r13,8), %rbp
cmpw $0x100, %ax             # imm = 0x100
jb 0x12990
testq %rbp, %rbp
je 0x12a37
movq 0xd8(%rbp), %rax
testq %rax, %rax
je 0x12a37
cmpq $0x0, 0x8(%rax)
je 0x12a37
movq 0x18(%rbp), %rdi
callq 0x2936d
leaq 0x27e73(%rip), %rdi     # 0x3a82e
movq %rbp, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe0f0
movzwl 0x68(%rbp), %eax
testw $0x10c, %ax             # imm = 0x10C
je 0x129de
leaq 0x28286(%rip), %rdi     # 0x3ac5f
callq 0xe0a0
movq 0xd8(%rbp), %rax
testq %rax, %rax
je 0x12a37
movq 0x8(%rax), %r14
testq %r14, %r14
je 0x12a37
movq %r14, %rbp
xorl %ebx, %ebx
movl (%rbp), %eax
movsbq %al, %rcx
cmpq %rcx, %rbx
jge 0x12a2e
movq 0x18(%rbp,%rbx,8), %rcx
cmpw $0x100, %ax             # imm = 0x100
jb 0x12a14
testq %rcx, %rcx
je 0x12a29
movq (%rcx), %rdi
callq 0x11c44
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xe0f0
incq %rbx
jmp 0x129f8
movq 0x10(%rbp), %rbp
cmpq %r14, %rbp
jne 0x129f6
incq %r13
movq 0x10(%rsp), %rdx
jmp 0x1296d
movq 0x10(%rdx), %rdx
cmpq (%rsp), %rdx
jne 0x12965
pushq $0xa
popq %rdi
callq 0xe040
leaq 0x4e403(%rip), %r13     # 0x60e64
movq 0x8(%rsp), %rbx
movq 0x18(%rbx), %r14
testq %r14, %r14
je 0x12ac3
pushq $0xa
popq %rbx
movq %r14, %r15
xorl %r12d, %r12d
movsbq (%r15), %rax
cmpq %rax, %r12
jge 0x12aba
movq 0x18(%r15,%r12,8), %rdi
testq %rdi, %rdi
je 0x12aa5
cmpq $0x0, 0x18(%rdi)
jne 0x12a99
cmpq $0x0, 0x20(%rdi)
je 0x12aaa
callq 0x124dc
movl %ebx, %edi
callq 0xe040
incq %r12
jmp 0x12a78
cmpq $0x0, 0x28(%rdi)
jne 0x12a99
cmpl $0x2, (%r13)
jl 0x12aa5
jmp 0x12a99
movq 0x10(%r15), %r15
cmpq %r14, %r15
jne 0x12a75
pushq $0xa
popq %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe040