// File: /workspace/github_c_makefile_star2_O3/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 0x1e6d0
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, 0x8(%rdi)
je 0x1e49b
leaq 0xf126(%rip), %rdi      # 0x2d562
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x1e482
leaq 0x515e(%rip), %r15      # 0x235bc
movq 0x8(%r12), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x41d0
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x1e45e
leaq 0x66d0(%rip), %rdi      # 0x24b59
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
cmpq $0x0, 0x10(%r14)
je 0x1e508
leaq 0xf0be(%rip), %rdi      # 0x2d567
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
movq 0x10(%r14), %r12
testq %r12, %r12
je 0x1e4ef
leaq 0x50f1(%rip), %r15      # 0x235bc
movq 0x8(%r12), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x41d0
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x1e4cb
leaq 0x6663(%rip), %rdi      # 0x24b59
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
cmpq $0x0, 0x18(%r14)
je 0x1e6d0
leaq 0xf052(%rip), %rdi      # 0x2d56c
movl $0x4, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x42c0
movq 0x18(%r14), %r13
testq %r13, %r13
je 0x1e6ae
leaq 0xf031(%rip), %r14      # 0x2d571
leaq 0xf031(%rip), %r15      # 0x2d578
leaq 0xf027(%rip), %r12      # 0x2d575
movq 0x8(%r13), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x41d0
movl 0x4(%r13), %eax
testb $0x1, %al
je 0x1e580
movl $0x44, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
testb $0x4, %al
je 0x1e595
movl $0x55, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
testb $0x2, %al
je 0x1e5aa
movl $0x46, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
testb $0x18, %al
je 0x1e5bf
movl $0x72, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
testb $0x20, %al
je 0x1e5d4
movl $0x52, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
testb $0x40, %al
je 0x1e5e9
movl $0x2a, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
testb %al, %al
jns 0x1e5fe
movl $0x26, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
btl $0x8, %eax
jae 0x1e615
movl $0x41, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
btl $0x9, %eax
jae 0x1e62c
movl $0x48, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
btl $0xa, %eax
jae 0x1e643
movl $0x54, %edi
movq %rbx, %rsi
callq 0x4190
movl 0x4(%r13), %eax
btl $0xb, %eax
jae 0x1e662
movl $0x2, %esi
movl $0x1, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x42c0
movl 0x4(%r13), %eax
btl $0xc, %eax
jae 0x1e681
movl $0x2, %esi
movl $0x1, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x42c0
movl 0x4(%r13), %eax
btl $0xd, %eax
jae 0x1e694
movl $0x50, %edi
movq %rbx, %rsi
callq 0x4190
movl $0x20, %edi
movq %rbx, %rsi
callq 0x4190
movq 0x10(%r13), %r13
testq %r13, %r13
jne 0x1e54e
leaq 0x64a4(%rip), %rdi      # 0x24b59
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x42c0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq