// File: /workspace/github_c_makefile_star2_O2/darwin-on-arm[P]darwin-sdk/developer_cmds/ctags/tree.c
// Function: pfnote
void
pfnote(name, ln)
	char	*name;
	int	ln;
{
	NODE	*np;
	char	*fp;
	char	nbuf[MAXTOKEN];

	/*NOSTRICT*/
	if (!(np = (NODE *)malloc(sizeof(NODE)))) {
		warnx("too many entries to sort");
		put_entries(head);
		free_tree(head);
		/*NOSTRICT*/
		if (!(head = np = (NODE *)malloc(sizeof(NODE))))
			err(1, "out of space");
	}
	if (!xflag && !strcmp(name, "main")) {
		if (!(fp = strrchr(curfile, '/')))
			fp = curfile;
		else
			++fp;
		(void)sprintf(nbuf, "M%s", fp);
		fp = strrchr(nbuf, '.');
		if (fp && !fp[2])
			*fp = EOS;
		name = nbuf;
	}
	if (!(np->entry = strdup(name)))
		err(1, "strdup");
	np->file = curfile;
	np->lno = ln;
	np->left = np->right = 0;
	if (!(np->pat = strdup(lbuf)))
		err(1, "strdup");
	if (!head)
		head = np;
	else
		add_node(np, head);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movl %esi, %ebp
movq %rdi, %r14
pushq $0x30
popq %rdi
callq 0x1130
testq %rax, %rax
jne 0x2632
leaq 0xc7a(%rip), %rdi       # 0x327a
xorl %eax, %eax
callq 0x10a0
leaq 0x2b52(%rip), %r15      # 0x5160
movq (%r15), %rdi
callq 0x2503
movq (%r15), %rdi
callq 0x27fb
pushq $0x30
popq %rdi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0x27f2
movq %rax, %rbx
leaq 0x2b10(%rip), %rax      # 0x514c
cmpl $0x0, (%rax)
jne 0x2658
leaq 0xc58(%rip), %rsi       # 0x32a0
movq %r14, %rdi
callq 0x10f0
testl %eax, %eax
je 0x271f
movq %r14, %rdi
callq 0x11c0
movq %rax, 0x10(%rbx)
testq %rax, %rax
je 0x27e1
movq %rax, %r14
leaq 0x2ae1(%rip), %rax      # 0x5158
movq (%rax), %r15
movq %r15, 0x18(%rbx)
movl %ebp, 0x28(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
leaq 0x2ff2(%rip), %rdi      # 0x5680
callq 0x11c0
movq %rax, 0x20(%rbx)
testq %rax, %rax
je 0x27e1
leaq 0x2ab9(%rip), %rcx      # 0x5160
movq (%rcx), %rax
testq %rax, %rax
je 0x26e3
movq %rax, %r12
movq 0x10(%rax), %rsi
movq %r14, %rdi
callq 0x10f0
testl %eax, %eax
je 0x26eb
jns 0x26cf
movq (%r12), %rax
testq %rax, %rax
jne 0x26af
jmp 0x2719
movq 0x8(%r12), %rax
testq %rax, %rax
jne 0x26af
movq %rbx, 0x8(%r12)
jmp 0x2785
movq %rbx, (%rcx)
jmp 0x2785
movq 0x18(%r12), %rcx
cmpq %rcx, %r15
je 0x2779
cmpb $0x0, 0x2c(%r12)
jne 0x2711
leaq 0x2a3c(%rip), %rax      # 0x5144
cmpl $0x0, (%rax)
je 0x2795
movb $0x1, 0x2c(%r12)
jmp 0x2785
movq %rbx, (%r12)
jmp 0x2785
leaq 0x2a32(%rip), %rax      # 0x5158
movq (%rax), %r14
pushq $0x2f
popq %rsi
movq %r14, %rdi
callq 0x10c0
leaq 0x1(%rax), %rdx
testq %rax, %rax
cmoveq %r14, %rdx
leaq 0xb5f(%rip), %rsi       # 0x32a5
movq %rsp, %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x1190
pushq $0x2e
popq %rsi
movq %r14, %rdi
callq 0x10c0
testq %rax, %rax
je 0x2658
cmpb $0x0, 0x2(%rax)
jne 0x2658
movb $0x0, (%rax)
jmp 0x2658
leaq 0x29c4(%rip), %rax      # 0x5144
cmpl $0x0, (%rax)
je 0x27b8
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x285c(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
leaq 0xb48(%rip), %rsi       # 0x32ee
movq %r15, %rdx
movq %r14, %r8
xorl %eax, %eax
callq 0x1100
jmp 0x2711
movq 0x2839(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
leaq 0x2ea7(%rip), %rax      # 0x5670
movl (%rax), %ecx
leaq 0xade(%rip), %rsi       # 0x32b0
movq %r15, %rdx
movq %r14, %r8
xorl %eax, %eax
callq 0x1100
jmp 0x2785
leaq 0xac1(%rip), %rsi       # 0x32a9
pushq $0x1
popq %rdi
xorl %eax, %eax
callq 0x1120
leaq 0xa9a(%rip), %rsi       # 0x3293
jmp 0x27e8