// File: /workspace/github_c_makefile_star2_O1/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 0x2e465
leaq 0x2e327(%rip), %rdi     # 0x41577
movq %rax, %rsi
xorl %eax, %eax
callq 0xe0f0
leaq 0x54c03(%rip), %r12     # 0x67e64
cmpl $0x0, (%r12)
je 0x133cc
movq (%rbx), %rax
movq 0x18(%rax), %rdi
callq 0x2e465
leaq 0x2f574(%rip), %rdi     # 0x427f3
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 0x133b6
leaq 0x34931(%rip), %r15     # 0x47bda
leaq 0x538a0(%rip), %r12     # 0x66b50
movq (%rsp), %rdx
movzwl (%rdx), %eax
testb %al, %al
jle 0x133a8
xorl %r13d, %r13d
movq %rdx, 0x10(%rsp)
movq 0x18(%rdx,%r13,8), %rbp
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x132df
testq %rbp, %rbp
je 0x13391
movq 0xd8(%rbp), %rax
testq %rax, %rax
je 0x13391
cmpq $0x0, 0x8(%rax)
je 0x13391
movq 0x18(%rbp), %rdi
callq 0x2e465
leaq 0x2f4f4(%rip), %rdi     # 0x427fe
movq %rbp, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe0f0
movzwl 0x68(%rbp), %eax
testl $0x10c, %eax            # imm = 0x10C
je 0x1332e
leaq 0x2f906(%rip), %rdi     # 0x42c2f
callq 0xe0a0
movq 0xd8(%rbp), %rax
testq %rax, %rax
je 0x13391
movq 0x8(%rax), %r14
testq %r14, %r14
je 0x13391
movq %r14, %rbp
movzwl (%rbp), %eax
testb %al, %al
jle 0x13388
xorl %ebx, %ebx
movq 0x18(%rbp,%rbx,8), %rcx
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x13364
testq %rcx, %rcx
je 0x13379
movq (%rcx), %rdi
callq 0x12516
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xe0f0
incq %rbx
movl (%rbp), %eax
movsbq %al, %rcx
cmpq %rcx, %rbx
jl 0x13350
movq 0x10(%rbp), %rbp
cmpq %r14, %rbp
jne 0x13346
incq %r13
movq 0x10(%rsp), %rdx
movl (%rdx), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jl 0x132c7
movq 0x10(%rdx), %rdx
cmpq (%rsp), %rdx
jne 0x132b4
movl $0xa, %edi
callq 0xe040
leaq 0x54a9d(%rip), %r12     # 0x67e64
movq 0x8(%rsp), %rbx
movq 0x18(%rbx), %rbx
testq %rbx, %rbx
je 0x1342f
movq %rbx, %r14
cmpb $0x0, (%r14)
jle 0x13426
xorl %r15d, %r15d
movq 0x18(%r14,%r15,8), %rdi
testq %rdi, %rdi
je 0x13408
cmpq $0x0, 0x18(%rdi)
jne 0x133f9
cmpq $0x0, 0x20(%rdi)
je 0x13416
callq 0x12df2
movl $0xa, %edi
callq 0xe040
incq %r15
movsbq (%r14), %rax
cmpq %rax, %r15
jl 0x133e1
jmp 0x13426
cmpq $0x0, 0x28(%rdi)
jne 0x133f9
cmpl $0x2, (%r12)
jl 0x13408
jmp 0x133f9
movq 0x10(%r14), %r14
cmpq %rbx, %r14
jne 0x133d8
movl $0xa, %edi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe040