// File: /workspace/github_cpp_makefile_star2_O3/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 %rdi, %r13
movq %rsi, %rbx
movq 0x38(%rsi), %rax
cmpq 0x30(%rsi), %rax
je 0x613b
movq 0x60(%rbx), %rax
cmpq %rax, 0x68(%rbx)
je 0x613b
movq (%rax), %rsi
cmpq $0x1, 0x10(%rsi)
jne 0x613b
movq 0x8(%rsi), %rax
cmpb $0x23, (%rax)
je 0x6111
movq %rdx, 0x10(%rsp)
testq %rdx, %rdx
je 0x614d
cmpq (%rdx), %rbx
jne 0x614d
movq %r13, (%rdx)
movq 0x50(%rbx), %rsi
subq 0x48(%rbx), %rsi
je 0x6172
sarq $0x4, %rsi
movabsq $-0x3333333333333333, %rax # imm = 0xCCCCCCCCCCCCCCCD
imulq %rax, %rsi
leaq 0x48(%r13), %rdi
callq 0x833a
movq 0x30(%rbx), %rax
cmpq %rax, 0x38(%rbx)
je 0x6256
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %r14d, %r14d
movl (%rax,%r15,4), %eax
cmpl $0x1, %eax
je 0x6203
cmpl $0x2, %eax
jne 0x623b
movl %r14d, 0xc(%rsp)
movslq %r14d, %r14
movq 0x60(%rbx), %rax
movq (%rax,%r14,8), %rsi
cmpq $0x1, 0x10(%rsi)
jne 0x621f
leaq 0x8(%rsi), %rbp
movq (%rbp), %rax
cmpb $0x23, (%rax)
jne 0x621f
leaq 0x28(%rsp), %r14
movq %r14, 0x18(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0x3f12(%rip), %rdx      # 0xa0e7
movq %rdx, %rsi
callq 0x8698
movq %rbp, %rdi
leaq 0x18(%rsp), %rsi
callq 0x20f0
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x6233
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6233
movslq %r12d, %r12
leaq (%r12,%r12,4), %rsi
shlq $0x4, %rsi
addq 0x48(%rbx), %rsi
movq %r13, %rdi
callq 0x81a4
incl %r12d
jmp 0x623b
movq %r13, %rdi
callq 0x414c
movq 0x60(%rbx), %rax
movq $0x0, (%rax,%r14,8)
movl 0xc(%rsp), %r14d
incl %r14d
incq %r15
movq 0x30(%rbx), %rax
movq 0x38(%rbx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rcx, %r15
jb 0x6189
movq %rbx, %rdi
callq 0x81f2
movq 0x28(%rbx), %rbx
movq 0x28(%r13), %r13
testq %rbx, %rbx
movq 0x10(%rsp), %rdx
je 0x6279
testq %r13, %r13
jne 0x6140
testq %rbx, %rbx
setne %al
testq %r13, %r13
sete %cl
orb %al, %cl
xorb $0x1, %cl
movzbl %cl, %ecx
xorl %eax, %eax
cmpq $0x1, %r13
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
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x62c6
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x22c0