// File: /workspace/github_cpp_makefile_star2_O2/ClauParser[P]ClauParser/./include/clau_parser.h
// Function: clau_parser::LoadData::Merge(clau_parser::UserType*, clau_parser::UserType*, clau_parser::UserType**, clau_parser::UserType**)
static int Merge(UserType* next, UserType* ut, UserType** ut_next, UserType** out = nullptr)
		{
			//check!!
			while (ut->GetIListSize() >= 1 && ut->GetUserTypeListSize() >= 1
				&& (ut->GetUserTypeList(0)->GetName() == "#"sv))
			{
				ut = ut->GetUserTypeList(0);
			}

			bool chk_ut_next = false;
			UserType* temp = nullptr;

			while (true) {
				int itCount = 0;
				int utCount = 0;

				UserType* _ut = ut;
				UserType* _next = next;


				if (ut_next && _ut == *ut_next) {
					*ut_next = _next;
					temp = _next;
					chk_ut_next = true;
				}

				_next->ReserveItemList(_ut->GetItemListSize());

				for (size_t i = 0; i < _ut->GetIListSize(); ++i) {
					if (_ut->IsUserTypeList(i)) {
						if (_ut->GetUserTypeList(utCount)->GetName() == "#"sv) {
							_ut->GetUserTypeList(utCount)->SetName("");
						}
						else {
							{
								_next->LinkUserType(_ut->GetUserTypeList(utCount));
								_ut->GetUserTypeList(utCount) = nullptr;
							}
						}
						utCount++;
					}
					else if (_ut->IsItemList(i)) {
						_next->AddItemType(std::move(_ut->GetItemList(itCount)));
						itCount++;
					}
				}
				_ut->Remove();

				ut = ut->GetParent();

				next = next->GetParent();


				if (next && ut) {
					//
				}
				else {
					// right_depth > left_depth
					if (!next && ut) {
						return -1;
					}
					else if (next && !ut) {
						return 1;
					}

					return 0;
				}
			}
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x3d37(%rip), %r15      # 0x9109
pushq $0x1
popq %r12
movq 0x38(%rbx), %rax
cmpq 0x30(%rbx), %rax
je 0x540d
movq 0x60(%rbx), %rax
cmpq %rax, 0x68(%rbx)
je 0x540d
movq (%rax), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdi
movq %r12, %rdx
movq %r15, %rcx
callq 0x8a3a
testb %al, %al
je 0x540d
movq 0x60(%rbx), %rax
movq (%rax), %rbx
jmp 0x53d6
movq %r13, 0x8(%rsp)
testq %r13, %r13
je 0x5421
cmpq (%r13), %rbx
jne 0x5421
movq %r14, (%r13)
movq 0x50(%rbx), %rax
subq 0x48(%rbx), %rax
cqto
pushq $0x50
popq %rcx
idivq %rcx
movq %r14, %rdi
movq %rax, %rsi
callq 0x7286
xorl %ebp, %ebp
xorl %r13d, %r13d
xorl %r15d, %r15d
movq 0x30(%rbx), %rax
movq 0x38(%rbx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rcx, %r15
jae 0x5514
movl (%rax,%r15,4), %eax
cmpl $0x1, %eax
je 0x54d6
cmpl $0x2, %eax
jne 0x550c
movq %r14, %r12
movq %rbp, 0x10(%rsp)
movslq %ebp, %r14
movq 0x60(%rbx), %rax
movq (%rax,%r14,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdi
pushq $0x1
popq %rdx
leaq 0x3c76(%rip), %rcx      # 0x9109
callq 0x8a3a
movq 0x60(%rbx), %rcx
movq (%rcx,%r14,8), %rbp
testb %al, %al
je 0x54ee
leaq 0x18(%rsp), %r14
movq %r14, %rdi
leaq 0x3c04(%rip), %rsi      # 0x90b7
leaq 0x7(%rsp), %rdx
callq 0x2a64
addq $0x8, %rbp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x2110
movq %r14, %rdi
callq 0x20d0
jmp 0x5502
movslq %r13d, %r13
imulq $0x50, %r13, %rsi
addq 0x48(%rbx), %rsi
movq %r14, %rdi
callq 0x7406
incl %r13d
jmp 0x550c
movq %r12, %rdi
movq %rbp, %rsi
callq 0x3bb2
movq 0x60(%rbx), %rax
andq $0x0, (%rax,%r14,8)
movq 0x10(%rsp), %rbp
incl %ebp
movq %r12, %r14
incq %r15
jmp 0x5444
movq %rbx, %rdi
callq 0x7438
movq 0x28(%rbx), %rbx
movq 0x28(%r14), %r14
testq %rbx, %rbx
movq 0x8(%rsp), %r13
je 0x5537
testq %r14, %r14
jne 0x5412
testq %rbx, %rbx
setne %al
testq %r14, %r14
sete %cl
orb %al, %cl
xorb $0x1, %cl
movzbl %cl, %ecx
xorl %eax, %eax
cmpq $0x1, %r14
sbbl %eax, %eax
orl %ecx, %eax
testq %rbx, %rbx
cmovel %ecx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x2300
nop