// File: /workspace/github_c_makefile_star2_O3/aligrudi[P]neatmkfn/otf.c
// Function: otf_offsettable
int otf_offsettable(void *otf_otf, void *otf_off)
{
	int i;
	unsigned tag = U32(otf_off, 0);
	struct otf otf_cur = {otf_otf, otf_off};
	struct otf *otf = &otf_cur;
	if (tag != 0x00010000 && tag != 0x4F54544F)
		return 1;
	upm = U16(otf_table(otf, "head"), 18);
	otf_name(otf, otf_table(otf, "name"));
	otf_cmap(otf, otf_table(otf, "cmap"));
	otf_post(otf, otf_table(otf, "post"));
	if (otf_table(otf, "glyf"))
		otf_glyf(otf, otf_table(otf, "glyf"));
	if (otf_table(otf, "CFF "))
		otf_cff(otf, otf_table(otf, "CFF "));
	for (i = 0; i < glyph_n; i++) {
		if (!glyph_name[i][0]) {
			if (glyph_code[i])
				sprintf(glyph_name[i], "uni%04X", glyph_code[i]);
			else
				sprintf(glyph_name[i], "gl%05X", i);
		}
	}
	otf_hmtx(otf, otf_table(otf, "hmtx"));
	if (!mkfn_font(otf->name))
		return 0;
	for (i = 0; i < glyph_n; i++) {
		mkfn_char(glyph_name[i], -1,
			glyph_code[i] != 0xffff ? glyph_code[i] : 0,
			uwid(glyph_wid[i]),
			uwid(glyph_bbox[i][0]), uwid(glyph_bbox[i][1]),
			uwid(glyph_bbox[i][2]), uwid(glyph_bbox[i][3]));
	}
	mkfn_header(otf->name);
	if (otf_table(otf, "kern"))
		otf_kern(otf, otf_table(otf, "kern"));
	otf_feat(otf);
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d128, %rsp          # imm = 0x1D128
movl (%rsi), %eax
bswapl %eax
pxor %xmm0, %xmm0
movdqu %xmm0, 0x110(%rsp)
movdqu %xmm0, 0x100(%rsp)
movdqu %xmm0, 0xf0(%rsp)
movdqu %xmm0, 0xe0(%rsp)
movdqu %xmm0, 0xd0(%rsp)
movdqu %xmm0, 0xc0(%rsp)
movdqu %xmm0, 0xb0(%rsp)
movdqu %xmm0, 0xa0(%rsp)
movq %rdi, 0x90(%rsp)
movq %rsi, 0x98(%rsp)
cmpl $0x4f54544f, %eax       # imm = 0x4F54544F
je 0x3efe4
movl $0x1, %ecx
cmpl $0x10000, %eax          # imm = 0x10000
jne 0x418b0
leaq 0x15ca1(%rip), %rsi     # 0x54c8c
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
callq 0x418c4
movzwl 0x12(%rax), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl %eax, 0x34bc4(%rip)     # 0x73bd0
leaq 0x15c7e(%rip), %rsi     # 0x54c91
movq %rbx, %rdi
callq 0x418c4
movq %rax, %rbx
movzwl 0x2(%rax), %eax
testw %ax, %ax
je 0x3f0ca
movzwl 0x4(%rbx), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
addq %rbx, %rcx
movq %rcx, (%rsp)
rolw $0x8, %ax
cmpw $0x2, %ax
movl $0x1, %ecx
cmovael %eax, %ecx
movzwl %cx, %eax
shll $0x2, %eax
leaq (%rax,%rax,2), %r14
movabsq $0x600000000000100, %r12 # imm = 0x600000000000100
leaq 0x1120(%rsp), %r15
xorl %ebp, %ebp
cmpq %r12, 0x6(%rbx,%rbp)
jne 0x3f0c1
movzwl 0xe(%rbx,%rbp), %eax
movzwl 0x10(%rbx,%rbp), %ecx
rolw $0x8, %cx
rolw $0x8, %ax
movzwl %cx, %esi
addq (%rsp), %rsi
movzwl %ax, %r13d
movq %r15, %rdi
movq %r13, %rdx
callq 0x3d170
movb $0x0, 0x1120(%rsp,%r13)
movl $0x80, %esi
leaq 0xa0(%rsp), %rdi
leaq 0x15d43(%rip), %rdx     # 0x54dfa
movq %r15, %rcx
xorl %eax, %eax
callq 0x3d0d0
addq $0xc, %rbp
cmpq %rbp, %r14
jne 0x3f06b
leaq 0x15bc5(%rip), %rsi     # 0x54c96
leaq 0x90(%rsp), %rdi
callq 0x418c4
movzwl 0x2(%rax), %ecx
testw %cx, %cx
je 0x3f233
rolw $0x8, %cx
cmpw $0x2, %cx
movl $0x1, %edx
cmovael %ecx, %edx
movzwl %dx, %ecx
movq %rcx, (%rsp)
xorl %edx, %edx
leaq 0x434ad5(%rip), %rsi    # 0x473be0
cmpw $0x300, 0x4(%rax,%rdx,8) # imm = 0x300
jne 0x3f226
movzwl 0x6(%rax,%rdx,8), %ecx
cmpl $0x100, %ecx            # imm = 0x100
jne 0x3f226
movl 0x8(%rax,%rdx,8), %r9d
bswapl %r9d
movzwl (%rax,%r9), %ecx
cmpl $0x400, %ecx            # imm = 0x400
jne 0x3f226
addq %rax, %r9
movzwl 0x6(%r9), %r11d
rolw $0x8, %r11w
cmpw $0x2, %r11w
jb 0x3f226
leaq 0xe(%r9), %rdi
movl %r11d, %r8d
andl $0xfffe, %r8d           # imm = 0xFFFE
leaq (%r9,%r8), %rcx
addq $0xe, %rcx
addq %r8, %r9
addq $0x10, %r9
leaq (%r8,%rcx), %r10
addq $0x2, %r10
addq %r10, %r8
movzwl %r11w, %r11d
shrl %r11d
movq %r8, %rbx
xorl %r14d, %r14d
movzwl (%r9,%r14,2), %r12d
rolw $0x8, %r12w
movzwl (%rdi,%r14,2), %r13d
rolw $0x8, %r13w
movzwl %r13w, %r15d
movzwl (%r10,%r14,2), %ebp
rolw $0x8, %bp
movzwl (%r8,%r14,2), %ecx
testw %cx, %cx
je 0x3f1f2
cmpw %r13w, %r12w
ja 0x3f216
rolw $0x8, %cx
movzwl %r12w, %r12d
movzwl %cx, %r13d
incl %r15d
addq %rbx, %r13
movzwl (%r13), %ecx
rolw $0x8, %cx
addl %ebp, %ecx
movzwl %cx, %ecx
movl %r12d, (%rsi,%rcx,4)
incq %r12
addq $0x2, %r13
cmpq %r12, %r15
jne 0x3f1d2
jmp 0x3f216
cmpw %r13w, %r12w
ja 0x3f216
movzwl %r12w, %r12d
incl %r15d
movzwl %bp, %r13d
leal (%r12,%r13), %ecx
movzwl %cx, %ecx
movl %r12d, (%rsi,%rcx,4)
incl %r12d
cmpl %r12d, %r15d
jne 0x3f203
incq %r14
addq $0x2, %rbx
cmpq %r11, %r14
jne 0x3f18f
incq %rdx
cmpq (%rsp), %rdx
jne 0x3f10b
leaq 0x15a61(%rip), %rsi     # 0x54c9b
leaq 0x90(%rsp), %rdi
callq 0x418c4
cmpl $0x200, (%rax)          # imm = 0x200
jne 0x3f2ff
movq %rax, %rbx
movzwl 0x20(%rax), %eax
movl %eax, %ecx
rolw $0x8, %cx
movzwl %cx, %r12d
movl %r12d, 0x34969(%rip)    # 0x73bd4
testw %ax, %ax
je 0x3f2ff
leaq (%rbx,%r12,2), %rax
addq $0x22, %rax
movq %rax, (%rsp)
addq $0x22, %rbx
cmpl $0x1, %r12d
adcl $0x0, %r12d
xorl %ebp, %ebp
leaq 0x3494b(%rip), %r14     # 0x73be0
xorl %r15d, %r15d
movzwl (%rbx,%rbp,2), %eax
rolw $0x8, %ax
movzwl %ax, %eax
cmpl $0x101, %eax            # imm = 0x101
ja 0x3f2bf
leaq 0x296df(%rip), %rcx     # 0x68990
movq (%rcx,%rax,8), %rsi
movq %r14, %rdi
callq 0x3d060
jmp 0x3f2f3
movslq %r15d, %r13
movq (%rsp), %rax
leaq (%rax,%r13), %r15
incq %r15
movzbl -0x1(%r15), %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3d170
movzbl -0x1(%r15), %eax
movb $0x0, (%r14,%rax)
movzbl -0x1(%r15), %eax
leal (%rax,%r13), %r15d
incl %r15d
incq %rbp
addq $0x40, %r14
cmpq %rbp, %r12
jne 0x3f298
leaq 0x1599a(%rip), %rsi     # 0x54ca0
leaq 0x90(%rsp), %rdi
callq 0x418c4
testq %rax, %rax
je 0x3f3f8
movq %rax, %rbx
leaq 0x159bc(%rip), %rsi     # 0x54ce2
leaq 0x90(%rsp), %r15
movq %r15, %rdi
callq 0x418c4
movq %rax, %r12
leaq 0x1594c(%rip), %rsi     # 0x54c8c
movq %r15, %rdi
callq 0x418c4
movq %rax, %r14
leaq 0x15995(%rip), %rsi     # 0x54ce7
movq %r15, %rdi
callq 0x418c4
movzwl 0x4(%r12), %edx
movl %edx, %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
cmpl $0x0, 0x34864(%rip)     # 0x73bd4
jne 0x3f378
movl %ecx, 0x3485c(%rip)     # 0x73bd4
testw %dx, %dx
je 0x3f3f8
movzwl 0x32(%r14), %edx
cmpl $0x1, %ecx
adcl $0x0, %ecx
leaq 0x4b4851(%rip), %rsi    # 0x4f3be0
xorl %edi, %edi
testw %dx, %dx
je 0x3f3a7
movl (%rax,%rdi,4), %r8d
movl 0x4(%rax,%rdi,4), %r9d
bswapl %r8d
bswapl %r9d
jmp 0x3f3ca
movzwl (%rax,%rdi,2), %r8d
movzwl 0x2(%rax,%rdi,2), %r9d
rolw $0x8, %r8w
movzwl %r8w, %r8d
addl %r8d, %r8d
rolw $0x8, %r9w
movzwl %r9w, %r9d
addl %r9d, %r9d
cmpl %r9d, %r8d
jae 0x3f3ec
movq 0x2(%rbx,%r8), %xmm0
movdqa %xmm0, %xmm1
psllw $0x8, %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
psrad $0x10, %xmm0
movdqa %xmm0, (%rsi)
incq %rdi
addq $0x10, %rsi
cmpq %rdi, %rcx
jne 0x3f391
leaq 0x158a6(%rip), %rsi     # 0x54ca5
leaq 0x90(%rsp), %rdi
callq 0x418c4
testq %rax, %rax
je 0x3f7fa
movq %rax, %rbx
cmpb $0x1, (%rax)
jne 0x3f7fa
movzbl 0x2(%rbx), %ecx
leaq (%rbx,%rcx), %r11
movzwl (%rbx,%rcx), %esi
movl %esi, %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzbl 0x2(%rbx,%rcx), %ecx
xorl %edx, %edx
testl %ecx, %ecx
je 0x3f46b
movl %eax, %r8d
imulq %rcx, %r8
movl %ecx, %edi
addq %r11, %r8
addq $0x3, %r8
xorl %r9d, %r9d
movslq %edx, %r10
shlq $0x8, %r10
movzbl (%r8,%r9), %edx
orq %r10, %rdx
incq %r9
cmpq %r9, %rdi
jne 0x3f454
testw %si, %si
je 0x3f7fa
incl %eax
imull %ecx, %eax
addq %r11, %rax
addq $0x3, %rax
leaq (%rdx,%rax), %r12
decq %r12
movzwl (%r12), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzbl 0x2(%r12), %r15d
testl %r15d, %r15d
movq %r11, 0x8(%rsp)
je 0x3f508
movl %eax, %ecx
imulq %r15, %rcx
leaq (%r12,%rcx), %rdx
addq $0x3, %rdx
xorl %esi, %esi
xorl %ecx, %ecx
movslq %ecx, %rdi
shlq $0x8, %rdi
movzbl (%rdx,%rsi), %ecx
orq %rdi, %rcx
incq %rsi
cmpq %rsi, %r15
jne 0x3f4b5
leaq 0x3(%r12), %rdx
incl %eax
imull %r15d, %eax
leaq (%r12,%rax), %r13
addq $0x3, %r13
xorl %eax, %eax
xorl %ebp, %ebp
movslq %ebp, %rsi
shlq $0x8, %rsi
movzbl (%rdx,%rax), %ebp
orq %rsi, %rbp
incq %rax
cmpq %rax, %r15
jne 0x3f4e2
leaq (%rcx,%r13), %rax
decq %rax
movq %rax, (%rsp)
decq %r13
jmp 0x3f51c
incl %eax
imull %r15d, %eax
leaq (%r12,%rax), %r13
addq $0x2, %r13
xorl %ebp, %ebp
movq %r13, (%rsp)
addq %r13, %rbp
xorl %r14d, %r14d
movq %r12, %rdi
xorl %esi, %esi
callq 0x41a8b
movq %rbp, %rdi
movl %eax, %esi
movl $0x11, %edx
callq 0x41a00
movslq %eax, %rbp
testq %r15, %r15
je 0x3f560
movl %r15d, %eax
xorl %ecx, %ecx
movslq %r14d, %rdx
shlq $0x8, %rdx
movzbl 0x3(%r12,%rcx), %r14d
orq %rdx, %r14
incq %rcx
cmpq %rcx, %rax
jne 0x3f548
addq %r14, %r13
movq %r12, %rdi
xorl %esi, %esi
callq 0x41a8b
movq %r13, %rdi
movl %eax, %esi
movl $0xf, %edx
callq 0x41a00
movzwl (%rbx,%rbp), %ecx
rolw $0x8, %cx
movl %eax, %ebp
movzwl %cx, %r13d
movl %r13d, 0x34643(%rip)    # 0x73bd4
addl $0xfffffe79, %r13d      # imm = 0xFFFFFE79
movq (%rsp), %rax
movzwl (%rax), %eax
rolw $0x8, %ax
movzwl %ax, %edx
movabsq $0x666564746f6e2e, %rax # imm = 0x666564746F6E2E
movq %rax, 0x34629(%rip)     # 0x73be0
movq 0x8(%rsp), %rcx
movzwl (%rcx), %eax
testw %ax, %ax
je 0x3f684
movl %edx, 0x18(%rsp)
movl %ebp, 0x28(%rsp)
leaq 0x3(%rcx), %r15
rolw $0x8, %ax
movzwl %ax, %r12d
leaq 0x1120(%rsp), %rdi
xorl %r14d, %r14d
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
movq %rcx, %rbp
callq 0x3d0f0
movq %rbp, %rdi
movzbl 0x2(%rbp), %eax
testq %rax, %rax
je 0x3f61b
xorl %ecx, %ecx
movslq %r14d, %rdx
shlq $0x8, %rdx
movzbl (%r15,%rcx), %r14d
orq %rdx, %r14
incq %rcx
cmpq %rcx, %rax
jne 0x3f604
movl 0x28(%rsp), %ebp
incq %r12
imulq %rax, %r12
addq %r12, %r15
leaq (%r14,%r15), %r12
decq %r12
xorl %esi, %esi
callq 0x41a8b
movslq %eax, %rdx
leaq 0x1120(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x3d170
cmpb $0x0, (%r15)
je 0x3f680
cmpb $0x0, 0xa0(%rsp)
jne 0x3f680
leaq 0xa0(%rsp), %rdi
leaq 0x1578e(%rip), %rdx     # 0x54dfa
leaq 0x1120(%rsp), %rcx
movl $0x80, %esi
xorl %eax, %eax
callq 0x3d0d0
movl 0x18(%rsp), %edx
cmpl %edx, %r13d
jg 0x3f7fa
movslq %ebp, %rdx
leaq (%rbx,%rdx), %r13
movb (%r13), %cl
testb %cl, %cl
sete %sil
movl 0x34530(%rip), %eax     # 0x73bd4
testl %eax, %eax
setg %dil
andb %sil, %dil
cmpb $0x1, %dil
jne 0x3f6f5
addq %rdx, %rbx
incq %rbx
leaq 0x34560(%rip), %r14     # 0x73c20
xorl %r15d, %r15d
movq (%rsp), %r12
movzwl (%rbx,%r15,2), %eax
rolw $0x8, %ax
movzwl %ax, %esi
incq %r15
movq %r12, %rdi
movq %r14, %rdx
callq 0x41b3a
movslq 0x344ec(%rip), %rax     # 0x73bd4
addq $0x40, %r14
cmpq %rax, %r15
jl 0x3f6c7
movb (%r13), %cl
leal -0x1(%rcx), %edx
cmpb $0x1, %dl
ja 0x3f7fa
cmpl $0x2, %eax
jl 0x3f7fa
leaq 0x3(%r13), %r12
xorl %edx, %edx
cmpb $0x1, %cl
sete %dl
movl $0x4, %r8d
subl %edx, %r8d
movl $0x2, %r9d
subl %edx, %r9d
movl $0x1, %r10d
xorl %r11d, %r11d
movq %r13, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq %r9, 0x30(%rsp)
movq %r11, %rcx
imulq %r8, %rcx
movzwl 0x1(%r13,%rcx), %ecx
xorl %edx, %edx
xorl %r15d, %r15d
movl %r15d, %esi
movl %r15d, %edi
shll $0x8, %edi
movzbl (%r12,%rdx), %r15d
orl %edi, %r15d
incq %rdx
cmpq %rdx, %r9
jne 0x3f752
testl %esi, %esi
js 0x3f7eb
cmpl %eax, %r10d
jge 0x3f7eb
movq %r11, 0x28(%rsp)
rolw $0x8, %cx
movl %r10d, 0x8(%rsp)
movslq %r10d, %r14
leaq 0x1(%r14), %rbx
shlq $0x6, %r14
leaq 0x3444c(%rip), %rax     # 0x73be0
addq %rax, %r14
movzwl %cx, %r13d
xorl %ebp, %ebp
leal (%r13,%rbp), %esi
movq (%rsp), %rdi
movq %r14, %rdx
callq 0x41b3a
leaq 0x1(%rbp), %rcx
movl 0x3441c(%rip), %eax     # 0x73bd4
cmpl %r15d, %ebp
jge 0x3f7cf
addq %rbx, %rbp
addq $0x40, %r14
movslq %eax, %rdx
cmpq %rdx, %rbp
movq %rcx, %rbp
jl 0x3f79d
movl 0x8(%rsp), %r10d
addl %ecx, %r10d
movq 0x18(%rsp), %r13
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %r9
movq 0x28(%rsp), %r11
incq %r11
addq %r8, %r12
cmpl %eax, %r10d
jl 0x3f740
movl 0x343d3(%rip), %r13d    # 0x73bd4
testl %r13d, %r13d
jle 0x3f85d
leaq 0x4343d3(%rip), %rbp    # 0x473be0
leaq 0x343cc(%rip), %rbx     # 0x73be0
leaq 0x15497(%rip), %r14     # 0x54cb2
leaq 0x15488(%rip), %r15     # 0x54caa
xorl %r12d, %r12d
cmpb $0x0, (%rbx)
jne 0x3f846
movl (%rbp), %edx
movq %rbx, %rdi
testl %edx, %edx
je 0x3f839
movq %r15, %rsi
jmp 0x3f83f
movq %r14, %rsi
movl %r12d, %edx
xorl %eax, %eax
callq 0x3d1b0
incq %r12
movslq 0x34384(%rip), %r13     # 0x73bd4
addq $0x4, %rbp
addq $0x40, %rbx
cmpq %r13, %r12
jl 0x3f825
leaq 0x15455(%rip), %rsi     # 0x54cb9
leaq 0x90(%rsp), %r14
movq %r14, %rdi
callq 0x418c4
movq %rax, %rbx
leaq 0x154f9(%rip), %rsi     # 0x54d77
movq %r14, %rdi
callq 0x418c4
movzwl 0x22(%rax), %ecx
movl %ecx, %eax
rolw $0x8, %ax
movzwl %ax, %eax
testw %cx, %cx
je 0x3f8c3
cmpl $0x1, %eax
movl %eax, %ecx
adcl $0x0, %ecx
shll $0x2, %ecx
xorl %edx, %edx
leaq 0x474334(%rip), %rsi    # 0x4b3be0
movzwl (%rbx,%rdx), %edi
rolw $0x8, %di
movzwl %di, %edi
movl %edi, (%rdx,%rsi)
addq $0x4, %rdx
cmpq %rdx, %rcx
jne 0x3f8ac
cmpl %eax, %r13d
jle 0x3f9cb
leaq 0x47430d(%rip), %rcx    # 0x4b3be0
movl %eax, %edx
leaq (%rcx,%rdx,4), %rax
addq $0xc, %rax
movl -0x10(%rax), %ecx
movl %r13d, %esi
subq %rdx, %rsi
leaq 0x3(%rsi), %rdx
andq $-0x4, %rdx
decq %rsi
movq %rsi, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
xorl %esi, %esi
movdqa 0x1532b(%rip), %xmm1    # 0x54c30
movdqa 0x15333(%rip), %xmm2    # 0x54c40
movdqa 0x1533b(%rip), %xmm3    # 0x54c50
pxor %xmm3, %xmm0
pcmpeqd %xmm4, %xmm4
movq %rsi, %xmm5
pshufd $0x44, %xmm5, %xmm5     # xmm5 = xmm5[0,1,0,1]
movdqa %xmm5, %xmm6
por %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %edi
notl %edi
testb $0x1, %dil
je 0x3f964
movl %ecx, -0xc(%rax,%rsi,4)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %edi
testb $0x1, %dil
je 0x3f977
movl %ecx, -0x8(%rax,%rsi,4)
por %xmm1, %xmm5
pxor %xmm3, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
pxor %xmm4, %xmm5
pextrw $0x0, %xmm5, %edi
testb $0x1, %dil
je 0x3f9b0
movl %ecx, -0x4(%rax,%rsi,4)
pextrw $0x4, %xmm5, %edi
testb $0x1, %dil
je 0x3f9be
movl %ecx, (%rax,%rsi,4)
addq $0x4, %rsi
cmpq %rsi, %rdx
jne 0x3f91d
leaq 0xa0(%rsp), %rdi
callq 0x3d4b0
xorl %ecx, %ecx
testl %eax, %eax
je 0x418b0
cmpl $0x0, 0x341eb(%rip)     # 0x73bd4
jle 0x3fba9
leaq 0x341ea(%rip), %r14     # 0x73be0
xorl %r12d, %r12d
xorl %r13d, %r13d
leaq 0x4341dd(%rip), %rax    # 0x473be0
movl (%r12,%rax), %ecx
cmpl $0xffff, %ecx           # imm = 0xFFFF
movl $0x0, %eax
cmovel %eax, %ecx
leaq 0x4741c4(%rip), %rax    # 0x4b3be0
movl (%r12,%rax), %r8d
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
leaq 0x2a6e2(%rip), %rsi     # 0x6a110
idivl (%rsi)
movl %eax, %esi
imull $0x3e8, %r8d, %edx      # imm = 0x3E8
movl 0x34190(%rip), %r15d    # 0x73bd0
movl %r15d, %ebp
shrl %ebp
movl %ebp, %edi
negl %edi
testl %r8d, %r8d
movl %ebp, %eax
cmovsl %edi, %eax
movl $0x14, %r9d
movl $0xffffffec, %r8d       # imm = 0xFFFFFFEC
cmovsl %r8d, %r9d
movl $0xffffffec, %ebx       # imm = 0xFFFFFFEC
addl %edx, %eax
cltd
idivl %r15d
movl %eax, %r8d
movl %esi, %eax
cltd
idivl %r9d
addl %r8d, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %esi
movl %eax, (%rsp)
leaq 0x4b4156(%rip), %r8     # 0x4f3be0
movl (%r8,%r12,4), %eax
movl 0x4(%r8,%r12,4), %r10d
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
movl %ebp, %eax
cmovsl %edi, %eax
movl $0x14, %r11d
cmovsl %ebx, %r11d
addl %edx, %eax
cltd
idivl %r15d
movl %eax, %r9d
movl %esi, %eax
cltd
idivl %r11d
addl %r9d, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %esi
movl %eax, 0x8(%rsp)
imull $0x3e8, %r10d, %edx     # imm = 0x3E8
testl %r10d, %r10d
movl %ebp, %eax
cmovsl %edi, %eax
movl $0x14, %r11d
cmovsl %ebx, %r11d
movl $0xffffffec, %r9d       # imm = 0xFFFFFFEC
addl %edx, %eax
cltd
idivl %r15d
movl %eax, %r10d
movl %esi, %eax
cltd
idivl %r11d
addl %r10d, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %esi
movl %eax, %r10d
movl 0x8(%r8,%r12,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
movl %ebp, %eax
cmovsl %edi, %eax
movl $0x14, %ebx
cmovsl %r9d, %ebx
addl %edx, %eax
cltd
idivl %r15d
movl %eax, %r11d
movl %esi, %eax
cltd
idivl %ebx
addl %r11d, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %esi
movl %eax, %r11d
movl 0xc(%r8,%r12,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
cmovnsl %ebp, %edi
movl $0x14, %ebx
cmovsl %r9d, %ebx
addl %edx, %edi
movl %edi, %eax
cltd
idivl %r15d
movl %eax, %edi
movl %esi, %eax
cltd
idivl %ebx
addl %edi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %esi
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl %ecx, %edx
movl (%rsp), %ecx
movl 0x8(%rsp), %r8d
movl %r10d, %r9d
pushq %rax
pushq %r11
callq 0x3d8fc
addq $0x10, %rsp
incq %r13
movslq 0x3403c(%rip), %rax     # 0x73bd4
addq $0x4, %r12
addq $0x40, %r14
cmpq %rax, %r13
jl 0x3f9fc
leaq 0xa0(%rsp), %rdi
callq 0x3d5d4
leaq 0x15101(%rip), %rsi     # 0x54cbe
leaq 0x90(%rsp), %rdi
callq 0x418c4
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x3fd43
movq 0x28(%rsp), %rax
movzwl 0x2(%rax), %eax
testw %ax, %ax
je 0x3fd43
rolw $0x8, %ax
cmpw $0x2, %ax
movl $0x1, %ecx
cmovael %eax, %ecx
movzwl %cx, %eax
movl %eax, 0x18(%rsp)
movq 0x28(%rsp), %rax
addq $0x12, %rax
movq %rax, 0x10(%rsp)
xorl %eax, %eax
movl $0x4, %r12d
leaq 0x33fc2(%rip), %r13     # 0x73be0
leaq 0x2a4eb(%rip), %r15     # 0x6a110
movl $0xffffffec, %r11d      # imm = 0xFFFFFFEC
movq %rax, (%rsp)
movl %r12d, %ebx
movq 0x28(%rsp), %rcx
movzwl 0x4(%rcx,%rbx), %eax
movzwl 0x2(%rcx,%rbx), %ecx
movw %cx, 0x8(%rsp)
andl $0x1ff, %eax            # imm = 0x1FF
cmpl $0x100, %eax            # imm = 0x100
jne 0x3fd24
movq 0x28(%rsp), %rax
movzwl 0x6(%rax,%rbx), %eax
testw %ax, %ax
je 0x3fd24
rolw $0x8, %ax
cmpw $0x2, %ax
movl $0x1, %ecx
cmovael %eax, %ecx
movzwl %cx, %eax
addl %eax, %eax
leaq (%rax,%rax,2), %r14
addq 0x10(%rsp), %rbx
xorl %ebp, %ebp
movzwl -0x4(%rbx,%rbp), %eax
movzwl -0x2(%rbx,%rbp), %ecx
rolw $0x8, %ax
rolw $0x8, %cx
movzwl (%rbx,%rbp), %edx
rolw $0x8, %dx
movswl %dx, %r8d
movzwl %ax, %edi
shll $0x6, %edi
addq %r13, %rdi
movzwl %cx, %esi
shll $0x6, %esi
addq %r13, %rsi
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
idivl (%r15)
movl %eax, %ecx
imull $0x3e8, %r8d, %edx      # imm = 0x3E8
movl 0x33efd(%rip), %r9d     # 0x73bd0
movl %r9d, %r10d
shrl %r10d
movl %r10d, %eax
negl %eax
testw %r8w, %r8w
cmovnsl %r10d, %eax
movl $0x14, %r10d
cmovsl %r11d, %r10d
addl %edx, %eax
cltd
idivl %r9d
movl %eax, %r8d
movl %ecx, %eax
cltd
idivl %r10d
addl %r8d, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %edx
callq 0x3e23f
movl $0xffffffec, %r11d      # imm = 0xFFFFFFEC
addq $0x6, %rbp
cmpq %rbp, %r14
jne 0x3fc89
movzwl 0x8(%rsp), %eax
rolw $0x8, %ax
movzwl %ax, %eax
addl %eax, %r12d
movq (%rsp), %rax
incl %eax
cmpl 0x18(%rsp), %eax
jne 0x3fc2b
leaq 0x15032(%rip), %rsi     # 0x54d7c
leaq 0x90(%rsp), %rdi
callq 0x418c4
testq %rax, %rax
je 0x4024b
movzwl 0x8(%rax), %ebx
leaq 0x1120(%rsp), %rsi
movq %rax, 0x30(%rsp)
movq %rax, %rdi
callq 0x41cdc
leaq 0x2fdf0(%rip), %rcx     # 0x6fb70
cmpl $0x0, (%rcx)
jne 0x4024b
testl %eax, %eax
jle 0x4024b
rolw $0x8, %bx
movzwl %bx, %edx
movq 0x30(%rsp), %rcx
addq %rcx, %rdx
movq %rdx, 0x58(%rsp)
movl %eax, %eax
movq %rax, 0x70(%rsp)
leaq 0x6(%rcx), %rax
movq %rax, 0x68(%rsp)
leaq 0x14ea4(%rip), %r14     # 0x54c60
leaq 0x24(%rsp), %r13
xorl %r15d, %r15d
leaq (%r15,%r15,8), %rax
leaq (%rax,%rax,2), %rax
addq %r15, %rax
leaq (%rsp,%rax), %rdi
addq $0x1120, %rdi           # imm = 0x1120
movslq 0x18(%rdi), %rax
movq 0x58(%rsp), %rcx
movzwl 0x2(%rcx,%rax,2), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl (%rcx,%rax), %ebp
movq %rax, 0x8(%rsp)
movzwl 0x4(%rcx,%rax), %ebx
callq 0x41eb1
incq %r15
movq %r15, 0x48(%rsp)
leal (%r15,%r15), %eax
leal (%rax,%rax,4), %esi
movl %esi, 0x5b3dc9(%rip)    # 0x5f3be0
leaq 0x14f68(%rip), %rdi     # 0x54d86
leaq 0x5b3dcb(%rip), %rdx    # 0x5f3bf0
xorl %eax, %eax
callq 0x3d0c0
testw %bx, %bx
je 0x4023b
movq 0x8(%rsp), %rax
addq 0x58(%rsp), %rax
movq %rax, 0x8(%rsp)
movzwl %bp, %r12d
rolw $0x8, %bp
rolw $0x8, %bx
cmpw $0x2, %bx
movl $0x1, %eax
cmovael %ebx, %eax
movzwl %ax, %ebx
xorl %eax, %eax
movw %bp, 0x28(%rsp)
movl %r12d, 0x18(%rsp)
movq %rbx, 0x10(%rsp)
movq %rax, (%rsp)
movq 0x8(%rsp), %rcx
movzwl 0x6(%rcx,%rax,2), %eax
rolw $0x8, %ax
movzwl %ax, %r15d
addq %rcx, %r15
cmpl $0x700, %r12d           # imm = 0x700
jne 0x3fea6
movzwl 0x2(%r15), %eax
rolw $0x8, %ax
movl 0x4(%r15), %ecx
bswapl %ecx
addq %rcx, %r15
jmp 0x3fea8
movl %ebp, %eax
movzwl %ax, %esi
leal -0x1(%rsi), %eax
cmpl $0x5, %eax
ja 0x401e8
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
movq %r15, %rdi
xorl %esi, %esi
callq 0x41f1a
jmp 0x4022b
movq %r15, %rdi
xorl %esi, %esi
callq 0x42282
jmp 0x4022b
movq %r15, %rdi
xorl %esi, %esi
callq 0x42120
jmp 0x4022b
movl $0xd0, %edx
leaq 0x120(%rsp), %rdi
xorl %esi, %esi
callq 0x3d0f0
movzwl (%r15), %eax
cmpl $0x300, %eax            # imm = 0x300
jne 0x401f8
movzwl 0x2(%r15), %ecx
movl %ecx, %eax
rolw $0x8, %ax
movq 0x30(%rsp), %rdx
movzwl 0x8(%rdx), %edx
movw %dx, 0x78(%rsp)
movzwl %ax, %eax
movl %eax, 0x1e0(%rsp)
testw %cx, %cx
je 0x3ffa1
xorl %r14d, %r14d
leaq 0x29df(%rip), %rbp      # 0x42921
movzwl 0x4(%r15,%r14,2), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r15, %rdi
movq %r13, %rsi
callq 0x42748
movq %rax, %r12
movl 0x24(%rsp), %eax
movslq %eax, %rbx
movl $0x4, %edx
movq %r12, %rdi
movq %rbx, %rsi
movq %rbp, %rcx
callq 0x3d080
movq %r12, %rdi
movl %ebx, %esi
callq 0x42926
movl %eax, 0x120(%rsp,%r14,4)
movq %r12, %rdi
callq 0x3d030
incq %r14
movslq 0x1e0(%rsp), %rax
cmpq %rax, %r14
jl 0x3ff42
movslq %eax, %rsi
movzwl 0x4(%r15,%rsi,2), %ecx
addq %rsi, %rsi
movl %ecx, %eax
rolw $0x8, %ax
movzwl %ax, %eax
movl %eax, 0x1e4(%rsp)
addl $0x6, %esi
testw %cx, %cx
je 0x4003e
movq %rsi, 0x38(%rsp)
movslq %esi, %r14
addq %r15, %r14
xorl %ebp, %ebp
leaq 0x2948(%rip), %r13      # 0x42921
movzwl (%r14,%rbp,2), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r15, %rdi
leaq 0x24(%rsp), %rsi
callq 0x42748
movq %rax, %rbx
movl 0x24(%rsp), %eax
movslq %eax, %r12
movl $0x4, %edx
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x3d080
movq %rbx, %rdi
movl %r12d, %esi
callq 0x42926
movl %eax, 0x160(%rsp,%rbp,4)
movq %rbx, %rdi
callq 0x3d030
incq %rbp
movslq 0x1e4(%rsp), %rax
cmpq %rax, %rbp
jl 0x3ffd9
movq 0x38(%rsp), %rsi
leal (%rsi,%rax,2), %ecx
movslq %ecx, %rcx
movzwl (%r15,%rcx), %edx
movl %edx, %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
movl %ecx, 0x1e8(%rsp)
leal (%rsi,%rax,2), %eax
addl $0x2, %eax
testw %dx, %dx
je 0x400e0
movq %rax, 0x38(%rsp)
movslq %eax, %rbp
addq %r15, %rbp
xorl %r14d, %r14d
leaq 0x28a8(%rip), %r13      # 0x42921
movzwl (%rbp,%r14,2), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r15, %rdi
leaq 0x24(%rsp), %rsi
callq 0x42748
movq %rax, %rbx
movl 0x24(%rsp), %eax
movslq %eax, %r12
movl $0x4, %edx
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rcx
callq 0x3d080
movq %rbx, %rdi
movl %r12d, %esi
callq 0x42926
movl %eax, 0x1a0(%rsp,%r14,4)
movq %rbx, %rdi
callq 0x3d030
incq %r14
movslq 0x1e8(%rsp), %rcx
cmpq %rcx, %r14
jl 0x40079
movq 0x38(%rsp), %rax
leal (%rax,%rcx,2), %eax
cltq
cmpw $0x0, (%r15,%rax)
je 0x40210
movzwl 0x78(%rsp), %ecx
rolw $0x8, %cx
movzwl %cx, %ebx
movq 0x30(%rsp), %rcx
leaq (%rcx,%rbx), %r12
movzwl 0x2(%r15,%rax), %edx
movzwl 0x4(%r15,%rax), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl 0x2(%r12,%rax,2), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl (%r12,%rax), %r15d
rolw $0x8, %dx
movzwl 0x4(%r12,%rax), %ecx
movzwl %dx, %edx
movl %edx, 0x1ec(%rsp)
testw %cx, %cx
je 0x40210
addq %rax, %r12
movl %r15d, %r13d
rolw $0x8, %r13w
rolw $0x8, %cx
cmpw $0x2, %cx
movl $0x1, %edx
cmovael %ecx, %edx
movzwl %dx, %r14d
addq %rax, %rbx
addq 0x68(%rsp), %rbx
xorl %ebp, %ebp
movzwl (%rbx,%rbp,2), %eax
rolw $0x8, %ax
movzwl %r15w, %ecx
movzwl %ax, %edi
addq %r12, %rdi
cmpl $0x700, %ecx            # imm = 0x700
jne 0x4019d
movzwl 0x2(%rdi), %eax
rolw $0x8, %ax
movl 0x4(%rdi), %ecx
bswapl %ecx
addq %rcx, %rdi
jmp 0x401a0
movl %r13d, %eax
cmpw $0x4, %ax
je 0x401d1
movzwl %ax, %eax
cmpl $0x3, %eax
je 0x401c2
cmpl $0x1, %eax
jne 0x401de
leaq 0x120(%rsp), %rsi
callq 0x41f1a
jmp 0x401de
leaq 0x120(%rsp), %rsi
callq 0x42120
jmp 0x401de
leaq 0x120(%rsp), %rsi
callq 0x42282
incq %rbp
cmpq %rbp, %r14
jne 0x40171
jmp 0x40210
leaq 0x14b8d(%rip), %rdi     # 0x54d7c
xorl %edx, %edx
callq 0x42475
jmp 0x4022b
rolw $0x8, %ax
movzwl %ax, %edx
leaq 0x14b76(%rip), %rdi     # 0x54d7c
movl $0x6, %esi
callq 0x42475
leaq 0x14a49(%rip), %r14     # 0x54c60
leaq 0x24(%rsp), %r13
movzwl 0x28(%rsp), %ebp
movl 0x18(%rsp), %r12d
movq 0x10(%rsp), %rbx
movq (%rsp), %rax
incq %rax
cmpq %rbx, %rax
jne 0x3fe70
movq 0x48(%rsp), %r15
cmpq 0x70(%rsp), %r15
jne 0x3fdc4
leaq 0x14b2f(%rip), %rsi     # 0x54d81
leaq 0x90(%rsp), %rdi
callq 0x418c4
testq %rax, %rax
je 0x418ae
movzwl 0x8(%rax), %ebx
leaq 0x1120(%rsp), %rsi
movq %rax, 0x60(%rsp)
movq %rax, %rdi
callq 0x41cdc
leaq 0x2f8e8(%rip), %rcx     # 0x6fb70
cmpl $0x0, (%rcx)
jne 0x418ae
testl %eax, %eax
jle 0x418ae
rolw $0x8, %bx
movzwl %bx, %ecx
addq %rcx, 0x60(%rsp)
movl %eax, %eax
movq %rax, 0x80(%rsp)
xorl %eax, %eax
movq %rax, %r14
leaq (%rax,%rax,8), %rax
leaq (%rax,%rax,2), %rax
addq %r14, %rax
leaq (%rsp,%rax), %rdi
addq $0x1120, %rdi           # imm = 0x1120
movslq 0x18(%rdi), %rax
movq 0x60(%rsp), %rcx
movzwl 0x2(%rcx,%rax,2), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl (%rcx,%rax), %ebp
movq %rax, 0x58(%rsp)
movzwl 0x4(%rcx,%rax), %ebx
callq 0x41eb1
incq %r14
movq %r14, 0x88(%rsp)
leal (%r14,%r14), %eax
leal (%rax,%rax,4), %esi
movl %esi, 0x5b38d6(%rip)    # 0x5f3be0
leaq 0x14a75(%rip), %rdi     # 0x54d86
leaq 0x5b38d8(%rip), %rdx    # 0x5f3bf0
xorl %eax, %eax
callq 0x3d0c0
testw %bx, %bx
je 0x41898
movq 0x58(%rsp), %rax
addq 0x60(%rsp), %rax
movq %rax, 0x58(%rsp)
movzwl %bp, %eax
movl %eax, 0x70(%rsp)
rolw $0x8, %bp
movw %bp, 0x56(%rsp)
rolw $0x8, %bx
cmpw $0x2, %bx
movl $0x1, %eax
cmovael %ebx, %eax
movzwl %ax, %eax
movq %rax, 0x68(%rsp)
xorl %edx, %edx
movq 0x58(%rsp), %rcx
movzwl 0x6(%rcx,%rdx,2), %eax
rolw $0x8, %ax
movzwl %ax, %r12d
addq %rcx, %r12
cmpl $0x900, 0x70(%rsp)      # imm = 0x900
jne 0x40396
movzwl 0x2(%r12), %eax
rolw $0x8, %ax
movl 0x4(%r12), %ecx
bswapl %ecx
addq %rcx, %r12
jmp 0x4039b
movzwl 0x56(%rsp), %eax
movzwl %ax, %esi
leal -0x1(%rsi), %eax
cmpl $0x4, %eax
movq %rdx, 0x78(%rsp)
ja 0x41877
leaq 0x148c2(%rip), %rcx     # 0x54c78
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %r12, 0x8(%rsp)
jmpq *%rax
movzwl 0x4(%r12), %eax
rolw $0x8, %ax
movzwl (%r12), %ebx
movzwl %ax, %ebp
xorl %eax, %eax
xorl %r15d, %r15d
movl %r15d, %ecx
leal 0x2(%rcx), %r15d
btl %eax, %ebp
cmovael %ecx, %r15d
incl %eax
cmpl $0x8, %eax
jne 0x403db
movl %ebx, %r14d
rolw $0x8, %r14w
movzwl 0x2(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
leaq 0x120(%rsp), %rsi
callq 0x42748
movq %rax, (%rsp)
cmpw $0x2, %r14w
je 0x404b8
movzwl %r14w, %eax
cmpl $0x1, %eax
jne 0x40eb0
movl 0x120(%rsp), %r12d
testl %r12d, %r12d
jle 0x404aa
movq 0x8(%rsp), %rax
leaq 0x6(%rax), %r14
xorl %r13d, %r13d
movl %ebp, %edi
movq %r14, %rsi
callq 0x42a3f
testl %eax, %eax
jne 0x4049f
movq (%rsp), %rax
movslq (%rax,%r13,4), %rdx
shlq $0x6, %rdx
leaq 0x33775(%rip), %rax     # 0x73be0
addq %rax, %rdx
leaq 0x1497b(%rip), %rdi     # 0x54df0
leaq 0x5b3774(%rip), %rsi    # 0x5f3bf0
xorl %eax, %eax
callq 0x3d0c0
movl %ebp, %edi
movq %r14, %rsi
callq 0x42b0a
movl $0xa, %edi
callq 0x3d040
movl 0x120(%rsp), %r12d
incq %r13
movslq %r12d, %rax
cmpq %rax, %r13
jl 0x4044a
movzwl %bx, %eax
cmpl $0x200, %eax            # imm = 0x200
jne 0x40eb0
movq 0x8(%rsp), %rax
movzwl 0x6(%rax), %eax
testw %ax, %ax
je 0x40eb0
movq 0x8(%rsp), %rbx
leaq 0x6(%rbx), %r14
rolw $0x8, %ax
addq $0x8, %rbx
movslq %r15d, %r15
cmpw $0x2, %ax
movl $0x1, %ecx
cmovael %eax, %ecx
movzwl %cx, %r12d
xorl %r13d, %r13d
movl %ebp, %edi
movq %r14, %rsi
callq 0x42a3f
testl %eax, %eax
jne 0x4053e
movq (%rsp), %rax
movslq (%rax,%r13,4), %rdx
shlq $0x6, %rdx
leaq 0x336ce(%rip), %rax     # 0x73be0
addq %rax, %rdx
leaq 0x148d4(%rip), %rdi     # 0x54df0
leaq 0x5b36cd(%rip), %rsi    # 0x5f3bf0
xorl %eax, %eax
callq 0x3d0c0
movl %ebp, %edi
movq %rbx, %rsi
callq 0x42b0a
movl $0xa, %edi
callq 0x3d040
incq %r13
addq %r15, %rbx
cmpq %r13, %r12
jne 0x404f1
jmp 0x40eb0
cmpw $0x100, (%r12)          # imm = 0x100
jne 0x41885
movzwl 0x2(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
leaq 0x24(%rsp), %rsi
callq 0x42748
movq %rax, %rbp
movzwl 0x4(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
leaq 0x44(%rsp), %rsi
callq 0x42748
movq %rax, %r14
movzwl 0x6(%r12), %r15d
movl %r15d, %eax
rolw $0x8, %ax
movzwl 0x8(%r12), %ecx
movzwl %ax, %eax
movq %rax, 0x10(%rsp)
rolw $0x8, %cx
movzwl %cx, %eax
movq %rax, 0x18(%rsp)
movzwl 0xa(%r12), %eax
movw %ax, 0x40(%rsp)
movl 0x44(%rsp), %eax
movslq %eax, %rbx
movl $0x4, %edx
movq %r14, %rdi
movq %rbx, %rsi
leaq 0x2341(%rip), %rcx      # 0x42921
callq 0x3d080
movq %r14, (%rsp)
movq %r14, %rdi
movl %ebx, %esi
callq 0x42926
movl %eax, 0x38(%rsp)
movw %r15w, 0x48(%rsp)
testw %r15w, %r15w
je 0x406b1
movq 0x10(%rsp), %r15
cmpl $0x1, %r15d
adcl $0x0, %r15d
movq 0x8(%rsp), %rax
movq 0x18(%rsp), %rcx
leaq (%rax,%rcx), %r12
addq $0x2, %r12
xorl %r13d, %r13d
movslq 0x24(%rsp), %r14
leaq (,%r14,4), %rdi
callq 0x3d180
movq %rax, %rbx
testq %r14, %r14
jle 0x4066e
xorl %ecx, %ecx
xorl %eax, %eax
movzwl (%r12,%rcx,4), %edx
rolw $0x8, %dx
movzwl %dx, %edx
cmpq %rdx, %r13
jne 0x40664
movl (%rbp,%rcx,4), %edx
movslq %eax, %rsi
incl %eax
movl %edx, (%rbx,%rsi,4)
incq %rcx
cmpq %rcx, %r14
jne 0x40647
jmp 0x40670
xorl %eax, %eax
movslq %eax, %r14
movl $0x4, %edx
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x229c(%rip), %rcx      # 0x42921
callq 0x3d080
movq %rbx, %rdi
movl %r14d, %esi
callq 0x42926
movl %eax, 0x120(%rsp,%r13,4)
movq %rbx, %rdi
callq 0x3d030
incq %r13
cmpq %r15, %r13
jne 0x40629
movq %rbp, 0x30(%rsp)
movl 0x5b3524(%rip), %esi    # 0x5f3be0
leaq 0x147a0(%rip), %rdi     # 0x54e63
xorl %eax, %eax
callq 0x3d0c0
cmpl $0x0, 0x24(%rsp)
jle 0x4084f
movq 0x18(%rsp), %rax
addq 0x8(%rsp), %rax
movq %rax, 0x18(%rsp)
xorl %r15d, %r15d
movq 0x18(%rsp), %rdx
movzwl 0x4(%rdx,%r15,4), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl 0x2(%rdx,%rax), %ecx
rolw $0x8, %cx
movzwl 0x4(%rdx,%rax), %esi
movswl %cx, %ecx
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
leaq 0x299f8(%rip), %rdi     # 0x6a110
idivl (%rdi)
movl %eax, %ebx
imull $0x3e8, %ecx, %edx      # imm = 0x3E8
movl 0x334a7(%rip), %r13d    # 0x73bd0
movl %r13d, %r12d
shrl %r12d
movl %r12d, %ebp
negl %ebp
testw %cx, %cx
movl %r12d, %eax
cmovsl %ebp, %eax
movl $0x14, %edi
movl $0xffffffec, %r8d       # imm = 0xFFFFFFEC
cmovsl %r8d, %edi
addl %edx, %eax
cltd
idivl %r13d
movl %eax, %ecx
movl %ebx, %eax
cltd
idivl %edi
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebx
movl %eax, 0x28(%rsp)
rolw $0x8, %si
movswl %si, %eax
imull $0x3e8, %eax, %ecx      # imm = 0x3E8
testw %ax, %ax
movl %r12d, %eax
cmovsl %ebp, %eax
movl $0x14, %esi
cmovsl %r8d, %esi
addl %ecx, %eax
cltd
idivl %r13d
movl %eax, %ecx
movl %ebx, %eax
cltd
idivl %esi
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebx
movl %eax, %r14d
callq 0x42d8a
testl %eax, %eax
je 0x407f5
movq 0x30(%rsp), %rax
movslq (%rax,%r15,4), %rcx
leaq 0x473427(%rip), %rax    # 0x4b3be0
movl (%rax,%rcx,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
cmovsl %ebp, %r12d
movl $0x14, %edi
movl $0xffffffec, %eax       # imm = 0xFFFFFFEC
cmovsl %eax, %edi
addl %edx, %r12d
movl %r12d, %eax
cltd
idivl %r13d
movl %eax, %esi
movl %ebx, %eax
cltd
idivl %edi
addl %esi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebx
movl %eax, %r8d
jmp 0x40804
negl %r14d
movq 0x30(%rsp), %rax
movslq (%rax,%r15,4), %rcx
xorl %r8d, %r8d
xorl %r10d, %r10d
leaq 0x5b33e2(%rip), %rsi    # 0x5f3bf0
leaq 0x333cb(%rip), %rax     # 0x73be0
subl 0x28(%rsp), %r8d
shlq $0x6, %rcx
addq %rax, %rcx
leaq 0x145fd(%rip), %rdi     # 0x54e25
movl 0x38(%rsp), %edx
movl %r14d, %r9d
xorl %eax, %eax
pushq %r10
pushq %r10
callq 0x3d0c0
addq $0x10, %rsp
incq %r15
movslq 0x24(%rsp), %rax
cmpq %rax, %r15
jl 0x406e7
movl 0x5b338b(%rip), %esi    # 0x5f3be0
incl %esi
leaq 0x14605(%rip), %rdi     # 0x54e63
xorl %eax, %eax
callq 0x3d0c0
movl 0x44(%rsp), %eax
testl %eax, %eax
movq 0x8(%rsp), %rdx
movq 0x30(%rsp), %rdi
movq (%rsp), %r14
movq 0x10(%rsp), %rsi
jle 0x413bf
movzwl 0x40(%rsp), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
addq %rcx, %rdx
leal (%rsi,%rsi), %ecx
movl %ecx, 0x38(%rsp)
cmpl $0x1, %esi
adcl $0x0, %esi
xorl %r13d, %r13d
movq %rdx, 0x8(%rsp)
movq %rsi, 0x10(%rsp)
movzwl 0x2(%rdx,%r13,2), %ecx
rolw $0x8, %cx
movzwl %cx, %r8d
movzwl (%rdx,%r8), %ecx
testw %cx, %cx
je 0x40a89
cmpw $0x0, 0x48(%rsp)
je 0x40a89
addq %rdx, %r8
rolw $0x8, %cx
movzwl %cx, %ecx
decl %ecx
imull 0x38(%rsp), %ecx
movslq %ecx, %rcx
cmpw $0x0, 0x2(%r8,%rcx)
je 0x40a89
leaq (%r8,%rcx), %rax
addq $0x2, %rax
movq %rax, 0x18(%rsp)
xorl %r15d, %r15d
movq %r8, 0x28(%rsp)
movq 0x18(%rsp), %rax
movzwl (%rax,%r15,2), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl 0x2(%r8,%rax), %ecx
rolw $0x8, %cx
movzwl 0x4(%r8,%rax), %r9d
movswl %cx, %edi
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
leaq 0x297d3(%rip), %rcx     # 0x6a110
idivl (%rcx)
movl %eax, %ecx
imull $0x3e8, %edi, %edx      # imm = 0x3E8
movl 0x33282(%rip), %r8d     # 0x73bd0
movl %r8d, %r10d
shrl %r10d
movl %r10d, %esi
negl %esi
testw %di, %di
movl %r10d, %eax
cmovsl %esi, %eax
movl $0x14, %r11d
movl $0xffffffec, %ebp       # imm = 0xFFFFFFEC
cmovsl %ebp, %r11d
addl %edx, %eax
cltd
idivl %r8d
movl %eax, %edi
movl %ecx, %eax
cltd
idivl %r11d
addl %edi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %ebx
movq (%rsp), %rax
movslq (%rax,%r13,4), %r14
leaq 0x473246(%rip), %rax    # 0x4b3be0
movl (%rax,%r14,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
movl %r10d, %eax
cmovsl %esi, %eax
movl $0x14, %r11d
cmovsl %ebp, %r11d
addl %edx, %eax
cltd
idivl %r8d
movl %eax, %edi
movl %ecx, %eax
cltd
idivl %r11d
addl %edi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %r12d
rolw $0x8, %r9w
movswl %r9w, %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testw %ax, %ax
cmovnsl %r10d, %esi
movl $0x14, %edi
cmovsl %ebp, %edi
addl %edx, %esi
movl %esi, %eax
cltd
idivl %r8d
movl %eax, %esi
movl %ecx, %eax
cltd
idivl %edi
addl %esi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %ebp
callq 0x42d8a
movl %ebp, %r9d
negl %r9d
testl %eax, %eax
movl $0x0, %r10d
cmovnel %r10d, %r12d
cmovel %ebp, %r9d
subl %r12d, %ebx
shlq $0x6, %r14
leaq 0x331ad(%rip), %rax     # 0x73be0
addq %rax, %r14
movl 0x120(%rsp,%r15,4), %ecx
leaq 0x143ff(%rip), %rdi     # 0x54e44
leaq 0x5b31a4(%rip), %rsi    # 0x5f3bf0
movq %r14, %rdx
movq (%rsp), %r14
movl %ebx, %r8d
xorl %eax, %eax
pushq %r10
pushq %r10
callq 0x3d0c0
movq 0x38(%rsp), %r8
movq 0x20(%rsp), %rsi
addq $0x10, %rsp
incq %r15
cmpq %r15, %rsi
jne 0x4090b
movl 0x44(%rsp), %eax
movq 0x8(%rsp), %rdx
movq 0x30(%rsp), %rdi
incq %r13
movslq %eax, %rcx
cmpq %rcx, %r13
jl 0x408ad
jmp 0x413bf
cmpw $0x100, (%r12)          # imm = 0x100
jne 0x41885
movzwl 0x2(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
movq %r12, %rbx
xorl %r12d, %r12d
xorl %esi, %esi
callq 0x42748
movq %rax, (%rsp)
movzwl 0x4(%rbx), %r15d
movl %r15d, %eax
rolw $0x8, %ax
movzwl %ax, %eax
movq %rax, 0x10(%rsp)
leal (,%rax,4), %r14d
movq %r14, %rdi
callq 0x3d180
movq %rax, %rbx
movq %r14, %rdi
callq 0x3d180
movq %rax, %rbp
movl $0x0, %ecx
testw %r15w, %r15w
je 0x40b66
movq 0x10(%rsp), %rax
cmpl $0x1, %eax
adcl $0x0, %eax
xorl %ecx, %ecx
xorl %r12d, %r12d
movq 0x8(%rsp), %rdx
cmpw $0x0, 0x6(%rdx,%rcx,4)
je 0x40b36
movq (%rsp), %rdx
movl (%rdx,%rcx,4), %edx
movslq %r12d, %rsi
incl %r12d
movl %edx, (%rbp,%rsi,4)
incq %rcx
cmpq %rcx, %rax
jne 0x40b18
xorl %edx, %edx
xorl %ecx, %ecx
movq 0x8(%rsp), %rsi
cmpw $0x0, 0x8(%rsi,%rdx,4)
je 0x40b5e
movq (%rsp), %rsi
movl (%rsi,%rdx,4), %esi
movslq %ecx, %rdi
incl %ecx
movl %esi, (%rbx,%rdi,4)
incq %rdx
cmpq %rdx, %rax
jne 0x40b42
movslq %ecx, %r14
movl $0x4, %edx
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x1da6(%rip), %r13      # 0x42921
movq %r13, %rcx
callq 0x3d080
movq %rbx, %rdi
movl %r14d, %esi
callq 0x42926
movl %eax, 0x30(%rsp)
movslq %r12d, %r14
movl $0x4, %edx
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rcx
callq 0x3d080
movq %rbp, %rdi
movl %r14d, %esi
callq 0x42926
movl %eax, 0x38(%rsp)
movq %rbx, %rdi
callq 0x3d030
movq %rbp, %rdi
callq 0x3d030
testw %r15w, %r15w
leaq 0x2953e(%rip), %r8      # 0x6a110
je 0x40eb0
movq 0x10(%rsp), %rax
cmpl $0x1, %eax
adcl $0x0, %eax
movq %rax, 0x10(%rsp)
xorl %r12d, %r12d
movq 0x8(%rsp), %rcx
movzwl 0x6(%rcx,%r12,4), %eax
movzwl 0x8(%rcx,%r12,4), %ecx
testw %ax, %ax
je 0x40d55
movw %cx, 0x28(%rsp)
rolw $0x8, %ax
movzwl %ax, %eax
movq 0x8(%rsp), %rdx
movzwl 0x2(%rdx,%rax), %ecx
movzwl 0x4(%rdx,%rax), %esi
rolw $0x8, %cx
movswl %cx, %ecx
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
idivl (%r8)
movl %eax, %ebp
imull $0x3e8, %ecx, %edx      # imm = 0x3E8
movl 0x32f90(%rip), %r13d    # 0x73bd0
movl %r13d, %r14d
shrl %r14d
movl %r14d, %ebx
negl %ebx
testw %cx, %cx
movl %r14d, %eax
cmovsl %ebx, %eax
movl $0x14, %edi
movl $0xffffffec, %r8d       # imm = 0xFFFFFFEC
cmovsl %r8d, %edi
addl %edx, %eax
cltd
idivl %r13d
movl %eax, %ecx
movl %ebp, %eax
cltd
idivl %edi
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebp
movl %eax, 0x18(%rsp)
rolw $0x8, %si
movswl %si, %eax
imull $0x3e8, %eax, %ecx      # imm = 0x3E8
testw %ax, %ax
movl %r14d, %eax
cmovsl %ebx, %eax
movl $0x14, %esi
cmovsl %r8d, %esi
addl %ecx, %eax
cltd
idivl %r13d
movl %eax, %ecx
movl %ebp, %eax
cltd
idivl %esi
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebp
movl %eax, %r15d
callq 0x42d8a
xorl %r10d, %r10d
movq (%rsp), %rcx
movslq (%rcx,%r12,4), %rcx
testl %eax, %eax
je 0x40d0c
leaq 0x472f0e(%rip), %rax    # 0x4b3be0
movl (%rax,%rcx,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
cmovsl %ebx, %r14d
movl $0x14, %edi
movl $0xffffffec, %eax       # imm = 0xFFFFFFEC
cmovsl %eax, %edi
addl %edx, %r14d
movl %r14d, %eax
cltd
idivl %r13d
movl %eax, %esi
movl %ebp, %eax
cltd
idivl %edi
addl %esi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebp
movl %eax, %r10d
negl %r15d
subl 0x18(%rsp), %r10d
shlq $0x6, %rcx
leaq 0x32ec1(%rip), %rax     # 0x73be0
addq %rax, %rcx
leaq 0x140fc(%rip), %rdi     # 0x54e25
leaq 0x5b2ec0(%rip), %rsi    # 0x5f3bf0
movl 0x30(%rsp), %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
pushq %r15
pushq %r10
callq 0x3d0c0
addq $0x10, %rsp
leaq 0x293c0(%rip), %r8      # 0x6a110
movzwl 0x28(%rsp), %ecx
testw %cx, %cx
je 0x40ea2
rolw $0x8, %cx
movzwl %cx, %eax
movq 0x8(%rsp), %rdx
movzwl 0x2(%rdx,%rax), %ecx
rolw $0x8, %cx
movzwl 0x4(%rdx,%rax), %r9d
movswl %cx, %edi
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
idivl (%r8)
movl %eax, %ecx
imull $0x3e8, %edi, %edx      # imm = 0x3E8
movl 0x32e3b(%rip), %r8d     # 0x73bd0
movl %r8d, %r10d
shrl %r10d
movl %r10d, %esi
negl %esi
testw %di, %di
movl %r10d, %eax
cmovsl %esi, %eax
movl $0x14, %r11d
movl $0xffffffec, %r15d      # imm = 0xFFFFFFEC
cmovsl %r15d, %r11d
addl %edx, %eax
cltd
idivl %r8d
movl %eax, %edi
movl %ecx, %eax
cltd
idivl %r11d
addl %edi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %ebx
movq (%rsp), %rax
movslq (%rax,%r12,4), %r14
leaq 0x472dfe(%rip), %rax    # 0x4b3be0
movl (%rax,%r14,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
movl %r10d, %eax
cmovsl %esi, %eax
movl $0x14, %r11d
cmovsl %r15d, %r11d
addl %edx, %eax
cltd
idivl %r8d
movl %eax, %edi
movl %ecx, %eax
cltd
idivl %r11d
addl %edi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %ebp
rolw $0x8, %r9w
movswl %r9w, %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testw %ax, %ax
cmovnsl %r10d, %esi
movl $0x14, %edi
cmovsl %r15d, %edi
addl %edx, %esi
movl %esi, %eax
cltd
idivl %r8d
movl %eax, %esi
movl %ecx, %eax
cltd
idivl %edi
addl %esi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %r15d
callq 0x42d8a
testl %eax, %eax
movl $0x0, %eax
cmovnel %eax, %ebp
subl %ebp, %ebx
shlq $0x6, %r14
leaq 0x32d71(%rip), %rax     # 0x73be0
addq %rax, %r14
leaq 0x13fcb(%rip), %rdi     # 0x54e44
leaq 0x5b2d70(%rip), %rsi    # 0x5f3bf0
movq %r14, %rdx
movl 0x38(%rsp), %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
pushq %r15
pushq %rbx
callq 0x3d0c0
leaq 0x29272(%rip), %r8      # 0x6a110
addq $0x10, %rsp
incq %r12
cmpq %r12, 0x10(%rsp)
jne 0x40beb
movq (%rsp), %rdi
jmp 0x413c7
cmpw $0x100, (%r12)          # imm = 0x100
jne 0x41885
movzwl 0x2(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
leaq 0x24(%rsp), %rsi
callq 0x42748
movq %rax, %r15
movzwl 0x4(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
leaq 0x44(%rsp), %rsi
callq 0x42748
movq %rax, %r14
movzwl 0x6(%r12), %ebp
movl %ebp, %eax
rolw $0x8, %ax
movzwl 0x8(%r12), %ecx
movzwl %ax, %eax
movq %rax, 0x10(%rsp)
rolw $0x8, %cx
movzwl %cx, %eax
movq %rax, 0x18(%rsp)
movzwl 0xa(%r12), %eax
movw %ax, 0x40(%rsp)
movl 0x44(%rsp), %eax
movslq %eax, %rbx
movl $0x4, %edx
movq %r14, %rdi
movq %rbx, %rsi
leaq 0x19d7(%rip), %rcx      # 0x42921
callq 0x3d080
movq %r14, (%rsp)
movq %r14, %rdi
movl %ebx, %esi
callq 0x42926
movl %eax, 0x48(%rsp)
movw %bp, 0x38(%rsp)
testw %bp, %bp
je 0x41018
movq 0x10(%rsp), %r12
cmpl $0x1, %r12d
adcl $0x0, %r12d
movq 0x8(%rsp), %rax
movq 0x18(%rsp), %rcx
leaq (%rax,%rcx), %r13
addq $0x2, %r13
xorl %ebp, %ebp
movslq 0x24(%rsp), %r14
leaq (,%r14,4), %rdi
callq 0x3d180
movq %rax, %rbx
testq %r14, %r14
jle 0x40fd6
xorl %ecx, %ecx
xorl %eax, %eax
movzwl (%r13,%rcx,4), %edx
rolw $0x8, %dx
movzwl %dx, %edx
cmpq %rdx, %rbp
jne 0x40fcc
movl (%r15,%rcx,4), %edx
movslq %eax, %rsi
incl %eax
movl %edx, (%rbx,%rsi,4)
incq %rcx
cmpq %rcx, %r14
jne 0x40fae
jmp 0x40fd8
xorl %eax, %eax
movslq %eax, %r14
movl $0x4, %edx
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x1934(%rip), %rcx      # 0x42921
callq 0x3d080
movq %rbx, %rdi
movl %r14d, %esi
callq 0x42926
movl %eax, 0x120(%rsp,%rbp,4)
movq %rbx, %rdi
callq 0x3d030
incq %rbp
cmpq %r12, %rbp
jne 0x40f90
movq %r15, 0x30(%rsp)
movl 0x5b2bbd(%rip), %esi    # 0x5f3be0
leaq 0x13e39(%rip), %rdi     # 0x54e63
xorl %eax, %eax
callq 0x3d0c0
cmpl $0x0, 0x24(%rsp)
jle 0x411b5
movq 0x18(%rsp), %rax
addq 0x8(%rsp), %rax
movq %rax, 0x18(%rsp)
xorl %r13d, %r13d
movq 0x18(%rsp), %rdx
movzwl 0x4(%rdx,%r13,4), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl 0x2(%rdx,%rax), %ecx
rolw $0x8, %cx
movzwl 0x4(%rdx,%rax), %esi
movswl %cx, %ecx
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
leaq 0x29091(%rip), %rdi     # 0x6a110
idivl (%rdi)
movl %eax, %ebx
imull $0x3e8, %ecx, %edx      # imm = 0x3E8
movl 0x32b41(%rip), %ebp     # 0x73bd0
movl %ebp, %r12d
shrl %r12d
movl %r12d, %r15d
negl %r15d
testw %cx, %cx
movl %r12d, %eax
cmovsl %r15d, %eax
movl $0x14, %edi
movl $0xffffffec, %r8d       # imm = 0xFFFFFFEC
cmovsl %r8d, %edi
addl %edx, %eax
cltd
idivl %ebp
movl %eax, %ecx
movl %ebx, %eax
cltd
idivl %edi
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebx
movl %eax, 0x28(%rsp)
rolw $0x8, %si
movswl %si, %eax
imull $0x3e8, %eax, %ecx      # imm = 0x3E8
testw %ax, %ax
movl %r12d, %eax
cmovsl %r15d, %eax
movl $0x14, %esi
cmovsl %r8d, %esi
addl %ecx, %eax
cltd
idivl %ebp
movl %eax, %ecx
movl %ebx, %eax
cltd
idivl %esi
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebx
movl %eax, %r14d
callq 0x42d8a
testl %eax, %eax
je 0x4115b
movq 0x30(%rsp), %rax
movslq (%rax,%r13,4), %rcx
leaq 0x472ac0(%rip), %rax    # 0x4b3be0
movl (%rax,%rcx,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
cmovsl %r15d, %r12d
movl $0x14, %edi
movl $0xffffffec, %eax       # imm = 0xFFFFFFEC
cmovsl %eax, %edi
addl %edx, %r12d
movl %r12d, %eax
cltd
idivl %ebp
movl %eax, %esi
movl %ebx, %eax
cltd
idivl %edi
addl %esi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ebx
movl %eax, %r8d
jmp 0x4116a
negl %r14d
movq 0x30(%rsp), %rax
movslq (%rax,%r13,4), %rcx
xorl %r8d, %r8d
xorl %r10d, %r10d
leaq 0x5b2a7c(%rip), %rsi    # 0x5f3bf0
leaq 0x32a65(%rip), %rax     # 0x73be0
subl 0x28(%rsp), %r8d
shlq $0x6, %rcx
addq %rax, %rcx
leaq 0x13c97(%rip), %rdi     # 0x54e25
movl 0x48(%rsp), %edx
movl %r14d, %r9d
xorl %eax, %eax
pushq %r10
pushq %r10
callq 0x3d0c0
addq $0x10, %rsp
incq %r13
movslq 0x24(%rsp), %rax
cmpq %rax, %r13
jl 0x4104e
movl 0x5b2a25(%rip), %esi    # 0x5f3be0
incl %esi
leaq 0x13c9f(%rip), %rdi     # 0x54e63
xorl %eax, %eax
callq 0x3d0c0
movl 0x44(%rsp), %eax
testl %eax, %eax
movq 0x8(%rsp), %r15
movq (%rsp), %r14
jle 0x413ba
movzwl 0x40(%rsp), %ecx
rolw $0x8, %cx
movzwl %cx, %ecx
addq %rcx, %r15
movq 0x10(%rsp), %rcx
cmpl $0x1, %ecx
movl %ecx, %edx
adcl $0x0, %edx
addl %edx, %edx
addl %ecx, %ecx
movq %rcx, 0x10(%rsp)
xorl %esi, %esi
xorl %ebp, %ebp
movq %rdx, 0x18(%rsp)
movq %r15, 0x8(%rsp)
cmpw $0x0, 0x38(%rsp)
je 0x413a6
xorl %r13d, %r13d
movq %rsi, 0x28(%rsp)
leal (%rsi,%r13), %eax
cltq
movzwl 0x2(%r15,%rax), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzwl 0x2(%r15,%rax), %ecx
rolw $0x8, %cx
movzwl 0x4(%r15,%rax), %r9d
movswl %cx, %edi
movl $0x11940, %eax          # imm = 0x11940
xorl %edx, %edx
leaq 0x28eb5(%rip), %rcx     # 0x6a110
idivl (%rcx)
movl %eax, %ecx
imull $0x3e8, %edi, %edx      # imm = 0x3E8
movl 0x32964(%rip), %r8d     # 0x73bd0
movl %r8d, %r10d
shrl %r10d
movl %r10d, %esi
negl %esi
testw %di, %di
movl %r10d, %eax
cmovsl %esi, %eax
movl $0x14, %r11d
movl $0xffffffec, %r15d      # imm = 0xFFFFFFEC
cmovsl %r15d, %r11d
addl %edx, %eax
cltd
idivl %r8d
movl %eax, %edi
movl %ecx, %eax
cltd
idivl %r11d
addl %edi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %ebx
movq (%rsp), %rax
movslq (%rax,%rbp,4), %r14
leaq 0x472927(%rip), %rax    # 0x4b3be0
movl (%rax,%r14,4), %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testl %eax, %eax
movl %r10d, %eax
cmovsl %esi, %eax
movl $0x14, %r11d
cmovsl %r15d, %r11d
addl %edx, %eax
cltd
idivl %r8d
movl %eax, %edi
movl %ecx, %eax
cltd
idivl %r11d
addl %edi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %r12d
rolw $0x8, %r9w
movswl %r9w, %eax
imull $0x3e8, %eax, %edx      # imm = 0x3E8
testw %ax, %ax
cmovnsl %r10d, %esi
movl $0x14, %edi
cmovsl %r15d, %edi
addl %edx, %esi
movl %esi, %eax
cltd
idivl %r8d
movl %eax, %esi
movl %ecx, %eax
cltd
idivl %edi
addl %esi, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cltd
idivl %ecx
movl %eax, %r15d
callq 0x42d8a
movl %r15d, %r9d
negl %r9d
testl %eax, %eax
movl $0x0, %r10d
cmovnel %r10d, %r12d
cmovel %r15d, %r9d
subl %r12d, %ebx
movq 0x8(%rsp), %r15
shlq $0x6, %r14
leaq 0x32887(%rip), %rax     # 0x73be0
addq %rax, %r14
movl 0x120(%rsp,%r13,2), %ecx
leaq 0x13ad9(%rip), %rdi     # 0x54e44
leaq 0x5b287e(%rip), %rsi    # 0x5f3bf0
movq %r14, %rdx
movq (%rsp), %r14
movl %ebx, %r8d
xorl %eax, %eax
pushq %r10
pushq %r10
callq 0x3d0c0
movq 0x38(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq $0x10, %rsp
addq $0x2, %r13
cmpq %r13, %rdx
jne 0x41227
movl 0x44(%rsp), %eax
incq %rbp
movslq %eax, %rcx
addq 0x10(%rsp), %rsi
cmpq %rcx, %rbp
jl 0x41213
movq 0x30(%rsp), %rdi
callq 0x3d030
movq %r14, %rdi
callq 0x3d030
jmp 0x41885
movzwl (%r12), %r8d
movzwl 0x4(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %ebp
movzwl 0x6(%r12), %ecx
xorl %edx, %edx
xorl %eax, %eax
movl %eax, %esi
leal 0x2(%rsi), %eax
btl %edx, %ebp
cmovael %esi, %eax
incl %edx
cmpl $0x8, %edx
jne 0x413ed
rolw $0x8, %cx
movzwl %cx, %esi
xorl %ecx, %ecx
xorl %edi, %edi
movl %edi, %edx
leal 0x2(%rdx), %edi
btl %ecx, %esi
cmovael %edx, %edi
incl %ecx
cmpl $0x8, %ecx
jne 0x4140a
movl %esi, (%rsp)
movl %r8d, %ecx
rolw $0x8, %cx
addl %eax, %edi
movq %rdi, 0x48(%rsp)
cmpw $0x2, %cx
je 0x415fc
movzwl %cx, %eax
cmpl $0x1, %eax
jne 0x41885
movw %r8w, 0x40(%rsp)
movzwl 0x2(%r12), %eax
movzwl 0x8(%r12), %ebx
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
xorl %esi, %esi
callq 0x42748
movq %rax, 0x30(%rsp)
testw %bx, %bx
je 0x415e2
rolw $0x8, %bx
movq 0x48(%rsp), %rax
addl $0x2, %eax
cltq
movq %rax, 0x18(%rsp)
cmpw $0x2, %bx
movl $0x1, %eax
cmovael %ebx, %eax
movzwl %ax, %eax
movq %rax, 0x38(%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movzwl 0xa(%r12,%rax,2), %eax
rolw $0x8, %ax
movzwl %ax, %r13d
movzwl (%r12,%r13), %eax
testw %ax, %ax
je 0x415ca
addq 0x8(%rsp), %r13
rolw $0x8, %ax
cmpw $0x2, %ax
movl $0x1, %ecx
cmovael %eax, %ecx
movzwl %cx, %eax
movq %rax, 0x28(%rsp)
xorl %ebx, %ebx
movq %rbx, %rax
imulq 0x18(%rsp), %rax
movzwl 0x2(%r13,%rax), %r15d
xorl %ecx, %ecx
xorl %edx, %edx
movl %edx, %esi
leal 0x2(%rsi), %edx
btl %ecx, %ebp
cmovael %esi, %edx
incl %ecx
cmpl $0x8, %ecx
jne 0x414f0
movslq %edx, %rcx
leaq (%rax,%rcx), %r14
addq $0x4, %r14
leaq (%rax,%r13), %r12
addq $0x4, %r12
movl %ebp, %edi
movq %r12, %rsi
callq 0x42a3f
testl %eax, %eax
je 0x41537
leaq (%r14,%r13), %rsi
movl (%rsp), %edi
callq 0x42a3f
testl %eax, %eax
jne 0x415bc
rolw $0x8, %r15w
leaq 0x138c8(%rip), %rdi     # 0x54e0b
leaq 0x5b26a6(%rip), %rsi    # 0x5f3bf0
xorl %eax, %eax
callq 0x3d0c0
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq (%rax,%rcx,4), %rsi
shlq $0x6, %rsi
leaq 0x32676(%rip), %rax     # 0x73be0
addq %rax, %rsi
leaq 0x13885(%rip), %rdi     # 0x54df9
xorl %eax, %eax
callq 0x3d0c0
movl %ebp, %edi
movq %r12, %rsi
callq 0x42b0a
movzwl %r15w, %esi
shll $0x6, %esi
leaq 0x3264d(%rip), %rax     # 0x73be0
addq %rax, %rsi
leaq 0x1385c(%rip), %rdi     # 0x54df9
xorl %eax, %eax
callq 0x3d0c0
addq %r13, %r14
movl (%rsp), %edi
movq %r14, %rsi
callq 0x42b0a
movl $0xa, %edi
callq 0x3d040
incq %rbx
cmpq 0x28(%rsp), %rbx
jne 0x414dd
movq 0x10(%rsp), %rax
incq %rax
cmpq 0x38(%rsp), %rax
movq 0x8(%rsp), %r12
jne 0x4149d
movq 0x30(%rsp), %rdi
callq 0x3d030
movzwl 0x40(%rsp), %eax
cmpl $0x200, %eax            # imm = 0x200
jne 0x41885
movzwl 0x8(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
leaq 0x5b85fd(%rip), %rsi    # 0x5f9c10
leaq 0x6385f6(%rip), %rbx    # 0x679c10
movq %rbx, %rdx
callq 0x42be3
movl %eax, %r14d
movzwl 0xa(%r12), %eax
rolw $0x8, %ax
movzwl %ax, %edi
addq %r12, %rdi
leaq 0x5f85d4(%rip), %rsi    # 0x639c10
leaq 0x6785cd(%rip), %rdx    # 0x6b9c10
callq 0x42be3
movl %eax, 0x40(%rsp)
movzwl 0xc(%r12), %ecx
movzwl 0xe(%r12), %eax
movw %ax, 0x38(%rsp)
movl %ecx, %eax
rolw $0x8, %ax
movzwl %ax, %eax
movq %rax, 0x30(%rsp)
movw %cx, 0x10(%rsp)
testw %cx, %cx
je 0x416b1
movq 0x30(%rsp), %r15
cmpl $0x1, %r15d
adcl $0x0, %r15d
leaq 0x6b8587(%rip), %r13    # 0x6f9c10
xorl %r12d, %r12d
leaq 0x5b857d(%rip), %rdi    # 0x5f9c10
movq %rbx, %rsi
movl %r14d, %edx
movl %r12d, %ecx
callq 0x42cf7
movl %eax, (%r13)
incq %r12
addq $0x4, %r13
cmpq %r12, %r15
jne 0x4168c
movzwl 0x38(%rsp), %ecx
movl %ecx, %eax
rolw $0x8, %ax
movzwl %ax, %eax
movq %rax, 0x28(%rsp)
testw %cx, %cx
leaq 0x5f8542(%rip), %rcx    # 0x639c10
leaq 0x67853b(%rip), %rbx    # 0x6b9c10
movl 0x40(%rsp), %edx
je 0x41723
movq 0x28(%rsp), %r15
cmpl $0x1, %r15d
adcl $0x0, %r15d
movq %r15, 0x18(%rsp)
leaq 0x6f851c(%rip), %r12    # 0x739c10
xorl %r14d, %r14d
movq %rcx, %r13
movq %rcx, %rdi
movq %rbx, %rsi
movl %edx, %r15d
movl %r14d, %ecx
callq 0x42cf7
movl %r15d, %edx
movq %r13, %rcx
movl %eax, (%r12)
incq %r14
addq $0x4, %r12
cmpq %r14, 0x18(%rsp)
jne 0x416f7
cmpw $0x0, 0x10(%rsp)
movq 0x8(%rsp), %r12
je 0x41885
movslq 0x48(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x28(%rsp), %rax
cmpl $0x1, %eax
movl %eax, %ecx
movq %rcx, 0x48(%rsp)
adcl $0x0, %eax
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rax
cmpl $0x1, %eax
adcl $0x0, %eax
movq %rax, 0x30(%rsp)
movq $0x0, 0x10(%rsp)
cmpw $0x0, 0x38(%rsp)
je 0x4185d
movq 0x10(%rsp), %r15
imulq 0x48(%rsp), %r15
xorl %r13d, %r13d
xorl %eax, %eax
xorl %ecx, %ecx
movl %ecx, %edx
leal 0x2(%rdx), %ecx
btl %eax, %ebp
cmovael %edx, %ecx
incl %eax
cmpl $0x8, %eax
jne 0x4178c
leaq (%r15,%r13), %rax
imulq 0x18(%rsp), %rax
movslq %ecx, %rcx
leaq (%rax,%rcx), %rbx
addq $0x10, %rbx
leaq (%r12,%rax), %r14
addq $0x10, %r14
movl %ebp, %edi
movq %r14, %rsi
callq 0x42a3f
testl %eax, %eax
je 0x417d9
leaq (%r12,%rbx), %rsi
movl (%rsp), %edi
callq 0x42a3f
testl %eax, %eax
jne 0x4184f
leaq 0x13635(%rip), %rdi     # 0x54e15
leaq 0x5b2409(%rip), %rsi    # 0x5f3bf0
movl $0x2, %edx
xorl %eax, %eax
callq 0x3d0c0
leaq 0x6b8416(%rip), %rax    # 0x6f9c10
movq 0x10(%rsp), %rcx
movl (%rax,%rcx,4), %esi
leaq 0x13617(%rip), %r12     # 0x54e20
movq %r12, %rdi
xorl %eax, %eax
callq 0x3d0c0
movl %ebp, %edi
movq %r14, %rsi
callq 0x42b0a
leaq 0x6f83ec(%rip), %rax    # 0x739c10
movl (%rax,%r13,4), %esi
movq %r12, %rdi
movq 0x8(%rsp), %r12
xorl %eax, %eax
callq 0x3d0c0
addq %r12, %rbx
movl (%rsp), %edi
movq %rbx, %rsi
callq 0x42b0a
movl $0xa, %edi
callq 0x3d040
incq %r13
cmpq 0x28(%rsp), %r13
jne 0x41788
movq 0x10(%rsp), %rcx
incq %rcx
movq %rcx, 0x10(%rsp)
cmpq 0x30(%rsp), %rcx
jne 0x4176e
jmp 0x41885
leaq 0x13503(%rip), %rdi     # 0x54d81
xorl %edx, %edx
callq 0x42475
movq 0x78(%rsp), %rdx
incq %rdx
cmpq 0x68(%rsp), %rdx
jne 0x40361
movq 0x88(%rsp), %rax
cmpq 0x80(%rsp), %rax
jne 0x402b1
xorl %ecx, %ecx
movl %ecx, %eax
addq $0x1d128, %rsp          # imm = 0x1D128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq