// File: /workspace/github_c_makefile_star2_O1/nimble-code[P]Modex/Src/dflow.c
// Function: dump_defuse
void
dump_defuse(DefUse *d, FILE *fp)
{	SymList *s;

	if (!d) return;

	if (d->def)
	{	fprintf(fp, "[D: ");
		for (s = d->def; s; s = s->nxt)
			fprintf(fp, "%s ", s->sm->nme->str);
		fprintf(fp, "] ");
	}
	if (d->use)
	{	fprintf(fp, "[U: ");
		for (s = d->use; s; s = s->nxt)
			fprintf(fp, "%s ", s->sm->nme->str);
		fprintf(fp, "] ");
	}
	if (d->other)
	{	fprintf(fp, "[O: ");
		for (s = d->other; s; s = s->nxt)
		{	fprintf(fp, "%s=", s->sm->nme->str);
			if (s->mark & DEF)	fprintf(fp, "D");
			if (s->mark & USE)	fprintf(fp, "U");
			if (s->mark & FCALL)	fprintf(fp, "F");
			if (s->mark & (REF0|REF1)) fprintf(fp, "r");
			if (s->mark & REF2)	fprintf(fp, "R");
			if (s->mark & DEREF)	fprintf(fp, "*");
			if (s->mark & ALIAS)	fprintf(fp, "&");
			if (s->mark & ARRAY_DECL)	fprintf(fp, "A");
			if (s->mark & HIDE)	fprintf(fp, "H");
			if (s->mark & DECL)	fprintf(fp, "T");

			if (s->mark & USEafterdef)	fprintf(fp, "Ua");
			if (s->mark & USEbeforedef)	fprintf(fp, "Ub");
			if (s->mark & PARAM)	fprintf(fp, "P");

		/*	fprintf(fp, " <%d>", s->sm->decl_level);	*/
			fprintf(fp, " ");
		}
		fprintf(fp, "] ");
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x1f0ed
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, 0x8(%rdi)
je 0x1eed1
leaq 0xf704(%rip), %rdi      # 0x2e576
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42b0
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x1eeb8
leaq 0x5728(%rip), %r15      # 0x245bc
movq 0x8(%r12), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x41c0
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x1ee94
leaq 0x6c9a(%rip), %rdi      # 0x25b59
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42b0
cmpq $0x0, 0x10(%r14)
je 0x1ef3e
leaq 0xf69c(%rip), %rdi      # 0x2e57b
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42b0
movq 0x10(%r14), %r12
testq %r12, %r12
je 0x1ef25
leaq 0x56bb(%rip), %r15      # 0x245bc
movq 0x8(%r12), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x41c0
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x1ef01
leaq 0x6c2d(%rip), %rdi      # 0x25b59
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42b0
cmpq $0x0, 0x18(%r14)
je 0x1f0ed
leaq 0xf630(%rip), %rdi      # 0x2e580
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42b0
movq 0x18(%r14), %r13
testq %r13, %r13
je 0x1f0cb
leaq 0xf60f(%rip), %r14      # 0x2e585
leaq 0xf60f(%rip), %r15      # 0x2e58c
leaq 0xf605(%rip), %r12      # 0x2e589
movq 0x8(%r13), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x41c0
testb $0x1, 0x4(%r13)
je 0x1efb1
movl $0x44, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x4, 0x4(%r13)
je 0x1efc5
movl $0x55, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x2, 0x4(%r13)
je 0x1efd9
movl $0x46, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x18, 0x4(%r13)
je 0x1efed
movl $0x72, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x20, 0x4(%r13)
je 0x1f001
movl $0x52, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x40, 0x4(%r13)
je 0x1f015
movl $0x2a, %edi
movq %rbx, %rsi
callq 0x4190
testb $-0x80, 0x4(%r13)
je 0x1f029
movl $0x26, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x1, 0x5(%r13)
je 0x1f03d
movl $0x41, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x2, 0x5(%r13)
je 0x1f051
movl $0x48, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x4, 0x5(%r13)
je 0x1f065
movl $0x54, %edi
movq %rbx, %rsi
callq 0x4190
testb $0x8, 0x5(%r13)
je 0x1f081
movl $0x2, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x42b0
testb $0x10, 0x5(%r13)
je 0x1f09d
movl $0x2, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x42b0
testb $0x20, 0x5(%r13)
je 0x1f0b1
movl $0x50, %edi
movq %rbx, %rsi
callq 0x4190
movl $0x20, %edi
movq %rbx, %rsi
callq 0x4190
movq 0x10(%r13), %r13
testq %r13, %r13
jne 0x1ef84
leaq 0x6a87(%rip), %rdi      # 0x25b59
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x42b0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq