// File: /workspace/github_c_makefile_star2_O2/jonof[P]jftekwar/jfbuild/src/kplib.c
// Function: kprender
int kprender (const char *buf, int leng, intptr_t frameptr, int bpl,
					int xdim, int ydim, int xoff, int yoff)
{
	unsigned char *ubuf = (unsigned char *)buf;

	paleng = 0; bakcol = 0; numhufblocks = zlibcompflags = 0; filtype = -1;

	if ((ubuf[0] == 0x89) && (ubuf[1] == 0x50)) //.PNG
		return(kpngrend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

	if ((ubuf[0] == 0xff) && (ubuf[1] == 0xd8)) //.JPG
		return(kpegrend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

	if ((ubuf[0] == 'G') && (ubuf[1] == 'I') && (ubuf[2] == 'F')) //.GIF
		return(kgifrend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

	if ((ubuf[0] == 0x19) && (ubuf[1] == 0x91) && (ubuf[10] == 8) && (ubuf[11] == 0)) //old .CEL/.PIC
		return(kcelrend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

	if ((ubuf[0] == 'B') && (ubuf[1] == 'M')) //.BMP
		return(kbmprend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

	if (*(int *)ubuf == LSWAPIB(0x0801050a)) //.PCX
		return(kpcxrend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

	if ((*(int *)ubuf == LSWAPIB(0x20534444)) && (*(int *)&ubuf[4] == LSWAPIB(124))) //.DDS
		return(kddsrend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

		//Unreliable .TGA identification - this MUST be final case!
	if ((leng >= 20) && (!(ubuf[1]&0xfe)))
		if ((ubuf[2] < 12) && ((1<<ubuf[2])&0xe0e))
			if ((!(ubuf[16]&7)) && (ubuf[16] != 0) && (ubuf[16] <= 32))
				if (!(ubuf[17]&0xc0))
					return(ktgarend(buf,leng,frameptr,bpl,xdim,ydim,xoff,yoff));

	return(-1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x658, %rsp            # imm = 0x658
movl %r9d, %r13d
movl %r8d, %r12d
movl %ecx, %r8d
andl $0x0, 0x57360f(%rip)    # 0x5afb90
movq %rdx, 0x48(%rsp)
andl $0x0, 0x573607(%rip)    # 0x5afb94
andl $0x0, 0x573604(%rip)    # 0x5afb98
andl $0x0, 0x573601(%rip)    # 0x5afb9c
movl 0x698(%rsp), %eax
movq %rax, 0x90(%rsp)
movb $-0x1, 0x5735ef(%rip)   # 0x5afba0
movq %rdi, 0x8(%rsp)
movzbl (%rdi), %eax
pushq $-0x1
popq %rcx
movq %rcx, 0x28(%rsp)
movq %r8, 0x68(%rsp)
movslq %r8d, %r15
movslq %esi, %rcx
movq %rcx, 0x128(%rsp)
cmpl $0x19, %eax
movl %r9d, 0x60(%rsp)
movl %r12d, 0x7c(%rsp)
movq %r15, 0x38(%rsp)
je 0x3cb21
pushq $0x8
popq %r14
cmpl $0x42, %eax
je 0x3c995
cmpl $0x47, %eax
je 0x3c9d3
cmpl $0xff, %eax
je 0x3ca7c
cmpl $0x89, %eax
movq 0x8(%rsp), %rax
jne 0x3cb3c
cmpb $0x50, 0x1(%rax)
jne 0x3cb3c
cmpb $0x0, 0x5739ee(%rip)    # 0x5b001c
jne 0x3c641
movb $0x1, 0x5739e5(%rip)    # 0x5b001c
callq 0x4084a
movq 0x8(%rsp), %rax
cmpl $0x474e5089, (%rax)     # imm = 0x474E5089
jne 0x3f487
cmpl $0xa1a0a0d, 0x4(%rax)   # imm = 0xA1A0A0D
jne 0x3f487
pushq $0x2
popq %r14
andl $0x0, 0x58d77f(%rip)    # 0x5c9de4
orl $-0x1, 0x58d77c(%rip)   # 0x5c9de8
andl $0x0, 0x58d779(%rip)    # 0x5c9dec
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rbp
movq %rbp, 0x583ae5(%rip)    # 0x5c0168
movb 0x58d756(%rip), %r10b   # 0x5c9de0
movl 0x5734ff(%rip), %r13d   # 0x5afb90
movb 0x58d749(%rip), %dil    # 0x5c9de1
leaq 0x30051(%rip), %r15     # 0x6c6f0
pushq $-0x1
popq %rax
movq %rax, 0x28(%rsp)
movw $0x101, %r12w           # imm = 0x101
leaq 0x58d32d(%rip), %rbx    # 0x5c99e0
pushq $0x3
popq %rax
movl %eax, 0x10(%rsp)
movl (%rbp), %eax
bswapl %eax
leaq 0x8(%rbp), %r9
leal 0x4(%rax), %r11d
movq %r9, %rcx
subq 0x8(%rsp), %rcx
addq %r11, %rcx
cmpq 0x128(%rsp), %rcx
jge 0x3e733
movl 0x4(%rbp), %edx
movzbl %r10b, %ecx
cmpl $0x44474b62, %edx       # imm = 0x44474B62
je 0x3c720
cmpl $0x45544c50, %edx       # imm = 0x45544C50
je 0x3c769
cmpl $0x52444849, %edx       # imm = 0x52444849
je 0x3c7b1
cmpl $0x534e5274, %edx       # imm = 0x534E5274
je 0x3c889
cmpl $0x54414449, %edx       # imm = 0x54414449
jne 0x3c949
jmp 0x3eda0
cmpb $0x6, %r10b
ja 0x3c949
movslq (%r15,%rcx,4), %rax
addq %r15, %rax
jmpq *%rax
movzwl 0x8(%rbp), %eax
rolw $0x8, %ax
movzwl %ax, %eax
imull $0xff, %eax, %eax
pushq $-0x1
popq %rcx
movl %ecx, %esi
movl %edi, %ecx
shll %cl, %esi
notl %esi
xorl %edx, %edx
divl %esi
imull $0x10101, %eax, %eax    # imm = 0x10101
addl $0xff000000, %eax       # imm = 0xFF000000
movl %eax, 0x573430(%rip)    # 0x5afb94
jmp 0x3c949
xorl %edx, %edx
pushq $0x3
popq %rcx
divl %ecx
movl %eax, %r13d
movl %eax, 0x573417(%rip)    # 0x5afb90
leaq (,%r13,2), %rax
addq %r13, %rax
addq %rbp, %rax
addq $0x5, %rax
movq %r13, %rcx
testq %rcx, %rcx
jle 0x3c949
movl (%rax), %edx
bswapl %edx
shrl $0x8, %edx
orl $0xff000000, %edx       # imm = 0xFF000000
movl %edx, -0x4(%rbx,%rcx,4)
decq %rcx
addq $-0x3, %rax
jmp 0x3c78e
movl (%r9), %eax
bswapl %eax
movl %eax, 0x58d634(%rip)    # 0x5c9df0
testl %eax, %eax
jle 0x3e733
movl 0xc(%rbp), %eax
bswapl %eax
movl %eax, 0x58d625(%rip)    # 0x5c9df4
testl %eax, %eax
jle 0x3e733
movzbl 0x10(%rbp), %edi
movb %dil, 0x58d5ff(%rip)    # 0x5c9de1
pushq $0x1
popq %rax
movl %eax, %r8d
movl %edi, %ecx
shll %cl, %r8d
movl $0x116, %eax            # imm = 0x116
btl %edi, %eax
jae 0x3e733
movzbl 0x11(%rbp), %r10d
movb %r10b, 0x58d5d9(%rip)   # 0x5c9de0
pushq $0x5d
popq %rax
btl %r10d, %eax
jae 0x3e733
cmpb $0x0, 0x12(%rbp)
jne 0x3e733
cmpb $0x0, 0x13(%rbp)
jne 0x3e733
movzbl 0x14(%rbp), %eax
cmpl $0x1, %eax
ja 0x3e733
imull $0x7, %eax, %eax
movl %eax, 0x58d5ba(%rip)    # 0x5c9df8
testb $-0x5, %r10b
jne 0x3c949
leal -0x1(%r8), %ecx
movl $0xff, %eax
xorl %edx, %edx
idivl %ecx
imull $0x10101, %eax, %eax    # imm = 0x10101
testl %r8d, %r8d
movl $0x0, %ecx
cmovgl %r8d, %ecx
movl %r8d, 0x573322(%rip)    # 0x5afb90
shlq $0x2, %rcx
movl $0xff000000, %edx       # imm = 0xFF000000
xorl %esi, %esi
cmpq %rsi, %rcx
je 0x3c8ef
movl %edx, (%rsi,%rbx)
addl %eax, %edx
addq $0x4, %rsi
jmp 0x3c879
testb %r10b, %r10b
je 0x3c8f4
cmpl $0x2, %ecx
je 0x3c90a
cmpl $0x3, %ecx
jne 0x3c949
cmpl %r13d, %eax
cmovgel %r13d, %eax
testl %eax, %eax
jle 0x3c946
movzbl 0x7(%rbp,%rax), %ecx
shll $0x18, %ecx
orl $0xffffff, %ecx         # imm = 0xFFFFFF
andl %ecx, -0x4(%rbx,%rax,4)
decq %rax
jmp 0x3c8a3
cmpb $0x8, %dil
jne 0x3c954
movzbl 0x9(%rbp), %eax
shll $0x10, %eax
movzbl 0xb(%rbp), %ecx
shll $0x8, %ecx
orl %eax, %ecx
movzbl 0xd(%rbp), %eax
orl %ecx, %eax
orl $0xff000000, %eax       # imm = 0xFF000000
movl %eax, 0x5732a7(%rip)    # 0x5afb94
jmp 0x3c934
movl %r8d, %r13d
jmp 0x3c949
cmpb $0x8, %dil
jg 0x3c905
movzbl 0x9(%rbp), %eax
andl $0xffffff, (%rbx,%rax,4) # imm = 0xFFFFFF
xorl %r10d, %r10d
jmp 0x3c949
movb $0x2, %r10b
cmpb $0x8, %dil
jne 0x3c949
movzbl 0x9(%rbp), %eax
shll $0x10, %eax
movzbl 0xb(%rbp), %ecx
shll $0x8, %ecx
orl %eax, %ecx
movzbl 0xd(%rbp), %eax
orl %ecx, %eax
orl $0xff000000, %eax       # imm = 0xFF000000
movl %eax, 0x58d4b0(%rip)    # 0x5c9de4
movb $0x8, %dil
jmp 0x3c949
movzbl (%r9), %eax
movl (%rbx,%rax,4), %eax
movl %eax, 0x57324e(%rip)    # 0x5afb94
movb $0x3, %r10b
addq %r11, %r9
movq %r9, %rbp
jmp 0x3c6ba
movl $0xff000000, 0x573236(%rip) # imm = 0xFF000000
movl $0xff000000, %r8d       # imm = 0xFF000000
pushq $0x10
popq %rcx
xorl %esi, %esi
cmpq $0x3, %rsi
je 0x3c949
movzwl 0x8(%rbp,%rsi,2), %eax
rolw $0x8, %ax
xorl %edx, %edx
divw %r12w
movzwl %ax, %eax
shll %cl, %eax
addl %eax, %r8d
movl %r8d, 0x573207(%rip)    # 0x5afb94
incq %rsi
addl $-0x8, %ecx
jmp 0x3c969
movq 0x8(%rsp), %rax
cmpb $0x4d, 0x1(%rax)
jne 0x3cb3c
movslq 0xe(%rax), %rcx
cmpq $0xc, %rcx
jne 0x3d0ed
cmpw $0x1, 0x16(%rax)
jne 0x3f487
movq %rax, %rdx
movzwl 0x12(%rax), %eax
movzwl 0x14(%rdx), %esi
addq $0x18, %rdx
xorl %edi, %edi
jmp 0x3d108
movq 0x8(%rsp), %rax
cmpb $0x49, 0x1(%rax)
jne 0x3cb3c
cmpb $0x46, 0x2(%rax)
jne 0x3cb3c
movb $0x3, 0x58d3ed(%rip)    # 0x5c9de0
movb $0x8, 0x58d3e7(%rip)    # 0x5c9de1
cmpb $0x47, (%rax)
jne 0x3f487
cmpb $0x0, 0xc(%rax)
jne 0x3f487
movq 0x8(%rsp), %rsi
movb 0xa(%rsi), %al
movl %eax, %ecx
andb $0x7, %cl
incb %cl
pushq $0x1
popq %r8
movl %r8d, %edi
shll %cl, %edi
movl %edi, 0x573165(%rip)    # 0x5afb90
leaq 0xd(%rsi), %r9
pushq $0x3
popq %rbx
movq %rbx, %rdx
shlq %cl, %rdx
xorl %ecx, %ecx
testb %al, %al
cmovnsq %rcx, %rdx
leaq 0xd(%rsi,%rdx), %rsi
cmovnsq %rcx, %r9
pushq $-0x1
popq %rdx
movzbl (%rsi), %eax
cmpl $0x21, %eax
jne 0x3e7c4
cmpb $-0x7, 0x1(%rsi)
jne 0x3ca68
testb $0x1, 0x3(%rsi)
je 0x3ca68
movzbl 0x6(%rsi), %edx
addq $0x2, %rsi
movzbl (%rsi), %eax
addq %rax, %rsi
incq %rsi
testq %rax, %rax
jne 0x3ca6c
jmp 0x3ca4c
movq 0x8(%rsp), %rax
cmpb $-0x28, 0x1(%rax)
jne 0x3cb3c
cmpb $0x0, 0x58d3e6(%rip)    # 0x5c9e78
jne 0x3d321
pushq $0x3f
popq %rcx
movb $0x1, 0x58d3d6(%rip)    # 0x5c9e78
xorl %edx, %edx
pushq $0x31
popq %rsi
pushq $-0x7
popq %rdi
pushq $0x1
popq %r8
pushq $0x7
popq %r9
leaq 0x59e207(%rip), %rax    # 0x5dacc0
xorl %r10d, %r10d
cmpl $0xf, %edx
ja 0x3d1bf
movl %edi, %r11d
movl %esi, %ebx
movl %r9d, %ebp
testl %ebp, %ebp
js 0x3caeb
cmpl $0x7, %r11d
ja 0x3cae1
movslq %r10d, %r14
incl %r10d
movl %ebx, (%rax,%r14,4)
decl %ebp
addl $-0x7, %ebx
incl %r11d
jmp 0x3cacd
xorl %r11d, %r11d
movl %r8d, %ebx
cmpl $-0x8, %r11d
je 0x3cb12
leal (%r8,%r11), %ebp
cmpl $0x7, %ebp
ja 0x3cb0a
movslq %r10d, %r14
incl %r10d
movl %ebx, (%rax,%r14,4)
addl $0x7, %ebx
decl %r11d
jmp 0x3caf1
addl $0x2, %edx
addl $0x2, %esi
addl $0x2, %edi
addl $0x2, %r8d
jmp 0x3cabc
movq 0x8(%rsp), %rax
cmpb $-0x6f, 0x1(%rax)
jne 0x3cb3c
cmpb $0x8, 0xa(%rax)
jne 0x3cb3c
cmpb $0x0, 0xb(%rax)
je 0x3e73f
movl (%rax), %edx
cmpq $0x20534444, %rdx       # imm = 0x20534444
je 0x3cbe9
cmpl $0x801050a, %edx        # imm = 0x801050A
jne 0x3cc9d
movq %rax, %rdx
movswl 0x8(%rax), %eax
movswl 0x4(%rdx), %ecx
subl %ecx, %eax
js 0x3f487
movswl 0xa(%rdx), %ecx
movswl 0x6(%rdx), %edx
subl %edx, %ecx
js 0x3f487
incl %eax
incl %ecx
movq 0x8(%rsp), %rsi
movsbl 0x41(%rsi), %edx
cmpl $0x1, %edx
jne 0x3ce92
movq 0x128(%rsp), %rdi
addq %rdi, %rsi
addq $-0x300, %rsi           # imm = 0xFD00
xorl %edi, %edi
leaq 0x58ce35(%rip), %r8     # 0x5c99e0
cmpq $0x400, %rdi            # imm = 0x400
je 0x3cf27
movzbl (%rsi), %r9d
shll $0x10, %r9d
movzbl 0x1(%rsi), %r10d
shll $0x8, %r10d
orl %r9d, %r10d
movzbl 0x2(%rsi), %r9d
orl %r10d, %r9d
orl $0xff000000, %r9d       # imm = 0xFF000000
movl %r9d, (%rdi,%r8)
addq $0x3, %rsi
addq $0x4, %rdi
jmp 0x3cbab
cmpl $0x7c, 0x4(%rax)
jne 0x3cc9d
movslq 0x10(%rax), %rcx
movq %rcx, 0x98(%rsp)
movl 0xc(%rax), %r14d
movq %rax, %r9
movl 0x50(%rax), %eax
testb $0x40, %al
jne 0x3cd79
pushq $-0x1
popq %rcx
movq %rcx, 0x28(%rsp)
testb $0x4, %al
je 0x3f487
movq 0x8(%rsp), %rax
cmpb $0x44, 0x54(%rax)
jne 0x3f487
cmpb $0x58, 0x55(%rax)
jne 0x3f487
cmpb $0x54, 0x56(%rax)
jne 0x3f487
movl %r14d, 0xe0(%rsp)
movsbl 0x57(%rax), %edi
movq %rax, %rcx
leal -0x36(%rdi), %eax
cmpb $-0x5, %al
jb 0x3f487
leal -0x30(%rdi), %r8d
testb $0x1, %dil
movq %rcx, %rax
jne 0x3e8ee
movl $0xff, %ecx
movl $0xff, %esi
subq $0x1, %rsi
jb 0x3e8e3
movl $0xff0000, %eax         # imm = 0xFF0000
xorl %edx, %edx
divl %ecx
movl %eax, 0x250(%rsp,%rcx,4)
movq 0x8(%rsp), %rax
movq %rsi, %rcx
jmp 0x3cc79
cmpl $0x14, %esi
jl 0x3f487
movl %edx, %edi
shrl $0x8, %edi
cmpb $0x1, %dil
ja 0x3f487
movl %edx, %eax
shrl $0x10, %eax
cmpb $0xb, %al
ja 0x3f487
andl $0xf, %eax
movl $0xe0e, %ecx            # imm = 0xE0E
btl %eax, %ecx
jae 0x3f487
movq 0x8(%rsp), %rsi
movzbl 0x10(%rsi), %ecx
testb $0x7, %cl
setne %al
movq %rcx, 0x10(%rsp)
addl $-0x21, %ecx
cmpb $-0x20, %cl
setb %cl
orb %al, %cl
jne 0x3f487
movb 0x11(%rsi), %cl
cmpb $0x3f, %cl
ja 0x3f487
movzwl 0xc(%rsi), %ebx
testl %ebx, %ebx
je 0x3f487
movzwl 0xe(%rsi), %ebp
testl %ebp, %ebp
je 0x3f487
movsbq %dl, %rax
movq 0x8(%rsp), %rdx
leaq (%rdx,%rax), %r8
addq $0x12, %r8
movq 0x10(%rsp), %rsi
shrl $0x3, %esi
xorl %r9d, %r9d
cmpb $0x1, %dil
jne 0x3f49e
movq %rdx, %rax
movsbl 0x7(%rdx), %edi
addl $0x7, %edi
sarl $0x3, %edi
movq %rdx, %r10
movzwl 0x3(%rax), %eax
movslq %edi, %rdx
imulq %rdx, %rax
movq %r8, %r11
subq %rax, %r11
movq %r11, 0x18(%rsp)
movzwl 0x5(%r10), %eax
imulq %rdx, %rax
addq %rax, %r8
jmp 0x3f4a9
pushq $-0x1
popq %rax
movq %rax, 0x28(%rsp)
cmpl $0x20, 0x58(%r9)
jne 0x3f487
cmpl $0xff0000, 0x5c(%r9)    # imm = 0xFF0000
jne 0x3f487
cmpl $0xff00, 0x60(%r9)      # imm = 0xFF00
jne 0x3f487
cmpl $0xff, 0x64(%r9)
jne 0x3f487
cmpl $0xff000000, 0x68(%r9)  # imm = 0xFF000000
jne 0x3f487
movl 0x698(%rsp), %r8d
movq 0x68(%rsp), %rcx
imull %r8d, %ecx
movl 0x690(%rsp), %eax
movq %rax, %r10
leal (,%rax,4), %eax
leal (%rcx,%r10,4), %ecx
movslq %ecx, %rcx
cltq
movq %rax, %rdx
negq %rdx
xorl %r11d, %r11d
testl %r10d, %r10d
movl $0x0, %esi
cmovsl %r10d, %esi
cmovnsq %r11, %rdx
movq 0x98(%rsp), %r15
leal (,%r15,4), %edi
leaq 0x80(%r9,%rdx), %rbx
cmovnsq %r11, %rax
addl %r15d, %esi
movq 0x48(%rsp), %rbp
subq %rax, %rbp
addq %rcx, %rbp
subl %r10d, %r12d
cmpl %r12d, %esi
cmovll %esi, %r12d
shll $0x2, %r12d
cmpl %r13d, %r14d
cmovgel %r13d, %r14d
movslq %r12d, %rax
movq %rax, 0x10(%rsp)
movq %r8, %r12
movslq %edi, %r15
testl %r14d, %r14d
movl $0x0, %eax
movq %rax, 0x28(%rsp)
cmovlel %r11d, %r14d
subl $0x1, %r14d
jb 0x3f487
cmpl %r13d, %r12d
jae 0x3ce85
movq %rbp, %rdi
movq %rbx, %rsi
movq 0x10(%rsp), %rdx
callq 0x60c0
addq 0x38(%rsp), %rbp
addq %r15, %rbx
incl %r12d
jmp 0x3ce66
cmpb $0x3, %dl
jne 0x3cf3f
xorl %esi, %esi
movl 0x690(%rsp), %edi
movq %rdi, %r8
testl %r8d, %r8d
movl $0x0, %edi
cmovgl %r8d, %edi
leal (%rax,%r8), %r10d
cmpl %r12d, %r10d
cmovgel %r12d, %r10d
movl 0x698(%rsp), %r8d
testl %r8d, %r8d
cmovgl %r8d, %esi
addl %ecx, %r8d
cmpl %r13d, %r8d
cmovgel %r13d, %r8d
movb $0x2, 0x58cf02(%rip)    # 0x5c9de0
movl %esi, %r9d
imull 0x68(%rsp), %r9d
movslq %r9d, %r9
movq 0x48(%rsp), %r11
addq %r11, %r9
addq $0x3, %r9
movslq %r10d, %r10
movl %edi, %r11d
shll $0x2, %r11d
cmpl %r8d, %esi
jge 0x3cf3f
movl %r11d, %ebx
movq %rdi, %r14
cmpq %r10, %r14
jge 0x3cf20
movslq %ebx, %rbx
movb $-0x1, (%r9,%rbx)
incq %r14
addl $0x4, %ebx
jmp 0x3cf0b
incl %esi
addq %r15, %r9
jmp 0x3cf00
movb $0x3, 0x58ceb2(%rip)    # 0x5c9de0
movb $0x8, 0x58ceac(%rip)    # 0x5c9de1
movl $0x100, 0x572c51(%rip)  # imm = 0x100
movl 0x690(%rsp), %esi
movq %rsi, %r8
addl %r8d, %eax
movl 0x698(%rsp), %esi
addl %esi, %ecx
subq $-0x80, 0x8(%rsp)
imull 0x68(%rsp), %esi
movslq %esi, %rsi
addq 0x48(%rsp), %rsi
shll $0x2, %r12d
leal (,%r8,4), %edi
shll $0x2, %eax
leal (%rdx,%r8,4), %r8d
decl %r8d
cmpb $0x1, %dl
jne 0x3d02f
pushq $0x1
popq %rdx
leaq 0x58ca4f(%rip), %r9     # 0x5c99e0
movq 0x8(%rsp), %rbx
movzbl (%rbx), %r11d
cmpl $0xc0, %r11d
jae 0x3cfb0
incq %rbx
movq %rbx, 0x8(%rsp)
movl %edx, %r10d
jmp 0x3cfc4
andl $0x3f, %r11d
movl %r11d, %r10d
movb 0x1(%rbx), %r11b
addq $0x2, %rbx
movq %rbx, 0x8(%rsp)
movzbl %r11b, %r11d
movl (%r9,%r11,4), %r11d
subl $0x1, %r10d
jb 0x3d01d
cmpl %r13d, 0x90(%rsp)
jae 0x3cfe8
cmpl %r12d, %r8d
jae 0x3cfe8
movslq %r8d, %rbx
movl %r11d, (%rsi,%rbx)
addl $0x4, %r8d
xorl %ebx, %ebx
cmpl %eax, %r8d
cmovgel %edi, %r8d
movl $0x0, %ebp
cmovgel 0x68(%rsp), %ebp
setge %bl
movq 0x90(%rsp), %r14
addl %ebx, %r14d
movq %r14, 0x90(%rsp)
movslq %ebp, %rbx
addq %rbx, %rsi
jmp 0x3cfcc
cmpl %ecx, 0x90(%rsp)
jl 0x3cf91
jmp 0x3f47e
cmpb $0x3, %dl
jne 0x3f47e
decl %edx
pushq $0x1
popq %r9
pushq $0x2
popq %r10
movq 0x8(%rsp), %r14
movzbl (%r14), %r11d
cmpl $0xc0, %r11d
jae 0x3d061
incq %r14
movq %r14, 0x8(%rsp)
movl %r9d, %ebx
jmp 0x3d0cd
andl $0x3f, %r11d
movl %r11d, %ebx
movb 0x1(%r14), %r11b
addq $0x2, %r14
movq %r14, 0x8(%rsp)
jmp 0x3d0cd
cmpl %r13d, 0x90(%rsp)
jae 0x3d08d
cmpl %r12d, %r8d
jae 0x3d08d
movslq %r8d, %r14
movb %r11b, (%rsi,%r14)
addl $0x4, %r8d
cmpl %eax, %r8d
jl 0x3d0cd
xorl %r8d, %r8d
testl %edx, %edx
leal -0x1(%rdx), %edx
setle %r8b
cmovlel %r10d, %edx
movl $0x0, %ebp
cmovlel 0x68(%rsp), %ebp
movq 0x90(%rsp), %r14
addl %r8d, %r14d
movq %r14, 0x90(%rsp)
movslq %ebp, %r8
addq %r8, %rsi
leal (%rdx,%rdi), %r8d
subl $0x1, %ebx
jae 0x3d077
movq $0x0, 0x28(%rsp)
cmpl %ecx, 0x90(%rsp)
jl 0x3d042
jmp 0x3f487
cmpw $0x1, 0x1a(%rax)
jne 0x3f487
movq %rax, %rdi
movl 0x12(%rax), %eax
movl 0x16(%rdi), %esi
leaq 0x1c(%rdi), %rdx
movl 0x1e(%rdi), %edi
testl %eax, %eax
jle 0x3f487
testl %esi, %esi
je 0x3f487
movzwl (%rdx), %r15d
leal -0x21(%r15), %r8d
cmpl $-0x20, %r8d
jb 0x3f487
movl $0x1010113, %r8d        # imm = 0x1010113
btl %r15d, %r8d
jae 0x3f487
cmpl $0x3, %edi
je 0x3d147
testl %edi, %edi
jne 0x3f487
movq %r14, %r9
movq 0x8(%rsp), %rdx
movslq 0xa(%rdx), %r14
cmpw $0xf, %r15w
ja 0x3e89e
cmpl $0x2, %r15d
jne 0x3d175
movabsq $-0xffffff00000001, %rdi # imm = 0xFF000000FFFFFFFF
movq %rdi, 0x58c86b(%rip)    # 0x5c99e0
xorl %edi, %edi
cmpl $0xc, %ecx
setne %dil
addq $0x3, %rdi
movq 0x8(%rsp), %rdx
leaq (%rdx,%rcx), %r8
addq $0xe, %r8
leaq (%rdx,%r14), %r9
xorl %ecx, %ecx
leaq 0x58c844(%rip), %r10    # 0x5c99e0
movl $0xff000000, %r11d      # imm = 0xFF000000
cmpq %r9, %r8
jae 0x3e8ca
movl (%r8), %ebx
orl %r11d, %ebx
movl %ebx, (%r10)
addq %rdi, %r8
incl %ecx
addq $0x4, %r10
jmp 0x3d1a2
leaq 0x59ecca(%rip), %rdx    # 0x5dbe90
testl %ecx, %ecx
js 0x3d1d7
movl %ecx, %esi
movslq (%rax,%rsi,4), %rsi
movl %ecx, (%rdx,%rsi,4)
decl %ecx
jmp 0x3d1c6
pushq $0x3f
popq %rdx
pushq $0x1
popq %rsi
leaq 0x59ec6c(%rip), %rdi    # 0x5dbe50
testl %edx, %edx
js 0x3d200
movl %edx, %r8d
movl (%rax,%r8,4), %ecx
shrl $0x3, %ecx
movl %esi, %r9d
shll %cl, %r9d
movb %r9b, (%r8,%rdi)
decl %edx
jmp 0x3d1e4
leaq 0x59ed89(%rip), %rax    # 0x5dbf90
xorl %ecx, %ecx
cmpq $0x80, %rcx
je 0x3d225
movl %ecx, %edx
orl $0x80, %edx
movl %edx, (%rax)
incq %rcx
addq $0x4, %rax
jmp 0x3d209
movl $0x80, %ecx
leaq 0x59ed5f(%rip), %rax    # 0x5dbf90
cmpq $0x200, %rcx            # imm = 0x200
je 0x3d246
movl $0xff, (%rax,%rcx,4)
incq %rcx
jmp 0x3d231
xorl %ecx, %ecx
cmpq $0x180, %rcx            # imm = 0x180
je 0x3d25e
andl $0x0, 0x800(%rax,%rcx,4)
incq %rcx
jmp 0x3d248
xorl %ecx, %ecx
cmpq $0x80, %rcx
je 0x3d275
movl %ecx, 0xe00(%rax,%rcx,4)
incq %rcx
jmp 0x3d260
xorl %ecx, %ecx
leaq 0x59fd12(%rip), %rdx    # 0x5dcf90
leaq 0x5a0d0b(%rip), %rsi    # 0x5ddf90
cmpq $0x1000, %rcx           # imm = 0x1000
je 0x3d2ae
movl (%rcx,%rax), %edi
movl %edi, %r8d
shll $0x8, %r8d
movl %r8d, (%rcx,%rdx)
shll $0x10, %edi
addl $0xff000000, %edi       # imm = 0xFF000000
movl %edi, (%rcx,%rsi)
addq $0x4, %rcx
jmp 0x3d285
movl $0x8e978c00, %eax       # imm = 0x8E978C00
movl $0x16066400, %ecx       # imm = 0x16066400
movl $0x2db47800, %edx       # imm = 0x2DB47800
movl $0xa645a000, %esi       # imm = 0xA645A000
xorl %edi, %edi
leaq 0x5a1cc5(%rip), %r8     # 0x5def90
leaq 0x5a5cbe(%rip), %r9     # 0x5e2f90
cmpq $0x800, %rdi            # imm = 0x800
je 0x3d309
movl %esi, (%r8,%rdi,8)
movl %edx, 0x4(%r8,%rdi,8)
movl %ecx, (%r9,%rdi,8)
movl %eax, 0x4(%r9,%rdi,8)
incq %rdi
addl $0x1c5a1d, %eax         # imm = 0x1C5A1D
addl $0xfffa7e67, %ecx       # imm = 0xFFFA7E67
addl $0xfff492e2, %edx       # imm = 0xFFF492E2
addl $0x166e98, %esi         # imm = 0x166E98
jmp 0x3d2d2
leaq 0x59e940(%rip), %rdi    # 0x5dbc50
movl $0x200, %edx            # imm = 0x200
xorl %esi, %esi
callq 0x62f0
movq 0x8(%rsp), %rax
cmpw $0xd8ff, (%rax)         # imm = 0xD8FF
jne 0x3e81c
xorl %eax, %eax
leaq 0x58cb4b(%rip), %rcx    # 0x5c9e80
cmpq $0x10, %rax
je 0x3d345
andl $0x0, (%rax,%rcx)
addq $0x4, %rax
jmp 0x3d335
movq 0x8(%rsp), %rax
leaq 0x2(%rax), %r14
movb $0x0, 0x58ca8b(%rip)    # 0x5c9de0
movb $0x8, 0x58ca85(%rip)    # 0x5c9de1
leaq 0x2f44d(%rip), %r11     # 0x6c7b0
pushq $-0x1
popq %rax
movq %rax, 0x28(%rsp)
movl $0x0, 0xc4(%rsp)
movq $0x0, 0x80(%rsp)
movq $0x0, 0xc8(%rsp)
movq $0x0, 0xd0(%rsp)
movl $0x0, 0x114(%rsp)
movq $0x0, 0x108(%rsp)
movq $0x0, 0x100(%rsp)
movq $0x0, 0xf8(%rsp)
movq $0x0, 0xf0(%rsp)
movq $0x0, 0x20(%rsp)
movq $0x0, 0x10(%rsp)
cmpb $-0x1, (%r14)
je 0x3d3f5
incq %r14
jmp 0x3e3fc
leaq 0x4(%r14), %rdi
addq $0x8, %r14
movq %r14, %rbx
movzbl -0x3(%rdi), %eax
incq %rdi
incq %r14
cmpl $0xff, %eax
je 0x3d3fd
cmpl $0xd9, %eax
jne 0x3d424
addq $-0x3, %rdi
movq %rdi, %r14
jmp 0x3e3fc
leal -0xc0(%rax), %ecx
cmpl $0x3, %ecx
jb 0x3d703
movzbl -0x3(%rdi), %ecx
shll $0x8, %ecx
movzbl -0x2(%rdi), %edx
leal (%rcx,%rdx), %r10d
addl $-0x2, %r10d
leaq -0x1(%rdi), %r14
cmpl $0xc4, %eax
je 0x3d54b
cmpl $0xda, %eax
je 0x3d89d
cmpl $0xdd, %eax
je 0x3d924
cmpl $0xdb, %eax
jne 0x3d936
movzbl (%r14), %eax
incq %r14
movl %eax, %ecx
andl $0xf, %ecx
xorl %edx, %edx
cmpq $0x100, %rdx            # imm = 0x100
je 0x3d529
movzbl (%r14), %esi
cmpb $0x10, %al
jae 0x3d49e
incq %r14
jmp 0x3d4ac
shll $0x8, %esi
movzbl 0x1(%r14), %edi
addq $0x2, %r14
orl %edi, %esi
shll $0x13, %esi
leaq 0x59d80a(%rip), %rdi    # 0x5dacc0
movl (%rdx,%rdi), %edi
movq %rdi, %r8
andq $0x7, %r8
je 0x3d4d8
leaq 0x2f3e7(%rip), %r9      # 0x6c8b0
movslq (%r9,%r8,4), %r8
movslq %esi, %rsi
imulq %r8, %rsi
shrq $0x18, %rsi
cmpl $0x8, %edi
jb 0x3d4fd
movl %edi, %r8d
sarl $0x3, %r8d
movslq %r8d, %r8
leaq 0x2f3c2(%rip), %r9      # 0x6c8b0
movslq (%r9,%r8,4), %r8
movslq %esi, %rsi
imulq %r8, %rsi
shrq $0x18, %rsi
movslq %edi, %rdi
movl %esi, %r8d
sarl $0x6, %r8d
testb %cl, %cl
cmovel %esi, %r8d
movl %ecx, %esi
shll $0x8, %esi
leaq 0x59d8a7(%rip), %r9     # 0x5dadc0
addq %r9, %rsi
movl %r8d, (%rsi,%rdi,4)
addq $0x4, %rdx
jmp 0x3d484
xorl %ecx, %ecx
cmpb $0x10, %al
setb %cl
shll $0x6, %ecx
addl %ecx, %r10d
addl $0xffffff7f, %r10d      # imm = 0xFFFFFF7F
testl %r10d, %r10d
jg 0x3d476
jmp 0x3e3fc
movzbl (%r14), %eax
leal -0xc(%rax), %ecx
cmpl $0x10, %eax
cmovbl %eax, %ecx
imulq $0x14, %rcx, %rsi
movdqu 0x1(%r14), %xmm0
leaq 0x58c997(%rip), %rax    # 0x5c9f00
movq %rsi, 0x70(%rsp)
movdqu %xmm0, 0x1(%rsi,%rax)
addq $0x11, %r14
movq %r14, 0x30(%rsp)
addl $-0x11, %r10d
leaq 0x58ca18(%rip), %rax    # 0x5c9fa0
andl $0x0, (%rax,%rcx,4)
movq %rcx, 0x18(%rsp)
shlq $0xc, %rcx
leaq 0x58d724(%rip), %rax    # 0x5cacc0
addq %rcx, %rax
movq %rax, 0x38(%rsp)
leaq 0x595715(%rip), %rax    # 0x5d2cc0
addq %rax, %rcx
movq %rcx, 0x58(%rsp)
xorl %r12d, %r12d
pushq $0x1
popq %r13
xorl %esi, %esi
xorl %eax, %eax
cmpq $0x11, %r13
je 0x3d6eb
movq %r10, 0x98(%rsp)
leaq 0x58c929(%rip), %rcx    # 0x5c9f00
movq 0x70(%rsp), %rdx
addq %rdx, %rcx
movzbl (%r13,%rcx), %ebp
leal (%rax,%rbp), %edi
movq 0x18(%rsp), %rbx
imulq $0x50, %rbx, %rcx
leaq 0x58c9c8(%rip), %rdx    # 0x5c9fc0
addq %rcx, %rdx
movl %edi, 0x64(%rsp)
movl %edi, (%rdx,%r13,4)
movl %esi, %edx
subl %eax, %edx
leaq 0x58cc32(%rip), %rax    # 0x5ca240
addq %rax, %rcx
movl %edx, (%rcx,%r13,4)
movl %esi, 0x50(%rsp)
movl %esi, %ecx
shlq $0x8, %rbx
leaq 0x58ce9a(%rip), %rax    # 0x5ca4c0
addq %rax, %rbx
movq %rcx, %r15
leaq (%rbx,%rcx), %rdi
movq 0x30(%rsp), %rsi
movq %rbp, %rdx
callq 0x60c0
cmpq $0xa, %r13
ja 0x3d6c0
movb $0xa, %cl
subb %r13b, %cl
pushq $0x1
popq %rax
shll %cl, %eax
leal (%r12,%rax), %ecx
leal 0x1(%r12), %edx
xorl %esi, %esi
leaq 0x2f151(%rip), %r11     # 0x6c7b0
cmpq %rbp, %rsi
je 0x3d6c7
movslq %ecx, %rdi
movslq %r12d, %r12
subq %r12, %rdi
movq 0x38(%rsp), %r8
leaq (%r8,%r12,4), %r8
movq 0x58(%rsp), %r9
leaq (%r9,%r12,4), %r9
leaq (%rsi,%r15), %r10
movzbl (%rbx,%r10), %r10d
addl %eax, %r12d
xorl %r11d, %r11d
cmpq %r11, %rdi
je 0x3d6a6
movl %r10d, (%r8,%r11,4)
movl %r13d, (%r9,%r11,4)
movl %r11d, %r14d
incq %r11
addl %edx, %r14d
jmp 0x3d68e
leaq 0x58c8f3(%rip), %rdi    # 0x5c9fa0
movq 0x18(%rsp), %r8
movl %r14d, (%rdi,%r8,4)
incq %rsi
addl %eax, %ecx
addq %rax, %rdx
jmp 0x3d658
leaq 0x2f0e9(%rip), %r11     # 0x6c7b0
addq %rbp, 0x30(%rsp)
movq 0x98(%rsp), %r10
subl %ebp, %r10d
movl 0x50(%rsp), %esi
addl %ebp, %esi
movl 0x64(%rsp), %eax
addl %eax, %eax
incq %r13
jmp 0x3d5be
testl %r10d, %r10d
movq 0x30(%rsp), %r14
jg 0x3d54b
movl 0x60(%rsp), %r13d
jmp 0x3e3f7
movzwl (%rdi), %eax
movzwl 0x2(%rdi), %ecx
movq 0x48(%rsp), %rdx
movq %rdx, 0x58c6f2(%rip)    # 0x5c9e08
movq 0x68(%rsp), %rdx
movl %edx, 0x58c6ef(%rip)    # 0x5c9e10
movl %r12d, 0x58c6ec(%rip)   # 0x5c9e14
movl %r13d, 0x58c6e9(%rip)   # 0x5c9e18
movl 0x690(%rsp), %edx
movl %edx, 0x58c6e0(%rip)    # 0x5c9e1c
movl 0x698(%rsp), %edx
movl %edx, 0x58c6d7(%rip)    # 0x5c9e20
movzbl 0x4(%rdi), %edx
movb %dl, 0x58c73d(%rip)     # 0x5c9e90
addq $0x5, %rdi
xorl %esi, %esi
movq $0x0, 0x108(%rsp)
movq $0x0, 0x100(%rsp)
movq $0x0, 0xf8(%rsp)
movq $0x0, 0xf0(%rsp)
movq %rdi, %r14
cmpq %rdx, %rsi
je 0x3d87a
movzbl (%r14), %edi
leaq 0x58c700(%rip), %r8     # 0x5c9ea0
movl %edi, (%r8,%rsi,4)
movzbl 0x1(%r14), %r8d
shrl $0x4, %r8d
leaq 0x58c6fc(%rip), %rdi    # 0x5c9eb0
movl %r8d, (%rdi,%rsi,4)
movzbl 0x1(%r14), %edi
andl $0xf, %edi
leaq 0x58c6f9(%rip), %r9     # 0x5c9ec0
movl %edi, (%r9,%rsi,4)
movzbl 0x2(%r14), %r9d
leaq 0x58c6f9(%rip), %r10    # 0x5c9ed0
movl %r9d, (%r10,%rsi,4)
movq %r11, %r10
xorl %r9d, %r9d
cmpq $0x8, %r9
je 0x3d800
cmpl %r8d, (%r10)
je 0x3d7f5
incq %r9
addq $0x4, %r10
jmp 0x3d7e1
leaq 0x58c6e4(%rip), %r10    # 0x5c9ee0
movl %r9d, (%r10,%rsi,4)
movq %r11, %r10
xorl %r9d, %r9d
cmpq $0x8, %r9
je 0x3d825
cmpl %edi, (%r10)
je 0x3d81a
incq %r9
addq $0x4, %r10
jmp 0x3d806
leaq 0x58c6cf(%rip), %r10    # 0x5c9ef0
movl %r9d, (%r10,%rsi,4)
cmpl %r8d, 0x108(%rsp)
jae 0x3d84a
leaq 0x58c6aa(%rip), %r9     # 0x5c9ee0
movl (%r9,%rsi,4), %r9d
movq %r9, 0xf8(%rsp)
movq %r8, 0x108(%rsp)
cmpl %edi, 0x100(%rsp)
jae 0x3d86e
leaq 0x58c696(%rip), %r8     # 0x5c9ef0
movl (%r8,%rsi,4), %r8d
movq %r8, 0xf0(%rsp)
movq %rdi, 0x100(%rsp)
addq $0x3, %r14
incq %rsi
jmp 0x3d78c
rolw $0x8, %ax
rolw $0x8, %cx
movzwl %ax, %eax
movq %rax, 0xc8(%rsp)
movzwl %cx, %eax
movq %rax, 0xd0(%rsp)
jmp 0x3e3fc
cmpl $0x0, 0xd0(%rsp)
jle 0x3ee45
cmpl $0x0, 0xc8(%rsp)
jle 0x3ee45
movzbl -0x1(%rdi), %r12d
movl %r12d, 0x59d8fb(%rip)   # 0x5db1c0
cmpl $0x1, %r12d
je 0x3d8db
testl %r12d, %r12d
je 0x3ee45
movb $0x2, 0x58c505(%rip)    # 0x5c9de0
leal (,%r12,4), %eax
xorl %ecx, %ecx
movzbl -0x3(%rbx), %ebp
cmpq %rcx, %rax
je 0x3d945
leaq 0x59d8db(%rip), %rdx    # 0x5db1d0
movl %ebp, (%rcx,%rdx)
movzbl -0x2(%rbx), %edx
shrl $0x4, %edx
leaq 0x59d8da(%rip), %rsi    # 0x5db1e0
movl %edx, (%rcx,%rsi)
movzbl -0x2(%rbx), %edx
andl $0xf, %edx
leaq 0x59d8d9(%rip), %rsi    # 0x5db1f0
movl %edx, (%rcx,%rsi)
addq $0x4, %rcx
addq $0x2, %rbx
jmp 0x3d8e5
movzwl -0x1(%rdi), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl %eax, 0xc4(%rsp)
addl %edx, %ecx
leaq (%rcx,%rdi), %r14
addq $-0x3, %r14
jmp 0x3e3fc
movzbl -0x2(%rbx), %r13d
movzbl -0x1(%rbx), %eax
movl %eax, 0x70(%rsp)
movb %al, 0x18(%rsp)
cmpl $0x0, 0x114(%rsp)
jne 0x3d97d
testl %ebp, %ebp
jne 0x3e417
cmpb $0x3f, %r13b
jne 0x3e417
cmpb $0x0, 0x18(%rsp)
jne 0x3e417
andl $0xf, 0x70(%rsp)
movzbl 0x58c507(%rip), %edx    # 0x5c9e90
movq 0xf8(%rsp), %rax
leal 0x3(%rax), %esi
movq 0xf0(%rsp), %rax
leal 0x3(%rax), %edi
shll $0x2, %edx
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %r8d, %r8d
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %ebp, 0xb8(%rsp)
cmpq %r12, %r8
je 0x3dac6
xorl %r9d, %r9d
cmpq %r9, %rdx
je 0x3dabe
leaq 0x59d7fe(%rip), %r10    # 0x5db1d0
movl (%r10,%r8,4), %r10d
leaq 0x58c4c3(%rip), %r11    # 0x5c9ea0
cmpl (%r9,%r11), %r10d
jne 0x3daae
movq 0x250(%rsp,%r9,2), %r10
movq %r10, 0x1f0(%rsp,%r8,8)
movl 0x160(%rsp,%r9), %r10d
movl %r10d, 0x190(%rsp,%r8,4)
leaq 0x58c4a2(%rip), %r10    # 0x5c9eb0
movl (%r9,%r10), %r10d
leaq 0x59d7e7(%rip), %r11    # 0x5db200
movl %r10d, (%r11,%r8,4)
leaq 0x58c49c(%rip), %r10    # 0x5c9ec0
movl (%r9,%r10), %r10d
leaq 0x59d7e1(%rip), %r11    # 0x5db210
movl %r10d, (%r11,%r8,4)
leaq 0x58c496(%rip), %r10    # 0x5c9ed0
movl (%r9,%r10), %r10d
leaq 0x59d7db(%rip), %r11    # 0x5db220
movl %r10d, (%r11,%r8,4)
leaq 0x58c490(%rip), %r10    # 0x5c9ee0
movl (%r9,%r10), %r10d
testq %r8, %r8
je 0x3da66
leaq 0x58c490(%rip), %r11    # 0x5c9ef0
movl (%r9,%r11), %r11d
jmp 0x3da7f
movl %r10d, 0x59d7c3(%rip)   # 0x5db230
leaq 0x58c47c(%rip), %r11    # 0x5c9ef0
movl (%r9,%r11), %r11d
movl %r11d, 0x59d7b5(%rip)   # 0x5db234
movl %esi, %ebp
subl %r10d, %ebp
movl %ebp, 0x140(%rsp,%r8,4)
movl %edi, %ebp
subl %r11d, %ebp
cmpl %ecx, %r10d
cmovll %r10d, %ecx
movl %ebp, 0x150(%rsp,%r8,4)
cmpl %eax, %r11d
cmovll %r11d, %eax
movl 0xb8(%rsp), %ebp
addq $0x4, %r9
leaq 0x2ecf7(%rip), %r11     # 0x6c7b0
jmp 0x3d9c2
incq %r8
jmp 0x3d9b6
movq 0x108(%rsp), %rdx
movl %edx, %esi
shrl %cl, %esi
movl 0x59d728(%rip), %edx    # 0x5db200
cmpl %esi, %edx
movl %esi, 0x11c(%rsp)
cmovgel %esi, %edx
movl %edx, 0x59d716(%rip)    # 0x5db200
movq 0x100(%rsp), %rcx
movl %ecx, %r10d
movl %eax, %ecx
shrl %cl, %r10d
movl 0x59d710(%rip), %eax    # 0x5db210
cmpl %r10d, %eax
cmovgel %r10d, %eax
movl %eax, 0x59d703(%rip)    # 0x5db210
imull %edx, %eax
movl %eax, 0x59d722(%rip)    # 0x5db238
movl 0x58c300(%rip), %edi    # 0x5c9e1c
movq 0xd0(%rsp), %rax
leal (%rdi,%rax), %edx
movl 0x58c2e6(%rip), %r8d    # 0x5c9e14
cmpl %r8d, %edx
movl %r8d, %eax
cmovll %edx, %eax
movl %eax, 0x59d6ff(%rip)    # 0x5db23c
movl 0x58c2dd(%rip), %ecx    # 0x5c9e20
movq 0xc8(%rsp), %rax
addl %ecx, %eax
movl 0x58c2c5(%rip), %esi    # 0x5c9e18
cmpl %esi, %eax
movl %esi, %r9d
cmovll %eax, %r9d
movl %r9d, 0x59d6dd(%rip)    # 0x5db240
xorl %r9d, %r9d
testl %edi, %edi
cmovlel %r9d, %edi
cmpl %r8d, %edi
jge 0x3ee3c
testl %edx, %edx
jle 0x3ee3c
xorl %edx, %edx
testl %ecx, %ecx
cmovlel %edx, %ecx
cmpl %esi, %ecx
jge 0x3ee3c
testl %eax, %eax
jle 0x3ee3c
shll $0x3, 0x11c(%rsp)
pushq $0x1
popq %rax
movl 0x70(%rsp), %ecx
shll %cl, %eax
shll $0x3, %r10d
movl %r10d, 0x13c(%rsp)
movl %eax, 0xe8(%rsp)
negl %eax
movl %eax, 0xec(%rsp)
cmpb $0x1, %bpl
movl %ebp, %eax
adcl $0x0, %eax
cmpb $0x10, 0x18(%rsp)
movzbl %al, %eax
movl %eax, 0x8c(%rsp)
movl $0x0, %eax
movl $0x0, %ecx
sbbl %ecx, %ecx
movl %ecx, 0xd8(%rsp)
leal 0x1(%r13), %ecx
movl %ecx, 0x64(%rsp)
movb $-0x30, %cl
movl %ecx, 0x118(%rsp)
movl 0xc4(%rsp), %ecx
movl %ecx, 0x120(%rsp)
xorl %ebp, %ebp
xorl %r12d, %r12d
xorl %r14d, %r14d
cmpl 0xc8(%rsp), %eax
jge 0x3e3cf
xorl %edi, %edi
movq %rax, 0xa0(%rsp)
cmpl 0xd0(%rsp), %edi
jge 0x3e3c3
movq %rbx, %rax
subq 0x8(%rsp), %rax
addq $-0x4, %rax
cmpq 0x128(%rsp), %rax
jge 0x3e3cf
movq %rdi, 0xb0(%rsp)
cmpq $0x0, 0x20(%rsp)
leaq 0x59d5ea(%rip), %rax    # 0x5db250
movq 0x80(%rsp), %rcx
cmoveq %rax, %rcx
movq %rcx, 0x80(%rsp)
xorl %r15d, %r15d
movslq 0x59d53c(%rip), %rax    # 0x5db1c0
cmpq %rax, %r15
jge 0x3e303
cmpq $0x0, 0x20(%rsp)
jne 0x3dcb6
leaq 0x59d584(%rip), %rax    # 0x5db220
movslq (%rax,%r15,4), %rcx
shlq $0x8, %rcx
leaq 0x59d115(%rip), %rax    # 0x5dadc0
addq %rax, %rcx
movq %rcx, 0xa8(%rsp)
leaq 0x59d533(%rip), %rax    # 0x5db1f0
movslq (%rax,%r15,4), %rax
leaq 0x4(%rax), %rdx
shlq $0xc, %rdx
leaq 0x58cff0(%rip), %rcx    # 0x5cacc0
addq %rdx, %rcx
movq %rcx, 0x50(%rsp)
leaq 0x594fe1(%rip), %rcx    # 0x5d2cc0
addq %rcx, %rdx
movq %rdx, 0x98(%rsp)
leaq 0x58c2af(%rip), %rcx    # 0x5c9fa0
movl 0x10(%rcx,%rax,4), %eax
movl %eax, 0x58(%rsp)
xorl %ecx, %ecx
movq %r15, 0x30(%rsp)
leaq 0x59d509(%rip), %rax    # 0x5db210
movl (%rax,%r15,4), %eax
shll $0x3, %eax
cmpl %eax, %ecx
jge 0x3e2fb
movq 0xa0(%rsp), %rax
movq %rcx, 0x130(%rsp)
addl %ecx, %eax
movl %eax, 0x88(%rsp)
xorl %r8d, %r8d
leaq 0x59d4c7(%rip), %rax    # 0x5db200
movl (%rax,%r15,4), %eax
shll $0x3, %eax
cmpl %eax, %r8d
jge 0x3e2eb
cmpq $0x0, 0x20(%rsp)
je 0x3dd99
movb 0x150(%rsp,%r15,4), %cl
movl 0x88(%rsp), %eax
shrl %cl, %eax
movq 0xb0(%rsp), %rcx
leal (%r8,%rcx), %edx
movb 0x140(%rsp,%r15,4), %cl
shrl %cl, %edx
imull 0x190(%rsp,%r15,4), %eax
addl %eax, %edx
shll $0x6, %edx
movslq %edx, %rax
addq %rax, %rax
addq 0x1f0(%rsp,%r15,8), %rax
movq %rax, 0x10(%rsp)
cmpl $0x0, 0xb8(%rsp)
movl %r14d, 0x38(%rsp)
movq %r8, 0xe0(%rsp)
je 0x3ddfc
cmpq $0x0, 0x20(%rsp)
jne 0x3df2d
movq 0x80(%rsp), %rax
leaq 0x4(%rax), %rdi
movl $0xfc, %edx
xorl %esi, %esi
callq 0x62f0
leaq 0x2e9d5(%rip), %r11     # 0x6c7b0
jmp 0x3df2d
movzbl (%rbx), %eax
xorl %ecx, %ecx
cmpl $0xff, %eax
sete %cl
addq %rcx, %rbx
incq %rbx
shll $0x8, %ebp
orl %eax, %ebp
addl $0x8, %r12d
cmpl $0x17, %r12d
jle 0x3dde0
cmpb $0xf, 0x18(%rsp)
ja 0x3de56
leal -0xa(%r12), %ecx
movl %ebp, %edx
sarl %cl, %edx
andl $0x3ff, %edx            # imm = 0x3FF
leaq 0x59d3c1(%rip), %rax    # 0x5db1e0
movslq (%rax,%r15,4), %rdi
leaq 0x58c176(%rip), %rax    # 0x5c9fa0
cmpl (%rax,%rdi,4), %edx
jge 0x3de78
shlq $0xc, %rdi
leaq 0x58ce86(%rip), %rax    # 0x5cacc0
addq %rdi, %rax
shll $0x2, %edx
movl (%rdx,%rax), %eax
movl %eax, 0x44(%rsp)
leaq 0x594e72(%rip), %rcx    # 0x5d2cc0
addq %rcx, %rdx
addq %rdi, %rdx
jmp 0x3dea5
decl %r12d
testl %ebp, (%r11,%r12,4)
je 0x3ddb0
movzwl 0xe8(%rsp), %eax
movq 0x10(%rsp), %rcx
orw %ax, (%rcx)
jmp 0x3ddb0
movl %r12d, %esi
movl %ebp, %edx
leaq 0x44(%rsp), %rcx
leaq 0x124(%rsp), %r14
movq %r14, %r8
callq 0x42180
leaq 0x2e917(%rip), %r11     # 0x6c7b0
movl 0x44(%rsp), %eax
movq %r14, %rdx
movl 0x38(%rsp), %r14d
subl (%rdx), %r12d
testl %eax, %eax
je 0x3df08
cmpl $0x17, %r12d
jg 0x3ded1
movzbl (%rbx), %ecx
xorl %edx, %edx
cmpl $0xff, %ecx
sete %dl
addq %rdx, %rbx
incq %rbx
shll $0x8, %ebp
orl %ecx, %ebp
addl $0x8, %r12d
jmp 0x3deac
subl %eax, %r12d
movl %ebp, %edx
movl %r12d, %ecx
shrl %cl, %edx
cltq
leaq 0x2e94c(%rip), %rsi     # 0x6c830
movl (%rsi,%rax,4), %ecx
andl %ecx, %edx
cmpl -0x4(%rsi,%rax,4), %edx
movl $0x0, %eax
cmovgl %eax, %ecx
leaq 0x58bf84(%rip), %rax    # 0x5c9e80
addl (%rax,%r15,4), %edx
subl %ecx, %edx
movl %edx, (%rax,%r15,4)
jmp 0x3df13
leaq 0x58bf71(%rip), %rax    # 0x5c9e80
movl (%rax,%r15,4), %edx
cmpq $0x0, 0x20(%rsp)
je 0x3e2b8
movl 0x70(%rsp), %ecx
shll %cl, %edx
movq 0x10(%rsp), %rax
movw %dx, (%rax)
testl %r14d, %r14d
jle 0x3dfd4
addl 0xd8(%rsp), %r14d
movb $0x1, %r10b
movl 0x8c(%rsp), %r9d
cmpb $0x10, 0x18(%rsp)
jb 0x3dfbb
testl %r14d, %r14d
jle 0x3dfbb
movslq %r9d, %rax
cmpq %r13, %rax
jg 0x3dfb8
movq 0x10(%rsp), %rcx
movzwl (%rcx,%rax,2), %ecx
testq %rcx, %rcx
jne 0x3df8b
jmp 0x3dfb3
movzbl (%rbx), %edx
xorl %esi, %esi
cmpl $0xff, %edx
sete %sil
addq %rsi, %rbx
incq %rbx
shll $0x8, %ebp
orl %edx, %ebp
addl $0x8, %r12d
cmpl $0x17, %r12d
jle 0x3df6d
decl %r12d
testl %ebp, (%r11,%r12,4)
je 0x3dfb3
movl %ecx, %edx
shrl $0xf, %edx
movzwl 0xe8(%rsp,%rdx,4), %edx
addw %cx, %dx
movq 0x10(%rsp), %rcx
movw %dx, (%rcx,%rax,2)
incq %rax
jmp 0x3df58
decl %r14d
cmpq $0x0, 0x20(%rsp)
je 0x3e216
movq 0xe0(%rsp), %r8
jmp 0x3e272
movb $0x1, %r10b
movl 0x8c(%rsp), %r9d
cmpl %r13d, %r9d
jle 0x3e005
jmp 0x3df49
movzbl (%rbx), %eax
xorl %ecx, %ecx
cmpl $0xff, %eax
sete %cl
addq %rcx, %rbx
incq %rbx
shll $0x8, %ebp
orl %eax, %ebp
addl $0x8, %r12d
cmpl $0x17, %r12d
jle 0x3dfe9
leal -0xa(%r12), %ecx
movl %ebp, %eax
sarl %cl, %eax
andl $0x3ff, %eax            # imm = 0x3FF
cmpl 0x58(%rsp), %eax
jge 0x3e034
shll $0x2, %eax
movq 0x50(%rsp), %rcx
addq %rax, %rcx
addq 0x98(%rsp), %rax
jmp 0x3e089
leaq 0x59d1b5(%rip), %rax    # 0x5db1f0
movl (%rax,%r15,4), %edi
addl $0x4, %edi
movl %r12d, %esi
movl %ebp, %edx
leaq 0x44(%rsp), %rcx
movq %r13, %r15
leaq 0x124(%rsp), %r8
movl %r9d, %r13d
movl %r10d, %r14d
callq 0x42180
movl %r13d, %r9d
movl %r14d, %r10d
leaq 0x2e741(%rip), %r11     # 0x6c7b0
leaq 0x44(%rsp), %rcx
leaq 0x124(%rsp), %rax
movq %r15, %r13
movq 0x30(%rsp), %r15
movl 0x38(%rsp), %r14d
movl (%rcx), %edi
movl (%rax), %ecx
movl %r12d, %eax
subl %ecx, %eax
movl %edi, %edx
sarl $0x4, %edx
movl %edi, %esi
andl $0xf, %esi
movl %esi, 0x44(%rsp)
je 0x3e0c9
cmpb $0x10, 0x18(%rsp)
jb 0x3e0dd
notl %ecx
movl %ecx, %eax
addl %r12d, %eax
movslq %eax, %rcx
testl %ebp, (%r11,%rcx,4)
je 0x3e177
movl 0xe8(%rsp), %ecx
jmp 0x3e17e
cmpl $0xe, %edx
jle 0x3e283
cmpb $0x10, 0x18(%rsp)
jae 0x3e182
addl %r9d, %edx
cmpl %r13d, %edx
jle 0x3e107
jmp 0x3e27b
movzbl (%rbx), %ecx
xorl %edi, %edi
cmpl $0xff, %ecx
sete %dil
addq %rdi, %rbx
incq %rbx
shll $0x8, %ebp
orl %ecx, %ebp
addl $0x8, %eax
cmpl $0x17, %eax
jle 0x3e0ea
subl %esi, %eax
movl %ebp, %edi
movl %eax, %ecx
shrl %cl, %edi
leaq 0x2e715(%rip), %r8      # 0x6c830
movl (%r8,%rsi,4), %ecx
andl %ecx, %edi
movl %esi, %esi
cmpl -0x4(%r8,%rsi,4), %edi
movl $0x0, %esi
cmovgl %esi, %ecx
subl %ecx, %edi
movslq %edx, %rsi
leaq 0x59dd14(%rip), %rcx    # 0x5dbe50
orb (%rsi,%rcx), %r10b
cmpq $0x0, 0x20(%rsp)
je 0x3e15c
movl 0x70(%rsp), %ecx
shll %cl, %edi
movq 0x10(%rsp), %rcx
movw %di, (%rcx,%rsi,2)
jmp 0x3e209
leaq 0x59cb5d(%rip), %rcx    # 0x5dacc0
movslq (%rcx,%rsi,4), %rcx
movq 0x80(%rsp), %rsi
movl %edi, (%rsi,%rcx,4)
jmp 0x3e209
movl 0xec(%rsp), %ecx
movl %ecx, 0x44(%rsp)
movslq %r9d, %rcx
movq 0x10(%rsp), %rsi
movzwl (%rsi,%rcx,2), %esi
testq %rsi, %rsi
je 0x3e1db
cmpl $0x17, %eax
jg 0x3e1b8
movzbl (%rbx), %edi
xorl %r8d, %r8d
cmpl $0xff, %edi
sete %r8b
addq %r8, %rbx
incq %rbx
shll $0x8, %ebp
orl %edi, %ebp
addl $0x8, %eax
jmp 0x3e193
decl %eax
testl %ebp, (%r11,%rax,4)
je 0x3e1e1
movl %esi, %edi
shrl $0xf, %edi
movzwl 0xe8(%rsp,%rdi,4), %edi
addw %si, %di
movq 0x10(%rsp), %rsi
movw %di, (%rsi,%rcx,2)
jmp 0x3e1e1
testl %edx, %edx
jle 0x3e1f3
decl %edx
leaq 0x1(%rcx), %rsi
cmpq %r13, %rcx
movq %rsi, %rcx
jl 0x3e185
movl 0x64(%rsp), %edx
jmp 0x3e1f5
movl %ecx, %edx
movl 0x44(%rsp), %ecx
testl %ecx, %ecx
je 0x3e209
movslq %edx, %rsi
movq 0x10(%rsp), %rdi
movw %cx, (%rdi,%rsi,2)
incl %edx
movl %edx, %r9d
movl %eax, %r12d
jmp 0x3dfdf
pushq $0x3f
popq %rax
movq 0x80(%rsp), %rdi
movq 0xa8(%rsp), %rsi
testl %eax, %eax
js 0x3e23d
movl %eax, %ecx
movl (%rdi,%rcx,4), %edx
imull (%rsi,%rcx,4), %edx
movl %edx, (%rdi,%rcx,4)
decl %eax
jmp 0x3e229
movzbl %r10b, %esi
movl %r14d, %r15d
movq %rdi, %r14
callq 0x42209
movq 0xe0(%rsp), %r8
leaq 0x2e555(%rip), %r11     # 0x6c7b0
addq $0x100, %r14            # imm = 0x100
movq %r14, 0x80(%rsp)
movl %r15d, %r14d
movq 0x30(%rsp), %r15
addl $0x8, %r8d
jmp 0x3dd32
subl %ecx, %r12d
jmp 0x3dfbb
movslq %edx, %rax
movl (%r11,%rax,4), %r14d
subl %ecx, %r12d
cmpl $0x10, %edi
jb 0x3e2de
cmpl $0x17, %r12d
jg 0x3e2c7
movzbl (%rbx), %ecx
xorl %esi, %esi
cmpl $0xff, %ecx
sete %sil
addq %rsi, %rbx
incq %rbx
shll $0x8, %ebp
orl %ecx, %ebp
addl $0x8, %r12d
jmp 0x3e292
movq 0x80(%rsp), %rax
movl %edx, (%rax)
jmp 0x3ddbc
subl %edx, %r12d
movl %ebp, %edx
movl %r12d, %ecx
shrl %cl, %edx
leaq 0x2e558(%rip), %rcx     # 0x6c830
andl (%rcx,%rax,4), %edx
addl %edx, %r14d
addl 0xd8(%rsp), %r14d
jmp 0x3df49
movq 0x130(%rsp), %rcx
addl $0x8, %ecx
jmp 0x3dd00
incq %r15
jmp 0x3dc7d
cmpq $0x0, 0x20(%rsp)
movq 0xb0(%rsp), %rdi
jne 0x3e32f
movq 0xa0(%rsp), %rsi
callq 0x42660
movq 0xb0(%rsp), %rdi
leaq 0x2e481(%rip), %r11     # 0x6c7b0
decl 0x120(%rsp)
movq 0xa0(%rsp), %rax
jne 0x3e3b7
sarl $0x3, %r12d
movslq %r12d, %rax
subq %rax, %rbx
cmpb $-0x1, -0x1(%rbx)
leaq 0x1(%rbx), %rbx
movl 0x118(%rsp), %edx
jne 0x3e360
cmpb %dl, -0x1(%rbx)
je 0x3e363
decq %rbx
incb %dl
xorl %eax, %eax
cmpq $0x10, %rax
je 0x3e386
leaq 0x58bb0c(%rip), %rcx    # 0x5c9e80
andl $0x0, (%rax,%rcx)
movq 0xb0(%rsp), %rdi
addq $0x4, %rax
jmp 0x3e367
cmpb $-0x28, %dl
movzbl %dl, %edx
movl $0xd0, %eax
cmovael %eax, %edx
movl %edx, 0x118(%rsp)
xorl %r12d, %r12d
movl 0xc4(%rsp), %eax
movl %eax, 0x120(%rsp)
xorl %r14d, %r14d
movq 0xa0(%rsp), %rax
addl 0x11c(%rsp), %edi
jmp 0x3dc2a
addl 0x13c(%rsp), %eax
jmp 0x3dc13
cmpq $0x0, 0x20(%rsp)
movl 0x60(%rsp), %r13d
je 0x3f47e
incl 0x114(%rsp)
sarl $0x3, %r12d
notl %r12d
movslq %r12d, %rax
addq %rax, %rbx
movq %rbx, %r14
movl 0x7c(%rsp), %r12d
movq %r14, %rax
subq 0x8(%rsp), %rax
cmpq 0x128(%rsp), %rax
jl 0x3d3e7
jmp 0x3e511
movq 0xd0(%rsp), %rax
movq 0x108(%rsp), %rcx
leal (%rax,%rcx,8), %eax
decl %eax
movq 0xf8(%rsp), %rcx
addl $0x3, %ecx
sarl %cl, %eax
movzbl 0x58ba4f(%rip), %r14d   # 0x5c9e90
movq 0xc8(%rsp), %rcx
movq 0x100(%rsp), %rdx
leal (%rcx,%rdx,8), %edx
decl %edx
movq 0xf0(%rsp), %rcx
addl $0x3, %ecx
sarl %cl, %edx
movl %r14d, %esi
shll $0x2, %esi
xorl %r8d, %r8d
xorl %edi, %edi
cmpq %r8, %rsi
je 0x3e4b2
leaq 0x58ba66(%rip), %rcx    # 0x5c9ee0
movb (%r8,%rcx), %cl
movl %eax, %r9d
shll %cl, %r9d
movl %r9d, 0x160(%rsp,%r8)
leaq 0x58ba5d(%rip), %rcx    # 0x5c9ef0
movb (%r8,%rcx), %cl
movl %edx, %r10d
shll %cl, %r10d
movl %r10d, 0x1c0(%rsp,%r8)
imull %r9d, %r10d
addl %r10d, %edi
addq $0x4, %r8
jmp 0x3e46e
shll $0x7, %edi
movslq %edi, %rsi
pushq $0x1
popq %rdi
callq 0x6930
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x3f487
xorl %eax, %eax
xorl %ecx, %ecx
leaq 0x2e2d7(%rip), %r11     # 0x6c7b0
cmpq %rax, %r14
je 0x3d97d
movl %ecx, %edx
shll $0x6, %edx
movslq %edx, %rdx
movq 0x20(%rsp), %rsi
leaq (%rsi,%rdx,2), %rdx
movq %rdx, 0x250(%rsp,%rax,8)
movl 0x1c0(%rsp,%rax,4), %edx
imull 0x160(%rsp,%rax,4), %edx
addl %edx, %ecx
incq %rax
jmp 0x3e4d9
cmpq $0x0, 0x20(%rsp)
je 0x3f47e
movzbl 0x58b96c(%rip), %eax    # 0x5c9e90
movl %eax, 0x59cc96(%rip)    # 0x5db1c0
movq 0xf8(%rsp), %r8
addl $0x3, %r8d
movq 0xf0(%rsp), %r9
addl $0x3, %r9d
shll $0x2, %eax
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0x3e5ae
leaq 0x58b95d(%rip), %rsi    # 0x5c9eb0
movl (%rcx,%rsi), %edx
leaq 0x59cca3(%rip), %rdi    # 0x5db200
movl %edx, (%rcx,%rdi)
shll $0x3, %edx
movl %edx, (%rcx,%rsi)
leaq 0x58b953(%rip), %rsi    # 0x5c9ec0
movl (%rcx,%rsi), %edx
leaq 0x59cc99(%rip), %rdi    # 0x5db210
movl %edx, (%rcx,%rdi)
shll $0x3, %edx
movl %edx, (%rcx,%rsi)
movl %r8d, %edx
leaq 0x58b956(%rip), %rsi    # 0x5c9ee0
subl (%rcx,%rsi), %edx
movl %edx, 0x140(%rsp,%rcx)
movl %r9d, %edx
leaq 0x58b952(%rip), %rsi    # 0x5c9ef0
subl (%rcx,%rsi), %edx
movl %edx, 0x150(%rsp,%rcx)
addq $0x4, %rcx
jmp 0x3e547
movl 0x58b92c(%rip), %eax    # 0x5c9ee0
movl %eax, 0x59cc76(%rip)    # 0x5db230
movl 0x58b930(%rip), %ecx    # 0x5c9ef0
movl %ecx, 0x59cc6e(%rip)    # 0x5db234
movl 0x59cc34(%rip), %eax    # 0x5db200
shll %cl, %eax
movl %eax, 0x59cc64(%rip)    # 0x5db238
movq $0x0, 0x28(%rsp)
leaq 0x59d8ac(%rip), %r12    # 0x5dbe90
xorl %ebx, %ebx
cmpl 0xc8(%rsp), %ebx
jge 0x3ee45
xorl %edx, %edx
movq %rbx, 0x38(%rsp)
cmpl 0xd0(%rsp), %edx
jge 0x3e728
movzbl 0x58b882(%rip), %eax    # 0x5c9e90
movq %rax, 0x30(%rsp)
xorl %ebp, %ebp
leaq 0x59cc34(%rip), %r15    # 0x5db250
movq %rdx, 0x10(%rsp)
cmpq 0x30(%rsp), %rbp
je 0x3e70c
leaq 0x58b88d(%rip), %rax    # 0x5c9ec0
movl (%rax,%rbp,4), %eax
movl %eax, 0x58(%rsp)
xorl %ecx, %ecx
cmpl 0x58(%rsp), %ecx
jge 0x3e704
leaq 0x58b863(%rip), %rax    # 0x5c9eb0
movl (%rax,%rbp,4), %r13d
movq %rcx, 0x18(%rsp)
addl %ecx, %ebx
xorl %r14d, %r14d
cmpl %r13d, %r14d
jge 0x3e6f2
movb 0x150(%rsp,%rbp,4), %cl
movl %ebx, %eax
sarl %cl, %eax
addl %r14d, %edx
movb 0x140(%rsp,%rbp,4), %cl
sarl %cl, %edx
imull 0x160(%rsp,%rbp,4), %eax
addl %eax, %edx
shll $0x6, %edx
movslq %edx, %rax
addq %rax, %rax
addq 0x250(%rsp,%rbp,8), %rax
leaq 0x58b833(%rip), %rcx    # 0x5c9ed0
movslq (%rcx,%rbp,4), %rcx
shlq $0x8, %rcx
leaq 0x59c714(%rip), %rdx    # 0x5dadc0
addq %rdx, %rcx
xorl %edx, %edx
cmpq $0x100, %rdx            # imm = 0x100
je 0x3e6d0
movslq (%rdx,%r12), %rsi
movswl (%rax,%rsi,2), %esi
imull (%rcx,%rdx), %esi
movl %esi, (%r15,%rdx)
addq $0x4, %rdx
jmp 0x3e6b1
movq %r15, %rdi
movl $0xff, %esi
callq 0x42209
movq 0x10(%rsp), %rdx
addl $0x8, %r14d
addq $0x100, %r15            # imm = 0x100
jmp 0x3e65b
movq 0x18(%rsp), %rcx
addl $0x8, %ecx
movq 0x38(%rsp), %rbx
jmp 0x3e63c
incq %rbp
jmp 0x3e621
movq 0x10(%rsp), %rdi
movl %ebx, %esi
callq 0x42660
movq 0x10(%rsp), %rdx
addl 0x58b78d(%rip), %edx    # 0x5c9eb0
jmp 0x3e5fa
addl 0x58b792(%rip), %ebx    # 0x5c9ec0
jmp 0x3e5e6
movq %r9, 0x581a2e(%rip)     # 0x5c0168
jmp 0x3f487
movb $0x3, 0x58b69a(%rip)    # 0x5c9de0
movb $0x8, 0x58b694(%rip)    # 0x5c9de1
movl $0x100, 0x571439(%rip)  # imm = 0x100
movzwl 0x2(%rax), %edx
testl %edx, %edx
je 0x3f487
movzwl 0x4(%rax), %esi
testl %esi, %esi
je 0x3f487
addq $0x20, 0x8(%rsp)
xorl %ecx, %ecx
leaq 0x58b262(%rip), %rax    # 0x5c99e0
cmpq $0x400, %rcx            # imm = 0x400
je 0x3e829
movq 0x8(%rsp), %r9
movzbl (%r9), %edi
shll $0x12, %edi
movzbl 0x1(%r9), %r8d
shll $0xa, %r8d
orl %edi, %r8d
movzbl 0x2(%r9), %edi
leal (%r8,%rdi,4), %edi
addl $0xff000000, %edi       # imm = 0xFF000000
movl %edi, (%rcx,%rax)
addq $0x3, %r9
movq %r9, 0x8(%rsp)
addq $0x4, %rcx
jmp 0x3e77e
cmpl $0x2c, %eax
jne 0x3e81c
movq 0x1(%rsi), %rax
movq %rax, %rcx
shrq $0x30, %rcx
movq %rcx, 0xa0(%rsp)
movq %rax, %rcx
shrq $0x20, %rcx
movq %rcx, 0xa8(%rsp)
movl $0xffff, %r10d          # imm = 0xFFFF
movzbl 0x9(%rsi), %ecx
addq $0xa, %rsi
movl %ecx, %r11d
andb $0x40, %r11b
movl %r11d, 0x70(%rsp)
cmovel %r8d, %r14d
testb %cl, %cl
js 0x3ee54
movq %rsi, %rbx
movq %r9, %rsi
jmp 0x3ee6c
pushq $-0x1
popq %rax
movq %rax, 0x28(%rsp)
jmp 0x3f487
movl 0x698(%rsp), %ecx
addl %ecx, %edx
addl %ecx, %esi
movslq %ecx, %rcx
movslq %edx, %rdx
movslq %esi, %rsi
leaq 0x4(%r15), %rdi
imulq %rcx, %rdi
addq %rdi, 0x48(%rsp)
movq %rcx, %rdi
cmpq %rsi, %rdi
jge 0x3f47e
movq 0x48(%rsp), %r8
movq %rcx, %r9
cmpq %rdx, %r9
jge 0x3e894
cmpl %r13d, %edi
setae %r10b
cmpl %r12d, %r9d
setae %r11b
orb %r10b, %r11b
jne 0x3e886
movq 0x8(%rsp), %r10
movzbl (%r10), %r10d
movl (%rax,%r10,4), %r10d
movl %r10d, (%r8)
incq 0x8(%rsp)
incq %r9
addq $0x4, %r8
jmp 0x3e85e
incq %rdi
addq %r15, 0x48(%rsp)
jmp 0x3e84d
testb $0xf, %r15b
jne 0x3f656
movb $0x2, 0x58b531(%rip)    # 0x5c9de0
cmpl $0x10, %r15d
je 0x3f52c
cmpl $0x20, %r15d
jne 0x3f55e
pushq $0x10
jmp 0x3f532
movb $0x3, 0x58b50f(%rip)    # 0x5c9de0
movb %r15b, 0x58b509(%rip)   # 0x5c9de1
movl %ecx, 0x5712b2(%rip)    # 0x5afb90
jmp 0x3f656
movl $0x10000, 0x250(%rsp) # imm = 0x10000
subq $-0x80, %rax
cmpl $0x1, %r8d
movq %rax, %rdx
sete %al
movb $0x2, %cl
subb %al, %cl
movq 0x98(%rsp), %rax
shll %cl, %eax
cltq
movq %rax, 0xb8(%rsp)
movq %rdx, %rax
movq $0x0, 0x28(%rsp)
xorl %ecx, %ecx
movl %r8d, 0x64(%rsp)
cmpl 0xe0(%rsp), %ecx
jge 0x3f487
movq %rax, 0x8(%rsp)
addq $0x8, %rax
movq %rax, 0x70(%rsp)
movl 0x698(%rsp), %eax
leal (%rcx,%rax), %edx
movq %rdx, 0x18(%rsp)
imull 0x68(%rsp), %edx
movq %rdx, 0x80(%rsp)
movl 0x690(%rsp), %eax
movl %eax, 0x20(%rsp)
xorl %eax, %eax
movq %rcx, 0x50(%rsp)
cmpq 0x98(%rsp), %rax
jge 0x3ed8b
cmpl $0x1, %r8d
movq %rax, 0x30(%rsp)
jne 0x3e995
addl %eax, %eax
movslq %eax, %rdx
addq 0x8(%rsp), %rdx
jmp 0x3e9a4
leal (,%rax,4), %eax
movslq %eax, %rdx
addq 0x70(%rsp), %rdx
cmpl $0x1, %r8d
setne %r10b
movzwl (%rdx), %r11d
movl %r11d, %esi
shrl $0x8, %esi
andl $-0x8, %esi
movl %esi, 0x160(%rsp)
movl %r11d, %ecx
shrl $0x3, %ecx
movl $0xfc, %r8d
andl %r8d, %ecx
movl %ecx, 0x1c0(%rsp)
movl %r11d, %eax
shll $0x3, %eax
movl $0xff, %ebx
andl %ebx, %eax
movl %eax, 0x190(%rsp)
movl %ebx, 0x1f0(%rsp)
movq %rdx, 0x10(%rsp)
movzwl 0x2(%rdx), %edx
movl %edx, %r14d
shrl $0x8, %r14d
andl $-0x8, %r14d
movl %r14d, 0x164(%rsp)
movl %edx, %r9d
shrl $0x3, %r9d
andl %r8d, %r9d
movl %r9d, 0x1c4(%rsp)
movl %edx, %r8d
shll $0x3, %r8d
andl %ebx, %r8d
movl %r8d, 0x194(%rsp)
movl %ebx, 0x1f4(%rsp)
cmpw %dx, %r11w
seta %dl
orb %r10b, %dl
cmpb $0x1, %dl
jne 0x3eab3
leal (%r14,%rsi,2), %edx
imull $0x5555, %edx, %r11d    # imm = 0x5555
movl $0x5555, %ebp           # imm = 0x5555
addl %ebp, %r11d
shrl $0x10, %r11d
leal (%r9,%rcx,2), %edx
imull $0x5555, %edx, %r10d    # imm = 0x5555
addl %ebp, %r10d
shrl $0x10, %r10d
leal (%r8,%rax,2), %edx
imull $0x5555, %edx, %ebx     # imm = 0x5555
addl %ebp, %ebx
shrl $0x10, %ebx
leal (%rsi,%r14,2), %edx
imull $0x5555, %edx, %esi     # imm = 0x5555
addl %ebp, %esi
shrl $0x10, %esi
leal (%rcx,%r9,2), %ecx
imull $0x5555, %ecx, %ecx     # imm = 0x5555
addl %ebp, %ecx
shrl $0x10, %ecx
leal (%rax,%r8,2), %eax
imull $0x5555, %eax, %eax     # imm = 0x5555
addl %ebp, %eax
shrl $0x10, %eax
movl $0xff, %edx
jmp 0x3ead6
addl %esi, %r14d
shrl %r14d
addl %ecx, %r9d
shrl %r9d
addl %eax, %r8d
shrl %r8d
xorl %esi, %esi
movl %r14d, %r11d
movl %r9d, %r10d
movl %r8d, %ebx
xorl %ecx, %ecx
xorl %eax, %eax
xorl %edx, %edx
movl %r11d, 0x168(%rsp)
movl %r10d, 0x1c8(%rsp)
movl %ebx, 0x198(%rsp)
movl $0xff, 0x1f8(%rsp)
movl %esi, 0x16c(%rsp)
movl %ecx, 0x1cc(%rsp)
movl %eax, 0x19c(%rsp)
movl %edx, 0x1fc(%rsp)
cmpb $0x34, %dil
movq 0x10(%rsp), %r8
jl 0x3eb9e
movzbl -0x8(%r8), %edx
movl %edx, 0x1f0(%rsp)
movzbl -0x7(%r8), %ecx
movl %ecx, 0x1f4(%rsp)
cmpl %edx, %ecx
js 0x3ed4d
leal (%rcx,%rdx,4), %eax
imull $0x3333, %eax, %eax     # imm = 0x3333
addl $0x6666, %eax           # imm = 0x6666
imull $0x3333, %ecx, %ecx     # imm = 0x3333
imull $0x3333, %edx, %edx     # imm = 0x3333
subl %edx, %ecx
xorl %edx, %edx
cmpq $0x4, %rdx
je 0x3eb76
movl %eax, %esi
shrl $0x10, %esi
movl %esi, 0x1f8(%rsp,%rdx,4)
incq %rdx
addl %ecx, %eax
jmp 0x3eb5d
movabsq $0xff00000000, %rax     # imm = 0xFF00000000
movq %rax, 0x208(%rsp)
movl -0x6(%r8), %eax
movl %eax, 0x140(%rsp)
movl -0x3(%r8), %eax
movl %eax, 0x144(%rsp)
movl 0x4(%r8), %esi
movl 0x690(%rsp), %eax
movq 0x30(%rsp), %rcx
addl %ecx, %eax
movq 0x80(%rsp), %rcx
leal (%rcx,%rax,4), %eax
movslq %eax, %r9
addq 0x48(%rsp), %r9
xorl %ebp, %ebp
xorl %r11d, %r11d
cmpl $0x4, %ebp
je 0x3ed30
movq 0x18(%rsp), %rax
addl %ebp, %eax
cmpl %r13d, %eax
jae 0x3ed11
movq %rbp, 0x58(%rsp)
shrl %ebp
leal (%r11,%r11), %eax
movl 0x20(%rsp), %r13d
xorl %r14d, %r14d
cmpq $0x10, %r14
je 0x3ed17
cmpl %r12d, %r13d
jae 0x3ecff
movl %esi, %r15d
movl %eax, %ecx
sarl %cl, %r15d
andl $0x3, %r15d
movzbl %dil, %ecx
leal -0x32(%rcx), %edx
cmpl $0x2, %edx
jb 0x3ec48
addl $-0x34, %ecx
cmpl $0x2, %ecx
jae 0x3ec6a
movl 0x140(%rsp,%rbp,4), %edx
movl %r11d, %ecx
andb $0x7, %cl
movzbl %cl, %ecx
leal (%rcx,%rcx,2), %ecx
sarl %cl, %edx
andl $0x7, %edx
movl 0x1f0(%rsp,%rdx,4), %ecx
jmp 0x3ec74
movl %r11d, %ecx
sarl %ecx
movslq %ecx, %rcx
movq 0x10(%rsp), %rdx
movzbl -0x8(%rdx,%rcx), %edx
movl %r14d, %ecx
andb $0x4, %cl
shrl %cl, %edx
andl $0xf, %edx
imull $0x11, %edx, %ecx
jmp 0x3ec74
movl %r15d, %ecx
movl 0x1f0(%rsp,%rcx,4), %ecx
shll $0x2, %r15d
movl 0x160(%rsp,%r15), %ebx
movl 0x1c0(%rsp,%r15), %r10d
movl 0x190(%rsp,%r15), %r15d
testb $0x1, %dil
jne 0x3ecec
movslq %ecx, %rdx
movl 0x250(%rsp,%rdx,4), %edx
imull %edx, %r15d
movl $0xff, %r12d
movl $0xff0000, %r8d         # imm = 0xFF0000
cmpl %r8d, %r15d
jb 0x3ecbd
movl $0xff, %r15d
jmp 0x3ecc1
shrl $0x10, %r15d
imull %edx, %r10d
cmpl %r8d, %r10d
jb 0x3ecd2
movl $0xff, %r10d
jmp 0x3ecd6
shrl $0x10, %r10d
imull %ebx, %edx
cmpl %r8d, %edx
jae 0x3ece4
shrl $0x10, %edx
movl %edx, %r12d
movl %r12d, %ebx
movl 0x7c(%rsp), %r12d
movb %r15b, (%r9,%r14)
movb %r10b, 0x1(%r9,%r14)
movb %bl, 0x2(%r9,%r14)
movb %cl, 0x3(%r9,%r14)
incl %r11d
addq $0x4, %r14
incl %r13d
addl $0x2, %eax
jmp 0x3ebf4
addl $0x4, %r11d
jmp 0x3ed26
movl 0x60(%rsp), %r13d
movq 0x38(%rsp), %r15
movq 0x58(%rsp), %rbp
incl %ebp
addq %r15, %r9
jmp 0x3ebc8
movq 0x30(%rsp), %rax
addq $0x4, %rax
addl $0x4, 0x20(%rsp)
movl 0x64(%rsp), %r8d
movq 0x50(%rsp), %rcx
jmp 0x3e970
imull $0x6, %edx, %eax
addl %ecx, %eax
imull $0x2492, %eax, %eax     # imm = 0x2492
addl $0x6db6, %eax           # imm = 0x6DB6
imull $0x2492, %ecx, %ecx     # imm = 0x2492
imull $0x2492, %edx, %edx     # imm = 0x2492
subl %edx, %ecx
pushq $0x2
popq %rdx
cmpq $0x8, %rdx
je 0x3eb88
movl %eax, %esi
sarl $0x10, %esi
movl %esi, 0x1f0(%rsp,%rdx,4)
incq %rdx
addl %ecx, %eax
jmp 0x3ed6e
addl $0x4, %ecx
movq 0x8(%rsp), %rax
addq 0xb8(%rsp), %rax
jmp 0x3e927
movb $0x0, 0x571399(%rip)    # 0x5b0140
leal -0x4(%rax), %edx
addq %rdx, %r9
movq %r9, 0x5813b4(%rip)     # 0x5c0168
leal -0x20(,%rax,8), %eax
negl %eax
andq $0x0, 0x58b03b(%rip)    # 0x5c9e00
movl %eax, 0x581395(%rip)    # 0x5c0160
movq 0x48(%rsp), %rax
movq %rax, 0x58b031(%rip)    # 0x5c9e08
movq 0x68(%rsp), %rax
movl %eax, 0x58b02e(%rip)    # 0x5c9e10
movl 0x7c(%rsp), %eax
movl %eax, 0x58b028(%rip)    # 0x5c9e14
movl 0x60(%rsp), %eax
movl %eax, 0x58b022(%rip)    # 0x5c9e18
movl 0x690(%rsp), %eax
movl %eax, 0x58b019(%rip)    # 0x5c9e1c
movl 0x698(%rsp), %eax
movl %eax, 0x58b010(%rip)    # 0x5c9e20
cmpb $0x2, %r10b
je 0x3fb89
cmpl $0x6, %ecx
je 0x3fba3
cmpl $0x4, %ecx
jne 0x3fbb5
movq $0x1, 0x58aff9(%rip) # 0x5c9e30
jmp 0x3fbbc
movq $0x0, 0x28(%rsp)
movq 0x20(%rsp), %rdi
callq 0x61c0
jmp 0x3f487
andb $0x7, %cl
incb %cl
shll %cl, %r8d
shlq %cl, %rbx
movl %r8d, 0x570d2a(%rip)    # 0x5afb90
addq %rsi, %rbx
movl %r8d, %edi
movq %rax, %xmm0
movl %eax, %ecx
shrl $0x10, %ecx
andl %r10d, %eax
movq 0xa8(%rsp), %r8
andl %r10d, %r8d
movq %r8, 0xa8(%rsp)
movl 0x70(%rsp), %r8d
shrb $0x6, %r8b
movl %r8d, 0x70(%rsp)
movl %edi, %r8d
addq $0x2, %rsi
shll $0x2, %edi
xorl %r9d, %r9d
cmpq %r9, %rdi
je 0x3eee4
movzbl -0x2(%rsi), %r10d
shll $0x10, %r10d
movzbl -0x1(%rsi), %r11d
shll $0x8, %r11d
orl %r10d, %r11d
movzbl (%rsi), %r10d
orl %r11d, %r10d
orl $0xff000000, %r10d      # imm = 0xFF000000
leaq 0x58ab0a(%rip), %r11    # 0x5c99e0
movl %r10d, (%r9,%r11)
addq $0x4, %r9
addq $0x3, %rsi
jmp 0x3eea7
leaq 0x58aaf5(%rip), %rsi    # 0x5c99e0
leaq (%rsi,%r8,4), %rsi
cmpq $0xff, %r8
ja 0x3ef07
movl $0xff000000, (%rsi)     # imm = 0xFF000000
incq %r8
addq $0x4, %rsi
jmp 0x3eeef
testl %edx, %edx
js 0x3ef19
movl %edx, %edx
leaq 0x58aacc(%rip), %rsi    # 0x5c99e0
movb $0x0, 0x3(%rsi,%rdx,4)
movq 0x8(%rsp), %r8
movzwl 0x6(%r8), %edx
movzwl 0x8(%r8), %edi
pxor %xmm1, %xmm1
pinsrw $0x2, %edx, %xmm1
pinsrw $0x3, %edi, %xmm1
pcmpeqw %xmm0, %xmm1
punpcklwd %xmm1, %xmm1    # xmm1 = xmm1[0,0,1,1,2,2,3,3]
movmskps %xmm1, %esi
cmpl $0xf, %esi
movq %r14, 0xb8(%rsp)
je 0x3f09d
movq %rbx, 0x10(%rsp)
movzwl %dx, %r10d
xorl %ebx, %ebx
cmpb $0x0, 0xa(%r8)
movl $0x0, %edx
jns 0x3ef78
movzbl 0xb(%r8), %edx
leaq 0x58aa6b(%rip), %rsi    # 0x5c99e0
movl (%rsi,%rdx,4), %edx
movl 0x690(%rsp), %esi
movq %rsi, %r9
testl %r9d, %r9d
movl $0x0, %esi
cmovgl %r9d, %esi
movzwl %di, %edi
movl 0x698(%rsp), %r8d
testl %r8d, %r8d
cmovgl %r8d, %ebx
addl %r9d, %eax
addl %r8d, %ecx
cmpl %r13d, %ecx
movl %r13d, %r8d
cmovll %ecx, %r8d
movq 0xa8(%rsp), %r11
addl %eax, %r11d
addl %r9d, %r10d
cmpl %r12d, %r10d
cmovgel %r12d, %r10d
movl %ebx, %r9d
imull 0x68(%rsp), %r9d
movslq %r9d, %r9
addq 0x48(%rsp), %r9
movslq %r10d, %r10
movq %rsi, %r14
cmpl %r8d, %ebx
jge 0x3eff6
cmpq %r10, %r14
jge 0x3efef
movl %edx, (%r9,%r14,4)
incq %r14
jmp 0x3efe1
incl %ebx
addq %r15, %r9
jmp 0x3efd9
movl 0x698(%rsp), %ebx
cmpl %r8d, %ebx
cmovgl %ebx, %r8d
cmpl %r12d, %eax
movl %r12d, %ebp
movq %rbx, %r12
cmovll %eax, %ebp
xorl %r14d, %r14d
testl %r11d, %r11d
cmovlel %r14d, %r11d
movq 0xa0(%rsp), %rbx
addl %ecx, %ebx
cmpl %r13d, %ebx
cmovgel %r13d, %ebx
testl %r8d, %r8d
cmovlel %r14d, %r8d
movslq %ebp, %r14
movq 0x38(%rsp), %rbp
movq %rsi, %r15
cmpl %ebx, %r8d
jge 0x3f069
cmpq %r14, %r15
jge 0x3f050
movl %edx, (%r9,%r15,4)
incq %r15
jmp 0x3f042
movq %r11, %r15
cmpq %r10, %r15
jge 0x3f061
movl %edx, (%r9,%r15,4)
incq %r15
jmp 0x3f053
incl %r8d
addq %rbp, %r9
jmp 0x3f03a
addl %r12d, %edi
cmpl %r13d, %edi
cmovgel %r13d, %edi
movq 0x10(%rsp), %rbx
cmpl %edi, %r8d
jge 0x3f096
movq %rsi, %r11
cmpq %r10, %r11
jge 0x3f08e
movl %edx, (%r9,%r11,4)
incq %r11
jmp 0x3f080
incl %r8d
addq %rbp, %r9
jmp 0x3f078
movl %ecx, %r14d
movl %eax, %ecx
jmp 0x3f0ac
movl 0x698(%rsp), %r14d
movl 0x690(%rsp), %ecx
movq 0xa8(%rsp), %rdx
addl %ecx, %edx
cmpl %r13d, %r14d
movq %rdx, 0xa8(%rsp)
movq %rcx, 0x50(%rsp)
jae 0x3f0f2
movl %r14d, %eax
imull 0x68(%rsp), %eax
cltq
addq 0x48(%rsp), %rax
movq %rax, 0xd8(%rsp)
movl %edx, 0x88(%rsp)
movl %ecx, %eax
movq %rax, 0xb0(%rsp)
jmp 0x3f118
movl $0x80000000, %eax       # imm = 0x80000000
movl %ecx, %esi
xorl %eax, %esi
movq %rsi, 0xb0(%rsp)
xorl %edx, %eax
movl %eax, 0x88(%rsp)
movq $0x0, 0xd8(%rsp)
movzbl (%rbx), %ecx
pushq $0x1
popq %rdx
shlq %cl, %rdx
movq 0xa0(%rsp), %rax
addl %r14d, %eax
movq %rax, 0xa0(%rsp)
leaq 0x5a7e55(%rip), %rdi    # 0x5e6f90
leaq 0x5abe5e(%rip), %r8     # 0x5eafa0
movq %rdx, 0x98(%rsp)
movq %rdx, %rax
testl %eax, %eax
jle 0x3f162
leaq -0x1(%rax), %rdx
movl %edx, %esi
movl %edx, (%rdi,%rsi,4)
decb %al
movb %al, (%rsi,%r8)
jmp 0x3f14a
pushq $0x2
popq %r13
shll %cl, %r13d
leal 0x1(%rcx), %eax
movl %eax, 0x18(%rsp)
movq 0x98(%rsp), %r15
leal 0x2(%r15), %ebp
leaq 0x2(%rbx), %rsi
movq %rbx, %r12
movzbl 0x1(%rbx), %ebx
leaq 0x5ace22(%rip), %rdi    # 0x5ebfb0
movq %rbx, %rdx
callq 0x60c0
leaq (%r12,%rbx), %rax
addq $0x2, %rax
movq %rax, 0x38(%rsp)
leal 0x1(%r14), %eax
movl %eax, 0xe0(%rsp)
movl $0x80000000, %eax       # imm = 0x80000000
movq 0x50(%rsp), %rcx
xorl %eax, %ecx
movl %ecx, 0x64(%rsp)
xorl 0xa8(%rsp), %eax
movl %eax, 0x80(%rsp)
xorl %r12d, %r12d
leaq 0x5ad0da(%rip), %rax    # 0x5ec2b0
movl %r13d, 0x58(%rsp)
movl %r13d, %ecx
movq %rax, %r13
movl %ebp, 0x20(%rsp)
movl %ebp, %eax
movl 0x18(%rsp), %edx
movq %r14, 0x90(%rsp)
movl %r14d, 0x8c(%rsp)
leaq 0x5a7d8e(%rip), %r8     # 0x5e6f90
leaq 0x5abd97(%rip), %r9     # 0x5eafa0
leaq 0x5acda0(%rip), %rsi    # 0x5ebfb0
movl %edx, %r10d
movl %eax, %edi
movl %ecx, %ebp
movl %r12d, %eax
movl %eax, %ecx
movzbl %dl, %r12d
addl %eax, %r12d
sarl $0x3, %eax
cltq
movl (%rax,%rsi), %r14d
andb $0x7, %cl
sarl %cl, %r14d
movl %r12d, %eax
sarl $0x3, %eax
leal -0x3(%rbx), %ecx
cmpl %ecx, %eax
jle 0x3f2cb
movslq %eax, %rcx
movzwl (%rcx,%rsi), %ecx
movw %cx, 0x5acd5f(%rip)     # 0x5ebfb0
subl %eax, %ebx
movq 0x38(%rsp), %r13
leaq 0x1(%r13), %rsi
movzbl (%r13), %r15d
movslq %ebx, %rbx
leaq 0x5acd45(%rip), %rax    # 0x5ebfb0
movl %edi, 0x10(%rsp)
leaq (%rax,%rbx), %rdi
movq %r15, %rdx
movq %r12, 0x30(%rsp)
movq %rbx, %r12
movl %r10d, %ebx
callq 0x60c0
movl 0x10(%rsp), %edi
movl %ebx, %r10d
movq %r12, %rbx
movq 0x30(%rsp), %r12
leaq 0x5acd14(%rip), %rsi    # 0x5ebfb0
leaq 0x5abcfd(%rip), %r9     # 0x5eafa0
leaq 0x5a7ce6(%rip), %r8     # 0x5e6f90
addq %r15, %r13
incq %r13
movq %r13, 0x38(%rsp)
leaq 0x5acff4(%rip), %r13    # 0x5ec2b0
andl $0x7, %r12d
addl %r15d, %ebx
movq 0x98(%rsp), %r15
leal -0x1(%rbp), %eax
andl %eax, %r14d
movl 0x58(%rsp), %ecx
movl 0x20(%rsp), %eax
movl 0x18(%rsp), %edx
cmpl %r15d, %r14d
je 0x3f210
cmpl %ebp, %edi
sete %al
cmpb $0xc, %r10b
setb %cl
andb %al, %cl
movl %edi, 0x10(%rsp)
movslq %edi, %rdx
movl %r14d, (%r8,%rdx,4)
xorl %eax, %eax
movslq %r14d, %rsi
cmpl %r15d, %r14d
jl 0x3f31a
movb (%rsi,%r9), %dil
movb %dil, (%rax,%r13)
incq %rax
movl (%r8,%rsi,4), %r14d
jmp 0x3f301
shll %cl, %ebp
movq %rbp, 0x130(%rsp)
addb %cl, %r10b
movb %r10b, 0x30(%rsp)
movb (%r8,%rsi,4), %cl
movl %eax, %edi
movb %cl, (%rdi,%r13)
movb %sil, (%rdx,%r9)
movb %sil, -0x1(%rdx,%r9)
movq 0xb8(%rsp), %rsi
movq 0xa0(%rsp), %rdi
movq 0xa8(%rsp), %r8
leaq 0x58a682(%rip), %r10    # 0x5c99e0
movq 0xd8(%rsp), %r11
movl 0x88(%rsp), %ecx
movq 0xb0(%rsp), %rbp
movl 0x8c(%rsp), %r9d
testl %eax, %eax
js 0x3f440
cmpl 0x7c(%rsp), %ebp
jae 0x3f3aa
movl %ecx, %r14d
movl %eax, %ecx
movzbl (%rcx,%r13), %ecx
movl (%r10,%rcx,4), %ecx
leal (,%rbp,4), %edx
movslq %edx, %rdx
movl %ecx, (%r11,%rdx)
movl %r14d, %ecx
incl %ebp
cmpl %ecx, %ebp
jne 0x3f439
addl %esi, %r9d
cmpl %edi, %r9d
jl 0x3f40b
cmpl $0x4, %esi
je 0x3f3d3
cmpl $0x8, %esi
je 0x3f3e2
leal -0x1(%rsi), %ecx
cmpl $0x2, %ecx
jae 0x3f40b
jmp 0x3f47e
pushq $0x2
popq %rcx
movl %ecx, %esi
movl 0xe0(%rsp), %r9d
jmp 0x3f40b
xorl %ecx, %ecx
cmpb $0x0, 0x70(%rsp)
setne %cl
leal 0x4(,%rcx,4), %esi
movq 0x90(%rsp), %rdx
leal (%rdx,%rcx,2), %r9d
addl $0x2, %r9d
movl $0x0, 0x70(%rsp)
cmpl 0x60(%rsp), %r9d
jae 0x3f42c
movl %r9d, %ecx
imull 0x68(%rsp), %ecx
movslq %ecx, %r11
addq 0x48(%rsp), %r11
movl %r8d, %ecx
movq 0x50(%rsp), %rbp
jmp 0x3f439
movl 0x80(%rsp), %ecx
movl 0x64(%rsp), %edx
movl %edx, %ebp
decl %eax
jmp 0x3f37d
movl %r9d, 0x8c(%rsp)
movq %rbp, 0xb0(%rsp)
movl %ecx, 0x88(%rsp)
movq %r11, 0xd8(%rsp)
movq %rsi, 0xb8(%rsp)
movl 0x10(%rsp), %eax
incl %eax
movb 0x30(%rsp), %dl
movq 0x130(%rsp), %rcx
jmp 0x3f1fb
movq $0x0, 0x28(%rsp)
movq 0x28(%rsp), %rax
addq $0x658, %rsp            # imm = 0x658
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %esi, %edi
movq $0x0, 0x18(%rsp)
movl 0x698(%rsp), %r15d
movl 0x690(%rsp), %r12d
movq 0x68(%rsp), %r13
leal -0x2(%rdi), %eax
cmpl $0x2, %eax
jb 0x3f520
cmpl $0x4, %edi
je 0x3f9c4
cmpl $0x1, %edi
jne 0x3f9d6
movb $0x0, 0x58a901(%rip)    # 0x5c9de0
movb $0x8, 0x58a8fb(%rip)    # 0x5c9de1
movl $0xff000000, 0x58a4f0(%rip) # imm = 0xFF000000
pushq $0x1
popq %rcx
movl $0xff010101, %edx       # imm = 0xFF010101
leaq 0x58a4e1(%rip), %r9     # 0x5c99e0
movq 0x8(%rsp), %rax
cmpq $0x100, %rcx            # imm = 0x100
je 0x3f9cd
movl %edx, (%r9,%rcx,4)
incq %rcx
addl $0x10101, %edx          # imm = 0x10101
jmp 0x3f504
movb $0x2, 0x58a8b9(%rip)    # 0x5c9de0
jmp 0x3f9d6
pushq $0x5
popq %r9
pushq $0xa
popq %r8
movl %r8d, 0x58a4a5(%rip)    # 0x5c99e0
movl %r9d, 0x58a4a2(%rip)    # 0x5c99e4
andl $0x0, 0x58a49f(%rip)    # 0x5c99e8
movl %r9d, 0x58a49c(%rip)    # 0x5c99ec
movl %r9d, 0x58a499(%rip)    # 0x5c99f0
movl %r9d, 0x58a496(%rip)    # 0x5c99f4
cmpl $0x3, %edi
jne 0x3f5c4
movq 0x8(%rsp), %rdx
leaq 0xe(%rdx), %rdi
addq %rcx, %rdi
xorl %ecx, %ecx
leaq 0x58a468(%rip), %r8     # 0x5c99e0
cmpq $0x3, %rcx
je 0x3f5c4
movl (%rdi,%rcx,4), %r9d
xorl %r10d, %r10d
cmpl $0x1f, %r10d
ja 0x3f59c
movl %r9d, %r11d
andl $0x1, %r11d
jne 0x3f59c
shrl %r9d
incl %r10d
jmp 0x3f585
movl %r10d, (%r8,%rcx,4)
xorl %r10d, %r10d
cmpl $0x1f, %r10d
ja 0x3f5ba
movl %r9d, %r11d
andl $0x1, %r11d
je 0x3f5ba
shrl %r9d
incl %r10d
jmp 0x3f5a3
movl %r10d, 0xc(%r8,%rcx,4)
incq %rcx
jmp 0x3f578
movq 0x58a414(%rip), %xmm0   # 0x5c99e0
movq 0x58a419(%rip), %r8     # 0x5c99ec
movq %r8, %xmm1
paddd %xmm0, %xmm1
movq 0x2d09c(%rip), %xmm0    # 0x6c680
psubd %xmm1, %xmm0
movq %xmm0, 0x58a3f0(%rip)   # 0x5c99e0
movl 0x58a3fe(%rip), %edi    # 0x5c99f4
movl 0x58a3eb(%rip), %r9d    # 0x5c99e8
addl %edi, %r9d
pushq $0x8
popq %r10
movb $0x18, %cl
subb %r8b, %cl
movl $0xff0000, %r11d        # imm = 0xFF0000
shrl %cl, %r11d
shll %cl, %r11d
subl %r9d, %r10d
movl %r10d, 0x58a3c9(%rip)   # 0x5c99e8
movl %r11d, 0x58a3c6(%rip)   # 0x5c99ec
shrq $0x20, %r8
movb $0x10, %cl
subb %r8b, %cl
movl $0xff00, %r8d           # imm = 0xFF00
shrl %cl, %r8d
shll %cl, %r8d
movl %r8d, 0x58a3ae(%rip)    # 0x5c99f0
movb $0x8, %cl
subb %dil, %cl
movl $0xff, %edi
shrl %cl, %edi
shll %cl, %edi
movl %edi, 0x58a39e(%rip)    # 0x5c99f4
movl %eax, %r8d
imull %r15d, %r8d
addl $0x1f, %r8d
shrl $0x3, %r8d
andl $0xffffffc, %r8d        # imm = 0xFFFFFFC
leal -0x1(%rsi), %ecx
imull %r8d, %ecx
movl %r8d, %edi
negl %edi
movl %esi, %r10d
negl %r10d
cmovsl %esi, %r10d
xorl %r9d, %r9d
testl %esi, %esi
cmovsl %r8d, %edi
movl $0x0, %edx
movq %rdx, 0x28(%rsp)
cmovsl %r9d, %ecx
movl 0x690(%rsp), %edx
cmpl %edx, %r12d
jle 0x3f487
addl %edx, %eax
testl %eax, %eax
jle 0x3f487
movl 0x698(%rsp), %edx
cmpl %r13d, %edx
jge 0x3f487
addl %edx, %r10d
testl %r10d, %r10d
jle 0x3f487
movq 0x8(%rsp), %rbx
leaq (%rbx,%r14), %rsi
addq %rcx, %rsi
xorl %r9d, %r9d
movl 0x690(%rsp), %edx
testl %edx, %edx
movl $0x0, %r8d
movq %r8, 0x28(%rsp)
cmovlel %r9d, %edx
cmpl %r12d, %eax
cmovll %eax, %r12d
movslq %edi, %rax
movq %rax, 0x58(%rsp)
movslq %r12d, %r8
movl 0x698(%rsp), %eax
movslq %eax, %r9
shll $0x2, %eax
movl %r10d, %edi
movq %rdi, 0x18(%rsp)
cltq
subq %rax, 0x48(%rsp)
leal (,%rdx,4), %eax
movl %eax, 0x20(%rsp)
leaq (%rdx,%rdx,2), %rax
addq %rcx, %r14
addq %rbx, %rax
addq %r14, %rax
movq %rax, 0x10(%rsp)
movl %edx, %eax
addl %edx, %eax
movl %eax, 0x30(%rsp)
movq %rdx, 0x50(%rsp)
addq %rdx, %rbx
addq %r14, %rbx
leaq 0x58a285(%rip), %r14    # 0x5c99e0
cmpq 0x18(%rsp), %r9
jge 0x3f487
movq %r15, %rdi
cmpl %r13d, %r9d
jae 0x3f96a
movq %r9, %r13
imulq 0x38(%rsp), %r13
addq 0x48(%rsp), %r13
movq %rdi, %rcx
cmpl $0x1, %ecx
je 0x3f98a
movl 0x20(%rsp), %eax
movq 0x50(%rsp), %r11
cmpl $0x4, %ecx
je 0x3f89d
movq %rbx, %rax
movq 0x50(%rsp), %rcx
cmpl $0x8, %edi
je 0x3f8ba
movl 0x30(%rsp), %eax
movl %eax, %ebp
movq 0x50(%rsp), %r11
cmpl $0x10, %edi
je 0x3f943
movq 0x10(%rsp), %rax
movq 0x50(%rsp), %rcx
cmpl $0x18, %edi
je 0x3f965
movl 0x20(%rsp), %eax
movl %eax, %ebp
movq 0x50(%rsp), %r11
cmpl $0x20, %edi
jne 0x3f96a
cmpq %r8, %r11
jge 0x3f96a
movslq %ebp, %rbp
movl (%rsi,%rbp), %r15d
movb 0x58a1e0(%rip), %al     # 0x5c99e0
movl %eax, %ecx
negb %cl
movl %r15d, %edx
sarl %cl, %edx
movl %r15d, %r10d
movl %eax, %ecx
shll %cl, %r10d
orl %edx, %r10d
andl 0x58a1d1(%rip), %r10d   # 0x5c99ec
movb 0x58a1c3(%rip), %al     # 0x5c99e4
movl %eax, %ecx
negb %cl
movl %r15d, %edx
sarl %cl, %edx
movl %r15d, %r12d
movl %eax, %ecx
shll %cl, %r12d
orl %edx, %r12d
andl 0x58a1b4(%rip), %r12d   # 0x5c99f0
movb 0x58a1a6(%rip), %al     # 0x5c99e8
movl %eax, %ecx
negb %cl
movl %r15d, %edx
sarl %cl, %edx
movl %eax, %ecx
shll %cl, %r15d
addl %r10d, %r12d
orl %edx, %r15d
andl 0x58a197(%rip), %r15d   # 0x5c99f4
leal (%r15,%r12), %eax
addl $0xff000000, %eax       # imm = 0xFF000000
movl %eax, (%r13,%r11,4)
incq %r11
addl $0x4, %ebp
jmp 0x3f7ea
movl %r11d, %ecx
shrl %ecx
movzbl (%rsi,%rcx), %r10d
movl %eax, %ecx
notb %cl
andb $0x4, %cl
shrl %cl, %r10d
andl $0xf, %r10d
movl (%r14,%r10,4), %ecx
movl %ecx, (%r13,%r11,4)
incq %r11
addl $0x4, %eax
cmpq %r8, %r11
jl 0x3f876
jmp 0x3f96a
movzbl (%rax), %r10d
movl (%r14,%r10,4), %r10d
movl %r10d, (%r13,%rcx,4)
incq %rcx
incq %rax
cmpq %r8, %rcx
jl 0x3f8a7
jmp 0x3f96a
movslq %ebp, %rbp
movswl (%rsi,%rbp), %edx
movb 0x58a10f(%rip), %al     # 0x5c99e0
movl %eax, %ecx
negb %cl
movl %edx, %r12d
sarl %cl, %r12d
movl %edx, %r10d
movl %eax, %ecx
shll %cl, %r10d
orl %r12d, %r10d
andl 0x58a0ff(%rip), %r10d   # 0x5c99ec
movb 0x58a0f1(%rip), %al     # 0x5c99e4
movl %eax, %ecx
negb %cl
movl %edx, %r12d
sarl %cl, %r12d
movl %edx, %r15d
movl %eax, %ecx
shll %cl, %r15d
orl %r12d, %r15d
andl 0x58a0e1(%rip), %r15d   # 0x5c99f0
movb 0x58a0d3(%rip), %al     # 0x5c99e8
movl %eax, %ecx
negb %cl
movl %edx, %r12d
sarl %cl, %r12d
movl %eax, %ecx
shll %cl, %edx
addl %r10d, %r15d
orl %r12d, %edx
andl 0x58a0c5(%rip), %edx    # 0x5c99f4
leal (%rdx,%r15), %eax
addl $0xff000000, %eax       # imm = 0xFF000000
movl %eax, (%r13,%r11,4)
incq %r11
addl $0x2, %ebp
cmpq %r8, %r11
jl 0x3f8c4
jmp 0x3f96a
movl (%rax), %edx
movl $0xff000000, %r10d      # imm = 0xFF000000
orl %r10d, %edx
movl %edx, (%r13,%rcx,4)
incq %rcx
addq $0x3, %rax
cmpq %r8, %rcx
jl 0x3f94e
incq %r9
movq 0x58(%rsp), %rax
addq %rax, %rsi
addq %rax, 0x10(%rsp)
addq %rax, %rbx
movl 0x60(%rsp), %r13d
movq %rdi, %r15
jmp 0x3f75b
movq 0x50(%rsp), %rax
cmpq %r8, %rax
jge 0x3f96a
movl %eax, %ecx
shrl $0x3, %ecx
movzbl (%rsi,%rcx), %ecx
movl %eax, %r10d
notb %r10b
movzbl %r10b, %r10d
andl $0x7, %r10d
xorl %r11d, %r11d
btl %r10d, %ecx
setb %r11b
movl (%r14,%r11,4), %ecx
movl %ecx, (%r13,%rax,4)
incq %rax
jmp 0x3f98f
movb $0x6, 0x58a415(%rip)    # 0x5c9de0
jmp 0x3f9d6
movb 0x11(%rax), %cl
movl $0x100, %r9d            # imm = 0x100
movl %ecx, %eax
andb $0x10, %al
leal -0x1(%rbx), %r10d
xorl %r11d, %r11d
testb %al, %al
cmovel %r11d, %r10d
negb %al
movl $0x0, %r14d
sbbl %r14d, %r14d
orl %ebx, %r14d
testb $0x20, %cl
jne 0x3fa0f
decl %ebp
movl %r13d, %ebx
negl %ebx
pushq $-0x1
popq %rax
movl %ebp, %r11d
movl %eax, 0x30(%rsp)
movl %eax, %ebp
jmp 0x3fa19
pushq $0x1
popq %rax
movl %eax, 0x30(%rsp)
movl %r13d, %ebx
movq 0x8(%rsp), %rax
shrb $0x4, %cl
addl %r12d, %r10d
addl %r15d, %r11d
addl %r12d, %r14d
addl %r15d, %ebp
movl %ebp, 0x20(%rsp)
xorl %ebp, %ebp
cmpb $0x8, 0x2(%rax)
setl %bpl
notl %ebp
imull %r11d, %r13d
movslq %r13d, %rax
movslq %ebx, %rdx
movq %rdx, 0x38(%rsp)
movslq %r10d, %rdx
movzbl %cl, %r15d
andl $0x1, %r15d
negq %r15
orq $0x1, %r15
movslq %r14d, %r12
movq 0x48(%rsp), %rcx
leaq (%rcx,%rdx,4), %r13
addq %rax, %r13
leaq (,%r15,4), %rcx
subq %rdx, %r12
movq $0x0, 0x28(%rsp)
leaq 0x2cc84(%rip), %rbx     # 0x6c70c
cmpl 0x20(%rsp), %r11d
je 0x3f487
xorl %r14d, %r14d
movq %r13, 0x58(%rsp)
cmpq %r14, %r12
je 0x3fb75
cmpl $0x7f, %ebp
jg 0x3fb4c
movl %ebp, %eax
notl %eax
testb $0x7f, %al
jne 0x3fabc
movzbl (%r8), %ebp
incq %r8
movq 0x8(%rsp), %rax
cmpb $0x1, 0x1(%rax)
movq %r8, %rdx
jne 0x3fae9
cmpb $0x8, 0x10(%rsp)
jne 0x3fad7
movzbl (%r8), %r9d
jmp 0x3fadb
movzwl (%r8), %r9d
movl %r9d, %eax
imull %edi, %eax
movslq %eax, %rdx
addq 0x18(%rsp), %rdx
leal -0x1(%rdi), %eax
cmpl $0x3, %eax
ja 0x3fb49
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
movzbl (%rdx), %eax
leaq 0x589edc(%rip), %rdx    # 0x5c99e0
movl (%rdx,%rax,4), %r9d
jmp 0x3fb49
movzwl (%rdx), %eax
movl %eax, %edx
shll $0x9, %edx
andl $0xf80000, %edx         # imm = 0xF80000
movl %eax, %r9d
shll $0x6, %r9d
andl $0xf800, %r9d           # imm = 0xF800
orl %edx, %r9d
andl $0x1f, %eax
leal (%r9,%rax,8), %r9d
addl $0xff000000, %r9d       # imm = 0xFF000000
jmp 0x3fb49
movl (%rdx), %r9d
movl $0xff000000, %eax       # imm = 0xFF000000
orl %eax, %r9d
jmp 0x3fb49
movl (%rdx), %r9d
addq %rsi, %r8
cmpl 0x60(%rsp), %r11d
jae 0x3fb61
leal (%r10,%r14), %eax
cmpl 0x7c(%rsp), %eax
jae 0x3fb61
movl %r9d, (%r13)
movl %ebp, %eax
notl %eax
sarl $0x1f, %eax
addl %eax, %ebp
addq %rcx, %r13
addq %r15, %r14
jmp 0x3fa9b
addl 0x30(%rsp), %r11d
movq 0x58(%rsp), %r13
addq 0x38(%rsp), %r13
jmp 0x3fa88
movabsq $0x200000001, %rax      # imm = 0x200000001
movq %rax, 0x58a296(%rip)    # 0x5c9e30
andl $0x0, 0x58a297(%rip)    # 0x5c9e38
jmp 0x3fbbc
movdqa 0x2c415(%rip), %xmm0    # 0x6bfc0
movdqa %xmm0, 0x58a27d(%rip)   # 0x5c9e30
jmp 0x3fbbc
andl $0x0, 0x58a274(%rip)    # 0x5c9e30
movzbl %dil, %eax
cmpb $0x1, %al
je 0x3fbfa
cmpl $0x2, %eax
je 0x3fc38
cmpl $0x4, %eax
jne 0x3fc03
pushq $0x10
popq %rdx
cmpq $0x100, %rdx            # imm = 0x100
je 0x3fc03
movl %edx, %esi
andl $0xf, %esi
movl (%rbx,%rsi,4), %esi
movl %esi, (%rbx,%rdx,4)
incq %rdx
jmp 0x3fbd1
movl %r14d, %edx
andl $0x1, %edx
movl (%rbx,%rdx,4), %edx
movl %edx, (%rbx,%r14,4)
incq %r14
cmpq $0x100, %r14            # imm = 0x100
jne 0x3fbea
shll $0x2, %ecx
movl $0x4021301, %edx        # imm = 0x4021301
shrl %cl, %edx
andl $0x7, %edx
imull 0x58a1d9(%rip), %edx    # 0x5c9df0
movl %edx, 0x58a223(%rip)    # 0x5c9e40
cmpb $0x1, %dil
pushq $0x7
popq %rsi
je 0x3fc5d
cmpl $0x4, %eax
je 0x3fc54
cmpl $0x2, %eax
jne 0x3fc6d
pushq $0x3
popq %rsi
pushq $0x2
popq %rax
jmp 0x3fc59
pushq $0x4
popq %rdx
cmpq $0x100, %rdx            # imm = 0x100
je 0x3fc03
movl %edx, %esi
andl $0x3, %esi
movl (%rbx,%rsi,4), %esi
movl %esi, (%rbx,%rdx,4)
incq %rdx
jmp 0x3fc3b
pushq $0x1
popq %rax
movl %eax, %esi
movl %eax, 0x10(%rsp)
addl %edx, %esi
movl 0x10(%rsp), %ecx
sarl %cl, %esi
movl %esi, 0x58a1d5(%rip)    # 0x5c9e40
movl %esi, %edx
addl $0xffff0000, %edx       # imm = 0xFFFF0000
cmpl $0xfffeffff, %edx       # imm = 0xFFFEFFFF
jb 0x3f487
callq 0x418d4
pushq $0x10
popq %rdi
callq 0x41434
movl %eax, 0x56ff06(%rip)    # 0x5afb98
xorl %ebx, %ebx
leaq 0x5804d5(%rip), %r14    # 0x5c0170
leaq 0x5884ce(%rip), %rbp    # 0x5c8170
movl $0x7fff, %r15d          # imm = 0x7FFF
movl $0x4000, %r13d          # imm = 0x4000
incl 0x56fee8(%rip)          # 0x5afb9c
pushq $0x1
popq %rdi
callq 0x41434
movl %eax, 0x58(%rsp)
pushq $0x2
popq %rdi
callq 0x41434
testl %eax, %eax
je 0x3fcfe
cmpl $0x3, %eax
je 0x401ac
cmpl $0x1, %eax
movq %r13, 0x10(%rsp)
jne 0x3fda9
xorl %eax, %eax
cmpq $0x240, %rax            # imm = 0x240
je 0x3fe10
movl $0x8, (%rax,%rbp)
addq $0x4, %rax
jmp 0x3fce5
xorl %edi, %edi
subl 0x58045a(%rip), %edi    # 0x5c0160
andl $0x7, %edi
callq 0x41450
pushq $0x10
popq %rbp
movl %ebp, %edi
callq 0x41434
movl %eax, %r12d
movl %ebp, %edi
callq 0x41434
xorl %r12d, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
jne 0x3f487
leaq 0x588439(%rip), %rbp    # 0x5c8170
subl $0x1, %r12d
jb 0x401ac
cmpl %r13d, %ebx
jl 0x3fd90
movl %r13d, %edi
andl $0x7fff, %edi           # imm = 0x7FFF
movl $0x4000, %ebp           # imm = 0x4000
xorl %ebp, %edi
addq %r14, %rdi
movl $0x4000, %esi           # imm = 0x4000
callq 0x41b8f
addl %ebp, %r13d
movl 0x58a0d8(%rip), %eax    # 0x5c9e44
cmpl 0x58a0a6(%rip), %eax    # 0x5c9e18
jl 0x3fd89
cmpl $0x2, 0x58a07d(%rip)    # 0x5c9df8
leaq 0x5883ee(%rip), %rbp    # 0x5c8170
jge 0x3fd90
jmp 0x40200
leaq 0x5883e0(%rip), %rbp    # 0x5c8170
pushq $0x8
popq %rdi
callq 0x41434
leal 0x1(%rbx), %ecx
andl $0x7fff, %ebx           # imm = 0x7FFF
movb %al, (%rbx,%r14)
movl %ecx, %ebx
jmp 0x3fd37
pushq $0x5
popq %rbp
movl %ebp, %edi
callq 0x41434
movq %rax, 0x18(%rsp)
movl %ebp, %edi
callq 0x41434
movq %rax, 0x30(%rsp)
pushq $0x4
popq %rdi
callq 0x41434
movl %eax, %r12d
cmpl $-0x3, %eax
pushq $-0x4
popq %rax
cmovll %eax, %r12d
addl $0x4, %r12d
leaq (,%r12,4), %r13
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x3fe28
pushq $0x3
popq %rdi
callq 0x41434
leaq 0x2c965(%rip), %rcx     # 0x6c760
movslq (%rbp,%rcx), %rcx
leaq 0x588869(%rip), %rdx    # 0x5c8670
movl %eax, (%rdx,%rcx,4)
addq $0x4, %rbp
jmp 0x3fde7
xorl %eax, %eax
cmpq $0x70, %rax
je 0x3fe57
movl $0x9, 0x240(%rbp,%rax,4)
incq %rax
jmp 0x3fe12
leaq 0x2c931(%rip), %rax     # 0x6c760
addq %rax, %r13
leaq 0x588337(%rip), %rbp    # 0x5c8170
cmpq $0x12, %r12
ja 0x3fe73
movslq (%r13), %rax
leaq 0x588826(%rip), %rcx    # 0x5c8670
andl $0x0, (%rcx,%rax,4)
incq %r12
addq $0x4, %r13
jmp 0x3fe39
xorl %eax, %eax
cmpq $0x18, %rax
je 0x3ff6e
movl $0x7, 0x400(%rbp,%rax,4)
incq %rax
jmp 0x3fe59
movq 0x18(%rsp), %rax
addl $0x101, %eax            # imm = 0x101
movl %eax, 0x38(%rsp)
movq 0x30(%rsp), %r13
leal 0x1(%r13), %r12d
leaq 0x5887df(%rip), %rdi    # 0x5c8670
pushq $0x13
popq %rsi
leaq 0x588825(%rip), %rdx    # 0x5c86c0
leaq 0x588c9e(%rip), %rcx    # 0x5c8b40
callq 0x4153c
movq 0x18(%rsp), %rax
addl %r13d, %eax
addl $0x102, %eax            # imm = 0x102
movl %eax, 0x18(%rsp)
xorl %r13d, %r13d
movl %r12d, 0x20(%rsp)
cmpl 0x18(%rsp), %r13d
jge 0x3ff86
leaq 0x5887ee(%rip), %rdi    # 0x5c86c0
leaq 0x588c67(%rip), %rsi    # 0x5c8b40
callq 0x415ba
movslq %r13d, %r12
cmpl $0xf, %eax
jg 0x3fef0
incl %r13d
movl %eax, (%rbp,%r12,4)
jmp 0x3fec0
pushq $0x3
popq %rbp
movl %ebp, %edi
cmpl $0x11, %eax
je 0x3ff34
cmpl $0x10, %eax
jne 0x3ff2e
pushq $0x2
popq %rdi
callq 0x41434
addl $0x3, %eax
leaq 0x58825f(%rip), %rbp    # 0x5c8170
leaq (,%r12,4), %rcx
addq %rbp, %rcx
xorl %edx, %edx
cmpl %edx, %eax
je 0x3ff66
movl -0x4(%rcx,%rdx,4), %esi
movl %esi, (%rcx,%rdx,4)
incq %rdx
jmp 0x3ff1e
pushq $0x7
popq %rdi
pushq $0xb
popq %rbp
callq 0x41434
shlq $0x2, %r12
addl %ebp, %eax
negl %eax
xorl %ecx, %ecx
leaq 0x588226(%rip), %rbp    # 0x5c8170
movl %eax, %edx
addl %ecx, %edx
je 0x3ff5e
leaq (%r12,%rcx,4), %rdx
andl $0x0, (%rbp,%rdx)
incq %rcx
jmp 0x3ff4a
addl %ecx, %r13d
jmp 0x3fec0
addl %edx, %r13d
jmp 0x3fec0
xorl %eax, %eax
cmpq $0x8, %rax
je 0x3ff8c
movl $0x8, 0x460(%rbp,%rax,4)
incq %rax
jmp 0x3ff70
movl 0x38(%rsp), %esi
jmp 0x3ffb0
xorl %eax, %eax
cmpq $0x20, %rax
je 0x3ffa4
movl $0x5, 0x480(%rbp,%rax,4)
incq %rax
jmp 0x3ff8e
movl $0x120, %esi            # imm = 0x120
pushq $0x20
popq %rax
movl %eax, 0x20(%rsp)
movq %rbp, %rdi
leaq 0x588706(%rip), %rdx    # 0x5c86c0
leaq 0x588b7f(%rip), %r13    # 0x5c8b40
movl %esi, %r12d
movq %r13, %rcx
callq 0x4153c
leaq 0x5886ed(%rip), %rdi    # 0x5c86c0
movq %r13, %rsi
leaq 0x588be3(%rip), %rdx    # 0x5c8bc0
leaq 0x5893dc(%rip), %rcx    # 0x5c93c0
pushq $0x9
popq %r8
callq 0x41602
movslq %r12d, %rax
leaq (,%rax,4), %rdi
addq %rbp, %rdi
movl 0x20(%rsp), %esi
leaq 0x5895ba(%rip), %r12    # 0x5c95c0
movq %r12, %rdx
leaq 0x589630(%rip), %r13    # 0x5c9640
movq %r13, %rcx
callq 0x4153c
movq %r12, %rdi
movq %r13, %rsi
leaq 0x58969b(%rip), %rdx    # 0x5c96c0
leaq 0x589794(%rip), %rcx    # 0x5c97c0
pushq $0x6
popq %r8
callq 0x41602
movq 0x10(%rsp), %r12
cmpl %r12d, %ebx
jl 0x40089
movl %r12d, %edi
andl $0x7fff, %edi           # imm = 0x7FFF
movl $0x4000, %ebp           # imm = 0x4000
xorl %ebp, %edi
addq %r14, %rdi
movl $0x4000, %esi           # imm = 0x4000
callq 0x41b8f
addl %ebp, %r12d
movl 0x589ddf(%rip), %eax    # 0x5c9e44
cmpl 0x589dad(%rip), %eax    # 0x5c9e18
jl 0x40082
cmpl $0x2, 0x589d84(%rip)    # 0x5c9df8
leaq 0x5880f5(%rip), %rbp    # 0x5c8170
jge 0x40089
jmp 0x40200
leaq 0x5880e7(%rip), %rbp    # 0x5c8170
movq %r12, 0x10(%rsp)
pushq $0x9
popq %rdi
callq 0x416f1
cltq
leaq 0x589321(%rip), %rcx    # 0x5c93c0
movzbl (%rax,%rcx), %edi
testl %edi, %edi
je 0x400b9
leaq 0x588b12(%rip), %rcx    # 0x5c8bc0
movl (%rcx,%rax,4), %r13d
callq 0x41450
jmp 0x400cf
leaq 0x588600(%rip), %rdi    # 0x5c86c0
leaq 0x588a79(%rip), %rsi    # 0x5c8b40
callq 0x415ba
movl %eax, %r13d
cmpl $0xff, %r13d
jg 0x400ec
leal 0x1(%rbx), %eax
andl $0x7fff, %ebx           # imm = 0x7FFF
movb %r13b, (%rbx,%r14)
movl %eax, %ebx
jmp 0x40035
cmpl $0x100, %r13d           # imm = 0x100
je 0x401a7
addl $0xffffff1d, %r13d      # imm = 0xFFFFFF1D
leaq 0x5896f9(%rip), %rbp    # 0x5c9800
movl (%rbp,%r13,8), %edi
callq 0x41434
movl %eax, %r12d
movl 0x4(%rbp,%r13,8), %eax
movl %eax, 0x18(%rsp)
pushq $0x6
popq %rdi
callq 0x416f1
cltq
leaq 0x589692(%rip), %rcx    # 0x5c97c0
movzbl (%rax,%rcx), %edi
testl %edi, %edi
je 0x40148
leaq 0x589583(%rip), %rcx    # 0x5c96c0
movl (%rcx,%rax,4), %r13d
callq 0x41450
jmp 0x4015e
leaq 0x589471(%rip), %rdi    # 0x5c95c0
leaq 0x5894ea(%rip), %rsi    # 0x5c9640
callq 0x415ba
movl %eax, %r13d
movslq %r13d, %r13
leaq 0x589698(%rip), %rbp    # 0x5c9800
movl (%rbp,%r13,8), %edi
callq 0x41434
addl %ebx, %r12d
addl 0x18(%rsp), %r12d
addl 0x4(%rbp,%r13,8), %eax
negl %eax
leal (%rax,%rbx), %ecx
andl %r15d, %ecx
movb (%rcx,%r14), %cl
movl %ebx, %edx
andl %r15d, %edx
movb %cl, (%rdx,%r14)
incl %ebx
cmpl %r12d, %ebx
jl 0x40181
leaq 0x587fce(%rip), %rbp    # 0x5c8170
jmp 0x40035
movq 0x10(%rsp), %r13
cmpl $0x0, 0x58(%rsp)
je 0x3fcae
leal -0x4000(%r13), %eax
movl %eax, %ecx
andl $0x7fff, %ecx           # imm = 0x7FFF
addq %rcx, %r14
movl %eax, %ecx
xorw %bx, %cx
js 0x401d7
subl %eax, %ebx
movq %r14, %rdi
jmp 0x401f9
movq %r13, %rdx
movl $0x4000, %esi           # imm = 0x4000
subl %edx, %esi
movl $0x7fff, %ebp           # imm = 0x7FFF
andl %ebp, %esi
movq %r14, %rdi
callq 0x41b8f
andl %ebp, %ebx
leaq 0x57ff77(%rip), %rdi    # 0x5c0170
movl %ebx, %esi
callq 0x41b8f
movl 0x589be6(%rip), %ecx    # 0x5c9dec
movl 0x589bdc(%rip), %eax    # 0x5c9de8
movl %ecx, %edx
btrl %eax, %edx
testl %edx, %edx
je 0x40224
xorl $0x1, %eax
andl $-0x9, %ecx
orl %eax, %ecx
setne %al
addb %al, %al
addb $0x3, %al
movb %al, 0x56f976(%rip)     # 0x5afba0
movq $0x0, 0x28(%rsp)
cmpb $0x4, 0x589ba6(%rip)    # 0x5c9de0
jne 0x3f487
andl $0x0, 0x56f949(%rip)    # 0x5afb90
jmp 0x3f487