// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]Uno/Src/uno_lts.c
// Function: add_fcall
static void
add_fcall(symentry_t *t, treenode *n, int status)
{	SymExt *r;

	if (debug)
		printf("fct %s calls fct %s status %d\n",
		curgraph->fctnm, t->nme->str, status);

	for (r = curgraph->fcalls; r; r = r->nxt)
		if (r->sm == t)
		{	if (status & DEF)
				r->n = n;	/* remember failures to use ret value */
			break;
		}
	if (!r)
	{	r = uno_getext(t);
		r->n = n;
		r->nxt = curgraph->fcalls;
		curgraph->fcalls = r;
	}

	r->status |= status;

	switch (r->status) {
	case DEF:		attach_nut("C", t, n); break;
	case USE:		attach_nut("c", t, n); break;
	case DEF|USE:		attach_nut("b", t, n); break;
	case DEF|HIDE:		attach_nut("h", t, n); break;
	case USE|HIDE:		attach_nut("i", t, n); break;
	case DEF|USE|HIDE:	attach_nut("j", t, n); break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
cmpl $0x0, 0x5fc26(%rip)     # 0x85fd0
je 0x263d3
movq 0x5fbf5(%rip), %rax     # 0x85fa8
movq (%rax), %rsi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movl -0x14(%rbp), %ecx
leaq 0x1f2ef(%rip), %rdi     # 0x456bb
movb $0x0, %al
callq 0x30f0
movq 0x5fbce(%rip), %rax     # 0x85fa8
movq 0x28(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x2641f
movq -0x20(%rbp), %rax
movq (%rax), %rax
cmpq -0x8(%rbp), %rax
jne 0x2640f
movl -0x14(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x2640d
movq -0x10(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
jmp 0x2641f
jmp 0x26411
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x263e2
cmpq $0x0, -0x20(%rbp)
jne 0x26461
movq -0x8(%rbp), %rdi
callq 0x20520
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x5fb62(%rip), %rax     # 0x85fa8
movq 0x28(%rax), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x20(%rbp), %rcx
movq 0x5fb4b(%rip), %rax     # 0x85fa8
movq %rcx, 0x28(%rax)
movl -0x14(%rbp), %edx
movq -0x20(%rbp), %rax
movl 0x10(%rax), %ecx
orl %edx, %ecx
movl %ecx, 0x10(%rax)
movq -0x20(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x24(%rbp)
subl $0x1, %eax
je 0x264bc
jmp 0x26481
movl -0x24(%rbp), %eax
subl $0x4, %eax
je 0x264d2
jmp 0x2648b
movl -0x24(%rbp), %eax
subl $0x5, %eax
je 0x264e8
jmp 0x26495
movl -0x24(%rbp), %eax
subl $0x201, %eax            # imm = 0x201
je 0x264fe
jmp 0x264a1
movl -0x24(%rbp), %eax
subl $0x204, %eax            # imm = 0x204
je 0x26514
jmp 0x264ad
movl -0x24(%rbp), %eax
subl $0x205, %eax            # imm = 0x205
je 0x2652a
jmp 0x2653e
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq 0x1d724(%rip), %rdi     # 0x43bef
callq 0x26f00
jmp 0x2653e
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq 0xe68a(%rip), %rdi      # 0x34b6b
callq 0x26f00
jmp 0x2653e
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq 0x207d2(%rip), %rdi     # 0x46cc9
callq 0x26f00
jmp 0x2653e
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq 0x1f743(%rip), %rdi     # 0x45c50
callq 0x26f00
jmp 0x2653e
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq 0x1f1b7(%rip), %rdi     # 0x456da
callq 0x26f00
jmp 0x2653e
movq -0x8(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq 0x1f1a3(%rip), %rdi     # 0x456dc
callq 0x26f00
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)