// File: /workspace/github_cpp_makefile_star2_O3/rpavlik[P]edid-decode/edid-decode.cpp
// Function: edid_state::print_timings(char const*, timings const*, char const*, char const*, bool, bool)
bool edid_state::print_timings(const char *prefix, const struct timings *t,
			       const char *type, const char *flags,
			       bool detailed, bool do_checks)
{
	if (!t) {
		// Should not happen
		if (do_checks)
			fail("Unknown video timings.\n");
		return false;
	}

	if (detailed && options[OptShortTimings])
		detailed = false;
	if (options[OptLongTimings])
		detailed = true;

	unsigned vact = t->vact;
	unsigned hbl = t->hfp + t->hsync + t->hbp + 2 * t->hborder;
	unsigned vbl = t->vfp + t->vsync + t->vbp + 2 * t->vborder;
	unsigned htotal = t->hact + hbl;
	double hor_freq_khz = htotal ? (double)t->pixclk_khz / htotal : 0;

	if (t->interlaced)
		vact /= 2;

	if (t->ycbcr420)
		hor_freq_khz /= 2;

	double vtotal = vact + vbl;

	bool ok = true;

	if (!t->hact || !hbl || !t->hfp || !t->hsync ||
	    !vact || !vbl || (!t->vfp && !t->interlaced && !t->even_vtotal) || !t->vsync) {
		if (do_checks)
			fail("0 values in the video timing:\n"
			     "    Horizontal Active/Blanking %u/%u\n"
			     "    Horizontal Frontporch/Sync Width %u/%u\n"
			     "    Vertical Active/Blanking %u/%u\n"
			     "    Vertical Frontporch/Sync Width %u/%u\n",
			     t->hact, hbl, t->hfp, t->hsync, vact, vbl, t->vfp, t->vsync);
		ok = false;
	}

	if (t->even_vtotal)
		vtotal = vact + t->vfp + t->vsync + t->vbp;
	else if (t->interlaced)
		vtotal = vact + t->vfp + t->vsync + t->vbp + 0.5;

	double refresh = (double)t->pixclk_khz * 1000.0 / (htotal * vtotal);

	std::string s;
	unsigned rb = t->rb & ~RB_ALT;
	if (rb) {
		bool alt = t->rb & RB_ALT;
		s = "RB";
		// Mark RB_CVT_V3 as preliminary since CVT 1.3 has not been
		// released yet.
		if (rb == RB_CVT_V2)
			s += std::string("v2") + (alt ? ",video-optimized" : "");
		else if (rb == RB_CVT_V3)
			s += std::string("v3-is-preliminary") + (alt ? ",h-blank-160" : "");
	}
	add_str(s, flags);
	if (t->hsize_mm || t->vsize_mm)
		add_str(s, std::to_string(t->hsize_mm) + " mm x " + std::to_string(t->vsize_mm) + " mm");
	if (t->hsize_mm > dtd_max_hsize_mm)
		dtd_max_hsize_mm = t->hsize_mm;
	if (t->vsize_mm > dtd_max_vsize_mm)
		dtd_max_vsize_mm = t->vsize_mm;
	if (!s.empty())
		s = " (" + s + ")";
	unsigned pixclk_khz = t->pixclk_khz / (t->ycbcr420 ? 2 : 1);

	char buf[10];

	sprintf(buf, "%u%s", t->vact, t->interlaced ? "i" : "");
	printf("%s%s: %5ux%-5s %7.3f Hz %3u:%-3u %7.3f kHz %8.3f MHz%s\n",
	       prefix, type,
	       t->hact, buf,
	       refresh,
	       t->hratio, t->vratio,
	       hor_freq_khz,
	       pixclk_khz / 1000.0,
	       s.c_str());

	unsigned len = strlen(prefix) + 2;

	if (!t->ycbcr420 && detailed && options[OptXModeLineTimings])
		print_modeline(len, t, refresh);
	else if (!t->ycbcr420 && detailed && options[OptFBModeTimings])
		print_fbmode(len, t, refresh, hor_freq_khz);
	else if (!t->ycbcr420 && detailed && options[OptV4L2Timings])
		print_v4l2_timing(t, refresh, type);
	else if (detailed)
		print_detailed_timing(len + strlen(type) + 6, t);

	if (!do_checks)
		return ok;

	if (!memcmp(type, "DTD", 3)) {
		unsigned vic, dmt;
		const timings *vic_t = cta_close_match_to_vic(*t, vic);

		if (vic_t)
			warn("DTD is similar but not identical to VIC %u.\n", vic);

		const timings *dmt_t = close_match_to_dmt(*t, dmt);
		if (!vic_t && dmt_t)
			warn("DTD is similar but not identical to DMT 0x%02x.\n", dmt);
	}

	if (refresh) {
		min_vert_freq_hz = min(min_vert_freq_hz, refresh);
		max_vert_freq_hz = max(max_vert_freq_hz, refresh);
	}
	if (hor_freq_khz) {
		min_hor_freq_hz = min(min_hor_freq_hz, hor_freq_khz * 1000.0);
		max_hor_freq_hz = max(max_hor_freq_hz, hor_freq_khz * 1000.0);
		max_pixclk_khz = max(max_pixclk_khz, pixclk_khz);
		if (t->pos_pol_hsync && !t->pos_pol_vsync && t->vsync == 3)
			base.max_pos_neg_hor_freq_khz = hor_freq_khz;
	}

	if (t->ycbcr420 && t->pixclk_khz < 590000)
		warn_once("Some YCbCr 4:2:0 timings are invalid for HDMI (which requires an RGB timings pixel rate >= 590 MHz).\n");
	if (t->hfp <= 0)
		fail("0 or negative horizontal front porch.\n");
	if (t->hbp <= 0)
		fail("0 or negative horizontal back porch.\n");
	if (t->vbp <= 0)
		fail("0 or negative vertical back porch.\n");
	if (!base.max_display_width_mm && !base.max_display_height_mm) {
		/* this is valid */
	} else if (!t->hsize_mm && !t->vsize_mm) {
		/* this is valid */
	} else if (t->hsize_mm > base.max_display_width_mm + 9 ||
		   t->vsize_mm > base.max_display_height_mm + 9) {
		fail("Mismatch of image size %ux%u mm vs display size %ux%u mm.\n",
		     t->hsize_mm, t->vsize_mm, base.max_display_width_mm, base.max_display_height_mm);
	} else if (t->hsize_mm < base.max_display_width_mm - 9 &&
		   t->vsize_mm < base.max_display_height_mm - 9) {
		fail("Mismatch of image size %ux%u mm vs display size %ux%u mm.\n",
		     t->hsize_mm, t->vsize_mm, base.max_display_width_mm, base.max_display_height_mm);
	}
	return ok;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rcx, 0x58(%rsp)
movq %rdi, 0x50(%rsp)
testq %rdx, %rdx
je 0x3f32
movl %r9d, %r13d
movq %r8, %rbp
movq %rdx, %rbx
movq %rsi, 0xd8(%rsp)
cmpb $0x0, 0x3b22b(%rip)     # 0x3f0f3
sete 0xd0(%rsp)
cmpb $0x0, 0x3b215(%rip)     # 0x3f0ec
setne %r14b
movl (%rdx), %edx
movl 0x1c(%rbx), %r8d
movl 0x20(%rbx), %r9d
leal (%r9,%r8), %eax
addl 0x24(%rbx), %eax
movl 0x4(%rbx), %r15d
movl 0x3c(%rbx), %ecx
leal (%rax,%rcx,2), %eax
movl 0x2c(%rbx), %r10d
movl 0x30(%rbx), %r11d
leal (%r11,%r10), %esi
addl 0x34(%rbx), %esi
movl 0x40(%rbx), %edi
movl %edx, %ecx
addl %eax, %ecx
movl %ecx, %r12d
movq %r12, 0x90(%rsp)
je 0x3f58
movl 0x10(%rbx), %ecx
cvtsi2sd %rcx, %xmm1
cvtsi2sd %r12, %xmm0
divsd %xmm0, %xmm1
movsd %xmm1, 0x68(%rsp)
jmp 0x3f62
cmpb $0x0, 0x160(%rsp)
je 0x4046
leaq 0x1c226(%rip), %rsi     # 0x2016d
xorl %r14d, %r14d
xorl %edi, %edi
xorl %eax, %eax
callq 0x37cc
jmp 0x4e5b
xorpd %xmm0, %xmm0
movsd %xmm0, 0x68(%rsp)
movb 0x18(%rbx), %cl
shrl %cl, %r15d
cmpb $0x0, 0x50(%rbx)
je 0x3f82
movsd 0x68(%rsp), %xmm0
mulsd 0x1c094(%rip), %xmm0    # 0x20010
movsd %xmm0, 0x68(%rsp)
leal (%rsi,%rdi,2), %r12d
testl %r8d, %r8d
je 0x3fd4
testl %eax, %eax
je 0x3fd4
testl %edx, %edx
je 0x3fd4
testl %r9d, %r9d
je 0x3fd4
testl %r15d, %r15d
je 0x3fd4
testl %r12d, %r12d
je 0x3fd4
testl %r10d, %r10d
setne %sil
orb %cl, %sil
testb $0x1, %sil
jne 0x3fb8
cmpb $0x1, 0x44(%rbx)
jne 0x3fd4
testl %r11d, %r11d
setne %sil
movb 0x160(%rsp), %cl
xorb $0x1, %cl
movl %esi, 0x64(%rsp)
orb %sil, %cl
je 0x3fde
jmp 0x400e
cmpb $0x0, 0x160(%rsp)
je 0x4006
leaq 0x1c1a0(%rip), %rsi     # 0x20185
movl $0x0, 0x64(%rsp)
xorl %edi, %edi
movl %eax, %ecx
xorl %eax, %eax
pushq %r11
pushq %r10
pushq %r12
pushq %r15
callq 0x37cc
addq $0x20, %rsp
jmp 0x400e
movl $0x0, 0x64(%rsp)
cmpb $0x1, 0x44(%rbx)
jne 0x4022
addl 0x2c(%rbx), %r15d
addl 0x30(%rbx), %r15d
addl 0x34(%rbx), %r15d
jmp 0x4051
cmpb $0x1, 0x18(%rbx)
jne 0x404e
addl 0x2c(%rbx), %r15d
addl 0x30(%rbx), %r15d
addl 0x34(%rbx), %r15d
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
addsd 0x1bfcc(%rip), %xmm0    # 0x20010
jmp 0x4059
xorl %r14d, %r14d
jmp 0x4e5b
addl %r12d, %r15d
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
movsd %xmm0, 0xc8(%rsp)
movl 0x10(%rbx), %eax
movq %rax, 0x120(%rsp)
leaq 0xf0(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movl 0x14(%rbx), %r12d
movl %r12d, %r15d
andl $0xffffff7f, %r15d      # imm = 0xFFFFFF7F
je 0x4238
leaq 0x1c1a1(%rip), %rcx     # 0x20240
leaq 0xe0(%rsp), %rdi
movl $0x2, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3390
cmpl $0x3, %r15d
je 0x412e
cmpl $0x2, %r15d
jne 0x4238
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x28fff(%rip), %rsi     # 0x2d0d5
leaq 0x28ffa(%rip), %rdx     # 0x2d0d7
leaq 0x8(%rsp), %rdi
callq 0x8d58
testb %r12b, %r12b
leaq 0x1cb98(%rip), %rax     # 0x20c89
leaq 0x1c14b(%rip), %rsi     # 0x20243
cmovnsq %rax, %rsi
leaq 0x8(%rsp), %rdi
callq 0x3420
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4196
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x41a0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1c116(%rip), %rsi     # 0x20254
leaq 0x1c120(%rip), %rdx     # 0x20265
leaq 0x8(%rsp), %rdi
callq 0x8d58
testb %r12b, %r12b
leaq 0x1cb30(%rip), %rax     # 0x20c89
leaq 0x1c106(%rip), %rsi     # 0x20266
cmovnsq %rax, %rsi
leaq 0x8(%rsp), %rdi
callq 0x3420
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x41d1
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x41db
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0xe0(%rsp), %rdi
callq 0x30b0
jmp 0x420a
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0xe0(%rsp), %rdi
callq 0x30b0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x4221
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4238
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %rbp, %rsi
callq 0x8818
leaq 0xe0(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x57e4
leaq 0x38(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x4278
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movl 0x48(%rbx), %ebp
testl %ebp, %ebp
je 0x42c6
movl $0x1, %eax
cmpl $0xa, %ebp
jb 0x42e3
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %ebp, %edx
cmpl $0x63, %edx
jbe 0x42dc
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x42e1
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x42e3
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x4295
addl $-0x3, %eax
jmp 0x42e3
cmpl $0x0, 0x4c(%rbx)
movq 0x50(%rsp), %rcx
je 0x45ca
movl $0x1, %eax
jmp 0x42e3
addl $-0x2, %eax
jmp 0x42e3
decl %eax
movb %r14b, 0x4f(%rsp)
movl %eax, %esi
leaq 0x80(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x70(%rsp), %rdi
xorl %edx, %edx
callq 0x32a0
leaq 0x70(%rsp), %r15
movq (%r15), %rdi
movl 0x8(%r15), %esi
movl %ebp, %edx
callq 0x8a6d
leaq 0x1bf57(%rip), %rsi     # 0x20273
movq %r15, %rdi
callq 0x3420
leaq 0x110(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4354
movq %rdx, 0x100(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x110(%rsp)
jmp 0x435d
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x108(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x4c(%rbx), %ebp
movl $0x1, %eax
cmpl $0xa, %ebp
jb 0x43c9
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %ebp, %edx
cmpl $0x63, %edx
jbe 0x43c2
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x43c7
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x43c9
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x4391
addl $-0x3, %eax
jmp 0x43c9
addl $-0x2, %eax
jmp 0x43c9
decl %eax
movl %eax, %esi
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xa8(%rsp), %rdi
xorl %edx, %edx
callq 0x32a0
movq 0xa8(%rsp), %rdi
movl 0xb0(%rsp), %esi
movl %ebp, %edx
callq 0x8a6d
movq 0x100(%rsp), %rcx
movq 0x108(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r15, %rcx
je 0x442b
movq 0x110(%rsp), %rdi
movq 0xa8(%rsp), %rsi
cmpq %rdi, %rax
movq 0x50(%rsp), %rbp
jbe 0x4454
movl $0xf, %edi
cmpq %r12, %rsi
je 0x444f
movq 0xb8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4463
leaq 0x100(%rsp), %rdi
callq 0x30b0
jmp 0x4474
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3290
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x4498
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x44a0
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1bdb6(%rip), %rsi     # 0x2027a
leaq 0x8(%rsp), %rdi
callq 0x3420
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x44f6
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x44fe
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe0(%rsp), %rdi
callq 0x57e4
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4543
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x455e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x457b
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x100(%rsp), %rdi
cmpq %r15, %rdi
leaq 0x38(%rsp), %r12
je 0x459d
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x45b7
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3260
movl 0x48(%rbx), %eax
cmpl 0x74(%rbp), %eax
movq %rbp, %rcx
movb 0x4f(%rsp), %r14b
jbe 0x45ca
movl %eax, 0x74(%rcx)
movl 0x4c(%rbx), %eax
cmpl 0x78(%rcx), %eax
jbe 0x45d5
movl %eax, 0x78(%rcx)
cmpq $0x0, 0xe8(%rsp)
movq 0x90(%rsp), %rbp
je 0x469f
leaq 0x28f64(%rip), %rsi     # 0x2d557
leaq 0x8(%rsp), %rdi
leaq 0xe0(%rsp), %rdx
callq 0x8855
leaq 0x282a1(%rip), %rsi     # 0x2c8ad
leaq 0x8(%rsp), %rdi
callq 0x3420
movq %r12, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4639
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x4643
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe0(%rsp), %rdi
movq %r15, %rsi
callq 0x32d0
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x4684
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x469f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
cvtsi2sdq 0x120(%rsp), %xmm2
xorps %xmm0, %xmm0
cvtsi2sd %rbp, %xmm0
movsd 0xc8(%rsp), %xmm1
mulsd %xmm0, %xmm1
andb 0xd0(%rsp), %r13b
mulsd 0x1b94a(%rip), %xmm2    # 0x20018
orb %r13b, %r14b
divsd %xmm1, %xmm2
movapd %xmm2, 0x90(%rsp)
movl 0x10(%rbx), %r12d
movb 0x50(%rbx), %cl
shrl %cl, %r12d
movl 0x4(%rbx), %edx
leaq 0x1bb91(%rip), %r15     # 0x20283
cmpb $0x0, 0x18(%rbx)
leaq 0x1c58c(%rip), %rcx     # 0x20c89
cmovneq %r15, %rcx
leaq 0x1bb76(%rip), %rsi     # 0x2027e
leaq 0x100(%rsp), %rbp
movq %rbp, %rdi
xorl %eax, %eax
callq 0x3070
movl (%rbx), %ecx
movl 0x8(%rbx), %r9d
movl 0xc(%rbx), %r10d
movq %r12, 0xd0(%rsp)
xorps %xmm2, %xmm2
cvtsi2sd %r12, %xmm2
divsd 0x1b8dc(%rip), %xmm2    # 0x20018
leaq 0x1bb42(%rip), %rdi     # 0x20285
movq 0xd8(%rsp), %r12
movq %r12, %rsi
movq 0x58(%rsp), %r13
movq %r13, %rdx
movq %rbp, %r8
movapd 0x90(%rsp), %xmm0
movsd 0x68(%rsp), %xmm1
movb $0x3, %al
pushq 0xe0(%rsp)
pushq %r10
callq 0x3030
addq $0x10, %rsp
movq %r12, %rdi
callq 0x3110
movq %rax, %r12
cmpb $0x0, 0x50(%rbx)
je 0x487e
testb %r14b, %r14b
movq 0x50(%rsp), %rbp
je 0x4c20
movq %r13, %rdi
callq 0x3110
leal (%r12,%rax), %ebp
addl $0x8, %ebp
movl 0x1c(%rbx), %ecx
movl 0x20(%rbx), %r8d
movl 0x24(%rbx), %r9d
leaq 0x292ee(%rip), %r14     # 0x2daae
cmpb $0x0, 0x28(%rbx)
leaq 0x1b93c(%rip), %r12     # 0x20107
movq %r12, %r10
cmovneq %r14, %r10
subq $0x8, %rsp
leaq 0x1c4b1(%rip), %rdi     # 0x20c8e
leaq 0x1c4a5(%rip), %rdx     # 0x20c89
movl %ebp, %esi
xorl %eax, %eax
pushq %r10
callq 0x3030
addq $0x10, %rsp
movl 0x3c(%rbx), %esi
testl %esi, %esi
je 0x4808
leaq 0x1c4b7(%rip), %rdi     # 0x20cb8
xorl %eax, %eax
callq 0x3030
movl $0xa, %edi
callq 0x3310
movl 0x2c(%rbx), %ecx
movl 0x30(%rbx), %r8d
movl 0x34(%rbx), %r9d
leaq 0x1c4a0(%rip), %rdi     # 0x20cc4
leaq 0x1c45e(%rip), %rdx     # 0x20c89
movl %ebp, %esi
xorl %eax, %eax
callq 0x3030
cmpb $0x0, 0x45(%rbx)
jne 0x4853
cmpb $0x0, 0x38(%rbx)
movq %r12, %rsi
cmovneq %r14, %rsi
leaq 0x1c49a(%rip), %rdi     # 0x20ce6
xorl %eax, %eax
callq 0x3030
movl 0x40(%rbx), %esi
testl %esi, %esi
je 0x4868
leaq 0x1c48e(%rip), %rdi     # 0x20cef
xorl %eax, %eax
callq 0x3030
cmpb $0x0, 0x44(%rbx)
je 0x4b98
leaq 0x1c482(%rip), %r15     # 0x20cfb
jmp 0x4c07
cmpb $0x0, 0x3a873(%rip)     # 0x3f0f8
leal 0x2(%r12), %esi
setne %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x49a2
xorl %r14d, %r14d
cmpb $0x0, 0x44(%rbx)
movzbl 0x18(%rbx), %eax
cmovel %eax, %r14d
movl 0x3c(%rbx), %r11d
movl 0x1c(%rbx), %r10d
addl %r11d, %r10d
addl 0x24(%rbx), %r11d
movl 0x40(%rbx), %edi
movl 0x2c(%rbx), %r12d
addl %edi, %r12d
movl (%rbx), %ecx
testb $0x1, %al
leaq 0x1c3be(%rip), %rdx     # 0x20c89
cmoveq %rdx, %r15
movl 0x4(%rbx), %r8d
movl 0x10(%rbx), %eax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
divsd 0x1b732(%rip), %xmm1    # 0x20018
addl %ecx, %r10d
movl 0x20(%rbx), %ebp
addl %r10d, %ebp
addl %ebp, %r11d
addl %r8d, %r12d
movl 0x30(%rbx), %r13d
addl %r12d, %r13d
addl %edi, %r14d
addl 0x34(%rbx), %r14d
addl %r13d, %r14d
movzbl 0x28(%rbx), %eax
xorl $0x1, %eax
leal 0x2b(,%rax,2), %eax
movq %rax, 0xd8(%rsp)
subq $0x8, %rsp
leaq 0x1c098(%rip), %rdi     # 0x209bf
movapd 0x98(%rsp), %xmm0
movq %r15, %r9
movb $0x2, %al
pushq 0xe0(%rsp)
pushq %r14
pushq %r13
pushq %r12
pushq %r8
pushq %r11
pushq %rbp
pushq %r10
pushq %rcx
callq 0x3030
addq $0x50, %rsp
cmpb $0x0, 0x45(%rbx)
jne 0x4975
movzbl 0x38(%rbx), %eax
xorl $0x1, %eax
leal 0x2b(,%rax,2), %esi
leaq 0x1c094(%rip), %rdi     # 0x20a02
xorl %eax, %eax
callq 0x3030
cmpb $0x1, 0x18(%rbx)
movq 0x50(%rsp), %rbp
movq 0x58(%rsp), %r13
jne 0x4993
leaq 0x1c07f(%rip), %rdi     # 0x20a0b
xorl %eax, %eax
callq 0x3030
movl $0xa, %edi
callq 0x3310
jmp 0x4c20
cmpb $0x0, 0x3a73d(%rip)     # 0x3f0e6
setne %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x4e70
movl (%rbx), %ecx
movl 0x4(%rbx), %r8d
movsd 0x1b64b(%rip), %xmm1    # 0x20010
cmpb $0x0, 0x18(%rbx)
movapd 0x90(%rsp), %xmm0
je 0x49d8
mulsd %xmm1, %xmm0
movq 0x50(%rsp), %rbp
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %r9
leaq 0x1c03f(%rip), %r10     # 0x20a2c
leaq 0x1c295(%rip), %r15     # 0x20c89
cmoveq %r15, %r10
addq $-0x8, %rsp
leaq 0x1c013(%rip), %rdi     # 0x20a16
xorl %r14d, %r14d
movl %esi, 0x58(%rsp)
movq %r15, %rdx
xorl %eax, %eax
pushq %r10
callq 0x3030
addq $0x10, %rsp
addl $0xa, %r12d
movl 0x10(%rbx), %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0x1b5e7(%rip), %xmm0    # 0x20018
leaq 0x1bffa(%rip), %rdi     # 0x20a32
movl %r12d, %esi
movq %r15, %rdx
movsd 0x68(%rsp), %xmm1
movapd 0x90(%rsp), %xmm2
movb $0x3, %al
callq 0x3030
movl (%rbx), %ecx
movl 0x4(%rbx), %r8d
addq $-0x8, %rsp
leaq 0x1bff8(%rip), %rdi     # 0x20a5d
movl %r12d, %esi
movq %r15, %rdx
movl %ecx, %r9d
xorl %eax, %eax
pushq %r8
callq 0x3030
addq $0x10, %rsp
movzbl 0x18(%rbx), %ecx
cmpb $0x0, 0x44(%rbx)
movl %ecx, %edx
cmovnel %r14d, %edx
movl 0x3c(%rbx), %r8d
movl 0x1c(%rbx), %r9d
addl %r8d, %r9d
addl 0x24(%rbx), %r8d
movl 0x40(%rbx), %r10d
movl 0x2c(%rbx), %r11d
addl %r10d, %r11d
addl 0x34(%rbx), %r10d
movl 0x10(%rbx), %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movl 0x20(%rbx), %r14d
movsd 0x1b572(%rip), %xmm1    # 0x20030
divsd %xmm0, %xmm1
addsd 0x1b546(%rip), %xmm1    # 0x20010
cvttsd2si %xmm1, %rsi
movq %rsi, %rdi
sarq $0x3f, %rdi
subsd 0x1b55a(%rip), %xmm1    # 0x20038
cvttsd2si %xmm1, %rax
shll %cl, %r10d
shll %cl, %r11d
andq %rdi, %rax
orq %rsi, %rax
addl %edx, %r11d
movl 0x30(%rbx), %r15d
shll %cl, %r15d
leaq 0x1bf79(%rip), %rdi     # 0x20a79
movl %r12d, %esi
leaq 0x1c17f(%rip), %rdx     # 0x20c89
movq %rax, %rcx
xorl %eax, %eax
pushq %r15
pushq %r14
pushq %r11
pushq %r10
callq 0x3030
addq $0x20, %rsp
cmpb $0x1, 0x18(%rbx)
jne 0x4b3e
leaq 0x1bf6f(%rip), %rdi     # 0x20a9c
leaq 0x1c155(%rip), %rdx     # 0x20c89
movl %r12d, %esi
xorl %eax, %eax
callq 0x3030
cmpb $0x1, 0x28(%rbx)
jne 0x4b5c
leaq 0x1bf60(%rip), %rdi     # 0x20aab
leaq 0x1c137(%rip), %rdx     # 0x20c89
movl %r12d, %esi
xorl %eax, %eax
callq 0x3030
cmpb $0x1, 0x38(%rbx)
jne 0x4b7a
leaq 0x1bf51(%rip), %rdi     # 0x20aba
leaq 0x1c119(%rip), %rdx     # 0x20c89
movl %r12d, %esi
xorl %eax, %eax
callq 0x3030
leaq 0x1bf48(%rip), %rdi     # 0x20ac9
leaq 0x1c101(%rip), %rdx     # 0x20c89
movl 0x50(%rsp), %esi
xorl %eax, %eax
callq 0x3030
jmp 0x4c20
cmpb $0x1, 0x18(%rbx)
jne 0x4c11
leaq 0x1c715(%rip), %rdi     # 0x212ba
callq 0x3380
movl 0x2c(%rbx), %ecx
movl 0x30(%rbx), %r8d
movl 0x34(%rbx), %r9d
leaq 0x1c14c(%rip), %rdi     # 0x20d08
leaq 0x1c0c6(%rip), %rdx     # 0x20c89
movl %ebp, %esi
xorl %eax, %eax
callq 0x3030
cmpb $0x0, 0x45(%rbx)
jne 0x4beb
cmpb $0x0, 0x38(%rbx)
cmovneq %r14, %r12
leaq 0x1c105(%rip), %rdi     # 0x20ce6
movq %r12, %rsi
xorl %eax, %eax
callq 0x3030
movl 0x40(%rbx), %esi
leaq 0x1c135(%rip), %r15     # 0x20d2a
testl %esi, %esi
je 0x4c07
leaq 0x1c0ef(%rip), %rdi     # 0x20cef
xorl %eax, %eax
callq 0x3030
movq %r15, %rdi
xorl %eax, %eax
callq 0x3030
movl $0xa, %edi
callq 0x3310
movq 0x50(%rsp), %rbp
cmpb $0x0, 0x160(%rsp)
movl 0x64(%rsp), %r14d
je 0x4e36
movzwl (%r13), %eax
xorl $0x5444, %eax           # imm = 0x5444
movzbl 0x2(%r13), %ecx
xorl $0x44, %ecx
orw %ax, %cx
jne 0x4ca4
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0xe03c
movq %rax, %r15
testq %rax, %rax
je 0x4c76
movl 0x28(%rsp), %edx
leaq 0x1b657(%rip), %rsi     # 0x202c1
movl $0x1, %edi
xorl %eax, %eax
callq 0x37cc
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8fb3
testq %r15, %r15
jne 0x4ca4
testq %rax, %rax
je 0x4ca4
movl 0x8(%rsp), %edx
leaq 0x1b656(%rip), %rsi     # 0x202ee
movl $0x1, %edi
xorl %eax, %eax
callq 0x37cc
xorpd %xmm0, %xmm0
movapd 0x90(%rsp), %xmm4
ucomisd %xmm0, %xmm4
jne 0x4cb9
jnp 0x4ce8
movupd 0x60(%rbp), %xmm1
movapd %xmm1, %xmm2
unpcklpd %xmm4, %xmm2            # xmm2 = xmm2[0],xmm4[0]
movapd %xmm1, %xmm3
movsd %xmm4, %xmm3            # xmm3 = xmm4[0],xmm3[1]
cmpltpd %xmm3, %xmm2
unpcklpd %xmm4, %xmm4            # xmm4 = xmm4[0,0]
andpd %xmm2, %xmm1
andnpd %xmm4, %xmm2
orpd %xmm1, %xmm2
movupd %xmm2, 0x60(%rbp)
movsd 0x68(%rsp), %xmm2
ucomisd %xmm0, %xmm2
jne 0x4cf6
jnp 0x4d60
movl 0x54(%rbp), %eax
movl 0x58(%rbp), %ecx
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movsd 0x1b30c(%rip), %xmm1    # 0x20018
mulsd %xmm2, %xmm1
minsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
movl %eax, 0x54(%rbp)
xorps %xmm0, %xmm0
cvtsi2sd %rcx, %xmm0
maxsd %xmm1, %xmm0
cvttsd2si %xmm0, %rax
movl %eax, 0x58(%rbp)
movl 0x70(%rbp), %eax
movq 0xd0(%rsp), %rcx
cmpl %ecx, %eax
cmoval %eax, %ecx
movl %ecx, 0x70(%rbp)
cmpb $0x1, 0x28(%rbx)
jne 0x4d60
cmpb $0x0, 0x38(%rbx)
jne 0x4d60
cmpl $0x3, 0x30(%rbx)
jne 0x4d60
cvttsd2si %xmm2, %rax
movl %eax, 0x17c(%rbp)
cmpb $0x1, 0x50(%rbx)
jne 0x4d92
cmpl $0x900af, 0x10(%rbx)    # imm = 0x900AF
ja 0x4d92
cmpb $0x0, 0x3a42a(%rip)     # 0x3f1a0
jne 0x4d92
movb $0x1, 0x3a421(%rip)     # 0x3f1a0
leaq 0x1b599(%rip), %rsi     # 0x2031f
movl $0x1, %edi
xorl %eax, %eax
callq 0x37cc
cmpl $0x0, 0x1c(%rbx)
jg 0x4da8
leaq 0x1b5e6(%rip), %rsi     # 0x20385
xorl %edi, %edi
xorl %eax, %eax
callq 0x37cc
cmpl $0x0, 0x24(%rbx)
jg 0x4dbe
leaq 0x1b5f7(%rip), %rsi     # 0x203ac
xorl %edi, %edi
xorl %eax, %eax
callq 0x37cc
cmpl $0x0, 0x34(%rbx)
jg 0x4dd4
leaq 0x1b607(%rip), %rsi     # 0x203d2
xorl %edi, %edi
xorl %eax, %eax
callq 0x37cc
movl 0x174(%rbp), %r8d
movl 0x178(%rbp), %r9d
movl %r8d, %eax
orl %r9d, %eax
je 0x4e36
movl 0x48(%rbx), %edx
movl 0x4c(%rbx), %ecx
movl %edx, %eax
orl %ecx, %eax
je 0x4e36
leal 0x9(%r8), %eax
cmpl %eax, %edx
seta %al
leal 0x9(%r9), %esi
cmpl %esi, %ecx
seta %sil
orb %al, %sil
jne 0x4e26
leal -0x9(%r8), %eax
cmpl %eax, %edx
setae %al
leal -0x9(%r9), %esi
cmpl %esi, %ecx
setae %sil
orb %al, %sil
jne 0x4e36
leaq 0x1b5c9(%rip), %rsi     # 0x203f6
xorl %edi, %edi
xorl %eax, %eax
callq 0x37cc
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x4e5b
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x3260
movl %r14d, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x0, 0x3a27f(%rip)     # 0x3f0f6
setne %al
andb %r14b, %al
cmpb $0x1, %al
jne 0x4791
movl (%rbx), %esi
cmpb $0x0, 0x18(%rbx)
movl $0x49, %eax
movl $0x50, %ecx
cmovnel %eax, %ecx
movapd 0x90(%rsp), %xmm1
cvttsd2si %xmm1, %r8
movl 0x4(%rbx), %edx
movl %r8d, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
subsd %xmm0, %xmm1
mulsd 0x1b160(%rip), %xmm1    # 0x20020
addsd 0x1b148(%rip), %xmm1    # 0x20010
cvttsd2si %xmm1, %r9
leaq 0x1bc01(%rip), %rdi     # 0x20ad5
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x3030
leaq 0x1c362(%rip), %rdi     # 0x21247
callq 0x3380
movl (%rbx), %esi
movl 0x4(%rbx), %edx
movzbl 0x18(%rbx), %ecx
leaq 0x1bc03(%rip), %rdi     # 0x20afd
xorl %eax, %eax
callq 0x3030
leaq 0x1c396(%rip), %rax     # 0x2129e
leaq 0x1c354(%rip), %rcx     # 0x21263
cmpb $0x0, 0x38(%rbx)
cmovneq %rax, %rcx
leaq 0x1c363(%rip), %rax     # 0x21281
leaq 0x1c343(%rip), %rdi     # 0x21268
cmovneq %rax, %rdi
cmpb $0x0, 0x28(%rbx)
cmoveq %rcx, %rdi
callq 0x3380
movl 0x3c(%rbx), %r8d
movl 0x1c(%rbx), %edx
addl %r8d, %edx
addl 0x24(%rbx), %r8d
movl 0x40(%rbx), %r10d
movl 0x2c(%rbx), %r9d
addl %r10d, %r9d
addl 0x34(%rbx), %r10d
movl 0x10(%rbx), %eax
imulq $0x3e8, %rax, %rsi      # imm = 0x3E8
movl 0x20(%rbx), %ecx
movl 0x30(%rbx), %r11d
movb 0x18(%rbx), %al
testb %al, %al
movl $0x0, %r15d
cmovnel %r9d, %r15d
movl $0x0, %r13d
cmovnel %r11d, %r13d
cmpb $0x1, %al
jne 0x4f8d
movzbl 0x44(%rbx), %r14d
xorl $0x1, %r14d
addl %r10d, %r14d
subq $0x8, %rsp
leaq 0x1bb89(%rip), %rdi     # 0x20b21
xorl %r12d, %r12d
xorl %eax, %eax
pushq %r14
pushq %r13
pushq %r15
pushq %r10
pushq %r11
callq 0x3030
addq $0x30, %rsp
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movl $0x0, 0xa8(%rsp)
cmpb $0x1, 0x18(%rbx)
movq 0x50(%rsp), %rbp
movq 0x58(%rsp), %r15
jne 0x5062
cmpb $0x0, 0x44(%rbx)
jne 0x5062
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x70(%rsp), %rsi
movq $0x14, (%rsi)
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movupd 0x1bb31(%rip), %xmm0    # 0x20b54
movupd %xmm0, (%rax)
movl $0x454e494c, 0x10(%rax) # imm = 0x454E494C
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5062
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
movzwl (%r15), %eax
xorl $0x4956, %eax           # imm = 0x4956
movzbl 0x2(%r15), %ecx
xorl $0x43, %ecx
orw %ax, %cx
movapd 0x90(%rsp), %xmm0
jne 0x5195
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x70(%rsp), %rsi
movq $0x19, (%rsi)
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movups 0x1bab4(%rip), %xmm0    # 0x20b72
movups %xmm0, 0x9(%rax)
movupd 0x1ba9f(%rip), %xmm0    # 0x20b69
movupd %xmm0, (%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5102
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x70(%rsp), %rsi
movq $0x16, (%rsi)
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movupd 0x1ba4d(%rip), %xmm0    # 0x20b83
movupd %xmm0, (%rax)
movabsq $0x4f454449565f4543, %rdx # imm = 0x4F454449565F4543
movq %rdx, 0xe(%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x517c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x4(%r15), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x30c0
movq %rax, %r12
movapd 0x90(%rsp), %xmm0
movabsq $0x43495620494d4448, %r14 # imm = 0x43495620494D4448
movl $0x0, %r13d
cmpq %r14, (%r15)
jne 0x535d
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x70(%rsp), %rsi
movq $0x17, (%rsi)
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movupd 0x1b9bb(%rip), %xmm0    # 0x20ba3
movupd %xmm0, (%rax)
movabsq $0x4349565f494d4448, %rdx # imm = 0x4349565F494D4448
movq %rdx, 0xf(%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x58(%rsp), %r12
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5233
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x70(%rsp), %rsi
movq $0x16, (%rsi)
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movupd 0x1b91c(%rip), %xmm0    # 0x20b83
movupd %xmm0, (%rax)
movabsq $0x4f454449565f4543, %rdx # imm = 0x4F454449565F4543
movq %rdx, 0xe(%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x52ad
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x9(%r12), %rdi
xorl %r12d, %r12d
xorl %esi, %esi
xorl %edx, %edx
callq 0x30c0
movq %rax, %r13
movzbl %r13b, %edi
callq 0xdfb4
movl %eax, %ebp
testb %al, %al
je 0x540b
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x70(%rsp), %rsi
movq $0x19, (%rsi)
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movups 0x1b86b(%rip), %xmm0    # 0x20b72
movups %xmm0, 0x9(%rax)
movupd 0x1b856(%rip), %xmm0    # 0x20b69
movupd %xmm0, (%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x534b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
movzbl %bpl, %r12d
movq 0x50(%rsp), %rbp
movapd 0x90(%rsp), %xmm0
testl %r12d, %r12d
je 0x5406
movsd 0x1acba(%rip), %xmm1    # 0x20028
callq 0x32f0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x5410
jp 0x5410
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x70(%rsp), %rsi
movq $0x19, (%rsi)
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movups 0x1b804(%rip), %xmm0    # 0x20bc4
movups %xmm0, 0x9(%rax)
movupd 0x1b7ef(%rip), %xmm0    # 0x20bbb
movupd %xmm0, (%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5410
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x5410
xorl %r12d, %r12d
jmp 0x5410
movq 0x50(%rsp), %rbp
cmpl $0x0, 0x14(%rbx)
je 0x5493
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x70(%rsp), %rsi
movq $0x1b, (%rsi)
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movups 0x1b791(%rip), %xmm0    # 0x20be0
movups %xmm0, 0xb(%rax)
movupd 0x1b77a(%rip), %xmm0    # 0x20bd5
movupd %xmm0, (%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5493
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
cmpl $0x0, 0x8(%rbx)
je 0x5520
cmpl $0x0, 0xc(%rbx)
je 0x5520
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x70(%rsp), %rsi
movq $0x1d, (%rsi)
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
callq 0x3410
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movups 0x1b722(%rip), %xmm0    # 0x20bfe
movups %xmm0, 0xd(%rax)
movupd 0x1b709(%rip), %xmm0    # 0x20bf1
movupd %xmm0, (%rax)
movq %rcx, 0x8(%rsi)
movq (%rsi), %rax
movb $0x0, (%rax,%rcx)
leaq 0x28(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x8077
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5520
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x58(%rsp), %rdx
movzwl (%rdx), %eax
xorl $0x4956, %eax           # imm = 0x4956
movzbl 0x2(%rdx), %ecx
xorl $0x43, %ecx
leaq 0x1b6d4(%rip), %rsi     # 0x20c0f
orw %ax, %cx
je 0x55a8
cmpq %r14, (%rdx)
je 0x55a8
movq 0x58(%rsp), %rdx
movzwl (%rdx), %eax
xorl $0x4d44, %eax           # imm = 0x4D44
movzbl 0x2(%rdx), %ecx
xorl $0x54, %ecx
orw %ax, %cx
je 0x5598
movzwl (%rdx), %eax
xorl $0x5643, %eax           # imm = 0x5643
movzbl 0x2(%rdx), %ecx
xorl $0x54, %ecx
orw %ax, %cx
je 0x55a1
movzwl (%rdx), %eax
xorl $0x5447, %eax           # imm = 0x5447
movzbl 0x2(%rdx), %ecx
xorl $0x46, %ecx
orw %ax, %cx
leaq 0x1b6c0(%rip), %rax     # 0x20c4b
leaq 0x1b401(%rip), %rsi     # 0x20993
cmoveq %rax, %rsi
jmp 0x55a8
leaq 0x1b686(%rip), %rsi     # 0x20c25
jmp 0x55a8
leaq 0x1b690(%rip), %rsi     # 0x20c38
leaq 0x1b6af(%rip), %r15     # 0x20c5e
movq %r15, %rdi
xorl %eax, %eax
callq 0x3030
cmpq $0x0, 0x30(%rsp)
je 0x55c8
movq 0x28(%rsp), %rsi
jmp 0x55cf
leaq 0x1b3c4(%rip), %rsi     # 0x20993
movq %r15, %rdi
xorl %eax, %eax
callq 0x3030
movl 0x8(%rbx), %esi
movl 0xc(%rbx), %edx
leaq 0x1b682(%rip), %rdi     # 0x20c68
movl %r12d, %ecx
movl %r13d, %r8d
xorl %eax, %eax
callq 0x3030
leaq 0x1bcbd(%rip), %rdi     # 0x212b7
callq 0x3380
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x561b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x58(%rsp), %r13
jmp 0x4c20
jmp 0x5654
jmp 0x5670
jmp 0x563f
jmp 0x5670
jmp 0x5654
jmp 0x5670
jmp 0x5670
jmp 0x5654
jmp 0x5670
jmp 0x563f
jmp 0x5654
jmp 0x5670
jmp 0x5670
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
jne 0x5661
jmp 0x5673
jmp 0x5670
jmp 0x5654
jmp 0x5670
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5673
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x5673
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
jmp 0x57a0
jmp 0x5684
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x56a5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x56a5
jmp 0x56a2
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x56dd
jmp 0x57b7
jmp 0x57b4
jmp 0x57b4
jmp 0x57b4
jmp 0x57b4
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x57b7
movq 0x18(%rsp), %rsi
jmp 0x57aa
jmp 0x57b4
jmp 0x57b4
jmp 0x57b4
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x571a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x571a
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x573a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x573a
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x575c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x575c
movq %rax, %rbx
movq 0x100(%rsp), %rdi
cmpq %r15, %rdi
je 0x577e
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x577e
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r14, %rdi
je 0x57b7
movq 0x80(%rsp), %rsi
jmp 0x57aa
jmp 0x57b4
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x57b7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x57b7
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x57dc
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x3260
movq %rbx, %rdi
callq 0x3400