// File: /workspace/github_cpp_makefile_star2_O2/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 $0x78, %rsp
leaq 0xbeca(%rip), %r12      # 0x10378
movq (%r12), %rdi
leaq 0x6e0c(%rip), %rsi      # 0xb2c5
callq 0x97a6
movq (%r12), %rbx
movq 0xbaf7(%rip), %r13      # 0xffc0
movl (%r13), %esi
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq 0x6ce9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97b8
leaq 0x58(%rsp), %rdi
callq 0x3170
movq (%r12), %rdi
leaq 0x6dc9(%rip), %rsi      # 0xb2c3
callq 0x97a6
movq (%r12), %rdi
leaq 0x6dc7(%rip), %rsi      # 0xb2d1
callq 0x97a6
movq (%r12), %rbx
movq 0xba96(%rip), %r15      # 0xffb0
movl (%r15), %esi
leaq 0x38(%rsp), %r14
movq %r14, %rdi
callq 0x6ce9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97b8
leaq 0x38(%rsp), %rdi
callq 0x3170
movq (%r12), %rdi
leaq 0x6d79(%rip), %rsi      # 0xb2c3
callq 0x97a6
movl 0xbe1b(%rip), %eax      # 0x10370
movl %eax, 0xbe19(%rip)      # 0x10374
callq 0x40c3
movl %eax, 0xbe0a(%rip)      # 0x10370
movq (%r12), %rdi
leaq 0x6d6d(%rip), %rsi      # 0xb2de
callq 0x97a6
movq (%r12), %rbx
movl 0xbdf0(%rip), %esi      # 0x10370
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0x6ce9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x97b8
leaq 0x18(%rsp), %rdi
callq 0x3170
movq (%r12), %rdi
leaq 0x6d16(%rip), %rsi      # 0xb2c3
callq 0x97a6
callq 0x3530
movq 0xbd7a(%rip), %rdi      # 0x10338
movl (%r15), %edx
decl %edx
movl (%r13), %ecx
pushq $0x1
popq %r8
xorl %esi, %esi
callq 0x9e36
movl 0xbd98(%rip), %eax      # 0x10370
cmpq $0x5, %rax
ja 0x4f64
leaq 0x6a5b(%rip), %rcx      # 0xb044
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0xbd17(%rip), %rax      # 0x10310
subq 0xbd08(%rip), %rax      # 0x10308
shrq $0x3, %rax
leal (%rax,%rax,2), %esi
leal (%rax,%rax,2), %edx
incl %edx
movl (%r13), %ecx
movl (%r15), %eax
notl %esi
leal (%rax,%rsi), %r8d
addl $-0x2, %r8d
movq 0xbd34(%rip), %rax      # 0x10358
movq (%rax), %rdi
xorl %esi, %esi
callq 0x7eb0
movl 0xbd40(%rip), %eax      # 0x10374
cmpl 0xbd36(%rip), %eax      # 0x10370
je 0x4f64
leal -0x1(%rax), %ecx
cmpl $0x1, %ecx
ja 0x467d
movq 0xbd09(%rip), %rax      # 0x10358
movq 0x8(%rax), %rbx
testq %rbx, %rbx
je 0x4660
movq %rbx, %rdi
callq 0x7cbe
pushq $0x78
popq %rsi
movq %rbx, %rdi
callq 0x32d0
movq 0xbce6(%rip), %rax      # 0x10358
andq $0x0, 0x8(%rax)
movl 0xbcf7(%rip), %eax      # 0x10374
addl $-0x3, %eax
cmpl $0x2, %eax
ja 0x4f64
movq 0xbcc8(%rip), %rax      # 0x10358
movq 0x8(%rax), %rbx
testq %rbx, %rbx
je 0x46a1
movq %rbx, %rdi
callq 0x7cbe
pushq $0x78
popq %rsi
movq %rbx, %rdi
callq 0x32d0
movq 0xbca5(%rip), %rax      # 0x10358
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x46c4
movq %rbx, %rdi
callq 0x7cbe
pushq $0x78
popq %rsi
movq %rbx, %rdi
callq 0x32d0
movq 0xbc82(%rip), %rax      # 0x10358
movq 0x18(%rax), %rbx
testq %rbx, %rbx
je 0x46e7
movq %rbx, %rdi
callq 0x7cbe
pushq $0x78
popq %rsi
movq %rbx, %rdi
callq 0x32d0
movq 0xbc5f(%rip), %rax      # 0x10358
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
andq $0x0, 0x18(%rax)
jmp 0x4f64
movq 0xbbff(%rip), %rbp      # 0x10310
subq 0xbbf0(%rip), %rbp      # 0x10308
shrq $0x3, %rbp
leal 0x1(%rbp,%rbp,2), %r14d
movl (%r15), %eax
subl %r14d, %eax
pushq $0x4
popq %rcx
cltd
idivl %ecx
movl %eax, %r15d
leal -0x1(%r15), %ebx
movl (%r13), %r13d
movq 0xbc19(%rip), %rax      # 0x10358
movq (%rax), %rdi
xorl %esi, %esi
movl %r14d, %edx
movl %r13d, %ecx
movl %ebx, %r8d
callq 0x7eb0
movq 0xbbff(%rip), %rax      # 0x10358
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x4947
addl %r15d, %r14d
xorl %esi, %esi
movl %r14d, %edx
movl %r13d, %ecx
movl %ebx, %r8d
callq 0x7eb0
jmp 0x49b3
movq 0xbb8b(%rip), %rax      # 0x10310
subq 0xbb7c(%rip), %rax      # 0x10308
shrq $0x3, %rax
leal (%rax,%rax,2), %ebp
incl %ebp
movl (%r15), %eax
subl %ebp, %eax
pushq $0x2
popq %rcx
cltd
idivl %ecx
movl %eax, %ebx
movl (%r13), %r14d
movq 0xbbab(%rip), %rax      # 0x10358
movq (%rax), %rdi
xorl %esi, %esi
movl %ebp, %edx
movl %r14d, %ecx
movl %ebx, %r8d
callq 0x7eb0
movq 0xbb92(%rip), %rax      # 0x10358
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x49e5
movl %ebx, %edx
addl %ebp, %edx
xorl %esi, %esi
movl %r14d, %ecx
movl %ebx, %r8d
jmp 0x48bc
movq 0xbb25(%rip), %rax      # 0x10310
subq 0xbb16(%rip), %rax      # 0x10308
shrq $0x3, %rax
leal (%rax,%rax,2), %ebx
incl %ebx
movl (%r13), %eax
pushq $0x4
popq %rcx
cltd
idivl %ecx
movl %eax, %r13d
movl %eax, %r14d
decl %r14d
movl (%r15), %ebp
subl %ebx, %ebp
addl $-0x2, %ebp
movq 0xbb3b(%rip), %rax      # 0x10358
movq (%rax), %rdi
xorl %esi, %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x7eb0
movq 0xbb22(%rip), %rax      # 0x10358
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x4a4d
movl %r13d, %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x7eb0
jmp 0x4ab4
movq 0xbab1(%rip), %rax      # 0x10310
subq 0xbaa2(%rip), %rax      # 0x10308
shrq $0x3, %rax
leal (%rax,%rax,2), %ebx
incl %ebx
movl (%r13), %eax
pushq $0x2
popq %rcx
cltd
idivl %ecx
movl %eax, %ebp
decl %ebp
movl (%r15), %r14d
subl %ebx, %r14d
addl $-0x2, %r14d
movq 0xbaca(%rip), %rax      # 0x10358
movq (%rax), %rdi
xorl %esi, %esi
movl %ebx, %edx
movl %ebp, %ecx
movl %r14d, %r8d
callq 0x7eb0
movq 0xbab2(%rip), %rax      # 0x10358
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x4ae2
movl %ebp, %esi
movl %ebx, %edx
movl %ebp, %ecx
movl %r14d, %r8d
callq 0x7eb0
jmp 0x4b47
movq 0xba43(%rip), %r14      # 0x10310
subq 0xba34(%rip), %r14      # 0x10308
shrq $0x3, %r14
leal (%r14,%r14,2), %r12d
incl %r12d
movl (%r15), %eax
subl %r12d, %eax
pushq $0x2
popq %rcx
cltd
idivl %ecx
movl %eax, %r15d
leal -0x2(%r15), %ebx
movl (%r13), %eax
cltd
idivl %ecx
movl %eax, %r13d
movl %eax, %ebp
decl %ebp
movq 0xba51(%rip), %rax      # 0x10358
movq (%rax), %rdi
xorl %esi, %esi
movl %r12d, %edx
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x7eb0
movq 0xba38(%rip), %rax      # 0x10358
movq 0x8(%rax), %rdi
testq %rdi, %rdi
movl %r13d, 0xc(%rsp)
je 0x4bc0
movl %r13d, %esi
movl %r12d, %edx
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x7eb0
jmp 0x4c36
leaq 0xba3a(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x6993(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, 0xc(%rsp)
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r12
leaq 0xb99a(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl 0xc(%rsp), %esi
callq 0x7c40
movq 0xb9bf(%rip), %rax      # 0x10358
movq %r12, 0x8(%rax)
addl %r15d, %r14d
movq %r12, %rdi
xorl %esi, %esi
movl %r14d, %edx
movl %r13d, %ecx
movl %ebx, %r8d
callq 0x7d18
leal (%rbp,%rbp,2), %r12d
movq 0xb999(%rip), %rax      # 0x10358
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x4c63
leal (%r12,%rbx,2), %edx
addl $0x2, %edx
xorl %esi, %esi
movl %r13d, %ecx
movl %ebx, %r8d
callq 0x7eb0
jmp 0x4cce
leaq 0xb99c(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x68f5(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r15
leaq 0xb8fd(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r12d, %esi
callq 0x7c40
movq 0xb923(%rip), %rax      # 0x10358
movq %r15, 0x8(%rax)
movl %ebx, %edx
addl %ebp, %edx
movq %r15, %rdi
xorl %esi, %esi
movl %r14d, %ecx
movl %ebx, %r8d
jmp 0x4b42
leaq 0xb934(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x688d(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r15d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r12
leaq 0xb895(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r15d, %esi
callq 0x7c40
movq 0xb8bb(%rip), %rax      # 0x10358
movq %r12, 0x8(%rax)
movq %r12, %rdi
movl %r13d, %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x7d18
movq 0xb89d(%rip), %rax      # 0x10358
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x4cf9
leal 0x1(,%r14,2), %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x7eb0
jmp 0x4d65
leaq 0xb89f(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x67f8(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r15
leaq 0xb800(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r12d, %esi
callq 0x7c40
movq 0xb826(%rip), %rax      # 0x10358
movq %r15, 0x8(%rax)
movq %r15, %rdi
movl %ebp, %esi
movl %ebx, %edx
movl %ebp, %ecx
movl %r14d, %r8d
callq 0x7d18
movl 0xb827(%rip), %eax      # 0x10374
cmpl 0xb81d(%rip), %eax      # 0x10370
sete %cl
addl $-0x3, %eax
cmpl $0x3, %eax
setae %al
orb %cl, %al
jne 0x4f64
movq 0xb7ea(%rip), %rax      # 0x10358
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x4b7f
movq %rbx, %rdi
callq 0x7cbe
pushq $0x78
popq %rsi
movq %rbx, %rdi
callq 0x32d0
movq 0xb7c7(%rip), %rax      # 0x10358
movq 0x18(%rax), %rbx
testq %rbx, %rbx
je 0x4ba2
movq %rbx, %rdi
callq 0x7cbe
pushq $0x78
popq %rsi
movq %rbx, %rdi
callq 0x32d0
movq 0xb7a4(%rip), %rax      # 0x10358
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
jmp 0x4f64
movq %r15, 0x10(%rsp)
leaq 0xb7bc(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x6715(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r15d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r13
leaq 0xb71d(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r15d, %esi
callq 0x7c40
movq 0xb743(%rip), %rax      # 0x10358
movq %r13, 0x8(%rax)
movq %r13, %rdi
movl 0xc(%rsp), %r13d
movl %r13d, %esi
movl %r12d, %edx
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x7d18
movq 0x10(%rsp), %r15
leal (%r14,%r14,2), %r12d
movq 0xb717(%rip), %rax      # 0x10358
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x4d8c
leal (%r12,%r15), %edx
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x7eb0
jmp 0x4df8
leaq 0xb71e(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x6677(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x2
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r15d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r14
leaq 0xb67f(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r15d, %esi
callq 0x7c40
movq 0xb6a5(%rip), %rax      # 0x10358
movq %r14, 0x10(%rax)
leal (%r12,%rbx,2), %edx
addl $0x2, %edx
movq %r14, %rdi
xorl %esi, %esi
movl %r13d, %ecx
movl %ebx, %r8d
callq 0x7d18
movq 0xb683(%rip), %rax      # 0x10358
movq 0x18(%rax), %rdi
testq %rdi, %rdi
je 0x4e24
leal (%rbx,%rbx,2), %eax
leal (%r12,%rax), %edx
addl $0x2, %edx
xorl %esi, %esi
movl %r13d, %ecx
movl %ebx, %r8d
jmp 0x4e1a
leaq 0xb688(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x65e1(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x2
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r15
leaq 0xb5e9(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r12d, %esi
callq 0x7c40
movq 0xb60f(%rip), %rax      # 0x10358
movq %r15, 0x10(%rax)
leal 0x1(,%r14,2), %esi
movq %r15, %rdi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0x7d18
movq 0xb5ec(%rip), %rax      # 0x10358
movq 0x18(%rax), %rdi
testq %rdi, %rdi
je 0x4e92
leal (%r14,%r14,2), %esi
incl %esi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
jmp 0x4e1a
leaq 0xb5f5(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x654e(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x2
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r14d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r13
leaq 0xb556(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r14d, %esi
callq 0x7c40
movq 0xb57c(%rip), %rax      # 0x10358
movq %r13, 0x10(%rax)
leal (%r12,%r15), %edx
movq %r13, %rdi
xorl %esi, %esi
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x7d18
movl 0xc(%rsp), %r13d
movq 0xb559(%rip), %rax      # 0x10358
movq 0x18(%rax), %rdi
testq %rdi, %rdi
je 0x4ef9
addl %r15d, %r12d
movl %r13d, %esi
movl %r12d, %edx
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x7eb0
jmp 0x4f64
leaq 0xb55d(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x64b6(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x3
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r15d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r14
leaq 0xb4be(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r15d, %esi
callq 0x7c40
movq 0xb4e4(%rip), %rax      # 0x10358
movq %r14, 0x18(%rax)
leal (%rbx,%rbx,2), %eax
leal (%r12,%rax), %edx
addl $0x2, %edx
movq %r14, %rdi
xorl %esi, %esi
movl %r13d, %ecx
movl %ebx, %r8d
jmp 0x4f5f
leaq 0xb4ef(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x6448(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x3
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r12d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r15
leaq 0xb450(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r12d, %esi
callq 0x7c40
movq 0xb476(%rip), %rax      # 0x10358
movq %r15, 0x18(%rax)
leal (%r14,%r14,2), %esi
incl %esi
movq %r15, %rdi
movl %ebx, %edx
movl %r14d, %ecx
movl %ebp, %r8d
jmp 0x4f5f
leaq 0xb488(%rip), %rax      # 0x10388
movq (%rax), %rdi
leaq 0x63e1(%rip), %rsi      # 0xb2eb
callq 0x3120
pushq $0x3
popq %rsi
movq %rax, %rdi
callq 0x3300
movq %rax, %rdi
callq 0x3450
movl %eax, %r14d
pushq $0x78
popq %rdi
callq 0x32c0
movq %rax, %r13
leaq 0xb3e9(%rip), %rdx      # 0x10320
movq %rax, %rdi
movl %r14d, %esi
callq 0x7c40
movq 0xb40f(%rip), %rax      # 0x10358
movq %r13, 0x18(%rax)
addl %r15d, %r12d
movq %r13, %rdi
movl 0xc(%rsp), %esi
movl %r12d, %edx
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x7d18
movq 0xb3d5(%rip), %rdi      # 0x10340
testq %rdi, %rdi
je 0x4f75
callq 0x9d14
movl 0xb3f5(%rip), %eax      # 0x10370
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4f9f
jmp 0x4fae
jmp 0x4f94
jmp 0x4f9f
jmp 0x4fae
movq %rax, %rbx
pushq $0x78
popq %rsi
movq %r14, %rdi
jmp 0x4fc2
movq %rax, %rbx
pushq $0x78
popq %rsi
movq %r13, %rdi
jmp 0x4fc2
jmp 0x4fae
jmp 0x4fb9
movq %rax, %rbx
pushq $0x78
popq %rsi
movq %r15, %rdi
jmp 0x4fc2
movq %rax, %rbx
pushq $0x78
popq %rsi
movq %r12, %rdi
callq 0x32d0
jmp 0x4fea
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
jmp 0x4fe5
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
jmp 0x4fe5
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x3170
movq %rbx, %rdi
callq 0x3540