// File: /workspace/github_cpp_makefile_star2_O3/dentiny[P]HTTP-Cache-Proxy/Proxy.cpp
// Function: Proxy::checkCaching(int, int, int, Request&)
bool checkCaching(int client_id, int client_fd, int server_fd, Request & request)
	{
		// (1) url not exist in the cache
		const std::string url = request.url;
		if(!cache.existsUrl(url))
		{
			std::string log_content = std::to_string(client_id) + ": not in cache";
			logger.log(log_content);
			return false;
		}
		Response response = cache.get(url);

		// (2) check expiration time
		// note: expiration time = response time + max-age 
		// if there's no no-cache mark in the response, and the response hasn't been expired, directly fetch it from cache
		time_t cur_time = time(NULL);
		if(cur_time <= response.expiration_time && !response.no_cache)
		{
			std::string log_content = std::to_string(client_id) + ": in cache, valid";
			logger.log(log_content);
			respondCached(client_fd, url);
			return true;
		}

		// (3) check e-tag
		// if these's etag, request If-None-Match tag to the web server
		// format: insert "If-None-Match: etag value" into the content 
		if(!response.etag.empty())
		{
			// write to log
			std::string log_content = std::to_string(client_id) + ": in cache, requires validation";
			logger.log(log_content);

			// create If-None-Match section
			std::string if_none_match = "\r\nIf-None-Match: " + response.etag;

			// insert the section into the request
			std::vector<char> content_to_send = insertSectionToContent(request.content, if_none_match);

			// resend and check the status code
			try
			{
				resendCheckStatus(client_id, client_fd, server_fd, content_to_send, url);
			}
			catch(std::exception & e)
			{
				throw e;
			}

			// has resolved re-validation, updated cache and resending
			return true;
		}

		// (4) check last-modified
		// if there's no etag, but there is last-modified
		else if(response.last_modified != 0)
		{
			// write to log
			std::string log_content = std::to_string(client_id) + ": in cache, requires validation";
			logger.log(log_content);

			// create If-Modified-Since section
  			std::string if_modified_since = "\r\nIf-Modified-Since: " + response.kv["Last-Modified"];

  			// insert the section into the request
  			std::vector<char> content_to_send = insertSectionToContent(request.content, if_modified_since);

  			// resend and check the status code
			try
			{
				resendCheckStatus(client_id, client_fd, server_fd, content_to_send, url);
			}
			catch(std::exception & e)
			{
				throw e;
			}

			// has resolved re-validation, updated cache and resending
			return true;
		}

		// convert expiration time to string
		tm * tm = localtime(&response.expiration_time);
		char * dt = asctime(tm);
		std::string expiration(dt);

		// write to log
		std::string log_content = std::to_string(client_id) + ": in cache, but expired at "  + expiration;
		logger.log(log_content);

		return false;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %r8, %r12
movl %ecx, 0x6c(%rsp)
movl %edx, %r15d
movl %esi, %r14d
movq %rdi, %rbx
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x60(%r8), %rsi
movq 0x68(%r8), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rbp
movq %rbp, %rdi
callq 0x3d20
leaq 0x250(%rbx), %r13
movq %r13, %rdi
movq %rbp, %rsi
callq 0x727c
testb %al, %al
je 0x5ee0
leaq 0xb0(%rsp), %rdi
leaq 0x70(%rsp), %rdx
movq %r13, %rsi
callq 0x72e6
xorl %edi, %edi
callq 0x32f0
cmpq 0x178(%rsp), %rax
jg 0x5e6b
cmpb $0x0, 0x169(%rsp)
je 0x5fbc
cmpq $0x0, 0x190(%rsp)
je 0x5f47
movl %r14d, %r13d
negl %r13d
cmovsl %r14d, %r13d
movl $0x1, %ebp
cmpl $0xa, %r13d
jb 0x61b3
movl $0x4, %ebp
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r13d, %ecx
cmpl $0x63, %ecx
jbe 0x61ac
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x61b1
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x61b3
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebp
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x5ea0
addl $-0x3, %ebp
jmp 0x61b3
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0x6032
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x6029
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x602f
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x6032
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x5f05
addl $-0x3, %r15d
jmp 0x6032
cmpq $0x0, 0x180(%rsp)
je 0x6120
movl %r14d, %r13d
negl %r13d
cmovsl %r14d, %r13d
movl $0x1, %ebp
cmpl $0xa, %r13d
jb 0x64b2
movl $0x4, %ebp
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r13d, %ecx
cmpl $0x63, %ecx
jbe 0x64ab
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x64b0
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x64b2
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %ebp
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x5f7c
addl $-0x3, %ebp
jmp 0x64b2
movl %r15d, %ebp
movl %r14d, %r15d
negl %r15d
cmovsl %r14d, %r15d
movl $0x1, %r12d
cmpl $0xa, %r15d
jb 0x63de
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x63d5
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x63db
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x63de
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x5fe7
addl $-0x3, %r12d
jmp 0x63de
addl $-0x2, %r15d
jmp 0x6032
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x20(%rsp), %rdi
movl $0x2d, %edx
callq 0x3390
movl %r14d, %edi
leaq 0x20(%rsp), %r14
addq (%r14), %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0x7195
leaq 0x7263(%rip), %rsi      # 0xd2d2
movq %r14, %rdi
callq 0x3550
leaq 0xc0(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x60a7
movq %rdx, 0xb0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc0(%rsp)
jmp 0x60ae
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0xb8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x60e0
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3340
addq $0x8, %rbx
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
callq 0x56f8
movq 0xb0(%rsp), %rdi
cmpq %r14, %rdi
je 0x6111
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3340
xorl %ebx, %ebx
leaq 0x80(%rsp), %r14
jmp 0x63a7
leaq 0x178(%rsp), %rdi
callq 0x3260
movq %rax, %rdi
callq 0x3140
leaq 0x20(%rsp), %rdi
movq %rsp, %rdx
movq %rax, %rsi
callq 0x39d6
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0x662e
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x6625
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x662b
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x662e
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x616a
addl $-0x3, %r15d
jmp 0x662e
addl $-0x2, %ebp
jmp 0x61b3
decl %ebp
movl %r15d, 0x44(%rsp)
movl %r14d, %r15d
shrl $0x1f, %r15d
leal (%r15,%rbp), %esi
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rdi
movl $0x2d, %edx
callq 0x3390
movl %r15d, %edi
movq %rsp, %r15
addq (%r15), %rdi
movl %ebp, %esi
movl %r13d, %edx
callq 0x7195
leaq 0x7100(%rip), %rsi      # 0xd2f3
movq %r15, %rdi
callq 0x3550
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x10(%rsp), %r13
je 0x6227
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x622e
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x625c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x8(%rbx), %rdi
leaq 0x20(%rsp), %rsi
callq 0x56f8
leaq 0x188(%rsp), %rdx
leaq 0x709a(%rip), %rsi      # 0xd313
movq %rsp, %rdi
callq 0x75d9
addq $0xc0, %r12
leaq 0x48(%rsp), %rdi
movq %rsp, %rcx
movq %rbx, %rsi
movq %r12, %rdx
callq 0x7662
leaq 0x48(%rsp), %r8
leaq 0x70(%rsp), %r9
movq %rbx, %rdi
movl %r14d, %esi
movl 0x44(%rsp), %edx
movl 0x6c(%rsp), %ecx
callq 0x774c
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x62cf
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x3340
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x62e5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x62fc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3340
movb $0x1, %bl
leaq 0x198(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x631f
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x130(%rsp), %rdi
callq 0x3fc2
leaq 0x118(%rsp), %r14
movq %r14, %rdi
callq 0x3f6e
movq -0x20(%r14), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x635d
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0xe8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
leaq 0x80(%rsp), %r14
je 0x6386
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x63a7
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x63c1
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3340
movl %ebx, %eax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addl $-0x2, %r12d
jmp 0x63de
decl %r12d
shrl $0x1f, %r14d
leal (%r12,%r14), %esi
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rsp, %rdi
movl $0x2d, %edx
callq 0x3390
movl %r14d, %edi
movq %rsp, %r14
addq (%r14), %rdi
movl %r12d, %esi
movl %r15d, %edx
callq 0x7195
leaq 0x6eca(%rip), %rsi      # 0xd2e1
movq %r14, %rdi
callq 0x3550
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6446
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x644d
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x647b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x8(%rbx), %rdi
leaq 0x20(%rsp), %rsi
callq 0x56f8
leaq 0x70(%rsp), %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7428
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
jne 0x62ef
jmp 0x62fc
addl $-0x2, %ebp
jmp 0x64b2
decl %ebp
movl %r15d, 0x44(%rsp)
movl %r14d, %r15d
shrl $0x1f, %r15d
leal (%r15,%rbp), %esi
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rdi
movl $0x2d, %edx
callq 0x3390
movl %r15d, %edi
movq %rsp, %r15
addq (%r15), %rdi
movl %ebp, %esi
movl %r13d, %edx
callq 0x7195
leaq 0x6e01(%rip), %rsi      # 0xd2f3
movq %r15, %rdi
callq 0x3550
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x10(%rsp), %rbp
je 0x6526
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x652d
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x655b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x8(%rbx), %rdi
leaq 0x20(%rsp), %rsi
callq 0x56f8
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x6dc2(%rip), %rsi      # 0xd33b
leaq 0x6dc8(%rip), %rdx      # 0xd348
leaq 0x48(%rsp), %rdi
callq 0x3c80
leaq 0x130(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xc38a
leaq 0x6d82(%rip), %rsi      # 0xd325
movq %rsp, %rdi
movq %rax, %rdx
callq 0x75d9
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x65c5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3340
addq $0xc0, %r12
leaq 0x48(%rsp), %rdi
movq %rsp, %rcx
movq %rbx, %rsi
movq %r12, %rdx
callq 0x7662
leaq 0x48(%rsp), %r8
leaq 0x70(%rsp), %r9
movq %rbx, %rdi
movl %r14d, %esi
movl 0x44(%rsp), %edx
movl 0x6c(%rsp), %ecx
callq 0x774c
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x6613
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x3340
movq (%rsp), %rdi
cmpq %rbp, %rdi
jne 0x62d8
jmp 0x62e5
addl $-0x2, %r15d
jmp 0x662e
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0xa0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x90(%rsp), %rdi
movl $0x2d, %edx
callq 0x3390
movl %r14d, %edi
leaq 0x90(%rsp), %r14
addq (%r14), %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0x7195
leaq 0x6cd5(%rip), %rsi      # 0xd349
movq %r14, %rdi
callq 0x3550
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x66a3
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x66aa
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
callq 0x30e0
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x66fb
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x6702
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x6731
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3340
movq 0x90(%rsp), %rdi
cmpq %r12, %rdi
je 0x674e
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3340
addq $0x8, %rbx
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x56f8
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x6773
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3340
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x678e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3340
xorl %ebx, %ebx
jmp 0x62fe
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x67e9
movq 0x10(%rsp), %rsi
jmp 0x67dc
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x67c7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x67c7
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r12, %rdi
je 0x67e9
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x67e9
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x693a
jmp 0x6964
jmp 0x6961
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x68ea
movq %rbx, %rdi
callq 0x3130
movl $0x8, %edi
callq 0x31a0
movq 0xb78e(%rip), %rcx      # 0x11fb8
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0xb798(%rip), %rsi      # 0x11fd0
movq 0xb7b1(%rip), %rdx      # 0x11ff0
movq %rax, %rdi
callq 0x34e0
jmp 0x68e2
movq %rax, %rbx
callq 0x34c0
jmp 0x68ea
jmp 0x690b
jmp 0x692d
jmp 0x692d
jmp 0x6949
jmp 0x6961
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x6964
jmp 0x695a
jmp 0x6961
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x6930
movq 0x58(%rsp), %rsi
jmp 0x6921
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x68ea
movq %rbx, %rdi
callq 0x3130
movl $0x8, %edi
callq 0x31a0
movq 0xb6f3(%rip), %rcx      # 0x11fb8
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0xb6fd(%rip), %rsi      # 0x11fd0
movq 0xb716(%rip), %rdx      # 0x11ff0
movq %rax, %rdi
callq 0x34e0
movq %rax, %rbx
callq 0x34c0
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x690e
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x3340
jmp 0x690e
movq %rax, %rdi
callq 0x3d15
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6930
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x6930
jmp 0x692d
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x6964
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x6964
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6964
movq 0x10(%rsp), %rsi
jmp 0x693f
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x3eec
jmp 0x69bf
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
jne 0x693a
jmp 0x6964
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
cmpq %r14, %rdi
je 0x69bf
movq 0xc0(%rsp), %rsi
jmp 0x69ae
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x69bf
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3340
jmp 0x69bf
jmp 0x69bc
jmp 0x69bc
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x69e1
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3340
movq %rbx, %rdi
callq 0x3510
nop