// File: /workspace/github_c_makefile_star2_O3/ToniWestbrook[P]paladin/bwamem.c
// Function: mem_aln2sam
void mem_aln2sam(const mem_opt_t *opt, const bntseq_t *bns, kstring_t *str, bseq1_t *s, int n, const mem_aln_t *list, int which, const mem_aln_t *m_)
{
	int i, l_name;
	mem_aln_t ptmp = list[which], *p = &ptmp, mtmp, *m = 0; // make a copy of the alignment to convert
	if (m_) mtmp = *m_, m = &mtmp;

	// set flag
	p->flag |= m? 0x1 : 0; // is paired in sequencing
	p->flag |= p->rid < 0? 0x4 : 0; // is mapped
	p->flag |= m && m->rid < 0? 0x8 : 0; // is mate mapped
	if (p->rid < 0 && m && m->rid >= 0) // copy mate to alignment
		p->rid = m->rid, p->pos = m->pos, p->is_rev = m->is_rev, p->n_cigar = 0;
	if (m && m->rid < 0 && p->rid >= 0) // copy alignment to mate
		m->rid = p->rid, m->pos = p->pos, m->is_rev = p->is_rev, m->n_cigar = 0;
	p->flag |= p->is_rev? 0x10 : 0; // is on the reverse strand
	p->flag |= m && m->is_rev? 0x20 : 0; // is mate on the reverse strand


	// print up to CIGAR
	l_name = strlen(s->name);
	ks_resize(str, str->l + s->l_seq + l_name + (s->qual? s->l_seq : 0) + 20);
	kputsn(s->name, l_name, str); kputc('\t', str); // QNAME
	kputw((p->flag&0xffff) | (p->flag&0x10000? 0x100 : 0), str); kputc('\t', str); // FLAG
	if (p->rid >= 0) { // with coordinate
		kputs(bns->anns[p->rid].name, str); kputc('\t', str); // RNAME
		kputl(p->pos + 1, str); kputc('\t', str); // POS
		kputw(p->mapq, str); kputc('\t', str); // MAPQ
		if (p->n_cigar) { // aligned
			for (i = 0; i < p->n_cigar; ++i) {
				int c = p->cigar[i]&0xf;
				if (!(opt->flag&MEM_F_SOFTCLIP) && !p->is_alt && (c == 3 || c == 4))
					c = which? 4 : 3; // use hard clipping for supplementary alignments
				kputw(p->cigar[i]>>4, str); kputc("MIDSH"[c], str);
			}
		} else kputc('*', str); // having a coordinate but unaligned (e.g. when copy_mate is true)
	} else kputsn("*\t0\t0\t*", 7, str); // without coordinte
	kputc('\t', str);

	// print the mate position if applicable
	if (m && m->rid >= 0) {
		if (p->rid == m->rid) kputc('=', str);
		else kputs(bns->anns[m->rid].name, str);
		kputc('\t', str);
		kputl(m->pos + 1, str); kputc('\t', str);
		if (p->rid == m->rid) {
			int64_t p0 = p->pos + (p->is_rev? get_rlen(p->n_cigar, p->cigar) - 1 : 0);
			int64_t p1 = m->pos + (m->is_rev? get_rlen(m->n_cigar, m->cigar) - 1 : 0);
			if (m->n_cigar == 0 || p->n_cigar == 0) kputc('0', str);
			else kputl(-(p0 - p1 + (p0 > p1? 1 : p0 < p1? -1 : 0)), str);
		} else kputc('0', str);
	} else kputsn("*\t0\t0", 5, str);
	kputc('\t', str);

	// print SEQ and QUAL
	if (p->flag & 0x100) { // for secondary alignments, don't write SEQ and QUAL
		kputsn("*\t*", 3, str);
	} else if (!p->is_rev) { // the forward strand
		int i, qb = 0, qe = s->l_seq;
		if (p->n_cigar && which && !(opt->flag&MEM_F_SOFTCLIP) && !p->is_alt) { // have cigar && not the primary alignment && not softclip all
			if ((p->cigar[0]&0xf) == 4 || (p->cigar[0]&0xf) == 3) qb += p->cigar[0]>>4;
			if ((p->cigar[p->n_cigar-1]&0xf) == 4 || (p->cigar[p->n_cigar-1]&0xf) == 3) qe -= p->cigar[p->n_cigar-1]>>4;
		}
		ks_resize(str, str->l + (qe - qb) + 1);
		//OLD for (i = qb; i < qe; ++i) str->s[str->l++] = "ACGTN"[(int)s->seq[i]];
		for (i = qb; i < qe; ++i) str->s[(int)(str->l++)] = aa_ascii_hash[(int)(s->seq[i])];
		kputc('\t', str);
		if (s->qual) { // printf qual
			ks_resize(str, str->l + (qe - qb) + 1);
			for (i = qb; i < qe; ++i) str->s[str->l++] = s->qual[i];
			str->s[str->l] = 0;
		} else kputc('*', str);
	} else { // the reverse strand
		int i, qb = 0, qe = s->l_seq;
		if (p->n_cigar && which && !(opt->flag&MEM_F_SOFTCLIP) && !p->is_alt) {
			if ((p->cigar[0]&0xf) == 4 || (p->cigar[0]&0xf) == 3) qe -= p->cigar[0]>>4;
			if ((p->cigar[p->n_cigar-1]&0xf) == 4 || (p->cigar[p->n_cigar-1]&0xf) == 3) qb += p->cigar[p->n_cigar-1]>>4;
		}
		ks_resize(str, str->l + (qe - qb) + 1);
		//OLD for (i = qe-1; i >= qb; --i) str->s[str->l++] = "TGCAN"[(int)s->seq[i]];
		for (i = qe-1; i >= qb; --i) str->s[(int)(str->l++)] = aa_ascii_hash[(int)(s->seq[i])];
		kputc('\t', str);
		if (s->qual) { // printf qual
			ks_resize(str, str->l + (qe - qb) + 1);
			for (i = qe-1; i >= qb; --i) str->s[str->l++] = s->qual[i];
			str->s[str->l] = 0;
		} else kputc('*', str);
	}

	// print optional tags
	if (p->n_cigar) {
		kputsn("\tNM:i:", 6, str); kputw(p->NM, str);
		kputsn("\tMD:Z:", 6, str); kputs((char*)(p->cigar + p->n_cigar), str);
	}
	if (p->score >= 0) { kputsn("\tAS:i:", 6, str); kputw(p->score, str); }
	if (p->sub >= 0) { kputsn("\tXS:i:", 6, str); kputw(p->sub, str); }
	if (bwa_rg_id[0]) { kputsn("\tRG:Z:", 6, str); kputs(bwa_rg_id, str); }
	if (!(p->flag & 0x100)) { // not multi-hit
		for (i = 0; i < n; ++i)
			if (i != which && !(list[i].flag&0x100)) break;
		if (i < n) { // there are other primary hits; output them
			kputsn("\tSA:Z:", 6, str);
			for (i = 0; i < n; ++i) {
				const mem_aln_t *r = &list[i];
				int k;
				if (i == which || (r->flag&0x100)) continue; // proceed if: 1) different from the current; 2) not shadowed multi hit
				kputs(bns->anns[r->rid].name, str); kputc(',', str);
				kputl(r->pos+1, str); kputc(',', str);
				kputc("+-"[r->is_rev], str); kputc(',', str);
				for (k = 0; k < r->n_cigar; ++k) {
					kputw(r->cigar[k]>>4, str); kputc("MIDSH"[r->cigar[k]&0xf], str);
				}
				kputc(',', str); kputw(r->mapq, str);
				kputc(',', str); kputw(r->NM, str);
				kputc(';', str);
			}
		}
		if (p->alt_sc > 0)
			ksprintf(str, "\tpa:f:%.3f", (double)p->score / p->alt_sc);
	}
	if (p->XA) { kputsn("\tXA:Z:", 6, str); kputs(p->XA, str); }
	if (s->comment) { kputc('\t', str); kputs(s->comment, str); }
	if ((opt->flag&MEM_F_REF_HDR) && p->rid >= 0 && bns->anns[p->rid].anno != 0 && bns->anns[p->rid].anno[0] != 0) {
		int tmp;
		kputsn("\tXR:Z:", 6, str);
		tmp = str->l;
		kputs(bns->anns[p->rid].anno, str);
		for (i = tmp; i < str->l; ++i) // replace TAB in the comment to SPACE
			if (str->s[i] == '\t') str->s[i] = ' ';
	}
	kputc('\n', str);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %r8d, 0x94(%rsp)
movq %rdx, %rbx
movq %rsi, 0x48(%rsp)
movq %rdi, 0x70(%rsp)
movslq 0x100(%rsp), %rdx
movq 0x108(%rsp), %rdi
movq %rdx, 0x88(%rsp)
imulq $0x38, %rdx, %rax
movq (%r9,%rax), %r14
movl 0x8(%r9,%rax), %r8d
movl 0x10(%r9,%rax), %r13d
movl 0x14(%r9,%rax), %r11d
testq %rdi, %rdi
je 0x1bcdb
movq (%rdi), %r10
movq %r10, 0xb0(%rsp)
movl 0x8(%rdi), %edx
movl %edx, 0x58(%rsp)
movl 0x10(%rdi), %r12d
movl %r12d, 0x50(%rsp)
movl 0x14(%rdi), %esi
movl %esi, 0x64(%rsp)
movq 0x18(%rdi), %rsi
movq %rsi, 0xc0(%rsp)
movl %r8d, %esi
shrl $0x1d, %esi
andl $-0x4, %esi
movl %edx, %edi
shrl $0x1f, %edi
testl %r8d, %r8d
js 0x1bd3d
testl %edx, %edx
jns 0x1bd54
movl %r8d, 0x58(%rsp)
movq %r14, 0xb0(%rsp)
movl %r13d, %edx
andl $0x1, %edx
andl $-0x2, %r12d
orl %edx, %r12d
movl %r12d, 0x50(%rsp)
movl $0x0, 0x64(%rsp)
jmp 0x1bd54
movq %r14, 0x68(%rsp)
movl %r11d, 0x4(%rsp)
movl %r8d, %r14d
shrl $0x1d, %r14d
andl $-0x4, %r14d
movq $0x0, 0x78(%rsp)
movl $0x8, %edx
movq %rdx, 0x80(%rsp)
movl $0x14, %edx
movq %rdx, 0xa8(%rsp)
movl $0x18, %edx
movq %rdx, 0x98(%rsp)
movl $0x10, %edx
movq %rdx, 0xa0(%rsp)
movl $0x0, 0x40(%rsp)
xorl %r12d, %r12d
jmp 0x1bdbf
testl %edx, %edx
js 0x1bd54
movl %r12d, %r8d
andl $0x1, %r8d
andl $-0x2, %r13d
orl %r8d, %r13d
xorl %r11d, %r11d
jmp 0x1bd5a
movq %r14, %r10
movl %r8d, %edx
movl %r11d, 0x4(%rsp)
leal (%rsi,%rdi,8), %r14d
shll $0x5, %r12d
andl $0x20, %r12d
movl $0x1, 0x40(%rsp)
leaq 0xb0(%rsp), %rsi
movq %rsi, 0x78(%rsp)
leaq 0x58(%rsp), %rsi
movq %rsi, 0x80(%rsp)
leaq 0x64(%rsp), %rsi
movq %rsi, 0xa8(%rsp)
leaq 0xc0(%rsp), %rsi
movq %rsi, 0x98(%rsp)
leaq 0x50(%rsp), %rsi
movq %rsi, 0xa0(%rsp)
movl %edx, %r8d
movq %r10, 0x68(%rsp)
movl %r8d, 0x1c(%rsp)
movl 0xc(%r9,%rax), %edx
movl %edx, 0x38(%rsp)
movq 0x18(%r9,%rax), %rdx
movq %rdx, 0x10(%rsp)
movq 0x20(%r9,%rax), %rdx
movq %rdx, 0xb8(%rsp)
movl 0x28(%r9,%rax), %edx
movl %edx, 0x34(%rsp)
movl 0x2c(%r9,%rax), %edx
movl %edx, 0x20(%rsp)
movq %r9, 0x28(%rsp)
movl 0x30(%r9,%rax), %eax
movl %eax, 0x60(%rsp)
movl %r13d, 0x24(%rsp)
andl $0x1, %r13d
movq 0x8(%rcx), %r15
movq %r15, %rdi
movq %rcx, 0x8(%rsp)
callq 0x3100
movq 0x8(%rsp), %rsi
movq (%rbx), %rdi
movq 0x8(%rbx), %rcx
movslq (%rsi), %rdx
movslq %eax, %rbp
movq 0x20(%rsi), %rax
testq %rax, %rax
cmovneq %rdx, %rax
addq %rdi, %rdx
addq %rbp, %rdx
leaq (%rax,%rdx), %rsi
addq $0x14, %rsi
cmpq %rsi, %rcx
jae 0x1bebd
addq %rax, %rdx
addq $0x13, %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 %rsi, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc944(%rip), %rdx      # 0x287dc
leaq 0xd347(%rip), %r8       # 0x291e6
movl $0x1c, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq 0x8(%rsp), %rax
movq 0x8(%rax), %r15
movq (%rbx), %rdi
movq 0x8(%rbx), %rcx
movl %r13d, 0x5c(%rsp)
shll $0x4, %r13d
leaq (%rdi,%rbp), %rax
incq %rax
cmpq %rcx, %rax
jae 0x1bed8
movq 0x10(%rbx), %rax
jmp 0x1bf33
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc8c1(%rip), %rdx      # 0x287dc
leaq 0xd2ce(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
orl %r13d, %r12d
movq %r15, %rsi
movq %rbp, %rdx
callq 0x3260
addq (%rbx), %rbp
movq %rbp, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%rbp)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1bf65
movq 0x10(%rbx), %rax
jmp 0x1bfc4
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc834(%rip), %rdx      # 0x287dc
leaq 0xc83f(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movl 0x1c(%rsp), %ebp
movl 0x40(%rsp), %esi
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl 0x38(%rsp), %ecx
movzwl %cx, %eax
shrl $0x8, %ecx
andl $0x100, %ecx            # imm = 0x100
orl %eax, %ecx
orl %esi, %r14d
orl %ecx, %r14d
orl %r12d, %r14d
movl %r14d, %edi
movq %rbx, %rsi
callq 0x1e123
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c017
movq 0x10(%rbx), %rax
jmp 0x1c076
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc782(%rip), %rdx      # 0x287dc
leaq 0xc78d(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl %ebp, %edx
testl %ebp, %ebp
movq %rdx, 0x40(%rsp)
js 0x1c0ca
movq 0x48(%rsp), %rax
movq 0x10(%rax), %rax
leaq (%rdx,%rdx,4), %rcx
movq 0x18(%rax,%rcx,8), %r14
movq %r14, %rdi
callq 0x3100
movq (%rbx), %rdi
movslq %eax, %r15
leaq (%rdi,%r15), %rax
incq %rax
cmpq 0x8(%rbx), %rax
movl 0x4(%rsp), %ebp
jae 0x1c0e4
movq 0x10(%rbx), %rax
jmp 0x1c13f
movq (%rbx), %rcx
leaq 0x8(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1c430
movq 0x10(%rbx), %rax
jmp 0x1c48b
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc6b5(%rip), %rdx      # 0x287dc
leaq 0xd0c2(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3260
addq (%rbx), %r15
movq %r15, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r15)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c16f
movq 0x10(%rbx), %rax
jmp 0x1c1ce
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc62a(%rip), %rdx      # 0x287dc
leaq 0xc635(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq 0x68(%rsp), %rsi
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
leaq 0x1(%rsi), %rdi
movq %rbx, %rsi
callq 0x1e291
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c204
movq 0x10(%rbx), %rax
jmp 0x1c263
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc595(%rip), %rdx      # 0x287dc
leaq 0xc5a0(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl 0x24(%rsp), %eax
shrl $0x2, %eax
movzbl %al, %edi
movq %rbx, %rsi
callq 0x1e123
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c29a
movq 0x10(%rbx), %rax
jmp 0x1c2f9
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc4ff(%rip), %rdx      # 0x287dc
leaq 0xc50a(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
testl %ebp, %ebp
je 0x1c416
jle 0x1c51a
cmpl $0x1, 0x88(%rsp)
movl $0x4, %ebp
sbbl $0x0, %ebp
movl 0x4(%rsp), %r12d
xorl %r13d, %r13d
movl 0x24(%rsp), %r14d
andl $0x2, %r14d
movq 0x10(%rsp), %rax
movl (%rax,%r13,4), %edi
movl %edi, %eax
andl $0xf, %eax
movq 0x70(%rsp), %rcx
movl 0x48(%rcx), %ecx
movl $0x200, %edx            # imm = 0x200
andl %edx, %ecx
leal -0x3(%rax), %edx
cmpl $0x2, %edx
movl %eax, %r15d
cmovbl %ebp, %r15d
orl %r14d, %ecx
cmovnel %eax, %r15d
shrl $0x4, %edi
movq %rbx, %rsi
callq 0x1e123
leaq 0xcb5b(%rip), %rax      # 0x28ed8
movb (%r15,%rax), %r15b
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c394
movq 0x10(%rbx), %rax
jmp 0x1c3f3
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc405(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xc40b(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb %r15b, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
incq %r13
cmpq %r13, %r12
jne 0x1c33a
jmp 0x1c51a
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c4aa
movq 0x10(%rbx), %rax
jmp 0x1c509
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc369(%rip), %rdx      # 0x287dc
leaq 0xcd76(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movl $0x2a093009, 0x3(%rax,%rcx) # imm = 0x2A093009
movl $0x930092a, (%rax,%rcx) # imm = 0x930092A
movq (%rbx), %rax
addq $0x7, %rax
movq %rax, (%rbx)
addq 0x10(%rbx), %rax
jmp 0x1c517
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc2ef(%rip), %rdx      # 0x287dc
leaq 0xc2fa(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x2a, (%rax,%rdx)
movq 0x10(%rbx), %rax
addq (%rbx), %rax
movb $0x0, (%rax)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c52d
movq 0x10(%rbx), %rax
jmp 0x1c58c
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc26c(%rip), %rdx      # 0x287dc
leaq 0xc277(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movl 0x1c(%rsp), %r13d
movq 0x28(%rsp), %r15
movl 0x20(%rsp), %r12d
movl 0x4(%rsp), %ebp
movq 0x10(%rsp), %r14
movq 0x108(%rsp), %rsi
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
testq %rsi, %rsi
je 0x1c5f6
movq 0x80(%rsp), %rax
movslq (%rax), %rax
testq %rax, %rax
js 0x1c5f6
cmpl %eax, %r13d
jne 0x1c688
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c6be
movq 0x10(%rbx), %rax
jmp 0x1c71d
movq (%rbx), %rcx
leaq 0x6(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1c609
movq 0x10(%rbx), %rax
jmp 0x1c664
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc190(%rip), %rdx      # 0x287dc
leaq 0xcb9d(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movb $0x30, 0x4(%rax,%rcx)
movl $0x930092a, (%rax,%rcx) # imm = 0x930092A
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x5(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x5(%rcx,%rax)
jmp 0x1ca38
movq 0x48(%rsp), %rcx
movq 0x10(%rcx), %rcx
leaq (%rax,%rax,4), %rax
movq 0x18(%rcx,%rax,8), %r15
movq %r15, %rdi
callq 0x3100
movq (%rbx), %rdi
movslq %eax, %r14
leaq (%rdi,%r14), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0x1c72d
movq 0x10(%rbx), %rax
jmp 0x1c788
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc0db(%rip), %rdx      # 0x287dc
leaq 0xc0e6(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x3d, (%rax,%rdx)
movq 0x10(%rbx), %r14
addq (%rbx), %r14
jmp 0x1c7a5
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xc06c(%rip), %rdx      # 0x287dc
leaq 0xca79(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3260
addq (%rbx), %r14
movq %r14, (%rbx)
addq 0x10(%rbx), %r14
movq 0x28(%rsp), %r15
movb $0x0, (%r14)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c7bc
movq 0x10(%rbx), %rax
jmp 0x1c81b
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xbfdd(%rip), %rdx      # 0x287dc
leaq 0xbfe8(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq 0x10(%rsp), %r14
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq 0x78(%rsp), %rax
movq (%rax), %rdi
incq %rdi
movq %rbx, %rsi
callq 0x1e291
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c858
movq 0x10(%rbx), %rax
jmp 0x1c8b7
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xbf41(%rip), %rdx      # 0x287dc
leaq 0xbf4c(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq 0x80(%rsp), %rax
cmpl (%rax), %r13d
jne 0x1c9b4
cmpl $0x0, 0x5c(%rsp)
jne 0x1c8e5
xorl %eax, %eax
jmp 0x1c91d
testl %ebp, %ebp
jle 0x1c916
movl %ebp, %eax
xorl %edx, %edx
xorl %esi, %esi
xorl %ecx, %ecx
movl (%r14,%rsi,4), %edi
movl %edi, %r8d
shrl $0x4, %r8d
testb $0xd, %dil
cmovnel %edx, %r8d
addl %r8d, %ecx
incq %rsi
cmpq %rsi, %rax
jne 0x1c8f1
decl %ecx
movslq %ecx, %rax
jmp 0x1c91d
movq $-0x1, %rax
movq 0xa0(%rsp), %rcx
testb $0x1, (%rcx)
movq 0xa8(%rsp), %rcx
movl (%rcx), %ecx
jne 0x1c938
xorl %edx, %edx
jmp 0x1c97a
testl %ecx, %ecx
jle 0x1c973
movq 0x98(%rsp), %rdx
movq (%rdx), %rdx
xorl %edi, %edi
xorl %r8d, %r8d
xorl %esi, %esi
movl (%rdx,%r8,4), %r9d
movl %r9d, %r10d
shrl $0x4, %r10d
testb $0xd, %r9b
cmovnel %edi, %r10d
addl %r10d, %esi
incq %r8
cmpq %r8, %rcx
jne 0x1c94e
decl %esi
movslq %esi, %rdx
jmp 0x1c97a
movq $-0x1, %rdx
testq %rcx, %rcx
je 0x1c9b4
testl %ebp, %ebp
je 0x1c9b4
movq 0x78(%rsp), %rcx
addq (%rcx), %rdx
addq 0x68(%rsp), %rax
xorl %ecx, %ecx
subq %rax, %rdx
setg %cl
movq $-0x1, %rax
cmovgeq %rcx, %rax
leaq (%rdx,%rax), %rdi
movq %rbx, %rsi
callq 0x1e291
jmp 0x1ca38
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1c9c7
movq 0x10(%rbx), %rax
jmp 0x1ca26
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xbdd2(%rip), %rdx      # 0x287dc
leaq 0xbddd(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x30, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1ca4b
movq 0x10(%rbx), %rax
jmp 0x1caaa
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xbd4e(%rip), %rdx      # 0x287dc
leaq 0xbd59(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq 0x8(%rsp), %r10
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
btl $0x8, 0x38(%rsp)
jb 0x1cc0e
movl (%r10), %r14d
testl %ebp, %ebp
setne %cl
cmpl $0x0, 0x88(%rsp)
setne %al
andb %cl, %al
cmpl $0x0, 0x5c(%rsp)
jne 0x1cc28
xorl %ebp, %ebp
testb %al, %al
je 0x1cb41
movl $0x200, %eax            # imm = 0x200
movq 0x70(%rsp), %rcx
andl 0x48(%rcx), %eax
movl 0x24(%rsp), %ecx
andl $0x2, %ecx
orl %eax, %ecx
jne 0x1cb41
movq 0x10(%rsp), %rdx
movl (%rdx), %eax
movl %eax, %ecx
andl $0xf, %ecx
addl $-0x3, %ecx
shrl $0x4, %eax
xorl %ebp, %ebp
cmpl $0x2, %ecx
cmovbl %eax, %ebp
movslq 0x4(%rsp), %rax
movl -0x4(%rdx,%rax,4), %eax
movl %eax, %ecx
andl $0xf, %ecx
addl $-0x3, %ecx
cmpl $0x1, %ecx
ja 0x1cb41
shrl $0x4, %eax
subl %eax, %r14d
movl %r14d, %eax
subl %ebp, %eax
movslq %eax, %r15
movq (%rbx), %rax
leaq (%rax,%r15), %rcx
incq %rcx
cmpq %rcx, 0x8(%rbx)
jae 0x1cbb9
addq %r15, %rax
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xbc3d(%rip), %rdx      # 0x287dc
leaq 0xc640(%rip), %r8       # 0x291e6
movl $0x1c, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
cmpl %ebp, %r14d
jle 0x1cbf4
movl %ebp, %eax
movl %r14d, %ecx
leaq 0x14176(%rip), %rdx     # 0x30d40
movq 0x18(%r10), %rsi
movsbq (%rsi,%rax), %rsi
movb (%rdx,%rsi), %sil
movq (%rbx), %rdi
movq 0x10(%rbx), %r8
leaq 0x1(%rdi), %r9
movq %r9, (%rbx)
movslq %edi, %rdi
movb %sil, (%r8,%rdi)
incq %rax
cmpq %rax, %rcx
jne 0x1cbca
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1cdce
movq 0x10(%rbx), %rax
jmp 0x1ce32
movq (%rbx), %rcx
leaq 0x4(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1cd50
movq 0x10(%rbx), %rax
jmp 0x1cdb0
xorl %ebp, %ebp
testb %al, %al
je 0x1cc7d
movl $0x200, %eax            # imm = 0x200
movq 0x70(%rsp), %rcx
andl 0x48(%rcx), %eax
movl 0x24(%rsp), %ecx
andl $0x2, %ecx
orl %eax, %ecx
jne 0x1cc7d
movq 0x10(%rsp), %rsi
movl (%rsi), %eax
movl %eax, %ecx
andl $0xf, %ecx
addl $-0x3, %ecx
shrl $0x4, %eax
xorl %edx, %edx
cmpl $0x2, %ecx
cmovael %edx, %eax
subl %eax, %r14d
movslq 0x4(%rsp), %rax
movl -0x4(%rsi,%rax,4), %ebp
movl %ebp, %eax
andl $0xf, %eax
addl $-0x3, %eax
shrl $0x4, %ebp
cmpl $0x2, %eax
cmovael %edx, %ebp
movl %r14d, %eax
subl %ebp, %eax
movslq %eax, %r15
movq (%rbx), %rax
leaq (%rax,%r15), %rcx
incq %rcx
cmpq %rcx, 0x8(%rbx)
jae 0x1ccf5
addq %r15, %rax
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xbb01(%rip), %rdx      # 0x287dc
leaq 0xc504(%rip), %r8       # 0x291e6
movl $0x1c, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
leal -0x1(%r14), %r12d
cmpl %ebp, %r14d
jle 0x1cd36
movl %r12d, %eax
leaq 0x14038(%rip), %rcx     # 0x30d40
movl %r14d, %edx
movq 0x18(%r10), %rsi
movsbq (%rsi,%rax), %rsi
movb (%rcx,%rsi), %sil
movq (%rbx), %rdi
movq 0x10(%rbx), %r8
leaq 0x1(%rdi), %r9
movq %r9, (%rbx)
movslq %edi, %rdi
movb %sil, (%r8,%rdi)
decq %rax
decl %edx
cmpl %edx, %ebp
jl 0x1cd0b
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1cefa
movq 0x10(%rbx), %rax
jmp 0x1cf5e
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xba49(%rip), %rdx      # 0x287dc
leaq 0xc456(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movb $0x2a, 0x2(%rax,%rcx)
movw $0x92a, (%rax,%rcx)     # imm = 0x92A
movq (%rbx), %rax
addq $0x3, %rax
movq %rax, (%rbx)
addq 0x10(%rbx), %rax
jmp 0x1d14b
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb9cb(%rip), %rdx      # 0x287dc
leaq 0xb9d6(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
cmpq $0x0, 0x20(%r10)
movq (%rbx), %rcx
je 0x1d035
leaq (%rcx,%r15), %rax
incq %rax
cmpq %rax, 0x8(%rbx)
jae 0x1cebf
addq %r15, %rcx
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb937(%rip), %rdx      # 0x287dc
leaq 0xc33a(%rip), %r8       # 0x291e6
movl $0x1c, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
cmpl %ebp, %r14d
jle 0x1cee9
movl %ebp, %eax
movl %r14d, %ecx
movq 0x20(%r10), %rdx
movb (%rdx,%rax), %dl
movq (%rbx), %rsi
movq 0x10(%rbx), %rdi
leaq 0x1(%rsi), %r8
movq %r8, (%rbx)
movb %dl, (%rdi,%rsi)
incq %rax
cmpq %rax, %rcx
jne 0x1cec9
movq 0x10(%rbx), %rax
addq (%rbx), %rax
movq 0x28(%rsp), %r15
jmp 0x1d027
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb89f(%rip), %rdx      # 0x287dc
leaq 0xb8aa(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
cmpq $0x0, 0x20(%r10)
movq (%rbx), %rcx
je 0x1d04d
leaq (%rcx,%r15), %rax
incq %rax
cmpq %rax, 0x8(%rbx)
jae 0x1cfeb
addq %r15, %rcx
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb80b(%rip), %rdx      # 0x287dc
leaq 0xc20e(%rip), %r8       # 0x291e6
movl $0x1c, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
cmpl %ebp, %r14d
jle 0x1d016
movl %r12d, %eax
movq 0x20(%r10), %rcx
movb (%rcx,%rax), %cl
movq (%rbx), %rdx
movq 0x10(%rbx), %rsi
leaq 0x1(%rdx), %rdi
movq %rdi, (%rbx)
movb %cl, (%rsi,%rdx)
decq %rax
decl %r14d
cmpl %r14d, %ebp
jl 0x1cff3
movq 0x10(%rbx), %rax
addq (%rbx), %rax
movq 0x28(%rsp), %r15
movl 0x20(%rsp), %r12d
movl 0x4(%rsp), %ebp
movq 0x10(%rsp), %r14
jmp 0x1d14b
leaq 0x1(%rcx), %rdx
cmpq 0x8(%rbx), %rdx
movq 0x28(%rsp), %r15
jae 0x1d065
movq 0x10(%rbx), %rax
jmp 0x1d134
leaq 0x1(%rcx), %rdx
cmpq 0x8(%rbx), %rdx
movq 0x28(%rsp), %r15
jae 0x1d0cb
movq 0x10(%rbx), %rax
jmp 0x1d12f
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 %rsi, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb734(%rip), %rdx      # 0x287dc
leaq 0xb73f(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
jmp 0x1d134
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 %rsi, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb6ce(%rip), %rdx      # 0x287dc
leaq 0xb6d9(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movl 0x20(%rsp), %r12d
movl 0x4(%rsp), %ebp
movq 0x10(%rsp), %r14
movq %rdx, (%rbx)
movb $0x2a, (%rax,%rcx)
movq 0x10(%rbx), %rax
addq (%rbx), %rax
movb $0x0, (%rax)
testl %ebp, %ebp
je 0x1d32d
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1d169
movq 0x10(%rbx), %rax
jmp 0x1d1c4
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb630(%rip), %rdx      # 0x287dc
leaq 0xc03d(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a69, 0x4(%rax,%rcx) # imm = 0x3A69
movl $0x3a4d4e09, (%rax,%rcx) # imm = 0x3A4D4E09
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
movl 0x24(%rsp), %edi
shrl $0xa, %edi
movq %rbx, %rsi
callq 0x1e123
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1d207
movq 0x10(%rbx), %rax
jmp 0x1d262
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb592(%rip), %rdx      # 0x287dc
leaq 0xbf9f(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a5a, 0x4(%rax,%rcx) # imm = 0x3A5A
movl $0x3a444d09, (%rax,%rcx) # imm = 0x3A444D09
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
movslq %ebp, %rax
leaq (%r14,%rax,4), %r14
movq %r14, %rdi
callq 0x3100
movq (%rbx), %rdi
movslq %eax, %r15
leaq (%rdi,%r15), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0x1d2ab
movq 0x10(%rbx), %rax
jmp 0x1d306
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb4ee(%rip), %rdx      # 0x287dc
leaq 0xbefb(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3260
addq (%rbx), %r15
movq %r15, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r15)
movq 0x8(%rsp), %r10
movq 0x28(%rsp), %r15
cmpl $0x0, 0x34(%rsp)
js 0x1d3d8
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1d34b
movq 0x10(%rbx), %rax
jmp 0x1d3a6
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb44e(%rip), %rdx      # 0x287dc
leaq 0xbe5b(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a69, 0x4(%rax,%rcx) # imm = 0x3A69
movl $0x3a534109, (%rax,%rcx) # imm = 0x3A534109
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
movl 0x34(%rsp), %edi
movq %rbx, %rsi
callq 0x1e123
movq 0x8(%rsp), %r10
testl %r12d, %r12d
js 0x1d480
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1d3f4
movq 0x10(%rbx), %rax
jmp 0x1d44f
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb3a5(%rip), %rdx      # 0x287dc
leaq 0xbdb2(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a69, 0x4(%rax,%rcx) # imm = 0x3A69
movl $0x3a535809, (%rax,%rcx) # imm = 0x3A535809
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
movl %r12d, %edi
movq %rbx, %rsi
callq 0x1e123
movq 0x8(%rsp), %r10
leaq 0x139f9(%rip), %rax     # 0x30e80
cmpb $0x0, (%rax)
je 0x1d5c5
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1d4a3
movq 0x10(%rbx), %rax
jmp 0x1d4fe
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb2f6(%rip), %rdx      # 0x287dc
leaq 0xbd03(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a5a, 0x4(%rax,%rcx) # imm = 0x3A5A
movl $0x3a475209, (%rax,%rcx) # imm = 0x3A475209
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
leaq 0x1395a(%rip), %rdi     # 0x30e80
callq 0x3100
movq (%rbx), %rdi
movslq %eax, %r14
leaq (%rdi,%r14), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0x1d544
movq 0x10(%rbx), %rax
jmp 0x1d59f
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb255(%rip), %rdx      # 0x287dc
leaq 0xbc62(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
leaq 0x138d7(%rip), %rsi     # 0x30e80
movq %r14, %rdx
callq 0x3260
addq (%rbx), %r14
movq %r14, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r14)
movq 0x8(%rsp), %r10
btl $0x8, 0x38(%rsp)
jb 0x1dc7f
movl 0x94(%rsp), %eax
testl %eax, %eax
jle 0x1dc52
movl 0x88(%rsp), %esi
movl %eax, %edi
imulq $0x38, %rsi, %rax
imulq $0x38, %rdi, %rcx
xorl %edx, %edx
cmpq %rdx, %rax
je 0x1d600
testb $0x1, 0xd(%r15,%rdx)
je 0x1d60e
addq $0x38, %rdx
cmpq %rdx, %rcx
jne 0x1d5f3
jmp 0x1dc52
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1d621
movq 0x10(%rbx), %rax
jmp 0x1d68d
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 %rsi, %r14
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%rbx)
movq %rdi, %r12
movq 0x10(%rbx), %rdi
leaq 0xb172(%rip), %rdx      # 0x287dc
leaq 0xbb7f(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %r12, %rdi
movq %r14, %rsi
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a5a, 0x4(%rax,%rcx) # imm = 0x3A5A
movl $0x3a415309, (%rax,%rcx) # imm = 0x3A415309
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
xorl %r12d, %r12d
leaq 0xb820(%rip), %rbp      # 0x28ed8
movq %rsi, 0x10(%rsp)
movq %rdi, 0x38(%rsp)
cmpq %rsi, %r12
je 0x1dc46
imulq $0x38, %r12, %r14
addq %r15, %r14
testb $0x1, 0xd(%r14)
jne 0x1dc46
movq 0x48(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x8(%r14), %rcx
leaq (%rcx,%rcx,4), %rcx
movq 0x18(%rax,%rcx,8), %r15
movq %r15, %rdi
callq 0x3100
movq (%rbx), %rdi
movslq %eax, %r13
leaq (%rdi,%r13), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0x1d714
movq 0x10(%rbx), %rax
jmp 0x1d76f
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xb085(%rip), %rdx      # 0x287dc
movl $0x25, %ecx
leaq 0xba8d(%rip), %r8       # 0x291f0
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3260
addq (%rbx), %r13
movq %r13, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r13)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1d79f
movq 0x10(%rbx), %rax
jmp 0x1d7fe
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xaffa(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xb000(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x2c, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq (%r14), %rdi
incq %rdi
movq %rbx, %rsi
callq 0x1e291
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1d831
movq 0x10(%rbx), %rax
jmp 0x1d890
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xaf68(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xaf6e(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x2c, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl 0x10(%r14), %eax
andl $0x1, %eax
leaq 0xb09d(%rip), %rcx      # 0x2894d
movb (%rax,%rcx), %r15b
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1d8c7
movq 0x10(%rbx), %rax
jmp 0x1d926
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xaed2(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xaed8(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb %r15b, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1d94b
movq 0x10(%rbx), %rax
jmp 0x1d9aa
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xae4e(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xae54(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x2c, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
cmpl $0x0, 0x14(%r14)
jle 0x1da80
xorl %r15d, %r15d
movq 0x18(%r14), %rax
movl (%rax,%r15,4), %edi
shrl $0x4, %edi
movq %rbx, %rsi
callq 0x1e123
movq 0x18(%r14), %rax
movl (%rax,%r15,4), %eax
andl $0xf, %eax
movb (%rax,%rbp), %r13b
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1d9ff
movq 0x10(%rbx), %rax
jmp 0x1da5e
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xad9a(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xada0(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb %r13b, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
incq %r15
movslq 0x14(%r14), %rax
cmpq %rax, %r15
jl 0x1d9ca
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1da93
movq 0x10(%rbx), %rax
jmp 0x1daf2
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xad06(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xad0c(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movl 0x1c(%rsp), %r13d
movq 0x28(%rsp), %r15
movq %rcx, (%rbx)
movb $0x2c, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl 0x10(%r14), %eax
shrl $0x2, %eax
movzbl %al, %edi
movq %rbx, %rsi
callq 0x1e123
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1db33
movq 0x10(%rbx), %rax
jmp 0x1db92
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xac66(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xac6c(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x2c, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movl 0x10(%r14), %edi
shrl $0xa, %edi
movq %rbx, %rsi
callq 0x1e123
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1dbc6
movq 0x10(%rbx), %rax
jmp 0x1dc25
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xabd3(%rip), %rdx      # 0x287dc
movl $0x37, %ecx
leaq 0xabd9(%rip), %r8       # 0x287ee
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq 0x8(%rsp), %r10
movq 0x10(%rsp), %rsi
movq 0x38(%rsp), %rdi
movq %rcx, (%rbx)
movb $0x3b, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
incq %r12
cmpq %rdi, %r12
jne 0x1d6c2
cmpl $0x0, 0x60(%rsp)
jle 0x1dc7f
cvtsi2sdl 0x34(%rsp), %xmm0
cvtsi2sdl 0x60(%rsp), %xmm1
divsd %xmm1, %xmm0
leaq 0xb2aa(%rip), %rsi      # 0x28f1a
movq %rbx, %rdi
movb $0x1, %al
callq 0xebb4
movq 0x8(%rsp), %r10
movq 0xb8(%rsp), %r15
testq %r15, %r15
je 0x1ddbd
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1dca3
movq 0x10(%rbx), %rax
jmp 0x1dcfe
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xaaf6(%rip), %rdx      # 0x287dc
leaq 0xb503(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a5a, 0x4(%rax,%rcx) # imm = 0x3A5A
movl $0x3a415809, (%rax,%rcx) # imm = 0x3A415809
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
movq %r15, %rdi
callq 0x3100
movq (%rbx), %rdi
movslq %eax, %r14
leaq (%rdi,%r14), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0x1dd40
movq 0x10(%rbx), %rax
jmp 0x1dd9b
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xaa59(%rip), %rdx      # 0x287dc
leaq 0xb466(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3260
addq (%rbx), %r14
movq %r14, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r14)
movq 0x8(%rsp), %r10
cmpq $0x0, 0x10(%r10)
je 0x1deee
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1dddb
movq 0x10(%rbx), %rax
jmp 0x1de3f
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xa9be(%rip), %rdx      # 0x287dc
leaq 0xa9c9(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq 0x8(%rsp), %r10
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0x9, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
movq 0x10(%r10), %r14
movq %r14, %rdi
callq 0x3100
movq (%rbx), %rdi
movslq %eax, %r15
leaq (%rdi,%r15), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0x1de76
movq 0x10(%rbx), %rax
jmp 0x1ded1
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xa923(%rip), %rdx      # 0x287dc
leaq 0xb330(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x3260
addq (%rbx), %r15
movq %r15, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r15)
testl %r13d, %r13d
js 0x1e08d
movl $0x100, %eax            # imm = 0x100
movq 0x70(%rsp), %rcx
andl 0x48(%rcx), %eax
je 0x1e08d
movq 0x48(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %rcx
leaq (%rcx,%rcx,4), %r14
movq 0x20(%rax,%r14,8), %rax
testq %rax, %rax
je 0x1e08d
cmpb $0x0, (%rax)
je 0x1e08d
movq (%rbx), %rcx
leaq 0x7(%rcx), %rax
cmpq 0x8(%rbx), %rax
jae 0x1df46
movq 0x10(%rbx), %rax
jmp 0x1dfa1
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xa853(%rip), %rdx      # 0x287dc
leaq 0xb260(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
movw $0x3a5a, 0x4(%rax,%rcx) # imm = 0x3A5A
movl $0x3a525809, (%rax,%rcx) # imm = 0x3A525809
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x6(%rax), %rdx
movq %rdx, (%rbx)
movb $0x0, 0x6(%rcx,%rax)
movq (%rbx), %r12
movq 0x48(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x20(%rax,%r14,8), %r15
movq %r15, %rdi
callq 0x3100
movslq %eax, %r14
leaq (%r12,%r14), %rax
incq %rax
cmpq 0x8(%rbx), %rax
jae 0x1dff4
movq 0x10(%rbx), %rax
movq %r12, %rdi
jmp 0x1e04f
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xa7a5(%rip), %rdx      # 0x287dc
leaq 0xb1b2(%rip), %r8       # 0x291f0
movl $0x25, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
addq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3260
addq (%rbx), %r14
movq %r14, (%rbx)
movq 0x10(%rbx), %rax
movb $0x0, (%rax,%r14)
movslq %r12d, %rax
movq (%rbx), %rcx
cmpq %rax, %rcx
jbe 0x1e08d
movq 0x10(%rbx), %rdx
cmpb $0x9, (%rdx,%rax)
jne 0x1e088
movb $0x20, (%rdx,%rax)
movq (%rbx), %rcx
incq %rax
jmp 0x1e072
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
cmpq 0x8(%rbx), %rcx
jae 0x1e0a0
movq 0x10(%rbx), %rax
jmp 0x1e0ff
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, 0x8(%rbx)
movq 0x10(%rbx), %rdi
leaq 0xa6f9(%rip), %rdx      # 0x287dc
leaq 0xa704(%rip), %r8       # 0x287ee
movl $0x37, %ecx
callq 0x2324c
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, (%rbx)
movb $0xa, (%rax,%rdx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
movb $0x0, (%rcx,%rax)
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq