// File: /workspace/github_c_makefile_star2_O3/lh3[P]pre-pe/pre-lianti.c
// Function: lt_process
void lt_process(const lt_global_t *g, bseq1_t s[2])
{
	int i, k, n_hits[2], mlen;
	lt_sc_hit_t hits[2][MAX_BINDING_HITS];
	char *rseq, *rqual, *xseq, *xqual, *bc;

	mlen = s[0].l_seq > s[1].l_seq? s[0].l_seq : s[1].l_seq;
	rseq = (char*)alloca(mlen + 1);
	rqual = (char*)alloca(mlen + 1);
	xseq = (char*)alloca(s[0].l_seq + s[1].l_seq + 1);
	xqual = (char*)alloca(s[0].l_seq + s[1].l_seq + 1);
	bc = (char*)alloca(mlen + 1);

	// trim heading and trailing N
	for (k = 0; k < 2; ++k) {
		bseq1_t *sk = &s[k];
		for (i = sk->l_seq - 1; i >= 0; --i) // trim trailing "N"
			if (sk->seq[i] != 'N') break;
		sk->l_seq = i + 1;
		sk->seq[sk->l_seq] = sk->qual[sk->l_seq] = 0;
		for (i = 0; i < sk->l_seq; ++i) // trim heading "N"
			if (sk->seq[i] != 'N') break;
		if (i) trim_bseq_5(sk, i);
	}
	// trim Illumina PE adapters
	trim_adap(&s[0], lt_adapter1, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
	trim_adap(&s[1], lt_adapter2, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
	// find binding motifs
	for (k = 0; k < 2; ++k)
		n_hits[k] = lt_sc_test(g->sc_bind, s[k].seq, MAX_BINDING_HITS, hits[k]);
	if (s[0].l_seq < g->opt.min_seq_len || s[1].l_seq < g->opt.min_seq_len) {
		s[0].type = s[1].type = LT_SHORT_SEQ;
	} else if (n_hits[0] + n_hits[1] == 0) {
		s[0].type = s[1].type = LT_NO_BINDING;
	} else if (n_hits[0] == MAX_BINDING_HITS || n_hits[1] == MAX_BINDING_HITS) {
		s[0].type = s[1].type = LT_TOO_MANY_BINDING;
	} else if (n_hits[0] > 0 && n_hits[1] > 0) { // both ends contain the binding motif
		int bpos[2], l_prom[2];
		s[0].dbl_bind = s[1].dbl_bind = 1;
		for (i = 0; i < 2; ++i) {
			bpos[i] = hits[i][n_hits[i] - 1].pos;
			l_prom[i] = lt_ue_rev1(bpos[i], s[i].seq, s[i].qual, g->sc_prom->l, lt_promoter, 0, g->opt.min_bc_len, g->opt.max_bc_pen);
			if (l_prom[i] != bpos[i] && l_prom[i] != g->sc_prom->l)
				l_prom[i] = 0;
			if (l_prom[i] < g->opt.min_bc_len) l_prom[i] = 0;
		}
		if (l_prom[0] == 0 && l_prom[1] == 0) {
			s[0].type = s[1].type = LT_CHIMERA;
		} else {
			int w = l_prom[0] < l_prom[1]? 1 : 0;
			trim_bseq_5(&s[w], bpos[w] + g->sc_bind->l);
			n_hits[w] = 0;
		}
	}
	// find end overlaps
	if ((n_hits[0] == 0 || n_hits[1] == 0) && s[0].type == LT_UNKNOWN) {
		int f, r, fpos, bpos, l_bc_prom;
		lt_sc_hit_t hits_prom;
		f = n_hits[0]? 0 : 1;
		r = f^1;
		bpos = hits[f][n_hits[f] - 1].pos;
		fpos = bpos + g->sc_bind->l;
		// barcode
		l_bc_prom = lt_ue_rev1(bpos, s[f].seq, s[f].qual, g->sc_prom->l, lt_promoter, 0, g->opt.min_bc_len, g->opt.max_bc_pen); // test if "barcode" is actually teh T7 promotor
		if (l_bc_prom >= g->opt.min_bc_len) {
			bc[0] = '*', bc[1] = 0;
		} else if (bpos < g->opt.bc_len) {
			strncpy(bc, s[f].seq, bpos);
			bc[bpos] = 0;
		} else {
			strncpy(bc, s[f].seq + (bpos - g->opt.bc_len), g->opt.bc_len);
			bc[g->opt.bc_len] = 0;
		}
		s[0].bc = strdup(bc);
		s[1].bc = strdup(bc);
		// test merge and promoter sequences
		if (lt_sc_test(g->sc_prom, &s[f].seq[fpos], 1, &hits_prom) > 0) {
			s[0].type = s[1].type = LT_POST_PROMOTER;
		} else {
			int n_fh, n_rh, n_ch;
			uint64_t fh[2], rh[2], ch[2];
			// reverse the other read
			lt_seq_revcomp(s[r].l_seq, s[r].seq, rseq);
			lt_seq_rev(s[r].l_seq, s[r].qual, rqual);
			// find overlaps
			n_fh = lt_ue_for(s[f].l_seq - bpos, &s[f].seq[bpos], &s[f].qual[bpos], s[r].l_seq, rseq, rqual, g->opt.max_ovlp_pen, g->opt.min_ovlp_len, 2, fh);
			n_rh = lt_ue_rev(s[f].l_seq - bpos, &s[f].seq[bpos], &s[f].qual[bpos], s[r].l_seq, rseq, rqual, g->opt.max_ovlp_pen, g->opt.min_ovlp_len, 2, rh);
			n_ch = lt_ue_contained(s[f].l_seq - bpos, &s[f].seq[bpos], &s[f].qual[bpos], s[r].l_seq, rseq, rqual, g->opt.max_ovlp_pen, 2, ch);
			if (n_fh + n_rh + n_ch > 1) {
				s[0].type = s[1].type = LT_AMBI_MERGE;
			} else if (n_fh + n_rh + n_ch == 0) {
				s[0].type = s[1].type = LT_NO_MERGE;
			} else {
				int x = 0;
				s[0].type = s[1].type = LT_MERGED;
				if (n_fh == 1) {
					/*  GGG19bp------------------->
					                     <--------------- */
					int l = (uint32_t)fh[0], st = fh[0]>>32;
					for (i = fpos; i < bpos + st; ++i)
						xseq[x] = s[f].seq[i], xqual[x++] = s[f].qual[i];
					for (i = fpos < bpos + st? 0 : fpos - (bpos + st); i < l; ++i) {
						int j = bpos + st + i, y;
						y = merge_base(g->opt.max_qual, s[f].seq[j], s[f].qual[j], rseq[i], rqual[i]);
						xseq[x] = (uint8_t)y, xqual[x++] = y>>8;
					}
					if (l < s[r].l_seq) {
						for (i = l; i < s[r].l_seq; ++i)
							xseq[x] = rseq[i], xqual[x++] = rqual[i];
					} else { // FIXME: please check pre-meta.c; this block is probably buggy!!!
						for (i = bpos + l; i < s[f].l_seq; ++i)
							xseq[x] = s[f].seq[i], xqual[x++] = s[f].qual[i];
					}
				} else if (n_rh == 1) {
					/*      GGG19bp--------------------->
					   <--------------------------           */
					int l = (uint32_t)rh[0], st = rh[0]>>32, l2;
					for (i = fpos; i < s[f].l_seq - st - l; ++i)
						xseq[x] = s[f].seq[i], xqual[x++] = s[f].qual[i];
					l2 = fpos < s[f].l_seq - st - l? l : s[f].l_seq - st - fpos;
					for (i = s[r].l_seq - l2; i < s[r].l_seq; ++i) {
						int j = i - s[r].l_seq + (s[f].l_seq - st), y;
						y = merge_base(g->opt.max_qual, s[f].seq[j], s[f].qual[j], rseq[i], rqual[i]);
						xseq[x] = (uint8_t)y, xqual[x++] = y>>8;
					}
				} else if (n_ch == 1) {
					/*    GGG19bp---------------->
					   <-----------------------------    */
					int j, st = ch[0]>>32;
					for (j = fpos; j < s[f].l_seq; ++j) {
						int i = j + st - bpos, y;
						y = merge_base(g->opt.max_qual, s[f].seq[j], s[f].qual[j], rseq[i], rqual[i]);
						xseq[x] = (uint8_t)y, xqual[x++] = y>>8;
					}
				}
				xseq[x] = xqual[x] = 0;
				for (i = 0; i < x; ++i)
					if (xseq[i] == 'N' || xseq[i] == 'n') break;
				if (i != x) s[0].type = s[1].type = LT_AMBI_BASE;
				else if (x < g->opt.min_seq_len) s[0].type = s[1].type = LT_SHORT_MERGE;
				free(s[0].seq); free(s[0].qual);
				s[0].seq = strdup(xseq);
				s[0].qual = strdup(xqual);
				s[0].l_seq = x;
				s[1].l_seq = 0;
			}
		}
		if (s[0].type == LT_AMBI_MERGE || s[0].type == LT_NO_MERGE) {
			int n_ambi = 0;
			trim_bseq_5(&s[f], fpos);
			for (k = 0; k < 2; ++k) {
				for (i = 0; i < s[k].l_seq; ++i)
					if (s[k].seq[i] == 'N') ++n_ambi;
			}
			if (n_ambi) s[0].type = s[1].type = LT_AMBI_BASE;
			else if (s[f].l_seq < g->opt.min_seq_len || s[r].l_seq < g->opt.min_seq_len)
				s[0].type = s[1].type = LT_SHORT_PE;
			if (f == 1) {
				char *tmp;
				tmp = s[f].seq, s[f].seq = s[r].seq, s[r].seq = tmp;
				tmp = s[f].qual, s[f].qual = s[r].qual, s[r].qual = tmp;
				i = s[f].l_seq, s[f].l_seq = s[r].l_seq, s[r].l_seq = i;
				f = 0, r = 1;
			}
		}
	}
	if (s[0].type == LT_MERGED || s[0].type == LT_NO_MERGE || s[0].type == LT_AMBI_MERGE || s[0].type == LT_NO_BINDING) {
		if (s->type == LT_NO_BINDING) {
			for (i = 0; i < 2; ++i) {
				trim_adap(&s[i], lt_oligo_for, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 0);
				trim_adap(&s[i], lt_bind_rev, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
				trim_adap(&s[i], lt_oligo_rev, 1, g->opt.min_adap_len, g->opt.max_adap_pen, 0);
				trim_adap(&s[i], lt_bind, 1, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
			}
		} else {
			trim_adap(&s[0], lt_oligo_for, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 0);
			trim_adap(&s[0], lt_bind_rev, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
			if (s->type != LT_MERGED) {
				trim_adap(&s[1], lt_bind_rev, 0, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
				trim_adap(&s[1], lt_oligo_rev, 1, g->opt.min_adap_len, g->opt.max_adap_pen, 0);
				trim_adap(&s[1], lt_bind, 1, g->opt.min_adap_len, g->opt.max_adap_pen, 1);
			}
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rsi, %r14
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl (%rsi), %edx
andl %ecx, %edx
andl 0x28(%rsi), %ecx
cmpl %ecx, %edx
movl %ecx, %eax
cmoval %edx, %eax
movq %rdi, -0x48(%rbp)
addl $0x10, %eax
andl $-0x10, %eax
movq %rsp, %rsi
subq %rax, %rsi
movq %rsi, -0x60(%rbp)
movq %rsi, %rsp
movq %rsp, %rsi
subq %rax, %rsi
movq %rsi, -0x50(%rbp)
movq %rsi, %rsp
addl %edx, %ecx
addl $0x10, %ecx
andl $-0x10, %ecx
movq %rsp, %rdx
subq %rcx, %rdx
movq %rdx, -0x90(%rbp)
movq %rdx, %rsp
movq %rsp, %rdx
subq %rcx, %rdx
movq %rdx, -0x80(%rbp)
movq %rdx, %rsp
movq %rsp, %rcx
subq %rax, %rcx
movq %rcx, -0x70(%rbp)
movq %rcx, %rsp
movb $0x1, %bl
xorl %edi, %edi
movl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
xorl %eax, %eax
movq %r14, -0x38(%rbp)
leaq (%rax,%rax,4), %rax
leaq (%r14,%rax,8), %r15
movl (%r15), %eax
movl %eax, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
testq %rdx, %rdx
jle 0x3877
leaq -0x1(%rdx), %rcx
movq 0x10(%r15), %rsi
cmpb $0x4e, -0x1(%rsi,%rdx)
movq %rcx, %rdx
je 0x3856
incl %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
jmp 0x3879
xorl %ecx, %ecx
andl $0x80000000, %eax       # imm = 0x80000000
orl %ecx, %eax
movl %eax, (%r15)
movq 0x18(%r15), %rax
movl %ecx, %ecx
movb %dil, (%rax,%rcx)
movq 0x10(%r15), %rax
movl (%r15), %ecx
andq %r13, %rcx
movb %dil, (%rax,%rcx)
movl (%r15), %eax
andq %r13, %rax
je 0x392a
movq 0x10(%r15), %rcx
xorl %r12d, %r12d
cmpb $0x4e, (%rcx,%r12)
jne 0x38c0
incq %r12
cmpq %r12, %rax
jne 0x38ae
movl %eax, %r12d
testl %r12d, %r12d
je 0x392a
movq 0x10(%r15), %rdi
movl %r12d, %r14d
leaq (%rdi,%r14), %rsi
subl %r12d, %eax
movslq %eax, %rdx
callq 0x21d0
movq 0x18(%r15), %rdi
addq %rdi, %r14
movl (%r15), %edx
andq %r13, %rdx
movslq %r12d, %rax
subq %rax, %rdx
movq %r14, %rsi
movq -0x38(%rbp), %r14
callq 0x21d0
xorl %edi, %edi
movl (%r15), %eax
movl %eax, %ecx
subl %r12d, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %eax       # imm = 0x80000000
orl %ecx, %eax
movl %eax, (%r15)
movq 0x18(%r15), %rax
movb %dil, (%rax,%rcx)
movq 0x10(%r15), %rax
movl (%r15), %ecx
andq %r13, %rcx
movb %dil, (%rax,%rcx)
movl $0x1, %eax
testb $0x1, %bl
movl $0x0, %ebx
jne 0x3843
movq 0x481c(%rip), %rbx      # 0x8160
movq -0x48(%rbp), %rax
movl 0x18(%rax), %ecx
movq %rcx, -0x40(%rbp)
movl 0x1c(%rax), %r12d
movq %rbx, %rdi
callq 0x20c0
movl (%r14), %r15d
movl %r15d, %r13d
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
movq 0x10(%r14), %rsi
movq 0x18(%r14), %rdx
leaq -0xc0(%rbp), %r10
movl %r13d, %edi
movq %rdx, -0x30(%rbp)
movl %eax, %ecx
movq %rbx, %r8
xorl %r9d, %r9d
pushq %r10
pushq $0x4
pushq %r12
pushq -0x40(%rbp)
callq 0x30c5
addq $0x20, %rsp
testl %eax, %eax
jle 0x3a0a
decl %eax
movq -0xc0(%rbp,%rax,8), %rcx
movq %rcx, %rax
shrq $0x20, %rax
subl %eax, %r13d
cmpl %r12d, %r13d
jle 0x39ee
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %r15d      # imm = 0x80000000
orl %ecx, %r15d
movq -0x38(%rbp), %r14
movl %r15d, (%r14)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andq %rcx, %rax
xorl %edx, %edx
movq -0x30(%rbp), %rsi
movb %dl, (%rsi,%rax)
movq 0x10(%r14), %rax
movl (%r14), %esi
andq %rcx, %rsi
movb %dl, (%rax,%rsi)
jmp 0x3a0a
sarq $0x20, %rcx
movq -0x30(%rbp), %rdi
addq %rcx, %rdi
movslq %r13d, %rdx
movl $0x22, %esi
callq 0x2110
movq -0x38(%rbp), %r14
movq 0x4757(%rip), %rbx      # 0x8168
movq -0x48(%rbp), %rax
movl 0x18(%rax), %ecx
movq %rcx, -0x40(%rbp)
movl 0x1c(%rax), %r12d
movq %rbx, %rdi
callq 0x20c0
movl 0x28(%r14), %r15d
movl %r15d, %r13d
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
movq 0x38(%r14), %rsi
movq 0x40(%r14), %rdx
movl %r13d, %edi
movq %rdx, -0x30(%rbp)
movl %eax, %ecx
movq %rbx, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
pushq %r12
pushq -0x40(%rbp)
callq 0x30c5
addq $0x20, %rsp
testl %eax, %eax
jle 0x3ad9
decl %eax
movq -0xc0(%rbp,%rax,8), %rcx
movq %rcx, %rax
shrq $0x20, %rax
subl %eax, %r13d
cmpl %r12d, %r13d
jle 0x3abd
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %r15d      # imm = 0x80000000
orl %ecx, %r15d
movq -0x38(%rbp), %r14
movl %r15d, 0x28(%r14)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andq %rcx, %rax
xorl %edx, %edx
movq -0x30(%rbp), %rsi
movb %dl, (%rsi,%rax)
movq 0x38(%r14), %rax
movl 0x28(%r14), %esi
andq %rcx, %rsi
movb %dl, (%rax,%rsi)
jmp 0x3ad9
sarq $0x20, %rcx
movq -0x30(%rbp), %rdi
addq %rcx, %rdi
movslq %r13d, %rdx
movl $0x22, %esi
callq 0x2110
movq -0x38(%rbp), %r14
movq -0x48(%rbp), %r15
movq 0x30(%r15), %rbx
movq 0x10(%r14), %rsi
leaq -0x170(%rbp), %rcx
movq %rbx, %rdi
movl $0x3, %edx
callq 0x2cf5
movl %eax, -0x98(%rbp)
movq 0x38(%r14), %rsi
leaq -0x164(%rbp), %rcx
movq %rbx, %rdi
movl $0x3, %edx
callq 0x2cf5
movl %eax, -0x94(%rbp)
movl (%r14), %eax
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl 0x8(%r15), %edx
cmpl %edx, %ecx
jl 0x3b44
movl 0x28(%r14), %ecx
movl %ecx, %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
cmpl %edx, %esi
jge 0x3c2e
movl $0x2, %eax
movl %eax, 0x2c(%r14)
movl %eax, 0x4(%r14)
movl -0x98(%rbp), %ecx
testl %ecx, %ecx
je 0x3b68
cmpl $0x0, -0x94(%rbp)
jne 0x4aaa
cmpl $0x0, 0x4(%r14)
jne 0x4aaa
xorl %eax, %eax
movl %ecx, -0xfc(%rbp)
testl %ecx, %ecx
setne -0x58(%rbp)
sete %al
leaq (%rax,%rax,4), %rdx
shll $0x2, %eax
movslq -0x98(%rbp,%rax), %rcx
leaq (%rax,%rax,2), %rax
addq %rbp, %rax
addq $-0x170, %rax           # imm = 0xFE90
movl -0x4(%rax,%rcx,4), %ebx
andl $0x3fffffff, %ebx       # imm = 0x3FFFFFFF
movq -0x48(%rbp), %r13
movq 0x30(%r13), %rax
movl (%rax), %eax
movq %rax, -0x88(%rbp)
addl %ebx, %eax
movq %rax, -0x30(%rbp)
movq 0x10(%r14,%rdx,8), %rsi
movq %rdx, -0x78(%rbp)
movq 0x18(%r14,%rdx,8), %rdx
movq 0x38(%r13), %r12
movl (%r12), %ecx
movq 0x457a(%rip), %r8       # 0x8158
movl 0x20(%r13), %eax
movl 0x24(%r13), %r14d
movl %ebx, %edi
movq %rsi, -0x40(%rbp)
movq %rdx, -0x68(%rbp)
xorl %r9d, %r9d
pushq %rax
pushq %r14
callq 0x2fdf
addq $0x10, %rsp
cmpl %r14d, %eax
movq %rbx, -0xa0(%rbp)
jge 0x3c67
movslq 0x28(%r13), %r14
cmpl %r14d, %ebx
jge 0x3da0
movq -0x70(%rbp), %r15
movq %r15, %rdi
movq %rbx, %r14
movq -0x40(%rbp), %rbx
movq %rbx, %rsi
jmp 0x3db6
movl -0x98(%rbp), %esi
movl -0x94(%rbp), %edx
movl %esi, %edi
addl %edx, %edi
jne 0x3c4a
movl $0x3, %eax
jmp 0x3b49
cmpl $0x3, %esi
setne %dil
cmpl $0x3, %edx
setne %r8b
testb %r8b, %dil
jne 0x3c82
movl $0x4, %eax
jmp 0x3b49
movq -0x70(%rbp), %r15
movb $0x2a, (%r15)
movl $0x1, %r14d
movq -0x30(%rbp), %r13
movq -0x40(%rbp), %rbx
jmp 0x3dc2
testl %esi, %esi
setle %sil
testl %edx, %edx
setle %dl
orb %sil, %dl
jne 0x3b51
movl $0x80000000, %edx       # imm = 0x80000000
orl %edx, %ecx
movl %ecx, 0x28(%r14)
orl %edx, %eax
movl %eax, (%r14)
movq -0x48(%rbp), %rcx
movq 0x38(%rcx), %rax
movl (%rax), %eax
movl %eax, -0x40(%rbp)
movq 0x449e(%rip), %rax      # 0x8158
movq %rax, -0x30(%rbp)
movl 0x20(%rcx), %eax
movq %rax, -0x68(%rbp)
movl 0x24(%rcx), %r15d
leaq -0x98(%rbp), %rcx
leaq -0x130(%rbp), %r12
movb $0x1, %r13b
xorl %eax, %eax
leaq -0xc0(%rbp), %rsi
movl -0x40(%rbp), %ebx
movslq (%rcx), %rcx
leaq (%rax,%rax,2), %rdx
leaq -0x170(,%rdx,4), %rdx
addq %rbp, %rdx
movl -0x4(%rdx,%rcx,4), %r14d
movl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
andl %ecx, %r14d
movl %r14d, (%rsi)
leaq (%rax,%rax,4), %rax
movq -0x38(%rbp), %rcx
movq 0x10(%rcx,%rax,8), %rsi
movq 0x18(%rcx,%rax,8), %rdx
movl %r14d, %edi
movl %ebx, %ecx
movq -0x30(%rbp), %r8
xorl %r9d, %r9d
pushq -0x68(%rbp)
pushq %r15
callq 0x2fdf
addq $0x10, %rsp
movl %eax, %ecx
cmpl %ebx, %eax
je 0x3d3c
xorl %ecx, %ecx
cmpl %r14d, %eax
cmovel %eax, %ecx
movl $0x0, %eax
cmpl %r15d, %ecx
jl 0x3d4e
movl %ecx, %eax
movl %eax, (%r12)
movl $0x1, %eax
leaq -0x120(%rbp), %r12
leaq -0xbc(%rbp), %rsi
leaq -0x94(%rbp), %rcx
testb $0x1, %r13b
movl $0x0, %r13d
jne 0x3ce6
movl -0x130(%rbp), %eax
movl -0x120(%rbp), %ecx
movl %eax, %edx
orl %ecx, %edx
jne 0x42ed
movl $0x6, %eax
movq -0x38(%rbp), %r14
jmp 0x3b49
movl %ebx, %eax
subl %r14d, %eax
movslq %eax, %rsi
movq -0x40(%rbp), %rbx
addq %rbx, %rsi
movq -0x70(%rbp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x2070
movq -0x30(%rbp), %r13
movb $0x0, (%r15,%r14)
movq %r15, %rdi
callq 0x2240
movq -0x38(%rbp), %r14
movq %rax, 0x20(%r14)
movq %r15, %rdi
callq 0x2240
movq %rax, 0x48(%r14)
movslq %r13d, %r13
addq %r13, %rbx
leaq -0x14c(%rbp), %rcx
movq %r12, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x2cf5
testl %eax, %eax
jle 0x3e16
movl $0x5, %eax
movl %eax, 0x2c(%r14)
movl %eax, 0x4(%r14)
jmp 0x4aaa
movq %rbx, -0xd0(%rbp)
movq -0x78(%rbp), %rax
leaq (%r14,%rax,8), %r9
xorl %ecx, %ecx
movb -0x58(%rbp), %al
movb %al, %cl
leaq (%rcx,%rcx,4), %rax
movl (%r14,%rax,8), %r10d
andl $0x7fffffff, %r10d      # imm = 0x7FFFFFFF
movq %r13, -0x70(%rbp)
movq %rcx, -0x138(%rbp)
je 0x3ead
leaq (%r14,%rax,8), %rax
movq 0x10(%rax), %rcx
leaq 0x4439(%rip), %rdx      # 0x8290
movq %r10, %rsi
movq -0x50(%rbp), %r12
movq -0x60(%rbp), %r8
movsbq (%rcx), %rdi
testq %rdi, %rdi
js 0x3e71
movb (%rdi,%rdx), %dil
jmp 0x3e74
movb $0x4e, %dil
movb %dil, -0x1(%r8,%rsi)
incq %rcx
decq %rsi
jne 0x3e62
movb $0x0, (%r8,%r10)
movq 0x18(%rax), %rax
movq %r10, %rcx
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdi
movb (%rax), %dl
movb %dl, -0x1(%r12,%rcx)
incq %rax
decq %rcx
jne 0x3e95
movq %r10, %rax
movq -0x60(%rbp), %r8
jmp 0x3ec3
movq -0x60(%rbp), %r8
movb $0x0, (%r8)
xorl %eax, %eax
movq -0x48(%rbp), %rsi
movq -0x50(%rbp), %r12
movq -0x40(%rbp), %rdi
movb $0x0, (%r12,%rax)
movq %r9, -0xe8(%rbp)
movl (%r9), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq %rax, -0x78(%rbp)
movl %eax, %r13d
movq -0xa0(%rbp), %rax
subl %eax, %r13d
movl %eax, %r15d
leaq (%rdi,%r15), %r14
addq -0x68(%rbp), %r15
movl 0x10(%rsi), %r11d
movq %r11, -0xf8(%rbp)
movl 0x14(%rsi), %eax
movq %rax, -0xd8(%rbp)
movl %r13d, %edi
movq %r14, %rsi
movq %r14, -0xe0(%rbp)
movq %r15, %rdx
movq %r10, %rcx
movq %r10, -0xf0(%rbp)
movq %r8, %rbx
movq %r12, %r9
leaq -0xc0(%rbp), %r10
pushq %r10
movl $0x2, %r10d
pushq %r10
pushq %rax
pushq %r11
callq 0x30c5
addq $0x20, %rsp
movq %rax, -0x58(%rbp)
leaq -0x130(%rbp), %rax
movl %r13d, %edi
movq %r14, %rsi
movq %r15, %rdx
movq -0xf0(%rbp), %r14
movl %r14d, %ecx
movq %rbx, %r8
movq %r12, %r9
pushq %rax
movl $0x2, %eax
pushq %rax
pushq -0xd8(%rbp)
movq -0xf8(%rbp), %r12
pushq %r12
callq 0x31b8
addq $0x20, %rsp
movq %rax, -0xd8(%rbp)
subq $0x8, %rsp
leaq -0x120(%rbp), %rax
movl %r13d, %edi
movq -0xe0(%rbp), %rsi
movq %r15, %rdx
movl %r14d, %ecx
movq %rbx, %r8
movq -0x50(%rbp), %r9
pushq %rax
movl $0x2, %ebx
pushq %rbx
pushq %r12
callq 0x3284
movq -0xd8(%rbp), %rdi
movq -0x58(%rbp), %rsi
addq $0x20, %rsp
leal (%rdi,%rsi), %ecx
addl %eax, %ecx
cmpl %ebx, %ecx
jl 0x3ffc
movq -0x38(%rbp), %r14
movl $0x17, 0x2c(%r14)
movl $0x17, %eax
movq -0xe8(%rbp), %r15
movq -0x30(%rbp), %r12
movq -0x70(%rbp), %r13
jmp 0x433d
testl %ecx, %ecx
movq -0x38(%rbp), %r14
movq -0x30(%rbp), %r12
movq -0x70(%rbp), %r13
je 0x4329
movl $0x15, %ecx
movl %ecx, 0x2c(%r14)
movl %ecx, 0x4(%r14)
cmpl $0x1, %esi
jne 0x446f
movq -0xc0(%rbp), %rbx
movq %rbx, -0x108(%rbp)
shrq $0x20, %rbx
movq -0xa0(%rbp), %rax
addl %ebx, %eax
xorl %ecx, %ecx
cltq
movq %rax, -0x58(%rbp)
movl $0x0, %eax
movq -0x88(%rbp), %r14
cmpl %ebx, %r14d
movq -0x90(%rbp), %r13
jge 0x4165
movq -0x30(%rbp), %rax
incl %eax
movq -0x58(%rbp), %r15
cmpl %r15d, %eax
cmovlel %r15d, %eax
notl %r14d
addl %eax, %r14d
subl -0xa0(%rbp), %r14d
incq %r14
movq %r13, %rdi
movq -0xd0(%rbp), %rsi
movq %r14, %rdx
callq 0x2150
movq -0x70(%rbp), %r12
movq -0x68(%rbp), %rax
leaq (%rax,%r12), %rsi
movq -0x80(%rbp), %rdi
movq %r14, %rdx
callq 0x2150
leaq 0x1(%r12), %rcx
cmpq %r15, %rcx
cmovleq %r15, %rcx
subq %r12, %rcx
leaq 0x1(%rcx), %rax
andq $-0x2, %rax
decq %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm2     # xmm2 = xmm0[0,1,0,1]
pxor %xmm0, %xmm0
movl $0x2, %ecx
pcmpeqd %xmm3, %xmm3
movdqa %xmm0, %xmm1
psubq %xmm3, %xmm0
leaq (%rax,%rcx), %rdx
addq $-0x2, %rdx
addq $-0x2, %rcx
cmpq $0x2, %rdx
jne 0x40e1
negq %rcx
movq %rcx, %xmm3
pshufd $0x44, %xmm3, %xmm3     # xmm3 = xmm3[0,1,0,1]
por 0x1f30(%rip), %xmm3     # 0x6040
movdqa 0x1f38(%rip), %xmm4     # 0x6050
pxor %xmm4, %xmm2
pxor %xmm4, %xmm3
movdqa %xmm3, %xmm4
pcmpgtd %xmm2, %xmm4
pshufd $0xa0, %xmm4, %xmm5     # xmm5 = xmm4[0,0,2,2]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm2     # xmm2 = xmm3[1,1,3,3]
pand %xmm5, %xmm2
pshufd $0xf5, %xmm4, %xmm3     # xmm3 = xmm4[1,1,3,3]
por %xmm2, %xmm3
pand %xmm3, %xmm1
pandn %xmm0, %xmm3
por %xmm1, %xmm3
pshufd $0xee, %xmm3, %xmm0     # xmm0 = xmm3[2,3,2,3]
paddq %xmm3, %xmm0
movd %xmm0, %eax
movq -0x88(%rbp), %r14
xorl %ecx, %ecx
subl %ebx, %r14d
cmovll %ecx, %r14d
movq -0x108(%rbp), %rsi
cmpl %esi, %r14d
jge 0x4728
movslq %r14d, %rdx
movslq %esi, %rcx
movq %rcx, -0xd0(%rbp)
movq %rax, %rcx
movl %ecx, %ecx
movq -0x80(%rbp), %rax
addq %rcx, %rax
movq %rax, -0xe0(%rbp)
movq %rcx, -0xc8(%rbp)
leaq (%r13,%rcx), %rax
movq %rax, -0xd8(%rbp)
movq -0x60(%rbp), %rax
addq %rdx, %rax
movq %rax, -0xf8(%rbp)
movq -0x50(%rbp), %rax
addq %rdx, %rax
movq %rax, -0x148(%rbp)
movq -0x58(%rbp), %rcx
movq %rdx, -0x88(%rbp)
addq %rdx, %rcx
movq -0x40(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x140(%rbp)
addq -0x68(%rbp), %rcx
movq %rcx, -0x58(%rbp)
xorl %esi, %esi
movq -0x140(%rbp), %rax
movsbq (%rax,%rsi), %r12
movq -0x58(%rbp), %rax
movzbl (%rax,%rsi), %ebx
movq -0xf8(%rbp), %rax
movsbq (%rax,%rsi), %r13
movq -0x148(%rbp), %rax
movq %rsi, %r14
movzbl (%rax,%rsi), %r15d
cmpb %r13b, %r12b
jne 0x426d
movq -0x48(%rbp), %rax
movl 0xc(%rax), %r13d
cmpb %r15b, %bl
movl %r15d, %eax
cmovgl %ebx, %eax
cmovll %ebx, %r15d
movsbl %al, %eax
movsbl %r15b, %ecx
leal -0x21(%rcx), %edx
movzwl %dx, %edx
shrl $0xf, %edx
addl %edx, %ecx
addl $-0x21, %ecx
sarl %ecx
leal (%rax,%rcx), %ebx
addl $-0x21, %ebx
callq 0x2030
cmpl %r13d, %ebx
jl 0x4264
movl %r13d, %ebx
shlq $0x2, %r12
addq (%rax), %r12
jmp 0x428d
callq 0x2030
movq (%rax), %rax
cmpb %r15b, %bl
jle 0x4283
leaq (%rax,%r12,4), %r12
subl %r15d, %ebx
jmp 0x428d
leaq (%rax,%r13,4), %r12
subl %ebx, %r15d
movl %r15d, %ebx
movq %r14, %rsi
movl (%r12), %eax
shll $0x8, %ebx
addl $0x2100, %ebx           # imm = 0x2100
orl %eax, %ebx
movq -0xd8(%rbp), %rcx
movb %al, (%rcx,%r14)
movq -0xe0(%rbp), %rax
movb %bh, (%rax,%rsi)
movq -0x88(%rbp), %rax
addq %r14, %rax
incq %rax
incq %rsi
cmpq -0xd0(%rbp), %rax
jl 0x41f1
movq -0xc8(%rbp), %rdx
addl %esi, %edx
movq -0x90(%rbp), %r13
movq -0x108(%rbp), %rsi
jmp 0x472b
xorl %ebx, %ebx
cmpl %ecx, %eax
setl %bl
leaq (%rbx,%rbx,4), %rax
movq -0x38(%rbp), %r14
leaq (%r14,%rax,8), %rdi
shll $0x2, %ebx
movq -0x48(%rbp), %rax
movq 0x30(%rax), %rax
movl (%rax), %esi
addl -0xc0(%rbp,%rbx), %esi
callq 0x536b
movl $0x0, -0x98(%rbp,%rbx)
jmp 0x3b51
movl $0x16, 0x2c(%r14)
movl $0x16, %eax
movq -0xe8(%rbp), %r15
movl %eax, 0x4(%r14)
movq 0x10(%r15), %rdi
leaq (%rdi,%r13), %rsi
movl (%r15), %edx
movl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
andq %rbx, %rdx
subq %r13, %rdx
callq 0x21d0
movq 0x18(%r15), %rdi
leaq (%rdi,%r13), %rsi
movl (%r15), %edx
andq %rbx, %rdx
subq %r13, %rdx
callq 0x21d0
movl (%r15), %eax
movl %eax, %ecx
subl %r12d, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %eax       # imm = 0x80000000
orl %ecx, %eax
movl %eax, (%r15)
movq 0x18(%r15), %rax
xorl %edx, %edx
movb %dl, (%rax,%rcx)
movq 0x10(%r15), %rax
movl (%r15), %ecx
andq %rbx, %rcx
movb %dl, (%rax,%rcx)
movb $0x1, %al
xorl %ecx, %ecx
leaq (%rdx,%rdx,4), %rsi
movl (%r14,%rsi,8), %edx
andq $0x7fffffff, %rdx       # imm = 0x7FFFFFFF
je 0x43d5
leaq (%r14,%rsi,8), %rsi
movq 0x10(%rsi), %rsi
xorl %edi, %edi
xorl %r8d, %r8d
cmpb $0x4e, (%rsi,%rdi)
sete %r8b
addl %r8d, %ecx
incq %rdi
cmpq %rdi, %rdx
jne 0x43bf
movl $0x1, %edx
testb $0x1, %al
movl $0x0, %eax
jne 0x43a4
movl $0x1, %eax
testl %ecx, %ecx
jne 0x4419
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl (%r15), %esi
andl %ecx, %esi
movq -0x48(%rbp), %rax
movl 0x8(%rax), %edx
movl $0xc, %eax
cmpl %edx, %esi
jl 0x4419
movq -0x138(%rbp), %rsi
leaq (%rsi,%rsi,4), %rsi
andl (%r14,%rsi,8), %ecx
cmpl %edx, %ecx
jge 0x4421
movl %eax, 0x2c(%r14)
movl %eax, 0x4(%r14)
cmpl $0x0, -0xfc(%rbp)
jne 0x4aaa
movdqu 0x10(%r15), %xmm0
movdqu 0x10(%r14), %xmm1
movdqu %xmm1, 0x10(%r15)
movdqu %xmm0, 0x10(%r14)
movl (%r15), %eax
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl %eax, %edx
andl %ecx, %edx
movl (%r14), %esi
andl %esi, %ecx
movl $0x80000000, %edi       # imm = 0x80000000
andl %edi, %eax
orl %ecx, %eax
movl %eax, (%r15)
andl %edi, %esi
orl %edx, %esi
movl %esi, (%r14)
jmp 0x4aaa
cmpl $0x1, %edi
movq -0x88(%rbp), %r12
jne 0x47d3
movq -0x130(%rbp), %r8
movq %r8, %rsi
shrq $0x20, %rsi
movq -0x78(%rbp), %rax
movl %eax, %ebx
subl %esi, %ebx
movl %ebx, %r13d
subl %r8d, %r13d
xorl %edx, %edx
cmpl %r13d, -0x30(%rbp)
jge 0x45b9
movl %r12d, %r14d
notl %r14d
addl -0x78(%rbp), %r14d
movq -0xa0(%rbp), %rax
movq %r8, -0xe0(%rbp)
addl %r8d, %eax
movq %rsi, -0x58(%rbp)
addl %esi, %eax
subl %eax, %r14d
incq %r14
movq -0x90(%rbp), %rdi
movq -0xd0(%rbp), %rsi
movq %r14, %rdx
callq 0x2150
movq -0x70(%rbp), %r15
movq -0x68(%rbp), %rax
leaq (%rax,%r15), %rsi
movq -0x80(%rbp), %rdi
movq %r14, %rdx
callq 0x2150
movslq %r13d, %rax
leaq 0x1(%r15), %rcx
cmpq %rcx, %rax
cmovgq %rax, %rcx
subq %r15, %rcx
leaq 0x1(%rcx), %rax
andq $-0x2, %rax
decq %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm2     # xmm2 = xmm0[0,1,0,1]
pxor %xmm0, %xmm0
movl $0x2, %ecx
pcmpeqd %xmm3, %xmm3
movdqa %xmm0, %xmm1
psubq %xmm3, %xmm0
leaq (%rax,%rcx), %rdx
addq $-0x2, %rdx
addq $-0x2, %rcx
cmpq $0x2, %rdx
jne 0x452f
negq %rcx
movq %rcx, %xmm3
pshufd $0x44, %xmm3, %xmm3     # xmm3 = xmm3[0,1,0,1]
por 0x1ae2(%rip), %xmm3     # 0x6040
movdqa 0x1aea(%rip), %xmm4     # 0x6050
pxor %xmm4, %xmm2
pxor %xmm4, %xmm3
movdqa %xmm3, %xmm4
pcmpgtd %xmm2, %xmm4
pshufd $0xa0, %xmm4, %xmm5     # xmm5 = xmm4[0,0,2,2]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm2     # xmm2 = xmm3[1,1,3,3]
pand %xmm5, %xmm2
pshufd $0xf5, %xmm4, %xmm3     # xmm3 = xmm4[1,1,3,3]
por %xmm2, %xmm3
pand %xmm3, %xmm1
pandn %xmm0, %xmm3
por %xmm1, %xmm3
pshufd $0xee, %xmm3, %xmm0     # xmm0 = xmm3[2,3,2,3]
paddq %xmm3, %xmm0
movd %xmm0, %edx
movq -0x38(%rbp), %r14
movq -0x58(%rbp), %rsi
movq -0xe0(%rbp), %r8
movq -0x30(%rbp), %rax
subl %eax, %ebx
cmpl %r13d, %eax
cmovll %r8d, %ebx
testl %ebx, %ebx
jle 0x48ee
movq -0xf0(%rbp), %rcx
movl %ecx, %edi
movq %rdi, -0x58(%rbp)
subl %ebx, %ecx
addl -0x78(%rbp), %r12d
addl -0xa0(%rbp), %r12d
movslq %ecx, %rcx
movl %edx, %edx
addq %rcx, -0x60(%rbp)
movq %rcx, -0xa0(%rbp)
addq %rcx, -0x50(%rbp)
cmpl %eax, %r13d
cmovgel %eax, %r13d
addl %r8d, %esi
movq -0x80(%rbp), %rax
addq %rdx, %rax
movq %rax, -0x78(%rbp)
addl %r13d, %esi
movq -0x90(%rbp), %rax
movq %rdx, -0xc8(%rbp)
addq %rdx, %rax
movq %rax, -0xd0(%rbp)
subl %esi, %r12d
xorl %esi, %esi
movq %r12, -0x88(%rbp)
leal (%r12,%rsi), %eax
cltq
movq -0x40(%rbp), %rcx
movsbq (%rcx,%rax), %r12
movq -0x68(%rbp), %rcx
movzbl (%rcx,%rax), %ebx
movq -0x60(%rbp), %rax
movsbq (%rax,%rsi), %r15
movq -0x50(%rbp), %rax
movq %rsi, %r13
movzbl (%rax,%rsi), %r14d
cmpb %r15b, %r12b
jne 0x46b1
movq -0x48(%rbp), %rax
movl 0xc(%rax), %r15d
cmpb %r14b, %bl
movl %r14d, %eax
cmovgl %ebx, %eax
cmovll %ebx, %r14d
movsbl %al, %eax
movsbl %r14b, %ecx
leal -0x21(%rcx), %edx
movzwl %dx, %edx
shrl $0xf, %edx
addl %edx, %ecx
addl $-0x21, %ecx
sarl %ecx
leal (%rax,%rcx), %ebx
addl $-0x21, %ebx
callq 0x2030
cmpl %r15d, %ebx
jl 0x46a8
movl %r15d, %ebx
shlq $0x2, %r12
addq (%rax), %r12
jmp 0x46d1
callq 0x2030
movq (%rax), %rax
cmpb %r14b, %bl
jle 0x46c7
leaq (%rax,%r12,4), %r12
subl %r14d, %ebx
jmp 0x46d1
leaq (%rax,%r15,4), %r12
subl %ebx, %r14d
movl %r14d, %ebx
movq -0x38(%rbp), %r14
movq %r13, %rsi
movl (%r12), %eax
shll $0x8, %ebx
addl $0x2100, %ebx           # imm = 0x2100
orl %eax, %ebx
movq -0xd0(%rbp), %rcx
movb %al, (%rcx,%r13)
movq -0x78(%rbp), %rax
movb %bh, (%rax,%rsi)
movq -0xa0(%rbp), %rax
addq %r13, %rax
incq %rax
incq %rsi
cmpq -0x58(%rbp), %rax
movq -0x88(%rbp), %r12
jl 0x4638
movq -0xc8(%rbp), %rdx
addl %esi, %edx
jmp 0x48ee
movq %rax, %rdx
movq -0xf0(%rbp), %r15
cmpl %esi, %r15d
movq -0xa0(%rbp), %r12
movq -0x78(%rbp), %rcx
jle 0x48fa
movq %rdx, -0xc8(%rbp)
movl %edx, %r14d
leaq (%r14,%r13), %rdi
movq %rsi, %r12
movslq %r12d, %rbx
movq -0x60(%rbp), %rsi
addq %rbx, %rsi
notl %r12d
addl %r15d, %r12d
incq %r12
movq %r12, %rdx
callq 0x2150
addq -0x80(%rbp), %r14
movq -0x50(%rbp), %rsi
addq %rbx, %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0x2150
movl %r15d, %ecx
subq %rbx, %rcx
leaq 0x1(%rcx), %rax
andq $-0x2, %rax
decq %rcx
movd -0xc8(%rbp), %xmm0
movq %rcx, %xmm1
pshufd $0x44, %xmm1, %xmm2     # xmm2 = xmm1[0,1,0,1]
movl $0x2, %ecx
pcmpeqd %xmm3, %xmm3
movdqa %xmm0, %xmm1
psubq %xmm3, %xmm0
leaq (%rax,%rcx), %rdx
addq $-0x2, %rdx
addq $-0x2, %rcx
cmpq $0x2, %rdx
jne 0x47b4
jmp 0x498a
cmpl $0x1, %eax
movq -0x90(%rbp), %r13
movq -0x78(%rbp), %rax
jne 0x535a
cmpl %eax, -0x30(%rbp)
jge 0x535a
movq -0x68(%rbp), %rax
addq -0x70(%rbp), %rax
movq %rax, -0x68(%rbp)
addl -0x11c(%rbp), %r12d
xorl %edx, %edx
movq %r12, -0x88(%rbp)
leal (%r12,%rdx), %eax
movq -0xd0(%rbp), %rcx
movsbq (%rcx,%rdx), %r14
movq -0x68(%rbp), %rcx
movq %rdx, %r13
movzbl (%rcx,%rdx), %ebx
cltq
movq -0x60(%rbp), %rcx
movsbq (%rcx,%rax), %r12
movq -0x50(%rbp), %rcx
movzbl (%rcx,%rax), %r15d
cmpb %r12b, %r14b
jne 0x4888
movq -0x48(%rbp), %rax
movl 0xc(%rax), %r12d
cmpb %r15b, %bl
movl %r15d, %eax
cmovgl %ebx, %eax
cmovll %ebx, %r15d
movsbl %al, %eax
movsbl %r15b, %ecx
leal -0x21(%rcx), %edx
movzwl %dx, %edx
shrl $0xf, %edx
addl %edx, %ecx
addl $-0x21, %ecx
sarl %ecx
leal (%rax,%rcx), %ebx
addl $-0x21, %ebx
callq 0x2030
cmpl %r12d, %ebx
jl 0x487f
movl %r12d, %ebx
shlq $0x2, %r14
addq (%rax), %r14
jmp 0x48a8
callq 0x2030
movq (%rax), %rax
cmpb %r15b, %bl
jle 0x489e
leaq (%rax,%r14,4), %r14
subl %r15d, %ebx
jmp 0x48a8
leaq (%rax,%r12,4), %r14
subl %ebx, %r15d
movl %r15d, %ebx
movl (%r14), %eax
shll $0x8, %ebx
addl $0x2100, %ebx           # imm = 0x2100
orl %eax, %ebx
movq -0x90(%rbp), %rcx
movq %r13, %rsi
movb %al, (%rcx,%r13)
leaq 0x1(%r13), %rdx
movq -0x80(%rbp), %rax
movb %bh, (%rax,%rsi)
movq -0x70(%rbp), %rax
addq %r13, %rax
incq %rax
cmpq -0x78(%rbp), %rax
movq -0x88(%rbp), %r12
jl 0x480c
movq -0x38(%rbp), %r14
movq -0x90(%rbp), %r13
jmp 0x49ef
leal (%r12,%rsi), %eax
cmpl %ecx, %eax
jge 0x49eb
movq %rdx, -0xc8(%rbp)
movl %edx, %r14d
leaq (%r14,%r13), %rdi
movq %rsi, %rdx
movl %eax, %ebx
movq -0x40(%rbp), %rsi
addq %rbx, %rsi
notl %r12d
addl %ecx, %r12d
subl %edx, %r12d
leaq 0x1(%r12), %r15
movq %r15, %rdx
callq 0x2150
addq -0x80(%rbp), %r14
movq -0x68(%rbp), %rsi
addq %rbx, %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x2150
leaq 0x2(%r12), %rax
andq $-0x2, %rax
movd -0xc8(%rbp), %xmm0
movq %r12, %xmm1
pshufd $0x44, %xmm1, %xmm2     # xmm2 = xmm1[0,1,0,1]
movl $0x2, %ecx
pcmpeqd %xmm3, %xmm3
movdqa %xmm0, %xmm1
psubq %xmm3, %xmm0
leaq (%rax,%rcx), %rdx
addq $-0x2, %rdx
addq $-0x2, %rcx
cmpq $0x2, %rdx
jne 0x4970
negq %rcx
movq %rcx, %xmm3
pshufd $0x44, %xmm3, %xmm3     # xmm3 = xmm3[0,1,0,1]
por 0x16a1(%rip), %xmm3     # 0x6040
movdqa 0x16a9(%rip), %xmm4     # 0x6050
pxor %xmm4, %xmm2
pxor %xmm4, %xmm3
movdqa %xmm3, %xmm4
pcmpgtd %xmm2, %xmm4
pshufd $0xa0, %xmm4, %xmm5     # xmm5 = xmm4[0,0,2,2]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm2     # xmm2 = xmm3[1,1,3,3]
pand %xmm5, %xmm2
pshufd $0xf5, %xmm4, %xmm3     # xmm3 = xmm4[1,1,3,3]
por %xmm2, %xmm3
pand %xmm3, %xmm1
pandn %xmm0, %xmm3
por %xmm1, %xmm3
pshufd $0xee, %xmm3, %xmm0     # xmm0 = xmm3[2,3,2,3]
paddq %xmm3, %xmm0
movd %xmm0, %edx
movq -0x38(%rbp), %r14
movl %edx, %eax
movq %rdx, %rbx
movslq %edx, %rdx
xorl %ecx, %ecx
movq -0x80(%rbp), %rsi
movb %cl, (%rsi,%rdx)
movb %cl, (%r13,%rdx)
testl %edx, %edx
jle 0x4a23
xorl %ecx, %ecx
movzbl (%r13,%rcx), %edx
orl $0x20, %edx
cmpl $0x6e, %edx
je 0x4a23
incq %rcx
cmpq %rcx, %rax
jne 0x4a0b
jmp 0x4a2c
movl $0x1, %edx
cmpl %ebx, %ecx
jne 0x4a3f
movl %eax, %ecx
movl $0xb, %edx
movq -0x48(%rbp), %rax
movq %rcx, %rbx
cmpl 0x8(%rax), %ecx
jge 0x4a47
movl %edx, 0x2c(%r14)
movl %edx, 0x4(%r14)
movq 0x10(%r14), %rdi
callq 0x2050
movq 0x18(%r14), %rdi
callq 0x2050
movq %r13, %rdi
callq 0x2240
movq %rax, 0x10(%r14)
movq -0x80(%rbp), %rdi
callq 0x2240
movq %rax, 0x18(%r14)
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
movl $0x80000000, %eax       # imm = 0x80000000
movl (%r14), %ecx
andl %eax, %ecx
orl %ebx, %ecx
movl %ecx, (%r14)
andl %eax, 0x28(%r14)
movl 0x4(%r14), %eax
andl $-0x2, %eax
cmpl $0x16, %eax
movq -0xe8(%rbp), %r15
movq -0x30(%rbp), %r12
movq -0x70(%rbp), %r13
je 0x4341
movl 0x4(%r14), %eax
leal -0x15(%rax), %ecx
cmpl $0x3, %ecx
jae 0x4b9f
movq %r14, %r15
movq 0x36ac(%rip), %r14      # 0x8170
movq -0x48(%rbp), %rax
movl 0x18(%rax), %ebx
movl 0x1c(%rax), %r13d
movq %r14, %rdi
callq 0x20c0
movl (%r15), %r12d
movq %r12, -0x40(%rbp)
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq 0x10(%r15), %rsi
movq 0x18(%r15), %r15
leaq -0xc0(%rbp), %r10
movl %r12d, %edi
movq %r15, %rdx
movl %eax, %ecx
movq %r14, %r8
xorl %r9d, %r9d
pushq %r10
pushq $0x4
pushq %r13
pushq %rbx
callq 0x30c5
addq $0x20, %rsp
testl %eax, %eax
jle 0x4fa4
movq -0xc0(%rbp), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
decl %eax
cmpq %r12, %rdx
je 0x4b4b
movq -0xc0(%rbp,%rax,8), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
cmpq %r12, %rdx
jne 0x4fa4
movq -0xc0(%rbp,%rax,8), %rcx
movq %rcx, %rax
shrq $0x20, %rax
subl %eax, %r12d
cmpl %r13d, %r12d
jle 0x4f8d
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movq -0x40(%rbp), %rdx
andl $0x80000000, %edx       # imm = 0x80000000
orl %ecx, %edx
movq -0x38(%rbp), %rsi
movl %edx, (%rsi)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andq %rcx, %rax
xorl %edx, %edx
movb %dl, (%r15,%rax)
movq 0x10(%rsi), %rax
movl (%rsi), %esi
andq %rcx, %rsi
movb %dl, (%rax,%rsi)
jmp 0x4fa4
cmpl $0x3, %eax
jne 0x534b
movb $0x1, %cl
xorl %eax, %eax
movl %ecx, -0x40(%rbp)
leaq (%rax,%rax,4), %rax
leaq (%r14,%rax,8), %rbx
movq 0x35b2(%rip), %r14      # 0x8170
movq -0x48(%rbp), %rax
movl 0x18(%rax), %r15d
movl 0x1c(%rax), %r13d
movq %r14, %rdi
callq 0x20c0
movl (%rbx), %r12d
movq %r12, -0x50(%rbp)
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl %r12d, %edi
movq %rdx, -0x30(%rbp)
movl %eax, %ecx
movq %r14, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
pushq %r13
pushq %r15
callq 0x30c5
addq $0x20, %rsp
testl %eax, %eax
jle 0x4ca7
movq -0xc0(%rbp), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
decl %eax
cmpq %r12, %rdx
je 0x4c43
movq -0xc0(%rbp,%rax,8), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
cmpq %r12, %rdx
jne 0x4ca7
movq -0xc0(%rbp,%rax,8), %rcx
movq %rcx, %rax
shrq $0x20, %rax
subl %eax, %r12d
cmpl %r13d, %r12d
jle 0x4c8f
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movq -0x50(%rbp), %rdx
andl $0x80000000, %edx       # imm = 0x80000000
orl %ecx, %edx
movl %edx, (%rbx)
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andq %rsi, %rax
xorl %edx, %edx
movq -0x30(%rbp), %rcx
movb %dl, (%rcx,%rax)
movq 0x10(%rbx), %rax
movl (%rbx), %ecx
andq %rsi, %rcx
movb %dl, (%rax,%rcx)
jmp 0x4ca7
sarq $0x20, %rcx
movq -0x30(%rbp), %rdi
addq %rcx, %rdi
movslq %r12d, %rdx
movl $0x22, %esi
callq 0x2110
movq 0x34d2(%rip), %r14      # 0x8180
movq -0x48(%rbp), %rax
movl 0x18(%rax), %ecx
movq %rcx, -0x30(%rbp)
movl 0x1c(%rax), %r15d
movq %r14, %rdi
callq 0x20c0
movl (%rbx), %r13d
movl %r13d, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl %r12d, %edi
movq %rdx, -0x50(%rbp)
movl %eax, %ecx
movq %r14, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
pushq %r15
pushq -0x30(%rbp)
callq 0x30c5
addq $0x20, %rsp
testl %eax, %eax
jle 0x4d6a
decl %eax
movq -0xc0(%rbp,%rax,8), %rcx
movq %rcx, %rax
shrq $0x20, %rax
subl %eax, %r12d
cmpl %r15d, %r12d
jle 0x4d52
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %r13d      # imm = 0x80000000
orl %ecx, %r13d
movl %r13d, (%rbx)
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andq %rsi, %rax
xorl %edx, %edx
movq -0x50(%rbp), %rcx
movb %dl, (%rcx,%rax)
movq 0x10(%rbx), %rax
movl (%rbx), %ecx
andq %rsi, %rcx
movb %dl, (%rax,%rcx)
jmp 0x4d6a
sarq $0x20, %rcx
movq -0x50(%rbp), %rdi
addq %rcx, %rdi
movslq %r12d, %rdx
movl $0x22, %esi
callq 0x2110
movq 0x3407(%rip), %r14      # 0x8178
movq -0x48(%rbp), %rax
movl 0x18(%rax), %r13d
movl 0x1c(%rax), %r15d
movq %r14, %rdi
callq 0x20c0
movl (%rbx), %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movl %r12d, %edi
movq %rsi, -0x50(%rbp)
movq %rdx, -0x60(%rbp)
movl %eax, %ecx
movq %r14, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
movq %r15, -0x30(%rbp)
pushq %r15
pushq %r13
callq 0x31b8
addq $0x20, %rsp
testl %eax, %eax
jle 0x4e83
movq -0xc0(%rbp), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
decl %eax
cmpq %r12, %rdx
je 0x4dfe
movq -0xc0(%rbp,%rax,8), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
cmpq %r12, %rdx
jne 0x4e83
movq -0xc0(%rbp,%rax,8), %rdx
movq %rdx, %rax
shrq $0x20, %rax
subl %eax, %r12d
movslq %r12d, %r14
cmpl -0x30(%rbp), %r12d
jle 0x4e72
movq -0x50(%rbp), %rdi
leaq (%rdi,%r14), %rsi
sarq $0x20, %rdx
callq 0x21d0
movq 0x18(%rbx), %rdi
leaq (%rdi,%r14), %rsi
movl (%rbx), %edx
movl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
andq %r15, %rdx
subq %r14, %rdx
callq 0x21d0
movl (%rbx), %eax
movl %eax, %ecx
subl %r14d, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %eax       # imm = 0x80000000
orl %ecx, %eax
movl %eax, (%rbx)
movq 0x18(%rbx), %rax
xorl %edx, %edx
movb %dl, (%rax,%rcx)
movq 0x10(%rbx), %rax
movl (%rbx), %ecx
andq %r15, %rcx
movb %dl, (%rax,%rcx)
jmp 0x4e83
movq -0x60(%rbp), %rdi
movl $0x22, %esi
movq %r14, %rdx
callq 0x2110
movq 0x32c6(%rip), %r14      # 0x8150
movq -0x48(%rbp), %rax
movl 0x18(%rax), %ecx
movq %rcx, -0x30(%rbp)
movl 0x1c(%rax), %r12d
movq %r14, %rdi
callq 0x20c0
movl (%rbx), %r13d
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl %ecx, %r13d
movq 0x10(%rbx), %r15
movq 0x18(%rbx), %rdx
movl %r13d, %edi
movq %r15, %rsi
movq %rdx, -0x60(%rbp)
movl %eax, %ecx
movq %r14, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
movq %r12, -0x50(%rbp)
pushq %r12
pushq -0x30(%rbp)
callq 0x31b8
addq $0x20, %rsp
testl %eax, %eax
jle 0x4f70
decl %eax
movq -0xc0(%rbp,%rax,8), %rdx
movq %rdx, %rax
shrq $0x20, %rax
subl %eax, %r13d
movslq %r13d, %r14
cmpl -0x50(%rbp), %r13d
jle 0x4f5f
leaq (%r15,%r14), %rsi
sarq $0x20, %rdx
movq %r15, %rdi
callq 0x21d0
movq 0x18(%rbx), %rdi
leaq (%rdi,%r14), %rsi
movl (%rbx), %edx
movl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
andq %r15, %rdx
subq %r14, %rdx
callq 0x21d0
movl (%rbx), %eax
movl %eax, %ecx
subl %r14d, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %eax       # imm = 0x80000000
orl %ecx, %eax
movl %eax, (%rbx)
movq 0x18(%rbx), %rax
xorl %edx, %edx
movb %dl, (%rax,%rcx)
movq 0x10(%rbx), %rax
movl (%rbx), %ecx
andq %r15, %rcx
movb %dl, (%rax,%rcx)
jmp 0x4f70
movq -0x60(%rbp), %rdi
movl $0x22, %esi
movq %r14, %rdx
callq 0x2110
movl $0x1, %eax
testb $0x1, -0x40(%rbp)
movl $0x0, %ecx
movq -0x38(%rbp), %r14
jne 0x4bac
jmp 0x534b
sarq $0x20, %rcx
addq %rcx, %r15
movslq %r12d, %rdx
movq %r15, %rdi
movl $0x22, %esi
callq 0x2110
movq 0x31d5(%rip), %r14      # 0x8180
movq -0x48(%rbp), %rax
movl 0x18(%rax), %ecx
movq %rcx, -0x40(%rbp)
movl 0x1c(%rax), %r13d
movq %r14, %rdi
callq 0x20c0
movq -0x38(%rbp), %r9
movl (%r9), %ebx
movl %ebx, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq 0x10(%r9), %rsi
movq 0x18(%r9), %r15
movl %r12d, %edi
movq %r15, %rdx
movl %eax, %ecx
movq %r14, %r8
movq %r9, %r14
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
pushq %r13
pushq -0x40(%rbp)
callq 0x30c5
addq $0x20, %rsp
testl %eax, %eax
jle 0x5068
decl %eax
movq -0xc0(%rbp,%rax,8), %rcx
movq %rcx, %rax
shrq $0x20, %rax
subl %eax, %r12d
cmpl %r13d, %r12d
jle 0x5051
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %ebx       # imm = 0x80000000
orl %ecx, %ebx
movl %ebx, (%r14)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andq %rcx, %rax
xorl %edx, %edx
movb %dl, (%r15,%rax)
movq 0x10(%r14), %rax
movl (%r14), %esi
andq %rcx, %rsi
movb %dl, (%rax,%rsi)
jmp 0x5068
sarq $0x20, %rcx
addq %rcx, %r15
movslq %r12d, %rdx
movq %r15, %rdi
movl $0x22, %esi
callq 0x2110
cmpl $0x15, 0x4(%r14)
je 0x534b
movq 0x3106(%rip), %r13      # 0x8180
movq -0x48(%rbp), %rax
movl 0x18(%rax), %ecx
movq %rcx, -0x40(%rbp)
movl 0x1c(%rax), %r15d
movq %r13, %rdi
callq 0x20c0
movl 0x28(%r14), %ebx
movl %ebx, %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq 0x38(%r14), %rsi
movq 0x40(%r14), %rdx
movl %r12d, %edi
movq %rdx, -0x30(%rbp)
movl %eax, %ecx
movq %r13, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
pushq %r15
pushq -0x40(%rbp)
callq 0x30c5
addq $0x20, %rsp
testl %eax, %eax
jle 0x5140
decl %eax
movq -0xc0(%rbp,%rax,8), %rcx
movq %rcx, %rax
shrq $0x20, %rax
subl %eax, %r12d
cmpl %r15d, %r12d
jle 0x5124
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %ebx       # imm = 0x80000000
orl %ecx, %ebx
movq -0x38(%rbp), %r14
movl %ebx, 0x28(%r14)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andq %rcx, %rax
xorl %edx, %edx
movq -0x30(%rbp), %rsi
movb %dl, (%rsi,%rax)
movq 0x38(%r14), %rax
movl 0x28(%r14), %esi
andq %rcx, %rsi
movb %dl, (%rax,%rsi)
jmp 0x5140
sarq $0x20, %rcx
movq -0x30(%rbp), %rdi
addq %rcx, %rdi
movslq %r12d, %rdx
movl $0x22, %esi
callq 0x2110
movq -0x38(%rbp), %r14
movq 0x3031(%rip), %rbx      # 0x8178
movq -0x48(%rbp), %rax
movl 0x18(%rax), %r13d
movl 0x1c(%rax), %r15d
movq %rbx, %rdi
callq 0x20c0
movl 0x28(%r14), %r12d
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq 0x38(%r14), %rsi
movq 0x40(%r14), %rdx
movl %r12d, %edi
movq %rsi, -0x40(%rbp)
movq %rdx, -0x30(%rbp)
movl %eax, %ecx
movq %rbx, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
pushq %r15
pushq %r13
callq 0x31b8
addq $0x20, %rsp
testl %eax, %eax
jle 0x525c
movq -0xc0(%rbp), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
decl %eax
cmpq %r12, %rdx
je 0x51d1
movq -0xc0(%rbp,%rax,8), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
addq %rcx, %rdx
cmpq %r12, %rdx
jne 0x525c
movq -0xc0(%rbp,%rax,8), %rdx
movq %rdx, %rax
shrq $0x20, %rax
subl %eax, %r12d
movslq %r12d, %r13
cmpl %r15d, %r12d
jle 0x524b
movq -0x40(%rbp), %rdi
leaq (%rdi,%r13), %rsi
sarq $0x20, %rdx
callq 0x21d0
movq 0x40(%r14), %rdi
leaq (%rdi,%r13), %rsi
movl 0x28(%r14), %edx
movl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
andq %rbx, %rdx
subq %r13, %rdx
callq 0x21d0
movl 0x28(%r14), %eax
movl %eax, %ecx
subl %r13d, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %eax       # imm = 0x80000000
orl %ecx, %eax
movl %eax, 0x28(%r14)
movq 0x40(%r14), %rax
xorl %edx, %edx
movb %dl, (%rax,%rcx)
movq 0x38(%r14), %rax
movl 0x28(%r14), %ecx
andq %rbx, %rcx
movb %dl, (%rax,%rcx)
jmp 0x525c
movq -0x30(%rbp), %rdi
movl $0x22, %esi
movq %r13, %rdx
callq 0x2110
movq 0x2eed(%rip), %r13      # 0x8150
movq -0x48(%rbp), %rax
movl 0x18(%rax), %r15d
movl 0x1c(%rax), %ebx
movq %r13, %rdi
callq 0x20c0
movl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
andl 0x28(%r14), %r12d
movq %r14, %rcx
movq 0x38(%r14), %r14
movq 0x40(%rcx), %rdx
movl %r12d, %edi
movq %r14, %rsi
movq %rdx, -0x48(%rbp)
movl %eax, %ecx
movq %r13, %r8
xorl %r9d, %r9d
leaq -0xc0(%rbp), %rax
pushq %rax
pushq $0x4
pushq %rbx
pushq %r15
callq 0x31b8
addq $0x20, %rsp
testl %eax, %eax
jle 0x534b
decl %eax
movq -0xc0(%rbp,%rax,8), %rdx
movq %rdx, %rax
shrq $0x20, %rax
subl %eax, %r12d
movslq %r12d, %r13
cmpl %ebx, %r12d
jle 0x533a
leaq (%r14,%r13), %rsi
sarq $0x20, %rdx
movq %r14, %rdi
callq 0x21d0
movq -0x38(%rbp), %r14
movq 0x40(%r14), %rdi
leaq (%rdi,%r13), %rsi
movl 0x28(%r14), %edx
movl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
andq %rbx, %rdx
subq %r13, %rdx
callq 0x21d0
movl 0x28(%r14), %eax
movl %eax, %ecx
subl %r13d, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
andl $0x80000000, %eax       # imm = 0x80000000
orl %ecx, %eax
movl %eax, 0x28(%r14)
movq 0x40(%r14), %rax
xorl %edx, %edx
movb %dl, (%rax,%rcx)
movq 0x38(%r14), %rax
movl 0x28(%r14), %ecx
andq %rbx, %rcx
movb %dl, (%rax,%rcx)
jmp 0x534b
movq -0x48(%rbp), %rdi
movl $0x22, %esi
movq %r13, %rdx
callq 0x2110
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ecx, %ecx
movq -0x80(%rbp), %rax
movb %cl, (%rax)
movb %cl, (%r13)
jmp 0x4a2e