// File: /workspace/github_c_makefile_star2_O3/derhass[P]glx_hook/glx_hook.c
// Function: make_current
static void
make_current(GLXContext ctx, Display *dpy, GLXDrawable draw, GLXDrawable read)
{
	gl_context_t *glc;

	glc=(gl_context_t*)pthread_getspecific(ctx_current);
	if (glc) {
		/* old context */
		glc->flags &= ~GH_GL_CURRENT;
		GH_verbose(GH_MSG_DEBUG, "unbound context %p\n",glc->ctx);
	}
	
	if (ctx) {
		glc=find_ctx(ctx);

		if (glc == NULL) {
			GH_verbose(GH_MSG_WARNING, "app tried to make current non-existing context %p\n",ctx);
		} else {
			glc->draw=draw;
			glc->read=read;
			glc->flags |= GH_GL_CURRENT;
			GH_verbose(GH_MSG_DEBUG, "made current context %p\n",ctx);
			if (glc->flags & GH_GL_NEVER_CURRENT) {
				unsigned int ft_delay=get_envui("GH_FRAMETIME_DELAY", 10);
				unsigned int ft_frames=get_envui("GH_FRAMETIME_FRAMES", 1000);
				GH_frametime_mode ft_mode=(GH_frametime_mode)get_envi("GH_FRAMETIME", (int)GH_FRAMETIME_NONE);
				int latency=get_envi("GH_LATENCY", GH_LATENCY_NOP);
				int latency_manual_wait=get_envi("GH_LATENCY_MANUAL_WAIT", -1);
				unsigned int latency_gl_wait_timeout=get_envui("GH_LATENCY_GL_WAIT_TIMEOUT_USECS", 1000000);
				unsigned int latency_gl_wait_interval=get_envui("GH_LATENCY_GL_WAIT_USECS", 0);
				unsigned int latency_self_wait_interval=get_envui("GH_LATENCY_WAIT_USECS", 0);
				/* made current for the first time */
				glc->flags &= ~ GH_GL_NEVER_CURRENT;

				glc->swap_sleep_usecs=(useconds_t)get_envui("GH_SWAP_SLEEP_USECS",0);
				frametimes_init(&glc->frametimes, ft_mode, ft_delay, GH_FRAMETIME_COUNT, ft_frames, glc->num);
				frametimes_init_base(&glc->frametimes);
				latency_init(&glc->latency, latency, latency_manual_wait, latency_gl_wait_timeout, latency_gl_wait_interval, latency_self_wait_interval);
				swapbuffer_omission_init_gl(&glc->swapbuffer_omission);
				if (glc->inject_swapinterval != GH_SWAP_DONT_SET) {
					GH_GET_PTR_GL(glXSwapIntervalEXT);
					if (GH_glXSwapIntervalEXT) {
						GH_verbose(GH_MSG_INFO, "injecting swap interval: %d\n",
								glc->inject_swapinterval);
						GH_glXSwapIntervalEXT(dpy, glc->draw, glc->inject_swapinterval);
					} else {
						GH_GET_PTR_GL(glXSwapIntervalSGI);
						if (GH_glXSwapIntervalEXT) {
							GH_verbose(GH_MSG_INFO, "injecting swap interval: %d\n",
									glc->inject_swapinterval);
							GH_glXSwapIntervalSGI(glc->inject_swapinterval);
						}
					}
				}
				if (glc->flags & GH_GL_INJECT_DEBUG) {
					GH_GET_PTR_GL(glDebugMessageCallback);
					if (GH_glDebugMessageCallback) {
						GH_glDebugMessageCallback(GH_debug_callback, glc);
						GH_verbose(GH_MSG_INFO, "injecting debug callback [core]\n");
					} else {
						GH_GET_PTR_GL(glDebugMessageCallbackARB);
						if (GH_glDebugMessageCallbackARB) {
							GH_glDebugMessageCallbackARB(GH_debug_callback, glc);
							GH_verbose(GH_MSG_INFO, "injecting debug callback [ARB]\n");
						} else {
							GH_GET_PTR_GL(glDebugMessageCallbackKHR);
							if (GH_glDebugMessageCallbackKHR) {
								GH_glDebugMessageCallbackKHR(GH_debug_callback, glc);
								GH_verbose(GH_MSG_INFO, "injecting debug callback [KHR]\n");
							} else {
								GH_GET_PTR_GL(glDebugMessageCallbackAMD);
								if (GH_glDebugMessageCallbackAMD) {
									GH_glDebugMessageCallbackAMD(GH_debug_callback_AMD, glc);
									GH_verbose(GH_MSG_INFO, "injecting debug callback [AMD]\n");
								} else {
									GH_verbose(GH_MSG_WARNING, "failed ot iject debug message callback\n");
								}
							}
						}
					}
				}
			}
		}
	} else {
		glc=NULL;
	}

	pthread_setspecific(ctx_current, glc);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1038, %rsp           # imm = 0x1038
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r15
movl 0x6e92(%rip), %edi      # 0xb208
callq 0x2070
testq %rax, %rax
je 0x439a
andb $-0x2, 0x18(%rax)
movq (%rax), %rdx
leaq 0x3de4(%rip), %rsi      # 0x8172
movl $0x4, %edi
xorl %eax, %eax
callq 0x2cac
testq %r15, %r15
je 0x43eb
leaq 0x6eea(%rip), %rdi      # 0xb290
callq 0x21a0
movq 0x6f5e(%rip), %rbx      # 0xb310
testq %rbx, %rbx
je 0x43c2
cmpq %r15, (%rbx)
je 0x43f2
movq 0x28(%rbx), %rbx
jmp 0x43b2
leaq 0x6ec7(%rip), %rdi      # 0xb290
callq 0x2120
leaq 0x3db1(%rip), %rsi      # 0x8186
xorl %ebx, %ebx
movl $0x2, %edi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2cac
jmp 0x4f7d
xorl %ebx, %ebx
jmp 0x4f7d
leaq 0x6e97(%rip), %rdi      # 0xb290
callq 0x2120
movq %r13, 0x8(%rbx)
movq %r12, 0x10(%rbx)
orb $0x1, 0x18(%rbx)
leaq 0x3da8(%rip), %rsi      # 0x81b9
movl $0x4, %edi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2cac
testb $0x2, 0x18(%rbx)
je 0x4f7d
leaq 0x3da1(%rip), %rdi      # 0x81d2
movl $0xa, %esi
callq 0x6688
movl %eax, 0x10(%rsp)
leaq 0x3d9f(%rip), %rdi      # 0x81e5
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x6688
movl %eax, %r12d
leaq 0x3d9f(%rip), %rdi      # 0x81f9
xorl %esi, %esi
callq 0x5e3e
movl %eax, %r13d
leaq 0x3d9b(%rip), %rdi      # 0x8206
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x5e3e
movl %eax, %r15d
leaq 0x3d92(%rip), %rdi      # 0x8211
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x5e3e
movl %eax, 0x24(%rsp)
leaq 0x3d94(%rip), %rdi      # 0x8228
movl $0xf4240, %esi          # imm = 0xF4240
callq 0x6688
movl %eax, 0x20(%rsp)
leaq 0x3da0(%rip), %rdi      # 0x8249
xorl %esi, %esi
callq 0x6688
movl %eax, 0x1c(%rsp)
leaq 0x3da7(%rip), %rdi      # 0x8262
xorl %esi, %esi
callq 0x6688
movl %eax, 0x18(%rsp)
andb $-0x3, 0x18(%rbx)
leaq 0x3da7(%rip), %rdi      # 0x8278
xorl %esi, %esi
callq 0x6688
movl %eax, 0x810(%rbx)
movl 0x20(%rbx), %eax
movl %eax, 0x14(%rsp)
movl $0x0, 0x48(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%rbx)
cmpl $0x2, %r13d
movq %r14, 0x28(%rsp)
jb 0x47d9
leaq 0x6c67(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6dba(%rip)      # 0xb2d0
jne 0x4569
leaq 0x6c51(%rip), %rdi      # 0xb170
callq 0x2120
leaq 0x3953(%rip), %rdi      # 0x7e7e
callq 0x601b
movl %r15d, %ebp
movq %rax, %r15
leaq 0x3059(%rip), %rsi      # 0x7596
movl $0x4, %edi
leaq 0x3935(%rip), %rdx      # 0x7e7e
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
leaq 0x6c16(%rip), %rdi      # 0xb170
callq 0x21a0
movq %r15, 0x6d6a(%rip)      # 0xb2d0
movl %ebp, %r15d
leaq 0x6c00(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6d53(%rip)      # 0xb2d0
je 0x478b
leaq 0x6be6(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6d41(%rip)      # 0xb2d8
jne 0x45ea
leaq 0x6bd0(%rip), %rdi      # 0xb170
callq 0x2120
leaq 0x38f2(%rip), %rdi      # 0x7e9e
callq 0x601b
movl %r15d, %ebp
movq %rax, %r15
leaq 0x2fd8(%rip), %rsi      # 0x7596
movl $0x4, %edi
leaq 0x38d4(%rip), %rdx      # 0x7e9e
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
leaq 0x6b95(%rip), %rdi      # 0xb170
callq 0x21a0
movq %r15, 0x6cf1(%rip)      # 0xb2d8
movl %ebp, %r15d
leaq 0x6b7f(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6cda(%rip)      # 0xb2d8
je 0x4794
leaq 0x6b65(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6cc8(%rip)      # 0xb2e0
jne 0x466b
leaq 0x6b4f(%rip), %rdi      # 0xb170
callq 0x2120
leaq 0x3881(%rip), %rdi      # 0x7eae
callq 0x601b
movl %r15d, %ebp
movq %rax, %r15
leaq 0x2f57(%rip), %rsi      # 0x7596
movl $0x4, %edi
leaq 0x3863(%rip), %rdx      # 0x7eae
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
leaq 0x6b14(%rip), %rdi      # 0xb170
callq 0x21a0
movq %r15, 0x6c78(%rip)      # 0xb2e0
movl %ebp, %r15d
leaq 0x6afe(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6c61(%rip)      # 0xb2e0
je 0x479d
leaq 0x6ae4(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6c4f(%rip)      # 0xb2e8
jne 0x46ec
leaq 0x6ace(%rip), %rdi      # 0xb170
callq 0x2120
leaq 0x3810(%rip), %rdi      # 0x7ebe
callq 0x601b
movl %r15d, %ebp
movq %rax, %r15
leaq 0x2ed6(%rip), %rsi      # 0x7596
movl $0x4, %edi
leaq 0x37f2(%rip), %rdx      # 0x7ebe
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
leaq 0x6a93(%rip), %rdi      # 0xb170
callq 0x21a0
movq %r15, 0x6bff(%rip)      # 0xb2e8
movl %ebp, %r15d
leaq 0x6a7d(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6be8(%rip)      # 0xb2e8
je 0x47a6
leaq 0x6a63(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6bd6(%rip)      # 0xb2f0
jne 0x476c
leaq 0x6a4d(%rip), %r14      # 0xb170
movq %r14, %rdi
callq 0x2120
leaq 0x379b(%rip), %rdi      # 0x7ecd
callq 0x601b
movl %r15d, %ebp
movq %rax, %r15
leaq 0x2e52(%rip), %rsi      # 0x7596
movl $0x4, %edi
leaq 0x377d(%rip), %rdx      # 0x7ecd
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
movq %r14, %rdi
callq 0x21a0
movq %r15, 0x6b87(%rip)      # 0xb2f0
movl %ebp, %r15d
leaq 0x69fd(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6b70(%rip)      # 0xb2f0
jne 0x47d9
leaq 0x3744(%rip), %rdx      # 0x7ecd
jmp 0x47ad
leaq 0x36ec(%rip), %rdx      # 0x7e7e
jmp 0x47ad
leaq 0x3703(%rip), %rdx      # 0x7e9e
jmp 0x47ad
leaq 0x370a(%rip), %rdx      # 0x7eae
jmp 0x47ad
leaq 0x3711(%rip), %rdx      # 0x7ebe
leaq 0x36d7(%rip), %rsi      # 0x7e8b
movl $0x2, %edi
xorl %eax, %eax
callq 0x2cac
leaq 0x357e(%rip), %rsi      # 0x7d45
movl $0x2, %edi
xorl %eax, %eax
callq 0x2cac
movl $0x1, %r13d
leaq 0x30(%rbx), %rbp
movq %r12, %r14
testl %r12d, %r12d
je 0x48a7
movl 0x10(%rsp), %r12d
testl %r12d, %r12d
je 0x48ac
testl %r13d, %r13d
je 0x48ac
movl %r15d, 0xc(%rsp)
movl %r13d, 0x30(%rbx)
movl %r12d, 0x34(%rbx)
movl $0x2, 0x38(%rbx)
movq %r14, %r15
movl %r15d, 0x3c(%rbx)
leal 0x1(%r14), %eax
shlq $0x4, %rax
leaq (%rax,%rax,2), %rdi
callq 0x2130
movq %rax, 0x50(%rbx)
testq %rax, %rax
je 0x49e5
movl %r12d, %edi
shlq $0x6, %rdi
callq 0x2130
movq %rax, 0x40(%rbx)
testq %rax, %rax
je 0x49f6
leaq 0x351d(%rip), %rsi      # 0x7d76
movl $0x4, %edi
movl %r13d, %edx
movl %r12d, %ecx
movl $0x2, %r8d
xorl %eax, %eax
callq 0x2cac
movl %r12d, %eax
movl $0x1, %r13d
addl %r12d, %eax
je 0x48a0
movl %eax, %eax
shlq $0x5, %rax
xorl %ecx, %ecx
xorps %xmm0, %xmm0
movq 0x40(%rbx), %rdx
movups %xmm0, 0xc(%rdx,%rcx)
movups %xmm0, (%rdx,%rcx)
addq $0x20, %rcx
cmpq %rcx, %rax
jne 0x488a
movl 0xc(%rsp), %r15d
jmp 0x48ac
movl 0x10(%rsp), %r12d
testl %r14d, %r14d
je 0x4a16
testl %r12d, %r12d
je 0x4a16
testl %r13d, %r13d
je 0x4a16
cmpl $0x0, (%rbp)
movq 0x28(%rsp), %r14
je 0x4a2c
movl %r15d, 0xc(%rsp)
leaq 0x3569(%rip), %rdi      # 0x7e4b
callq 0x2030
testq %rax, %rax
leaq 0x356c(%rip), %rsi      # 0x7e5d
cmovneq %rax, %rsi
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movl 0x14(%rsp), %edx
callq 0x5e5e
leaq 0x356e(%rip), %rsi      # 0x7e7b
movq %r15, %rdi
callq 0x2150
movq %rax, 0x60(%rbx)
testq %rax, %rax
jne 0x492c
movq 0x66cb(%rip), %rax      # 0xaff0
movq (%rax), %rax
movq %rax, 0x60(%rbx)
movl (%rbp), %edx
testl %edx, %edx
movl 0xc(%rsp), %r15d
je 0x4a2c
movq 0x50(%rbx), %r13
movl 0x38(%rbx), %eax
imull 0x3c(%rbx), %eax
leaq (%rax,%rax,2), %rbp
leaq (,%rbp,8), %r15
addq %r13, %r15
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %r12
movups %xmm0, 0xc(%r12)
movaps %xmm0, (%r12)
movq %r12, %rdi
movq %r15, %rsi
callq 0x6842
movl 0x30(%rbx), %edx
movq %r12, %rdi
movq %r15, %rsi
callq 0x6842
cmpl $0x2, 0x38(%rbx)
jb 0x49b6
leaq 0x18(,%rbp,8), %rax
addq %r13, %rax
movl $0x1, %ecx
movq 0x10(%r15), %rdx
movq %rdx, 0x10(%rax)
movups (%r15), %xmm0
movups %xmm0, (%rax)
incq %rcx
movl 0x38(%rbx), %edx
addq $0x18, %rax
cmpq %rdx, %rcx
jb 0x4998
cmpl $0x0, 0x48(%rsp)
setne %cl
movq 0x6913(%rip), %rax      # 0xb2d8
testq %rax, %rax
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x49de
leaq 0x48(%rsp), %rsi
movl $0x1, %edi
callq *%rax
movl 0xc(%rsp), %r15d
jmp 0x4a2c
leaq 0x3410(%rip), %rsi      # 0x7dfc
movl $0x2, %edi
movl %r15d, %edx
jmp 0x4a05
leaq 0x33b7(%rip), %rsi      # 0x7db4
movl $0x2, %edi
movl %r12d, %edx
movl $0x2, %ecx
xorl %eax, %eax
callq 0x2cac
movl 0xc(%rsp), %r15d
xorl %eax, %eax
movq %rax, 0x50(%rbx)
movq %rax, 0x10(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
movq 0x28(%rsp), %r14
leaq 0x68(%rbx), %rdi
movl %r15d, %esi
movl 0x24(%rsp), %edx
movl 0x20(%rsp), %ecx
movl 0x1c(%rsp), %r8d
movl 0x18(%rsp), %r9d
callq 0x637c
cmpq $0x0, 0xb8(%rbx)
je 0x4d21
leaq 0x6711(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6864(%rip)      # 0xb2d0
jne 0x4ab7
leaq 0x66fb(%rip), %r15      # 0xb170
movq %r15, %rdi
callq 0x2120
leaq 0x33fa(%rip), %r12      # 0x7e7e
movq %r12, %rdi
callq 0x601b
movq %rax, %r13
leaq 0x2b00(%rip), %rsi      # 0x7596
movl $0x4, %edi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
movq %r15, %rdi
callq 0x21a0
movq %r13, 0x6819(%rip)      # 0xb2d0
leaq 0x66b2(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6805(%rip)      # 0xb2d0
je 0x4cba
leaq 0x6698(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x67f3(%rip)      # 0xb2d8
jne 0x4b30
leaq 0x6682(%rip), %r15      # 0xb170
movq %r15, %rdi
callq 0x2120
leaq 0x33a1(%rip), %r12      # 0x7e9e
movq %r12, %rdi
callq 0x601b
movq %rax, %r13
leaq 0x2a87(%rip), %rsi      # 0x7596
movl $0x4, %edi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
movq %r15, %rdi
callq 0x21a0
movq %r13, 0x67a8(%rip)      # 0xb2d8
leaq 0x6639(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6794(%rip)      # 0xb2d8
je 0x4cc3
leaq 0x661f(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6782(%rip)      # 0xb2e0
jne 0x4ba9
leaq 0x6609(%rip), %r15      # 0xb170
movq %r15, %rdi
callq 0x2120
leaq 0x3338(%rip), %r12      # 0x7eae
movq %r12, %rdi
callq 0x601b
movq %rax, %r13
leaq 0x2a0e(%rip), %rsi      # 0x7596
movl $0x4, %edi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
movq %r15, %rdi
callq 0x21a0
movq %r13, 0x6737(%rip)      # 0xb2e0
leaq 0x65c0(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6723(%rip)      # 0xb2e0
je 0x4ccc
leaq 0x65a6(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6711(%rip)      # 0xb2e8
jne 0x4c22
leaq 0x6590(%rip), %r15      # 0xb170
movq %r15, %rdi
callq 0x2120
leaq 0x32cf(%rip), %r12      # 0x7ebe
movq %r12, %rdi
callq 0x601b
movq %rax, %r13
leaq 0x2995(%rip), %rsi      # 0x7596
movl $0x4, %edi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
movq %r15, %rdi
callq 0x21a0
movq %r13, 0x66c6(%rip)      # 0xb2e8
leaq 0x6547(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x66b2(%rip)      # 0xb2e8
je 0x4cd5
leaq 0x652d(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x66a0(%rip)      # 0xb2f0
jne 0x4c9b
leaq 0x6517(%rip), %r15      # 0xb170
movq %r15, %rdi
callq 0x2120
leaq 0x3265(%rip), %r12      # 0x7ecd
movq %r12, %rdi
callq 0x601b
movq %rax, %r13
leaq 0x291c(%rip), %rsi      # 0x7596
movl $0x4, %edi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2cac
movq %r15, %rdi
callq 0x21a0
movq %r13, 0x6655(%rip)      # 0xb2f0
leaq 0x64ce(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6641(%rip)      # 0xb2f0
jne 0x4d21
leaq 0x3215(%rip), %rdx      # 0x7ecd
jmp 0x4cdc
leaq 0x31bd(%rip), %rdx      # 0x7e7e
jmp 0x4cdc
leaq 0x31d4(%rip), %rdx      # 0x7e9e
jmp 0x4cdc
leaq 0x31db(%rip), %rdx      # 0x7eae
jmp 0x4cdc
leaq 0x31e2(%rip), %rdx      # 0x7ebe
leaq 0x31a8(%rip), %rsi      # 0x7e8b
movl $0x2, %edi
xorl %eax, %eax
callq 0x2cac
leaq 0x365c(%rip), %rsi      # 0x8352
movl $0x2, %edi
xorl %eax, %eax
callq 0x2cac
movq $0x0, 0xb8(%rbx)
leaq 0x331c(%rip), %rdi      # 0x8030
xorl %esi, %esi
callq 0x5e3e
movl %eax, 0x98(%rbx)
xorl %eax, %eax
cmpl 0x1c(%rbx), %eax
jo 0x4df7
leaq 0x643d(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x64e8(%rip)      # 0xb228
jne 0x4d55
leaq 0x255e(%rip), %rdi      # 0x72a7
callq 0x3b35
movq %rax, 0x64d3(%rip)      # 0xb228
leaq 0x6414(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x64bf(%rip)      # 0xb228
je 0x4d96
movl 0x1c(%rbx), %edx
leaq 0x3517(%rip), %rsi      # 0x828c
movl $0x3, %edi
xorl %eax, %eax
callq 0x2cac
movq 0x64a0(%rip), %rax      # 0xb228
movq 0x8(%rbx), %rsi
movl 0x1c(%rbx), %edx
movq %r14, %rdi
callq *%rax
jmp 0x4df7
leaq 0x63d3(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6486(%rip)      # 0xb230
jne 0x4dbf
leaq 0x2507(%rip), %rdi      # 0x72ba
callq 0x3b35
movq %rax, 0x6471(%rip)      # 0xb230
leaq 0x63aa(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6455(%rip)      # 0xb228
je 0x4df7
movl 0x1c(%rbx), %edx
leaq 0x34ad(%rip), %rsi      # 0x828c
movl $0x3, %edi
xorl %eax, %eax
callq 0x2cac
movq 0x643e(%rip), %rax      # 0xb230
movl 0x1c(%rbx), %edi
callq *%rax
testb $0x8, 0x18(%rbx)
je 0x4f7d
leaq 0x6368(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x63eb(%rip)      # 0xb200
jne 0x4e2a
leaq 0x2376(%rip), %rdi      # 0x7194
callq 0x3b35
movq %rax, 0x63d6(%rip)      # 0xb200
leaq 0x633f(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x63c2(%rip)      # 0xb200
je 0x4e5f
movq 0x63b9(%rip), %rax      # 0xb200
leaq 0x290(%rip), %rdi       # 0x50de
movq %rbx, %rsi
callq *%rax
leaq 0x344f(%rip), %rsi      # 0x82a9
jmp 0x4f71
leaq 0x630a(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x639d(%rip)      # 0xb210
jne 0x4e88
leaq 0x2380(%rip), %rdi      # 0x71fc
callq 0x3b35
movq %rax, 0x6388(%rip)      # 0xb210
leaq 0x62e1(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x6374(%rip)      # 0xb210
je 0x4ebd
movq 0x636b(%rip), %rax      # 0xb210
leaq 0x232(%rip), %rdi       # 0x50de
movq %rbx, %rsi
callq *%rax
leaq 0x3412(%rip), %rsi      # 0x82ca
jmp 0x4f71
leaq 0x62ac(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x6347(%rip)      # 0xb218
jne 0x4ee6
leaq 0x235b(%rip), %rdi      # 0x7235
callq 0x3b35
movq %rax, 0x6332(%rip)      # 0xb218
leaq 0x6283(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x631e(%rip)      # 0xb218
je 0x4f18
movq 0x6315(%rip), %rax      # 0xb218
leaq 0x1d4(%rip), %rdi       # 0x50de
movq %rbx, %rsi
callq *%rax
leaq 0x33d4(%rip), %rsi      # 0x82ea
jmp 0x4f71
leaq 0x6251(%rip), %rdi      # 0xb170
callq 0x21a0
cmpq $0x0, 0x62f4(%rip)      # 0xb220
jne 0x4f41
leaq 0x2339(%rip), %rdi      # 0x726e
callq 0x3b35
movq %rax, 0x62df(%rip)      # 0xb220
leaq 0x6228(%rip), %rdi      # 0xb170
callq 0x2120
cmpq $0x0, 0x62cb(%rip)      # 0xb220
je 0x4f9d
movq 0x62c2(%rip), %rax      # 0xb220
leaq 0x4e3(%rip), %rdi       # 0x5448
movq %rbx, %rsi
callq *%rax
leaq 0x3399(%rip), %rsi      # 0x830a
movl $0x3, %edi
xorl %eax, %eax
callq 0x2cac
movl 0x6285(%rip), %edi      # 0xb208
movq %rbx, %rsi
callq 0x21b0
addq $0x1038, %rsp           # imm = 0x1038
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3386(%rip), %rsi      # 0x832a
movl $0x2, %edi
jmp 0x4f76