// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/gui/widgets/special/cursor.cpp
// Function: smooth::GUI::Cursor::Process(int, int, int)
S::Int S::GUI::Cursor::Process(Int message, Int wParam, Int lParam)
{
	if (!IsRegistered()) return Error();
	if (!IsVisible())    return Success();

	Window	*window	= container->GetContainerWindow();

	if (window == NIL) return Success();

	switch (message)
	{
		case SM_LBUTTONDOWN:
			if (mouseOver)
			{
				Rect	 frame = Rect(GetRealPosition(), GetRealSize());

				String	 wText = text;
				Int	 wPromptPos = 0;

				if (Binary::IsFlagSet(GetFlags(), CF_MULTILINE))
				{
					Int	 line	   = (window->GetMousePosition().y - frame.top) / (font.GetScaledTextSizeY() + 3);
					Int	 lineCount = 0;
					Int	 length	   = text.Length();

					for (Int i = 0; i <= length; i++)
					{
						wText[i - wPromptPos] = text[i];

						if (text[i] == '\n' || text[i] == 0)
						{
							wText[i - wPromptPos] = 0;

							if (lineCount - scrollPos == line || text[i] == 0) break;

							wPromptPos = i + 1;
							lineCount++;
						}
					}
				}

				Int	 newPromptPos = GetLogicalCursorPositionFromDisplay(wText, window->GetMousePosition().x - frame.left) + wPromptPos;

				marking = True;

				if (Input::Keyboard::GetKeyState(Input::Keyboard::KeyShift))
				{
					if (markStart == -1) markStart = GetCursorPos();
					if (markStart == -1) markStart = newPromptPos;

					MarkText(markStart, newPromptPos);
				}
				else
				{
					MarkText(newPromptPos, newPromptPos);
				}

				SetCursorPos(newPromptPos);

				if (!focussed)
				{
					focussed = True;

					onGetFocus.Emit();
				}
				else
				{
					onClickInFocus.Emit();
				}
			}
			else
			{
				if (focussed)
				{
					focussed = False;

					onLoseFocus.Emit();
				}
			}

			break;
		case SM_LBUTTONUP:
			if (focussed && markStart != -1)
			{
				if (markStart == markEnd) { markStart = -1; markEnd = -1; }

				marking = False;
			}

			break;
		case SM_LBUTTONDBLCLK:
			if (focussed)
			{
				/* Compute word start and end.
				 */
				Int	 length	   = text.Length();

				Int	 wordStart = 0;
				Int	 wordEnd   = length;

				for (Int i = promptPos - 2; i >= 0; i--)
				{
					if ( (						   text[i + 1] == '\n') ||
					    ((text[i    ] == ' ' || text[i    ] == '\t' || text[i    ] == '\n') &&
					     (text[i + 1] != ' ' && text[i + 1] != '\t' && text[i + 1] != '\n'))) { wordStart = i + 1; break; }
				}

				for (Int i = promptPos - 1; i < length; i++)
				{
					if ( (						   text[i + 1] == '\n') ||
					    ((text[i    ] == ' ' || text[i    ] == '\t' || text[i    ] == '\n') &&
					     (text[i + 1] != ' ' && text[i + 1] != '\t' && text[i + 1] != '\n'))) { wordEnd = i + 1; break; }
				}

				/* Set mark region.
				 */
				if (Input::Keyboard::GetKeyState(Input::Keyboard::KeyShift))
				{
					if (markStart == -1) markStart = promptPos;

					if (promptPos <= markStart)
					{
						MarkText(markStart, wordStart);

						SetCursorPos(wordStart);
					}
					else
					{
						MarkText(markStart, wordEnd);

						SetCursorPos(wordEnd);
					}
				}
				else
				{
					MarkText(wordStart, wordEnd);

					SetCursorPos(wordEnd);
				}
			}

			break;
		case SM_RBUTTONDOWN:
		case SM_RBUTTONDBLCLK:
			if (mouseOver)
			{
				/* Activate this widget before opening the context menu.
				 */
				if (!focussed)
				{
					window->Process(SM_LBUTTONDOWN, 0, 0);
					window->Process(SM_LBUTTONUP, 0, 0);
				}

				/* Enable the context menu even for inactive widgets.
				 */
				if (!IsActive())
				{
					OpenContextMenu();

					/* Force mouseOut event.
					 */
					window->Process(SM_MOUSEMOVE, 0, 0);
				}
			}

			break;
		case SM_MBUTTONDOWN:
			if (focussed && IsActive() && Clipboard(container->GetContainerWindow()).GetSelectionText() != NIL)
			{
				Bool	 selected = (markStart != markEnd && markStart >= 0 && markEnd >= 0);

				flags |= CF_NOINPUT;

				DeleteSelectedText();

				flags ^= CF_NOINPUT;

				String	 insertText = Clipboard(container->GetContainerWindow()).GetSelectionText();

				if (insertText.Length() > 0 && (insertText.Length() + text.Length()) <= maxSize)
				{
					if (Binary::IsFlagSet(container->GetFlags(), EDB_NUMERIC) && (insertText.ToInt() == 0 && insertText[0] != '0')) break;

					if (selected) RemoveHistoryEntry();

					InsertText(insertText);
				}

				onInput.Emit(text);
			}

			break;
		case SM_MOUSEMOVE:
			{
				Rect	 frame = Rect(GetRealPosition(), GetRealSize());

				if (!mouseOver && window->IsMouseOn(frame))
				{
					mouseOver = True;

					Paint(SP_MOUSEIN);
				}
				else if (mouseOver && !window->IsMouseOn(frame))
				{
					mouseOver = False;

					Paint(SP_MOUSEOUT);
				}

				if (focussed && markStart != -1 && marking)
				{
					String	 wText = text;
					Int	 wPromptPos = 0;

					if (Binary::IsFlagSet(GetFlags(), CF_MULTILINE))
					{
						Int	 line	   = (window->GetMousePosition().y - frame.top) / (font.GetScaledTextSizeY() + 3);
						Int	 lineCount = 0;
						Int	 length	   = text.Length();

						if (window->GetMousePosition().y - frame.top < 0) line--;

						for (Int i = 0; i <= length; i++)
						{
							wText[i - wPromptPos] = text[i];

							if (text[i] == '\n' || text[i] == 0)
							{
								wText[i - wPromptPos] = 0;

								if (lineCount - scrollPos == line || text[i] == 0) break;

								wPromptPos = i + 1;
								lineCount++;
							}
						}

						if (lineCount - scrollPos != line) wPromptPos = -1;
					}

					if (wPromptPos >= 0)
					{
						Int	 newMarkEnd = GetLogicalCursorPositionFromDisplay(wText, window->GetMousePosition().x - frame.left) + wPromptPos;

						MarkText(markStart, newMarkEnd);

						SetCursorPos(newMarkEnd);
					}
				}
			}

			break;
		case SM_KEYDOWN:
			if (OnSpecialKey(wParam)) return MessageProcessed;

			break;
		case SM_CHAR:
			OnInput(wParam, lParam);

			break;
	}

	return Widget::Process(message, wParam, lParam);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %ecx, %r14d
movl %edx, %ebx
movl %esi, %r12d
movq %rdi, %r15
movq (%rdi), %rax
callq *0x88(%rax)
pushq $-0x1
popq %rbp
testb %al, %al
je 0x8e713
movl %ebx, 0x2c(%rsp)
movq (%r15), %rax
movq %r15, %rdi
callq *0x90(%rax)
xorl %ebx, %ebx
testb %al, %al
je 0x8ef52
movq %r12, 0x50(%rsp)
movq 0x190(%r15), %rdi
callq 0x56a50
testq %rax, %rax
je 0x8ef52
movq %rax, %r12
movq 0x50(%rsp), %rax
addl $0xffff8800, %eax       # imm = 0xFFFF8800
cmpl $0x10, %eax
ja 0x8ef3c
leaq 0x585c6(%rip), %rcx     # 0xe6c50
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movl %r14d, 0x8(%rsp)
jmpq *%rax
cmpb $0x1, 0xd4(%r15)
jne 0x8ef3c
cmpb $0x0, 0xcd(%r15)
jne 0x8e6dc
movq (%r12), %rax
movq %r12, %rdi
movl $0x7801, %esi           # imm = 0x7801
xorl %edx, %edx
xorl %ecx, %ecx
callq *0x80(%rax)
movq (%r12), %rax
movq %r12, %rdi
movl $0x7802, %esi           # imm = 0x7802
xorl %edx, %edx
xorl %ecx, %ecx
callq *0x80(%rax)
movq (%r15), %rax
movq %r15, %rdi
callq *0x98(%rax)
testb %al, %al
jne 0x8ef3c
movq %r15, %rdi
callq 0x57d00
movq (%r12), %rax
movq %r12, %rdi
movl $0x7800, %esi           # imm = 0x7800
xorl %edx, %edx
xorl %ecx, %ecx
callq *0x80(%rax)
jmp 0x8ef3c
movl %ebp, %ebx
jmp 0x8ef52
cmpb $0x1, 0xcd(%r15)
jne 0x8ef3c
movl 0x5c8(%r15), %eax
cmpl $-0x1, %eax
je 0x8ef3c
cmpl 0x5cc(%r15), %eax
jne 0x8e749
orq $-0x1, 0x5c8(%r15)
movb $0x0, 0x5c5(%r15)
jmp 0x8ef3c
cmpb $0x1, 0xcd(%r15)
jne 0x8ef3c
leaq 0xf0(%r15), %r12
movq %r12, %rdi
callq 0x58370
movl %eax, (%rsp)
movl 0x5c0(%r15), %ebx
addl $-0x2, %ebx
testl %ebx, %ebx
js 0x8ed85
leal 0x1(%rbx), %r13d
movq %r12, %rdi
movl %r13d, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
je 0x8ed88
movq %r12, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0x20, (%rax)
je 0x8e7cd
movq %r12, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0x9, (%rax)
je 0x8e7cd
movq %r12, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
jne 0x8e801
movq %r12, %rdi
movl %r13d, %esi
callq 0x59cc0
cmpl $0x20, (%rax)
je 0x8e801
movq %r12, %rdi
movl %r13d, %esi
callq 0x59cc0
cmpl $0x9, (%rax)
je 0x8e801
movq %r12, %rdi
movl %r13d, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
jne 0x8ed88
decl %ebx
jmp 0x8e780
movq %r15, %rdi
movl 0x2c(%rsp), %esi
callq 0x58bb0
movl %ebp, %ebx
testb %al, %al
je 0x8ef3c
jmp 0x8ef52
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movq %rax, %rbx
movq %rax, %r14
shrq $0x20, %r14
movq (%r15), %rax
movq %r15, %rdi
callq *0x50(%rax)
leal (%rax,%rbx), %ecx
shrq $0x20, %rax
movl %ebx, 0x30(%rsp)
movl %r14d, 0x34(%rsp)
movl %ecx, 0x38(%rsp)
addl %r14d, %eax
movl %eax, 0x3c(%rsp)
movb 0xd4(%r15), %al
testb %al, %al
jne 0x8ebea
leaq 0x30(%rsp), %rsi
movq %r12, %rdi
callq 0x58ae0
testb %al, %al
je 0x8ebe3
pushq $0x2
popq %rsi
movb $0x1, %al
movl 0x8(%rsp), %r14d
jmp 0x8ec09
cmpb $0x1, 0xd4(%r15)
jne 0x8eb57
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movq %rax, 0x40(%rsp)
movq (%r15), %rax
movq %r15, %rdi
callq *0x50(%rax)
leaq 0xf0(%r15), %r13
leaq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0x58280
movl 0x30(%r15), %edi
pushq $0x1
popq %rsi
callq 0x596b0
movl $0x0, 0x4(%rsp)
testb %al, %al
je 0x8eb7e
movq %r12, %rdi
callq 0x57cc0
movq %rax, %rbx
leaq 0x140(%r15), %rdi
movq 0xd34bd(%rip), %rsi     # 0x161db8
callq 0x588a0
movl %eax, %ecx
movq 0x40(%rsp), %rax
shrq $0x20, %rax
shrq $0x20, %rbx
subl %eax, %ebx
addl $0x3, %ecx
movl %ebx, %eax
cltd
idivl %ecx
movl %eax, 0x4c(%rsp)
movq %r13, %rdi
callq 0x58370
movl %eax, (%rsp)
movl $0x0, 0xc(%rsp)
xorl %ebx, %ebx
movl $0x0, 0x4(%rsp)
xorl %ebp, %ebp
cmpl (%rsp), %ebx
jg 0x8eb7e
movq %r13, %rdi
movl %ebx, %esi
callq 0x59cc0
movl (%rax), %r14d
leaq 0x10(%rsp), %rdi
movl %ebp, %esi
callq 0x59cc0
movl %r14d, (%rax)
movq %r13, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
je 0x8e98a
movq %r13, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0x0, (%rax)
je 0x8e98a
incl %ebx
incl %ebp
movl 0x8(%rsp), %r14d
jmp 0x8e93c
leaq 0x10(%rsp), %rdi
movl %ebp, %esi
callq 0x59cc0
movl 0x8(%rsp), %r14d
andl $0x0, (%rax)
movl 0xc(%rsp), %eax
subl 0x5d4(%r15), %eax
cmpl 0x4c(%rsp), %eax
je 0x8eb7e
movq %r13, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0x0, (%rax)
je 0x8eb7e
incl %ebx
incl 0xc(%rsp)
movl %ebx, 0x4(%rsp)
jmp 0x8e93a
movq %r15, %rdi
movl 0x2c(%rsp), %esi
callq 0x58330
jmp 0x8ef3c
cmpb $0x1, 0xcd(%r15)
jne 0x8ef3c
movq (%r15), %rax
movq %r15, %rdi
callq *0x98(%rax)
testb %al, %al
je 0x8ef3c
movq 0x190(%r15), %rdi
callq 0x56a50
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x59470
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x59d10
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x57d40
movl %eax, %ebx
leaq 0x10(%rsp), %rdi
callq 0x5a588
leaq 0x30(%rsp), %rdi
callq 0x599b0
testb %bl, %bl
je 0x8ef3c
movl 0x5c8(%r15), %eax
movl 0x5cc(%r15), %ecx
cmpl %ecx, %eax
setne %bpl
orl %eax, %ecx
setns %r12b
orb $0x40, 0x33(%r15)
movq %r15, %rdi
callq 0x5a560
xorb $0x40, 0x33(%r15)
movq 0x190(%r15), %rdi
callq 0x56a50
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x59470
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x59d10
leaq 0x30(%rsp), %rdi
callq 0x599b0
leaq 0x10(%rsp), %rdi
callq 0x58370
testl %eax, %eax
jle 0x8eb3f
leaq 0x10(%rsp), %rdi
callq 0x58370
movl %eax, %ebx
leaq 0xf0(%r15), %rdi
callq 0x58370
addl %ebx, %eax
cmpl 0x640(%r15), %eax
jg 0x8eb3f
movq 0x190(%r15), %rax
movl 0x30(%rax), %edi
pushq $0x1
popq %rsi
callq 0x596b0
testb %al, %al
je 0x8eb25
leaq 0x10(%rsp), %rdi
callq 0x57a10
testq %rax, %rax
jne 0x8eb25
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x59cc0
cmpl $0x30, (%rax)
jne 0x8ef32
andb %r12b, %bpl
je 0x8eb32
movq %r15, %rdi
callq 0x579b0
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x57150
leaq 0x708(%r15), %rdi
leaq 0xf0(%r15), %rsi
callq 0x75b8e
jmp 0x8ef32
cmpb $0x1, 0xcd(%r15)
jne 0x8ef3c
movb $0x0, 0xcd(%r15)
leaq 0x518(%r15), %rdi
callq 0x70196
jmp 0x8ef3c
movq %r12, %rdi
callq 0x57cc0
subl 0x40(%rsp), %eax
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
movl %eax, %edx
callq 0x57c70
movl %eax, %ebx
movb $0x1, 0x5c5(%r15)
pushq $0x10
popq %rdi
callq 0x58710
addl 0x4(%rsp), %ebx
movl %ebx, %esi
testb %al, %al
je 0x8eefa
movl 0x5c8(%r15), %esi
cmpl $-0x1, %esi
jne 0x8eefa
cmpb $0x0, 0xcd(%r15)
je 0x8eeea
movl 0x5c0(%r15), %esi
jmp 0x8eeed
movb 0xd4(%r15), %al
testb $0x1, %al
movl 0x8(%rsp), %r14d
je 0x8ec19
leaq 0x30(%rsp), %rsi
movq %r12, %rdi
callq 0x58ae0
testb %al, %al
jne 0x8ec19
pushq $0x3
popq %rsi
xorl %eax, %eax
movb %al, 0xd4(%r15)
movq (%r15), %rax
movq %r15, %rdi
callq *0x78(%rax)
cmpb $0x1, 0xcd(%r15)
jne 0x8ef3c
cmpl $-0x1, 0x5c8(%r15)
je 0x8ef3c
cmpb $0x1, 0x5c5(%r15)
jne 0x8ef3c
leaq 0xf0(%r15), %rsi
leaq 0x10(%rsp), %rdi
movq %rsi, %rbp
callq 0x58280
movl 0x30(%r15), %edi
pushq $0x1
popq %rsi
callq 0x596b0
movl $0x0, 0x4(%rsp)
testb %al, %al
je 0x8eea4
movq %r12, %rdi
callq 0x57cc0
movq %rax, %rbx
movl 0x34(%rsp), %r13d
leaq 0x140(%r15), %rdi
movq 0xd3127(%rip), %rsi     # 0x161db8
callq 0x588a0
movl %eax, %ecx
shrq $0x20, %rbx
subl %r13d, %ebx
addl $0x3, %ecx
movl %ebx, %eax
cltd
idivl %ecx
movl %eax, %ebx
movq %rbp, %rdi
callq 0x58370
movl %eax, (%rsp)
movq %r12, %rdi
callq 0x57cc0
shrq $0x20, %rax
xorl %ecx, %ecx
cmpl %eax, 0x34(%rsp)
setg %cl
subl %ecx, %ebx
movl %ebx, 0xc(%rsp)
movl $0x0, 0x40(%rsp)
xorl %r13d, %r13d
movl $0x0, 0x4(%rsp)
xorl %ebx, %ebx
cmpl (%rsp), %r13d
jg 0x8ee7f
movq %rbp, %rdi
movl %r13d, %esi
callq 0x59cc0
movl (%rax), %r14d
leaq 0x10(%rsp), %rdi
movl %ebx, %esi
callq 0x59cc0
movl %r14d, (%rax)
movq %rbp, %rdi
movl %r13d, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
je 0x8ed37
movq %rbp, %rdi
movl %r13d, %esi
callq 0x59cc0
cmpl $0x0, (%rax)
je 0x8ed37
incl %r13d
incl %ebx
movl 0x8(%rsp), %r14d
jmp 0x8ece4
leaq 0x10(%rsp), %rdi
movl %ebx, %esi
callq 0x59cc0
movl 0x8(%rsp), %r14d
andl $0x0, (%rax)
movl 0x40(%rsp), %eax
subl 0x5d4(%r15), %eax
cmpl 0xc(%rsp), %eax
je 0x8ee7f
movq %rbp, %rdi
movl %r13d, %esi
callq 0x59cc0
cmpl $0x0, (%rax)
je 0x8ee7f
incl %r13d
incl 0x40(%rsp)
movl %r13d, 0x4(%rsp)
jmp 0x8ece2
xorl %r13d, %r13d
movl 0x5c0(%r15), %ebx
leal -0x1(%rbx), %r14d
leal -0x1(%rbx), %ebp
cmpl (%rsp), %ebp
jge 0x8ee13
incl %r14d
movq %r12, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
je 0x8ee0f
movq %r12, %rdi
movl %ebp, %esi
callq 0x59cc0
cmpl $0x20, (%rax)
je 0x8edda
movq %r12, %rdi
movl %ebp, %esi
callq 0x59cc0
cmpl $0x9, (%rax)
je 0x8edda
movq %r12, %rdi
movl %ebp, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
jne 0x8ee0b
movq %r12, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0x20, (%rax)
je 0x8ee0b
movq %r12, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0x9, (%rax)
je 0x8ee0b
movq %r12, %rdi
movl %ebx, %esi
callq 0x59cc0
cmpl $0xa, (%rax)
jne 0x8eee2
incl %ebx
jmp 0x8ed93
movl %r14d, (%rsp)
pushq $0x10
popq %rdi
callq 0x58710
testb %al, %al
movl 0x8(%rsp), %r14d
je 0x8ee42
movl 0x5c0(%r15), %esi
movl 0x5c8(%r15), %eax
cmpl $-0x1, %eax
je 0x8ee59
cmpl %eax, %esi
jle 0x8ee62
movq %r15, %rdi
movl %eax, %esi
jmp 0x8ee48
movq %r15, %rdi
movl %r13d, %esi
movl (%rsp), %ebx
movl %ebx, %edx
callq 0x57c50
movq %r15, %rdi
movl %ebx, %esi
jmp 0x8ee75
movl %esi, 0x5c8(%r15)
jmp 0x8ee64
movl %eax, %esi
movq %r15, %rdi
movl %r13d, %edx
callq 0x57c50
movq %r15, %rdi
movl %r13d, %esi
callq 0x59d70
jmp 0x8ef3c
movl 0x40(%rsp), %eax
subl 0x5d4(%r15), %eax
cmpl 0xc(%rsp), %eax
sete %al
cmpl $0x0, 0x4(%rsp)
setns %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x8ef32
movq %r12, %rdi
callq 0x57cc0
subl 0x30(%rsp), %eax
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
movl %eax, %edx
callq 0x57c70
movl %eax, %ebx
addl 0x4(%rsp), %ebx
movl 0x5c8(%r15), %esi
movq %r15, %rdi
movl %ebx, %edx
callq 0x57c50
movq %r15, %rdi
movl %ebx, %esi
callq 0x59d70
jmp 0x8ef32
movl %ebx, (%rsp)
jmp 0x8ee13
pushq $-0x1
popq %rsi
cmpl $-0x1, %esi
cmovel %ebx, %esi
movl %esi, 0x5c8(%r15)
movq %r15, %rdi
movl %ebx, %edx
callq 0x57c50
movq %r15, %rdi
movl %ebx, %esi
callq 0x59d70
movl $0x538, %edi            # imm = 0x538
cmpb $0x0, 0xcd(%r15)
jne 0x8ef2a
movb $0x1, 0xcd(%r15)
movl $0x4d8, %edi            # imm = 0x4D8
addq %r15, %rdi
callq 0x70196
leaq 0x10(%rsp), %rdi
callq 0x5a588
movq %r15, %rdi
movq 0x50(%rsp), %rsi
movl 0x2c(%rsp), %edx
movl %r14d, %ecx
callq 0x594d0
movl %eax, %ebx
movl %ebx, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8ef82
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5a588
jmp 0x8ef85
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x599b0
jmp 0x8efae
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
jmp 0x8efa1
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260