// File: /workspace/github_c_makefile_star2_O3/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 0x2de35
leaq 0x2d2c3(%rip), %rdi     # 0x40577
movq %rax, %rsi
xorl %eax, %eax
callq 0xe0f0
leaq 0x53b9f(%rip), %r12     # 0x66e64
cmpl $0x0, (%r12)
je 0x13435
movq (%rbx), %rax
movq 0x18(%rax), %rdi
callq 0x2de35
leaq 0x2e4e0(%rip), %rdi     # 0x417c3
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 0x1341f
leaq 0x3384d(%rip), %r15     # 0x46b5a
leaq 0x5283c(%rip), %r12     # 0x65b50
movq (%rsp), %rdx
movzwl (%rdx), %eax
testb %al, %al
jle 0x13411
xorl %r13d, %r13d
movq %rdx, 0x10(%rsp)
movq 0x18(%rdx,%r13,8), %rbp
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x13343
testq %rbp, %rbp
je 0x133fa
movq 0xd8(%rbp), %rax
testq %rax, %rax
je 0x133fa
cmpq $0x0, 0x8(%rax)
je 0x133fa
movq 0x18(%rbp), %rdi
callq 0x2de35
leaq 0x2e460(%rip), %rdi     # 0x417ce
movq %rbp, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0xe0f0
movzwl 0x68(%rbp), %eax
testl $0x10c, %eax            # imm = 0x10C
je 0x13392
leaq 0x2e872(%rip), %rdi     # 0x41bff
callq 0xe0a0
movq 0xd8(%rbp), %rax
testq %rax, %rax
je 0x133fa
movq 0x8(%rax), %r14
testq %r14, %r14
je 0x133fa
movq %r14, %rbp
movzwl (%rbp), %eax
testb %al, %al
jle 0x133f1
xorl %ebx, %ebx
movq 0x18(%rbp,%rbx,8), %rcx
movzwl %ax, %edx
cmpl $0x100, %edx            # imm = 0x100
jb 0x133c9
testq %rcx, %rcx
je 0x133e2
movq (%rcx), %rdi
callq 0x12543
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0xe0f0
movzwl (%rbp), %eax
incq %rbx
movzwl %ax, %ecx
movsbq %cl, %rcx
cmpq %rcx, %rbx
jl 0x133b4
movq 0x10(%rbp), %rbp
cmpq %r14, %rbp
jne 0x133aa
incq %r13
movq 0x10(%rsp), %rdx
movl (%rdx), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jl 0x1332b
movq 0x10(%rdx), %rdx
cmpq (%rsp), %rdx
jne 0x13318
movl $0xa, %edi
callq 0xe040
leaq 0x53a34(%rip), %r12     # 0x66e64
movq 0x8(%rsp), %rbx
movq 0x18(%rbx), %rbx
testq %rbx, %rbx
je 0x134a1
movq %rbx, %r14
movzwl (%r14), %eax
testb %al, %al
jle 0x13498
xorl %r15d, %r15d
movq 0x18(%r14,%r15,8), %rdi
testq %rdi, %rdi
je 0x13477
cmpq $0x0, 0x18(%rdi)
jne 0x13464
cmpq $0x0, 0x20(%rdi)
je 0x13488
callq 0x12e31
movl $0xa, %edi
callq 0xe040
movzwl (%r14), %eax
incq %r15
movzwl %ax, %ecx
movsbq %cl, %rcx
cmpq %rcx, %r15
jl 0x1344c
jmp 0x13498
cmpq $0x0, 0x28(%rdi)
jne 0x13464
cmpl $0x2, (%r12)
jl 0x13477
jmp 0x13464
movq 0x10(%r14), %r14
cmpq %rbx, %r14
jne 0x13441
movl $0xa, %edi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe040