// File: /workspace/github_c_makefile_star2_O2/jsummers[P]deark/modules/tiff.c
// Function: de_run_tiff
static void de_run_tiff(deark *c, de_module_params *mparams)
{
	lctx *d = NULL;

	d = de_malloc(c, sizeof(lctx));

	if(mparams) {
		d->in_params = &mparams->in_params;
	}

	d->opt_decode = (u8)de_get_ext_option_bool(c, "tiff:decode", 1);
	d->opt_dexxa = (u8)de_get_ext_option_bool(c, "tiff:dexxa", 0xff);

	if(de_havemodcode(c, mparams, 'A')) {
		d->fmt = DE_TIFFFMT_APPLEMN;
		d->is_le = 0;
		de_strlcpy(d->errmsgtoken_module, "Apple MakerNote", sizeof(d->errmsgtoken_module));
	}
	else if(de_havemodcode(c, mparams, 'F')) {
		d->fmt = DE_TIFFFMT_FUJIFILMMN;
		d->is_le = 1;
		de_strlcpy(d->errmsgtoken_module, "FujiFilm MakerNote", sizeof(d->errmsgtoken_module));
	}
	else {
		d->fmt = de_identify_tiff_internal(c, &d->is_le);
	}

	if(de_havemodcode(c, mparams, 'N')) {
		de_strlcpy(d->errmsgtoken_module, "Nikon MakerNote", sizeof(d->errmsgtoken_module));
		d->fmt = DE_TIFFFMT_NIKONMN;
	}

	if(de_havemodcode(c, mparams, 'M') && (d->fmt==DE_TIFFFMT_TIFF)) {
		de_strlcpy(d->errmsgtoken_module, "MPF", sizeof(d->errmsgtoken_module));
		d->fmt = DE_TIFFFMT_MPEXT;
	}

	if(de_havemodcode(c, mparams, 'E')) {
		d->is_exif_submodule = 1;
		de_strlcpy(d->errmsgtoken_module, "Exif", sizeof(d->errmsgtoken_module));
	}

	if(d->fmt==DE_TIFFFMT_TIFF) {
		identify_more_formats(c, d);
	}

	switch(d->fmt) {
	case DE_TIFFFMT_TIFF:
		if(d->is_xiff)
			de_declare_fmt(c, "XIFF");
		else
			de_declare_fmt(c, "TIFF");
		break;
	case DE_TIFFFMT_BIGTIFF:
		de_declare_fmt(c, "BigTIFF");
		d->is_bigtiff = 1;
		break;
	case DE_TIFFFMT_PANASONIC:
		de_declare_fmt(c, "Panasonic RAW/RW2");
		break;
	case DE_TIFFFMT_ORF:
		de_declare_fmt(c, "Olympus RAW");
		break;
	case DE_TIFFFMT_DCP:
		de_declare_fmt(c, "DNG Camera Profile");
		break;
	case DE_TIFFFMT_MDI:
		de_declare_fmt(c, "MDI");
		break;
	case DE_TIFFFMT_JPEGXR:
		de_declare_fmt(c, "JPEG XR");
		break;
	}

	if(d->fmt==0) {
		detiff_warn(c, d, NULL, "This is not a known/supported TIFF or TIFF-like format.");
	}

	if(d->fmt==DE_TIFFFMT_TIFF) {
		d->fillorder_strategy = (u8)de_get_ext_option_bool(c, "tiff:fillorderstrategy", 0);
	}

	if(d->is_bigtiff) {
		d->ifdhdrsize = 8;
		d->ifditemsize = 20;
		d->offsetoffset = 12;
		d->offsetsize = 8;
	}
	else {
		d->ifdhdrsize = 2;
		d->ifditemsize = 12;
		d->offsetoffset = 8;
		d->offsetsize = 4;
	}

	d->current_textfield_encoding = DE_ENCODING_ASCII;

	do_tiff(c, d);

	if(mparams) {
		// .out_params.flags:
		//  0x08: has_exif_gps
		//  0x10: first IFD has subsampling=cosited
		//  0x20: uint1 = first IFD's orientation
		//  0x40: uint2 = Exif version
		//  0x80: uint3 = main image count
		if(d->has_exif_gps) {
			mparams->out_params.flags |= 0x08;
		}
		if(d->first_ifd_cosited) {
			mparams->out_params.flags |= 0x10;
		}
		if(d->first_ifd_orientation>0) {
			mparams->out_params.flags |= 0x20;
			mparams->out_params.uint1 = d->first_ifd_orientation;
		}
		if(d->exif_version_as_uint32>0) {
			mparams->out_params.flags |= 0x40;
			mparams->out_params.uint2 = d->exif_version_as_uint32;
		}
		if(d->fmt==DE_TIFFFMT_MPEXT) {
			mparams->out_params.flags |= 0x80;
			mparams->out_params.uint3 = d->mpf_main_image_count;
		}
	}

	if(d) {
		de_free(c, d->ifdstack);
		de_inthashtable_destroy(c, d->ifds_seen);
		de_free(c, d);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rsi, %rbx
movq %rdi, %r12
movl $0xa8, %esi
callq 0xdecaf
movq %rax, %rbp
testq %rbx, %rbx
je 0xc2eb8
movq %rbx, 0x70(%rbp)
leaq 0x6c7cc(%rip), %rsi     # 0x12f68b
pushq $0x1
popq %rdx
movq %r12, %rdi
callq 0xdfae5
movb %al, 0x14(%rbp)
leaq 0x6c7c3(%rip), %rsi     # 0x12f697
movq %r12, %rdi
movl $0xff, %edx
callq 0xdfae5
movb %al, 0x15(%rbp)
pushq $0x41
popq %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xdfcf4
testl %eax, %eax
je 0xc2f11
movabsq $0xa00000000, %rax      # imm = 0xA00000000
movq %rax, (%rbp)
leaq 0x7c(%rbp), %rdi
leaq 0x6c793(%rip), %rsi     # 0x12f6a2
jmp 0xc2f40
pushq $0x46
popq %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xdfcf4
testl %eax, %eax
je 0xc306e
movabsq $0xb00000001, %rax      # imm = 0xB00000001
movq %rax, (%rbp)
leaq 0x7c(%rbp), %rdi
leaq 0x6c772(%rip), %rsi     # 0x12f6b2
pushq $0x28
popq %rdx
callq 0xde492
pushq $0x4e
popq %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xdfcf4
testl %eax, %eax
je 0xc2f74
leaq 0x7c(%rbp), %rdi
leaq 0x6c760(%rip), %rsi     # 0x12f6c5
pushq $0x28
popq %rdx
callq 0xde492
movl $0x9, 0x4(%rbp)
pushq $0x4d
popq %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xdfcf4
testl %eax, %eax
je 0xc2fa6
cmpl $0x1, 0x4(%rbp)
jne 0xc2fa6
leaq 0x7c(%rbp), %rdi
leaq 0x6c73e(%rip), %rsi     # 0x12f6d5
pushq $0x28
popq %rdx
callq 0xde492
movl $0x8, 0x4(%rbp)
pushq $0x45
popq %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xdfcf4
testl %eax, %eax
je 0xc2fd5
movl $0x1, 0xc(%rbp)
movq %rbp, %rdi
addq $0x7c, %rdi
leaq 0x5b79e(%rip), %rsi     # 0x11e76b
pushq $0x28
popq %rdx
callq 0xde492
movl 0x4(%rbp), %eax
cmpl $0x1, %eax
jne 0xc309f
movq 0x18(%r12), %rdi
leaq 0x110(%rsp), %r14
pushq $0x8
popq %rdx
pushq $0x14
popq %rcx
movq %r14, %rsi
callq 0xe3cb7
movdqa (%r14), %xmm0
pcmpeqb 0x6c397(%rip), %xmm0    # 0x12f3a0
pmovmskb %xmm0, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
je 0xc3053
leaq 0x6c768(%rip), %rsi     # 0x12f783
leaq 0x110(%rsp), %rdi
pushq $0xa
popq %rdx
callq 0x18230
testl %eax, %eax
je 0xc3081
leaq 0x6c778(%rip), %rsi     # 0x12f7ae
leaq 0x110(%rsp), %rdi
pushq $0xa
popq %rdx
callq 0x18230
testl %eax, %eax
jne 0xc309c
leaq 0x6c768(%rip), %rsi     # 0x12f7b9
jmp 0xc3088
movl 0x120(%rsp), %eax
cmpl $0x4d494238, %eax       # imm = 0x4D494238
je 0xc3098
cmpl $0x43545049, %eax       # imm = 0x43545049
jne 0xc3014
movb $0x1, 0x17(%rbp)
jmp 0xc309c
movq %r12, %rdi
movq %rbp, %rsi
callq 0xc5235
movl %eax, 0x4(%rbp)
jmp 0xc2f48
leaq 0x6c706(%rip), %rsi     # 0x12f78e
movq %r12, %rdi
xorl %eax, %eax
callq 0xde896
movb $0x1, 0x9(%rbp)
jmp 0xc309c
movb $0x1, 0x18(%rbp)
movl 0x4(%rbp), %eax
decl %eax
cmpl $0x6, %eax
ja 0xc3116
leaq 0x6c353(%rip), %rcx     # 0x12f400
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpb $0x0, 0x9(%rbp)
je 0xc3107
leaq 0x6c616(%rip), %rsi     # 0x12f6d9
jmp 0xc310e
leaq 0x6c638(%rip), %rsi     # 0x12f704
jmp 0xc310e
leaq 0x6c611(%rip), %rsi     # 0x12f6e6
jmp 0xc310e
leaq 0x6c61a(%rip), %rsi     # 0x12f6f8
jmp 0xc310e
leaq 0x6c5f7(%rip), %rsi     # 0x12f6de
movq %r12, %rdi
callq 0xe07f7
movb $0x1, 0x8(%rbp)
jmp 0xc3116
leaq 0x6c61b(%rip), %rsi     # 0x12f717
jmp 0xc310e
leaq 0x6c616(%rip), %rsi     # 0x12f71b
jmp 0xc310e
leaq 0x7a160(%rip), %rsi     # 0x13d26e
movq %r12, %rdi
callq 0xe07f7
movl 0x4(%rbp), %eax
testl %eax, %eax
jne 0xc3136
leaq 0x6c5ff(%rip), %rcx     # 0x12f723
movq %r12, %rdi
movq %rbp, %rsi
xorl %edx, %edx
xorl %eax, %eax
callq 0xc52e6
movl 0x4(%rbp), %eax
cmpl $0x1, %eax
jne 0xc314f
leaq 0x6c619(%rip), %rsi     # 0x12f75b
movq %r12, %rdi
xorl %edx, %edx
callq 0xdfae5
movb %al, 0x16(%rbp)
cmpb $0x0, 0x8(%rbp)
je 0xc3169
movapd 0x6c263(%rip), %xmm0    # 0x12f3c0
jne 0xc3173
movapd 0x6c269(%rip), %xmm1    # 0x12f3d0
jmp 0xc317b
movapd 0x6c23f(%rip), %xmm0    # 0x12f3b0
je 0xc315f
movapd 0x6c265(%rip), %xmm1    # 0x12f3e0
movupd %xmm0, 0x50(%rbp)
movupd %xmm1, 0x60(%rbp)
movl $0x1, 0x38(%rbp)
movl 0x4(%rbp), %eax
cmpl $0xb, %eax
movq %rbp, 0x20(%rsp)
movq %rbx, 0x108(%rsp)
je 0xc31b8
cmpl $0xa, %eax
jne 0xc31e0
pushq $0xe
popq %rdx
pushq $0x8
popq %rcx
pushq $0x1
popq %r8
movq %r12, %rdi
movq %rbp, %rsi
jmp 0xc31d6
pushq $0x8
popq %rdx
movq %r12, %rdi
movq %rbp, %rsi
callq 0xc556e
pushq $0xa
popq %rcx
pushq $0x1
popq %r8
movq %r12, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0xc5455
jmp 0xc32af
cmpl $0x0, 0xc(%rbp)
leaq 0x74a75(%rip), %rax     # 0x137c60
leaq 0x5b3da(%rip), %rdx     # 0x11e5cc
cmoveq %rax, %rdx
leaq 0x6c5ed(%rip), %rsi     # 0x12f7ea
xorl %ebx, %ebx
movq %r12, %rdi
xorl %ecx, %ecx
xorl %eax, %eax
callq 0xde896
pushq $0x1
popq %rbp
movq %r12, %rdi
movl %ebp, %esi
callq 0xdeba7
movq 0x20(%rsp), %rax
cmpl $0x0, (%rax)
leaq 0x639f5(%rip), %rax     # 0x126c1c
leaq 0x639e7(%rip), %rdx     # 0x126c15
cmoveq %rax, %rdx
leaq 0x639c6(%rip), %rsi     # 0x126bff
movq %r12, %rdi
xorl %eax, %eax
callq 0xde896
xorl %eax, %eax
movq 0x20(%rsp), %rcx
cmpb $0x0, 0x8(%rcx)
setne %al
leaq 0x4(,%rax,4), %rdx
movq %r12, %rdi
movq 0x20(%rsp), %rsi
callq 0xc556e
movq %rax, %r14
leaq 0x6c594(%rip), %rsi     # 0x12f804
movq %r12, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0xde896
movq 0x20(%rsp), %rax
cmpl $0x9, 0x4(%rax)
pushq $0x6
popq %rcx
cmovnel %ebx, %ecx
movq %r12, %rdi
movq 0x20(%rsp), %rsi
movq %r14, %rdx
movl %ebp, %r8d
movq 0x20(%rsp), %rbp
callq 0xc5455
pushq $-0x1
popq %rsi
movq %r12, %rdi
callq 0xdeba7
movl $0x0, 0x4c(%rsp)
movq %r12, 0x40(%rsp)
movq 0x28(%rbp), %rax
testq %rax, %rax
movq %rbp, %r15
je 0xc514d
movslq 0x34(%r15), %rcx
testq %rcx, %rcx
jle 0xc514d
movq %rcx, %rdx
shlq $0x4, %rdx
movq -0x10(%rax,%rdx), %rbx
movb -0x8(%rax,%rdx), %bpl
movb -0x7(%rax,%rdx), %r14b
leal -0x1(%rcx), %eax
movl %eax, 0x34(%r15)
testq %rbx, %rbx
je 0xc514d
movl $0x510, %esi            # imm = 0x510
movq %r12, %rdi
callq 0xdecaf
movq %rax, %r13
xorpd %xmm0, %xmm0
movupd %xmm0, 0x50(%rax)
movl 0x4c(%rsp), %eax
movl %eax, 0x8(%r13)
movq %rbx, (%r13)
movb %bpl, 0x10(%r13)
testb %r14b, %r14b
je 0xc3359
movq 0x20(%rsp), %rbp
movl 0x4c(%rbp), %ecx
leal 0x1(%rcx), %eax
movl %eax, 0x4c(%rbp)
movl %ecx, 0xc(%r13)
leaq 0x4d0(%r13), %rdi
pushq $0x14
popq %rsi
leaq 0x65ccc(%rip), %rdx     # 0x12901c
xorl %eax, %eax
callq 0xde40c
jmp 0xc3379
orl $-0x1, 0xc(%r13)
leaq 0x4d0(%r13), %rdi
leaq 0x585b6(%rip), %rsi     # 0x11b922
pushq $0x14
popq %rdx
callq 0xde492
movq 0x20(%rsp), %rbp
leaq 0x4e4(%r13), %rdi
leaq 0x4d0(%r13), %r15
movq (%r13), %r8
pushq $0x28
popq %rsi
leaq 0x6c4e9(%rip), %rdx     # 0x12f87e
movq %r15, %rcx
xorl %eax, %eax
callq 0xde40c
xorl %eax, %eax
cmpl $0x7, 0x4(%rbp)
sete %al
incl %eax
movl %eax, 0x38(%rbp)
movzbl 0x10(%r13), %eax
decl %eax
cmpl $0x8, %eax
ja 0xc33e0
leaq 0x6c05c(%rip), %rcx     # 0x12f41c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
leaq 0x6c4bb(%rip), %r8      # 0x12f889
jmpq *%rax
movl $0x1, 0x38(%rbp)
leaq 0x6c4ce(%rip), %r8      # 0x12f8ac
jmp 0xc3422
leaq 0x74879(%rip), %r8      # 0x137c60
jmp 0xc3422
leaq 0x6c4f0(%rip), %r8      # 0x12f8e0
jmp 0xc3422
leaq 0x6c4f8(%rip), %r8      # 0x12f8f1
jmp 0xc3422
movl $0x1, 0x38(%rbp)
leaq 0x6c4af(%rip), %r8      # 0x12f8b8
jmp 0xc3422
movl $0x1, 0x38(%rbp)
leaq 0x6c4bc(%rip), %r8      # 0x12f8d5
jmp 0xc3422
leaq 0x6c471(%rip), %r8      # 0x12f893
movq (%r13), %rcx
movq %r12, %rdi
leaq 0x6c4d0(%rip), %rsi     # 0x12f900
movq %r15, %rdx
xorl %eax, %eax
callq 0xde896
movq %r12, %rdi
pushq $0x1
popq %rsi
callq 0xdeba7
movq (%r13), %r8
cmpq $0x8, %r8
jl 0xc346d
movq 0x18(%r12), %rdi
cmpq 0x18(%rdi), %r8
jge 0xc346d
cmpb $0x0, 0x8(%rbp)
movl (%rbp), %edx
movq %r8, %rsi
je 0xc3485
callq 0xe41e5
jmp 0xc348a
movq %r12, %rdi
movq %rbp, %rsi
xorl %edx, %edx
leaq 0x6c3c5(%rip), %rcx     # 0x12f841
xorl %eax, %eax
callq 0xc52e6
jmp 0xc34c4
callq 0xe41b1
movq %rax, %r15
movq %r12, %rdi
leaq 0x6bbc2(%rip), %rsi     # 0x12f059
movl %r15d, %edx
xorl %eax, %eax
callq 0xde896
cmpl $0xc9, %r15d
jl 0xc34cf
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6c456(%rip), %rcx     # 0x12f910
movl %r15d, %r8d
xorl %eax, %eax
callq 0xc52e6
xorl %ebx, %ebx
pushq $-0x1
popq %r15
jmp 0xc4013
movq 0x50(%rbp), %rax
addq (%r13), %rax
movslq %r15d, %rdx
imulq 0x58(%rbp), %rdx
addq %rax, %rdx
movq %r12, %rdi
movq %rbp, %rsi
callq 0xc556e
movq %rax, %r14
testq %rax, %rax
leaq 0x74766(%rip), %rcx     # 0x137c60
leaq 0x71023(%rip), %rax     # 0x134524
cmoveq %rax, %rcx
movq %r12, %rdi
leaq 0x6c42f(%rip), %rsi     # 0x12f93e
movq %r14, %rdx
xorl %eax, %eax
callq 0xde896
movq %r12, %rdi
movq %rbp, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
pushq $0x1
popq %r8
callq 0xc5455
movq %r12, %rdi
callq 0xeac74
movq %rax, %rbx
testl %r15d, %r15d
movl $0x0, %eax
cmovgl %r15d, %eax
movq %rax, 0x78(%rsp)
xorl %ecx, %ecx
pushq $-0x1
popq %r15
movq %r13, 0x18(%rsp)
movq %rbx, 0x28(%rsp)
cmpq 0x78(%rsp), %rcx
je 0xc3bfd
xorpd %xmm0, %xmm0
leaq 0x88(%rsp), %rax
movupd %xmm0, 0x20(%rax)
movupd %xmm0, 0x10(%rax)
movupd %xmm0, (%rax)
movq %r13, 0x80(%rsp)
movq 0x18(%r12), %rdi
movq 0x50(%rbp), %rax
addq (%r13), %rax
movq 0x58(%rbp), %rsi
imulq %rcx, %rsi
addq %rax, %rsi
movl (%rbp), %edx
movq %rcx, %r14
callq 0xe41b1
movl %eax, 0x88(%rsp)
movq 0x18(%r12), %rdi
movq (%r13), %rax
movq 0x58(%rbp), %rcx
imulq %r14, %rcx
addq 0x50(%rbp), %rax
leaq (%rcx,%rax), %rsi
addq $0x2, %rsi
movl (%rbp), %edx
callq 0xe41b1
movl %eax, 0x8c(%rsp)
movq (%r13), %rax
movq 0x58(%rbp), %rcx
movq %r14, 0x38(%rsp)
imulq %r14, %rcx
addq 0x50(%rbp), %rax
leaq (%rcx,%rax), %rdx
addq $0x4, %rdx
movq %r12, %rdi
movq %rbp, %rsi
callq 0xc556e
movabsq $0x100000000000, %rcx   # imm = 0x100000000000
cmpq %rcx, %rax
cmovgeq %rcx, %rax
movq %rax, 0x98(%rsp)
movl 0x8c(%rsp), %edx
addl $-0x3, %edx
pushq $0x1
popq %rcx
cmpl $0xf, %edx
ja 0xc363c
movl %edx, %ecx
leaq 0x6bfc8(%rip), %rdx     # 0x12f600
movq (%rdx,%rcx,8), %rcx
movq %rcx, 0xa8(%rsp)
imulq %rcx, %rax
movq %rax, 0xb0(%rsp)
movq 0x50(%rbp), %rcx
addq (%r13), %rcx
movq 0x58(%rbp), %rdx
imulq 0x38(%rsp), %rdx
addq %rcx, %rdx
addq 0x60(%rbp), %rdx
cmpq 0x68(%rbp), %rax
jle 0xc3685
movq %r12, %rdi
movq %rbp, %rsi
callq 0xc556e
movq %rax, %rdx
movq 0xb0(%rsp), %rax
leaq 0xc6b84(%rip), %r8      # 0x18a210
leaq 0x6bdad(%rip), %r9      # 0x12f440
movq %rdx, 0xa0(%rsp)
addq %rdx, %rax
movq 0x18(%r12), %rcx
movq 0x18(%rcx), %rcx
leaq 0x400(%rcx), %rsi
cmpq %rsi, %rax
jle 0xc36e5
subq %rdx, %rcx
jge 0xc36be
xorl %eax, %eax
xorl %ecx, %ecx
jmp 0xc36d5
movq 0xa8(%rsp), %rsi
movq %rcx, %rax
cqto
idivq %rsi
movq %rax, %rcx
imulq %rsi, %rcx
movq %rax, 0x98(%rsp)
movq %rcx, 0xb0(%rsp)
movl 0x88(%rsp), %eax
movl 0x4(%rbp), %ecx
movzbl 0x10(%r13), %edx
xorl %r13d, %r13d
cmpq $0x4f20, %r13           # imm = 0x4F20
je 0xc3797
cmpl %eax, (%r13,%r8)
jne 0xc3772
movl 0x4(%r13,%r8), %esi
leal -0x3(%rdx), %edi
cmpl $0x7, %edi
ja 0xc3729
movslq (%r9,%rdi,4), %rdi
addq %r9, %rdi
jmpq *%rdi
testb $0x20, %sil
je 0xc3772
jmp 0xc3787
testb $0x1, %sil
je 0xc3787
cmpl $0x7, %ecx
jne 0xc373e
movl %esi, %edi
andl $0x400, %edi            # imm = 0x400
jne 0xc3787
cmpl $0x3, %ecx
je 0xc377b
cmpl $0x9, %ecx
je 0xc3755
cmpl $0x8, %ecx
jne 0xc3772
btl $0xb, %esi
jae 0xc3772
jmp 0xc3787
btl $0xc, %esi
jae 0xc3772
jmp 0xc3787
testb $0x40, %sil
je 0xc3772
jmp 0xc3787
btl $0xd, %esi
jae 0xc3772
jmp 0xc3787
testw %si, %si
js 0xc3787
addq $0x20, %r13
jmp 0xc36f7
testl %edx, %edx
jne 0xc3772
andl $0x4000, %esi           # imm = 0x4000
je 0xc3772
movl $0x1, 0x90(%rsp)
addq %r8, %r13
jmp 0xc379e
leaq 0xc6a52(%rip), %r13     # 0x18a1f0
movq %rbx, %rdi
callq 0xeac85
movq 0x8(%r13), %r8
movl 0x88(%rsp), %ecx
movl 0x8c(%rsp), %r9d
movl 0x98(%rsp), %r10d
movq %rbx, %rdi
pushq $0x2
popq %rsi
leaq 0x6c18a(%rip), %rdx     # 0x12f958
xorl %eax, %eax
pushq 0xa0(%rsp)
pushq %r10
callq 0xeae8b
addq $0x10, %rsp
cmpl $0x0, (%r12)
jle 0xc3b98
movl 0x4(%r13), %ecx
testb $0x8, %cl
jne 0xc3b98
cmpq $0x0, 0x98(%rsp)
jle 0xc3b98
movl 0x8c(%rsp), %eax
cmpl $0x81, %eax
je 0xc3820
cmpl $0x2, %eax
jne 0xc3a05
testb $0x4, %cl
jne 0xc38bd
pushq $0x2
popq %r9
cmpl $0x81, %eax
je 0xc3838
movl 0x38(%rbp), %r9d
movq 0x18(%r12), %rdi
movq 0xa0(%rsp), %rsi
movq 0xb0(%rsp), %rdx
movl $0x1f4, %ecx            # imm = 0x1F4
pushq $0x1
popq %r8
callq 0xe495c
movq %rax, %r14
movq %rbx, %rdi
leaq 0x6ee3a(%rip), %rsi     # 0x1326a2
movq %rbx, %r15
pushq $0x5
popq %rbx
movl %ebx, %edx
callq 0xeae42
movq 0x18(%r14), %rsi
movq %r15, %rdi
callq 0xead71
cmpl $0x0, 0x30(%r14)
je 0xc3899
movq %r15, %rdi
leaq 0x757ff(%rip), %rsi     # 0x139091
movl %ebx, %edx
callq 0xeae42
movq %r15, %rdi
leaq 0x6ee03(%rip), %rsi     # 0x1326a6
movl %ebx, %edx
callq 0xeae42
movq %r12, %rdi
movq %r14, %rsi
callq 0xe4b94
movq %r15, %rbx
jmp 0xc39fc
pushq $0x2
popq %rcx
movl %ecx, 0x8(%rsp)
cmpl $0x81, %eax
je 0xc38d2
movl 0x38(%rbp), %eax
movl %eax, 0x8(%rsp)
movq 0xb0(%rsp), %rax
cmpq $0x1f5, %rax            # imm = 0x1F5
movl $0x1f4, %ecx            # imm = 0x1F4
movq %rax, 0x30(%rsp)
cmovlq %rax, %rcx
addq 0xa0(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x6ed9a(%rip), %rsi     # 0x13269f
pushq $0x5
popq %rdx
callq 0xeae42
xorl %ebx, %ebx
movq 0xa0(%rsp), %r12
movq 0x10(%rsp), %rcx
subq %r12, %rcx
setle %al
testl %ebx, %ebx
setne %dl
testb %dl, %al
jne 0xc39bb
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rdi
movq %r12, %rsi
movq %rcx, %rdx
pushq $0x1
popq %r8
movl 0x8(%rsp), %r9d
callq 0xe495c
movq %rax, %r14
addl $-0x1, %ebx
movl %ebx, (%rsp)
jae 0xc396b
movq 0x28(%rsp), %rdi
leaq 0x53d32(%rip), %rsi     # 0x117695
pushq $0x5
popq %rdx
callq 0xeae42
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
leaq 0x78e5f(%rip), %rbp     # 0x13c7d9
movq %rbp, %rsi
pushq $0x5
popq %r15
movl %r15d, %edx
callq 0xeae42
movq 0x18(%r14), %rsi
movq %rbx, %rdi
callq 0xead71
movq %rbx, %rdi
movq %rbp, %rsi
movl %r15d, %edx
callq 0xeae42
addq (%r14), %r12
movq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0xe4b94
movl (%rsp), %ebx
jmp 0xc3917
cmpq $0x1f5, 0x30(%rsp)      # imm = 0x1F5
pushq $0x5
popq %rbx
jl 0xc39dc
movq 0x28(%rsp), %rdi
leaq 0x756bc(%rip), %rsi     # 0x139091
movl %ebx, %edx
callq 0xeae42
movq 0x28(%rsp), %rdi
leaq 0x6ecbf(%rip), %rsi     # 0x1326a7
movl %ebx, %edx
movq %rdi, %rbx
callq 0xeae42
movq 0x40(%rsp), %r12
movq 0x20(%rsp), %rbp
pushq $-0x1
popq %r15
jmp 0xc3b98
cmpl $0x12, %eax
ja 0xc3b98
movl $0x73ffa, %ecx          # imm = 0x73FFA
btl %eax, %ecx
jae 0xc3b98
movq %rbx, %rdi
leaq 0x6ec79(%rip), %rsi     # 0x13269f
pushq $0x5
popq %rdx
callq 0xeae42
movq %rbp, 0x110(%rsp)
leaq 0x80(%rsp), %rax
movq %rax, 0x118(%rsp)
movq %r12, %rdi
callq 0xeac74
movq %rax, 0x50(%rsp)
xorl %r15d, %r15d
movq 0x98(%rsp), %rax
cmpq $0x63, %r15
ja 0xc3b53
cmpq %rax, %r15
jge 0xc3b53
movq %r12, %rdi
movq %rbp, %rsi
leaq 0x80(%rsp), %rdx
movq %r15, %rcx
leaq 0xe0(%rsp), %r8
movq %rbx, %r9
callq 0xc784f
cmpl $0x0, 0xe0(%rsp)
je 0xc3b24
movq 0x18(%r13), %rbx
testq %rbx, %rbx
je 0xc3b24
movq %r15, 0x120(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x128(%rsp)
movq 0x50(%rsp), %rdi
callq 0xeac85
movq %r12, %rdi
leaq 0x110(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq *%rbx
testl %eax, %eax
je 0xc3b24
movq %rbp, %r14
movq %r12, %rbp
movq 0x28(%rsp), %r12
movq %r12, %rdi
leaq 0x6ebb3(%rip), %rsi     # 0x1326a9
pushq $0x5
popq %rbx
movl %ebx, %edx
callq 0xeae42
movq 0x50(%rsp), %rsi
movq %r12, %rdi
callq 0xead71
movq %r12, %rdi
movq %rbp, %r12
movq %r14, %rbp
leaq 0x7b19c(%rip), %rsi     # 0x13ecb9
movl %ebx, %edx
callq 0xeae42
movq 0x98(%rsp), %rax
decq %rax
cmpq %rax, %r15
movq 0x28(%rsp), %rbx
jge 0xc3b4b
movq %rbx, %rdi
leaq 0x53b52(%rip), %rsi     # 0x117695
pushq $0x5
popq %rdx
callq 0xeae42
incq %r15
jmp 0xc3a56
cmpq $0x65, %rax
pushq $0x5
popq %rbx
jl 0xc3b6f
movq 0x28(%rsp), %rdi
leaq 0x75529(%rip), %rsi     # 0x139091
movl %ebx, %edx
callq 0xeae42
movq 0x28(%rsp), %rdi
leaq 0x6eb2c(%rip), %rsi     # 0x1326a7
movl %ebx, %edx
movq %rdi, %rbx
callq 0xeae42
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
pushq $-0x1
popq %r15
je 0xc3b98
callq 0xeaf3c
movl $0x3e8, %esi            # imm = 0x3E8
movq %rbx, %rdi
callq 0xeb86c
movq %r12, %rdi
leaq 0x44150(%rip), %rsi     # 0x107cff
movq %rax, %rdx
xorl %eax, %eax
callq 0xde896
movq %r12, %rdi
pushq $0x1
popq %rsi
callq 0xdeba7
movq 0x10(%r13), %rax
testq %rax, %rax
je 0xc3be0
movq %r12, %rdi
movq %rbp, %rsi
leaq 0x80(%rsp), %rdx
movq %r13, %rcx
callq *%rax
movq %r12, %rdi
movl %r15d, %esi
callq 0xdeba7
movq 0x38(%rsp), %rcx
incq %rcx
movq 0x18(%rsp), %r13
jmp 0xc3559
cmpl $0x0, 0x8(%r13)
jne 0xc3c14
movl 0x20(%r13), %eax
movl %eax, 0x1c(%rbp)
cmpl $0x2, 0x24(%r13)
sete 0x25(%rbp)
cmpq $0x0, 0xb8(%r13)
je 0xc3c66
xorl %ebx, %ebx
xorl %r14d, %r14d
cmpq 0xb0(%r13), %r14
jge 0xc3c66
movq 0x18(%r12), %rdi
movq 0xb8(%r13), %rsi
addq %rbx, %rsi
callq 0xe3c84
movq 0x18(%r12), %rdi
movq 0xb8(%r13), %rax
leaq (%rax,%rbx), %rdx
addq $0x8, %rdx
movq -0x8(%rdx), %rsi
callq 0xe3c92
incq %r14
addq $0x10, %rbx
jmp 0xc3c23
movq 0x18(%r12), %rdi
movq %r13, %rbx
addq $0x70, %r13
movq %r13, %rsi
callq 0xe3c84
movq 0x18(%r12), %rdi
movq 0x70(%rbx), %rsi
leaq 0x78(%rbx), %rdx
callq 0xe3c92
movq %r12, %rdi
leaq 0xbc(%rsp), %rsi
callq 0xdebae
movl $0x180, %esi            # imm = 0x180
movq %r12, %rdi
callq 0xdecaf
movq %rax, (%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x110(%rsp)
movapd %xmm0, 0x120(%rsp)
movapd %xmm0, 0x130(%rsp)
movapd %xmm0, 0x140(%rsp)
movapd %xmm0, 0x150(%rsp)
movq 0x70(%rbx), %rsi
testq %rsi, %rsi
jle 0xc3cfa
cmpb $0x0, 0x12(%rbx)
je 0xc3e4b
movq 0x78(%rbx), %r15
jmp 0xc3e57
cmpl $0x7, 0x1c(%rbx)
movq %rbx, %r13
jne 0xc3d18
cmpq $0x1, 0xb0(%r13)
jne 0xc3d18
cmpb $0x0, 0x18(%r13)
je 0xc4049
cmpl $0x7, 0x4(%rbp)
jne 0xc3eab
cmpb $0x0, 0x1b(%r13)
je 0xc3ef4
movb $0x1, %r14b
cmpb $0x0, 0x1b(%r13)
jne 0xc3f08
cmpb $0x0, 0x14(%rbp)
je 0xc3f08
movq %r12, %rdi
leaq 0x6e96d(%rip), %rsi     # 0x1326bc
xorl %eax, %eax
callq 0xde896
movq %r12, %rdi
pushq $0x1
popq %rsi
callq 0xdeba7
movb 0x15(%rbp), %al
testb %al, %al
je 0xc3d76
cmpb $0x0, 0x9c(%r13)
je 0xc4137
cmpb $0x0, 0x99(%r13)
je 0xc3d91
movq %r12, %rdi
leaq 0x6eb26(%rip), %rsi     # 0x1328b0
xorl %eax, %eax
callq 0xde896
movl 0x1c(%r13), %edi
testl %edi, %edi
jne 0xc3da4
movl $0x1, 0x1c(%r13)
pushq $0x1
popq %rdi
callq 0xc757f
movq %rax, 0xa8(%r13)
movl 0x2c(%r13), %eax
testl %eax, %eax
jne 0xc3dc3
movl $0x1, 0x2c(%r13)
pushq $0x1
popq %rax
cmpl $0x0, 0x28(%r13)
movq (%rsp), %rdi
jne 0xc3dd6
movl $0x1, 0x28(%r13)
cmpl $0x0, 0x3c(%r13)
jne 0xc3de5
movl $0x1, 0x3c(%r13)
cmpl $0x0, 0x40(%r13)
jne 0xc3df4
movl $0x1, 0x40(%r13)
cmpl $0x0, 0x44(%r13)
jne 0xc3e03
movl $0x2, 0x44(%r13)
movq 0x68(%r13), %rdx
movq 0x80(%r13), %rcx
testq %rcx, %rcx
setle %sil
cmpq %rdx, %rcx
setg %cl
orb %sil, %cl
cmpb $0x1, %cl
jne 0xc3e2a
movq %rdx, 0x80(%r13)
movl 0x38(%r13), %ecx
cmpl $0x2, %ecx
setb %sil
cmpl $0x1, %eax
sete %al
orb %sil, %al
je 0xc4084
xorl %eax, %eax
jmp 0xc408f
movq 0x18(%r12), %rax
movq 0x18(%rax), %r15
subq %rsi, %r15
leaq -0x5f5e101(%r15), %rax
movb $0x1, %r14b
cmpq $-0x5f5e100, %rax       # imm = 0xFA0A1F00
jb 0xc3f61
movq 0x18(%r12), %rdi
leaq 0x436d0(%rip), %rdx     # 0x107549
pushq $0x3
popq %rcx
callq 0xe4d48
testl %eax, %eax
je 0xc3f1f
movq 0x18(%rsp), %rdx
movq 0x70(%rdx), %r8
movq %r12, %rdi
movq %rbp, %rsi
leaq 0x6e9b9(%rip), %rcx     # 0x132858
xorl %eax, %eax
callq 0xc52e6
jmp 0xc3f61
cmpb $0x0, 0x11(%r13)
je 0xc3ef4
cmpq $0x0, 0x60(%r13)
jle 0xc3ef4
cmpq $0x0, 0x68(%r13)
jle 0xc3ef4
cmpl $0x0, 0xc(%rbp)
je 0xc3d2d
cmpl $0x0, 0xc(%r13)
jne 0xc3d2d
cmpb $0x0, 0x15(%r13)
jne 0xc3d2d
testq %rsi, %rsi
jne 0xc3d2d
cmpb $0x0, 0x16(%r13)
jne 0xc3d2d
movq %r12, %rdi
leaq 0x6e7ae(%rip), %rsi     # 0x1326ac
xorl %eax, %eax
callq 0xde896
movb $0x1, %r14b
xorl %r13d, %r13d
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
jmp 0xc3f7a
cmpl $0x0, 0xc(%rbp)
leaq 0x6e952(%rip), %rcx     # 0x13287c
pushq $0x1
popq %r9
jne 0xc3f4d
xorl %r9d, %r9d
cmpl $0x9, 0x4(%rbp)
sete %r9b
leaq 0x62698(%rip), %rcx     # 0x1265da
leaq 0x6e941(%rip), %rax     # 0x13288a
cmoveq %rax, %rcx
movq 0x18(%r12), %rdi
movq (%r13), %rsi
movq %r15, %rdx
xorl %r8d, %r8d
callq 0xe4e0b
xorl %r13d, %r13d
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
pushq $-0x1
popq %r15
xorl %ebx, %ebx
cmpq $0xa, %rbx
je 0xc3f99
movq 0x110(%rsp,%rbx,8), %rdi
testq %rdi, %rdi
je 0xc3f94
callq 0xe5591
incq %rbx
jmp 0xc3f7c
movq 0x10(%rsp), %rdi
callq 0xe7084
movq 0x8(%rsp), %rdi
callq 0xe7084
movq %r12, %rdi
movq %r13, %rsi
callq 0xdfd24
testb %r14b, %r14b
movq 0x18(%rsp), %r13
jne 0xc3fd9
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e862(%rip), %rcx     # 0x132834
xorl %eax, %eax
callq 0xc55b2
movq (%rsp), %rax
testq %rax, %rax
movq 0x28(%rsp), %rbx
je 0xc4004
movq 0xe0(%rax), %rdi
testq %rdi, %rdi
je 0xc3ff8
callq 0xee9dd
movq %r12, %rdi
movq (%rsp), %rsi
callq 0xded32
movl 0xbc(%rsp), %esi
movq %r12, %rdi
callq 0xdebb7
movq %r12, %rdi
movl %r15d, %esi
callq 0xdeba7
movq %rbx, %rdi
callq 0xeaf3c
movq 0xb8(%r13), %rsi
movq %r12, %rdi
callq 0xded32
movq %r12, %rdi
movq %r13, %rsi
callq 0xded32
incl 0x4c(%rsp)
jmp 0xc32bc
movq 0xb8(%r13), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq (%rdx,%rsi), %rax
movq 0x18(%r12), %rdi
movb $0x1, %r14b
cmpq 0x18(%rdi), %rax
jg 0xc3f08
leaq 0x62566(%rip), %rcx     # 0x1265da
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xe4e0b
jmp 0xc3f08
movb $0x1, %al
cmpl $0x2, %ecx
jne 0xc47d1
movb %al, 0xcd(%rdi)
movq 0x60(%r13), %rsi
movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
movq %r12, %rdi
callq 0xe6be1
testl %eax, %eax
je 0xc3f08
movq 0xa8(%r13), %rax
leaq 0x5ae23(%rip), %r9      # 0x11eee1
testq %rax, %rax
je 0xc41e6
cmpq $0x0, 0x10(%rax)
je 0xc41d4
cmpb $0x0, 0x16(%r13)
movq (%rsp), %rdi
je 0xc4106
cmpb $0x0, 0x15(%r13)
je 0xc40ff
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e5db(%rip), %rcx     # 0x1326cf
xorl %eax, %eax
callq 0xc52e6
movq (%rsp), %rdi
movb $0x1, 0xcc(%rdi)
movq 0xb0(%r13), %rax
testq %rax, %rax
jle 0xc4206
cmpq $0x1, %rax
jne 0xc4222
movq 0xb8(%r13), %rcx
cmpq $0x0, 0x8(%rcx)
jne 0xc422d
jmp 0xc42ed
cmpb $0x0, 0x1a(%r13)
je 0xc3d76
movl 0x1c(%r13), %ecx
leal -0x1(%rcx), %edx
cmpl $0x2, %edx
jb 0xc415a
cmpl $0x8005, %ecx           # imm = 0x8005
jne 0xc3d76
movl 0x38(%r13), %edx
cmpl $0x2, %edx
jne 0xc42a1
cmpl $0x4, 0x2c(%r13)
jne 0xc3d76
movl 0x28(%r13), %ecx
cmpl $0x4, %ecx
je 0xc4184
cmpl $0x1, %ecx
jne 0xc3d76
cmpl $0x2, 0x30(%r13)
jne 0xc3d76
cmpb $0x0, 0x15(%r13)
je 0xc3d76
cmpb $0x1, 0x9b(%r13)
jne 0xc3d76
cmpb $-0x1, %al
jne 0xc41bd
movq %r12, %rdi
leaq 0x6e6e3(%rip), %rsi     # 0x132899
xorl %eax, %eax
callq 0xde896
movw $0x1001, 0x99(%r13)     # imm = 0x1001
movl $0x1, 0x28(%r13)
jmp 0xc3d76
movq 0x8(%rax), %r9
testq %r9, %r9
leaq 0x5acff(%rip), %rax     # 0x11eee1
cmoveq %rax, %r9
movl 0x1c(%r13), %r8d
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x72c49(%rip), %rcx     # 0x136e43
xorl %eax, %eax
callq 0xc55b2
jmp 0xc3f08
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e4e3(%rip), %rcx     # 0x1326f9
xorl %eax, %eax
callq 0xc55b2
jmp 0xc3f08
cmpb $0x0, 0x17(%r13)
je 0xc42ed
movl 0x40(%r13), %r8d
cmpl $0x1, %r8d
jne 0xc428c
cmpb $0x0, 0x99(%r13)
je 0xc4357
movzbl 0x9a(%r13), %eax
cmpl $0x4, %eax
je 0xc43d7
cmpl $0x10, %eax
jne 0xc4357
movl $0x4, 0xc8(%rdi)
cmpb $0x0, 0x19(%r13)
jne 0xc440a
movq %r13, %rcx
addq $0xd0, %rcx
pushq $0x14
popq %rdi
xorl %esi, %esi
xorl %edx, %edx
pushq $0x10
jmp 0xc43fc
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e471(%rip), %rcx     # 0x13270d
jmp 0xc45b7
cmpb $-0x1, %al
sete %al
cmpl $0x1, %edx
setne %dl
orb %al, %dl
jne 0xc3d76
cmpl $0x1, 0x2c(%r13)
jne 0xc3d76
cmpl $0x1, 0x30(%r13)
jne 0xc3d76
cmpl $0x2, %ecx
je 0xc3d76
cmpl $0x2, 0x28(%r13)
jne 0xc3d76
movw $0x401, 0x99(%r13)      # imm = 0x401
jmp 0xc3d76
leaq -0x1(%rax), %rcx
xorl %edx, %edx
xorl %esi, %esi
cmpq %rsi, %rax
je 0xc422d
cmpq %rcx, %rsi
jge 0xc4318
movq 0xb8(%r13), %rdi
leaq (%rdi,%rdx), %r8
leaq (%rdi,%rdx), %r9
addq $0x10, %r9
jmp 0xc4332
movq 0x18(%r12), %r9
addq $0x18, %r9
movq 0xb8(%r13), %rdi
movq %rsi, %r8
shlq $0x4, %r8
addq %rdi, %r8
movq (%r9), %r9
subq (%r8), %r9
movq %r9, 0x8(%r8)
cmpq $0x0, 0x8(%rdi,%rdx)
jns 0xc434a
andq $0x0, 0x8(%rdi,%rdx)
incq %rsi
addq $0x10, %rdx
movq (%rsp), %rdi
jmp 0xc42f5
movl 0x30(%r13), %r14d
cmpq $0x2, %r14
jb 0xc43a1
cmpl $0x2, %r14d
je 0xc4419
cmpl $0x3, %r14d
jne 0xc455b
movl $0x1, 0xc8(%rdi)
movb $0x1, 0xd3(%rdi)
movl 0x28(%r13), %r8d
leal -0x1(%r8), %eax
cmpl $0x8, %eax
jae 0xc45a4
movl $0x8b, %ecx
btl %eax, %ecx
jmp 0xc43d3
movb $0x1, 0xcf(%rdi)
testq %r14, %r14
sete 0xd0(%rdi)
movl $0x1, 0xc8(%rdi)
movl 0x28(%r13), %r8d
cmpl $0x10, %r8d
ja 0xc45a4
movl $0x10116, %eax          # imm = 0x10116
btl %r8d, %eax
pushq $0x1
jmp 0xc443c
movl $0x1, 0xc8(%rdi)
cmpb $0x0, 0x19(%r13)
jne 0xc440a
movq %r13, %rcx
addq $0xd0, %rcx
pushq $0xa
popq %rdi
pushq $0x3
popq %rsi
xorl %edx, %edx
pushq $0x4
popq %r8
xorl %r9d, %r9d
callq 0xe1b11
movq (%rsp), %rdi
movb $0x1, 0xd3(%rdi)
movl 0xc8(%rdi), %eax
jmp 0xc4446
movl $0x3, 0xc8(%rdi)
movl 0x28(%r13), %r8d
cmpl $0x10, %r8d
ja 0xc45a4
movl $0x10116, %eax          # imm = 0x10116
btl %r8d, %eax
pushq $0x3
popq %rax
movb $0x1, %r14b
jae 0xc45a7
movl 0x2c(%r13), %r8d
testl %r8d, %r8d
je 0xc4469
cmpl %eax, %r8d
jae 0xc446f
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e319(%rip), %rcx     # 0x13277d
jmp 0xc45b7
movl %eax, 0x2c(%r13)
jmp 0xc4472
movl %r8d, %eax
cmpl $0xa, %eax
pushq $0xa
popq %rcx
cmovael %ecx, %eax
movl %eax, 0xc4(%rdi)
movl 0x3c(%r13), %r8d
leal -0x1(%r8), %eax
cmpl $0x2, %eax
jae 0xc4549
cmpl $0x5, 0x1c(%r13)
jne 0xc4509
cmpq $0x0, 0xb0(%r13)
jle 0xc4509
movq 0x18(%r12), %rdi
movq 0xb8(%r13), %rax
movq (%rax), %rdx
leaq 0xe0(%rsp), %rsi
pushq $0x2
popq %rcx
callq 0xe3cb7
cmpb $0x0, 0xe0(%rsp)
jne 0xc44de
testb $0x1, 0xe1(%rsp)
je 0xc44de
movb $0x1, 0x98(%r13)
cmpb $0x0, 0x98(%r13)
leaq 0x69071(%rip), %rdx     # 0x12d55e
leaq 0x4cd95(%rip), %rax     # 0x111289
cmoveq %rax, %rdx
movq %r12, %rdi
leaq 0x6e3bf(%rip), %rsi     # 0x1328c1
xorl %eax, %eax
callq 0xde896
cmpl $0x2, 0x34(%r13)
jne 0xc463c
movl 0x1c(%r13), %eax
cmpl $0x1, %eax
jne 0xc45c3
cmpl $0x1, 0x2c(%r13)
jne 0xc4625
movl 0x28(%r13), %ecx
cmpl $0x1, %ecx
jne 0xc45ec
movq (%rsp), %rax
movb $0x1, 0xd1(%rax)
jmp 0xc463c
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e24f(%rip), %rcx     # 0x1327a8
jmp 0xc45b7
leaq 0xcaf1e(%rip), %rdi     # 0x18f480
pushq $0xe
popq %rsi
movq %r14, %rdx
callq 0xc754d
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e1af(%rip), %rcx     # 0x13272c
movl %r14d, %r8d
movq %rax, %r9
xorl %eax, %eax
callq 0xc55b2
xorl %r13d, %r13d
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
jmp 0xc50f7
movb $0x1, %r14b
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e195(%rip), %rcx     # 0x13274c
xorl %eax, %eax
callq 0xc55b2
jmp 0xc3f08
leal -0x1(%rax), %ecx
cmpl $0x4, %ecx
jb 0xc463c
cmpl $0x8003, %eax           # imm = 0x8003
je 0xc463c
cmpl $0x5, %eax
jne 0xc45e1
cmpb $0x0, 0x98(%r13)
jne 0xc463c
cmpl $0x1, 0x2c(%r13)
jne 0xc4625
movl 0x28(%r13), %ecx
cmpl $0x4, %ecx
jne 0xc4625
orl $0x4, %eax
cmpl $0x5, %eax
jne 0xc4625
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e2c8(%rip), %rcx     # 0x1328d1
xorl %eax, %eax
callq 0xc52e6
movzbl 0x16(%rbp), %eax
testb $-0x3, %al
movq (%rsp), %rax
jne 0xc463c
movb $0x1, 0xd2(%rax)
jmp 0xc463c
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e2c4(%rip), %rcx     # 0x1328f9
xorl %eax, %eax
callq 0xc52e6
cmpb $0x0, 0xd6(%r12)
je 0xc469d
movq (%rsp), %rax
cmpb $0x0, 0xcc(%rax)
jne 0xc469d
movq (%rsp), %rax
cmpb $0x0, 0xcd(%rax)
jne 0xc469d
cmpl $0x1, 0x1c(%r13)
jne 0xc469d
cmpl $0x1, 0x2c(%r13)
jne 0xc469d
movl 0x28(%r13), %edi
cmpq $0x7, %rdi
ja 0xc469d
movq (%rsp), %rbx
imulq (%rbx), %rdi
pushq $0x8
popq %rsi
callq 0xdfbb6
movl 0x28(%r13), %ecx
movl 0x2c(%r13), %edx
imulq %rdx, %rcx
cqto
idivq %rcx
movq %rax, (%rbx)
movzbl 0x9c(%r13), %edx
xorl %eax, %eax
movq (%rsp), %rdi
cmpq %rax, %rdx
je 0xc46e1
movl 0xc4(%rdi), %esi
movl 0xc8(%rdi), %ecx
leaq (%rax,%rcx), %rdi
cmpq %rsi, %rdi
movq (%rsp), %rdi
jae 0xc46e1
movzbl 0x9d(%r13,%rax), %esi
cmpl $0x1, %esi
je 0xc470a
cmpl $0x2, %esi
je 0xc4708
incq %rax
jmp 0xc46ab
leaq 0xd4(%rdi), %rax
movq %rax, 0x38(%rsp)
cmpb $0x0, 0xd4(%rdi)
je 0xc47f8
movl 0xc8(%rdi), %ecx
movl 0xd8(%rdi), %eax
jmp 0xc472c
xorl %esi, %esi
leaq 0xd4(%rdi), %rdx
movq %rdx, 0x38(%rsp)
movb $0x1, 0xd4(%rdi)
movb %sil, 0xd5(%rdi)
addl %ecx, %eax
movl %eax, 0xd8(%rdi)
incl %eax
pushq $0x1
popq %r8
addl %ecx, %r8d
movl %eax, 0xc4(%rdi)
movl 0x2c(%r13), %r9d
cmpl %r9d, %r8d
jae 0xc4763
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6e077(%rip), %rcx     # 0x1327cb
xorl %eax, %eax
callq 0xc52e6
movq (%rsp), %rdi
movl 0x2c(%r13), %r9d
cmpb $0x0, 0xcd(%rdi)
movq 0xb0(%r13), %rax
je 0xc4787
movl %r9d, %ecx
cqto
idivq %rcx
movl 0xc4(%rdi), %ecx
pushq $0x1
popq %r9
jmp 0xc478a
pushq $0x1
popq %rcx
movq %rax, 0x28(%rdi)
movl %ecx, 0xc0(%rdi)
movl %r9d, 0x30(%rdi)
cmpb $0x0, 0xcc(%rdi)
je 0xc47d9
movq 0x88(%r13), %rsi
testq %rsi, %rsi
jle 0xc47d1
movq 0x90(%r13), %rdi
testq %rdi, %rdi
jle 0xc47d1
movq 0xa8(%r12), %rax
cmpq %rax, %rsi
setg %cl
cmpq %rax, %rdi
setg %al
orb %cl, %al
je 0xc4808
xorl %r14d, %r14d
jmp 0xc3f08
movq (%rdi), %rsi
movq %rsi, 0x10(%rdi)
movq 0x80(%r13), %rax
movq %rax, 0x18(%rdi)
pushq $0x1
popq %rax
movq %rax, 0xd0(%rsp)
jmp 0xc4858
movl 0xc8(%rdi), %ecx
xorl %r8d, %r8d
movl %ecx, %eax
jmp 0xc4732
movq (%rsp), %r8
movq %rsi, 0x10(%r8)
movq %rdi, 0x18(%r8)
movq (%r8), %rax
addq %rsi, %rax
decq %rax
cqto
idivq %rsi
cmpb $0x0, 0xd6(%r12)
movq %rax, 0xd0(%rsp)
je 0xc4855
movq 0x8(%r8), %rcx
addq %rdi, %rcx
decq %rcx
imulq %rsi, %rax
movq %rax, (%r8)
movq %rcx, %rax
cqto
idivq %rdi
subq %rdx, %rcx
movq %rcx, 0x8(%r8)
movq %r8, %rdi
movl %r9d, %ecx
movl 0x28(%r13), %eax
imulq %rsi, %rax
imulq %rcx, %rax
addq $0x7, %rax
cqto
pushq $0x8
popq %rcx
idivq %rcx
movq %rax, 0x20(%rdi)
leaq 0xe8(%rdi), %rsi
leaq 0x108(%rdi), %rdx
movq %r12, %rdi
movq %rdx, 0xd8(%rsp)
xorl %ecx, %ecx
callq 0xee7ee
movq (%rsp), %rdx
movq 0x18(%r12), %rax
movq %rax, 0xe8(%rdx)
xorl %eax, %eax
cmpb $0x0, 0xd4(%rdx)
setne %al
xorl %ecx, %ecx
cmpb $0x0, 0xcf(%rdx)
sete %cl
leal 0x1(%rax,%rcx,2), %r14d
je 0xc48da
cmpl $0x1, %r14d
jne 0xc48da
cmpl $0x10, 0x28(%r13)
jne 0xc48da
movb $0x1, 0xce(%rdx)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
movq %r12, %rdi
movl %r14d, %ecx
callq 0xe7437
movq (%rsp), %rbx
movq %rax, 0x10(%rsp)
cmpb $0x0, 0xce(%rbx)
je 0xc4917
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r12, %rdi
movl %r14d, %ecx
callq 0xe7437
movq %rax, 0x8(%rsp)
jmp 0xc4920
movq $0x0, 0x8(%rsp)
movq %r12, %rdi
leaq 0xb8(%rsp), %rsi
callq 0xdebae
leaq 0x120(%rbx), %rax
movq %rax, 0x30(%rsp)
xorl %ecx, %ecx
movq %rbx, %rdi
movq %rcx, 0x38(%rdi)
cmpq 0x28(%rdi), %rcx
jge 0xc4fe0
movq %rcx, %rax
cqto
idivq 0xd0(%rsp)
movq %rdx, %r8
imulq 0x10(%rdi), %r8
movq %r8, 0x40(%rdi)
imulq 0x18(%rdi), %rax
movq %rax, 0x48(%rdi)
cmpq 0x8(%rdi), %rax
jge 0xc4fe0
movq 0xb8(%r13), %r10
movq %rcx, %r11
shlq $0x4, %r11
cmpb $0x0, 0xcd(%rdi)
leaq 0x746fa(%rip), %rbx     # 0x139091
leaq 0x732c2(%rip), %rdx     # 0x137c60
cmoveq %rdx, %rbx
movq (%r10,%r11), %r9
movq %rdi, %r14
movq %r12, %rdi
leaq 0x6de5c(%rip), %rsi     # 0x13280f
movl %ecx, %edx
movl %r8d, %ecx
movl %eax, %r8d
xorl %eax, %eax
pushq 0x8(%r10,%r11)
pushq %rbx
callq 0xde9f1
popq %rax
popq %rcx
movq 0x10(%r14), %rax
movq 0x18(%r14), %rdi
movq %rax, 0x58(%r14)
cmpb $0x0, 0xcc(%r14)
jne 0xc49f4
movq 0x8(%r14), %rsi
subq 0x48(%r14), %rsi
callq 0xdfb45
movq %rax, %rdi
movq 0x58(%r14), %rax
movq %rdi, 0x50(%r14)
movl 0x30(%r14), %ecx
imulq %rax, %rcx
movl 0x28(%r13), %eax
imulq %rcx, %rax
addq $0x7, %rax
cqto
pushq $0x8
popq %rcx
idivq %rcx
movq %rax, 0x60(%r14)
testq %rdi, %rdi
jle 0xc4fe0
movq %r14, %rdi
xorl %ebx, %ebx
movl 0xc0(%rdi), %eax
cmpq %rax, %rbx
jae 0xc4a8d
movq 0x110(%rsp,%rbx,8), %r14
testq %r14, %r14
je 0xc4a4c
movq %r14, %rdi
callq 0xe62cf
movq (%rsp), %r15
jmp 0xc4a80
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xe59cd
movq %rax, %r14
movq %rax, 0x110(%rsp,%rbx,8)
movq %rax, %rdi
callq 0xe589c
movq (%rsp), %r15
movq 0x20(%r15), %rsi
imulq 0x18(%r15), %rsi
movq %r14, %rdi
callq 0xe5a74
movq %r14, 0x70(%r15,%rbx,8)
incq %rbx
movq %r15, %rdi
jmp 0xc4a26
xorl %ebx, %ebx
pushq $-0x1
popq %r15
movl %eax, %eax
cmpq %rax, %rbx
jae 0xc4c0a
movq 0x28(%rdi), %rax
imulq %rbx, %rax
addq 0x38(%rdi), %rax
movq %rax, 0x68(%rdi)
movq 0xb8(%r13), %rcx
shlq $0x4, %rax
movq (%rcx,%rax), %rdx
movq %rdx, 0xf0(%rdi)
movq 0x8(%rcx,%rax), %rcx
movq %rcx, 0xf8(%rdi)
leaq (%rcx,%rdx), %rsi
movq 0xe8(%rdi), %rax
movq 0x18(%rax), %rdi
movq %rdi, %rax
subq %rdx, %rax
cmpq %rdi, %rsi
movq (%rsp), %rdx
cmovleq %rcx, %rax
jg 0xc4af7
testq %rax, %rax
jns 0xc4b0a
testq %rax, %rax
movl $0x0, %ecx
cmovleq %rcx, %rax
movq %rax, 0xf8(%rdx)
movq 0x70(%rdx,%rbx,8), %rax
movq %rax, 0x108(%rdx)
movb $0x1, 0x110(%rdx)
movq 0x50(%rdx), %rax
imulq 0x60(%rdx), %rax
movq %rax, 0x118(%rdx)
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq 0x30(%rsp), %rcx
callq 0xee7ee
movq 0xa8(%r13), %rax
testq %rax, %rax
je 0xc4b64
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xc4b64
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq (%rsp), %rcx
callq *%rax
jmp 0xc4b70
movq %r12, %rdi
movq (%rsp), %rcx
callq 0xc75a8
movq 0xd8(%rsp), %rax
movq (%rax), %rdi
callq 0xe58e8
movq 0x30(%rsp), %rax
cmpl $0x0, (%rax)
jne 0xc4f8e
movq (%rsp), %rdi
cmpb $0x0, 0xd2(%rdi)
je 0xc4bfc
movq 0xd8(%rsp), %rax
movq (%rax), %r15
movq %r15, %rdi
callq 0xe58e8
movq 0x18(%r15), %r12
testq %r12, %r12
movl $0x0, %eax
cmovleq %rax, %r12
xorl %r14d, %r14d
cmpq %r14, %r12
je 0xc4be7
movq %r15, %rdi
movq %r14, %rsi
callq 0xe3eb4
rolb $0x4, %al
movzbl %al, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0xe5e13
incq %r14
jmp 0xc4bc1
movq %r15, %rdi
callq 0xe58e8
movq 0x40(%rsp), %r12
pushq $-0x1
popq %r15
movq (%rsp), %rdi
incq %rbx
movl 0xc0(%rdi), %eax
jmp 0xc4a93
andq $0x0, 0x100(%rsp)
andq $0x0, 0x70(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0xe0(%rsp)
andq $0x0, 0xc0(%rsp)
movapd %xmm0, 0xf0(%rsp)
andw $0x0, 0xc8(%rsp)
movapd %xmm0, 0x50(%rsp)
movapd %xmm0, 0x60(%rsp)
movl 0x28(%r13), %ecx
movl %r15d, %ebx
shll %cl, %ebx
notl %ebx
pushq $0x1
popq %r13
cmpl $0x8, %ecx
ja 0xc4c6d
movl $0xff, %eax
xorl %edx, %edx
divl %ebx
movl %eax, %r13d
xorl %r14d, %r14d
movl $0x0, 0x78(%rsp)
cmpq 0x50(%rdi), %r14
jge 0xc4f7d
movl 0xc4(%rdi), %eax
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0xc4c9c
andl $0x0, 0xe0(%rsp,%rcx,4)
incq %rcx
jmp 0xc4c8a
xorl %r15d, %r15d
cmpq 0x58(%rdi), %r15
jge 0xc4f75
xorl %r12d, %r12d
movl 0xc4(%rdi), %eax
cmpq %rax, %r12
jae 0xc4d82
xorl %eax, %eax
cmpb $0x0, 0xcd(%rdi)
movq %r12, %rcx
cmoveq %rax, %rcx
movl $0x0, %r8d
cmoveq %r12, %r8
movq 0x18(%rsp), %rdx
movl 0x28(%rdx), %esi
leal -0x1(%rsi), %edx
cmpl $0x2, %edx
jb 0xc4cf4
cmpl $0x10, %esi
je 0xc4d55
cmpl $0x8, %esi
je 0xc4d1e
cmpl $0x4, %esi
jne 0xc4d48
movq (%rsp), %rax
movq 0x70(%rax,%rcx,8), %rdi
movq (%rsp), %rax
movq 0x60(%rax), %rdx
imulq %r14, %rdx
movq (%rsp), %rax
movl 0x30(%rax), %ecx
imulq %r15, %rcx
addq %r8, %rcx
callq 0xe74bf
jmp 0xc4d41
movq 0x60(%rdi), %rsi
imulq %r14, %rsi
movl 0x30(%rdi), %eax
imulq %r15, %rax
addq %r8, %rsi
addq %rax, %rsi
movq (%rsp), %rax
movq 0x70(%rax,%rcx,8), %rdi
callq 0xe3eb4
movq (%rsp), %rdi
movzbl %al, %eax
movl %eax, 0x50(%rsp,%r12,4)
incq %r12
jmp 0xc4cac
movq 0x60(%rdi), %rax
imulq %r14, %rax
movl 0x30(%rdi), %edx
imulq %r15, %rdx
addq %r8, %rdx
leaq (%rax,%rdx,2), %rsi
movq (%rsp), %rax
movq 0x70(%rax,%rcx,8), %rdi
movl (%rbp), %edx
callq 0xe41b1
movq (%rsp), %rdi
jmp 0xc4d48
movq 0x18(%rsp), %rcx
cmpl $0x2, 0x3c(%rcx)
movq 0x40(%rsp), %r12
jne 0xc4db6
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0xc4db6
movl 0xe0(%rsp,%rcx,4), %edx
addl 0x50(%rsp,%rcx,4), %edx
andl %ebx, %edx
movl %edx, 0x50(%rsp,%rcx,4)
movl %edx, 0xe0(%rsp,%rcx,4)
incq %rcx
jmp 0xc4d94
movb 0xd3(%rdi), %cl
testb %cl, %cl
jne 0xc4dde
cmpl $0x2, %r13d
jb 0xc4dde
xorl %edx, %edx
cmpq %rdx, %rax
je 0xc4dde
movl 0x50(%rsp,%rdx,4), %esi
imull %r13d, %esi
movl %esi, 0x50(%rsp,%rdx,4)
incq %rdx
jmp 0xc4dc8
cmpb $0x0, 0xd0(%rdi)
movq 0x18(%rsp), %rdx
movl 0x28(%rdx), %esi
je 0xc4e05
movl 0x50(%rsp), %edx
cmpl $0x10, %esi
jne 0xc4e29
movl $0xffff, %esi           # imm = 0xFFFF
subl %edx, %esi
movl %esi, 0x50(%rsp)
jmp 0xc4e0a
cmpl $0x10, %esi
jne 0xc4e34
xorl %edx, %edx
cmpq %rdx, %rax
je 0xc4e34
movl 0x50(%rsp,%rdx,4), %esi
movb %sil, 0xc0(%rsp,%rdx)
shrl $0x8, %esi
movl %esi, 0x50(%rsp,%rdx,4)
incq %rdx
jmp 0xc4e0c
movl $0xff, %eax
subl %edx, %eax
movl %eax, 0x50(%rsp)
testb %cl, %cl
je 0xc4e7b
movq 0x18(%rsp), %rdi
cmpb $0x0, 0x99(%rdi)
je 0xc4ec2
cmpb $0x10, 0x9a(%rdi)
movl 0x50(%rsp), %eax
jne 0xc4ec7
movl 0x5c(%rsp), %ecx
shll $0x3, %ecx
movl 0x54(%rsp), %edx
movl 0x58(%rsp), %esi
shll $0x2, %esi
orl %ecx, %esi
addl %edx, %edx
orl %eax, %edx
orl %esi, %edx
pushq $0xf
popq %rax
subl %edx, %eax
cmpl $0x2, 0x1c(%rdi)
cmovnel %edx, %eax
jmp 0xc4ec7
movl 0x50(%rsp), %edx
movl %edx, %eax
shll $0x10, %eax
cmpb $0x0, 0xcf(%rdi)
je 0xc4f5d
movl %edx, %ecx
shll $0x8, %ecx
orl %edx, %ecx
orl %eax, %ecx
orl $0xff000000, %ecx       # imm = 0xFF000000
cmpb $0x0, 0xce(%rdi)
je 0xc4eda
movzbl 0xc0(%rsp), %eax
imull $0x10101, %eax, %eax    # imm = 0x10101
orl $0xff000000, %eax       # imm = 0xFF000000
movl %eax, 0x78(%rsp)
jmp 0xc4eda
movzbl 0x50(%rsp), %eax
movq (%rsp), %rdi
movzbl %al, %eax
movq 0x18(%rsp), %rcx
movl 0xd0(%rcx,%rax,4), %ecx
movq 0x38(%rsp), %rax
cmpb $0x0, (%rax)
je 0xc4f10
movl %ecx, %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl 0xd8(%rdi), %ecx
movl 0x50(%rsp,%rcx,4), %ecx
shll $0x18, %ecx
orl %eax, %ecx
cmpb $0x0, 0xd5(%rdi)
je 0xc4f10
movl %ecx, %edi
callq 0xe8851
movq (%rsp), %rdi
movl %eax, %ecx
movq 0x40(%rdi), %rsi
addq %r15, %rsi
movq 0x48(%rdi), %rdx
addq %r14, %rdx
movq 0x10(%rsp), %rdi
callq 0xe728c
movq (%rsp), %rdi
cmpb $0x0, 0xce(%rdi)
je 0xc4f55
movq 0x40(%rdi), %rsi
addq %r15, %rsi
movq 0x48(%rdi), %rdx
addq %r14, %rdx
movq 0x8(%rsp), %rdi
movl 0x78(%rsp), %ecx
callq 0xe728c
movq (%rsp), %rdi
incq %r15
jmp 0xc4c9f
movl 0x54(%rsp), %ecx
shll $0x8, %ecx
orl 0x58(%rsp), %ecx
orl %eax, %ecx
orl $0xff000000, %ecx       # imm = 0xFF000000
jmp 0xc4eda
incq %r14
jmp 0xc4c78
movq 0x38(%rdi), %rcx
incq %rcx
movq 0x18(%rsp), %r13
jmp 0xc4941
movq (%rsp), %rbx
movl 0x40(%rbx), %r14d
movl 0x48(%rbx), %r15d
movq %r12, %rdi
movq 0x30(%rsp), %rsi
callq 0xee7bc
movq %rax, %r10
subq $0x8, %rsp
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
leaq 0x6d96f(%rip), %rcx     # 0x13292d
movl %r14d, %r8d
movl %r15d, %r9d
pushq $-0x1
popq %r15
xorl %eax, %eax
pushq %r10
callq 0xc55b2
addq $0x10, %rsp
cmpq $0x0, 0x38(%rbx)
jle 0xc50f4
movl 0xb8(%rsp), %esi
movq %r12, %rdi
callq 0xdebb7
movq %r12, %rdi
callq 0xdfd1a
movq %r13, %rcx
movq %rax, %r13
movl 0x20(%rcx), %eax
leal -0x5(%rax), %ecx
cmpl $0x3, %ecx
ja 0xc502c
movq 0x10(%rsp), %rdi
callq 0xe8161
cmpq $0x0, 0x8(%rsp)
je 0xc5024
movq 0x8(%rsp), %rdi
callq 0xe8161
movq 0x18(%rsp), %rax
movl 0x20(%rax), %eax
cmpl $0x7, %eax
ja 0xc5057
movl $0xcc, %ecx
btl %eax, %ecx
jae 0xc5057
movq 0x10(%rsp), %rdi
callq 0xe8086
cmpq $0x0, 0x8(%rsp)
je 0xc5057
movq 0x8(%rsp), %rdi
callq 0xe8086
movq 0x18(%rsp), %rcx
movl 0x20(%rcx), %eax
addl $-0x3, %eax
xorl %r15d, %r15d
testl $0xfffffffa, %eax       # imm = 0xFFFFFFFA
sete %r15b
shll $0x2, %r15d
cmpb $0x0, 0x13(%rcx)
je 0xc5094
orl $0x1, %r15d
movq %r12, %rdi
movq %r13, %rsi
leaq 0x58e1d(%rip), %rdx     # 0x11dea6
xorl %ecx, %ecx
pushq $0x5
popq %r8
callq 0xdffbd
movb $0x1, %r14b
movq 0x18(%rsp), %rsi
cmpb $0x0, 0x14(%rsi)
je 0xc5121
movl 0x20(%rsi), %eax
addl $-0x5, %eax
xorl %ecx, %ecx
xorl %edx, %edx
cmpl $0x4, %eax
setae %cl
setb %dl
movsd 0x50(%rsi,%rcx,8), %xmm1
movsd 0x50(%rsi,%rdx,8), %xmm0
movsd %xmm0, 0x80(%r13)
movsd %xmm1, 0x88(%r13)
movl 0x44(%rsi), %eax
cmpl $0x3, %eax
je 0xc50ff
cmpl $0x2, %eax
je 0xc5114
cmpl $0x1, %eax
movq 0x18(%rsp), %rsi
jne 0xc5121
movl $0x1, 0x78(%r13)
jmp 0xc5121
xorl %r13d, %r13d
movb $0x1, %r14b
jmp 0xc3f7a
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
mulpd 0x6a2e5(%rip), %xmm0    # 0x12f3f0
movupd %xmm0, 0x80(%r13)
movl $0x2, 0x78(%r13)
movq 0x18(%rsp), %rsi
movupd 0xc0(%rsi), %xmm0
movupd %xmm0, 0x68(%r13)
orl $0x2, %r15d
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %r13, %rdx
movl %r15d, %ecx
callq 0xe6d4b
jmp 0xc3f76
movl 0x48(%r15), %edx
movl 0x4c(%r15), %ecx
leaq 0x6a6c0(%rip), %rsi     # 0x12f81c
movq %r12, %rdi
xorl %eax, %eax
callq 0xde896
movq 0x108(%rsp), %rcx
testq %rcx, %rcx
movq %r15, %rbx
je 0xc51b6
cmpb $0x0, 0x24(%rbx)
je 0xc5180
orb $0x8, 0x40(%rcx)
cmpb $0x0, 0x25(%rbx)
je 0xc518a
orb $0x10, 0x40(%rcx)
movl 0x1c(%rbx), %eax
testl %eax, %eax
je 0xc5198
orb $0x20, 0x40(%rcx)
movl %eax, 0x44(%rcx)
movl 0x20(%rbx), %eax
testl %eax, %eax
je 0xc51a6
orb $0x40, 0x40(%rcx)
movl %eax, 0x48(%rcx)
cmpl $0x8, 0x4(%rbx)
jne 0xc51b6
orb $-0x80, 0x40(%rcx)
movl 0x78(%rbx), %eax
movl %eax, 0x4c(%rcx)
movq 0x28(%rbx), %rsi
movq %r12, %rdi
callq 0xded32
movq 0x40(%rbx), %rsi
movq %r12, %rdi
callq 0xe095f
movq %r12, %rdi
movq %rbx, %rsi
callq 0xded32
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq