// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, 0x3b9f4(%rip)     # 0x4c7b8
jne 0x10dcb
jmp 0x10fb8
leaq 0x36e7e(%rip), %rax     # 0x47c50
cmpl $0x0, (%rax)
je 0x10e7e
movq -0x8(%rbp), %rdi
leaq 0x249c4(%rip), %rsi     # 0x357aa
movb $0x0, %al
callq 0x4190
movq 0x3b9c4(%rip), %rax     # 0x4c7b8
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x10e6c
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rdx
leaq 0x249af(%rip), %rsi     # 0x357c0
movb $0x0, %al
callq 0x4190
cmpq $0x0, 0x3b9a0(%rip)     # 0x4c7c0
je 0x10e4c
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq 0x3b990(%rip), %rsi     # 0x4c7c0
callq 0x4180
cmpl $0x0, %eax
jne 0x10e4c
movq -0x8(%rbp), %rdi
leaq 0x2497f(%rip), %rsi     # 0x357c4
movb $0x0, %al
callq 0x4190
movq -0x8(%rbp), %rdi
leaq 0x24c00(%rip), %rsi     # 0x35a57
movb $0x0, %al
callq 0x4190
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x10df8
movq -0x8(%rbp), %rdi
leaq 0x24963(%rip), %rsi     # 0x357da
movb $0x0, %al
callq 0x4190
leaq 0x24974(%rip), %rdi     # 0x357f9
leaq 0x29f23(%rip), %rsi     # 0x3adaf
callq 0x4230
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jne 0x10ec2
movq 0x34156(%rip), %rax     # 0x44ff8
movq (%rax), %rdi
leaq 0x342c4(%rip), %rax     # 0x45170
movq (%rax), %rdx
leaq 0x2494f(%rip), %rsi     # 0x35805
movb $0x0, %al
callq 0x4190
jmp 0x10fb8
leaq 0x36d1f(%rip), %rax     # 0x47be8
cmpl $0x0, (%rax)
je 0x10eea
movq 0x34123(%rip), %rax     # 0x44ff8
movq (%rax), %rdi
movq -0x18(%rbp), %rdx
leaq 0x2493f(%rip), %rsi     # 0x35822
movb $0x0, %al
callq 0x4190
movq 0x3b8c7(%rip), %rax     # 0x4c7b8
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x10f2a
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rcx
leaq 0x23a82(%rip), %rsi     # 0x34990
leaq 0x23682(%rip), %rdx     # 0x34597
movb $0x0, %al
callq 0x4190
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x10ef5
movq -0x18(%rbp), %rdi
leaq 0x248fe(%rip), %rsi     # 0x35833
leaq 0x2365b(%rip), %rdx     # 0x34597
movb $0x0, %al
callq 0x4190
movq -0x18(%rbp), %rdi
leaq 0x248f5(%rip), %rsi     # 0x35843
leaq 0x23642(%rip), %rdx     # 0x34597
leaq 0x3c904(%rip), %rcx     # 0x4d860
movb $0x0, %al
callq 0x4190
movq -0x18(%rbp), %rdi
leaq 0x248e0(%rip), %rsi     # 0x3584e
leaq 0x23622(%rip), %rdx     # 0x34597
movb $0x0, %al
callq 0x4190
leaq 0x36c65(%rip), %rax     # 0x47be8
cmpl $0x0, (%rax)
je 0x10fa4
movq 0x34069(%rip), %rax     # 0x44ff8
movq (%rax), %rdi
movq -0x18(%rbp), %rdx
leaq 0x248d5(%rip), %rsi     # 0x35872
movb $0x0, %al
callq 0x4190
movq -0x18(%rbp), %rdi
callq 0x6d20
movq $0x0, 0x3b800(%rip) # 0x4c7b8
addq $0x20, %rsp
popq %rbp
retq
nop