// File: /workspace/github_c_makefile_star2_O1/jonof[P]jftekwar/jfbuild/src/mdsprite.c
// Function: voxload
voxmodel *voxload (const char *filnam)
{
	int is8bit, ret;
	voxmodel *vm;
	char *dot;

	dot = strrchr(filnam, '.'); if (!dot) return(0);
	     if (!strcasecmp(dot,".vox")) { ret = loadvox(filnam); is8bit = 1; }
	else if (!strcasecmp(dot,".kvx")) { ret = loadkvx(filnam); is8bit = 1; }
	else if (!strcasecmp(dot,".kv6")) { ret = loadkv6(filnam); is8bit = 0; }
	//else if (!strcasecmp(dot,".vxl")) { ret = loadvxl(filnam); is8bit = 0; }
	else return(0);
	if (ret >= 0) vm = vox2poly(); else vm = 0;
	if (vm)
	{
		vm->mdnum = 1; //VOXel model id
		vm->scale = vm->bscale = 1.0;
		vm->xsiz = xsiz; vm->ysiz = ysiz; vm->zsiz = zsiz;
		vm->xpiv = xpiv; vm->ypiv = ypiv; vm->zpiv = zpiv;
		vm->is8bit = is8bit;

		vm->texid = (unsigned int *)calloc(MAXPALOOKUPS,sizeof(unsigned int));
		if (!vm->texid) { voxfree(vm); vm = 0; }
	}
	if (shcntmal) { free(shcntmal); shcntmal = 0; }
	if (vbit) { free(vbit); vbit = 0; }
	if (vcol) { free(vcol); vcol = 0; vnum = 0; vmax = 0; }
	if (vcolhashead) { free(vcolhashead); vcolhashead = 0; }
	return(vm);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x498, %rsp            # imm = 0x498
movq %rdi, %rbx
movl $0x2e, %esi
callq 0x69e0
testq %rax, %rax
je 0x5f4ea
movq %rax, %r14
leaq 0x1ab89(%rip), %rsi     # 0x7a039
movq %rax, %rdi
callq 0x6880
testl %eax, %eax
je 0x5f4f1
leaq 0x1ab7b(%rip), %rsi     # 0x7a03e
movq %r14, %rdi
callq 0x6880
testl %eax, %eax
je 0x5f91a
leaq 0x1ab69(%rip), %rsi     # 0x7a043
movq %r14, %rdi
callq 0x6880
testl %eax, %eax
je 0x5fd0c
xorl %ebx, %ebx
jmp 0x60c26
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1ff50
testl %eax, %eax
js 0x6002a
movl %eax, %r12d
leaq 0x653b68(%rip), %rsi    # 0x6b3078
movl %eax, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x653b59(%rip), %rsi    # 0x6b307c
movl %r12d, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x653b49(%rip), %rsi    # 0x6b3080
movl %r12d, %edi
movl $0x4, %edx
callq 0x201c2
cvtsi2ssl 0x653b2c(%rip), %xmm0 # 0x6b3078
movss 0x19d54(%rip), %xmm1    # 0x792a8
mulss %xmm1, %xmm0
cvtsi2ssl 0x653b1c(%rip), %xmm2 # 0x6b307c
movss %xmm0, 0x653b1c(%rip)   # 0x6b3084
xorps %xmm0, %xmm0
cvtsi2ssl 0x653b0d(%rip), %xmm0 # 0x6b3080
mulss %xmm1, %xmm2
movss %xmm2, 0x653b09(%rip)   # 0x6b3088
mulss %xmm1, %xmm0
movss %xmm0, 0x653b01(%rip)   # 0x6b308c
movl %r12d, %edi
movl $0xfffffd00, %esi       # imm = 0xFFFFFD00
movl $0x2, %edx
callq 0x203a8
leaq 0xc(%rsp), %r14
xorl %ebx, %ebx
movl %r12d, %edi
movq %r14, %rsi
movl $0x3, %edx
callq 0x201c2
movzbl 0xc(%rsp), %eax
shll $0x12, %eax
movzbl 0xd(%rsp), %ecx
shll $0xa, %ecx
orl %eax, %ecx
movzbl 0xe(%rsp), %eax
leal (%rcx,%rax,4), %eax
addl %r15d, %eax
movl %eax, 0x90(%rsp,%rbx,4)
incq %rbx
addl $0x1000000, %r15d       # imm = 0x1000000
cmpq $0x100, %rbx            # imm = 0x100
jne 0x5f5a4
movl $0xffffffff, 0x48c(%rsp) # imm = 0xFFFFFFFF
movl $0x1fff, 0x653ab8(%rip) # imm = 0x1FFF
movl $0x8000, %edi           # imm = 0x8000
callq 0x69a0
movq %rax, 0x653a97(%rip)    # 0x6b30a8
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x5f912
movl $0x8000, %edx           # imm = 0x8000
movq %rax, %rdi
movl $0xff, %esi
callq 0x62f0
movslq 0x653a47(%rip), %r14    # 0x6b3080
movl 0x653a3d(%rip), %eax    # 0x6b307c
imull %r14d, %eax
movl %eax, 0x653a73(%rip)    # 0x6b30bc
imull 0x653a28(%rip), %eax    # 0x6b3078
addl $0x1f, %eax
sarl $0x3, %eax
movslq %eax, %r15
movq %r15, %rdi
callq 0x69a0
movq %rax, 0x653a30(%rip)    # 0x6b3098
testq %rax, %rax
je 0x5f912
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x62f0
movq %r14, %rdi
callq 0x69a0
testq %rax, %rax
je 0x5f912
movq %rax, %r14
xorl %ebx, %ebx
movl %r12d, %edi
movl $0xc, %esi
xorl %edx, %edx
callq 0x203a8
cmpl $0x0, 0x6539ce(%rip)    # 0x6b3078
jle 0x5f736
cmpl $0x0, 0x6539c5(%rip)    # 0x6b307c
jle 0x5f728
movl 0x6539fc(%rip), %r15d   # 0x6b30bc
imull %ebx, %r15d
xorl %ebp, %ebp
movl 0x6539b4(%rip), %edx    # 0x6b3080
movl %r12d, %edi
movq %r14, %rsi
callq 0x201c2
movslq 0x6539a2(%rip), %rax    # 0x6b3080
testq %rax, %rax
jle 0x5f717
movq 0x6539ae(%rip), %rdx    # 0x6b3098
leal -0x1(%r15), %esi
cmpb $-0x1, -0x1(%r14,%rax)
je 0x5f70a
leaq (%rsi,%rax), %rcx
movl $0x1, %edi
shll %cl, %edi
sarl $0x5, %ecx
movslq %ecx, %rcx
orl %edi, (%rdx,%rcx,4)
decq %rax
leaq 0x1(%rax), %rcx
cmpq $0x1, %rcx
jg 0x5f6ee
incl %ebp
addl 0x653960(%rip), %r15d   # 0x6b3080
cmpl 0x653956(%rip), %ebp    # 0x6b307c
jl 0x5f6c6
incl %ebx
cmpl 0x653948(%rip), %ebx    # 0x6b3078
jl 0x5f6b0
movl %r12d, %edi
movl $0xc, %esi
xorl %edx, %edx
callq 0x203a8
cmpl $0x0, 0x65392c(%rip)    # 0x6b3078
jle 0x5f907
xorl %r15d, %r15d
movl %r12d, 0x28(%rsp)
cmpl $0x0, 0x65391b(%rip)    # 0x6b307c
jle 0x5f8f7
movl 0x65394e(%rip), %r13d   # 0x6b30bc
imull %r15d, %r13d
xorl %ebp, %ebp
movl 0x653906(%rip), %edx    # 0x6b3080
movl %r12d, %edi
movq %r14, %rsi
callq 0x201c2
movl 0x6538f5(%rip), %eax    # 0x6b3080
testl %eax, %eax
jle 0x5f8de
testl %r15d, %r15d
setne %cl
testl %ebp, %ebp
setne %bl
andb %cl, %bl
movl %r13d, %ecx
movq %rcx, 0x10(%rsp)
leal -0x1(%r13), %ecx
movq %rcx, 0x20(%rsp)
xorb $0x1, %bl
xorl %r12d, %r12d
movzbl (%r14,%r12), %ecx
cmpq $0xff, %rcx
je 0x5f8cb
testq %r12, %r12
sete %dl
orb %bl, %dl
jne 0x5f8b7
movl 0x65389b(%rip), %edx    # 0x6b3078
decl %edx
cmpl %edx, %r15d
je 0x5f8b7
movl 0x65388e(%rip), %edx    # 0x6b307c
decl %edx
cmpl %edx, %ebp
sete %dl
leal -0x1(%rax), %esi
cmpq %rsi, %r12
sete %sil
orb %dl, %sil
jne 0x5f8b7
movq 0x653889(%rip), %rdx    # 0x6b3098
movl 0x6538a7(%rip), %esi    # 0x6b30bc
movq 0x10(%rsp), %rdi
addl %r12d, %edi
subl %esi, %edi
movl %edi, %r8d
sarl $0x5, %r8d
movslq %r8d, %r8
movl (%rdx,%r8,4), %r8d
btl %edi, %r8d
jae 0x5f8b7
movq 0x10(%rsp), %rdi
addl %r12d, %edi
addl %edi, %esi
movl %esi, %edi
sarl $0x5, %edi
movslq %edi, %rdi
movl (%rdx,%rdi,4), %edi
btl %esi, %edi
jae 0x5f8b7
movq 0x10(%rsp), %rsi
addl %r12d, %esi
subl %eax, %esi
movl %esi, %edi
sarl $0x5, %edi
movslq %edi, %rdi
movl (%rdx,%rdi,4), %edi
btl %esi, %edi
jae 0x5f8b7
movq 0x10(%rsp), %rsi
addl %r12d, %esi
addl %esi, %eax
movl %eax, %esi
sarl $0x5, %esi
movslq %esi, %rsi
movl (%rdx,%rsi,4), %esi
btl %eax, %esi
jae 0x5f8b7
movq 0x20(%rsp), %rax
addl %r12d, %eax
movl %eax, %esi
sarl $0x5, %esi
movslq %esi, %rsi
movl (%rdx,%rsi,4), %esi
btl %eax, %esi
jae 0x5f8b7
movq 0x10(%rsp), %rax
addl %r12d, %eax
incl %eax
movl %eax, %esi
sarl $0x5, %esi
movslq %esi, %rsi
movl (%rdx,%rsi,4), %edx
btl %eax, %edx
jb 0x5f8cb
movl 0x90(%rsp,%rcx,4), %ecx
movl %r15d, %edi
movl %ebp, %esi
movl %r12d, %edx
callq 0x6387c
incq %r12
movslq 0x6537ab(%rip), %rax    # 0x6b3080
cmpq %rax, %r12
jl 0x5f7b7
incl %ebp
addl %r13d, %eax
movl %eax, %r13d
cmpl 0x653790(%rip), %ebp    # 0x6b307c
movl 0x28(%rsp), %r12d
jl 0x5f774
incl %r15d
cmpl 0x653777(%rip), %r15d   # 0x6b3078
jl 0x5f75a
movq %r14, %rdi
callq 0x61c0
xorl %r13d, %r13d
movl %r12d, %edi
jmp 0x6003e
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1ff50
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
testl %eax, %eax
js 0x60043
movl %eax, %ebp
leaq 0x50(%rsp), %rsi
movl %eax, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x65372c(%rip), %rsi    # 0x6b3078
movl %ebp, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x65371d(%rip), %rsi    # 0x6b307c
movl %ebp, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x65370e(%rip), %rsi    # 0x6b3080
movl %ebp, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0xc(%rsp), %rbx
movl %ebp, %edi
movq %rbx, %rsi
movl $0x4, %edx
callq 0x201c2
cvtsi2ssl (%rbx), %xmm0
mulss 0x19932(%rip), %xmm0    # 0x792d0
movss %xmm0, 0x6536de(%rip)   # 0x6b3084
movl %ebp, %edi
movq %rbx, %rsi
movl $0x4, %edx
callq 0x201c2
xorps %xmm0, %xmm0
cvtsi2ssl (%rbx), %xmm0
mulss 0x1990c(%rip), %xmm0    # 0x792d0
movss %xmm0, 0x6536bc(%rip)   # 0x6b3088
movl %ebp, %edi
movq %rbx, %rsi
movl $0x4, %edx
callq 0x201c2
xorps %xmm0, %xmm0
cvtsi2ssl (%rbx), %xmm0
mulss 0x198e6(%rip), %xmm0    # 0x792d0
movss %xmm0, 0x65369a(%rip)   # 0x6b308c
movl 0x653680(%rip), %eax    # 0x6b3078
leal 0x4(,%rax,4), %esi
movl %ebp, %edi
movl $0x1, %edx
callq 0x203a8
movslq 0x65366a(%rip), %rax    # 0x6b307c
incq %rax
movq %rax, 0x40(%rsp)
leal (%rax,%rax), %r12d
movl 0x653653(%rip), %r14d   # 0x6b3078
imull %r12d, %r14d
movl %r14d, (%rbx)
movslq %r14d, %rdi
callq 0x69a0
testq %rax, %rax
je 0x6003c
movl %ebp, %edi
movq %rax, 0x20(%rsp)
movq %rax, %rsi
movl %r14d, %edx
callq 0x201c2
movl 0xc(%rsp), %eax
movl %eax, %ecx
sarl %ecx
sarl $0x1f, %eax
andl %ecx, %eax
decl %eax
movl %eax, 0xc(%rsp)
movl %ebp, %edi
movl $0xfffffd00, %esi       # imm = 0xFFFFFD00
movl $0x2, %edx
callq 0x203a8
movl $0x0, 0xc(%rsp)
leaq 0x4c(%rsp), %r14
movl %ebp, %edi
movq %r14, %rsi
movl $0x3, %edx
callq 0x201c2
movzbl 0x4c(%rsp), %eax
shll $0x12, %eax
movzbl 0x4d(%rsp), %ecx
shll $0xa, %ecx
orl %eax, %ecx
movzbl 0x4e(%rsp), %eax
leal (%rcx,%rax,4), %eax
movslq 0xc(%rsp), %rcx
movl %ecx, %edx
shll $0x18, %edx
addl %eax, %edx
leal 0x1(%rcx), %eax
movl %edx, 0x90(%rsp,%rcx,4)
movl %eax, 0xc(%rsp)
cmpq $0xff, %rcx
jl 0x5fa80
movl 0x6535ae(%rip), %eax    # 0x6b3080
imull 0x6535a3(%rip), %eax    # 0x6b307c
movl %eax, 0x6535dd(%rip)    # 0x6b30bc
movl 0x653592(%rip), %r14d   # 0x6b3078
imull %r14d, %eax
addl $0x1f, %eax
sarl $0x3, %eax
movl %eax, 0xc(%rsp)
movslq %eax, %r15
movq %r15, %rdi
callq 0x69a0
movq %rax, 0x653592(%rip)    # 0x6b3098
testq %rax, %rax
je 0x60032
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x62f0
movl 0x50(%rsp), %eax
sarl %eax
movl $0x1000, %edx           # imm = 0x1000
movl %edx, %ecx
leal (%rcx,%rcx), %edx
cmpl %eax, %ecx
jl 0x5fb27
leal -0x1(%rcx), %eax
movl %eax, 0x65357f(%rip)    # 0x6b30b8
movslq %ecx, %r15
shlq $0x2, %r15
movq %r15, %rdi
callq 0x69a0
movq %rax, 0x653559(%rip)    # 0x6b30a8
testq %rax, %rax
je 0x60032
movq %rax, %rdi
movl $0xff, %esi
movq %r15, %rdx
callq 0x62f0
addl $0x4, %r12d
imull %r12d, %r14d
addl $0x20, %r14d
movl %ebp, %edi
movl %r14d, %esi
xorl %edx, %edx
callq 0x203a8
movl %ebp, %edi
callq 0x204d2
movl %eax, %r15d
movl %ebp, %edi
callq 0x2059d
subl %eax, %r15d
movl %r15d, 0xc(%rsp)
movslq %r15d, %rdi
callq 0x69a0
testq %rax, %rax
je 0x60032
movl %ebp, %edi
movq %rax, 0x38(%rsp)
movq %rax, %rsi
movl %r15d, %edx
callq 0x201c2
movl %ebp, %edi
callq 0x20671
cmpl $0x0, 0x6534ae(%rip)    # 0x6b3078
jle 0x5fcf0
xorl %r15d, %r15d
movq 0x38(%rsp), %r14
cmpl $0x0, 0x65349d(%rip)    # 0x6b307c
jle 0x5fcdd
movl 0x6534d1(%rip), %eax    # 0x6b30bc
imull %r15d, %eax
movq %rax, 0x10(%rsp)
movq %r15, %rax
imulq 0x40(%rsp), %rax
movq 0x20(%rsp), %rcx
leaq (%rcx,%rax,2), %rax
movq %rax, 0x28(%rsp)
xorl %r12d, %r12d
movq 0x28(%rsp), %rcx
movzwl 0x2(%rcx,%r12,2), %eax
movzwl (%rcx,%r12,2), %ecx
movl %eax, %edx
subl %ecx, %edx
movl %edx, 0xc(%rsp)
cmpw %cx, %ax
je 0x5fcba
xorl %r13d, %r13d
movzbl (%r14), %ebp
movzbl 0x1(%r14), %ebx
testb $0x10, 0x2(%r14)
jne 0x5fc5c
movq 0x65344f(%rip), %rdi    # 0x6b3098
movq 0x10(%rsp), %rax
addl %eax, %r13d
leal (%rax,%rbp), %edx
movl %r13d, %esi
callq 0x6394e
addq $0x3, %r14
movl 0xc(%rsp), %eax
subl %ebx, %eax
addl $-0x3, %eax
movl %eax, 0xc(%rsp)
leal (%rbx,%rbp), %r13d
movq 0x653420(%rip), %rdi    # 0x6b3098
movq 0x10(%rsp), %rax
leal (%rax,%rbp), %esi
leal (%rax,%r13), %edx
callq 0x6394e
testl %ebx, %ebx
je 0x5fcaf
movzbl (%r14), %eax
incq %r14
movl 0x90(%rsp,%rax,4), %ecx
movl %r15d, %edi
movl %r12d, %esi
movl %ebp, %edx
callq 0x6387c
incl %ebp
cmpl %r13d, %ebp
jb 0x5fc8d
cmpl $0x0, 0xc(%rsp)
jne 0x5fc32
incq %r12
movq 0x10(%rsp), %rax
addl 0x6533b8(%rip), %eax    # 0x6b3080
movq %rax, 0x10(%rsp)
movslq 0x6533a8(%rip), %rax    # 0x6b307c
cmpq %rax, %r12
jl 0x5fc0e
incq %r15
movslq 0x653391(%rip), %rax    # 0x6b3078
cmpq %rax, %r15
jl 0x5fbd8
movq 0x38(%rsp), %rdi
callq 0x61c0
movq 0x20(%rsp), %rdi
callq 0x61c0
xorl %r13d, %r13d
jmp 0x60043
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1ff50
testl %eax, %eax
js 0x60c3b
movl %eax, %r15d
leaq 0xc(%rsp), %r14
movl %eax, %edi
movq %r14, %rsi
movl $0x4, %edx
callq 0x201c2
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
cmpl $0x6c78764b, (%r14)     # imm = 0x6C78764B
jne 0x60c83
leaq 0x653327(%rip), %rsi    # 0x6b3078
movl %r15d, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x653317(%rip), %rsi    # 0x6b307c
movl %r15d, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x653307(%rip), %rsi    # 0x6b3080
movl %r15d, %edi
movl $0x4, %edx
callq 0x201c2
leaq 0x4c(%rsp), %r14
movl %r15d, %edi
movq %r14, %rsi
movl $0x4, %edx
callq 0x201c2
movss (%r14), %xmm0
movss %xmm0, 0x6532dc(%rip)   # 0x6b3084
movl %r15d, %edi
movq %r14, %rsi
movl $0x4, %edx
callq 0x201c2
movss (%r14), %xmm0
movss %xmm0, 0x6532c3(%rip)   # 0x6b3088
movl %r15d, %edi
movq %r14, %rsi
movl $0x4, %edx
callq 0x201c2
movss (%r14), %xmm0
movss %xmm0, 0x6532aa(%rip)   # 0x6b308c
leaq 0x50(%rsp), %rsi
movl %r15d, %edi
movl $0x4, %edx
callq 0x201c2
movslq 0x65327d(%rip), %rbx    # 0x6b3078
movslq 0x65327a(%rip), %rdi    # 0x6b307c
imulq %rbx, %rdi
addq %rdi, %rdi
callq 0x69a0
testq %rax, %rax
je 0x60c83
movq %rax, %r12
movl 0x50(%rsp), %eax
shll $0x3, %eax
leal (%rax,%rbx,4), %esi
addl $0x20, %esi
movl %r15d, %edi
xorl %edx, %edx
callq 0x203a8
movl 0x653241(%rip), %edx    # 0x6b3078
imull 0x65323e(%rip), %edx    # 0x6b307c
addl %edx, %edx
movl %r15d, %edi
movq %r12, %rsi
callq 0x201c2
movl 0x653227(%rip), %eax    # 0x6b3078
imull 0x653224(%rip), %eax    # 0x6b307c
movl %eax, %ecx
sarl $0x1f, %ecx
andl %eax, %ecx
decl %ecx
movl %ecx, 0xc(%rsp)
movl %r15d, %edi
movl $0x20, %esi
xorl %edx, %edx
callq 0x203a8
movl 0x653206(%rip), %eax    # 0x6b3080
imull 0x6531fb(%rip), %eax    # 0x6b307c
movl %eax, 0x653235(%rip)    # 0x6b30bc
movl 0x6531eb(%rip), %ebx    # 0x6b3078
imull %ebx, %eax
addl $0x1f, %eax
sarl $0x3, %eax
movl %eax, 0xc(%rsp)
movslq %eax, %r14
movq %r14, %rdi
callq 0x69a0
movq %rax, 0x6531ec(%rip)    # 0x6b3098
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x60c7b
movq %rax, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x62f0
movl $0x1000, %edx           # imm = 0x1000
movl 0x50(%rsp), %ecx
movl %edx, %eax
leal (%rax,%rax), %edx
cmpl %ecx, %eax
jl 0x5fed1
leal -0x1(%rax), %ecx
movl %ecx, 0x6531d5(%rip)    # 0x6b30b8
movslq %eax, %r14
shlq $0x2, %r14
movq %r14, %rdi
callq 0x69a0
movq %rax, 0x6531af(%rip)    # 0x6b30a8
testq %rax, %rax
je 0x60c7b
movq %rax, %rdi
movl $0xff, %esi
movq %r14, %rdx
callq 0x62f0
testl %ebx, %ebx
jle 0x60c78
movq %r12, 0x10(%rsp)
movl %r15d, %ebx
xorl %ebp, %ebp
movl 0x653152(%rip), %eax    # 0x6b307c
testl %eax, %eax
jle 0x6000a
movl 0x653183(%rip), %r15d   # 0x6b30bc
imull %ebp, %r15d
xorl %r12d, %r12d
movl 0x653139(%rip), %r14d   # 0x6b3080
imull %ebp, %eax
addl %r12d, %eax
cltq
movq 0x10(%rsp), %rcx
movzwl (%rcx,%rax,2), %eax
movl %eax, 0xc(%rsp)
testl %eax, %eax
je 0x5fff1
movl %ebx, %edi
leaq 0x90(%rsp), %rsi
movl $0x8, %edx
callq 0x201c2
movzwl 0x94(%rsp), %r13d
testb $0x10, 0x96(%rsp)
jne 0x5ffa1
movq 0x653106(%rip), %rdi    # 0x6b3098
addl %r15d, %r14d
leal (%r15,%r13), %edx
movl %r14d, %esi
callq 0x6394e
leal (%r15,%r13), %ecx
movl $0x1, %eax
shll %cl, %eax
movq 0x6530e5(%rip), %rdx    # 0x6b3098
sarl $0x5, %ecx
movslq %ecx, %rcx
orl %eax, (%rdx,%rcx,4)
movl 0x90(%rsp), %ecx
movl $0xffffff, %eax         # imm = 0xFFFFFF
andl %eax, %ecx
movl %ebp, %edi
movl %r12d, %esi
movl %r13d, %edx
callq 0x6387c
incl %r13d
movl 0xc(%rsp), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rsp)
movl %r13d, %r14d
cmpl $0x1, %eax
jg 0x5ff64
incl %r12d
addl 0x653085(%rip), %r15d   # 0x6b3080
movl 0x65307b(%rip), %eax    # 0x6b307c
cmpl %eax, %r12d
jl 0x5ff40
incl %ebp
cmpl 0x653066(%rip), %ebp    # 0x6b3078
jl 0x5ff24
xorl %r13d, %r13d
xorl %ebp, %ebp
movl %ebx, %r15d
movq 0x10(%rsp), %r12
jmp 0x60c7b
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
jmp 0x60043
movq 0x20(%rsp), %rdi
callq 0x61c0
movl %ebp, %edi
callq 0x20671
movl $0x1, %ebp
testl %r13d, %r13d
js 0x60afb
movl $0x80, %edi
callq 0x69a0
movq %rax, 0x65305e(%rip)    # 0x6b30c0
testq %rax, %rax
je 0x60afb
movq %rax, %r14
movl %ebp, 0x34(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x70(%rax)
movups %xmm0, 0x60(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movl 0x652fde(%rip), %eax    # 0x6b3078
movl 0x652fdc(%rip), %ecx    # 0x6b307c
movl 0x652fda(%rip), %edx    # 0x6b3080
cmpl %ecx, %eax
setl %sil
cmpl %edx, %eax
setl %dil
cmpl %edx, %ecx
movl %edx, %r12d
cmovgl %ecx, %r12d
testb %dil, %sil
cmovel %r12d, %ecx
cmovnel %edx, %eax
cmpl %ecx, %eax
movl %ecx, %ebp
cmovgl %eax, %ebp
movl %ebp, 0x652ff6(%rip)    # 0x6b30c8
imull %ecx, %eax
shll $0x2, %eax
movslq %eax, %r15
movq %r15, %rdi
callq 0x69a0
movq %rax, 0x652fa6(%rip)    # 0x6b3090
testq %rax, %rax
je 0x60aff
movq %rax, %rbx
xorl %r13d, %r13d
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x62f0
notl %ebp
movslq %ebp, %rax
leaq (%rbx,%rax,4), %rax
movq %rax, 0x652fba(%rip)    # 0x6b30d0
movl %r13d, 0x652fbb(%rip)   # 0x6b30d8
movl %r13d, 0x652fb8(%rip)   # 0x6b30dc
movl %r13d, 0x652fb5(%rip)   # 0x6b30e0
cmpl $-0x1, 0x65303e(%rip)   # 0x6b3170
je 0x6015f
leaq 0x652fb5(%rip), %rax    # 0x6b30f0
xorl %ecx, %ecx
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
shll %cl, %edx
notl %edx
movl %edx, (%rax)
incq %rcx
addq $0x4, %rax
cmpq $0x20, %rcx
jne 0x6013d
movl $0xffffffff, 0x653011(%rip) # imm = 0xFFFFFFFF
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x38(%r14)
movdqu %xmm0, 0x2c(%r14)
leal (,%r12,4), %eax
leal 0x8(,%rax,2), %eax
movslq %eax, %rdi
callq 0x69a0
testq %rax, %rax
je 0x60aff
leal 0x4(,%r12,4), %ecx
movslq %ecx, %rcx
movq %rax, 0x28(%rsp)
addq %rax, %rcx
movq %rcx, 0x10(%rsp)
xorl %eax, %eax
xorl %ebp, %ebp
movq %rax, 0x60(%rsp)
testl %eax, %eax
leaq 0x38cc(%rip), %rcx      # 0x63a85
leaq 0x3828(%rip), %rax      # 0x639e8
cmoveq %rax, %rcx
movq %rcx, 0x20(%rsp)
movq 0x652ef0(%rip), %rax    # 0x6b30c0
movl $0x0, 0x28(%rax)
movl 0x652e9f(%rip), %eax    # 0x6b307c
movl 0x652e9d(%rip), %ecx    # 0x6b3080
cmpl %ecx, %eax
cmovgl %eax, %ecx
leal 0x4(,%rcx,4), %eax
movslq %eax, %rdx
movq 0x10(%rsp), %rdi
movl $0xff, %esi
callq 0x62f0
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x18(%rsp)
xorl %r14d, %r14d
cmpl $0x0, 0x652e67(%rip)    # 0x6b307c
jle 0x60330
movq 0x18(%rsp), %rax
notl %eax
shrl $0x1f, %eax
movq %rax, 0x38(%rsp)
xorl %r15d, %r15d
cmpl $0x0, 0x652e44(%rip)    # 0x6b3078
js 0x60320
movq 0x18(%rsp), %rax
addl %r15d, %eax
movl %eax, 0x40(%rsp)
xorl %r12d, %r12d
cmpl $0x0, 0x652e30(%rip)    # 0x6b3080
js 0x6030b
xorl %r13d, %r13d
movl %r14d, %ebx
movl %r12d, %edi
movl %r15d, %esi
movl %r13d, %edx
callq 0x641c0
testl %eax, %eax
je 0x60288
movl %r12d, %edi
movl 0x40(%rsp), %esi
movl %r13d, %edx
callq 0x641c0
xorl %r14d, %r14d
testl %eax, %eax
sete %r14b
jmp 0x6028b
xorl %r14d, %r14d
movq 0x10(%rsp), %rcx
movl (%rcx,%r13,4), %edx
testl %edx, %edx
js 0x602d5
cmpl %ebp, %edx
jne 0x602a1
cmpl %ebx, %r14d
jl 0x602d5
movq 0x28(%rsp), %rax
movl (%rax,%r13,4), %edi
movl %r15d, %esi
movl %r12d, %ecx
movl %r15d, %r8d
movl %edx, %r9d
pushq 0x38(%rsp)
pushq %r13
pushq %r15
pushq %r12
callq *0x40(%rsp)
movq 0x30(%rsp), %rcx
addq $0x20, %rsp
movl $0xffffffff, (%rcx,%r13,4) # imm = 0xFFFFFFFF
cmpl %ebx, %r14d
jle 0x602df
movl %r13d, %ebp
jmp 0x602f4
jge 0x602f4
cmpl %ebp, (%rcx,%r13,4)
je 0x602f4
movq 0x28(%rsp), %rax
movl %r12d, (%rax,%r13,4)
movl %ebp, (%rcx,%r13,4)
leaq 0x1(%r13), %rax
movslq 0x652d81(%rip), %rcx    # 0x6b3080
cmpq %rcx, %r13
movq %rax, %r13
jl 0x60259
leal 0x1(%r12), %eax
cmpl 0x652d61(%rip), %r12d   # 0x6b3078
movl %eax, %r12d
jl 0x60249
incl %r15d
cmpl 0x652d52(%rip), %r15d   # 0x6b307c
jl 0x6022d
movq 0x18(%rsp), %rcx
leal 0x2(%rcx), %eax
testl %ecx, %ecx
movq %rax, 0x18(%rsp)
js 0x6020e
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x18(%rsp)
cmpl $0x0, 0x652d2a(%rip)    # 0x6b3080
jle 0x6047b
movq 0x18(%rsp), %rax
notl %eax
shrl $0x1f, %eax
orl $0x2, %eax
movq %rax, 0x38(%rsp)
xorl %r15d, %r15d
cmpl $0x0, 0x652d00(%rip)    # 0x6b3078
js 0x6046b
movl %r15d, %eax
subl 0x18(%rsp), %eax
movl %eax, 0x40(%rsp)
xorl %r12d, %r12d
cmpl $0x0, 0x652ce9(%rip)    # 0x6b307c
js 0x60456
xorl %r13d, %r13d
movl %ebp, %ebx
movl %r14d, %ebp
movl %r12d, %edi
movl %r13d, %esi
movl %r15d, %edx
callq 0x641c0
testl %eax, %eax
je 0x603cd
movl %r12d, %edi
movl %r13d, %esi
movl 0x40(%rsp), %edx
callq 0x641c0
xorl %r14d, %r14d
testl %eax, %eax
sete %r14b
jmp 0x603d0
xorl %r14d, %r14d
movq 0x10(%rsp), %rcx
movl (%rcx,%r13,4), %esi
testl %esi, %esi
js 0x6041a
cmpl %ebx, %esi
jne 0x603e6
cmpl %ebp, %r14d
jl 0x6041a
movq 0x28(%rsp), %rax
movl (%rax,%r13,4), %edi
movl %r15d, %edx
movl %r12d, %ecx
movl %esi, %r8d
movl %r15d, %r9d
pushq 0x38(%rsp)
pushq %r15
pushq %r13
pushq %r12
callq *0x40(%rsp)
movq 0x30(%rsp), %rcx
addq $0x20, %rsp
movl $0xffffffff, (%rcx,%r13,4) # imm = 0xFFFFFFFF
cmpl %ebp, %r14d
jle 0x60424
movl %r13d, %ebp
jmp 0x6043f
jge 0x6043d
movl %ebx, %ebp
cmpl %ebx, (%rcx,%r13,4)
je 0x6043f
movq 0x28(%rsp), %rax
movl %r12d, (%rax,%r13,4)
movl %ebp, (%rcx,%r13,4)
jmp 0x6043f
movl %ebx, %ebp
leaq 0x1(%r13), %rax
movslq 0x652c32(%rip), %rcx    # 0x6b307c
cmpq %rcx, %r13
movq %rax, %r13
jl 0x6039c
leal 0x1(%r12), %eax
cmpl 0x652c16(%rip), %r12d   # 0x6b3078
movl %eax, %r12d
jl 0x6038c
incl %r15d
cmpl 0x652c0b(%rip), %r15d   # 0x6b3080
jl 0x60371
movq 0x18(%rsp), %rcx
leal 0x2(%rcx), %eax
testl %ecx, %ecx
movq %rax, 0x18(%rsp)
js 0x6034f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x18(%rsp)
cmpl $0x0, 0x652bd7(%rip)    # 0x6b3078
jle 0x605c6
movq 0x18(%rsp), %rax
notl %eax
shrl $0x1f, %eax
orl $0x4, %eax
movq %rax, 0x38(%rsp)
xorl %r15d, %r15d
cmpl $0x0, 0x652bb9(%rip)    # 0x6b307c
js 0x605b6
movl %r15d, %eax
subl 0x18(%rsp), %eax
movl %eax, 0x40(%rsp)
xorl %r12d, %r12d
cmpl $0x0, 0x652ba2(%rip)    # 0x6b3080
js 0x605a1
xorl %r13d, %r13d
movl %ebp, %ebx
movl %r14d, %ebp
movl %r15d, %edi
movl %r12d, %esi
movl %r13d, %edx
callq 0x641c0
testl %eax, %eax
je 0x60518
movl 0x40(%rsp), %edi
movl %r12d, %esi
movl %r13d, %edx
callq 0x641c0
xorl %r14d, %r14d
testl %eax, %eax
sete %r14b
jmp 0x6051b
xorl %r14d, %r14d
movq 0x10(%rsp), %rcx
movl (%rcx,%r13,4), %edx
testl %edx, %edx
js 0x60565
cmpl %ebx, %edx
jne 0x60531
cmpl %ebp, %r14d
jl 0x60565
movq 0x28(%rsp), %rax
movl (%rax,%r13,4), %esi
movl %r15d, %edi
movl %r15d, %ecx
movl %r12d, %r8d
movl %edx, %r9d
pushq 0x38(%rsp)
pushq %r13
pushq %r12
pushq %r15
callq *0x40(%rsp)
movq 0x30(%rsp), %rcx
addq $0x20, %rsp
movl $0xffffffff, (%rcx,%r13,4) # imm = 0xFFFFFFFF
cmpl %ebp, %r14d
jle 0x6056f
movl %r13d, %ebp
jmp 0x6058a
jge 0x60588
movl %ebx, %ebp
cmpl %ebx, (%rcx,%r13,4)
je 0x6058a
movq 0x28(%rsp), %rax
movl %r12d, (%rax,%r13,4)
movl %ebp, (%rcx,%r13,4)
jmp 0x6058a
movl %ebx, %ebp
leaq 0x1(%r13), %rax
movslq 0x652aeb(%rip), %rcx    # 0x6b3080
cmpq %rcx, %r13
movq %rax, %r13
jl 0x604e7
leal 0x1(%r12), %eax
cmpl 0x652acf(%rip), %r12d   # 0x6b307c
movl %eax, %r12d
jl 0x604d7
incl %r15d
cmpl 0x652ab8(%rip), %r15d   # 0x6b3078
jl 0x604bc
movq 0x18(%rsp), %rcx
leal 0x2(%rcx), %eax
testl %ecx, %ecx
movq %rax, 0x18(%rsp)
js 0x6049a
movq 0x60(%rsp), %rcx
testl %ecx, %ecx
jne 0x60ac5
movq 0x652ad1(%rip), %r15    # 0x6b30c0
movslq 0x28(%r15), %rdi
shlq $0x2, %rdi
callq 0x69a0
movq %rax, 0x652b75(%rip)    # 0x6b3178
testq %rax, %rax
je 0x60c66
movslq 0x652ac9(%rip), %rcx    # 0x6b30dc
testq %rcx, %rcx
je 0x6068d
movslq 0x652ac1(%rip), %rdx    # 0x6b30e0
movq 0x652aaa(%rip), %rsi    # 0x6b30d0
movslq 0x652a9b(%rip), %rdi    # 0x6b30c8
addq $0x2, %rax
xorl %r13d, %r13d
movq %rcx, %r8
cmpq %rdx, %r8
jg 0x60686
movq %r8, %r9
imulq %rdi, %r9
leaq (%rsi,%r9,4), %r9
movq %rdx, %r10
movl (%r9,%r10,4), %r11d
movl %r13d, (%r9,%r10,4)
testl %r11d, %r11d
jle 0x6067a
movslq %r13d, %rbx
leaq (%rax,%rbx,4), %rbx
addl %r11d, %r13d
incl %r11d
movw %r10w, -0x2(%rbx)
movw %r8w, (%rbx)
addq $0x4, %rbx
decl %r11d
cmpl $0x1, %r11d
jg 0x60664
leaq -0x1(%r10), %r11
cmpq %r8, %r10
movq %r11, %r10
jg 0x6064a
decq %r8
jne 0x60637
jmp 0x60690
xorl %r13d, %r13d
movl 0x652a4a(%rip), %eax    # 0x6b30e0
addl $0x2, %eax
movl $0x20, %esi
movl %esi, %edx
leal (%rdx,%rdx), %esi
cmpl %eax, %edx
jl 0x6069e
movl %edx, 0x50(%r15)
addl $0x2, %ecx
movl $0x20, %edx
movl %edx, %eax
leal (%rax,%rax), %edx
cmpl %ecx, %eax
jl 0x606b3
movl %eax, 0x54(%r15)
movl %r13d, %eax
movq %rax, 0x68(%rsp)
movl %ebp, 0x58(%rsp)
movl %r13d, 0x54(%rsp)
movq 0x6529e8(%rip), %r15    # 0x6b30c0
movl 0x50(%r15), %ecx
movl 0x54(%r15), %eax
imull %ecx, %eax
leal (,%rax,8), %edx
movl 0x6529e8(%rip), %esi    # 0x6b30d8
leal (%rsi,%rsi,8), %esi
cmpl %esi, %edx
jl 0x60a4d
sarl $0x5, %ecx
movl %ecx, 0x652a7c(%rip)    # 0x6b3180
addl $0x1f, %eax
sarl $0x3, %eax
andl $-0x4, %eax
movslq %eax, %r12
movq %r12, %rdi
callq 0x69a0
movq %rax, 0x652a69(%rip)    # 0x6b3188
testq %rax, %rax
je 0x60b04
movq %rax, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x62f0
testl %r13d, %r13d
jle 0x60a72
movl 0x54(%r15), %r13d
imull 0x50(%r15), %r13d
incl %r13d
xorl %ecx, %ecx
movl %r13d, 0x5c(%rsp)
movq 0x652a20(%rip), %rax    # 0x6b3178
movswl (%rax,%rcx,4), %edx
leal 0x2(%rdx), %esi
movl %esi, 0x20(%rsp)
movq %rcx, 0x70(%rsp)
movswl 0x2(%rax,%rcx,4), %ebx
leal 0x2(%rbx), %ebp
movq %rdx, 0x38(%rsp)
movl %edx, %r14d
notl %r14d
notl %ebx
callq 0x6a60
movl $0x7fff, %r12d          # imm = 0x7FFF
andl %r12d, %eax
movq 0x65292e(%rip), %rcx    # 0x6b30c0
movl 0x50(%rcx), %r15d
addl %r14d, %r15d
imull %eax, %r15d
sarl $0xf, %r15d
callq 0x6a60
andl %r12d, %eax
movq 0x652910(%rip), %rcx    # 0x6b30c0
movl 0x54(%rcx), %r12d
addl %ebx, %r12d
imull %eax, %r12d
sarl $0xf, %r12d
decl %r13d
testl %r13d, %r13d
jle 0x60984
movl %r15d, %edi
movl %r12d, %esi
movl 0x20(%rsp), %edx
movl %ebp, %ecx
callq 0x64204
testl %eax, %eax
je 0x6077d
incl %r12d
cmpl $0x1, %r12d
je 0x60808
leal -0x2(%r12), %esi
movl %r15d, %edi
movl 0x20(%rsp), %edx
movl $0x1, %ecx
callq 0x64204
decl %r12d
testl %eax, %eax
jne 0x607e3
jmp 0x6080b
xorl %r12d, %r12d
incl %r15d
cmpl $0x1, %r15d
je 0x60830
leal -0x2(%r15), %edi
movl %r12d, %esi
movl $0x1, %edx
movl %ebp, %ecx
callq 0x64204
decl %r15d
testl %eax, %eax
jne 0x6080e
jmp 0x60833
xorl %r15d, %r15d
movslq 0x652946(%rip), %r9     # 0x6b3180
movl %r9d, %eax
imull %r12d, %eax
movl %r15d, %ecx
sarl $0x5, %ecx
leal (%rax,%rcx), %edx
movq 0x38(%rsp), %rsi
addl %r15d, %esi
incl %esi
movl %esi, %r13d
sarl $0x5, %r13d
movl %r15d, %edi
andl $0x1f, %edi
andl $0x1f, %esi
leaq 0x652885(%rip), %r8     # 0x6b30f0
movl (%r8,%rdi,4), %r11d
notl %r11d
movl 0x4(%r8,%rsi,4), %edi
subl %ecx, %r13d
jne 0x608a7
testl %ebp, %ebp
je 0x60955
andl %r11d, %edi
movslq %edx, %rax
shlq $0x2, %rax
addq 0x6528f3(%rip), %rax    # 0x6b3188
shlq $0x2, %r9
orl %edi, (%rax)
addq %r9, %rax
decl %ebp
jne 0x60899
jmp 0x60955
testl %ebp, %ebp
je 0x60955
movq 0x6528d2(%rip), %r8     # 0x6b3188
leal -0x2(%r13), %esi
leaq 0x4(,%rsi,4), %rsi
movq %rsi, 0x88(%rsp)
movslq %edx, %rdx
movslq %r13d, %rsi
movq %rsi, 0x80(%rsp)
movq %r8, 0x18(%rsp)
leaq (%r8,%rdx,4), %r14
movq %r9, %rdx
shlq $0x2, %rdx
leal (%rcx,%rax), %ebx
incl %ebx
movl %edi, 0x20(%rsp)
movq %r9, 0x40(%rsp)
movl %r11d, 0x38(%rsp)
movq %rdx, 0x78(%rsp)
orl %r11d, (%r14)
movl $0x1, %eax
cmpl $0x2, %r13d
jl 0x60947
movslq %ebx, %rax
movq 0x18(%rsp), %rcx
leaq (%rcx,%rax,4), %rdi
movl $0xff, %esi
movq 0x88(%rsp), %rdx
callq 0x62f0
movq 0x78(%rsp), %rdx
movl 0x38(%rsp), %r11d
movl 0x20(%rsp), %edi
movq 0x40(%rsp), %r9
movq 0x80(%rsp), %rax
orl %edi, (%r14,%rax,4)
addq %rdx, %r14
addl %r9d, %ebx
decl %ebp
jne 0x60900
movq 0x65281c(%rip), %rax    # 0x6b3178
movq 0x70(%rsp), %rcx
movw %r15w, (%rax,%rcx,4)
movw %r12w, 0x2(%rax,%rcx,4)
incq %rcx
cmpq 0x68(%rsp), %rcx
movl 0x5c(%rsp), %r13d
jne 0x60751
jmp 0x60a72
movq 0x6527fd(%rip), %rdi    # 0x6b3188
callq 0x61c0
movslq 0x652745(%rip), %rcx    # 0x6b30dc
testq %rcx, %rcx
je 0x60a20
movslq 0x652739(%rip), %rdx    # 0x6b30e0
movq 0x652722(%rip), %rsi    # 0x6b30d0
movslq 0x652713(%rip), %rdi    # 0x6b30c8
movq 0x6527bc(%rip), %r8     # 0x6b3178
addq $0x2, %r8
xorl %eax, %eax
movl 0x54(%rsp), %r13d
cmpq %rdx, %rcx
jg 0x60a19
movq %rcx, %r9
imulq %rdi, %r9
leaq (%rsi,%r9,4), %r9
movq %rdx, %r10
movslq (%r9,%r10,4), %r11
cmpl %r11d, %eax
jge 0x60a04
movslq %eax, %rbx
subq %rbx, %r11
leaq (%r8,%rbx,4), %r14
xorl %ebx, %ebx
movw %r15w, -0x2(%r14,%rbx,4)
movw %r12w, (%r14,%rbx,4)
incq %rbx
cmpq %rbx, %r11
jne 0x609ef
addl %ebx, %eax
movl %r10d, %r15d
leaq -0x1(%r10), %r11
movl %ecx, %r12d
cmpq %rcx, %r10
movq %r11, %r10
jg 0x609da
movl %ecx, %r12d
decq %rcx
jne 0x609c7
jmp 0x60a27
xorl %eax, %eax
movl 0x54(%rsp), %r13d
cmpl %r13d, %eax
movq 0x68(%rsp), %rdx
jge 0x60a4d
movq 0x652740(%rip), %rcx    # 0x6b3178
cltq
movw %r15w, (%rcx,%rax,4)
movw %r12w, 0x2(%rcx,%rax,4)
incq %rax
cmpq %rax, %rdx
jne 0x60a3a
movq 0x65266c(%rip), %rax    # 0x6b30c0
movl 0x50(%rax), %ecx
movl 0x54(%rax), %edx
cmpl %edx, %ecx
jle 0x60a68
addl %edx, %edx
movl %edx, 0x54(%rax)
jmp 0x606d1
addl %ecx, %ecx
movl %ecx, 0x50(%rax)
jmp 0x606d1
movq 0x652647(%rip), %r15    # 0x6b30c0
movslq 0x28(%r15), %rax
shlq $0x3, %rax
leaq (%rax,%rax,4), %rdi
callq 0x69a0
movq %rax, 0x20(%r15)
testq %rax, %rax
je 0x60c4e
movq %rax, %r12
movslq 0x50(%r15), %rax
movslq 0x54(%r15), %rdi
imulq %rax, %rdi
shlq $0x2, %rdi
callq 0x69a0
movq %rax, 0x48(%r15)
testq %rax, %rax
movq 0x60(%rsp), %rcx
movl 0x58(%rsp), %ebp
je 0x60c46
leal 0x1(%rcx), %eax
testl %ecx, %ecx
je 0x601ab
movq 0x6526a1(%rip), %rdi    # 0x6b3178
callq 0x61c0
movq 0x6526a5(%rip), %rdi    # 0x6b3188
callq 0x61c0
movq 0x28(%rsp), %rdi
callq 0x61c0
movq 0x6525c7(%rip), %rbx    # 0x6b30c0
jmp 0x60b24
xorl %ebx, %ebx
jmp 0x60b28
movq %r14, %rdi
jmp 0x60b1d
movq 0x28(%rsp), %rdi
callq 0x61c0
movq %r15, %rdi
callq 0x61c0
movq 0x65265b(%rip), %rdi    # 0x6b3178
callq 0x61c0
xorl %ebx, %ebx
movl 0x34(%rsp), %ebp
testq %rbx, %rbx
je 0x60ba6
movl $0x1, (%rbx)
movabsq $0x3f8000003f800000, %rax # imm = 0x3F8000003F800000
movq %rax, 0x8(%rbx)
movl 0x652531(%rip), %eax    # 0x6b3078
movl %eax, 0x58(%rbx)
movl 0x65252c(%rip), %eax    # 0x6b307c
movl %eax, 0x5c(%rbx)
movl 0x652527(%rip), %eax    # 0x6b3080
movl %eax, 0x60(%rbx)
movss 0x652520(%rip), %xmm0   # 0x6b3084
movss %xmm0, 0x64(%rbx)
movss 0x652517(%rip), %xmm0   # 0x6b3088
movss %xmm0, 0x68(%rbx)
movss 0x65250e(%rip), %xmm0   # 0x6b308c
movss %xmm0, 0x6c(%rbx)
movl %ebp, 0x70(%rbx)
movl $0x100, %edi            # imm = 0x100
movl $0x4, %esi
callq 0x6930
movq %rax, 0x18(%rbx)
testq %rax, %rax
jne 0x60ba8
movq %rbx, %rdi
callq 0x5f446
xorl %ebx, %ebx
movq 0x6524e1(%rip), %rdi    # 0x6b3090
testq %rdi, %rdi
je 0x60bc4
callq 0x61c0
movq $0x0, 0x6524cc(%rip) # 0x6b3090
movq 0x6524cd(%rip), %rdi    # 0x6b3098
testq %rdi, %rdi
je 0x60be0
callq 0x61c0
movq $0x0, 0x6524b8(%rip) # 0x6b3098
movq 0x6524b9(%rip), %rdi    # 0x6b30a0
testq %rdi, %rdi
je 0x60c0a
callq 0x61c0
movq $0x0, 0x6524a4(%rip) # 0x6b30a0
xorl %eax, %eax
movl %eax, 0x65246c(%rip)    # 0x6b3070
movl %eax, 0x65246a(%rip)    # 0x6b3074
movq 0x652497(%rip), %rdi    # 0x6b30a8
testq %rdi, %rdi
je 0x60c26
callq 0x61c0
movq $0x0, 0x652482(%rip) # 0x6b30a8
movq %rbx, %rax
addq $0x498, %rsp            # imm = 0x498
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
jmp 0x60048
movq %r12, %rdi
callq 0x61c0
movq 0x652533(%rip), %rdi    # 0x6b3188
callq 0x61c0
movq 0x652517(%rip), %rdi    # 0x6b3178
callq 0x61c0
movq 0x28(%rsp), %rdi
callq 0x61c0
movq %r15, %rdi
jmp 0x60b1d
xorl %r13d, %r13d
movq %r12, %rdi
callq 0x61c0
movl %r15d, %edi
callq 0x20671
jmp 0x60048