// File: /workspace/github_cpp_makefile_star2_O1/Stygain[P]bandwidth-monitor/src/main.cpp
// Function: resizeUI()
GraphMode resizeUI()
{
	logger->Log("New width: ");
	logger->Log(std::to_string(COLS));
	logger->Log("\n");

	logger->Log("New height: ");
	logger->Log(std::to_string(LINES));
	logger->Log("\n");

	gmLast = gm;
	gm = assessGraphUISize();
	logger->Log("GRAPH MODE: ");
	logger->Log(std::to_string((int)gm));
	logger->Log("\n");

	clear();

	footer->Resize(0, LINES-1, COLS, 1);


	switch (gm)
	{
		case GM_ONE:
		{
			int startXPos = 0;
			int startYPos = (interfaceRows.size() * 3) + 1;
			int width = COLS;
			int height = (LINES - startYPos - 2);
			graphs[0]->Resize(startXPos, startYPos, width, height);
			if (gmLast != gm)
			{
				if (gmLast == GM_TWO_WIDE || gmLast == GM_TWO_TALL)
				{
					delete graphs[1];
					graphs[1] = NULL;
				}
				if (gmLast == GM_FOUR_WIDE || gmLast == GM_FOUR_TALL || gmLast == GM_TWO_WIDE_TWO_TALL)
				{
					delete graphs[1];
					delete graphs[2];
					delete graphs[3];
					graphs[1] = NULL;
					graphs[2] = NULL;
					graphs[3] = NULL;
				}
			}
			break;
		}
		case GM_TWO_WIDE:
		{
			int startXPos = 0;
			int startYPos = (interfaceRows.size() * 3) + 1;
			int width = (int)(COLS / 2) - 1;
			int height = (LINES - startYPos - 2);
			graphs[0]->Resize(startXPos, startYPos, width, height);

			if (graphs[1] == NULL)
			{
				GraphType gt1 = (GraphType)settings->root["graphs"][1].asInt();
				graphs[1] = new Graph(gt1, &interfaces);
				graphs[1]->Create(startXPos + width, startYPos, width, height);
			}
			else
			{
				graphs[1]->Resize(startXPos + width, startYPos, width, height);
			}

			if (gmLast != gm)
			{
				if (gmLast == GM_FOUR_WIDE || gmLast == GM_FOUR_TALL || gmLast == GM_TWO_WIDE_TWO_TALL)
				{
					delete graphs[2];
					delete graphs[3];
					graphs[2] = NULL;
					graphs[3] = NULL;
				}
			}
			break;
		}
		case GM_TWO_TALL:
		{
			int startYPos = (interfaceRows.size() * 3) + 1;
			int startXPos = 0;
			int height = (int)((LINES - startYPos) / 2);
			int width = COLS;
			graphs[0]->Resize(startXPos, startYPos, width, height);

			if (graphs[1] == NULL)
			{
				GraphType gt1 = (GraphType)settings->root["graphs"][1].asInt();
				graphs[1] = new Graph(gt1, &interfaces);
				graphs[1]->Create(startXPos, startYPos + height, width, height);
			}
			else
			{
				graphs[1]->Resize(startXPos, startYPos + height, width, height);
			}

			if (gmLast != gm)
			{
				if (gmLast == GM_FOUR_WIDE || gmLast == GM_FOUR_TALL || gmLast == GM_TWO_WIDE_TWO_TALL)
				{
					delete graphs[2];
					delete graphs[3];
					graphs[2] = NULL;
					graphs[3] = NULL;
				}
			}
			break;
		}
		case GM_FOUR_WIDE:
		{
			int startXPos = 0;
			int startYPos = (interfaceRows.size() * 3) + 1;
			int width = (int)(COLS / 4) - 1;
			int height = LINES - startYPos - 2;
			graphs[0]->Resize(startXPos, startYPos, width, height);

			if (graphs[1] == NULL)
			{
				GraphType gt1 = (GraphType)settings->root["graphs"][1].asInt();
				graphs[1] = new Graph(gt1, &interfaces);
				graphs[1]->Create(startXPos + width + 1, startYPos, width, height);
			}
			else
			{
				graphs[1]->Resize(startXPos + width + 1, startYPos, width, height);
			}

			if (graphs[2] == NULL)
			{
				GraphType gt2 = (GraphType)settings->root["graphs"][2].asInt();
				graphs[2] = new Graph(gt2, &interfaces);
				graphs[2]->Create(startXPos + (width * 2) + 1, startYPos, width, height);
			}
			else
			{
				graphs[2]->Resize(startXPos + (width * 2) + 1, startYPos, width, height);
			}

			if (graphs[3] == NULL)
			{
				GraphType gt3 = (GraphType)settings->root["graphs"][3].asInt();
				graphs[3] = new Graph(gt3, &interfaces);
				graphs[3]->Create(startXPos + (width * 3) + 1, startYPos, width, height);
			}
			else
			{
				graphs[3]->Resize(startXPos + (width * 3) + 1, startYPos, width, height);
			}
			break;
		}
		case GM_FOUR_TALL:
		{
			int startYPos = (interfaceRows.size() * 3) + 1;
			int startXPos = 0;
			int height = (int)((LINES - startYPos) / 4) - 1;
			int width = COLS;
			graphs[0]->Resize(startXPos, startYPos, width, height);

			if (graphs[1] == NULL)
			{
				GraphType gt1 = (GraphType)settings->root["graphs"][1].asInt();
				graphs[1] = new Graph(gt1, &interfaces);
				graphs[1]->Create(startXPos, startYPos + height + 1, width, height);
			}
			else
			{
				graphs[1]->Resize(startXPos, startYPos + height + 1, width, height);
			}

			if (graphs[2] == NULL)
			{
				GraphType gt2 = (GraphType)settings->root["graphs"][2].asInt();
				graphs[2] = new Graph(gt2, &interfaces);
				graphs[2]->Create(startXPos, startYPos + (height * 2) + 1, width, height);
			}
			else
			{
				graphs[2]->Resize(startXPos, startYPos + (height * 2) + 1, width, height);
			}

			if (graphs[3] == NULL)
			{
				GraphType gt3 = (GraphType)settings->root["graphs"][3].asInt();
				graphs[3] = new Graph(gt3, &interfaces);
				graphs[3]->Create(startXPos, startYPos + (height * 3) + 1, width, height);
			}
			else
			{
				graphs[3]->Resize(startXPos, startYPos + (height * 3) + 1, width, height);
			}
			break;
		}
		case GM_TWO_WIDE_TWO_TALL:
		{
			int startYPos = (interfaceRows.size() * 3) + 1;
			int startXPos = 0;
			int height = (int)((LINES - startYPos) / 2) - 2;
			int width = (int)(COLS / 2) - 1;
			graphs[0]->Resize(startXPos, startYPos, width, height);

			if (graphs[1] == NULL)
			{
				GraphType gt1 = (GraphType)settings->root["graphs"][1].asInt();
				graphs[1] = new Graph(gt1, &interfaces);
				graphs[1]->Create(startXPos + width + 1, startYPos, width, height);
			}
			else
			{
				graphs[1]->Resize(startXPos + width + 1, startYPos, width, height);
			}

			if (graphs[2] == NULL)
			{
				GraphType gt2 = (GraphType)settings->root["graphs"][2].asInt();
				graphs[2] = new Graph(gt2, &interfaces);
				graphs[2]->Create(startXPos, startYPos + height + 1, width, height);
			}
			else
			{
				graphs[2]->Resize(startXPos, startYPos + height + 1, width, height);
			}

			if (graphs[3] == NULL)
			{
				GraphType gt3 = (GraphType)settings->root["graphs"][3].asInt();
				graphs[3] = new Graph(gt3, &interfaces);
				graphs[3]->Create(startXPos + width + 1, startYPos + height + 1, width, height);
			}
			else
			{
				graphs[3]->Resize(startXPos + width + 1, startYPos + height + 1, width, height);
			}
			break;
		}
	}

	if (selectionWindow != NULL)
	{
		selectionWindow->AutoResize();
	}

	return gm;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
leaq 0xb8eb(%rip), %rbx      # 0x10380
movq (%rbx), %rdi
leaq 0x7816(%rip), %rsi      # 0xc2b5
callq 0xa5cc
movq (%rbx), %rbx
movq 0xb50a(%rip), %rax      # 0xffb8
movl (%rax), %r12d
movl %r12d, %ebp
negl %ebp
cmovsl %r12d, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x4b0e
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x4b05
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4b0b
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4b0e
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4ad2
addl $-0x3, %r14d
jmp 0x4b0e
addl $-0x2, %r14d
jmp 0x4b0e
decl %r14d
shrl $0x1f, %r12d
movl %r12d, %esi
addl %r14d, %esi
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x48(%rsp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x3340
movq (%r15), %rdi
addq %r12, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x7a24
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa61a
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x4b65
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x32d0
leaq 0xb814(%rip), %rbx      # 0x10380
movq (%rbx), %rdi
leaq 0x773d(%rip), %rsi      # 0xc2b3
callq 0xa5cc
movq (%rbx), %rdi
leaq 0x773c(%rip), %rsi      # 0xc2c1
callq 0xa5cc
movq (%rbx), %rbx
movq 0xb414(%rip), %rax      # 0xffa8
movl (%rax), %r12d
movl %r12d, %ebp
negl %ebp
cmovsl %r12d, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x4bf4
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x4beb
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4bf1
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4bf4
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4bb8
addl $-0x3, %r14d
jmp 0x4bf4
addl $-0x2, %r14d
jmp 0x4bf4
decl %r14d
shrl $0x1f, %r12d
movl %r12d, %esi
addl %r14d, %esi
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x3340
movq (%r15), %rdi
addq %r12, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x7a24
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa61a
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x4c4b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x32d0
leaq 0xb72e(%rip), %rbx      # 0x10380
movq (%rbx), %rdi
leaq 0x7657(%rip), %rsi      # 0xc2b3
callq 0xa5cc
movl 0xb711(%rip), %eax      # 0x10378
movl %eax, 0xb70f(%rip)      # 0x1037c
callq 0x4342
movl %eax, 0xb700(%rip)      # 0x10378
movq (%rbx), %rdi
leaq 0x764c(%rip), %rsi      # 0xc2ce
callq 0xa5cc
movq (%rbx), %rbx
movl 0xb6e7(%rip), %r12d     # 0x10378
movl %r12d, %ebp
negl %ebp
cmovsl %r12d, %ebp
movl $0x1, %r14d
cmpl $0xa, %ebp
jb 0x4cee
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x4ce5
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4ceb
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4cee
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4cb2
addl $-0x3, %r14d
jmp 0x4cee
addl $-0x2, %r14d
jmp 0x4cee
decl %r14d
shrl $0x1f, %r12d
movl %r12d, %esi
addl %r14d, %esi
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x3340
movq (%r15), %rdi
addq %r12, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x7a24
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa61a
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
movq 0xb27b(%rip), %r14      # 0xffb8
movq 0xb264(%rip), %r12      # 0xffa8
je 0x4d53
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32d0
leaq 0xb626(%rip), %rax      # 0x10380
movq (%rax), %rdi
leaq 0x754f(%rip), %rsi      # 0xc2b3
callq 0xa5cc
callq 0x3540
movq 0xb5cb(%rip), %rdi      # 0x10340
movl (%r12), %edx
decl %edx
movl (%r14), %ecx
xorl %esi, %esi
movl $0x1, %r8d
callq 0xad8a
movl 0xb5e7(%rip), %eax      # 0x10378
cmpq $0x5, %rax
ja 0x574e
leaq 0x72a2(%rip), %rcx      # 0xc044
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0xb566(%rip), %rax      # 0x10318
subq 0xb557(%rip), %rax      # 0x10310
shrq $0x3, %rax
leal (%rax,%rax,2), %esi
leal (%rax,%rax,2), %edx
incl %edx
movl (%r14), %ecx
movl (%r12), %eax
notl %esi
leal (%rax,%rsi), %r8d
addl $-0x2, %r8d
movq 0xb583(%rip), %rax      # 0x10360
movq (%rax), %rdi
xorl %esi, %esi
callq 0x8a6e
movl 0xb58f(%rip), %eax      # 0x1037c
cmpl 0xb585(%rip), %eax      # 0x10378
je 0x574e
decl %eax
cmpl $0x1, %eax
ja 0x4e34
movq 0xb559(%rip), %rax      # 0x10360
movq 0x8(%rax), %rbx
testq %rbx, %rbx
je 0x4e25
movq %rbx, %rdi
callq 0x87d4
movl $0x78, %esi
movq %rbx, %rdi
callq 0x32d0
movq 0xb534(%rip), %rax      # 0x10360
movq $0x0, 0x8(%rax)
movl 0xb542(%rip), %eax      # 0x1037c
addl $-0x3, %eax
cmpl $0x2, %eax
ja 0x574e
movq 0xb513(%rip), %rax      # 0x10360
movq 0x8(%rax), %rbx
testq %rbx, %rbx
je 0x4e6b
movq %rbx, %rdi
callq 0x87d4
movl $0x78, %esi
movq %rbx, %rdi
callq 0x32d0
movq 0xb4ee(%rip), %rax      # 0x10360
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x4e90
movq %rbx, %rdi
callq 0x87d4
movl $0x78, %esi
movq %rbx, %rdi
callq 0x32d0
movq 0xb4c9(%rip), %rax      # 0x10360
movq 0x18(%rax), %rbx
testq %rbx, %rbx
je 0x4eb5
movq %rbx, %rdi
callq 0x87d4
movl $0x78, %esi
movq %rbx, %rdi
callq 0x32d0
movq 0xb4a4(%rip), %rax      # 0x10360
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movq $0x0, 0x18(%rax)
jmp 0x574e
movq 0xb441(%rip), %rax      # 0x10318
subq 0xb432(%rip), %rax      # 0x10310
shrq $0x3, %rax
leal (%rax,%rax,2), %r13d
leal (%rax,%rax,2), %edx
incl %edx
movl (%r12), %eax
subl %edx, %eax
leal 0x3(%rax), %r12d
testl %eax, %eax
cmovnsl %eax, %r12d
sarl $0x2, %r12d
leal -0x1(%r12), %ebx
movl (%r14), %ebp
movq 0xb452(%rip), %rax      # 0x10360
movq (%rax), %rdi
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x8a6e
movq 0xb43c(%rip), %rax      # 0x10360
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x511a
leal (%r12,%r13), %edx
incl %edx
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x8a6e
jmp 0x5187
movq 0xb3c9(%rip), %rax      # 0x10318
subq 0xb3ba(%rip), %rax      # 0x10310
shrq $0x3, %rax
leal (%rax,%rax,2), %ebp
incl %ebp
movl (%r12), %eax
subl %ebp, %eax
movl %eax, %ebx
shrl $0x1f, %ebx
addl %eax, %ebx
sarl %ebx
movl (%r14), %r14d
movq 0xb3e8(%rip), %rax      # 0x10360
movq (%rax), %rdi
xorl %esi, %esi
movl %ebp, %edx
movl %r14d, %ecx
movl %ebx, %r8d
callq 0x8a6e
movq 0xb3cf(%rip), %rax      # 0x10360
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x51b1
addl %ebx, %ebp
xorl %esi, %esi
movl %ebp, %edx
movl %r14d, %ecx
movl %ebx, %r8d
jmp 0x508b
movq 0xb362(%rip), %rax      # 0x10318
subq 0xb353(%rip), %rax      # 0x10310
shrq $0x3, %rax
movl (%r14), %ecx
leal 0x3(%rcx), %r15d
testl %ecx, %ecx
cmovnsl %ecx, %r15d
leal (%rax,%rax,2), %ebx
incl %ebx
sarl $0x2, %r15d
leal -0x1(%r15), %r14d
movl (%r12), %ebp
subl %ebx, %ebp
addl $-0x2, %ebp
movq 0xb375(%rip), %rax      # 0x10360
movq (%rax), %rdi
xorl %esi, %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x8a6e
movq 0xb35c(%rip), %rax      # 0x10360
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x521d
movl %r15d, %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x8a6e
jmp 0x5288
movq 0xb2eb(%rip), %rax      # 0x10318
subq 0xb2dc(%rip), %rax      # 0x10310
shrq $0x3, %rax
leal (%rax,%rax,2), %ebx
incl %ebx
movl (%r14), %eax
movl %eax, %ebp
shrl $0x1f, %ebp
addl %eax, %ebp
sarl %ebp
decl %ebp
movl (%r12), %r14d
subl %ebx, %r14d
addl $-0x2, %r14d
movq 0xb303(%rip), %rax      # 0x10360
movq (%rax), %rdi
xorl %esi, %esi
movl %ebx, %edx
movl %ebp, %ecx
movl %r14d, %r8d
callq 0x8a6e
movq 0xb2eb(%rip), %rax      # 0x10360
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x52b6
movl %ebp, %esi
movl %ebx, %edx
movl %ebp, %ecx
movl %r14d, %r8d
callq 0x8a6e
jmp 0x531f
movq 0xb27c(%rip), %r13      # 0x10318
subq 0xb26d(%rip), %r13      # 0x10310
shrq $0x3, %r13
leal 0x1(%r13,%r13,2), %r15d
movl (%r12), %eax
subl %r15d, %eax
movl %eax, %ebx
shrl $0x1f, %ebx
addl %eax, %ebx
sarl %ebx
leal -0x2(%rbx), %r12d
movl (%r14), %eax
movl %eax, %r14d
shrl $0x1f, %r14d
addl %eax, %r14d
sarl %r14d
leal -0x1(%r14), %ebp
movq 0xb285(%rip), %rax      # 0x10360
movq (%rax), %rdi
xorl %esi, %esi
movl %r15d, %edx
movl %ebp, %ecx
movl %r12d, %r8d
callq 0x8a6e
movq 0xb26c(%rip), %rax      # 0x10360
movq 0x8(%rax), %rdi
testq %rdi, %rdi
movl %r12d, (%rsp)
je 0x539c
movl %r14d, %esi
movl %r15d, %edx
movl %ebp, %ecx
movl %r12d, %r8d
callq 0x8a6e
jmp 0x540d
leaq 0xb26f(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x71b0(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x1, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r15d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r14
leaq 0xb1cc(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r15d, %esi
callq 0x873e
movq 0xb1f2(%rip), %rax      # 0x10360
movq %r14, 0x8(%rax)
leal (%r12,%r13), %edx
incl %edx
movq %r14, %rdi
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x8848
movq 0xb1d2(%rip), %rax      # 0x10360
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x543b
leal 0x2(%r13,%rbx,2), %edx
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x8a6e
jmp 0x54a7
leaq 0xb1d8(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x7119(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x1, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r15
leaq 0xb135(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r12d, %esi
callq 0x873e
movq 0xb15b(%rip), %rax      # 0x10360
movq %r15, 0x8(%rax)
addl %ebx, %ebp
movq %r15, %rdi
xorl %esi, %esi
movl %ebp, %edx
movl %r14d, %ecx
movl %ebx, %r8d
jmp 0x531a
leaq 0xb16c(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x70ad(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x1, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r13d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r12
leaq 0xb0c9(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r13d, %esi
callq 0x873e
movq 0xb0ef(%rip), %rax      # 0x10360
movq %r12, 0x8(%rax)
movq %r12, %rdi
movl %r15d, %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x8848
movq 0xb0d1(%rip), %rax      # 0x10360
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x54d1
leal 0x1(,%r14,2), %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x8a6e
jmp 0x5541
leaq 0xb0d3(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x7014(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x1, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r15
leaq 0xb030(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r12d, %esi
callq 0x873e
movq 0xb056(%rip), %rax      # 0x10360
movq %r15, 0x8(%rax)
movq %r15, %rdi
movl %ebp, %esi
movl %ebx, %edx
movl %ebp, %ecx
movl %r14d, %r8d
callq 0x8848
movl 0xb057(%rip), %eax      # 0x1037c
cmpl 0xb04d(%rip), %eax      # 0x10378
sete %cl
addl $-0x3, %eax
cmpl $0x3, %eax
setae %al
orb %cl, %al
jne 0x574e
movq 0xb01a(%rip), %rax      # 0x10360
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x5364
movq %rbx, %rdi
callq 0x87d4
movl $0x78, %esi
movq %rbx, %rdi
callq 0x32d0
movq 0xaff5(%rip), %rax      # 0x10360
movq 0x18(%rax), %rbx
testq %rbx, %rbx
je 0x5389
movq %rbx, %rdi
callq 0x87d4
movl $0x78, %esi
movq %rbx, %rdi
callq 0x32d0
movq 0xafd0(%rip), %rax      # 0x10360
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
jmp 0x574e
leaq 0xafed(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x6f2e(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x1, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, 0x4(%rsp)
movl $0x78, %edi
callq 0x32c0
movq %rax, %r12
leaq 0xaf49(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl 0x4(%rsp), %esi
callq 0x873e
movq 0xaf6e(%rip), %rax      # 0x10360
movq %r12, 0x8(%rax)
movq %r12, %rdi
movl %r14d, %esi
movl %r15d, %edx
movl %ebp, %ecx
movl (%rsp), %r12d
movl %r12d, %r8d
callq 0x8848
leal (%r13,%r13,2), %r15d
movq 0xaf47(%rip), %rax      # 0x10360
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x5568
leal (%r15,%rbx), %edx
xorl %esi, %esi
movl %ebp, %ecx
movl %r12d, %r8d
callq 0x8a6e
jmp 0x55d7
leaq 0xaf4e(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x6e8f(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x2, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r15d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r14
leaq 0xaeab(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r15d, %esi
callq 0x873e
movq 0xaed1(%rip), %rax      # 0x10360
movq %r14, 0x10(%rax)
leal 0x2(%r13,%rbx,2), %edx
movq %r14, %rdi
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x8848
movq 0xaeb2(%rip), %rax      # 0x10360
movq 0x18(%rax), %rdi
testq %rdi, %rdi
je 0x5603
leal (%rbx,%rbx,2), %eax
leal (%rax,%r13), %edx
addl $0x2, %edx
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
jmp 0x55f9
leaq 0xaeb8(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x6df9(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x2, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r15
leaq 0xae15(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r12d, %esi
callq 0x873e
movq 0xae3b(%rip), %rax      # 0x10360
movq %r15, 0x10(%rax)
leal 0x1(,%r14,2), %esi
movq %r15, %rdi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x8848
movq 0xae18(%rip), %rax      # 0x10360
movq 0x18(%rax), %rdi
testq %rdi, %rdi
je 0x5674
leal (%r14,%r14,2), %esi
incl %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
jmp 0x55f9
leaq 0xae21(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x6d62(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x2, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r13d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r12
leaq 0xad7e(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r13d, %esi
callq 0x873e
movq 0xada4(%rip), %rax      # 0x10360
movq %r12, 0x10(%rax)
leal (%r15,%rbx), %edx
movq %r12, %rdi
xorl %esi, %esi
movl %ebp, %ecx
movl (%rsp), %r12d
movl %r12d, %r8d
callq 0x8848
movq 0xad82(%rip), %rax      # 0x10360
movq 0x18(%rax), %rdi
testq %rdi, %rdi
je 0x56df
addl %ebx, %r15d
movl %r14d, %esi
movl %r15d, %edx
movl %ebp, %ecx
movl %r12d, %r8d
callq 0x8a6e
jmp 0x574e
leaq 0xad86(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x6cc7(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x3, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r15d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r14
leaq 0xace3(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r15d, %esi
callq 0x873e
movq 0xad09(%rip), %rax      # 0x10360
movq %r14, 0x18(%rax)
leal (%rbx,%rbx,2), %eax
leal (%rax,%r13), %edx
addl $0x2, %edx
movq %r14, %rdi
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
jmp 0x5749
leaq 0xad15(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x6c56(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x3, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r15
leaq 0xac72(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r12d, %esi
callq 0x873e
movq 0xac98(%rip), %rax      # 0x10360
movq %r15, 0x18(%rax)
leal (%r14,%r14,2), %esi
incl %esi
movq %r15, %rdi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
jmp 0x5749
leaq 0xacaa(%rip), %rax      # 0x10390
movq (%rax), %rdi
leaq 0x6beb(%rip), %rsi      # 0xc2db
callq 0x3130
movq %rax, %rdi
movl $0x3, %esi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r13d
movl $0x78, %edi
callq 0x32c0
movq %rax, %r12
leaq 0xac07(%rip), %rdx      # 0x10328
movq %rax, %rdi
movl %r13d, %esi
callq 0x873e
movq 0xac2d(%rip), %rax      # 0x10360
movq %r12, 0x18(%rax)
addl %ebx, %r15d
movq %r12, %rdi
movl %r14d, %esi
movl %r15d, %edx
movl %ebp, %ecx
movl (%rsp), %r8d
callq 0x8848
movq 0xabf3(%rip), %rdi      # 0x10348
testq %rdi, %rdi
je 0x575f
callq 0xac5e
movl 0xac13(%rip), %eax      # 0x10378
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5784
jmp 0x5791
jmp 0x579e
jmp 0x5784
jmp 0x5791
jmp 0x579e
jmp 0x5784
jmp 0x5791
movq %rax, %rbx
movl $0x78, %esi
movq %r12, %rdi
jmp 0x57e8
movq %rax, %rbx
movl $0x78, %esi
movq %r15, %rdi
jmp 0x57e8
movq %rax, %rbx
movl $0x78, %esi
movq %r14, %rdi
jmp 0x57e8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x57ed
movq 0x18(%rsp), %rsi
jmp 0x57e5
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x57ed
movq 0x38(%rsp), %rsi
jmp 0x57e5
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x57ed
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x32d0
movq %rbx, %rdi
callq 0x3550