// File: /workspace/github_c_makefile_star2_O1/nimble-code[P]Modex/Src/xtract.c
// Function: spitnames
void
spitnames(FILE *fid)
{	NameL *nl;
	FILE *fd;

	if (!namel) return;

	if (Warnings)
	{	fprintf(fid, "modex files created:\n");
		for (nl = namel; nl; nl = nl->nxt)
		{	fprintf(fid, "\t%s", nl->nm);
			if (globfilename
			&&  strcmp(nl->nm, globfilename) == 0)
				fprintf(fid, " (global header file)");
			fprintf(fid, "\n");
		}
		fprintf(fid, "\t_modex_.cln # cleanup script\n");
	}

	if ((fd = fopen("_modex_.cln", MFLAGS)) == NULL)
	{	fprintf(stderr, "%s: cannot create .cln file\n", progname);
		return;
	}
if (debug_io) fprintf(stderr, "open .cln -> %p\n", fd);
	for (nl = namel; nl; nl = nl->nxt)
		fprintf(fd, "%s %s\n", RM, nl->nm);

	fprintf(fd, "%s _modex_.cln\n", RM);
	fprintf(fd, "%s %s *.I\n", RM, tempfile_M);
	fprintf(fd, "%s pan.? pan pan.exe _spin_nvr.tmp\n", RM);
if (debug_io) fprintf(stderr, "close y %p\n", fd);
	Fclose(fd);

	namel = (NameL *) 0;
}

// Assembly:
cmpq $0x0, 0x2f86d(%rip)     # 0x3e5d8
je 0xef04
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
leaq 0x2acef(%rip), %rax     # 0x39a70
cmpl $0x0, (%rax)
je 0xee2f
movq %rdi, %rbx
leaq 0x16729(%rip), %rdi     # 0x254bd
movl $0x15, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42b0
movq 0x2f82b(%rip), %r12     # 0x3e5d8
testq %r12, %r12
je 0xee16
leaq 0x1671a(%rip), %r14     # 0x254d3
leaq 0x16717(%rip), %r15     # 0x254d7
movq (%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x41c0
movq 0x2f808(%rip), %rsi     # 0x3e5e0
testq %rsi, %rsi
je 0xedff
movq (%r12), %rdi
callq 0x41b0
testl %eax, %eax
jne 0xedff
movl $0x15, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x42b0
movl $0xa, %edi
movq %rbx, %rsi
callq 0x4190
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0xedc0
leaq 0x166d0(%rip), %rdi     # 0x254ed
movl $0x1e, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42b0
leaq 0x166d6(%rip), %rdi     # 0x2550c
leaq 0x1baa2(%rip), %rsi     # 0x2a8df
callq 0x4260
testq %rax, %rax
je 0xef05
movq %rax, %rbx
leaq 0x2abb3(%rip), %r12     # 0x39a08
cmpl $0x0, (%r12)
jne 0xef0c
movq 0x2f771(%rip), %r13     # 0x3e5d8
testq %r13, %r13
je 0xee97
leaq 0x159dd(%rip), %r14     # 0x24850
leaq 0x155e9(%rip), %r15     # 0x24463
movq (%r13), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x41c0
movq 0x10(%r13), %r13
testq %r13, %r13
jne 0xee7a
leaq 0x166a8(%rip), %rsi     # 0x25546
leaq 0x155be(%rip), %r14     # 0x24463
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x41c0
leaq 0x1669d(%rip), %rsi     # 0x25556
leaq 0x307c0(%rip), %rcx     # 0x3f680
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x41c0
leaq 0x1668d(%rip), %rsi     # 0x25561
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x41c0
cmpl $0x0, (%r12)
jne 0xef2c
movq %rbx, %rdi
callq 0x793c
movq $0x0, 0x2f6dd(%rip) # 0x3e5d8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x4a0f
jmp 0xeefb
movq 0x280e5(%rip), %rax     # 0x36ff8
movq (%rax), %rdi
leaq 0x16618(%rip), %rsi     # 0x25535
movq %rbx, %rdx
xorl %eax, %eax
callq 0x41c0
jmp 0xee60
movq 0x280c5(%rip), %rax     # 0x36ff8
movq (%rax), %rdi
leaq 0x16648(%rip), %rsi     # 0x25585
movq %rbx, %rdx
xorl %eax, %eax
callq 0x41c0
jmp 0xeee8