// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]Uno/Src/uno_lts.c
// Function: attach_nut
static void
attach_nut(char *pref, symentry_t *t, treenode *n)
{	char nr[16];
	char *newnut;
	Nuts *q;

	if (!t || !n) return;

	sprintf(nr, "%d", n->hdr.line);
	if (!n->hdr.fnm) n->hdr.fnm = "--";
	newnut = (char *) emalloc(
			  strlen(pref)
			+ strlen("\t\t\t")
			+ strlen(t->nme->str)
			+ strlen(n->hdr.fnm?n->hdr.fnm:"")
			+ strlen(nr)
			+ 1);
	sprintf(newnut, "%s\t%s\t%s\t%s", pref, t->nme->str, n->hdr.fnm?n->hdr.fnm:"", nr);

	for (q = n->hdr.nuts; q; q = q->nxt)
		if (strcmp(q->nut, newnut) == 0)
			break;	/* already there */
	if (!q)
	{	q = (Nuts *) emalloc(sizeof(Nuts));
		q->nut = newnut;
		q->nxt = n->hdr.nuts;
		n->hdr.nuts = q;
		curgraph->hasnuts = 1;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x26f25
cmpq $0x0, -0x18(%rbp)
jne 0x26f2a
jmp 0x270d2
leaq -0x30(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x10(%rax), %edx
leaq 0x1da0e(%rip), %rsi     # 0x4494a
movb $0x0, %al
callq 0x3220
movq -0x18(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x26f5d
movq -0x18(%rbp), %rax
leaq 0xe2b2(%rip), %rcx      # 0x3520b
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rdi
callq 0x30c0
addq $0x3, %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x30c0
movq %rax, %rcx
movq -0x50(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x26fa6
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x58(%rbp)
jmp 0x26fb3
leaq 0xde08(%rip), %rax      # 0x34db5
movq %rax, -0x58(%rbp)
jmp 0x26fb3
movq -0x58(%rbp), %rdi
callq 0x30c0
movq %rax, %rcx
movq -0x48(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x78(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x30c0
movq -0x78(%rbp), %rdi
addq %rax, %rdi
addq $0x1, %rdi
callq 0x54c0
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x27020
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x80(%rbp)
jmp 0x2702d
leaq 0xdd8e(%rip), %rax      # 0x34db5
movq %rax, -0x80(%rbp)
jmp 0x2702d
movq -0x60(%rbp), %rcx
movq -0x68(%rbp), %rdx
movq -0x70(%rbp), %rdi
movq -0x80(%rbp), %r8
leaq -0x30(%rbp), %r9
leaq 0x1e696(%rip), %rsi     # 0x456de
movb $0x0, %al
callq 0x3220
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x27089
movq -0x40(%rbp), %rax
movq (%rax), %rdi
movq -0x38(%rbp), %rsi
callq 0x3160
cmpl $0x0, %eax
jne 0x27079
jmp 0x27089
jmp 0x2707b
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
jmp 0x2705b
cmpq $0x0, -0x40(%rbp)
jne 0x270d2
movl $0x10, %edi
callq 0x54c0
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rcx
movq -0x40(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x40(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x20(%rax)
movq 0x5eedc(%rip), %rax     # 0x85fa8
movw $0x1, 0x44(%rax)
addq $0x80, %rsp
popq %rbp
retq
nopl (%rax,%rax)