// File: /workspace/github_c_makefile_star2_O3/lh3[P]bgt/vcf.c
// Function: vcf_parse1
int vcf_parse1(kstring_t *s, const bcf_hdr_t *h, bcf1_t *v)
{
	int i = 0;
	char *p, *q, *r, *t;
	fmt_aux_t *fmt = 0;
	kstring_t *str, *mem = (kstring_t*)&h->mem;
	khint_t k;
	ks_tokaux_t aux;

	mem->l = v->shared.l = v->indiv.l = 0;
	str = &v->shared;
	v->n_fmt = 0;
	v->unpacked = 0;
	v->unpack_ptr = NULL;
	memset(&aux, 0, sizeof(ks_tokaux_t));
	for (p = kstrtok(s->s, "\t", &aux), i = 0; p; p = kstrtok(0, 0, &aux), ++i) {
		q = (char*)aux.p;
		*q = 0;
		if (i == 0) { // CHROM
			vdict_t *d = (vdict_t*)h->dict[BCF_DT_CTG];
			k = kh_get(vdict, d, p);
			if (k == kh_end(d)) {
				if (hts_verbose >= 2)
					fprintf(stderr, "[W::%s] can't find '%s' in the sequence dictionary\n", __func__, p);
				return 0;
			} else v->rid = kh_val(d, k).id;
		} else if (i == 1) { // POS
			v->pos = atoi(p) - 1;
		} else if (i == 2) { // ID
			if (strcmp(p, ".")) bcf_enc_vchar(str, q - p, p);
			else bcf_enc_size(str, 0, BCF_BT_CHAR);
		} else if (i == 3) { // REF
			bcf_enc_vchar(str, q - p, p);
			v->n_allele = 1, v->rlen = q - p;
		} else if (i == 4) { // ALT
			if (strcmp(p, ".")) {
				for (r = t = p;; ++r) {
					if (*r == ',' || *r == 0) {
						bcf_enc_vchar(str, r - t, t);
						t = r + 1;
						++v->n_allele;
					}
					if (r == q) break;
				}
			}
		} else if (i == 5) { // QUAL
			if (strcmp(p, ".")) v->qual = atof(p);
			else memcpy(&v->qual, &bcf_float_missing, 4);
		} else if (i == 6) { // FILTER
			if (strcmp(p, ".")) {
				int32_t *a;
				int n_flt = 1, i;
				ks_tokaux_t aux1;
				vdict_t *d = (vdict_t*)h->dict[BCF_DT_ID];
				// count the number of filters
				if (*(q-1) == ';') *(q-1) = 0;
				for (r = p; *r; ++r)
					if (*r == ';') ++n_flt;
				a = (int32_t*)alloca(n_flt * 4);
				// add filters
				for (t = kstrtok(p, ";", &aux1), i = 0; t; t = kstrtok(0, 0, &aux1)) {
					*(char*)aux1.p = 0;
					k = kh_get(vdict, d, t);
					if (k == kh_end(d)) { // not defined
						if (hts_verbose >= 2) fprintf(stderr, "[W::%s] undefined FILTER '%s'\n", __func__, t);
					} else a[i++] = kh_val(d, k).id;
				}
				n_flt = i;
				bcf_enc_vint(str, n_flt, a, -1);
			} else bcf_enc_vint(str, 0, 0, -1);
		} else if (i == 7) { // INFO
			char *key;
			vdict_t *d = (vdict_t*)h->dict[BCF_DT_ID];
			v->n_info = 0;
			if (strcmp(p, ".")) {
				if (*(q-1) == ';') *(q-1) = 0;
				for (r = key = p;; ++r) {
					int c;
					char *val, *end;
					if (*r != ';' && *r != '=' && *r != 0) continue;
					val = end = 0;
					c = *r; *r = 0;
					if (c == '=') {
						val = r + 1;
						for (end = val; *end != ';' && *end != 0; ++end);
						c = *end; *end = 0;
					} else end = r;
					k = kh_get(vdict, d, key);
					if (k == kh_end(d) || kh_val(d, k).info[BCF_HL_INFO] == 15) { // not defined in the header
						if (hts_verbose >= 2) fprintf(stderr, "[W::%s] undefined INFO '%s'\n", __func__, key);
					} else { // defined in the header
						uint32_t y = kh_val(d, k).info[BCF_HL_INFO];
						++v->n_info;
						bcf_enc_int1(str, kh_val(d, k).id);
						if (val == 0) {
							bcf_enc_size(str, 0, BCF_BT_NULL);
						} else if ((y>>4&0xf) == BCF_HT_FLAG || (y>>4&0xf) == BCF_HT_STR) { // if Flag has a value, treat it as a string
							bcf_enc_vchar(str, end - val, val);
						} else { // int/float value/array
							int i, n_val;
							char *t;
							for (t = val, n_val = 1; *t; ++t) // count the number of values
								if (*t == ',') ++n_val;
							if ((y>>4&0xf) == BCF_HT_INT) {
								int32_t *z;
								z = (int32_t*)alloca(n_val<<2);
								for (i = 0, t = val; i < n_val; ++i, ++t)
									z[i] = strtol(t, &t, 10);
								bcf_enc_vint(str, n_val, z, -1);
								if (strcmp(key, "END") == 0) v->rlen = z[0] - v->pos;
							} else if ((y>>4&0xf) == BCF_HT_REAL) {
								float *z;
								z = (float*)alloca(n_val<<2);
								for (i = 0, t = val; i < n_val; ++i, ++t)
									z[i] = strtod(t, &t);
								bcf_enc_vfloat(str, n_val, z);
							}
						}
					}
					if (c == 0) break;
					r = end;
					key = r + 1;
				}
			}
		} else if (i == 8) { // FORMAT
			int j, l, m, g;
			ks_tokaux_t aux1;
			vdict_t *d = (vdict_t*)h->dict[BCF_DT_ID];
			char *end = s->s + s->l;
			// count the number of format fields
			for (r = p, v->n_fmt = 1; *r; ++r)
				if (*r == ':') ++v->n_fmt;
			fmt = (fmt_aux_t*)alloca(v->n_fmt * sizeof(fmt_aux_t));
			// get format information from the dictionary
			for (j = 0, t = kstrtok(p, ":", &aux1); t; t = kstrtok(0, 0, &aux1), ++j) {
				*(char*)aux1.p = 0;
				k = kh_get(vdict, d, t);
				if (k == kh_end(d) || kh_val(d, k).info[BCF_HL_FMT] == 15) {
					if (hts_verbose >= 2)
						fprintf(stderr, "[W::%s] FORMAT '%s' is not defined in the header\n", __func__, t);
					v->n_fmt = 0;
					break;
				} else {
					fmt[j].max_l = fmt[j].max_m = fmt[j].max_g = 0;
					fmt[j].key = kh_val(d, k).id;
					fmt[j].is_gt = !strcmp(t, "GT");
					fmt[j].y = h->id[0][fmt[j].key].val->info[BCF_HL_FMT];
				}
			}
			// compute max
			for (r = q + 1, j = 0, m = l = g = 1, v->n_sample = 0;; ++r, ++l) {
				if (*r == '\t') *r = 0;
				if (*r == ':' || *r == '\0') { // end of a sample
					if (fmt[j].max_m < m) fmt[j].max_m = m;
					if (fmt[j].max_l < l - 1) fmt[j].max_l = l - 1;
					if (fmt[j].is_gt && fmt[j].max_g < g) fmt[j].max_g = g;
					l = 0, m = g = 1;
					if (*r) ++j;
					else j = 0, ++v->n_sample;
				} else if (*r == ',') ++m;
				else if (*r == '|' || *r == '/') ++g;
				if (r == end) break;
			}
			// allocate memory for arrays
			for (j = 0; j < v->n_fmt; ++j) {
				fmt_aux_t *f = &fmt[j];
				if ((f->y>>4&0xf) == BCF_HT_STR) {
					f->size = f->is_gt? f->max_g << 2 : f->max_l;
				} else if ((f->y>>4&0xf) == BCF_HT_REAL || (f->y>>4&0xf) == BCF_HT_INT) {
					f->size = f->max_m << 2;
				} else abort(); // I do not know how to do with Flag in the genotype fields
				align_mem(mem);
				f->offset = mem->l;
				ks_resize(mem, mem->l + v->n_sample * f->size);
				mem->l += v->n_sample * f->size;
			}
			for (j = 0; j < v->n_fmt; ++j)
				fmt[j].buf = (uint8_t*)mem->s + fmt[j].offset;
			// fill the sample fields; at beginning of the loop, t points to the first char of an individual field (i.e. a field after FORMAT)
			for (t = q + 1, j = m = 0;; ++t) { // j-th fmt, m-th sample
				fmt_aux_t *z = &fmt[j];
				if ((z->y>>4&0xf) == BCF_HT_STR) {
					if (z->is_gt) { // genotypes
						int32_t is_phased = 0, *x = (int32_t*)(z->buf + z->size * m);
						for (l = 0;; ++t) {
							if (*t == '.') ++t, x[l++] = is_phased;
							else x[l++] = (strtol(t, &t, 10) + 1) << 1 | is_phased;
							is_phased = (*t == '|');
							if (*t == ':' || *t == 0) break;
						}
						for (; l < z->size>>2; ++l) x[l] = bcf_int32_end;
					} else {
						char *x = (char*)z->buf + z->size * m;
						for (r = t, l = 0; *t != ':' && *t; ++t) x[l++] = *t;
						for (; l < z->size; ++l) x[l] = 0;
					}
				} else if ((z->y>>4&0xf) == BCF_HT_INT) {
					int32_t *x = (int32_t*)(z->buf + z->size * m);
					for (l = 0;; ++t) {
						if (*t == '.') x[l++] = bcf_int32_missing, ++t; // ++t to skip "."
						else x[l++] = strtol(t, &t, 10);
						if (*t == ':' || *t == 0) break;
					}
					for (; l < z->size>>2; ++l) x[l] = bcf_int32_end;
				} else if ((z->y>>4&0xf) == BCF_HT_REAL) {
					float *x = (float*)(z->buf + z->size * m);
					for (l = 0;; ++t) {
						if (*t == '.' && !isdigit(t[1])) *(int32_t*)&x[l++] = bcf_float_missing, ++t; // ++t to skip "."
						else x[l++] = strtod(t, &t);
						if (*t == ':' || *t == 0) break;
					}
					for (; l < z->size>>2; ++l) *(int32_t*)(x+l) = bcf_float_end;
				} else abort(); // unknown type
				if (*t == 0) { // now we are at the end of the individual field
					// Write end-of-vector values to the rest of FORMAT in the field. This happens if the entire field is missing.
					for (++j; j < v->n_fmt; ++j) {
						z = &fmt[j];
						if ((z->y>>4&0xf) == BCF_HT_STR) {
							if (z->is_gt) {
								int32_t *x = (int32_t*)(z->buf + z->size * m);
								for (l = 0; l != z->size>>2; ++l) x[l] = bcf_int32_end;
							} else {
								char *x = (char*)z->buf + z->size * m;
								for (l = 0; l != z->size; ++l) x[l] = 0;
							}
						} else if ((z->y>>4&0xf) == BCF_HT_INT) {
							int32_t *x = (int32_t*)(z->buf + z->size * m);
							for (l = 0; l != z->size>>2; ++l) x[l] = bcf_int32_end;
						} else if ((z->y>>4&0xf) == BCF_HT_REAL) {
							float *x = (float*)(z->buf + z->size * m);
							for (l = 0; l != z->size>>2; ++l) *(int32_t*)(x+l) = bcf_float_end;
						}
					}
					if (t == end) break;
					++m, j = 0;
				} else if (*t == ':') ++j;
			}
			break;
		}
	}
	// write individual genotype information
	str = &v->indiv;
	if (v->n_sample > 0) {
		for (i = 0; i < v->n_fmt; ++i) {
			fmt_aux_t *z = &fmt[i];
			bcf_enc_int1(str, z->key);
			if ((z->y>>4&0xf) == BCF_HT_STR && !z->is_gt) {
				bcf_enc_size(str, z->size, BCF_BT_CHAR);
				kputsn((char*)z->buf, z->size * v->n_sample, str);
			} else if ((z->y>>4&0xf) == BCF_HT_INT || z->is_gt) {
				bcf_enc_vint(str, (z->size>>2) * v->n_sample, (int32_t*)z->buf, z->size>>2);
			} else {
				bcf_enc_size(str, z->size>>2, BCF_BT_FLOAT);
				kputsn((char*)z->buf, z->size * v->n_sample, str);
			}
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r13
xorl %eax, %eax
movq %rax, 0x30(%rdx)
movq %rax, 0x18(%rdx)
movq %rax, 0x50(%rsi)
movb $0x0, 0x14(%rdx)
movl $0x0, 0x88(%rdx)
movq %rax, 0x90(%rdx)
xorps %xmm0, %xmm0
movaps %xmm0, -0xe0(%rbp)
movaps %xmm0, -0xf0(%rbp)
movaps %xmm0, -0x100(%rbp)
movq %rdi, -0x108(%rbp)
movq 0x10(%rdi), %rcx
movl $0x9, -0xe0(%rbp)
testq %rcx, %rcx
je 0xd8ce
decq %rcx
movl $0x0, -0xdc(%rbp)
movq %rcx, %rax
leaq 0x30(%r13), %rcx
movq %rcx, -0x90(%rbp)
leaq 0x18(%r13), %rcx
movq %rcx, -0x48(%rbp)
leaq 0x1(%rax), %r9
movzbl 0x1(%rax), %ecx
incq %rax
cmpl $0x9, %ecx
je 0xd8f5
testl %ecx, %ecx
jne 0xd8e5
movq %rax, -0xd8(%rbp)
testb %cl, %cl
jne 0xd90a
movl $0x1, -0xdc(%rbp)
movq %rsi, -0x58(%rbp)
xorl %esi, %esi
movq %r13, -0x40(%rbp)
movq -0xd8(%rbp), %r12
movb $0x0, (%r12)
movl %esi, -0x98(%rbp)
cmpl $0x8, %esi
ja 0xe2af
movl -0x98(%rbp), %eax
leaq 0x11894(%rip), %rcx     # 0x1f1d0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x58(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x30(%rbp)
movl (%rax), %esi
testl %esi, %esi
je 0xe142
movsbl (%r9), %r12d
testl %r12d, %r12d
je 0xe14a
movb 0x1(%r9), %al
testb %al, %al
je 0xe14d
leaq 0x2(%r9), %rcx
movl %r12d, %edx
shll $0x5, %edx
subl %r12d, %edx
movsbl %al, %r12d
addl %edx, %r12d
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0xd978
jmp 0xe14d
cmpb $0x2e, (%r9)
jne 0xd9a7
cmpb $0x0, 0x1(%r9)
je 0xe2af
movq %r9, -0x38(%rbp)
leaq 0x1(%r9), %r14
movl %r9d, %ebx
movzbl -0x1(%r14), %eax
cmpl $0x2c, %eax
je 0xd9c0
testl %eax, %eax
jne 0xd9fc
movl %ebx, %esi
subl %r9d, %esi
movq -0x48(%rbp), %rdi
movq %r9, %rdx
callq 0xd000
movq %r14, -0x38(%rbp)
movq 0x10(%r13), %rax
leal 0x10000(%rax), %ecx
andl $0xffff0000, %ecx       # imm = 0xFFFF0000
movabsq $-0xffff0001, %rdx      # imm = 0xFFFFFFFF0000FFFF
andq %rdx, %rax
orq %rcx, %rax
movq %rax, 0x10(%r13)
movq %r14, %r9
leaq 0x1(%r14), %rax
decq %r14
incl %ebx
cmpq %r12, %r14
movq %rax, %r14
jne 0xd9b2
jmp 0xe2af
cmpb $0x2e, (%r9)
jne 0xda23
cmpb $0x0, 0x1(%r9)
je 0xe21a
subl %r9d, %r12d
movq -0x48(%rbp), %rdi
movl %r12d, %esi
movq %r9, %rdx
callq 0xd000
jmp 0xe2af
subl %r9d, %r12d
movq -0x48(%rbp), %rdi
movl %r12d, %esi
movq %r9, %rdx
callq 0xd000
movq 0x10(%r13), %rax
movabsq $-0xffff0001, %rcx      # imm = 0xFFFFFFFF0000FFFF
andq %rcx, %rax
orq $0x10000, %rax          # imm = 0x10000
movq %rax, 0x10(%r13)
movl %r12d, 0x8(%r13)
jmp 0xe2af
movq -0x58(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x30(%rbp)
andq $-0x10000, 0x10(%r13)   # imm = 0xFFFF0000
cmpb $0x2e, (%r9)
jne 0xda95
cmpb $0x0, 0x1(%r9)
je 0xe2af
cmpb $0x3b, -0x1(%r12)
jne 0xdaa3
movb $0x0, -0x1(%r12)
movq %r9, %rbx
movzbl (%rbx), %ecx
cmpq $0x3d, %rcx
ja 0xdc21
movabsq $0x2800000000000001, %rax # imm = 0x2800000000000001
btq %rcx, %rax
jae 0xdc21
movb $0x0, (%rbx)
cmpb $0x3d, %cl
jne 0xdae7
incq %rbx
movq %rbx, -0x78(%rbp)
movzbl (%rbx), %ecx
testl %ecx, %ecx
je 0xdaf1
cmpl $0x3b, %ecx
je 0xdaf1
incq %rbx
jmp 0xdad6
movq $0x0, -0x78(%rbp)
jmp 0xdaf4
movb $0x0, (%rbx)
movq -0x30(%rbp), %rax
movl (%rax), %esi
testl %esi, %esi
movq %rbx, -0x60(%rbp)
movq %rcx, -0x88(%rbp)
je 0xdb39
movsbl (%r9), %r15d
testl %r15d, %r15d
je 0xdb40
movb 0x1(%r9), %al
testb %al, %al
je 0xdb43
leaq 0x2(%r9), %rcx
movl %r15d, %edx
shll $0x5, %edx
subl %r15d, %edx
movsbl %al, %r15d
addl %edx, %r15d
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0xdb1e
jmp 0xdb43
xorl %ebx, %ebx
jmp 0xdbdd
xorl %r15d, %r15d
movq %rsi, -0x80(%rbp)
leal -0x1(%rsi), %r13d
movl %r15d, %esi
andl %r13d, %esi
movl %r15d, %eax
shrl $0x3, %eax
shll $0x3, %r15d
xorl %eax, %r15d
orl $0x1, %r15d
andl %r13d, %r15d
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movl %esi, %ebx
movq %r9, -0x68(%rbp)
movl %esi, -0x70(%rbp)
movq %rdi, -0x50(%rbp)
movl %ebx, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %r12d
leal (%rbx,%rbx), %r14d
andl $0x1e, %r14d
movl %r12d, %eax
movl %r14d, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0xdbcc
testb $0x1, %al
jne 0xdbc0
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movl %ebx, %ecx
movq (%rax,%rcx,8), %rdi
movq %r9, %rsi
callq 0x2230
movq -0x50(%rbp), %rdi
movl -0x70(%rbp), %esi
movq -0x68(%rbp), %r9
testl %eax, %eax
je 0xdbcc
addl %r15d, %ebx
andl %r13d, %ebx
cmpl %esi, %ebx
jne 0xdb7a
jmp 0xdbf8
movl %r14d, %ecx
shrl %cl, %r12d
testb $0x3, %r12b
movq -0x80(%rbp), %rsi
cmovnel %esi, %ebx
cmpl %esi, %ebx
je 0xdbf8
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rcx
movl %ebx, %eax
shlq $0x4, %rax
movl 0x4(%rcx,%rax), %ebx
cmpl $0xf, %ebx
jne 0xdc29
leaq 0x18651(%rip), %rax     # 0x26250
cmpl $0x2, (%rax)
movq -0x40(%rbp), %r13
movq -0x60(%rbp), %rbx
jge 0xdc91
cmpb $0x0, -0x88(%rbp)
je 0xe2af
leaq 0x1(%rbx), %r9
incq %rbx
jmp 0xdaa6
movq %r9, -0x68(%rbp)
movq -0x40(%rbp), %r13
incw 0x10(%r13)
movq -0x30(%rbp), %rcx
movq 0x20(%rcx), %rcx
movl 0xc(%rcx,%rax), %esi
movq -0x48(%rbp), %rdi
callq 0xcb8d
movq -0x78(%rbp), %rdx
testq %rdx, %rdx
je 0xdc76
shrl $0x4, %ebx
andl $0xf, %ebx
cmpl $0x3, %ebx
je 0xdc63
testl %ebx, %ebx
jne 0xdcb8
movq -0x60(%rbp), %rbx
movl %ebx, %esi
subl %edx, %esi
movq -0x48(%rbp), %rdi
callq 0xd000
jmp 0xdc10
movq 0x18(%r13), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x20(%r13), %rcx
jae 0xdd91
movq 0x28(%r13), %rax
jmp 0xddde
movq 0x18360(%rip), %rax     # 0x25ff8
movq (%rax), %rdi
leaq 0x11767(%rip), %rsi     # 0x1f409
leaq 0x11736(%rip), %rdx     # 0x1f3df
movq %r9, %rcx
xorl %eax, %eax
callq 0x2250
jmp 0xdc10
movl $0x1, %r15d
movq %rdx, %rax
movq %rax, -0xc8(%rbp)
movzbl (%rax), %ecx
cmpl $0x2c, %ecx
je 0xdcd6
testl %ecx, %ecx
jne 0xdcd9
jmp 0xdcde
incl %r15d
incq %rax
jmp 0xdcc1
cmpl $0x2, %ebx
je 0xddfd
cmpl $0x1, %ebx
jne 0xde72
leal (,%r15,4), %eax
cltq
movq %rsp, %r14
addq $0xf, %rax
andq $-0x10, %rax
subq %rax, %r14
movq %r14, %rsp
movq %rdx, -0xc8(%rbp)
testl %r15d, %r15d
leaq -0xc8(%rbp), %r13
jle 0xdd51
movl %r15d, %ebx
xorl %r12d, %r12d
movq %rdx, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x2270
movl %eax, (%r14,%r12,4)
incq %r12
movq -0xc8(%rbp), %rdx
incq %rdx
movq %rdx, -0xc8(%rbp)
cmpq %r12, %rbx
jne 0xdd24
movq -0x48(%rbp), %rdi
movl %r15d, %esi
movq %r14, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0xc4ee
movq -0x68(%rbp), %rdi
leaq 0x116b6(%rip), %rsi     # 0x1f426
callq 0x2230
testl %eax, %eax
movq -0x40(%rbp), %r13
jne 0xde72
movl (%r14), %eax
subl 0x4(%r13), %eax
movl %eax, 0x8(%r13)
jmp 0xde72
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x20(%r13)
movq 0x28(%r13), %rdi
callq 0x2330
movq %rax, 0x28(%r13)
movq 0x18(%r13), %rdx
leaq 0x1(%rdx), %rcx
movq -0x60(%rbp), %rbx
movq %rcx, 0x18(%r13)
xorl %esi, %esi
movb %sil, (%rax,%rdx)
movq 0x18(%r13), %rax
movq 0x28(%r13), %rcx
movb %sil, (%rcx,%rax)
jmp 0xdc10
leal (,%r15,4), %eax
cltq
movq %rsp, %r14
addq $0xf, %rax
andq $-0x10, %rax
subq %rax, %r14
movq %r14, %rsp
movq %rdx, -0xc8(%rbp)
testl %r15d, %r15d
leaq -0xc8(%rbp), %r13
jle 0xde5f
movl %r15d, %ebx
xorl %r12d, %r12d
movq %rdx, %rdi
movq %r13, %rsi
callq 0x2100
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%r14,%r12,4)
incq %r12
movq -0xc8(%rbp), %rdx
incq %rdx
movq %rdx, -0xc8(%rbp)
cmpq %r12, %rbx
jne 0xde31
movq -0x48(%rbp), %rdi
movl %r15d, %esi
movq %r14, %rdx
callq 0xcf5b
movq -0x40(%rbp), %r13
movq -0x60(%rbp), %rbx
jmp 0xdc10
movq %r9, %rdi
callq 0x23e0
decl %eax
movl %eax, 0x4(%r13)
jmp 0xe2af
cmpb $0x2e, (%r9)
jne 0xde9f
cmpb $0x0, 0x1(%r9)
je 0xe22e
movq %r9, %rdi
callq 0x2120
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0xc(%r13)
jmp 0xe2af
cmpb $0x2e, (%r9)
jne 0xdec7
cmpb $0x0, 0x1(%r9)
je 0xe23a
movq -0x58(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x30(%rbp)
cmpb $0x3b, -0x1(%r12)
jne 0xdee1
movb $0x0, -0x1(%r12)
movl $0x1, %eax
movq %r9, %rcx
movzbl (%rcx), %edx
cmpl $0x3b, %edx
je 0xdef7
testl %edx, %edx
jne 0xdef9
jmp 0xdefe
incl %eax
incq %rcx
jmp 0xdee9
shll $0x2, %eax
cltq
movq %rsp, %rcx
addq $0xf, %rax
andq $-0x10, %rax
subq %rax, %rcx
movq %rcx, -0x80(%rbp)
movq %rcx, %rsp
movq $0x3b, -0xa8(%rbp)
leaq -0x1(%r9), %r13
movzbl 0x1(%r13), %eax
incq %r13
cmpl $0x3b, %eax
je 0xdf38
testl %eax, %eax
jne 0xdf27
movq %r13, -0xa0(%rbp)
cmpb $0x0, (%r13)
jne 0xdf50
movl $0x1, -0xa4(%rbp)
movq %r9, -0x38(%rbp)
movl $0x0, -0x78(%rbp)
movb $0x0, (%r13)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movl $0x0, %ebx
testl %esi, %esi
je 0xe049
movsbl (%r9), %r15d
testl %r15d, %r15d
je 0xdfa3
movb 0x1(%r9), %al
testb %al, %al
je 0xdfa6
leaq 0x2(%r9), %rcx
movl %r15d, %edx
shll $0x5, %edx
subl %r15d, %edx
movsbl %al, %r15d
addl %edx, %r15d
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0xdf88
jmp 0xdfa6
xorl %r15d, %r15d
movq %rsi, -0x88(%rbp)
leal -0x1(%rsi), %edx
movl %r15d, %esi
andl %edx, %esi
movl %r15d, %eax
shrl $0x3, %eax
shll $0x3, %r15d
xorl %eax, %r15d
orl $0x1, %r15d
andl %edx, %r15d
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movl %esi, %ebx
movq %r9, -0x68(%rbp)
movl %edx, -0x70(%rbp)
movl %esi, -0x50(%rbp)
movq %rdi, -0x60(%rbp)
movl %ebx, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %r12d
leal (%rbx,%rbx), %r14d
andl $0x1e, %r14d
movl %r12d, %eax
movl %r14d, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0xe035
testb $0x1, %al
jne 0xe02a
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movl %ebx, %ecx
movq (%rax,%rcx,8), %rdi
movq %r9, %rsi
callq 0x2230
movq -0x60(%rbp), %rdi
movl -0x50(%rbp), %esi
movl -0x70(%rbp), %edx
movq -0x68(%rbp), %r9
testl %eax, %eax
je 0xe035
addl %r15d, %ebx
andl %edx, %ebx
cmpl %esi, %ebx
jne 0xdfe1
jmp 0xe04d
movl %r14d, %ecx
shrl %cl, %r12d
testb $0x3, %r12b
movq -0x88(%rbp), %rsi
cmovnel %esi, %ebx
cmpl %esi, %ebx
jne 0xe07d
leaq 0x181fc(%rip), %rax     # 0x26250
cmpl $0x2, (%rax)
jl 0xe0a1
movq 0x17f98(%rip), %rax     # 0x25ff8
movq (%rax), %rdi
leaq 0x11380(%rip), %rsi     # 0x1f3ea
leaq 0x1136e(%rip), %rdx     # 0x1f3df
movq %r9, %rcx
xorl %eax, %eax
callq 0x2250
jmp 0xe0a1
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rax
movl %ebx, %ecx
shlq $0x4, %rcx
movl 0xc(%rax,%rcx), %eax
movl -0x78(%rbp), %edx
movslq %edx, %rcx
incl %edx
movl %edx, -0x78(%rbp)
movq -0x80(%rbp), %rdx
movl %eax, (%rdx,%rcx,4)
cmpl $0x0, -0xa4(%rbp)
jne 0xe11c
movl -0xa8(%rbp), %eax
leaq 0x1(%r13), %r9
testl %eax, %eax
js 0xe0ca
movsbl 0x1(%r13), %ecx
incq %r13
testl %ecx, %ecx
je 0xe0fb
cmpl %ecx, %eax
jne 0xe0b8
jmp 0xe0fb
movb (%r9), %al
movq %r9, %r13
testb %al, %al
je 0xe0fb
movq %r9, %r13
movsbl %al, %eax
movzbl %al, %ecx
sarl $0x6, %eax
cltq
movq -0xc8(%rbp,%rax,8), %rax
btq %rcx, %rax
jb 0xe0fb
movb 0x1(%r13), %al
incq %r13
testb %al, %al
jne 0xe0d7
movq %r13, -0xa0(%rbp)
cmpb $0x0, (%r13)
jne 0xe113
movl $0x1, -0xa4(%rbp)
movq %r9, -0x38(%rbp)
jmp 0xdf5b
movq $0x0, -0x38(%rbp)
movq -0x48(%rbp), %rdi
movl -0x78(%rbp), %esi
movq -0x80(%rbp), %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0xc4ee
movq -0x40(%rbp), %r13
jmp 0xe2af
xorl %r13d, %r13d
jmp 0xe1f1
xorl %r12d, %r12d
movq %rsi, -0x60(%rbp)
leal -0x1(%rsi), %ebx
movl %r12d, %esi
andl %ebx, %esi
movl %r12d, %eax
shrl $0x3, %eax
shll $0x3, %r12d
xorl %eax, %r12d
orl $0x1, %r12d
andl %ebx, %r12d
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movl %esi, %r13d
movq %r9, -0x68(%rbp)
movl %esi, -0x70(%rbp)
movq %rdi, -0x50(%rbp)
movl %r13d, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %r15d
leal (,%r13,2), %r14d
andl $0x1e, %r14d
movl %r15d, %eax
movl %r14d, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0xe1df
testb $0x1, %al
jne 0xe1cf
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movl %r13d, %ecx
movq (%rax,%rcx,8), %rdi
movq %r9, %rsi
callq 0x2230
movq -0x50(%rbp), %rdi
movl -0x70(%rbp), %esi
movq -0x68(%rbp), %r9
testl %eax, %eax
je 0xe1df
addl %r12d, %r13d
andl %ebx, %r13d
cmpl %esi, %r13d
jne 0xe183
jmp 0xe491
movl %r14d, %ecx
shrl %cl, %r15d
testb $0x3, %r15b
movq -0x60(%rbp), %rsi
cmovnel %esi, %r13d
cmpl %esi, %r13d
je 0xe491
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rax
movl %r13d, %ecx
shlq $0x4, %rcx
movl 0xc(%rax,%rcx), %eax
movq -0x40(%rbp), %r13
movl %eax, (%r13)
jmp 0xe2af
movq 0x18(%r13), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x20(%r13), %rcx
jae 0xe24e
movq 0x28(%r13), %rax
jmp 0xe29b
movl 0x1814c(%rip), %eax     # 0x26380
movl %eax, 0xc(%r13)
jmp 0xe2af
movq -0x48(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0xc4ee
jmp 0xe2af
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq %rsi, 0x20(%r13)
movq 0x28(%r13), %rdi
callq 0x2330
movq %rax, 0x28(%r13)
movq 0x18(%r13), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, 0x18(%r13)
movb $0x7, (%rax,%rdx)
movq 0x18(%r13), %rax
movq 0x28(%r13), %rcx
movb $0x0, (%rcx,%rax)
cmpl $0x0, -0xdc(%rbp)
jne 0xe332
movl -0xe0(%rbp), %ecx
movq -0xd8(%rbp), %rax
leaq 0x1(%rax), %r9
testl %ecx, %ecx
movl -0x98(%rbp), %esi
js 0xe2e4
movsbl 0x1(%rax), %edx
incq %rax
testl %edx, %edx
je 0xe315
cmpl %edx, %ecx
jne 0xe2d3
jmp 0xe315
movb (%r9), %cl
movq %r9, %rax
testb %cl, %cl
je 0xe315
movq %r9, %rax
movsbl %cl, %ecx
movzbl %cl, %edx
sarl $0x6, %ecx
movslq %ecx, %rcx
movq -0x100(%rbp,%rcx,8), %rcx
btq %rdx, %rcx
jb 0xe315
movb 0x1(%rax), %cl
incq %rax
testb %cl, %cl
jne 0xe2f1
movq %rax, -0xd8(%rbp)
cmpb $0x0, (%rax)
jne 0xe32b
movl $0x1, -0xdc(%rbp)
incl %esi
jmp 0xd914
movq 0x10(%r13), %rcx
xorl %r15d, %r15d
movabsq $0xffffffffff, %rax     # imm = 0xFFFFFFFFFF
incq %rax
cmpq %rax, %rcx
setb %al
shrq $0x20, %rcx
testb %cl, %cl
sete %cl
orb %al, %cl
jne 0xe4a1
addq $0x18, %r15
xorl %ebx, %ebx
movl -0x18(%r15), %esi
movq -0x90(%rbp), %rdi
callq 0xcb8d
movl -0x4(%r15), %eax
movl %eax, %ecx
andb $-0x10, %cl
cmpb $0x10, %cl
je 0xe3ef
andl $0xf0, %eax
cmpl $0x30, %eax
jne 0xe3a5
movl -0x8(%r15), %eax
testb $0x1, %al
jne 0xe3a9
movl -0x10(%r15), %esi
movq -0x90(%rbp), %rdi
movl $0x7, %edx
jmp 0xe3c0
movl -0x8(%r15), %eax
testb $0x1, %al
jne 0xe3ef
movl -0x10(%r15), %esi
sarl $0x2, %esi
movq -0x90(%rbp), %rdi
movl $0x5, %edx
callq 0xc837
movq (%r15), %r12
movslq -0x10(%r15), %rax
movq 0x10(%r13), %r14
movq 0x30(%r13), %rdi
shrq $0x28, %r14
imulq %rax, %r14
leaq (%rdi,%r14), %rax
incq %rax
cmpq 0x38(%r13), %rax
jae 0xe412
movq 0x40(%r13), %rax
jmp 0xe45b
movl -0x10(%r15), %ecx
sarl $0x2, %ecx
movq 0x10(%r13), %rsi
shrq $0x28, %rsi
imull %ecx, %esi
movq (%r15), %rdx
movq -0x90(%rbp), %rdi
callq 0xc4ee
jmp 0xe47a
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x38(%r13)
movq 0x40(%r13), %rdi
callq 0x2330
movq %rax, 0x40(%r13)
movq 0x30(%r13), %rdi
addq %rax, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x2280
addq 0x30(%r13), %r14
movq %r14, 0x30(%r13)
movq 0x40(%r13), %rax
movb $0x0, (%rax,%r14)
incq %rbx
movzbl 0x14(%r13), %eax
addq $0x20, %r15
cmpq %rax, %rbx
jb 0xe363
jmp 0xe4a1
leaq 0x17db8(%rip), %rax     # 0x26250
cmpl $0x2, (%rax)
jge 0xee77
xorl %eax, %eax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movabsq $0xff00000000, %r10     # imm = 0xFF00000000
movabsq $0x100000000, %rdx      # imm = 0x100000000
movq -0x58(%rbp), %rax
movq 0x30(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x108(%rbp), %rax
movq (%rax), %rcx
movq 0x10(%rax), %rax
movq %rax, -0x70(%rbp)
movq 0x10(%r13), %rax
movabsq $-0xff00000001, %r8     # imm = 0xFFFFFF00FFFFFFFF
andq %r8, %rax
btsq $0x20, %rax
movq %rax, 0x10(%r13)
movq %r9, %rsi
movzbl (%rsi), %edi
cmpl $0x3a, %edi
je 0xe50f
testl %edi, %edi
jne 0xe520
jmp 0xe525
leaq (%rax,%rdx), %rdi
andq %r10, %rdi
andq %r8, %rax
orq %rdi, %rax
movq %rax, 0x10(%r13)
incq %rsi
jmp 0xe501
addq %rcx, -0x70(%rbp)
shrq $0x1b, %rax
movq %rsp, %rcx
andl $0x1fe0, %eax           # imm = 0x1FE0
subq %rax, %rcx
movq %rcx, %rsp
movq $0x3a, -0xa8(%rbp)
leaq -0x1(%r9), %rdx
movzbl 0x1(%rdx), %eax
incq %rdx
cmpl $0x3a, %eax
je 0xe55a
testl %eax, %eax
jne 0xe54a
movq %rdx, -0xa0(%rbp)
cmpb $0x0, (%rdx)
jne 0xe570
movl $0x1, -0xa4(%rbp)
movq %rcx, -0x50(%rbp)
movq %r9, -0x38(%rbp)
movq $0x0, -0x48(%rbp)
movq %rdx, -0x80(%rbp)
movb $0x0, (%rdx)
movq -0x30(%rbp), %rax
movl (%rax), %esi
movl $0x0, %r13d
testl %esi, %esi
je 0xe678
movsbl (%r9), %ebx
testl %ebx, %ebx
je 0xe5c6
movb 0x1(%r9), %al
testb %al, %al
je 0xe5c8
leaq 0x2(%r9), %rcx
movl %ebx, %edx
shll $0x5, %edx
subl %ebx, %edx
movsbl %al, %ebx
addl %edx, %ebx
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0xe5af
jmp 0xe5c8
xorl %ebx, %ebx
movq %rsi, -0x98(%rbp)
leal -0x1(%rsi), %edx
movl %ebx, %esi
andl %edx, %esi
movl %ebx, %eax
shrl $0x3, %eax
shll $0x3, %ebx
xorl %eax, %ebx
orl $0x1, %ebx
andl %edx, %ebx
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movl %esi, %r13d
movq %r9, -0x68(%rbp)
movl %edx, -0x60(%rbp)
movl %esi, -0x88(%rbp)
movq %rdi, -0x78(%rbp)
movl %r13d, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %r15d
leal (,%r13,2), %r14d
andl $0x1e, %r14d
movl %r15d, %eax
movl %r14d, %ecx
shrl %cl, %eax
testb $0x2, %al
jne 0xe663
testb $0x1, %al
jne 0xe653
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movl %r13d, %ecx
movq (%rax,%rcx,8), %rdi
movq %r9, %rsi
callq 0x2230
movq -0x78(%rbp), %rdi
movl -0x88(%rbp), %esi
movl -0x60(%rbp), %edx
movq -0x68(%rbp), %r9
testl %eax, %eax
je 0xe663
addl %ebx, %r13d
andl %edx, %r13d
cmpl %esi, %r13d
jne 0xe601
jmp 0xe7a4
movl %r14d, %ecx
shrl %cl, %r15d
testb $0x3, %r15b
movq -0x98(%rbp), %rsi
cmovnel %esi, %r13d
cmpl %esi, %r13d
je 0xe7a4
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rax
movl %r13d, %ecx
shlq $0x4, %rcx
cmpl $0xf, 0x8(%rax,%rcx)
je 0xe7a4
movq -0x48(%rbp), %rsi
movq %rsi, %rax
shlq $0x5, %rax
movq -0x50(%rbp), %r15
movl $0x0, 0x4(%r15,%rax)
andl $0x1, 0x10(%r15,%rax)
movq -0x30(%rbp), %rdx
movq 0x20(%rdx), %rdx
movslq 0xc(%rdx,%rcx), %rcx
movl %ecx, (%r15,%rax)
xorl %edx, %edx
cmpb $0x47, (%r9)
jne 0xe6f3
cmpb $0x54, 0x1(%r9)
movq -0x40(%rbp), %r13
movabsq $0xff00000000, %rbx     # imm = 0xFF00000000
jne 0xe701
xorl %edx, %edx
cmpb $0x0, 0x2(%r9)
sete %dl
jmp 0xe701
movq -0x40(%rbp), %r13
movabsq $0xff00000000, %rbx     # imm = 0xFF00000000
addq %r15, %rax
movl %edx, 0x10(%rax)
movq -0x58(%rbp), %rdx
movq 0x18(%rdx), %rdx
shlq $0x4, %rcx
movq 0x8(%rdx,%rcx), %rcx
movl 0x8(%rcx), %ecx
movl %ecx, 0x14(%rax)
cmpl $0x0, -0xa4(%rbp)
jne 0xee9e
movl -0xa8(%rbp), %eax
movq -0x80(%rbp), %rdx
leaq 0x1(%rdx), %r9
testl %eax, %eax
js 0xe74e
movsbl 0x1(%rdx), %ecx
incq %rdx
testl %ecx, %ecx
je 0xe77e
cmpl %ecx, %eax
jne 0xe73d
jmp 0xe77e
movb (%r9), %al
movq %r9, %rdx
testb %al, %al
je 0xe77e
movq %r9, %rdx
movsbl %al, %eax
movzbl %al, %ecx
sarl $0x6, %eax
cltq
movq -0xc8(%rbp,%rax,8), %rax
btq %rcx, %rax
jb 0xe77e
movb 0x1(%rdx), %al
incq %rdx
testb %al, %al
jne 0xe75b
movq %rdx, -0xa0(%rbp)
cmpb $0x0, (%rdx)
jne 0xe794
movl $0x1, -0xa4(%rbp)
movq %r9, -0x38(%rbp)
incq %rsi
movq %rsi, -0x48(%rbp)
jmp 0xe580
leaq 0x17aa5(%rip), %rax     # 0x26250
cmpl $0x2, (%rax)
jge 0xeeaf
movq -0x40(%rbp), %r13
movabsq $-0xff00000001, %rcx    # imm = 0xFFFFFF00FFFFFFFF
andq 0x10(%r13), %rcx
movq -0x50(%rbp), %r15
movabsq $0xff00000000, %rbx     # imm = 0xFF00000000
movabsq $0xffffffffff, %rax     # imm = 0xFFFFFFFFFF
incq %r12
andq %rax, %rcx
movq %rcx, 0x10(%r13)
movl $0x1, %r8d
xorl %esi, %esi
movabsq $-0x10000000000, %rcx   # imm = 0xFFFFFF0000000000
movl $0x1, %r9d
movl $0x1, %edi
movq %r12, %rdx
movzbl (%rdx), %r10d
cmpl $0x2e, %r10d
jg 0xe82f
testl %r10d, %r10d
je 0xe84f
cmpl $0x9, %r10d
je 0xe84c
cmpl $0x2c, %r10d
jne 0xe8ed
incl %r9d
jmp 0xe8ed
cmpl $0x2f, %r10d
je 0xe845
cmpl $0x3a, %r10d
je 0xe84f
cmpl $0x7c, %r10d
jne 0xe8ed
incl %edi
jmp 0xe8ed
movb $0x0, (%rdx)
movslq %esi, %r11
shlq $0x5, %r11
leaq (%r15,%r11), %r10
cmpl %r9d, 0x4(%r15,%r11)
jge 0xe865
movl %r9d, 0x4(%r10)
movl 0x10(%r10), %r9d
movl %r9d, %r11d
shrl $0x10, %r11d
decl %r8d
cmpl %r8d, %r11d
jge 0xe887
shll $0x10, %r8d
movzwl %r9w, %r9d
orl %r8d, %r9d
movl %r9d, 0x10(%r10)
testb $0x1, %r9b
je 0xe8b4
movl %r9d, %r8d
shrl %r8d
andl $0x7fff, %r8d           # imm = 0x7FFF
cmpl %edi, %r8d
jge 0xe8b4
andl $0x7fff, %edi           # imm = 0x7FFF
andl $0xffff0001, %r9d       # imm = 0xFFFF0001
leal (%r9,%rdi,2), %edi
movl %edi, 0x10(%r10)
cmpb $0x0, (%rdx)
je 0xe8c3
incl %esi
movl $0x1, %r9d
jmp 0xe8e5
movq 0x10(%r13), %rsi
movq %rsi, %rdi
andq %rcx, %rdi
orq %rax, %rdi
andq %rax, %rsi
addq %rdi, %rsi
incq %rsi
movq %rsi, 0x10(%r13)
movl $0x1, %r9d
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x1, %edi
cmpq -0x70(%rbp), %rdx
je 0xe8fe
incq %rdx
incl %r8d
jmp 0xe808
movq 0x10(%r13), %rax
testq %rbx, %rax
je 0xeaf0
leaq 0x14(%r15), %rbx
xorl %r14d, %r14d
movl (%rbx), %ecx
shrl $0x4, %ecx
andl $0xf, %ecx
leal -0x1(%rcx), %edx
cmpl $0x2, %edx
jae 0xe92a
movl -0x10(%rbx), %edx
shll $0x2, %edx
jmp 0xe94a
cmpl $0x3, %ecx
jne 0xeed6
movl -0x4(%rbx), %ecx
leal (%rcx,%rcx), %esi
andl $0x1fffc, %esi          # imm = 0x1FFFC
movl %ecx, %edx
shrl $0x10, %edx
testb $0x1, %cl
cmovnel %esi, %edx
movl %edx, -0xc(%rbx)
movq -0x58(%rbp), %rcx
movq 0x50(%rcx), %rdi
movq 0x58(%rcx), %rcx
testb $0x7, %dil
je 0xe98b
movq $0x0, -0x110(%rbp)
leal 0x7(%rdi), %eax
andl $-0x8, %eax
subl %edi, %eax
movslq %eax, %r13
leaq (%rdi,%r13), %rax
incq %rax
cmpq %rcx, %rax
jae 0xe994
movq -0x58(%rbp), %r15
movq 0x60(%r15), %rax
jmp 0xe9e1
movq -0x40(%rbp), %r13
jmp 0xea1b
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq -0x58(%rbp), %r15
movq %rsi, 0x58(%r15)
movq 0x60(%r15), %rdi
callq 0x2330
movq %rax, 0x60(%r15)
movq 0x50(%r15), %rdi
addq %rax, %rdi
leaq -0x110(%rbp), %rsi
movq %r13, %rdx
callq 0x2280
addq 0x50(%r15), %r13
movq %r13, 0x50(%r15)
movq 0x60(%r15), %rax
movb $0x0, (%rax,%r13)
movq 0x50(%r15), %rdi
movq 0x58(%r15), %rcx
movq -0x40(%rbp), %r13
movq 0x10(%r13), %rax
movl -0xc(%rbx), %edx
movq -0x50(%rbp), %r15
movl %edi, -0x8(%rbx)
shrq $0x28, %rax
imull %eax, %edx
movslq %edx, %rdx
addq %rdi, %rdx
cmpq %rdx, %rcx
jae 0xea8c
decq %rdx
movq %rdx, %rax
shrq %rax
orq %rdx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rsi
shrq $0x10, %rsi
orq %rcx, %rsi
incq %rsi
movq -0x58(%rbp), %r15
movq %rsi, 0x58(%r15)
movq 0x60(%r15), %rdi
callq 0x2330
movq %rax, 0x60(%r15)
movq 0x10(%r13), %rax
movq 0x50(%r15), %rdi
movq -0x50(%rbp), %r15
shrq $0x28, %rax
movslq -0xc(%rbx), %rcx
movl %eax, %eax
imulq %rcx, %rax
addq %rdi, %rax
movq -0x58(%rbp), %rcx
movq %rax, 0x50(%rcx)
incq %r14
movq 0x10(%r13), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movzbl %cl, %edx
addq $0x20, %rbx
cmpq %rdx, %r14
jb 0xe912
movabsq $0xff00000000, %rdx     # imm = 0xFF00000000
testq %rdx, %rax
je 0xeaf0
movq -0x58(%rbp), %rax
movq 0x60(%rax), %rax
movzbl %cl, %ecx
leaq 0x18(%r15), %rdx
movslq -0xc(%rdx), %rsi
addq %rax, %rsi
movq %rsi, (%rdx)
addq $0x20, %rdx
decq %rcx
jne 0xeadd
xorl %edx, %edx
xorl %r9d, %r9d
movq %r12, -0x38(%rbp)
movslq %edx, %rax
shlq $0x5, %rax
leaq (%r15,%rax), %r14
movl 0x14(%r15,%rax), %eax
shrl $0x4, %eax
andl $0xf, %eax
cmpl $0x1, %eax
movl %r9d, -0x68(%rbp)
movq %rdx, -0x30(%rbp)
je 0xec0d
cmpl $0x2, %eax
je 0xeb68
cmpl $0x3, %eax
jne 0xeed6
movl 0x8(%r14), %eax
imull %r9d, %eax
movslq %eax, %rbx
addq 0x18(%r14), %rbx
testb $0x1, 0x10(%r14)
jne 0xedc6
xorl %eax, %eax
movzbl (%r12,%rax), %ecx
testl %ecx, %ecx
je 0xee24
cmpl $0x3a, %ecx
je 0xee24
movb %cl, (%rbx,%rax)
incq %rax
jmp 0xeb4a
movl 0x8(%r14), %eax
imull %r9d, %eax
movslq %eax, %rbx
addq 0x18(%r14), %rbx
movl $0x1, %r13d
cmpb $0x2e, (%r12)
jne 0xebad
callq 0x2460
movq (%rax), %rax
movsbq 0x1(%r12), %rcx
testb $0x8, 0x1(%rax,%rcx,2)
jne 0xebad
incq %r12
movl 0x177de(%rip), %eax     # 0x26380
movl %eax, -0x4(%rbx,%r13,4)
movq %r12, -0x38(%rbp)
jmp 0xebc8
movq %r12, %rdi
leaq -0x38(%rbp), %rsi
callq 0x2100
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x4(%rbx,%r13,4)
movq -0x38(%rbp), %r12
movzbl (%r12), %eax
testl %eax, %eax
je 0xebe2
cmpl $0x3a, %eax
je 0xebe2
incq %r12
movq %r12, -0x38(%rbp)
incq %r13
jmp 0xeb7d
movl 0x8(%r14), %eax
sarl $0x2, %eax
cmpl %r13d, %eax
jle 0xec82
movl 0x1778c(%rip), %eax     # 0x26384
movl %eax, (%rbx,%r13,4)
incq %r13
movl 0x8(%r14), %ecx
sarl $0x2, %ecx
cmpl %r13d, %ecx
jg 0xebf8
jmp 0xec82
movl 0x8(%r14), %eax
imull %r9d, %eax
movslq %eax, %rbx
addq 0x18(%r14), %rbx
movl $0x1, %r13d
cmpb $0x2e, (%r12)
jne 0xec37
incq %r12
movq %r12, -0x38(%rbp)
movl $0x80000000, %eax       # imm = 0x80000000
jmp 0xec4c
movq %r12, %rdi
leaq -0x38(%rbp), %rsi
movl $0xa, %edx
callq 0x2270
movq -0x38(%rbp), %r12
movl %eax, -0x4(%rbx,%r13,4)
movzbl (%r12), %eax
testl %eax, %eax
je 0xec76
cmpl $0x3a, %eax
je 0xec76
incq %r12
movq %r12, -0x38(%rbp)
incq %r13
jmp 0xec22
movl $0x80000001, (%rbx,%r13,4) # imm = 0x80000001
incq %r13
movl 0x8(%r14), %eax
sarl $0x2, %eax
cmpl %r13d, %eax
jg 0xec6b
movq -0x40(%rbp), %r13
movzbl (%r12), %eax
cmpl $0x3a, %eax
movl -0x68(%rbp), %r9d
movq -0x30(%rbp), %rdx
je 0xedbc
testl %eax, %eax
jne 0xedbe
incl %edx
movq 0x10(%r13), %rcx
movq %rcx, %rax
shrq $0x20, %rax
movzbl %al, %eax
cmpl %eax, %edx
jge 0xedab
movslq %edx, %rax
movq %rax, %rdx
shlq $0x5, %rdx
leaq (%r15,%rdx), %rcx
movl 0x14(%r15,%rdx), %edx
shrl $0x4, %edx
andl $0xf, %edx
cmpl $0x1, %edx
je 0xed49
cmpl $0x2, %edx
je 0xed19
cmpl $0x3, %edx
jne 0xed91
movl 0x8(%rcx), %esi
movl %esi, %edx
imull %r9d, %edx
movslq %edx, %rdx
addq 0x18(%rcx), %rdx
testb $0x1, 0x10(%rcx)
jne 0xed75
testl %esi, %esi
je 0xed91
xorl %esi, %esi
movb $0x0, (%rdx,%rsi)
incq %rsi
movl 0x8(%rcx), %edi
cmpq %rdi, %rsi
jne 0xed08
jmp 0xed91
movl 0x8(%rcx), %edx
cmpl $0x4, %edx
jb 0xed91
imull %r9d, %edx
movslq %edx, %rdx
addq 0x18(%rcx), %rdx
movl 0x17652(%rip), %esi     # 0x26384
xorl %edi, %edi
movl %esi, (%rdx,%rdi,4)
incq %rdi
movl 0x8(%rcx), %r8d
sarl $0x2, %r8d
cmpq %r8, %rdi
jne 0xed34
jmp 0xed91
movl 0x8(%rcx), %edx
cmpl $0x4, %edx
jb 0xed91
imull %r9d, %edx
movslq %edx, %rdx
addq 0x18(%rcx), %rdx
xorl %esi, %esi
movl $0x80000001, (%rdx,%rsi,4) # imm = 0x80000001
incq %rsi
movl 0x8(%rcx), %edi
sarl $0x2, %edi
cmpq %rdi, %rsi
jne 0xed5e
jmp 0xed91
cmpl $0x4, %esi
jb 0xed91
xorl %esi, %esi
movl $0x80000001, (%rdx,%rsi,4) # imm = 0x80000001
incq %rsi
movl 0x8(%rcx), %edi
sarl $0x2, %edi
cmpq %rdi, %rsi
jne 0xed7c
incq %rax
movq 0x10(%r13), %rcx
movq %rcx, %rdx
shrq $0x20, %rdx
movzbl %dl, %edx
cmpq %rdx, %rax
jl 0xecbf
cmpq -0x70(%rbp), %r12
je 0xe339
incl %r9d
xorl %edx, %edx
jmp 0xedbe
incl %edx
incq %r12
jmp 0xeaf5
xorl %r15d, %r15d
movl $0x1, %r13d
cmpb $0x2e, (%r12)
jne 0xeddf
incq %r12
movq %r12, -0x38(%rbp)
jmp 0xedfc
movq %r12, %rdi
leaq -0x38(%rbp), %rsi
movl $0xa, %edx
callq 0x2270
leal (%r15,%rax,2), %r15d
addl $0x2, %r15d
movq -0x38(%rbp), %r12
movl %r15d, -0x4(%rbx,%r13,4)
movzbl (%r12), %eax
testl %eax, %eax
je 0xee3e
cmpl $0x3a, %eax
je 0xee3e
xorl %r15d, %r15d
cmpb $0x7c, %al
sete %r15b
incq %r12
movq %r12, -0x38(%rbp)
incq %r13
jmp 0xedcf
addq %rax, %r12
movq %r12, -0x38(%rbp)
cmpl %eax, 0x8(%r14)
jle 0xec86
movb $0x0, (%rbx,%rax)
incq %rax
jmp 0xee2b
movl 0x8(%r14), %eax
sarl $0x2, %eax
cmpl %r13d, %eax
jle 0xee6a
movq -0x50(%rbp), %r15
movl $0x80000001, (%rbx,%r13,4) # imm = 0x80000001
incq %r13
movl 0x8(%r14), %eax
sarl $0x2, %eax
cmpl %r13d, %eax
jg 0xee4e
jmp 0xec82
movq -0x40(%rbp), %r13
movq -0x50(%rbp), %r15
jmp 0xec86
movq 0x1717a(%rip), %rax     # 0x25ff8
movq (%rax), %rdi
leaq 0x10523(%rip), %rsi     # 0x1f3ab
leaq 0x10550(%rip), %rdx     # 0x1f3df
movq %r9, %rcx
xorl %eax, %eax
callq 0x2250
jmp 0xe4a1
movq $0x0, -0x38(%rbp)
movq 0x10(%r13), %rcx
jmp 0xe7d4
movq 0x17142(%rip), %rax     # 0x25ff8
movq (%rax), %rdi
leaq 0x1056a(%rip), %rsi     # 0x1f42a
leaq 0x10518(%rip), %rdx     # 0x1f3df
movq %r9, %rcx
xorl %eax, %eax
callq 0x2250
jmp 0xe7b4
callq 0x2070