// File: /workspace/github_c_makefile_star2_O2/nimble-code[P]Uno/Src/dflow.c
// Function: merge_lists
static DefUse *
merge_lists(DefUse *d1, DefUse *d2)
{	DefUse *nd;

	if (!d1) return d2;
	if (!d2) return d1;

	nd = (DefUse *) emalloc(sizeof(DefUse));
	if (!uno_p)
	{	nd->def   = merge_syms(d1->def, d2->def);
		nd->use   = merge_syms(d1->use, d2->use);
	}
	nd->other = merge_syms(d1->other, d2->other);
	nd->aio   = merge_aio(d1->aio, d2->aio);

	if (type_check)
	{	if (!d1->der_type)
		{	nd->der_type = d2->der_type;
		} else if (!d2->der_type)
		{	nd->der_type = d1->der_type;
		} else if (strcmp(d1->der_type, d2->der_type) == 0)
		{	nd->der_type = d1->der_type;
		} else
		{	nd->der_type = NULL;
			strcpy(complaint, d1->der_type);
			strcat(complaint, " <-> ");
			strcat(complaint, d2->der_type);
		}
		if (is_final > 0)
		{	nd->der_type = NULL;
			if (strlen(complaint) > 0
			&&  strchr(complaint, '?') == NULL)
			{	printf("%s :: %s\n", c_origin, complaint);
				memset(complaint, 0, sizeof(complaint));
				memset(c_origin,  0, sizeof(c_origin));
	}	}	}
	return nd;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
testq %rdi, %rdi
je 0x10b47
movq %rdi, %r15
testq %r14, %r14
je 0x10b4f
pushq $0x30
popq %rdi
callq 0x4da5
movq %rax, %rbx
leaq 0x266b8(%rip), %rax     # 0x37168
cmpl $0x0, (%rax)
jne 0x10ad7
movq 0x8(%r15), %rdi
movq 0x8(%r14), %rsi
callq 0x10d24
movq %rax, 0x8(%rbx)
movq 0x10(%r15), %rdi
movq 0x10(%r14), %rsi
callq 0x10d24
movq %rax, 0x10(%rbx)
movq 0x18(%r15), %rdi
movq 0x18(%r14), %rsi
callq 0x10d24
movq %rax, 0x18(%rbx)
movq 0x20(%r15), %r12
movq 0x20(%r14), %rbp
testq %r12, %r12
je 0x10b62
testq %rbp, %rbp
je 0x10b67
movq %rbx, (%rsp)
xorl %r13d, %r13d
xorl %ebx, %ebx
testq %rbp, %rbp
je 0x10b57
movq (%rbp), %rax
movq %r12, %rcx
testq %rcx, %rcx
je 0x10b1f
cmpq %rax, (%rcx)
je 0x10b36
movq 0x8(%rcx), %rcx
jmp 0x10b0f
callq 0x10db1
movq (%rbp), %rcx
movq %rcx, (%rax)
testq %rbx, %rbx
je 0x10b3b
movq %rax, 0x8(%rbx)
jmp 0x10b3e
movq %rbx, %rax
jmp 0x10b3e
movq %rax, %r13
movq 0x8(%rbp), %rbp
movq %rax, %rbx
jmp 0x10b03
movq %r14, %rbx
jmp 0x10c58
movq %r15, %rbx
jmp 0x10c58
testq %rbx, %rbx
je 0x10b6c
movq %r12, 0x8(%rbx)
jmp 0x10b6f
movq %rbp, %r13
jmp 0x10b73
movq %r12, %r13
jmp 0x10b73
movq %r12, %r13
movq (%rsp), %rbx
movq %r13, 0x20(%rbx)
leaq 0x2670a(%rip), %rax     # 0x37288
cmpl $0x0, (%rax)
je 0x10c58
movq 0x28(%r15), %r12
movq 0x28(%r14), %rsi
testq %r12, %r12
je 0x10be9
testq %rsi, %rsi
je 0x10be3
movq %r12, %rdi
callq 0x3190
testl %eax, %eax
je 0x10be3
andq $0x0, 0x28(%rbx)
movq 0x28(%r15), %rsi
leaq 0x4d86b(%rip), %r15     # 0x5e420
movq %r15, %rdi
callq 0x3090
movq %r15, %rdi
callq 0x30d0
movl $0x3e2d3c20, (%rax,%r15) # imm = 0x3E2D3C20
movw $0x20, 0x4(%rax,%r15)
movq 0x28(%r14), %rsi
movq %r15, %rdi
callq 0x3250
jmp 0x10bed
movq %r12, 0x28(%rbx)
jmp 0x10bed
movq %rsi, 0x28(%rbx)
cmpl $0x0, 0x4d81c(%rip)     # 0x5e410
jle 0x10c58
andq $0x0, 0x28(%rbx)
cmpb $0x0, 0x4d81e(%rip)     # 0x5e420
je 0x10c58
leaq 0x4d815(%rip), %rdi     # 0x5e420
pushq $0x3f
popq %rsi
callq 0x30f0
testq %rax, %rax
jne 0x10c58
leaq 0x1cbba(%rip), %rdi     # 0x2d7d9
leaq 0x2d7ea(%rip), %r14     # 0x3e410
leaq 0x4d7f3(%rip), %r15     # 0x5e420
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x3100
movl $0x1000, %edx           # imm = 0x1000
movq %r15, %rdi
xorl %esi, %esi
callq 0x3150
movl $0x20000, %edx          # imm = 0x20000
movq %r14, %rdi
xorl %esi, %esi
callq 0x3150
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq