// File: /workspace/github_c_makefile_star2_O3/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 $0x68, %rsp
movl %ecx, 0x5c(%rsp)
movl %edx, 0x3c(%rsp)
movl %esi, %r14d
movq %rdi, %r15
movq (%rdi), %rax
callq *0x88(%rax)
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testb %al, %al
je 0x92624
movq (%r15), %rax
movq %r15, %rdi
callq *0x90(%rax)
xorl %ebx, %ebx
testb %al, %al
je 0x92624
movq %r14, 0x60(%rsp)
movq 0x190(%r15), %rdi
callq 0x559e0
testq %rax, %rax
je 0x92624
movq %rax, %r12
movq 0x60(%rsp), %rax
addl $0xffff8800, %eax       # imm = 0xFFFF8800
cmpl $0x10, %eax
ja 0x9260d
leaq 0x64fdb(%rip), %rcx     # 0xf6d50
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpb $0x1, 0xd4(%r15)
jne 0x9260d
cmpb $0x0, 0xcd(%r15)
jne 0x91dc2
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 0x9260d
movq %r15, %rdi
callq 0x56b90
movq (%r12), %rax
movq %r12, %rdi
movl $0x7800, %esi           # imm = 0x7800
xorl %edx, %edx
xorl %ecx, %ecx
callq *0x80(%rax)
jmp 0x9260d
cmpb $0x1, 0xcd(%r15)
jne 0x9260d
movl 0x5c8(%r15), %eax
cmpl $-0x1, %eax
je 0x9260d
cmpl 0x5cc(%r15), %eax
jne 0x91e2b
movq $-0x1, 0x5c8(%r15)
movb $0x0, 0x5c5(%r15)
jmp 0x9260d
cmpb $0x1, 0xcd(%r15)
jne 0x9260d
leaq 0xf0(%r15), %rbx
movq %rbx, %rdi
callq 0x57180
movl 0x5c0(%r15), %r12d
xorl %ebp, %ebp
cmpl $0x2, %r12d
movl %eax, 0x8(%rsp)
jl 0x9246c
leal -0x2(%r12), %r13d
decl %r12d
movl %r12d, %ebp
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0xa, (%rax)
je 0x9245b
leal -0x1(%rbp), %r12d
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0x20, (%rax)
je 0x91ebf
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0x9, (%rax)
je 0x91ebf
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0xa, (%rax)
jne 0x91ef0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x58990
cmpl $0x20, (%rax)
je 0x91ef0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x58990
cmpl $0x9, (%rax)
je 0x91ef0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x58990
cmpl $0xa, (%rax)
jne 0x92461
decl %r13d
testl %r12d, %r12d
jg 0x91e74
xorl %ebp, %ebp
jmp 0x92461
movq %r15, %rdi
movl 0x3c(%rsp), %esi
callq 0x57960
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testb %al, %al
je 0x9260d
jmp 0x92624
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movq %rax, %rbx
movq %rax, %r13
shrq $0x20, %r13
movq (%r15), %rax
movq %r15, %rdi
callq *0x50(%rax)
leal (%rax,%rbx), %ecx
shrq $0x20, %rax
movl %ebx, 0x40(%rsp)
movl %r13d, 0x44(%rsp)
movl %ecx, 0x48(%rsp)
addl %r13d, %eax
movl %eax, 0x4c(%rsp)
movb 0xd4(%r15), %al
testb %al, %al
jne 0x922a5
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x578a0
testb %al, %al
je 0x9229e
movl $0x2, %esi
movb $0x1, %al
jmp 0x922c1
cmpb $0x1, 0xd4(%r15)
jne 0x92277
movq (%r15), %rax
movq %r15, %rdi
callq *0x48(%rax)
movq %rax, 0x50(%rsp)
movq (%r15), %rax
movq %r15, %rdi
callq *0x50(%rax)
leaq 0xf0(%r15), %rsi
leaq 0x20(%rsp), %rdi
movq %rsi, 0x8(%rsp)
callq 0x570b0
movl 0x30(%r15), %edi
movl $0x1, %esi
callq 0x583f0
movl $0x0, 0x4(%rsp)
testb %al, %al
je 0x92563
movq %r12, %rdi
callq 0x56b50
movq %rax, %rbx
leaq 0x140(%r15), %rdi
movq 0xd9dbe(%rip), %rsi     # 0x16bdb8
callq 0x57680
movl %eax, %ecx
movq 0x50(%rsp), %rax
shrq $0x20, %rax
shrq $0x20, %rbx
subl %eax, %ebx
addl $0x3, %ecx
movl %ebx, %eax
cltd
idivl %ecx
movl %eax, 0x14(%rsp)
movq 0x8(%rsp), %rdi
callq 0x57180
testl %eax, %eax
js 0x92563
incl %eax
movl $0x0, 0x4(%rsp)
movl $0x0, 0x18(%rsp)
xorl %ebx, %ebx
movq %r12, %r14
movl %eax, %r12d
movq 0x8(%rsp), %rdi
movl %ebx, %esi
callq 0x58990
movl (%rax), %ebp
movl %ebx, %r13d
subl 0x4(%rsp), %r13d
leaq 0x20(%rsp), %rdi
movl %r13d, %esi
callq 0x58990
movl %ebp, (%rax)
movq 0x8(%rsp), %rdi
movl %ebx, %esi
callq 0x58990
cmpl $0xa, (%rax)
je 0x92099
movq 0x8(%rsp), %rdi
movl %ebx, %esi
callq 0x58990
cmpl $0x0, (%rax)
je 0x92099
incl %ebx
movl %r12d, %eax
movq %r14, %r12
jmp 0x920e6
leaq 0x20(%rsp), %rdi
movl %r13d, %esi
callq 0x58990
movl $0x0, (%rax)
movl 0x18(%rsp), %eax
subl 0x5d4(%r15), %eax
cmpl 0x14(%rsp), %eax
je 0x92560
movq 0x8(%rsp), %rdi
movl %ebx, %esi
callq 0x58990
cmpl $0x0, (%rax)
movl %r12d, %eax
movq %r14, %r12
je 0x92563
incl %ebx
incl 0x18(%rsp)
movl %ebx, 0x4(%rsp)
cmpl %eax, %ebx
jne 0x92042
jmp 0x92563
movq %r15, %rdi
movl 0x3c(%rsp), %esi
callq 0x57140
jmp 0x9260d
cmpb $0x1, 0xcd(%r15)
jne 0x9260d
movq (%r15), %rax
movq %r15, %rdi
callq *0x98(%rax)
testb %al, %al
je 0x9260d
movq 0x190(%r15), %rdi
callq 0x559e0
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x581d0
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x589e0
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x56bd0
movl %eax, %ebx
leaq 0x20(%rsp), %rdi
callq 0x59200
leaq 0x40(%rsp), %rdi
callq 0x586c0
testb %bl, %bl
je 0x9260d
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 0x591d8
xorb $0x40, 0x33(%r15)
movq 0x190(%r15), %rdi
callq 0x559e0
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x581d0
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x589e0
leaq 0x40(%rsp), %rdi
callq 0x586c0
leaq 0x20(%rsp), %rdi
callq 0x57180
testl %eax, %eax
jle 0x9225f
leaq 0x20(%rsp), %rdi
callq 0x57180
movl %eax, %ebx
leaq 0xf0(%r15), %rdi
callq 0x57180
addl %ebx, %eax
cmpl 0x640(%r15), %eax
jg 0x9225f
movq 0x190(%r15), %rax
movl 0x30(%rax), %edi
movl $0x1, %esi
callq 0x583f0
testb %al, %al
je 0x92245
leaq 0x20(%rsp), %rdi
callq 0x568c0
testq %rax, %rax
jne 0x92245
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x58990
cmpl $0x30, (%rax)
jne 0x92603
andb %r12b, %bpl
je 0x92252
movq %r15, %rdi
callq 0x56870
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0x56070
leaq 0x708(%r15), %rdi
leaq 0xf0(%r15), %rsi
callq 0x76794
jmp 0x92603
cmpb $0x1, 0xcd(%r15)
jne 0x9260d
movb $0x0, 0xcd(%r15)
leaq 0x518(%r15), %rdi
callq 0x701aa
jmp 0x9260d
movb 0xd4(%r15), %al
testb $0x1, %al
je 0x922d1
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x578a0
testb %al, %al
jne 0x922d1
movl $0x3, %esi
xorl %eax, %eax
movb %al, 0xd4(%r15)
movq (%r15), %rax
movq %r15, %rdi
callq *0x78(%rax)
cmpb $0x1, 0xcd(%r15)
jne 0x9260d
cmpl $-0x1, 0x5c8(%r15)
je 0x9260d
cmpb $0x1, 0x5c5(%r15)
jne 0x9260d
leaq 0xf0(%r15), %rsi
leaq 0x20(%rsp), %rdi
movq %rsi, 0x8(%rsp)
callq 0x570b0
movl 0x30(%r15), %edi
movl $0x1, %esi
callq 0x583f0
movl $0x0, 0x4(%rsp)
testb %al, %al
je 0x9265c
movq %r12, 0x18(%rsp)
movq %r12, %rdi
callq 0x56b50
movq %rax, %rbx
movl 0x44(%rsp), %ebp
leaq 0x140(%r15), %rdi
movq 0xd9a67(%rip), %rsi     # 0x16bdb8
callq 0x57680
movl %eax, %ecx
shrq $0x20, %rbx
subl %ebp, %ebx
addl $0x3, %ecx
movl %ebx, %eax
cltd
idivl %ecx
movl %eax, 0x14(%rsp)
movq 0x8(%rsp), %rdi
callq 0x57180
movl %eax, %ebx
movq 0x18(%rsp), %r12
movq %r12, %rdi
callq 0x56b50
shrq $0x20, %rax
xorl %ecx, %ecx
cmpl %eax, 0x44(%rsp)
setg %cl
subl %ecx, 0x14(%rsp)
testl %ebx, %ebx
js 0x92635
incl %ebx
xorl %r13d, %r13d
xorl %r14d, %r14d
movl $0x0, 0x4(%rsp)
movl %ebx, 0x50(%rsp)
movq 0x8(%rsp), %rdi
movl %r13d, %esi
callq 0x58990
movl (%rax), %ebp
movl %r13d, %ebx
subl 0x4(%rsp), %ebx
leaq 0x20(%rsp), %rdi
movl %ebx, %esi
callq 0x58990
movl %ebp, (%rax)
movq 0x8(%rsp), %rdi
movl %r13d, %esi
callq 0x58990
cmpl $0xa, (%rax)
je 0x923fd
movq 0x8(%rsp), %rdi
movl %r13d, %esi
callq 0x58990
cmpl $0x0, (%rax)
je 0x923fd
incl %r13d
jmp 0x92444
leaq 0x20(%rsp), %rdi
movl %ebx, %esi
callq 0x58990
movl $0x0, (%rax)
movl %r14d, %eax
subl 0x5d4(%r15), %eax
cmpl 0x14(%rsp), %eax
je 0x92642
movq 0x8(%rsp), %rdi
movl %r13d, %esi
callq 0x58990
cmpl $0x0, (%rax)
je 0x92642
incl %r13d
incl %r14d
movl %r13d, 0x4(%rsp)
movq 0x18(%rsp), %r12
movl 0x50(%rsp), %ebx
cmpl %ebx, %r13d
jne 0x923b0
jmp 0x92647
incl %r13d
movl %r13d, %ebp
movl 0x5c0(%r15), %r12d
movl 0x8(%rsp), %eax
cmpl %eax, %r12d
jg 0x924f8
decl %r12d
movl %r12d, %r13d
leal 0x1(%r13), %r12d
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0xa, (%rax)
je 0x924fb
movq %rbx, %rdi
movl %r13d, %esi
callq 0x58990
cmpl $0x20, (%rax)
je 0x924bf
movq %rbx, %rdi
movl %r13d, %esi
callq 0x58990
cmpl $0x9, (%rax)
je 0x924bf
movq %rbx, %rdi
movl %r13d, %esi
callq 0x58990
cmpl $0xa, (%rax)
jne 0x924ef
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0x20, (%rax)
je 0x924ef
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0x9, (%rax)
je 0x924ef
movq %rbx, %rdi
movl %r12d, %esi
callq 0x58990
cmpl $0xa, (%rax)
jne 0x924fb
movl 0x8(%rsp), %eax
cmpl %r12d, %eax
jne 0x92478
movl %eax, %r12d
movl $0x10, %edi
callq 0x57510
testb %al, %al
je 0x92527
movl 0x5c0(%r15), %esi
movl 0x5c8(%r15), %eax
cmpl $-0x1, %eax
je 0x9253c
cmpl %eax, %esi
jle 0x92545
movq %r15, %rdi
movl %eax, %esi
jmp 0x9252c
movq %r15, %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x56ae0
movq %r15, %rdi
movl %r12d, %esi
jmp 0x92556
movl %esi, 0x5c8(%r15)
jmp 0x92547
movl %eax, %esi
movq %r15, %rdi
movl %ebp, %edx
callq 0x56ae0
movq %r15, %rdi
movl %ebp, %esi
callq 0x58a30
jmp 0x9260d
movq %r14, %r12
movq %r12, %rdi
callq 0x56b50
subl 0x50(%rsp), %eax
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
movl %eax, %edx
callq 0x56b00
movl %eax, %ebx
movb $0x1, 0x5c5(%r15)
movl $0x10, %edi
callq 0x57510
addl 0x4(%rsp), %ebx
movl %ebx, %esi
testb %al, %al
je 0x925cb
movl 0x5c8(%r15), %esi
cmpl $-0x1, %esi
jne 0x925cb
cmpb $0x0, 0xcd(%r15)
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
je 0x925be
movl 0x5c0(%r15), %esi
cmpl $-0x1, %esi
cmovel %ebx, %esi
movl %esi, 0x5c8(%r15)
movq %r15, %rdi
movl %ebx, %edx
callq 0x56ae0
movq %r15, %rdi
movl %ebx, %esi
callq 0x58a30
movl $0x538, %edi            # imm = 0x538
cmpb $0x0, 0xcd(%r15)
jne 0x925fb
movb $0x1, 0xcd(%r15)
movl $0x4d8, %edi            # imm = 0x4D8
addq %r15, %rdi
callq 0x701aa
leaq 0x20(%rsp), %rdi
callq 0x59200
movq %r15, %rdi
movq 0x60(%rsp), %rsi
movl 0x3c(%rsp), %edx
movl 0x5c(%rsp), %ecx
callq 0x58220
movl %eax, %ebx
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x0, 0x4(%rsp)
xorl %r14d, %r14d
jmp 0x92647
movq 0x18(%rsp), %r12
subl 0x5d4(%r15), %r14d
cmpl 0x14(%rsp), %r14d
jne 0x92603
cmpl $0x0, 0x4(%rsp)
js 0x92603
movq %r12, %rdi
callq 0x56b50
subl 0x40(%rsp), %eax
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
movl %eax, %edx
callq 0x56b00
movl %eax, %ebx
addl 0x4(%rsp), %ebx
movl 0x5c8(%r15), %esi
movq %r15, %rdi
movl %ebx, %edx
callq 0x56ae0
movq %r15, %rdi
movl %ebx, %esi
callq 0x58a30
jmp 0x92603
jmp 0x926d7
jmp 0x926d7
jmp 0x926bc
jmp 0x926d7
jmp 0x926d7
jmp 0x926d7
jmp 0x926d7
jmp 0x926d7
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x59200
jmp 0x926bf
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x586c0
jmp 0x926e4
jmp 0x926d7
jmp 0x926d7
jmp 0x926d7
jmp 0x926d7
jmp 0x926d7
jmp 0x926d7
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x59200
movq %rbx, %rdi
callq 0x57090