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

	if (debug)
	printf("%d: mark_locs %s -- status %d\n",
	n->hdr.line, t->nme->str, status);

	for (r = curgraph->locs; r; r = r->nxt)
		if (r->sm == t)
		{	r->status |= status;	/* was: = (status & ~FCALL); */

			if (n && (status & USEbeforedef))
				r->n = n;
			return;
		}

	if (! ((status & USE) || (status & FCALL)))	/* missed braces to group !() */
		return;

	for (g = graph; g; g = g->nxt)
	{	if (strcmp(t->nme->str, g->fctnm) == 0)
		{	Gst *k;
			if (debug)
			printf("uno: status %d old status %d, decl_level %d marking %s at %s:%d as hide\n",
				status, g->status, t->decl_level,
				t->nme->str, n->hdr.fnm, n->hdr.line);

			g->status |= 4;		/* cannot tell when this fct is called */
			add_fcall(t, n, USE|HIDE);	/* ptr to fct name */

			if (Verbose)
			{	static int warned;
				if (!warned)
				{	warned++;
					printf("%s:%d fct %s is called via ptr\n",
						n->hdr.fnm, n->hdr.line, t->nme->str);
			}	}

			k = (Gst *) emalloc(sizeof(Gst));
			k->gnm = find_graph(t->nme->str);
			k->nxt = frst;
			frst = k;

			break;
	}	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
cmpl $0x0, 0x5de46(%rip)     # 0x85fd0
je 0x281b0
movq -0x10(%rbp), %rax
movl 0x10(%rax), %esi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movl -0x14(%rbp), %ecx
leaq 0x1d75e(%rip), %rdi     # 0x45907
movb $0x0, %al
callq 0x30f0
movq 0x5ddf1(%rip), %rax     # 0x85fa8
movq 0x20(%rax), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x28215
movq -0x28(%rbp), %rax
movq (%rax), %rax
cmpq -0x8(%rbp), %rax
jne 0x28205
movl -0x14(%rbp), %ecx
movq -0x28(%rbp), %rax
orl 0x10(%rax), %ecx
movl %ecx, 0x10(%rax)
cmpq $0x0, -0x10(%rbp)
je 0x28200
movl -0x14(%rbp), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0x28200
movq -0x10(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, 0x8(%rax)
jmp 0x28377
jmp 0x28207
movq -0x28(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x281bf
movl -0x14(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
jne 0x28230
movl -0x14(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x28230
jmp 0x28377
movq 0x5dd91(%rip), %rax     # 0x85fc8
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x28377
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rsi
callq 0x3160
cmpl $0x0, %eax
jne 0x28364
cmpl $0x0, 0x5dd62(%rip)     # 0x85fd0
je 0x282af
movl -0x14(%rbp), %esi
movq -0x20(%rbp), %rax
movswl 0x42(%rax), %edx
movq -0x8(%rbp), %rax
movswl 0x20(%rax), %ecx
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %r8
movq -0x10(%rbp), %rax
movq 0x8(%rax), %r9
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
leaq 0x1d681(%rip), %rdi     # 0x45926
movl %eax, (%rsp)
movb $0x0, %al
callq 0x30f0
movq -0x20(%rbp), %rax
movswl 0x42(%rax), %ecx
orl $0x4, %ecx
movw %cx, 0x42(%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl $0x204, %edx            # imm = 0x204
callq 0x26390
leaq 0x260a1(%rip), %rax     # 0x4e378
cmpl $0x0, (%rax)
je 0x2831f
cmpl $0x0, 0x5dddd(%rip)     # 0x860c0
jne 0x2831d
movl 0x5ddd5(%rip), %eax     # 0x860c0
addl $0x1, %eax
movl %eax, 0x5ddcc(%rip)     # 0x860c0
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x10(%rbp), %rax
movl 0x10(%rax), %edx
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
leaq 0x1d659(%rip), %rdi     # 0x4596f
movb $0x0, %al
callq 0x30f0
jmp 0x2831f
movl $0x10, %edi
callq 0x54c0
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x285b0
movq %rax, %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq 0x5dd79(%rip), %rcx     # 0x860c8
movq -0x30(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x30(%rbp), %rax
movq %rax, 0x5dd66(%rip)     # 0x860c8
jmp 0x28377
jmp 0x28366
movq -0x20(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x2823b
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)