// File: /workspace/github_c_makefile_star2_O1/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 0x124e4
movq %rdi, %r15
testq %r14, %r14
je 0x124ec
movl $0x30, %edi
callq 0x61a1
movq %rax, %rbx
leaq 0x25d12(%rip), %rax     # 0x38158
cmpl $0x0, (%rax)
jne 0x1246d
movq 0x8(%r15), %rdi
movq 0x8(%r14), %rsi
callq 0x126be
movq %rax, 0x8(%rbx)
movq 0x10(%r15), %rdi
movq 0x10(%r14), %rsi
callq 0x126be
movq %rax, 0x10(%rbx)
movq 0x18(%r15), %rdi
movq 0x18(%r14), %rsi
callq 0x126be
movq %rax, 0x18(%rbx)
movq 0x20(%r15), %r12
movq 0x20(%r14), %rbp
testq %r12, %r12
je 0x124f4
testq %rbp, %rbp
je 0x124f9
movq %rbx, (%rsp)
xorl %ebx, %ebx
xorl %r13d, %r13d
movq (%rbp), %rax
movq %r12, %rcx
cmpq %rax, (%rcx)
je 0x124d0
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
jne 0x124a0
movl $0x10, %edi
callq 0x61a1
movq (%rbp), %rcx
movq %rcx, (%rax)
testq %rbx, %rbx
je 0x124ca
movq %rax, 0x8(%rbx)
jmp 0x124cd
movq %rax, %r13
movq %rax, %rbx
movq 0x8(%rbp), %rbp
testq %rbp, %rbp
jne 0x12499
testq %rbx, %rbx
je 0x124fe
movq %r12, 0x8(%rbx)
jmp 0x12501
movq %r14, %rbx
jmp 0x125f2
movq %r15, %rbx
jmp 0x125f2
movq %rbp, %r13
jmp 0x12505
movq %r12, %r13
jmp 0x12505
movq %r12, %r13
movq (%rsp), %rbx
movq %r13, 0x20(%rbx)
leaq 0x25d68(%rip), %rax     # 0x38278
cmpl $0x0, (%rax)
je 0x125f2
movq 0x28(%r15), %r12
movq 0x28(%r14), %rsi
testq %r12, %r12
je 0x1257e
testq %rsi, %rsi
je 0x12578
movq %r12, %rdi
callq 0x3180
testl %eax, %eax
je 0x12578
movq $0x0, 0x28(%rbx)
movq 0x28(%r15), %rsi
leaq 0x4cec6(%rip), %r15     # 0x5f410
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 0x3230
jmp 0x12582
movq %r12, 0x28(%rbx)
jmp 0x12582
movq %rsi, 0x28(%rbx)
cmpl $0x0, 0x4ce77(%rip)     # 0x5f400
jle 0x125f2
movq $0x0, 0x28(%rbx)
cmpb $0x0, 0x4ce76(%rip)     # 0x5f410
je 0x125f2
leaq 0x4ce6d(%rip), %rdi     # 0x5f410
movl $0x3f, %esi
callq 0x30f0
testq %rax, %rax
jne 0x125f2
leaq 0x1d234(%rip), %rdi     # 0x2f7ed
leaq 0x2ce40(%rip), %r14     # 0x3f400
leaq 0x4ce49(%rip), %r15     # 0x5f410
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