// File: /workspace/github_cpp_makefile_star2_O3/dentiny[P]HTTP-Cache-Proxy/Proxy.cpp
// Function: Proxy::handleRequest(int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void handleRequest(int client_id, int client_fd, const std::string & client_ip)
	{
		int server_fd = -1;
		Request request;

		try
		{
			// try to accept the request,
			// if an error occurs, throw the exception
			try
			{
				request = acceptRequest(client_fd);

				// record request to log
				std::string log_content = std::to_string(client_id) + ": " + request.httpAction + " from " + client_ip + " @ " + request.request_time;
				logger.log(log_content);
			}
			catch(std::exception & e)
			{
				throw e;
			}

			// try to connect server, and get the server fd
			// if an error occurs, throw the exception
			try
			{
				connectServer(request, server_fd);	
			}
			catch(std::exception & e)
			{
				throw e;
			}

			// handle specific http request
			try
			{
				std::string httpAction = request.httpAction;

				// record request to log, applied to GET, POST and CONNECT
				std::string log_content = std::to_string(client_id) + ": Requesting " + request.first_line + " from " + request.url;
				logger.log(log_content);

				if(httpAction == "CONNECT")
				{
					handleConnect(client_id, client_fd, server_fd, request);

					// write tunnel status to log
					std::string log_content = std::to_string(client_id) + ": Tunnel closed";
					logger.log(log_content); 
				}
				else if(httpAction == "GET")
				{
					// for GET http action, check caching first
					// if get return value true,
					// (1) either the cache is valid, has been sent by cache
					// (2) or the cache is invalid, needs to update the cache and resend it to client
					// anyway, the response has been sent to the client
					try
					{
						bool cacheValid = checkCaching(client_id, client_fd, server_fd, request);
						if(!cacheValid)
						{
							handleGetPost(client_id, client_fd, server_fd, request);
						}
					}
					catch(std::exception & e)
					{
						throw e;
					}
				}
				else if(httpAction == "POST")
				{
					std::cout << "begin post action" << std::endl;
					handleGetPost(client_id, client_fd, server_fd, request);
				}	
				else
				{
					throw ProxyException("Unknown HTTP request category");
				}

				// release client and server fd
				close(server_fd);
				close(client_fd);
			}
			catch(std::exception & e)
			{
				throw e;
			}
		}

		// when an exception happens, write the exception into log and quit the thread
		catch(std::exception & e)
		{
			// write exception into log
			std::string errMsg(e.what());
			std::string log_content = std::to_string(client_id) + ": ERROR " + errMsg;
			logger.log(log_content);

			// close the allocated resource
			close(client_fd);
			if(server_fd != -1) close(server_fd);
			return;
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp            # imm = 0x2A8
movq %rcx, %rbx
movl %edx, 0x74(%rsp)
movl %esi, %ebp
movq %rdi, %rsi
movl $0xffffffff, (%rsp)     # imm = 0xFFFFFFFF
leaq 0x1e0(%rsp), %rax
movq %rax, -0x10(%rax)
xorl %ecx, %ecx
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
leaq 0x200(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
leaq 0x220(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
leaq 0x240(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
leaq 0x260(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
leaq 0x280(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rcx, -0x8(%rax)
movb %cl, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movq %rcx, 0x20(%rax)
leaq 0xf8(%rsp), %rdi
movq %rsi, 0x48(%rsp)
movl %ebp, 0x4(%rsp)
callq 0x529e
leaq 0x1d0(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x54c0
leaq 0xf8(%rsp), %rdi
callq 0x553e
movl %ebp, %r15d
negl %r15d
cmovsl %ebp, %r15d
movl $0x1, %r14d
cmpl $0xa, %r15d
jb 0x42b3
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x42aa
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x42b0
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x42b3
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4277
addl $-0x3, %r14d
jmp 0x42b3
addl $-0x2, %r14d
jmp 0x42b3
decl %r14d
movl %ebp, %r12d
shrl $0x1f, %r12d
leal (%r14,%r12), %esi
leaq 0xc8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xb8(%rsp), %rdi
movl $0x2d, %edx
callq 0x3390
movl %r12d, %r13d
leaq 0xb8(%rsp), %rbp
movq (%rbp), %rdi
addq %r13, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0x7195
leaq 0x9038(%rip), %rsi      # 0xd338
movq %rbp, %rdi
callq 0x3550
leaq 0xa8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4338
movq %rdx, 0x98(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa8(%rsp)
jmp 0x433f
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x98(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x210(%rsp), %rsi
movq 0x218(%rsp), %rdx
callq 0x30e0
leaq 0x88(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x43a0
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x43a6
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x78(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8d41(%rip), %rsi      # 0xd10a
callq 0x3550
leaq 0x38(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x43f5
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x43fb
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x30e0
leaq 0x18(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x444a
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x4450
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8c9e(%rip), %rsi      # 0xd111
callq 0x3550
leaq 0x60(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x449f
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x44a5
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x50(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1d0(%rsp), %rsi
movq 0x1d8(%rsp), %rdx
callq 0x30e0
leaq 0x108(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4506
movq %rdx, 0xf8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x108(%rsp)
jmp 0x450d
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x100(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x4544
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4560
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x457c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x459e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x98(%rsp), %rdi
cmpq %rbp, %rdi
je 0x45bb
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x45e0
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x48(%rsp), %rax
leaq 0x8(%rax), %rbx
leaq 0xf8(%rsp), %rsi
movq %rbx, %rdi
callq 0x56f8
movq 0xf8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4616
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x1d0(%rsp), %rsi
movq %rsp, %rdx
movq 0x48(%rsp), %rdi
callq 0x57ac
leaq 0xf8(%rsp), %rdi
movq %r14, (%rdi)
movq 0x210(%rsp), %rsi
movq 0x218(%rsp), %rdx
addq %rsi, %rdx
callq 0x3d20
movl $0x1, %r14d
cmpl $0xa, %r15d
jb 0x46a4
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x469b
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x46a1
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x46a4
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4668
addl $-0x3, %r14d
jmp 0x46a4
addl $-0x2, %r14d
jmp 0x46a4
decl %r14d
leal (%r14,%r12), %esi
leaq 0x98(%rsp), %rdi
movq %rbp, (%rdi)
movl $0x2d, %edx
callq 0x3390
leaq 0x98(%rsp), %rbp
movq (%rbp), %rdi
addq %r13, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0x7195
leaq 0x8a37(%rip), %rsi      # 0xd115
movq %rbp, %rdi
callq 0x3550
leaq 0x88(%rsp), %rsi
movq %rsi, 0x78(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movl 0x74(%rsp), %ebp
leaq 0x108(%rsp), %r14
je 0x4720
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x4726
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x78(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x1f0(%rsp), %rsi
movq 0x1f8(%rsp), %rdx
callq 0x30e0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x477f
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x4785
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x8962(%rip), %rsi      # 0xd10a
callq 0x3550
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x47d5
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x47db
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x230(%rsp), %rsi
movq 0x238(%rsp), %rdx
callq 0x30e0
leaq 0x60(%rsp), %rsi
movq %rsi, 0x50(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4834
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x483a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x486e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x488a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x48ac
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x48d1
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0x56f8
leaq 0x883e(%rip), %rsi      # 0xd123
leaq 0xf8(%rsp), %rdi
callq 0x30d0
testl %eax, %eax
je 0x4998
leaq 0x883a(%rip), %rsi      # 0xd13b
leaq 0xf8(%rsp), %rdi
callq 0x30d0
testl %eax, %eax
je 0x4a04
leaq 0x8822(%rip), %rsi      # 0xd13f
leaq 0xf8(%rsp), %rdi
callq 0x30d0
testl %eax, %eax
jne 0x4b8d
movq 0xd687(%rip), %rbx      # 0x11fc0
leaq 0x8804(%rip), %rsi      # 0xd144
movl $0x11, %edx
movq %rbx, %rdi
callq 0x3380
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3310
movsbl %al, %esi
movq 0xd655(%rip), %rdi      # 0x11fc0
callq 0x3030
movq %rax, %rdi
callq 0x3230
movl (%rsp), %ecx
leaq 0x1d0(%rsp), %r8
movq 0x48(%rsp), %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
callq 0x69ea
jmp 0x4b26
movl (%rsp), %ecx
leaq 0x1d0(%rsp), %r8
movq 0x48(%rsp), %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
callq 0x59c4
movl $0x1, %r14d
cmpl $0xa, %r15d
jb 0x4a50
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x4a47
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4a4d
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4a50
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x49d1
addl $-0x3, %r14d
jmp 0x4a50
movl (%rsp), %ecx
leaq 0x1d0(%rsp), %r8
movq 0x48(%rsp), %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
callq 0x5dd8
testb %al, %al
jne 0x4b26
movl (%rsp), %ecx
leaq 0x1d0(%rsp), %r8
movq 0x48(%rsp), %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
callq 0x69ea
jmp 0x4b26
addl $-0x2, %r14d
jmp 0x4a50
decl %r14d
addl %r14d, %r12d
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
movq %r12, %rsi
movl $0x2d, %edx
callq 0x3390
leaq 0x28(%rsp), %r12
addq (%r12), %r13
movq %r13, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0x7195
leaq 0x86a0(%rip), %rsi      # 0xd12b
movq %r12, %rdi
callq 0x3550
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x108(%rsp), %r14
je 0x4ac3
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x4ac9
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4afd
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x56f8
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4b26
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3340
movl (%rsp), %edi
callq 0x3560
movl %ebp, %edi
callq 0x3560
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x4b51
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0xf8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4b6e
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x1d0(%rsp), %rdi
callq 0x553e
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x28, %edi
callq 0x31a0
movq %rax, %rbx
leaq 0xe8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x85a9(%rip), %rsi      # 0xd156
leaq 0x85bf(%rip), %rdx      # 0xd173
leaq 0xd8(%rsp), %rdi
callq 0x3c80
movb $0x1, %bpl
leaq 0xd8(%rsp), %rsi
movq %rbx, %rdi
callq 0x6a7c
xorl %ebp, %ebp
leaq 0xd12b(%rip), %rsi      # 0x11d08
leaq 0x1ee2(%rip), %rdx      # 0x6ac6
movq %rbx, %rdi
callq 0x34e0
jmp 0x5138
movq %rdx, %r12
movq %rax, %r15
movq 0xd8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4c14
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3340
testb %bpl, %bpl
jne 0x4c24
jmp 0x4f6c
movq %rdx, %r12
movq %rax, %r15
movq %rbx, %rdi
callq 0x3250
jmp 0x4f6c
movq %rdx, %r12
movq %rax, %r15
cmpl $0x1, %r12d
jne 0x4f6c
movq %r15, %rdi
callq 0x3130
movl $0x8, %edi
callq 0x31a0
movq 0xd35e(%rip), %rcx      # 0x11fb8
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0xd368(%rip), %rsi      # 0x11fd0
movq 0xd381(%rip), %rdx      # 0x11ff0
movq %rax, %rdi
callq 0x34e0
jmp 0x5138
movq %rdx, %r12
movq %rax, %r15
callq 0x34c0
jmp 0x4f6c
movq %rdx, %r12
movq %rax, %r15
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4f6c
movq 0x18(%rsp), %rsi
jmp 0x4cca
movq %rdx, %r12
movq %rax, %r15
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4f6c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4f6c
jmp 0x4f66
movq %rdx, %r12
movq %rax, %r15
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4d06
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4d06
movq %rdx, %r12
movq %rax, %r15
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4d2a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4d2a
movq %rdx, %r12
movq %rax, %r15
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x4d54
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4d54
movq %rdx, %r12
movq %rax, %r15
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f88
movq 0xa8(%rsp), %rsi
jmp 0x4f80
movq %rdx, %r12
movq %rax, %r15
jmp 0x4f88
movq %rdx, %r12
movq %rax, %r15
jmp 0x4fad
movq %rdx, %r12
movq %rax, %r15
cmpl $0x1, %r12d
jne 0x4fb7
movq %r15, %rdi
callq 0x3130
movl $0x8, %edi
callq 0x31a0
movq 0xd1ff(%rip), %rcx      # 0x11fb8
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0xd209(%rip), %rsi      # 0x11fd0
movq 0xd222(%rip), %rdx      # 0x11ff0
movq %rax, %rdi
callq 0x34e0
jmp 0x5138
movq %rdx, %r12
movq %rax, %r15
callq 0x34c0
jmp 0x4fb7
movq %rdx, %r12
movq %rax, %r15
movq 0xf8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f14
movq 0x108(%rsp), %rsi
jmp 0x4eed
movq %rdx, %r12
movq %rax, %r15
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x4e39
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4e39
movq %rdx, %r12
movq %rax, %r15
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x4e5d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4e5d
movq %rdx, %r12
movq %rax, %r15
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4e81
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4e81
movq %rdx, %r12
movq %rax, %r15
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x4eab
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4eab
movq %rdx, %r12
movq %rax, %r15
movq 0x98(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4ed0
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4ed0
movq %rdx, %r12
movq %rax, %r15
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f14
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x4f14
jmp 0x4f0e
movq %rdx, %r12
movq %rax, %r15
leaq 0xf8(%rsp), %rdi
callq 0x553e
jmp 0x4f14
movq %rdx, %r12
movq %rax, %r15
cmpl $0x1, %r12d
jne 0x4fb7
movq %r15, %rdi
callq 0x3130
movl $0x8, %edi
callq 0x31a0
movq 0xd081(%rip), %rcx      # 0x11fb8
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0xd08b(%rip), %rsi      # 0x11fd0
movq 0xd0a4(%rip), %rdx      # 0x11ff0
movq %rax, %rdi
callq 0x34e0
jmp 0x5138
movq %rdx, %r12
movq %rax, %r15
callq 0x34c0
jmp 0x4fb7
movq %rdx, %r12
movq %rax, %r15
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x4f88
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x4fad
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3340
cmpl $0x1, %r12d
je 0x5102
cmpl $0x1, %r12d
jne 0x51d2
movq %r15, %rdi
callq 0x3130
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq 0xf8(%rsp), %rdi
leaq 0x50(%rsp), %rdx
movq %rax, %rsi
callq 0x39d6
leaq 0x28(%rsp), %rdi
movl 0x4(%rsp), %esi
callq 0x5655
leaq 0x8178(%rip), %rsi      # 0xd174
leaq 0x28(%rsp), %rdi
callq 0x3550
leaq 0x18(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x502d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5033
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x50(%rsp), %rdi
leaq 0xf8(%rsp), %rdx
callq 0x55fb
movq 0x8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5078
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5093
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x48(%rsp), %rdi
addq $0x8, %rdi
leaq 0x50(%rsp), %rsi
callq 0x56f8
movl 0x74(%rsp), %edi
callq 0x3560
movl (%rsp), %edi
cmpl $-0x1, %edi
je 0x50bc
callq 0x3560
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50d7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x50f8
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3340
callq 0x34c0
jmp 0x4b6e
movq %r15, %rdi
callq 0x3130
movl $0x8, %edi
callq 0x31a0
movq 0xce9d(%rip), %rcx      # 0x11fb8
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0xcea7(%rip), %rsi      # 0x11fd0
movq 0xcec0(%rip), %rdx      # 0x11ff0
movq %rax, %rdi
callq 0x34e0
movq %rdx, %r12
movq %rax, %r15
callq 0x34c0
jmp 0x4fb7
movq %rax, %r15
jmp 0x51d2
movq %rax, %r15
movq 0x8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x516f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x516f
movq %rax, %r15
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51ac
movq 0x38(%rsp), %rsi
jmp 0x51a4
movq %rax, %r15
jmp 0x51ac
movq %rax, %r15
jmp 0x51cd
movq %rax, %r15
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51ac
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x51cd
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3340
callq 0x34c0
leaq 0x1d0(%rsp), %rdi
callq 0x553e
movq %r15, %rdi
callq 0x3510
movq %rax, %rdi
callq 0x3d15
nop