// File: /workspace/github_c_makefile_star2_O2/lh3[P]miniprot/align.c
// Function: mp_align
void mp_align(void *km, const mp_mapopt_t *opt, const mp_idx_t *mi, int32_t len, const char *aa, mp_reg1_t *r, int32_t extl0, int32_t extr0)
{
	int32_t i, i0 = 0, ne0 = 0, ae0 = 0, score = 0, extl, extr;
	int64_t as, ae, ctg_len, vs0, l_nt;
	uint8_t *nt, *ss = 0;
	ns_opt_t ns_opt0;
	mp_cigar_t cigar = {0,0,0};

	assert(r->cnt > 0);
	if (!(mp_dbg_flag & MP_DBG_MORE_DP)) {
		mp_filter_seed(r->cnt, r->a, 6, 3, opt->kmer2, opt->kmer2 + 1);
		for (i = 0; i < r->cnt; ++i)
			if (r->a[i]>>31&1) break;
		if (i == r->cnt) { // all filtered; FIXME: we need to filter it later; not implemented yet
			r->cnt = 0;
			return;
		}
		i0 = i;
	}

	extl = extr = opt->max_ext;
	if (r->qs >= 10) extl = opt->max_intron/2;
	if (len - r->qe >= 10) extr = opt->max_intron/2;
	if (extl0 > 0) extl = extl < extl0? extl : extl0;
	if (extr0 > 0) extr = extr < extr0? extr : extr0;
	ctg_len = mi->nt->ctg[r->vid>>1].len;
	as = r->vs > extl? r->vs - extl : 0;
	ae = r->ve + extr < ctg_len? r->ve + extr : ctg_len;
	nt = Kmalloc(km, uint8_t, ae - as);
	l_nt = mp_ntseq_get_by_v(mi->nt, r->vid, as, ae, nt);
	assert(l_nt == ae - as);
	if (mi->nt->spsc) {
		int32_t l_ss;
		ss = Kmalloc(km, uint8_t, ae - as);
		l_ss = mp_ntseq_spsc_get_by_v(mi->nt, r->vid, as, ae, ss);
		assert(l_ss = l_nt);
	}
	vs0 = r->vs;
	mp_map2ns_opt(opt, &ns_opt0);
	//fprintf(stderr, "X\t%s\t%c\t%ld\t%ld\n", mi->nt->ctg[r->vid>>1].name, "+-"[r->vid&1], (long)(r->vid&1? ctg_len - ae : as), (long)(r->vid&1? ctg_len - as : ae));

	{ // left extension
		int64_t vs1 = vs0 + (r->a[i0]>>32) + 1;
		int32_t as1 = ((int32_t)r->a[i0]<<1>>1) + 1;
		int32_t nt_len, aa_len;
		ns_opt_t ns_opt = ns_opt0;
		ns_rst_t rst;
		ns_opt.flag |= NS_F_EXT_LEFT;
		ns_rst_init(&rst);
		ns_global_gs16b(km, (const char*)nt, vs1 - as, aa, as1, &ns_opt, ss, &rst);
		nt_len = rst.nt_len, aa_len = rst.aa_len;
		if (rst.aa_len != as1 && rst.nt_len < opt->max_ext && opt->io > opt->io_end) { // special casing 5'-end exon
			int64_t as_alt = vs1 - as > opt->max_ext? vs1 - opt->max_ext : as;
			ns_opt.io = opt->io_end;
			ns_global_gs16b(km, (const char*)&nt[as_alt - as], vs1 - as_alt, aa, as1, &ns_opt, ss? &ss[as_alt - as] : 0, &rst);
			if (rst.aa_len == as1)
				nt_len = rst.nt_len, aa_len = rst.aa_len;
		}
		r->vs = vs1 - nt_len;
		r->qs = as1 - aa_len;
		ne0 = r->vs - vs0;
		ae0 = r->qs;
	}

	if (mp_dbg_flag & MP_DBG_MORE_DP) { // apply DP to the entire region; for debugging only
		score = mp_align_seq(km, opt, &ns_opt0, r->ve - r->vs, &nt[r->vs - as], r->qe - ae0, &aa[ae0], ss? &ss[r->vs - as] : 0, &cigar);
	} else { // patch gaps between anchors
		for (i = i0; i < r->cnt; ++i) {
			int32_t ne1, ae1;
			if (!(r->a[i]>>31&1)) continue;
			ne1 = (r->a[i]>>32) + 1, ae1 = ((int32_t)r->a[i]<<1>>1) + 1;
			score += mp_align_seq(km, opt, &ns_opt0, ne1 - ne0, &nt[ne0 + vs0 - as], ae1 - ae0, &aa[ae0], ss? &ss[ne0 + vs0 - as] : 0, &cigar);
			i0 = i, ne0 = ne1, ae0 = ae1;
		}
		r->ve = ne0 + vs0, r->qe = ae0;
	}

	if (r->qe < len && r->ve < ae) { // right extension
		ns_opt_t ns_opt = ns_opt0;
		ns_rst_t rst;
		int32_t nt_len, aa_len;
		ns_opt.flag |= NS_F_EXT_RIGHT;
		ns_rst_init(&rst);
		ns_global_gs16b(km, (const char*)&nt[r->ve - as], ae - r->ve, &aa[r->qe], len - r->qe, &ns_opt, ss? &ss[r->ve - as] : 0, &rst);
		nt_len = rst.nt_len, aa_len = rst.aa_len;
		if (aa_len < len - r->qe && nt_len < opt->max_ext && opt->io > opt->io_end) { // special casing 3'-end exon
			int32_t l_ext = ae - r->ve < opt->max_ext? ae - r->ve : opt->max_ext;
			ns_opt.io = opt->io_end;
			ns_global_gs16b(km, (const char*)&nt[r->ve - as], l_ext, &aa[r->qe], len - r->qe, &ns_opt, ss? &ss[r->ve - as] : 0, &rst);
			if (rst.aa_len == len - r->qe)
				nt_len = rst.nt_len, aa_len = rst.aa_len;
		}
		score += mp_align_seq(km, opt, &ns_opt0, nt_len, &nt[r->ve - as], aa_len, &aa[r->qe], ss? &ss[r->ve - as] : 0, &cigar);
		r->ve += nt_len, r->qe += aa_len;
	}

	//for (i = 0; i < cigar.n; ++i) printf("%d%c", cigar.c[i]>>4, NS_CIGAR_STR[cigar.c[i]&0xf]); putchar('\n');
	mp_extra_gen(km, r, &cigar, score);
	r->p->dist_stop  = mp_extra_stop(r, nt, as, ae);
	r->p->dist_start = mp_extra_start(r, nt, as, ae);
	mp_extra_cal(r, opt, &nt[r->vs - as], l_nt - (r->vs - as), &aa[r->qs], len, mi->nt->spsc != 0);
	if (ss) kfree(km, ss);
	kfree(km, nt);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %r8, 0x48(%rsp)
movl %ecx, 0x4(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdi, 0x38(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movl 0x4(%r9), %esi
testl %esi, %esi
jle 0x702f
leaq 0x12b2e(%rip), %rax     # 0x18790
xorl %r13d, %r13d
testb $0x8, (%rax)
movq %r9, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
jne 0x5d8b
movq 0x50(%r9), %rdi
movq 0x18(%rsp), %rax
movl 0x60(%rax), %r8d
leal -0x1(%rsi), %r9d
pushq $0x3
popq %r10
cmpl %esi, %r13d
jge 0x5d62
movslq %r13d, %r11
leaq 0x1(%r11), %r14
movl %r13d, %ebx
cmpq %rsi, %r14
jge 0x5ce0
movq -0x8(%rdi,%r14,8), %rbp
movq (%rdi,%r14,8), %r15
movq %rbp, %rax
shrq $0x20, %rax
movq %r15, %rcx
shrq $0x20, %rcx
subl %eax, %ecx
movl %ecx, %eax
cltd
idivl %r10d
incl %ebx
cmpl $0x12, %ecx
jg 0x5cdb
testl %edx, %edx
jne 0x5cdb
subl %ebp, %r15d
incq %r14
cmpl $0x7, %r15d
jl 0x5ca0
leal -0x1(%rbx), %eax
jmp 0x5ce5
movl %r9d, %eax
movl %esi, %ebx
subl %r13d, %ebx
cmpl $0x3, %ebx
jl 0x5d5a
movslq %eax, %rdx
movl (%rdi,%rdx,8), %ebp
cmpl %r13d, %edx
movl %r13d, %ecx
cmovll %edx, %ecx
leal -0x1(%rcx), %ebx
cmpq %r11, %rdx
jle 0x5d19
movl %ebp, %r14d
subl -0x8(%rdi,%rdx,8), %r14d
decq %rdx
cmpl %r8d, %r14d
jle 0x5cff
leal 0x1(%rdx), %ecx
movl %edx, %ebx
movl %r8d, %edx
subl (%rdi,%r11,8), %edx
movslq %ebx, %rbx
cmpl %r13d, %ebx
cmovgl %ebx, %r13d
cmpq %rbx, %r11
jge 0x5d42
movl (%rdi,%r11,8), %ebp
addl %edx, %ebp
cmpl %r8d, %ebp
jg 0x5d3f
incq %r11
jmp 0x5d2a
movl %r11d, %r13d
movslq %r13d, %rdx
movslq %ecx, %rcx
cmpq %rcx, %rdx
jge 0x5d57
orb $-0x80, 0x3(%rdi,%rdx,8)
incq %rdx
jmp 0x5d48
movl %eax, %r13d
incl %r13d
jmp 0x5c8d
xorl %r13d, %r13d
movq 0x8(%rsp), %r9
cmpq %r13, %rsi
je 0x5d81
testb $-0x80, 0x3(%rdi,%r13,8)
jne 0x5d7c
incq %r13
jmp 0x5d6a
cmpl %r13d, %esi
jne 0x5d8b
andl $0x0, 0x4(%r9)
jmp 0x6feb
movq 0x18(%rsp), %rax
movl 0x28(%rax), %ecx
cmpl $0xa, 0x34(%r9)
movl %ecx, %esi
jl 0x5dac
movq 0x18(%rsp), %rax
movl 0x18(%rax), %eax
pushq $0x2
popq %rsi
cltd
idivl %esi
movl %eax, %esi
movl 0x218(%rsp), %edi
movl 0x210(%rsp), %r8d
movl 0x4(%rsp), %eax
movq 0x8(%rsp), %rdx
subl 0x38(%rdx), %eax
cmpl $0xa, %eax
jl 0x5ddc
movq 0x18(%rsp), %rax
movl 0x18(%rax), %eax
pushq $0x2
popq %rcx
cltd
idivl %ecx
movl %eax, %ecx
cmpl %r8d, %esi
movl %r8d, %eax
cmovll %esi, %eax
testl %r8d, %r8d
cmovlel %esi, %eax
cmpl %edi, %ecx
movl %edi, %edx
cmovll %ecx, %edx
testl %edi, %edi
cmovlel %ecx, %edx
movq 0x10(%rsp), %r15
movq 0x18(%r15), %rcx
movq 0x28(%rcx), %rcx
movq 0x8(%rsp), %rbx
movl 0x30(%rbx), %esi
shrl %esi
imulq $0x18, %rsi, %rsi
movq 0x8(%rcx,%rsi), %rcx
movq 0x40(%rbx), %rdi
movslq %eax, %rsi
xorl %r14d, %r14d
movq %rdi, 0x98(%rsp)
movq %rdi, %rax
movq %rsi, 0x20(%rsp)
subq %rsi, %rax
cmovgq %rax, %r14
movslq %edx, %rbp
addq 0x48(%rbx), %rbp
cmpq %rcx, %rbp
cmovgeq %rcx, %rbp
movq %rbp, %r12
subq %r14, %r12
movq 0x38(%rsp), %rdi
movq %r12, %rsi
callq 0x7460
movq 0x18(%r15), %rdi
movl 0x30(%rbx), %esi
movq %r14, 0x28(%rsp)
movq %r14, %rdx
movq %rbp, 0x60(%rsp)
movq %rbp, %rcx
movq %rax, %r8
movq %rax, 0x30(%rsp)
callq 0xaeb0
cmpq %r12, %rax
jne 0x704e
movq 0x18(%r15), %rax
cmpq $0x0, 0x40(%rax)
je 0x5ee3
movq 0x38(%rsp), %rdi
movq %r12, %rsi
callq 0x7460
movq %rax, %r14
movq 0x18(%r15), %rdi
movq 0x8(%rsp), %rbx
movl 0x30(%rbx), %esi
movq 0x28(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq %rax, %r8
callq 0xb0e3
testl %r12d, %r12d
jne 0x5eeb
leaq 0xc9d7(%rip), %rdi      # 0x128a2
leaq 0xc945(%rip), %rsi      # 0x12817
leaq 0xc946(%rip), %rcx      # 0x1281f
movl $0x112, %edx            # imm = 0x112
callq 0x2150
xorl %r14d, %r14d
movq 0x8(%rsp), %rbx
movq 0x40(%rbx), %rbp
leaq 0x118(%rsp), %r15
movq %r15, %rdi
callq 0x36e7
movq 0x18(%rsp), %rbx
movups 0x64(%rbx), %xmm0
movups %xmm0, 0x4(%r15)
leaq 0xa8(%rbx), %rax
movq %rax, 0x40(%r15)
movss 0x78(%rbx), %xmm0
movss %xmm0, 0x3c(%r15)
movq 0x8c(%rbx), %rax
movq %rax, 0x14(%r15)
movl 0x80(%rbx), %eax
movl %eax, 0x38(%r15)
movl 0x7c(%rbx), %esi
movq %r15, %rdi
callq 0x36a2
movss 0x88(%rbx), %xmm0
pushq $0x8
popq %rax
movss 0xc882(%rip), %xmm1     # 0x127d8
cmpq $0xe, %rax
je 0x5f7d
cvtsi2ssl 0x118(%rsp,%rax,4), %xmm2
mulss %xmm0, %xmm2
addss %xmm1, %xmm2
cvttss2si %xmm2, %ecx
movl %ecx, 0x118(%rsp,%rax,4)
incq %rax
jmp 0x5f56
movq %r12, 0x58(%rsp)
movq 0x8(%rsp), %rax
movq 0x50(%rax), %rax
movl %r13d, %ebx
movq (%rax,%rbx,8), %r13
movq %r13, %rax
shrq $0x20, %rax
movq %rbp, 0x50(%rsp)
addq %rax, %rbp
incq %rbp
addl %r13d, %r13d
pushq $0xc
popq %rcx
leaq 0x178(%rsp), %r9
leaq 0x118(%rsp), %rsi
movq %r9, %rdi
rep  movsq (%rsi), %es:(%rdi)
orb $0x2, (%r9)
sarl %r13d
incl %r13d
xorps %xmm0, %xmm0
leaq 0xb0(%rsp), %r12
movaps %xmm0, (%r12)
movaps %xmm0, 0x10(%r12)
movq %rbp, %r15
subq 0x28(%rsp), %r15
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %rsi
movl %r15d, %edx
movq 0x48(%rsp), %rcx
movl %r13d, %r8d
pushq %r12
movq %r14, 0x98(%rsp)
pushq %r14
callq 0x7b40
popq %rax
popq %rcx
movl 0x8(%r12), %edi
movl 0xc(%r12), %r14d
cmpl %r13d, %r14d
jne 0x6033
movl %r13d, %r14d
movq 0x8(%rsp), %rdx
leaq 0x12762(%rip), %r12     # 0x18790
jmp 0x60e1
movq 0x18(%rsp), %rsi
movslq 0x28(%rsi), %rax
cmpl %eax, %edi
movq 0x8(%rsp), %rdx
leaq 0x12746(%rip), %r12     # 0x18790
jge 0x60e1
movl 0x74(%rsi), %ecx
cmpl %ecx, 0x6c(%rsi)
jle 0x60e1
movq %rbp, %rsi
subq %rax, %rsi
cmpq %rax, %r15
movl %edi, %r15d
movq 0x28(%rsp), %rdi
cmovleq %rdi, %rsi
leaq 0x178(%rsp), %r9
movl %ecx, 0xc(%r9)
movl %ebp, %edx
subl %esi, %edx
movq %rsi, %rax
subq %rdi, %rax
movq 0x30(%rsp), %rcx
leaq (%rcx,%rax), %rsi
movq 0x90(%rsp), %rcx
addq %rcx, %rax
testq %rcx, %rcx
cmoveq %rcx, %rax
movq 0x38(%rsp), %rdi
movq 0x48(%rsp), %rcx
movl %r13d, %r8d
leaq 0xb0(%rsp), %r10
pushq %r10
pushq %rax
callq 0x7b40
movl %r15d, %edi
addq $0x10, %rsp
movl 0xbc(%rsp), %eax
cmpl %r13d, %eax
jne 0x60dc
movl 0xb8(%rsp), %edi
movl %eax, %r14d
movq 0x8(%rsp), %rdx
movslq %edi, %rax
subq %rax, %rbp
movq %rbp, 0x40(%rdx)
subl %r14d, %r13d
movl %r13d, 0x34(%rdx)
testb $0x8, (%r12)
jne 0x61a7
movq 0x50(%rsp), %r14
subl %r14d, %ebp
subq 0x28(%rsp), %r14
xorl %r12d, %r12d
movslq %ebp, %rax
cmpl %ebx, 0x4(%rdx)
jle 0x6211
movq 0x50(%rdx), %rcx
movq (%rcx,%rbx,8), %r15
testl %r15d, %r15d
jns 0x619f
movq %r15, %rbp
shrq $0x20, %rbp
incl %ebp
addl %r15d, %r15d
sarl %r15d
incl %r15d
movl %ebp, %ecx
subl %eax, %ecx
addq %r14, %rax
movq 0x30(%rsp), %rdx
leaq (%rdx,%rax), %r8
movl %r15d, %r9d
subl %r13d, %r9d
movslq %r13d, %r10
addq 0x48(%rsp), %r10
movq 0x90(%rsp), %rdx
addq %rdx, %rax
testq %rdx, %rdx
cmoveq %rdx, %rax
subq $0x8, %rsp
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rsi
leaq 0x120(%rsp), %rdx
leaq 0xd8(%rsp), %r11
pushq %r11
pushq %rax
pushq %r10
callq 0x708c
movq 0x28(%rsp), %rdx
addq $0x20, %rsp
addl %eax, %r12d
movl %r15d, %r13d
incq %rbx
jmp 0x610d
movl 0x38(%rdx), %r9d
movl 0x48(%rdx), %ecx
subl %ebp, %ecx
subq 0x28(%rsp), %rbp
movq %rdx, %rbx
movq 0x30(%rsp), %rax
leaq (%rax,%rbp), %r8
subl %r13d, %r9d
movslq %r13d, %rax
addq 0x48(%rsp), %rax
movq 0x90(%rsp), %rdx
addq %rdx, %rbp
testq %rdx, %rdx
cmoveq %rdx, %rbp
subq $0x8, %rsp
leaq 0xd8(%rsp), %r10
leaq 0x120(%rsp), %rdx
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rsi
pushq %r10
pushq %rbp
pushq %rax
callq 0x708c
addq $0x20, %rsp
movl %eax, %ebp
movl 0x38(%rbx), %r13d
jmp 0x6224
movl %r12d, %ebp
movq 0x50(%rsp), %rcx
addq %rax, %rcx
movq %rcx, 0x48(%rdx)
movl %r13d, 0x38(%rdx)
movl 0x4(%rsp), %r8d
subl %r13d, %r8d
movq 0x60(%rsp), %r12
jle 0x63f8
movq 0x8(%rsp), %rbx
movq 0x48(%rbx), %rax
cmpq %rax, %r12
jle 0x63f8
pushq $0xc
popq %rcx
leaq 0x178(%rsp), %r9
leaq 0x118(%rsp), %rsi
movq %r9, %rdi
rep  movsq (%rsi), %es:(%rdi)
orb $0x4, (%r9)
xorps %xmm0, %xmm0
movaps %xmm0, 0xb0(%rsp)
movaps %xmm0, 0xc0(%rsp)
movq %rax, %r10
subq 0x28(%rsp), %r10
movq 0x30(%rsp), %rcx
leaq (%rcx,%r10), %rsi
movl %r12d, %edx
subl %eax, %edx
movslq %r13d, %rcx
addq 0x48(%rsp), %rcx
movq 0x90(%rsp), %r13
addq %r13, %r10
testq %r13, %r13
cmoveq %r13, %r10
movq 0x38(%rsp), %rdi
leaq 0xb0(%rsp), %rax
pushq %rax
pushq %r10
callq 0x7b40
popq %rax
popq %rcx
movl 0xb8(%rsp), %r9d
movl 0xbc(%rsp), %r15d
movl 0x38(%rbx), %eax
movl 0x4(%rsp), %r8d
subl %eax, %r8d
cmpl %r8d, %r15d
jge 0x6384
movq 0x18(%rsp), %r14
movslq 0x28(%r14), %rsi
cmpl %esi, %r9d
jge 0x6390
movl 0x74(%r14), %edi
cmpl %edi, 0x6c(%r14)
jle 0x6390
movslq %eax, %rcx
movq 0x8(%rsp), %rbx
movq 0x48(%rbx), %rax
movq %r12, %rdx
subq %rax, %rdx
cmpq %rsi, %rdx
cmovgel %esi, %edx
subq 0x28(%rsp), %rax
movq 0x30(%rsp), %rsi
addq %rax, %rsi
addq 0x48(%rsp), %rcx
addq %r13, %rax
testq %r13, %r13
movl %r9d, %r12d
leaq 0x178(%rsp), %r9
movl %edi, 0xc(%r9)
cmoveq %r13, %rax
movq 0x38(%rsp), %rdi
leaq 0xb0(%rsp), %r10
pushq %r10
pushq %rax
callq 0x7b40
movl %r12d, %r9d
addq $0x10, %rsp
movl 0xbc(%rsp), %ecx
movl 0x38(%rbx), %eax
movl 0x4(%rsp), %edx
subl %eax, %edx
cmpl %edx, %ecx
jne 0x6395
movl 0xb8(%rsp), %r9d
movl %ecx, %r15d
jmp 0x6395
movq 0x8(%rsp), %rbx
movq 0x18(%rsp), %r14
jmp 0x6395
movq 0x8(%rsp), %rbx
movq 0x48(%rbx), %r10
subq 0x28(%rsp), %r10
movq 0x30(%rsp), %rcx
leaq (%rcx,%r10), %r8
cltq
addq 0x48(%rsp), %rax
addq %r13, %r10
testq %r13, %r13
cmoveq %r13, %r10
subq $0x8, %rsp
leaq 0xd8(%rsp), %r11
leaq 0x120(%rsp), %rdx
movq 0x40(%rsp), %rdi
movq %r14, %rsi
movl %r9d, %ecx
movl %r9d, %r14d
movl %r15d, %r9d
pushq %r11
pushq %r10
pushq %rax
callq 0x708c
addq $0x20, %rsp
movslq %r14d, %rcx
addq %rcx, 0x48(%rbx)
addl %eax, %ebp
addl %r15d, 0x38(%rbx)
movabsq $0x200000000, %r12      # imm = 0x200000000
movabsq $0x100000000, %r14      # imm = 0x100000000
movslq 0xd0(%rsp), %r15
leal 0xc(%r15), %eax
movslq %eax, %rsi
xorl %ebx, %ebx
pushq $0x30
popq %rdx
xorl %edi, %edi
callq 0x72e4
movq 0x8(%rsp), %r13
movq %rax, 0x60(%r13)
movl %ebp, (%rax)
movl %r15d, 0x10(%rax)
movl %r15d, 0xc(%rax)
leaq 0x30(%rax), %rdi
movq 0xd8(%rsp), %rbp
shlq $0x2, %r15
movq %rbp, %rsi
movq %r15, %rdx
callq 0x21f0
movq 0x38(%rsp), %rdi
movq %rbp, %rsi
movq %r12, %rbp
callq 0x736b
movq %r13, %r8
movq 0x48(%r13), %rcx
movq 0x20(%rsp), %rax
leal (%rax,%rcx), %edx
movq 0x98(%rsp), %rsi
cmpq %rax, %rsi
cmovgq %rsi, %rax
subl %eax, %edx
shlq $0x20, %rdx
addq $0x2, %rcx
pushq $-0x1
popq %rax
leaq 0x12079(%rip), %rsi     # 0x18510
leaq 0x58(%rsi), %r13
movabsq $0x300000000, %r15      # imm = 0x300000000
movq %r13, 0xf8(%rsp)
movq 0x60(%rsp), %r12
movq 0x30(%rsp), %r11
leaq (%rcx,%rbx), %rsi
cmpq %r12, %rsi
jge 0x652d
movq %rdx, %rsi
sarq $0x20, %rsi
movb (%r11,%rsi), %sil
movl %esi, %edi
shlb $0x4, %dil
leaq (%rdx,%r14), %r8
sarq $0x20, %r8
movb (%r11,%r8), %r8b
leal (,%r8,4), %r9d
leaq (%rdx,%rbp), %r10
sarq $0x20, %r10
movb (%r11,%r10), %r10b
orb %r10b, %dil
orb %r9b, %dil
movzbl %dil, %edi
addq 0x11ad6(%rip), %rdi     # 0x17fd8
cmpb $0x4, %r10b
cmovaeq %r13, %rdi
cmpb $0x4, %r8b
cmovaeq %r13, %rdi
cmpb $0x4, %sil
cmovaeq %r13, %rdi
cmpb $0x14, (%rdi)
je 0x6534
addq $0x3, %rbx
addq %r15, %rdx
movq 0x8(%rsp), %r8
jmp 0x64b7
movq %rbp, %r12
movl %eax, %ebx
jmp 0x653c
movq %rbp, %r12
movq 0x8(%rsp), %r8
movq 0x60(%r8), %r13
movl %ebx, 0x20(%r13)
movq 0x40(%r8), %rbp
movq 0x20(%rsp), %rdx
leal (%rdx,%rbp), %ecx
movq 0x98(%rsp), %rsi
cmpq %rdx, %rsi
cmovgq %rsi, %rdx
subl %edx, %ecx
shlq $0x20, %rcx
xorl %edx, %edx
movabsq $-0x300000000, %rsi     # imm = 0xFFFFFFFD00000000
movq 0x30(%rsp), %r15
leaq (%rdx,%rbp), %rdi
cmpq 0x28(%rsp), %rdi
jl 0x6625
leaq (%rdx,%rbp), %rdi
addq $0x2, %rdi
cmpq 0x60(%rsp), %rdi
jge 0x6625
movq %rcx, %rdi
sarq $0x20, %rdi
movb (%r15,%rdi), %dil
movl %edi, %r8d
shlb $0x4, %r8b
leaq (%rcx,%r14), %r9
sarq $0x20, %r9
movb (%r15,%r9), %r9b
leal (,%r9,4), %r10d
leaq (%rcx,%r12), %r11
sarq $0x20, %r11
movb (%r15,%r11), %r11b
orb %r11b, %r8b
orb %r10b, %r8b
movzbl %r8b, %r8d
addq 0x119fd(%rip), %r8      # 0x17fd8
cmpb $0x4, %r11b
movq 0xf8(%rsp), %r10
cmovaeq %r10, %r8
cmpb $0x4, %r9b
cmovaeq %r10, %r8
cmpb $0x4, %dil
cmovaeq %r10, %r8
movzbl (%r8), %edi
cmpl $0x14, %edi
je 0x6620
cmpl $0xc, %edi
movq 0x8(%rsp), %r8
je 0x661a
addq $-0x3, %rdx
addq %rsi, %rcx
jmp 0x6576
negl %edx
movl %edx, %eax
jmp 0x6625
movq 0x8(%rsp), %r8
movl %eax, 0x24(%r13)
movq %rbp, %rcx
subq 0x28(%rsp), %rcx
movq 0x30(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x80(%rsp)
movslq 0x34(%r8), %rsi
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x40(%rax), %rax
movq %rax, 0x110(%rsp)
leaq 0x11eaf(%rip), %rax     # 0x18510
movb 0x2a(%rax), %dl
movb %dl, 0x28(%rsp)
movb 0x58(%rax), %al
movb %al, 0x60(%rsp)
movl 0x38(%r8), %eax
movl 0xc(%r13), %edi
xorl %r8d, %r8d
testl %edi, %edi
cmovlel %r8d, %edi
xorl %edx, %edx
cmpq %r8, %rdi
je 0x66b6
movl 0x30(%r13,%r8,4), %r9d
movl %r9d, %r10d
andl $0xf, %r10d
cmpl $0x3, %r10d
sete %r10b
andl $0xe, %r9d
cmpl $0xc, %r9d
sete %r9b
orb %r10b, %r9b
movzbl %r9b, %r9d
addl %r9d, %edx
incq %r8
jmp 0x6682
movq 0x58(%rsp), %r12
subl %ecx, %r12d
addq %rsi, 0x48(%rsp)
xorl 0x4(%rsp), %eax
xorl %ecx, %ecx
orl %ebx, %eax
sete %cl
leal 0x1(%rdx), %eax
movq 0x8(%rsp), %r14
movl %eax, 0x20(%r14)
movq %rcx, 0x108(%rsp)
leal (%rdx,%rcx), %esi
incl %esi
movl %esi, 0x18(%r14)
xorl %ebx, %ebx
pushq $0x38
popq %rdx
xorl %edi, %edi
callq 0x72e4
movq %rax, 0x58(%r14)
andl $0x0, 0x4(%r13)
andl $0x0, 0x1c(%r13)
leaq 0x58(%r14), %rax
movq %rax, 0x100(%rsp)
andq $0x0, 0x28(%r13)
andq $0x0, 0x14(%r13)
movq 0x40(%r14), %rdx
movl 0x34(%r14), %eax
movl %eax, 0x7c(%rsp)
movslq %r12d, %rax
movq %rax, 0xe8(%rsp)
movq 0x20(%rsp), %rax
addq %rax, %rbp
movq 0x98(%rsp), %rcx
cmpq %rax, %rcx
cmovgq %rcx, %rax
subq %rax, %rbp
movq 0x30(%rsp), %rax
addq %rbp, %rax
addq $0x2, %rax
movq %rax, 0xf0(%rsp)
xorl %r8d, %r8d
movl $0x0, 0x58(%rsp)
movl $0x0, 0x10(%rsp)
xorl %ecx, %ecx
xorl %r9d, %r9d
movq $0x0, 0xa0(%rsp)
movq $0x0, 0xa8(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rdx, 0x88(%rsp)
movl $0x0, 0x78(%rsp)
movl $0x0, 0x74(%rsp)
movl $0x0, 0x70(%rsp)
movl $0x0, 0x44(%rsp)
movl $0x0, 0x6c(%rsp)
movl $0x0, 0x68(%rsp)
xorl %r14d, %r14d
xorl %esi, %esi
xorl %eax, %eax
movslq 0xc(%r13), %rdx
movq %rax, 0x20(%rsp)
movslq %eax, %rbp
movslq %r14d, %rax
cmpq %rdx, %r9
jge 0x6e53
movq %r9, 0x98(%rsp)
movl 0x30(%r13,%r9,4), %r15d
movl %r15d, %edi
andl $0xf, %edi
movl %r15d, %r9d
shrl $0x4, %r9d
movl %esi, 0x4(%rsp)
movslq %esi, %rsi
cmpl $0xb, %edi
ja 0x691b
leal (%r9,%r9,2), %r12d
leaq 0xbfb8(%rip), %r11      # 0x127dc
movslq (%r11,%rdi,4), %r10
addq %r11, %r10
movl %r12d, %edx
jmpq *%r10
movl %r14d, 0x50(%rsp)
addq 0xf0(%rsp), %rbp
addq 0x48(%rsp), %rsi
shrl $0x4, %r15d
xorl %eax, %eax
cmpl %eax, %r15d
je 0x6bd2
movb -0x2(%rbp), %r12b
movb -0x1(%rbp), %dil
movb (%rbp), %r10b
cmpb $0x4, %r12b
setae %r14b
cmpb $0x4, %dil
setae %r11b
orb %r14b, %r11b
cmpb $0x4, %r10b
setae %r14b
orb %r11b, %r14b
movb 0x60(%rsp), %r14b
jne 0x68a0
shlb $0x4, %r12b
shlb $0x2, %dil
orb %r12b, %dil
orb %r10b, %dil
movzbl %dil, %edi
leaq 0x11e74(%rip), %r10     # 0x18710
movb (%r10,%rdi), %r14b
movzbl (%rsi,%rax), %edi
leaq 0x11c65(%rip), %r10     # 0x18510
movzbl (%r10,%rdi), %edi
movzbl %r14b, %r10d
movq 0x18(%rsp), %r14
movl 0x94(%r14), %r11d
imull %r10d, %r11d
addl %edi, %r11d
movslq %r11d, %r11
movsbl 0xa8(%r14,%r11), %r11d
xorl %r14d, %r14d
testl %r11d, %r11d
setg %r14b
xorl %r12d, %r12d
cmpb 0x28(%rsp), %r10b
sete %r12b
addl %r12d, %r8d
movl %r8d, 0x1c(%r13)
xorl %r12d, %r12d
cmpb %dil, %r10b
sete %r12b
addl %r12d, %ebx
movl %ebx, 0x28(%r13)
addl %r14d, 0x2c(%r13)
addl %r11d, %ecx
movl %ecx, 0x4(%r13)
addq $0x3, %rbp
incq %rax
movl %edx, %r12d
jmp 0x6849
cmpl $0x3, %edi
setne %r10b
andl $0xe, %r15d
cmpl $0xc, %r15d
setne %r11b
testb %r11b, %r10b
jne 0x6c9e
cmpl $0xc, %r15d
movq %r9, %rdx
jne 0x6a40
movl %r14d, 0x50(%rsp)
movq 0x20(%rsp), %r9
addl %edx, %r9d
cmpl $0xc, %edi
movslq %r9d, %r11
movq 0x80(%rsp), %r9
leaq -0x2(%r9,%r11), %r10
leaq 0x1(%r9,%rbp), %r9
cmovneq %r9, %r10
movb -0x1(%r9), %r9b
movq 0xf8(%rsp), %r14
movq %r14, %r12
cmpb $0x3, %r9b
ja 0x69bd
movb (%r10), %r10b
movq %r14, %r12
cmpb $0x3, %r10b
ja 0x69bd
movq 0x80(%rsp), %r12
movb -0x1(%r12,%r11), %r11b
movq %r14, %r12
cmpb $0x3, %r11b
ja 0x69bd
shlb $0x4, %r9b
shlb $0x2, %r10b
orb %r11b, %r9b
orb %r10b, %r9b
movzbl %r9b, %r12d
addq 0x1161b(%rip), %r12     # 0x17fd8
movzbl (%r12), %r9d
movq 0x48(%rsp), %r10
movzbl (%r10,%rsi), %esi
movl %r9d, %r10d
movq 0x18(%rsp), %r11
imull 0x94(%r11), %r10d
leaq 0x11b2d(%rip), %r14     # 0x18510
movzbl (%r14,%rsi), %esi
addl %esi, %r10d
movslq %r10d, %r10
movsbl 0xa8(%r11,%r10), %r10d
xorl %r11d, %r11d
testl %r10d, %r10d
setg %r11b
xorl %r14d, %r14d
cmpb 0x28(%rsp), %r9b
sete %r14b
addl %r14d, %r8d
movl %r8d, 0x1c(%r13)
xorl %r8d, %r8d
cmpb %sil, %r9b
sete %r8b
addl %r8d, %ebx
movl %ebx, 0x28(%r13)
addl %r11d, 0x2c(%r13)
addl %r10d, %ecx
movl %ecx, 0x4(%r13)
movl 0x10(%rsp), %ecx
addl $0x3, %ecx
movl %ecx, 0x14(%r13)
movl 0x50(%rsp), %r14d
movq 0x8(%rsp), %r8
movq 0x58(%r8), %rcx
imulq $0x38, %rax, %rax
andw $0x0, 0x18(%rcx,%rax)
movq 0x88(%rsp), %rsi
movq %rsi, (%rcx,%rax)
movl 0x7c(%rsp), %esi
movl %esi, 0x10(%rcx,%rax)
movl 0x34(%r8), %esi
addl 0x4(%rsp), %esi
movl %esi, 0x7c(%rsp)
movl %esi, 0x14(%rcx,%rax)
movl 0x70(%rsp), %r10d
movl %r10d, 0x1c(%rcx,%rax)
movl 0x74(%rsp), %r9d
movl %r9d, 0x20(%rcx,%rax)
movl 0x44(%rsp), %esi
movw %si, 0x1a(%rcx,%rax)
movl 0x14(%r13), %esi
subl 0x68(%rsp), %esi
movl %esi, 0x2c(%rcx,%rax)
movl 0x28(%r13), %esi
subl 0x6c(%rsp), %esi
movl %esi, 0x28(%rcx,%rax)
movl 0x18(%r13), %esi
subl %r10d, %esi
movl %esi, 0x1c(%rcx,%rax)
movl 0x1c(%r13), %esi
subl %r9d, %esi
movl %esi, 0x20(%rcx,%rax)
movl 0x4(%r13), %esi
subl 0x78(%rsp), %esi
movl %esi, 0x24(%rcx,%rax)
addq %rcx, %rax
testl %r14d, %r14d
jle 0x6aec
movq 0xa8(%rsp), %rcx
movb %cl, 0x32(%rax)
movq 0xa0(%rsp), %rcx
movb %cl, 0x33(%rax)
cmpl $0x3, %edi
jne 0x6cac
movq 0x40(%r8), %rcx
addq %rcx, %rbp
movq %rbp, 0x8(%rax)
leaq (%rdx,%rbp), %rsi
movq %rsi, 0x88(%rsp)
movl $0x0, 0x44(%rsp)
jmp 0x6d0d
movq %r9, %r12
movl %r14d, 0x50(%rsp)
addq 0xf0(%rsp), %rbp
shrl $0x4, %r15d
leaq (%r15,%r15,2), %rax
xorl %esi, %esi
cmpl %esi, %eax
je 0x6ba0
movb -0x2(%rbp,%rsi), %r10b
movb -0x1(%rbp,%rsi), %dil
movb (%rbp,%rsi), %r9b
cmpb $0x4, %r10b
setae %r11b
cmpb $0x4, %dil
setae %r14b
orb %r11b, %r14b
cmpb $0x4, %r9b
setae %r11b
orb %r14b, %r11b
movb 0x60(%rsp), %r14b
jne 0x6b88
shlb $0x4, %r10b
shlb $0x2, %dil
orb %r10b, %dil
orb %r9b, %dil
movzbl %dil, %edi
leaq 0x11b8c(%rip), %r9      # 0x18710
movb (%r9,%rdi), %r14b
xorl %edi, %edi
cmpb 0x28(%rsp), %r14b
sete %dil
addl %edi, %r8d
movl %r8d, 0x1c(%r13)
addq $0x3, %rsi
jmp 0x6b33
movq 0x18(%rsp), %rax
imull 0x68(%rax), %r12d
addl 0x64(%rax), %r12d
subl %r12d, %ecx
movl %ecx, 0x4(%r13)
movq 0x20(%rsp), %rax
movl %edx, %esi
addl %edx, %eax
movl 0x10(%rsp), %edx
addl %esi, %edx
movl %edx, 0x10(%rsp)
movl %edx, 0x14(%r13)
movl 0x4(%rsp), %esi
jmp 0x6bf1
movq 0x20(%rsp), %rax
addl %r12d, %eax
addl 0x4(%rsp), %r9d
movl 0x10(%rsp), %esi
addl %r12d, %esi
movl %esi, 0x10(%rsp)
movl %esi, 0x14(%r13)
movl %r9d, %esi
movl 0x50(%rsp), %r14d
jmp 0x6e43
movq 0x18(%rsp), %rsi
movl 0x68(%rsi), %eax
imull %r9d, %eax
addl 0x64(%rsi), %eax
subl %eax, %ecx
movl %ecx, 0x4(%r13)
movl 0x4(%rsp), %esi
addl %r9d, %esi
movl 0x10(%rsp), %eax
addl %r12d, %eax
movl %eax, 0x10(%rsp)
movl %eax, 0x14(%r13)
jmp 0x6ca2
movq 0x18(%rsp), %rax
subl 0x70(%rax), %ecx
movl %ecx, 0x4(%r13)
movq 0x20(%rsp), %rax
addl %r9d, %eax
movl 0x10(%rsp), %esi
addl %r9d, %esi
movl %esi, 0x10(%rsp)
movl %esi, 0x14(%r13)
movl 0x58(%rsp), %edx
incl %edx
movl %edx, 0x58(%rsp)
movl %edx, 0x18(%r13)
movl 0x4(%rsp), %esi
jmp 0x6e43
movq 0x18(%rsp), %rax
subl 0x70(%rax), %ecx
movl %ecx, 0x4(%r13)
addl 0x20(%rsp), %r9d
movl 0x4(%rsp), %esi
incl %esi
movl 0x10(%rsp), %eax
addl $0x3, %eax
movl %eax, 0x10(%rsp)
movl %eax, 0x14(%r13)
movl 0x58(%rsp), %eax
incl %eax
movl %eax, 0x58(%rsp)
movl %eax, 0x18(%r13)
movl %r9d, %eax
jmp 0x6e43
movl 0x4(%rsp), %esi
movq 0x20(%rsp), %rax
jmp 0x6e43
movl %edx, %esi
cmpl $0xc, %edi
jne 0x6cd6
movq 0x40(%r8), %rcx
leaq (%rcx,%rbp), %r8
addq %rcx, %rbp
incq %rbp
movq %rbp, 0x8(%rax)
leaq -0x2(%rsi,%r8), %rsi
movq %rsi, 0x88(%rsp)
pushq $0x2
jmp 0x6cfe
cmpl $0xd, %edi
jne 0x6d05
movq 0x40(%r8), %rcx
leaq (%rcx,%rbp), %r8
addq %rcx, %rbp
addq $0x2, %rbp
movq %rbp, 0x8(%rax)
addq %r8, %rsi
decq %rsi
movq %rsi, 0x88(%rsp)
pushq $0x1
popq %rsi
movl %esi, 0x44(%rsp)
jmp 0x6d0d
movq 0x8(%rax), %rbp
movq 0x40(%r8), %rcx
movq %rbp, %rsi
subq %rcx, %rsi
movb $0x2e, %cl
movb $0x2e, %r8b
cmpq 0xe8(%rsp), %rsi
jge 0x6d3d
leaq 0x114a7(%rip), %r8      # 0x181d0
movq (%r8), %r8
movq 0x80(%rsp), %r9
movzbl (%r9,%rsi), %esi
movb (%r8,%rsi), %r8b
movb %r8b, 0x30(%rax)
movq 0x8(%rsp), %rsi
subq 0x40(%rsi), %rbp
incq %rbp
cmpq 0xe8(%rsp), %rbp
jge 0x6d70
leaq 0x11472(%rip), %rcx     # 0x181d0
movq (%rcx), %rcx
movq 0x80(%rsp), %rsi
movzbl (%rsi,%rbp), %esi
movb (%rcx,%rsi), %cl
movb %cl, 0x31(%rax)
movl 0x18(%r13), %ebp
movl 0x1c(%r13), %r8d
movl 0x4(%r13), %ecx
movl 0x14(%r13), %eax
movl %eax, 0x10(%rsp)
movl 0x28(%r13), %ebx
movq 0x8(%rsp), %rax
movq 0x40(%rax), %rsi
movq 0x88(%rsp), %rax
movq %rsi, 0xe0(%rsp)
subq %rsi, %rax
cmpq $0x2, %rax
jl 0x6dd0
leaq 0x1141c(%rip), %rsi     # 0x181d0
movq (%rsi), %rsi
movq 0x80(%rsp), %r10
movzbl -0x2(%r10,%rax), %r9d
movb (%rsi,%r9), %r11b
movq 0x20(%rsp), %r9
jmp 0x6df6
movb $0x2e, %r11b
movb $0x2e, %sil
cmpq $0x1, %rax
movq 0x20(%rsp), %r9
jne 0x6e00
leaq 0x113e8(%rip), %rsi     # 0x181d0
movq (%rsi), %rsi
movb $0x2e, %r11b
movq 0x80(%rsp), %r10
movzbl -0x1(%r10,%rax), %eax
movb (%rsi,%rax), %sil
movq %rsi, 0xa0(%rsp)
movq %r11, 0xa8(%rsp)
incl %r14d
addl %r9d, %edx
xorl %eax, %eax
cmpl $0x3, %edi
setne %al
movl 0x4(%rsp), %esi
addl %eax, %esi
movl %ecx, 0x78(%rsp)
movl %r8d, 0x74(%rsp)
movl %ebp, 0x58(%rsp)
movl %ebp, 0x70(%rsp)
movl %ebx, 0x6c(%rsp)
movl 0x10(%rsp), %eax
movl %eax, 0x68(%rsp)
movl %edx, %eax
movq 0x98(%rsp), %r9
incq %r9
jmp 0x67d7
movq 0x8(%rsp), %r8
movq 0x58(%r8), %rcx
imulq $0x38, %rax, %rdx
andw $0x0, 0x18(%rcx,%rdx)
movq 0x88(%rsp), %rdi
movq %rdi, (%rcx,%rdx)
movq 0xe0(%rsp), %rdi
addq %rbp, %rdi
movq %rdi, 0x8(%rcx,%rdx)
movl 0x7c(%rsp), %edi
movl %edi, 0x10(%rcx,%rdx)
movl %esi, %edi
movl 0x34(%r8), %esi
movl %edi, %ebx
addl %edi, %esi
movl %esi, 0x14(%rcx,%rdx)
movl 0x44(%rsp), %esi
movw %si, 0x1a(%rcx,%rdx)
movl 0x14(%r13), %esi
subl 0x68(%rsp), %esi
movl %esi, 0x2c(%rcx,%rdx)
movl 0x28(%r13), %esi
subl 0x6c(%rsp), %esi
movl %esi, 0x28(%rcx,%rdx)
movl 0x18(%r13), %esi
subl 0x70(%rsp), %esi
movl %esi, 0x1c(%rcx,%rdx)
movl 0x1c(%r13), %esi
subl 0x74(%rsp), %esi
movl %esi, 0x20(%rcx,%rdx)
movl 0x4(%r13), %esi
subl 0x78(%rsp), %esi
movl %esi, 0x24(%rcx,%rdx)
testl %eax, %eax
jle 0x6efa
addq %rdx, %rcx
movq 0xa8(%rsp), %rax
movb %al, 0x32(%rcx)
movq 0xa0(%rsp), %rax
movb %al, 0x33(%rcx)
movq 0x48(%r8), %rcx
cmpb $0x0, 0x108(%rsp)
je 0x6f49
leaq 0x3(%rcx), %rax
movq 0x58(%r8), %rsi
movw $0x1, 0x50(%rsi,%rdx)
movq %rcx, 0x38(%rsi,%rdx)
movq %rax, 0x40(%rsi,%rdx)
movl 0x38(%r8), %eax
addl %ebx, %eax
movl %eax, 0x4c(%rsi,%rdx)
movl %eax, 0x48(%rsi,%rdx)
andw $0x0, 0x52(%rsi,%rdx)
andl $0x0, 0x54(%rsi,%rdx)
movabsq $0x300000000, %rax      # imm = 0x300000000
movq %rax, 0x60(%rsi,%rdx)
subq 0x40(%r8), %rcx
cmpq %rbp, %rcx
jne 0x6f5e
movl 0x38(%r8), %eax
subl 0x34(%r8), %eax
cmpl %eax, %ebx
je 0x6f98
leaq 0x1148b(%rip), %rax     # 0x183f0
cmpl $0x2, (%rax)
jge 0x6ffd
movq 0x60(%r8), %rdi
callq 0x2050
movq 0x8(%rsp), %rax
movq 0x58(%rax), %rdi
callq 0x2050
movq 0x8(%rsp), %r8
xorps %xmm0, %xmm0
movq 0x100(%rsp), %rax
movups %xmm0, (%rax)
cmpq $0x0, 0x110(%rsp)
jne 0x6fc4
movq 0x48(%r8), %rax
subq 0x40(%r8), %rax
cmpq %rbp, %rax
jne 0x706d
movl 0x38(%r8), %eax
subl 0x34(%r8), %eax
cmpl %eax, %ebx
jne 0x706d
movq 0x90(%rsp), %rsi
testq %rsi, %rsi
movq 0x38(%rsp), %rbx
je 0x6fde
movq %rbx, %rdi
callq 0x736b
movq %rbx, %rdi
movq 0x30(%rsp), %rsi
callq 0x736b
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10fec(%rip), %rax     # 0x17ff0
movq (%rax), %rdi
movl 0x38(%r8), %r9d
subl 0x34(%r8), %r9d
leaq 0xb898(%rip), %rsi      # 0x128ae
movq 0x20(%rsp), %rdx
movl %ebx, %r8d
xorl %eax, %eax
callq 0x21e0
movq 0x8(%rsp), %r8
jmp 0x6f6e
leaq 0xb7d6(%rip), %rdi      # 0x1280c
leaq 0xb7da(%rip), %rsi      # 0x12817
leaq 0xb7db(%rip), %rcx      # 0x1281f
movl $0xf7, %edx
callq 0x2150
leaq 0xb83d(%rip), %rdi      # 0x12892
leaq 0xb7bb(%rip), %rsi      # 0x12817
leaq 0xb7bc(%rip), %rcx      # 0x1281f
movl $0x10d, %edx            # imm = 0x10D
callq 0x2150
leaq 0xb871(%rip), %rdi      # 0x128e5
leaq 0xb79c(%rip), %rsi      # 0x12817
leaq 0xb8a1(%rip), %rcx      # 0x12923
movl $0xc8, %edx
callq 0x2150