// File: /workspace/github_c_makefile_star2_O1/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 $0x1b8, %rsp            # imm = 0x1B8
movq %r8, 0x30(%rsp)
movl %ecx, 0x50(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, 0x18(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xc0(%rsp)
movl 0x4(%r9), %eax
testl %eax, %eax
jle 0x7c41
leaq 0x11f02(%rip), %rcx     # 0x18780
xorl %r14d, %r14d
testb $0x8, (%rcx)
movq %r9, (%rsp)
movq %rsi, 0x10(%rsp)
jne 0x69c6
movq 0x50(%r9), %rcx
movl 0x60(%rsi), %edx
xorl %esi, %esi
movslq %esi, %r8
leal 0x1(%r8), %r10d
cmpl %r10d, %eax
cmovgl %eax, %r10d
leal -0x1(%r10), %edi
leaq 0x1(%r8), %r11
movl %esi, %r9d
cmpq %rax, %r11
jge 0x690f
movq -0x8(%rcx,%r11,8), %r14
movq (%rcx,%r11,8), %rbx
movq %r14, %r12
shrq $0x20, %r12
movq %rbx, %r15
shrq $0x20, %r15
subl %r12d, %r15d
incl %r9d
cmpl $0x12, %r15d
jg 0x6909
movslq %r15d, %r15
imulq $0x55555556, %r15, %r12 # imm = 0x55555556
movq %r12, %r13
shrq $0x3f, %r13
shrq $0x20, %r12
addl %r13d, %r12d
leal (%r12,%r12,2), %ebp
subl %ebp, %r15d
jne 0x6909
subl %r14d, %ebx
incq %r11
cmpl $0x7, %ebx
jl 0x68b5
leal -0x1(%r9), %edi
jmp 0x6912
movl %r10d, %r9d
subl %esi, %r9d
cmpl $0x3, %r9d
jl 0x698b
movslq %edi, %r11
movl (%rcx,%r11,8), %ebx
cmpl %esi, %r11d
movl %esi, %r9d
cmovll %r11d, %r9d
leal -0x1(%r9), %r10d
cmpq %r8, %r11
jle 0x694a
movl %ebx, %ebp
subl -0x8(%rcx,%r11,8), %ebp
decq %r11
cmpl %edx, %ebp
jle 0x6930
leal 0x1(%r11), %r9d
movl %r11d, %r10d
cmpl %r10d, %esi
jge 0x6971
leaq (%rcx,%r8,8), %r8
movl %edx, %r11d
subl (%r8), %r11d
movl (%r8), %ebx
addl %r11d, %ebx
cmpl %edx, %ebx
jg 0x6971
incl %esi
addq $0x8, %r8
cmpl %esi, %r10d
jne 0x6959
movl %r10d, %esi
cmpl %r9d, %esi
jge 0x6989
movslq %esi, %rsi
movslq %r9d, %r8
orb $-0x80, 0x3(%rcx,%rsi,8)
incq %rsi
cmpq %rsi, %r8
jne 0x697c
movl %edi, %esi
incl %esi
cmpl %eax, %esi
jl 0x689c
xorl %r14d, %r14d
movq 0x10(%rsp), %rsi
testb $-0x80, 0x3(%rcx,%r14,8)
jne 0x69b0
incq %r14
cmpq %r14, %rax
jne 0x699d
movl %eax, %r14d
cmpl %eax, %r14d
movq (%rsp), %r9
jne 0x69c6
movl $0x0, 0x4(%r9)
jmp 0x7c07
movl 0x28(%rsi), %eax
cmpl $0xa, 0x34(%r9)
movl %eax, %ecx
jl 0x69e3
movq 0x10(%rsp), %rcx
movl 0x18(%rcx), %edx
movl %edx, %ecx
shrl $0x1f, %ecx
addl %edx, %ecx
sarl %ecx
movl 0x1f8(%rsp), %edx
movl 0x1f0(%rsp), %esi
movl 0x50(%rsp), %edi
movq (%rsp), %r8
subl 0x38(%r8), %edi
cmpl $0xa, %edi
movq 0x40(%rsp), %r8
jl 0x6a18
movq 0x10(%rsp), %rax
movl 0x18(%rax), %edi
movl %edi, %eax
shrl $0x1f, %eax
addl %edi, %eax
sarl %eax
cmpl %esi, %ecx
movl %esi, %edi
cmovll %ecx, %edi
testl %esi, %esi
cmovlel %ecx, %edi
cmpl %edx, %eax
movl %edx, %ecx
cmovll %eax, %ecx
testl %edx, %edx
cmovlel %eax, %ecx
movq 0x18(%r8), %rax
movq 0x28(%rax), %rax
movq (%rsp), %rbx
movl 0x30(%rbx), %edx
shrl %edx
leaq (%rdx,%rdx,2), %rdx
movq 0x8(%rax,%rdx,8), %rax
movq 0x40(%rbx), %rdx
movslq %edi, %rsi
xorl %r13d, %r13d
movq %rdx, 0x60(%rsp)
movq %rsi, 0x38(%rsp)
subq %rsi, %rdx
cmovgq %rdx, %r13
movslq %ecx, %rbp
addq 0x48(%rbx), %rbp
cmpq %rax, %rbp
cmovgeq %rax, %rbp
movq %rbp, %r15
subq %r13, %r15
movq 0x18(%rsp), %rdi
movq %r15, %rsi
movq %r8, %r12
callq 0x80a1
movq 0x18(%r12), %rdi
movl 0x30(%rbx), %esi
movq %r13, 0x20(%rsp)
movq %r13, %rdx
movq %rbp, 0x58(%rsp)
movq %rbp, %rcx
movq %rax, 0x28(%rsp)
movq %rax, %r8
callq 0xc425
cmpq %r15, %rax
jne 0x7c60
movq %rax, %r13
movq 0x18(%r12), %rax
cmpq $0x0, 0x40(%rax)
je 0x6b1a
movq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0x80a1
movq 0x18(%r12), %rdi
movq (%rsp), %rbx
movl 0x30(%rbx), %esi
movq 0x20(%rsp), %rdx
movq 0x58(%rsp), %rcx
movq %rax, %r8
movq %rax, 0x48(%rsp)
callq 0xc690
testl %r13d, %r13d
jne 0x6b27
leaq 0xcd50(%rip), %rdi      # 0x13852
leaq 0xccbe(%rip), %rsi      # 0x137c7
leaq 0xccbf(%rip), %rcx      # 0x137cf
movl $0x112, %edx            # imm = 0x112
callq 0x2150
movq $0x0, 0x48(%rsp)
movq (%rsp), %rbx
movq %r13, 0x88(%rsp)
movq 0x40(%rbx), %r12
leaq 0xf8(%rsp), %r15
movq %r15, %rdi
callq 0x4298
movq 0x10(%rsp), %rbx
movl 0x64(%rbx), %eax
movl %eax, 0x4(%r15)
movl 0x68(%rbx), %eax
movl %eax, 0x8(%r15)
movl 0x6c(%rbx), %eax
movl %eax, 0xc(%r15)
movl 0x70(%rbx), %eax
movl %eax, 0x10(%r15)
movl 0x8c(%rbx), %eax
movl %eax, 0x14(%r15)
leaq 0xa8(%rbx), %rax
movq %rax, 0x40(%r15)
movss 0x78(%rbx), %xmm0
movss %xmm0, 0x3c(%r15)
movl 0x90(%rbx), %eax
movl %eax, 0x18(%r15)
movl 0x80(%rbx), %eax
movl %eax, 0x38(%r15)
movl 0x7c(%rbx), %esi
movq %r15, %rdi
callq 0x424d
movss 0x88(%rbx), %xmm0
movl $0x8, %eax
movss 0xcbd0(%rip), %xmm1     # 0x13788
xorps %xmm2, %xmm2
cvtsi2ssl 0xf8(%rsp,%rax,4), %xmm2
mulss %xmm0, %xmm2
addss %xmm1, %xmm2
cvttss2si %xmm2, %ecx
movl %ecx, 0xf8(%rsp,%rax,4)
incq %rax
cmpq $0xe, %rax
jne 0x6bb8
movq (%rsp), %rax
movq 0x50(%rax), %rax
movl %r14d, %r13d
movq (%rax,%r13,8), %rbx
movq %rbx, %rax
shrq $0x20, %rax
movq %r12, 0x70(%rsp)
addq %rax, %r12
incq %r12
addl %ebx, %ebx
leaq 0x158(%rsp), %r9
leaq 0xf8(%rsp), %rsi
movl $0xc, %ecx
movq %r9, %rdi
rep  movsq (%rsi), %es:(%rdi)
orb $0x2, (%r9)
sarl %ebx
incl %ebx
xorps %xmm0, %xmm0
leaq 0xa0(%rsp), %rbp
movaps %xmm0, (%rbp)
movaps %xmm0, 0x10(%rbp)
movq %r12, %r15
subq 0x20(%rsp), %r15
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl %r15d, %edx
movq 0x30(%rsp), %rcx
movl %ebx, %r8d
pushq %rbp
pushq 0x50(%rsp)
callq 0x8758
addq $0x10, %rsp
movl 0x8(%rbp), %edx
movl 0xc(%rbp), %ebp
cmpl %ebx, %ebp
jne 0x6c7c
movq (%rsp), %rcx
movq 0x10(%rsp), %rsi
jmp 0x6d22
movq 0x10(%rsp), %rsi
movslq 0x28(%rsi), %rax
cmpl %eax, %edx
jge 0x6d1e
movl 0x74(%rsi), %ecx
cmpl %ecx, 0x6c(%rsi)
jle 0x6d1e
movq %r12, %rsi
subq %rax, %rsi
cmpq %rax, %r15
movq 0x20(%rsp), %rdi
cmovleq %rdi, %rsi
leaq 0x158(%rsp), %r9
movl %ecx, 0xc(%r9)
movl %edx, %r15d
movl %r12d, %edx
subl %esi, %edx
movq %rsi, %rax
subq %rdi, %rax
movq 0x28(%rsp), %rcx
leaq (%rcx,%rax), %rsi
movq 0x48(%rsp), %rcx
addq %rcx, %rax
testq %rcx, %rcx
cmoveq %rcx, %rax
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rcx
movl %ebx, %r8d
leaq 0xa0(%rsp), %r10
pushq %r10
pushq %rax
callq 0x8758
movl %r15d, %edx
addq $0x10, %rsp
movl 0xac(%rsp), %eax
cmpl %ebx, %eax
jne 0x6c6e
movl 0xa8(%rsp), %edx
movl %eax, %ebp
jmp 0x6c6e
movq (%rsp), %rcx
movslq %edx, %rax
subq %rax, %r12
movq %r12, 0x40(%rcx)
subl %ebp, %ebx
movl %ebx, 0x34(%rcx)
leaq 0x11a48(%rip), %rax     # 0x18780
testb $0x8, (%rax)
jne 0x6e1c
movq 0x70(%rsp), %rax
subl %eax, %r12d
movl $0x0, 0xc(%rsp)
cmpl 0x4(%rcx), %r14d
jge 0x6e03
movq %rax, %r14
subq 0x20(%rsp), %r14
movl $0x0, 0xc(%rsp)
movq 0x50(%rcx), %rax
movq (%rax,%r13,8), %r15
testl %r15d, %r15d
jns 0x6df6
movq %r15, %rbp
shrq $0x20, %rbp
incl %ebp
addl %r15d, %r15d
sarl %r15d
incl %r15d
movl %ebp, %ecx
subl %r12d, %ecx
movslq %r12d, %rax
addq %r14, %rax
movq 0x28(%rsp), %rdx
leaq (%rdx,%rax), %r8
movl %r15d, %r9d
subl %ebx, %r9d
movslq %ebx, %r10
addq 0x30(%rsp), %r10
movq 0x48(%rsp), %rdx
addq %rdx, %rax
testq %rdx, %rdx
cmoveq %rdx, %rax
subq $0x8, %rsp
movq 0x20(%rsp), %rdi
leaq 0x100(%rsp), %rdx
leaq 0xc8(%rsp), %r11
pushq %r11
pushq %rax
pushq %r10
callq 0x7c9e
movq 0x30(%rsp), %rsi
movq 0x20(%rsp), %rcx
addq $0x20, %rsp
addl %eax, 0xc(%rsp)
movl %r15d, %ebx
movl %ebp, %r12d
incq %r13
cmpl %r13d, 0x4(%rcx)
jg 0x6d6b
movslq %r12d, %rax
movq 0x70(%rsp), %rdx
addq %rax, %rdx
movq %rdx, 0x48(%rcx)
movl %ebx, 0x38(%rcx)
movl 0xc(%rsp), %r12d
jmp 0x6e81
movl 0x38(%rcx), %r9d
movq (%rsp), %rax
movl 0x48(%rax), %ecx
subl %r12d, %ecx
subq 0x20(%rsp), %r12
movq 0x28(%rsp), %rax
leaq (%rax,%r12), %r8
subl %ebx, %r9d
movslq %ebx, %rax
addq 0x30(%rsp), %rax
movq 0x48(%rsp), %rdx
addq %rdx, %r12
testq %rdx, %rdx
cmoveq %rdx, %r12
subq $0x8, %rsp
leaq 0xc8(%rsp), %r10
leaq 0x100(%rsp), %rdx
movq 0x20(%rsp), %rdi
pushq %r10
pushq %r12
pushq %rax
callq 0x7c9e
movq 0x20(%rsp), %rcx
addq $0x20, %rsp
movl %eax, %r12d
movslq 0x38(%rcx), %rax
cmpl %eax, 0x50(%rsp)
movq 0x58(%rsp), %r14
jle 0x7048
movq 0x48(%rcx), %r8
cmpq %r8, %r14
jle 0x7048
leaq 0x158(%rsp), %r9
leaq 0xf8(%rsp), %rsi
movq %rcx, %rbx
movl $0xc, %ecx
movq %r9, %rdi
rep  movsq (%rsi), %es:(%rdi)
orb $0x4, (%r9)
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movaps %xmm0, 0xb0(%rsp)
movq %r8, %r10
subq 0x20(%rsp), %r10
movq 0x28(%rsp), %rcx
leaq (%rcx,%r10), %rsi
movl %r14d, %edx
subl %r8d, %edx
movq %rax, %rcx
addq 0x30(%rsp), %rcx
movl 0x50(%rsp), %ebp
movl %ebp, %r8d
subl %eax, %r8d
movq 0x48(%rsp), %rax
addq %rax, %r10
testq %rax, %rax
cmoveq %rax, %r10
movq 0x18(%rsp), %rdi
leaq 0xa0(%rsp), %rax
pushq %rax
pushq %r10
callq 0x8758
addq $0x10, %rsp
movl 0xa8(%rsp), %r13d
movl 0xac(%rsp), %r15d
movslq 0x38(%rbx), %rcx
movl %ebp, %r8d
subl %ecx, %r8d
cmpl %r8d, %r15d
jge 0x6fd7
movq 0x10(%rsp), %rdx
movslq 0x28(%rdx), %rsi
cmpl %esi, %r13d
jge 0x6fd7
movl 0x74(%rdx), %eax
cmpl %eax, 0x6c(%rdx)
jle 0x6fd7
movq (%rsp), %rbx
movq 0x48(%rbx), %r10
movq %r14, %rdx
subq %r10, %rdx
cmpq %rsi, %rdx
cmovgel %esi, %edx
subq 0x20(%rsp), %r10
movq 0x28(%rsp), %rsi
addq %r10, %rsi
addq 0x30(%rsp), %rcx
movq 0x48(%rsp), %rdi
addq %rdi, %r10
testq %rdi, %rdi
leaq 0x158(%rsp), %r9
movl %eax, 0xc(%r9)
cmoveq %rdi, %r10
movq 0x18(%rsp), %rdi
leaq 0xa0(%rsp), %rax
pushq %rax
pushq %r10
callq 0x8758
addq $0x10, %rsp
movl 0xac(%rsp), %eax
movl 0x50(%rsp), %ecx
subl 0x38(%rbx), %ecx
cmpl %ecx, %eax
jne 0x6fd7
movl 0xa8(%rsp), %r13d
movl %eax, %r15d
movq 0x18(%rsp), %rdi
movq (%rsp), %rcx
movq 0x48(%rcx), %rax
subq 0x20(%rsp), %rax
movq 0x28(%rsp), %rdx
leaq (%rdx,%rax), %r8
movslq 0x38(%rcx), %r10
addq 0x30(%rsp), %r10
movq 0x48(%rsp), %rdx
addq %rdx, %rax
testq %rdx, %rdx
cmoveq %rdx, %rax
subq $0x8, %rsp
leaq 0xc8(%rsp), %r11
leaq 0x100(%rsp), %rdx
movq 0x18(%rsp), %rsi
movq %rcx, %rbx
movl %r13d, %ecx
movl %r15d, %r9d
pushq %r11
pushq %rax
pushq %r10
callq 0x7c9e
addq $0x20, %rsp
movslq %r13d, %rcx
addq %rcx, 0x48(%rbx)
addl %eax, %r12d
addl %r15d, 0x38(%rbx)
movslq 0xc0(%rsp), %r15
leal 0xc(%r15), %eax
movslq %eax, %rsi
movl $0x30, %edx
xorl %edi, %edi
callq 0x7f34
movq (%rsp), %rbx
movq %rax, 0x60(%rbx)
movl %r12d, (%rax)
movl %r15d, 0x10(%rax)
movl %r15d, 0xc(%rax)
leaq 0x30(%rax), %rdi
movq 0xc8(%rsp), %rbp
shlq $0x2, %r15
movq %rbp, %rsi
movq %r15, %rdx
callq 0x21e0
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
callq 0x7fd6
movq 0x48(%rbx), %r8
leaq 0x2(%r8), %rdx
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %r14, %rdx
jge 0x71a4
movabsq $0x200000000, %rsi      # imm = 0x200000000
movabsq $0x100000000, %rdi      # imm = 0x100000000
movq 0x38(%rsp), %rax
movq 0x60(%rsp), %r9
cmpq %rax, %r9
movq %rax, %rcx
cmovgq %r9, %rcx
addl %eax, %r8d
subl %ecx, %r8d
shlq $0x20, %r8
xorl %r9d, %r9d
leaq 0x1160b(%rip), %r10     # 0x18700
leaq 0x11404(%rip), %r11     # 0x18500
addq $0x58, %r11
movabsq $0x300000000, %rbx      # imm = 0x300000000
movq %r8, %rcx
sarq $0x20, %rcx
movq 0x28(%rsp), %rax
movb (%rax,%rcx), %cl
movl %ecx, %r14d
shlb $0x4, %r14b
leaq (%r8,%rdi), %r15
sarq $0x20, %r15
movb (%rax,%r15), %r15b
leal (,%r15,4), %r12d
leaq (%r8,%rsi), %r13
sarq $0x20, %r13
movb (%rax,%r13), %r13b
orb %r13b, %r14b
orb %r12b, %r14b
movzbl %r14b, %r14d
addq %r10, %r14
cmpb $0x4, %r13b
cmovaeq %r11, %r14
cmpb $0x4, %r15b
cmovaeq %r11, %r14
cmpb $0x4, %cl
cmovaeq %r11, %r14
cmpb $0x14, (%r14)
movl %r9d, %ecx
je 0x716f
movl %ebp, %ecx
je 0x719a
leaq (%rdx,%r9), %r14
addq $0x3, %r14
addq $0x3, %r9
addq %rbx, %r8
movl %ecx, %ebp
movq 0x58(%rsp), %rax
cmpq %rax, %r14
jl 0x710a
movq %rax, %r14
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jmp 0x719f
movq 0x58(%rsp), %r14
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq (%rsp), %rax
movq 0x60(%rax), %r15
movl %ecx, 0x20(%r15)
movq 0x40(%rax), %rbx
movq %rbx, %rax
subq 0x20(%rsp), %rax
movq %rax, 0x80(%rsp)
jl 0x72e5
leaq 0x2(%rbx), %rdx
cmpq %r14, %rdx
jge 0x72e5
leaq -0x3(%rbx), %rdi
movq 0x38(%rsp), %rax
movq 0x60(%rsp), %rdx
cmpq %rax, %rdx
movq %rax, %r9
cmovgq %rdx, %r9
leal (%rax,%rbx), %r8d
subl %r9d, %r8d
shlq $0x20, %r8
xorl %r9d, %r9d
leaq 0x114fc(%rip), %r10     # 0x18700
leaq 0x112f5(%rip), %r11     # 0x18500
addq $0x58, %r11
movabsq $-0x300000000, %r14     # imm = 0xFFFFFFFD00000000
movq 0x28(%rsp), %rsi
movq %r8, %r12
sarq $0x20, %r12
movb (%rsi,%r12), %r12b
movl %r12d, %r13d
shlb $0x4, %r13b
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %r8, %rax
sarq $0x20, %rax
movb (%rsi,%rax), %al
leal (,%rax,4), %ebp
movabsq $0x200000000, %rdx      # imm = 0x200000000
addq %r8, %rdx
sarq $0x20, %rdx
movb (%rsi,%rdx), %dl
orb %dl, %r13b
orb %bpl, %r13b
movzbl %r13b, %r13d
addq %r10, %r13
cmpb $0x4, %dl
cmovaeq %r11, %r13
cmpb $0x4, %al
cmovaeq %r11, %r13
cmpb $0x4, %r12b
cmovaeq %r11, %r13
movzbl (%r13), %r12d
cmpl $0x14, %r12d
je 0x729f
cmpl $0xc, %r12d
jne 0x72a7
movl $0x1, %r12d
movl %r9d, 0xc(%rsp)
jmp 0x72aa
movl $0x2, %r12d
jmp 0x72aa
xorl %r12d, %r12d
testl %r12d, %r12d
jne 0x72d6
cmpq 0x58(%rsp), %rbx
jg 0x72cf
leaq -0x3(%rdi), %rax
addl $0x3, %r9d
addq %r14, %r8
cmpq 0x20(%rsp), %rdi
movq %rax, %rdi
jge 0x721e
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
jmp 0x72e5
cmpl $0x2, %r12d
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
je 0x72e5
movl 0xc(%rsp), %esi
movl %esi, 0x24(%r15)
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rax
leaq 0x11207(%rip), %rbp     # 0x18500
movq (%rsp), %rdx
movl 0x50(%rsp), %esi
xorl 0x38(%rdx), %esi
xorl %r9d, %r9d
orl %ecx, %esi
sete %r9b
movslq 0xc(%r15), %rdx
testq %rdx, %rdx
jle 0x734d
xorl %esi, %esi
xorl %ecx, %ecx
movl 0x30(%r15,%rsi,4), %edi
movl %edi, %r8d
andl $0xf, %r8d
cmpl $0x3, %r8d
sete %r8b
andl $0xe, %edi
cmpl $0xc, %edi
sete %dil
orb %r8b, %dil
movzbl %dil, %edi
addl %edi, %ecx
incq %rsi
cmpq %rsi, %rdx
jne 0x731a
incl %ecx
jmp 0x7352
movl $0x1, %ecx
movq (%rsp), %r14
movslq 0x34(%r14), %r12
movq 0x40(%rax), %rax
movq %rax, 0xf0(%rsp)
movb 0x2a(%rbp), %al
movb %al, 0x58(%rsp)
movb 0x58(%rbp), %al
movb %al, 0x20(%rsp)
movl %ecx, 0x20(%r14)
movl %r9d, 0x9c(%rsp)
addl %r9d, %ecx
movl %ecx, 0x18(%r14)
movslq %ecx, %rsi
xorl %r13d, %r13d
movl $0x38, %edx
xorl %edi, %edi
callq 0x7f34
movq %rax, 0x58(%r14)
movl %r13d, 0x4(%r15)
movl %r13d, 0x1c(%r15)
movq %r13, 0x28(%r15)
movq %r13, 0x14(%r15)
movq 0x40(%r14), %rax
movq %rax, 0x40(%rsp)
movl 0x34(%r14), %eax
cmpl %r13d, 0xc(%r15)
movl %eax, 0x70(%rsp)
jle 0x7a5c
movq 0x28(%rsp), %rax
movq 0x80(%rsp), %rdx
leaq (%rax,%rdx), %rcx
movq %rcx, 0xd8(%rsp)
movq 0x88(%rsp), %rcx
subq %rdx, %rcx
addq %r12, 0x30(%rsp)
movslq %ecx, %rcx
movq %rcx, 0xe8(%rsp)
movq 0x38(%rsp), %rcx
addq %rcx, %rbx
movq 0x60(%rsp), %rdx
cmpq %rcx, %rdx
cmovgq %rdx, %rcx
subq %rcx, %rbx
addq %rbx, %rax
addq $0x2, %rax
movq %rax, 0xe0(%rsp)
xorl %r10d, %r10d
leaq 0x58(%rbp), %rbx
leaq 0xc35c(%rip), %r12      # 0x1378c
xorl %edx, %edx
xorl %ebp, %ebp
movl $0x0, 0x60(%rsp)
xorl %r11d, %r11d
movl $0x0, 0x68(%rsp)
movq $0x0, 0x78(%rsp)
movl $0x0, 0x6c(%rsp)
movl $0x0, 0x80(%rsp)
movq $0x0, 0x88(%rsp)
movq $0x0, 0x38(%rsp)
movq $0x0, 0x90(%rsp)
movq %rbx, 0x50(%rsp)
movl 0x30(%r15,%r10,4), %r9d
movl %r9d, %ecx
andl $0xf, %ecx
movl %r9d, %r13d
shrl $0x4, %r13d
cmpl $0xb, %ecx
ja 0x75ab
leal (%r13,%r13,2), %edi
movslq (%r12,%rcx,4), %rsi
addq %r12, %rsi
jmpq *%rsi
movl %r11d, 0xc(%rsp)
movl %ebp, %eax
cmpl $0x10, %r9d
jb 0x759a
movslq %edx, %rcx
movslq %eax, %rsi
addq 0x30(%rsp), %rsi
addq 0xe0(%rsp), %rcx
shrl $0x4, %r9d
xorl %r8d, %r8d
movb -0x2(%rcx), %bpl
movb -0x1(%rcx), %r12b
movb (%rcx), %bl
cmpb $0x4, %bpl
setae %r14b
cmpb $0x4, %r12b
setae %r11b
orb %r14b, %r11b
cmpb $0x4, %bl
setae %r14b
orb %r11b, %r14b
movb 0x20(%rsp), %r14b
jne 0x7528
shlb $0x4, %bpl
shlb $0x2, %r12b
orb %bpl, %r12b
orb %bl, %r12b
movzbl %r12b, %r11d
leaq 0x111dc(%rip), %rbx     # 0x18700
movb (%rbx,%r11), %r14b
movzbl (%rsi,%r8), %r11d
leaq 0x10fcc(%rip), %rbx     # 0x18500
movzbl (%rbx,%r11), %r11d
movzbl %r14b, %ebx
movq 0x10(%rsp), %r12
movl 0x94(%r12), %ebp
imull %ebx, %ebp
addl %r11d, %ebp
movslq %ebp, %r14
movsbl 0xa8(%r12,%r14), %ebp
xorl %r14d, %r14d
testl %ebp, %ebp
setg %r14b
xorl %r12d, %r12d
cmpb 0x58(%rsp), %bl
sete %r12b
addl %r12d, 0x1c(%r15)
xorl %r12d, %r12d
cmpb %r11b, %bl
sete %r12b
addl %r12d, 0x28(%r15)
addl %r14d, 0x2c(%r15)
addl %ebp, 0x4(%r15)
incq %r8
addq $0x3, %rcx
cmpl %r8d, %r9d
jne 0x74dd
addl %edi, %edx
addl %eax, %r13d
addl %edi, 0x14(%r15)
movl %r13d, %ebp
jmp 0x7842
cmpl $0x3, %ecx
setne %sil
andl $0xe, %r9d
cmpl $0xc, %r9d
setne %dil
testb %dil, %sil
jne 0x7a24
movl %r11d, 0xc(%rsp)
cmpl $0xc, %r9d
jne 0x76a9
leal (%rdx,%r13), %esi
cmpl $0xc, %ecx
movslq %esi, %r8
movq 0xd8(%rsp), %rax
leaq -0x2(%rax,%r8), %rdi
movslq %edx, %rsi
leaq 0x1(%rax,%rsi), %rsi
cmovneq %rsi, %rdi
movb -0x1(%rsi), %sil
movq %rbx, %r9
cmpb $0x3, %sil
ja 0x7639
movb (%rdi), %dil
movq %rbx, %r9
cmpb $0x3, %dil
ja 0x7639
movb -0x1(%rax,%r8), %r8b
movq %rbx, %r9
cmpb $0x3, %r8b
ja 0x7639
shlb $0x4, %sil
shlb $0x2, %dil
orb %r8b, %sil
orb %dil, %sil
movzbl %sil, %r9d
addq 0x1099f(%rip), %r9      # 0x17fd8
movzbl (%r9), %esi
movslq %ebp, %rdi
movq 0x30(%rsp), %r8
movzbl (%r8,%rdi), %edi
leaq 0x10eaf(%rip), %rax     # 0x18500
movzbl (%rax,%rdi), %edi
movl %esi, %r8d
movq 0x10(%rsp), %r9
imull 0x94(%r9), %r8d
addl %edi, %r8d
movslq %r8d, %r8
movsbl 0xa8(%r9,%r8), %r8d
xorl %r9d, %r9d
testl %r8d, %r8d
setg %r9b
xorl %r11d, %r11d
cmpb 0x58(%rsp), %sil
sete %r11b
addl %r11d, 0x1c(%r15)
xorl %r11d, %r11d
cmpb %dil, %sil
sete %r11b
addl %r11d, 0x28(%r15)
addl %r9d, 0x2c(%r15)
addl %r8d, 0x4(%r15)
addl $0x3, 0x14(%r15)
movq (%rsp), %r9
movq 0x58(%r9), %rsi
movl 0x60(%rsp), %r11d
movslq %r11d, %rdi
imulq $0x38, %rdi, %r8
leaq (%rsi,%r8), %rdi
movw $0x0, 0x18(%rsi,%r8)
movq 0x40(%rsp), %rax
movq %rax, (%rsi,%r8)
movl 0x70(%rsp), %eax
movl %eax, 0x10(%rsi,%r8)
movl 0x34(%r9), %r9d
addl %ebp, %r9d
movl %r9d, 0x14(%rsi,%r8)
movl 0x6c(%rsp), %r14d
movl %r14d, 0x1c(%rsi,%r8)
movl 0x80(%rsp), %ebx
movl %ebx, 0x20(%rsi,%r8)
movq 0x78(%rsp), %rax
movw %ax, 0x1a(%rsi,%r8)
movl 0x14(%r15), %r9d
subl 0xc(%rsp), %r9d
movl %r9d, 0x2c(%rsi,%r8)
movl 0x28(%r15), %r9d
subl 0x68(%rsp), %r9d
movl %r9d, 0x28(%rsi,%r8)
movl 0x18(%r15), %r9d
subl %r14d, %r9d
movl %r9d, 0x1c(%rsi,%r8)
movl 0x1c(%r15), %r9d
subl %ebx, %r9d
movl %r9d, 0x20(%rsi,%r8)
movl 0x4(%r15), %r9d
subl 0x88(%rsp), %r9d
movl %r9d, 0x24(%rsi,%r8)
testl %r11d, %r11d
jle 0x7765
movq 0x38(%rsp), %rax
movb %al, 0x32(%rdi)
movq 0x90(%rsp), %rax
movb %al, 0x33(%rdi)
cmpl $0x3, %ecx
jne 0x78b2
movslq %edx, %rax
movq (%rsp), %r11
addq 0x40(%r11), %rax
movq %rax, 0x8(%rdi)
addq %r13, %rax
movq %rax, 0x40(%rsp)
movq $0x0, 0x78(%rsp)
jmp 0x791f
movl %r11d, 0xc(%rsp)
movl %ebp, %eax
cmpl $0x10, %r9d
jb 0x7828
movl 0x1c(%r15), %ecx
movslq %edx, %rsi
addq 0xe0(%rsp), %rsi
shrl $0x4, %r9d
leaq (%r9,%r9,2), %r8
xorl %r9d, %r9d
movb -0x2(%rsi,%r9), %bl
movb -0x1(%rsi,%r9), %r12b
movb (%rsi,%r9), %bpl
cmpb $0x4, %bl
setae %r11b
cmpb $0x4, %r12b
setae %r14b
orb %r11b, %r14b
cmpb $0x4, %bpl
setae %r11b
orb %r14b, %r11b
movb 0x20(%rsp), %r14b
jne 0x780c
shlb $0x4, %bl
shlb $0x2, %r12b
orb %bl, %r12b
orb %bpl, %r12b
movzbl %r12b, %r11d
leaq 0x10ef8(%rip), %rbx     # 0x18700
movb (%rbx,%r11), %r14b
xorl %r11d, %r11d
cmpb 0x58(%rsp), %r14b
sete %r11b
addl %r11d, %ecx
movl %ecx, 0x1c(%r15)
addq $0x3, %r9
cmpl %r9d, %r8d
jne 0x77be
movq 0x10(%rsp), %rcx
imull 0x68(%rcx), %r13d
addl 0x64(%rcx), %r13d
subl %r13d, 0x4(%r15)
addl %edi, %edx
addl %edi, 0x14(%r15)
movl %eax, %ebp
movq 0x50(%rsp), %rbx
leaq 0xbf3e(%rip), %r12      # 0x1378c
movl 0xc(%rsp), %r11d
jmp 0x7a24
movq 0x10(%rsp), %rsi
movl 0x68(%rsi), %ecx
imull %r13d, %ecx
addl 0x64(%rsi), %ecx
subl %ecx, 0x4(%r15)
addl %r13d, %ebp
addl %edi, 0x14(%r15)
jmp 0x7a24
movq 0x10(%rsp), %rcx
movl 0x70(%rcx), %ecx
subl %ecx, 0x4(%r15)
addl %r13d, 0x14(%r15)
addl %r13d, %edx
incl 0x18(%r15)
jmp 0x7a24
movq 0x10(%rsp), %rcx
movl 0x70(%rcx), %ecx
subl %ecx, 0x4(%r15)
addl %edx, %r13d
incl %ebp
addl $0x3, 0x14(%r15)
incl 0x18(%r15)
jmp 0x7a21
cmpl $0xc, %ecx
jne 0x78e7
movq (%rsp), %r11
movq 0x40(%r11), %rsi
movslq %edx, %r8
leaq (%rsi,%r8), %r9
addq %r8, %rsi
incq %rsi
movq %rsi, 0x8(%rdi)
movl %r13d, %esi
leaq (%rsi,%r9), %rax
addq $-0x2, %rax
movq %rax, 0x40(%rsp)
movl $0x2, %eax
jmp 0x791a
cmpl $0xd, %ecx
movq (%rsp), %r11
jne 0x791f
movq 0x40(%r11), %rsi
movslq %edx, %r8
leaq (%rsi,%r8), %r9
addq %r8, %rsi
addq $0x2, %rsi
movq %rsi, 0x8(%rdi)
movl %r13d, %esi
leaq (%rsi,%r9), %rax
decq %rax
movq %rax, 0x40(%rsp)
movl $0x1, %eax
movq %rax, 0x78(%rsp)
movq 0x8(%rdi), %rsi
movq %rsi, %r9
subq 0x40(%r11), %r9
movb $0x2e, %r8b
movb $0x2e, %bl
cmpq 0xe8(%rsp), %r9
movq 0xd8(%rsp), %rax
jge 0x7954
leaq 0x10878(%rip), %r11     # 0x181c0
movq (%r11), %r11
movzbl (%rax,%r9), %r9d
movb (%r11,%r9), %bl
movb %bl, 0x30(%rdi)
movq (%rsp), %r9
subq 0x40(%r9), %rsi
incq %rsi
cmpq 0xe8(%rsp), %rsi
jge 0x797e
leaq 0x1084d(%rip), %r8      # 0x181c0
movq (%r8), %r8
movzbl (%rax,%rsi), %esi
movb (%r8,%rsi), %r8b
movb %r8b, 0x31(%rdi)
movl 0x14(%rdi), %esi
movl %esi, 0x70(%rsp)
movl 0x18(%r15), %esi
movl %esi, 0x6c(%rsp)
movl 0x1c(%r15), %esi
movl %esi, 0x80(%rsp)
movl 0x4(%r15), %esi
movq %rsi, 0x88(%rsp)
movl 0x14(%r15), %r11d
movq 0x40(%rsp), %rsi
movq (%rsp), %rdi
subq 0x40(%rdi), %rsi
movl 0x28(%r15), %edi
movl %edi, 0x68(%rsp)
movb $0x2e, %r9b
movb $0x2e, %dil
movq %rdi, 0x38(%rsp)
cmpq $0x2, %rsi
movq 0x50(%rsp), %rbx
jl 0x79f0
leaq 0x107e2(%rip), %rdi     # 0x181c0
movq (%rdi), %rdi
movzbl -0x2(%rax,%rsi), %r8d
movb (%rdi,%r8), %dil
movq %rdi, 0x38(%rsp)
testq %rsi, %rsi
jle 0x7a08
leaq 0x107c4(%rip), %rdi     # 0x181c0
movq (%rdi), %rdi
movzbl -0x1(%rax,%rsi), %esi
movb (%rdi,%rsi), %r9b
movq %r9, 0x90(%rsp)
incl 0x60(%rsp)
addl %edx, %r13d
xorl %eax, %eax
cmpl $0x3, %ecx
setne %al
addl %eax, %ebp
movl %r13d, %edx
incq %r10
movslq 0xc(%r15), %rcx
cmpq %rcx, %r10
jl 0x7489
movq (%rsp), %rcx
movl 0x60(%rsp), %esi
movq 0x78(%rsp), %r9
movq 0x88(%rsp), %r13
movl 0x80(%rsp), %r10d
movl 0x6c(%rsp), %ebx
movl 0x68(%rsp), %r12d
jmp 0x7a88
movq %r14, %rcx
movq $0x0, 0x90(%rsp)
movq $0x0, 0x38(%rsp)
xorl %r10d, %r10d
xorl %ebx, %ebx
xorl %r9d, %r9d
xorl %r12d, %r12d
xorl %r11d, %r11d
xorl %esi, %esi
xorl %ebp, %ebp
xorl %edx, %edx
movq 0x58(%rcx), %rax
movslq %esi, %rsi
movq %rcx, %r8
imulq $0x38, %rsi, %rcx
movw $0x0, 0x18(%rax,%rcx)
movq 0x40(%rsp), %rdi
movq %rdi, (%rax,%rcx)
movslq %edx, %r14
movq 0x40(%r8), %rdi
addq %r14, %rdi
movq %rdi, 0x8(%rax,%rcx)
movl 0x70(%rsp), %edi
movl %edi, 0x10(%rax,%rcx)
movl 0x34(%r8), %edi
addl %ebp, %edi
movl %edi, 0x14(%rax,%rcx)
movw %r9w, 0x1a(%rax,%rcx)
movl 0x14(%r15), %edi
subl %r11d, %edi
movl %edi, 0x2c(%rax,%rcx)
movl 0x28(%r15), %edi
subl %r12d, %edi
movl %edi, 0x28(%rax,%rcx)
movl 0x18(%r15), %edi
subl %ebx, %edi
movl %edi, 0x1c(%rax,%rcx)
movl 0x1c(%r15), %edi
subl %r10d, %edi
movl %edi, 0x20(%rax,%rcx)
movl 0x4(%r15), %edi
subl %r13d, %edi
movl %edi, 0x24(%rax,%rcx)
testl %esi, %esi
movl 0x9c(%rsp), %esi
jle 0x7b26
addq %rcx, %rax
movq 0x38(%rsp), %rdi
movb %dil, 0x32(%rax)
movq 0x90(%rsp), %rdi
movb %dil, 0x33(%rax)
testl %esi, %esi
je 0x7b76
movq (%rsp), %rdi
movq 0x48(%rdi), %rax
movq 0x58(%rdi), %rsi
movw $0x1, 0x50(%rsi,%rcx)
movq %rax, 0x38(%rsi,%rcx)
addq $0x3, %rax
movq %rax, 0x40(%rsi,%rcx)
movl 0x38(%rdi), %eax
addl %ebp, %eax
movl %eax, 0x4c(%rsi,%rcx)
movl %eax, 0x48(%rsi,%rcx)
movw $0x0, 0x52(%rsi,%rcx)
movl $0x0, 0x54(%rsi,%rcx)
movabsq $0x300000000, %rax      # imm = 0x300000000
movq %rax, 0x60(%rsi,%rcx)
movq (%rsp), %rbx
movq 0x48(%rbx), %rcx
subq 0x40(%rbx), %rcx
cmpq %r14, %rcx
jne 0x7b91
movl 0x38(%rbx), %eax
subl 0x34(%rbx), %eax
cmpl %eax, %ebp
je 0x7bba
leaq 0x58(%rbx), %r15
leaq 0x10844(%rip), %rax     # 0x183e0
cmpl $0x2, (%rax)
jge 0x7c19
movq 0x60(%rbx), %rdi
callq 0x2050
movq 0x58(%rbx), %rdi
callq 0x2050
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
cmpq $0x0, 0xf0(%rsp)
jne 0x7be4
movq 0x48(%rbx), %rax
subq 0x40(%rbx), %rax
cmpq %r14, %rax
jne 0x7c7f
movl 0x38(%rbx), %eax
subl 0x34(%rbx), %eax
cmpl %eax, %ebp
jne 0x7c7f
movq 0x48(%rsp), %rsi
testq %rsi, %rsi
movq 0x18(%rsp), %rdi
je 0x7bfd
callq 0x7fd6
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x7fd6
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x103d0(%rip), %rax     # 0x17ff0
movq (%rax), %rdi
movl 0x38(%rbx), %r9d
subl 0x34(%rbx), %r9d
leaq 0xbc2c(%rip), %rsi      # 0x1385e
movl %ebp, %r8d
xorl %eax, %eax
callq 0x21d0
jmp 0x7ba1
leaq 0xbb74(%rip), %rdi      # 0x137bc
leaq 0xbb78(%rip), %rsi      # 0x137c7
leaq 0xbb79(%rip), %rcx      # 0x137cf
movl $0xf7, %edx
callq 0x2150
leaq 0xbbdb(%rip), %rdi      # 0x13842
leaq 0xbb59(%rip), %rsi      # 0x137c7
leaq 0xbb5a(%rip), %rcx      # 0x137cf
movl $0x10d, %edx            # imm = 0x10D
callq 0x2150
leaq 0xbc0f(%rip), %rdi      # 0x13895
leaq 0xbb3a(%rip), %rsi      # 0x137c7
leaq 0xbc3f(%rip), %rcx      # 0x138d3
movl $0xc8, %edx
callq 0x2150