// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]Modex/Src/xtract.c
// Function: add_hidden
void
add_hidden(char *s, char *t, int d, int ln)
{	Fcts *g;

	if (strlen(s) == 0)
		return;

	for (g = modex_hidden; g; g = g->nxt)
		if (strcmp(g->dt, s) == 0
		&&  (strcmp(g->nm, t) == 0
		||   (g->full && strcmp(g->full, t) == 0)))
			return;

if (debug)
	fprintf(stderr, "%3d: add_hidden typ=%s nam=%s deriv=%d (incall=%d,inargs=%d,islabel=%d)\n",
		ln, s, t, d, in_call, in_args, is_label);

	g = modex_fct_el(s);
	g->dt = g->nm;
	g->derived = d;
	g->lno = ln;

	t = sep_decor(t, g);

	g->nm = (char *) e_malloc(strlen(t)+1);
	strcpy(g->nm, t);
if (debug)
	fprintf(stderr, "---name %s -- \n", t);

	g->tg = (char *) e_malloc(strlen(fct_name)+1);
	strcpy(g->tg, fct_name);	/* to record where we saw the reference */

	g->nxt = modex_hidden;
	modex_hidden = g;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
callq 0x40f0
cmpq $0x0, %rax
jne 0xd17a
jmp 0xd322
movq 0x3d3ff(%rip), %rax     # 0x4a580
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0xd1ed
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x4180
cmpl $0x0, %eax
jne 0xd1dd
movq -0x20(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x4180
cmpl $0x0, %eax
je 0xd1d8
movq -0x20(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0xd1dd
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x4180
cmpl $0x0, %eax
jne 0xd1dd
jmp 0xd322
jmp 0xd1df
movq -0x20(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0xd185
cmpl $0x0, 0x3d394(%rip)     # 0x4a588
je 0xd23e
movq 0x37dfb(%rip), %rax     # 0x44ff8
movq (%rax), %rdi
movl -0x18(%rbp), %edx
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %r8
movl -0x14(%rbp), %r9d
movl 0x3d376(%rip), %r11d    # 0x4a58c
movl 0x3d373(%rip), %r10d    # 0x4a590
movl 0x3d371(%rip), %eax     # 0x4a594
leaq 0x280c6(%rip), %rsi     # 0x352f0
movl %r11d, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x4190
movq -0x8(%rbp), %rdi
callq 0xd060
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x10(%rax)
movl -0x14(%rbp), %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x24(%rax)
movl -0x18(%rbp), %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x34(%rax)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xd330
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x40f0
addq $0x1, %rax
movl %eax, %edi
callq 0x4a70
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x40a0
cmpl $0x0, 0x3d2d4(%rip)     # 0x4a588
je 0xd2d2
movq 0x37d3b(%rip), %rax     # 0x44ff8
movq (%rax), %rdi
movq -0x10(%rbp), %rdx
leaq 0x2806e(%rip), %rsi     # 0x35339
movb $0x0, %al
callq 0x4190
leaq 0x38087(%rip), %rdi     # 0x45360
callq 0x40f0
addq $0x1, %rax
movl %eax, %edi
callq 0x4a70
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x3805d(%rip), %rsi     # 0x45360
callq 0x40a0
movq 0x3d271(%rip), %rcx     # 0x4a580
movq -0x20(%rbp), %rax
movq %rcx, 0x38(%rax)
movq -0x20(%rbp), %rax
movq %rax, 0x3d25e(%rip)     # 0x4a580
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)