// File: /workspace/github_c_makefile_star2_O3/lh3[P]minigraph/galign.c
// Function: mg_gchain_cigar
void mg_gchain_cigar(void *km, const gfa_t *g, const gfa_edseq_t *es, const char *qseq, mg_gchains_t *gt, const char *qname) // qname for debugging only
{
	int32_t i, l_seq = 0, m_seq = 0;
	char *seq = 0;
	void *km2;
	mg64_v cigar = {0,0,0};
	km2 = km_init2(km, 0);
	for (i = 0; i < gt->n_gc; ++i) {
		mg_gchain_t *gc = &gt->gc[i];
		int32_t l0 = gc->off;
		int32_t off_a0 = gt->lc[l0].off;
		int32_t j, j0 = 0, k, l;
		cigar.n = 0;
		append_cigar1(km, &cigar, 7, gt->a[off_a0].y>>32&0xff);
		for (j = 1; j < gc->n_anchor; ++j) {
			const mg128_t *q, *p = &gt->a[off_a0 + j];
			if ((p->y & MG_SEED_IGNORE) && j != gc->n_anchor - 1) continue;
			q = &gt->a[off_a0 + j0];
			// find the lchain that contains the anchor
			for (l = l0; l < gc->off + gc->cnt; ++l) {
				mg_llchain_t *r = &gt->lc[l];
				if (off_a0 + j >= r->off && off_a0 + j < r->off + r->cnt)
					break;
			}
			assert(l < gc->off + gc->cnt);
			assert((int32_t)q->x < g->seg[gt->lc[l0].v>>1].len);
			// calculate the target sequence length
			if (l == l0) {
				l_seq = (int32_t)p->x - (int32_t)q->x;
			} else {
				l_seq = g->seg[gt->lc[l0].v>>1].len - (int32_t)q->x - 1;
				for (k = l0 + 1; k < l; ++k)
					l_seq += es[gt->lc[k].v].len;
				l_seq += (int32_t)p->x + 1;
			}
			if (l_seq + 1 > m_seq) {
				m_seq = l_seq + 1;
				kroundup32(m_seq);
				KREALLOC(km, seq, m_seq);
			}
			// get the target sequence
			if (l == l0) { // on the same vertex
				memcpy(seq, &es[gt->lc[l0].v].seq[(int32_t)q->x + 1], l_seq);
			} else {
				uint32_t v = gt->lc[l0].v;
				l_seq = g->seg[v>>1].len - (int32_t)q->x - 1;
				memcpy(seq, &es[v].seq[(int32_t)q->x + 1], l_seq);
				for (k = l0 + 1; k < l; ++k) {
					v = gt->lc[k].v;
					memcpy(&seq[l_seq], es[v].seq, es[v].len);
					l_seq += es[v].len;
				}
				memcpy(&seq[l_seq], es[gt->lc[l].v].seq, (int32_t)p->x + 1);
				l_seq += (int32_t)p->x + 1;
			}
			{
				int32_t qlen = (int32_t)p->y - (int32_t)q->y;
				const char *qs = &qseq[(int32_t)q->y + 1];
				assert(l_seq > 0 || qlen > 0);
				if (l_seq == 0) append_cigar1(km, &cigar, 1, qlen);
				else if (qlen == 0) append_cigar1(km, &cigar, 2, l_seq);
				else if (l_seq == qlen && qlen <= (q->y>>32&0xff)) append_cigar1(km, &cigar, 7, qlen);
				else {
					mwf_opt_t opt;
					mwf_rst_t rst;
					mwf_opt_init(&opt);
					opt.flag |= MWF_F_CIGAR;
					mwf_wfa_auto(km2, &opt, l_seq, seq, qlen, qs, &rst);
					append_cigar(km, &cigar, rst.n_cigar, rst.cigar);
					kfree(km2, rst.cigar);
					if ((mg_dbg_flag&MG_DBG_MINIWFA) && l_seq > 5000 && qlen > 5000 && rst.s >= 10000)
						fprintf(stderr, "WL\t%s\t%d\t%d\t%d\t%d\t%d\n", qname, i, (int32_t)q->y + 1, (int32_t)p->y - (int32_t)q->y, l_seq, rst.s);
					if (rst.s >= 10000 && l_seq > 5000 && qlen > 5000) {
						km_destroy(km2);
						km2 = km_init2(km, 0);
					}
					if ((mg_dbg_flag&MG_DBG_MWF_SEQ) && l_seq > 5000 && qlen > 5000 && rst.s >= 10000) {
						char *str;
						str = Kmalloc(km, char, qlen + l_seq + strlen(qname) + 100);
						k = sprintf(str, "WL\t%s\t%d\t%d\t%d\nWT\t%.*s\nWQ\t%.*s\n", qname, i, (int32_t)q->y + 1, rst.s, l_seq, seq, qlen, qs);
						fwrite(str, 1, k, stderr);
						kfree(km, str);
					}
				}
			}
			j0 = j, l0 = l;
		}
		// save the CIGAR to gt->gc[i]
		gc->p = (mg_cigar_t*)kcalloc(gt->km, 1, cigar.n * 8 + sizeof(mg_cigar_t));
		gc->p->ss = (int32_t)gt->a[off_a0].x + 1 - (int32_t)(gt->a[off_a0].y>>32&0xff);
		gc->p->ee = (int32_t)gt->a[off_a0 + gc->n_anchor - 1].x + 1;
		gc->p->n_cigar = cigar.n;
		memcpy(gc->p->cigar, cigar.a, cigar.n * 8);
		for (j = 0, l = 0; j < gc->p->n_cigar; ++j) {
			int32_t op = gc->p->cigar[j]&0xf, len = gc->p->cigar[j]>>4;
			if (op == 7) gc->p->mlen += len, gc->p->blen += len;
			else gc->p->blen += len;
			if (op != 1) gc->p->aplen += len;
			if (op != 2) l += len;
		}
		memset(&gc->ds, 0, sizeof(gc->ds));
		assert(l == gc->qe - gc->qs && gc->p->aplen == gc->pe - gc->ps);
	}
	km_destroy(km2);
	kfree(km, seq);
	kfree(km, cigar.a);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r9, 0x88(%rsp)
movq %r8, %rbx
movq %rcx, 0xb0(%rsp)
movq %rdx, 0x48(%rsp)
movq %rsi, 0x90(%rsp)
pxor %xmm0, %xmm0
movdqa %xmm0, 0x20(%rsp)
movq %rdi, 0x10(%rsp)
xorl %esi, %esi
callq 0x2f3c
movq %rax, 0x58(%rsp)
cmpl $0x0, 0x8(%rbx)
jle 0x1b654
movq %rbx, %r9
movabsq $0x100000000, %rbp      # imm = 0x100000000
xorl %ecx, %ecx
movl $0x0, 0x64(%rsp)
movq $0x0, 0x18(%rsp)
movq %rbx, (%rsp)
movq %rcx, 0x70(%rsp)
imulq $0x68, %rcx, %rbx
movq 0x18(%r9), %r14
movq 0x20(%r9), %rax
leaq (%r14,%rbx), %r15
movslq 0x8(%r14,%rbx), %r12
leaq (%r12,%r12,4), %rcx
movslq (%rax,%rcx,4), %rdx
movl $0x0, 0x20(%rsp)
movq 0x28(%r9), %rax
movq %rdx, 0x80(%rsp)
shlq $0x4, %rdx
movq %rdx, 0xc0(%rsp)
movzbl 0xc(%rax,%rdx), %ecx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movl $0x7, %edx
callq 0x1b714
movl 0x10(%r14,%rbx), %ecx
cmpl $0x2, %ecx
jl 0x1b523
xorl %r14d, %r14d
movl $0x1, %ebx
movq (%rsp), %r11
movq %r15, 0xc8(%rsp)
movq 0x28(%r11), %rdx
movq 0x80(%rsp), %rax
addq %rbx, %rax
movq %rax, %rsi
shlq $0x4, %rsi
testb $0x2, 0xd(%rdx,%rsi)
je 0x1ae63
decl %ecx
cmpq %rcx, %rbx
je 0x1ae63
movl %r12d, %eax
jmp 0x1b3f9
movq %rsi, 0x30(%rsp)
movq %rbx, 0x78(%rsp)
movl 0xc(%r15), %ecx
addl 0x8(%r15), %ecx
movl %r12d, %esi
subl %ecx, %esi
jge 0x1b698
addq %rdx, 0x30(%rsp)
addl 0x80(%rsp), %r14d
movslq %r14d, %rcx
shlq $0x4, %rcx
addq %rdx, %rcx
movq %rcx, 0x40(%rsp)
movq 0x20(%r11), %rcx
movslq %r12d, %rdi
movq %rdi, %r15
shlq $0x20, %r15
leaq (,%rdi,4), %rdx
leaq (%rdx,%rdx,4), %rdx
leaq (%rcx,%rdx), %r8
addq $0x4, %r8
xorl %ebx, %ebx
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movslq -0x4(%r8), %r9
cmpq %r9, %rax
jl 0x1aeda
movslq (%r8), %r10
addq %r9, %r10
cmpq %r10, %rax
jl 0x1aeef
decl %ebx
addq %rbp, %r15
addq $0x14, %r8
incl %r14d
cmpl %ebx, %esi
jne 0x1aec6
jmp 0x1b698
movq 0x40(%rsp), %rax
movl (%rax), %esi
movq 0x90(%rsp), %rax
movq 0x10(%rax), %rax
leaq (%rdi,%rdi,4), %rbp
movl 0x8(%rcx,%rbp,4), %edi
shrl %edi
shlq $0x6, %rdi
movl (%rax,%rdi), %eax
cmpl %esi, %eax
jle 0x1b6d6
movl %r12d, %r9d
subl %ebx, %r9d
testl %ebx, %ebx
je 0x1af66
notl %esi
addl %esi, %eax
leal 0x1(%r12), %esi
cmpl %r9d, %esi
movq 0x48(%rsp), %rdi
movq 0x18(%rsp), %r8
jge 0x1af59
addq %rdx, %rcx
addq $0x1c, %rcx
movl %r14d, %edx
movl (%rcx), %esi
shlq $0x4, %rsi
addl 0x8(%rdi,%rsi), %eax
addq $0x14, %rcx
decl %edx
jne 0x1af47
movq 0x30(%rsp), %rcx
movl (%rcx), %ecx
addl %eax, %ecx
incl %ecx
jmp 0x1af79
movq 0x30(%rsp), %rax
movl (%rax), %ecx
subl %esi, %ecx
movq 0x48(%rsp), %rdi
movq 0x18(%rsp), %r8
cmpl 0x64(%rsp), %ecx
movl %r9d, 0xc(%rsp)
jge 0x1af89
movq %rcx, %r13
jmp 0x1afd0
movl %ecx, %eax
sarl %eax
movq %rcx, %r13
orl %ecx, %eax
movl %eax, %ecx
sarl $0x2, %ecx
orl %eax, %ecx
movl %ecx, %eax
sarl $0x4, %eax
orl %ecx, %eax
movl %eax, %ecx
sarl $0x8, %ecx
orl %eax, %ecx
movl %ecx, %eax
sarl $0x10, %eax
orl %ecx, %eax
incl %eax
movl %eax, 0x64(%rsp)
movslq %eax, %rdx
movq 0x10(%rsp), %rdi
movq %r8, %rsi
callq 0x31ed
movq 0x48(%rsp), %rdi
movq (%rsp), %r11
movq %rax, %r8
movq 0x20(%r11), %rax
movl 0x8(%rax,%rbp,4), %eax
testl %ebx, %ebx
movq %r8, 0x18(%rsp)
je 0x1b09e
movq 0x90(%rsp), %rcx
movq 0x10(%rcx), %rcx
movl %eax, %edx
shrl %edx
shlq $0x6, %rdx
movq 0x40(%rsp), %rsi
movq (%rsi), %rsi
movl %esi, %ebp
notl %ebp
addl (%rcx,%rdx), %ebp
shlq $0x4, %rax
shlq $0x20, %rsi
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rcx, %rsi
sarq $0x20, %rsi
addq (%rdi,%rax), %rsi
movslq %ebp, %rbx
movq %r8, %rdi
movq %rbx, %rdx
callq 0x2230
incl %r12d
cmpl 0xc(%rsp), %r12d
jge 0x1b0d8
movslq %r12d, %rax
leaq (%rax,%rax,4), %rax
leaq 0x8(,%rax,4), %rbx
movq 0x48(%rsp), %rdx
movq (%rsp), %rax
movq 0x20(%rax), %rax
movl (%rax,%rbx), %r12d
movslq %ebp, %r13
movq 0x18(%rsp), %rax
leaq (%rax,%r13), %rdi
shlq $0x4, %r12
movq (%rdx,%r12), %rsi
movslq 0x8(%rdx,%r12), %rdx
callq 0x2230
movq 0x48(%rsp), %rdx
movslq 0x8(%rdx,%r12), %rbp
addq %r13, %rbp
addq $0x14, %rbx
decl %r14d
jne 0x1b055
movq %rbp, %rbx
movq (%rsp), %rax
jmp 0x1b0e1
shlq $0x4, %rax
movq 0x40(%rsp), %rbx
movq (%rbx), %rsi
shlq $0x20, %rsi
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rcx, %rsi
sarq $0x20, %rsi
addq (%rdi,%rax), %rsi
movslq %r13d, %rdx
movq %r8, %rdi
callq 0x2230
movq %r13, %rdx
movq 0x30(%rsp), %r14
jmp 0x1b133
movq (%rsp), %rax
movq 0x48(%rsp), %rdx
movq 0x18(%rsp), %rcx
addq %rcx, %rbx
movq 0x20(%rax), %rax
sarq $0x20, %r15
leaq (%r15,%r15,4), %rcx
movl 0x8(%rax,%rcx,4), %eax
shlq $0x4, %rax
movq (%rdx,%rax), %rsi
movq 0x30(%rsp), %r14
movq (%r14), %rdx
shlq $0x20, %rdx
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %rdx
sarq $0x20, %rdx
movq %rbx, %rdi
callq 0x2230
movl (%r14), %eax
leal (%rax,%rbp), %edx
incl %edx
movq 0x40(%rsp), %rbx
movl 0x8(%r14), %eax
movq 0x8(%rbx), %r13
movl %eax, %r12d
subl %r13d, %r12d
testl %edx, %edx
movq 0xc8(%rsp), %r15
movq 0x78(%rsp), %rbx
jg 0x1b15b
testl %r12d, %r12d
jle 0x1b6b7
movl %ebx, %r14d
testl %edx, %edx
je 0x1b191
cmpl %r13d, %eax
movabsq $0x100000000, %rbp      # imm = 0x100000000
jne 0x1b1bb
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movq %rdx, %rcx
movl $0x2, %edx
callq 0x1b714
movq (%rsp), %r11
jmp 0x1b3f5
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movl $0x1, %edx
movl %r12d, %ecx
callq 0x1b714
movq (%rsp), %r11
movabsq $0x100000000, %rbp      # imm = 0x100000000
jmp 0x1b3f5
cmpl %r12d, %edx
jne 0x1b1d7
movslq %edx, %rax
movq %r13, %rsi
shrq $0x20, %rsi
movzbl %sil, %esi
cmpq %rax, %rsi
jae 0x1b411
movl %r14d, 0x3c(%rsp)
shlq $0x20, %r13
addq %rbp, %r13
sarq $0x20, %r13
addq 0xb0(%rsp), %r13
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
movq %rdx, %r14
callq 0x12458
orb $0x1, 0xd0(%rsp)
subq $0x8, %rsp
movq 0x60(%rsp), %rdi
movq %rbx, %rsi
movq %r14, 0x58(%rsp)
movl %r14d, %edx
movq 0x20(%rsp), %rcx
movq %r12, 0x70(%rsp)
movl %r12d, %r8d
movq %r13, 0xc0(%rsp)
movq %r13, %r9
leaq 0xa0(%rsp), %rax
pushq %rax
callq 0x14e29
addq $0x10, %rsp
movl 0x9c(%rsp), %r14d
movq 0xa8(%rsp), %r12
testl %r14d, %r14d
je 0x1b31a
movl (%r12), %ecx
movl %ecx, %edx
andl $0xf, %edx
shrl $0x4, %ecx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x1b714
movslq 0x20(%rsp), %rbx
leal (%rbx,%r14), %eax
decl %eax
cmpl 0x24(%rsp), %eax
jle 0x1b2dc
leal (%rbx,%r14), %eax
addl $-0x2, %eax
movl %eax, %ecx
sarl %ecx
orl %eax, %ecx
movl %ecx, %eax
sarl $0x2, %eax
orl %ecx, %eax
movl %eax, %ecx
sarl $0x4, %ecx
orl %eax, %ecx
movl %ecx, %eax
sarl $0x8, %eax
orl %ecx, %eax
movl %eax, %ecx
sarl $0x10, %ecx
orl %eax, %ecx
leal 0x1(%rcx), %eax
movl %eax, 0x24(%rsp)
movq 0x28(%rsp), %rsi
movslq %ecx, %rax
leaq 0x8(,%rax,8), %rdx
movq 0x10(%rsp), %rdi
callq 0x31ed
movq %rax, 0x28(%rsp)
leal -0x1(%r14), %eax
cmpl $0x2, %r14d
jl 0x1b30c
movl %eax, %ecx
leaq (,%rbx,8), %rdx
addq 0x28(%rsp), %rdx
xorl %esi, %esi
movl 0x4(%r12,%rsi,4), %edi
movq %rdi, (%rdx,%rsi,8)
leaq 0x1(%rsi), %rdi
movq %rdi, %rsi
cmpq %rdi, %rcx
jne 0x1b2f7
addl %eax, %ebx
movl %ebx, 0x20(%rsp)
movq 0xa8(%rsp), %r12
movq 0x30(%rsp), %r14
movq 0x58(%rsp), %rdi
movq %r12, %rsi
callq 0x301f
movl $0x1389, %ecx           # imm = 0x1389
movq 0x50(%rsp), %rdx
cmpl %ecx, %edx
setge %al
movq 0x68(%rsp), %rsi
cmpl %ecx, %esi
setge %cl
andb %al, %cl
leaq 0x1732a(%rip), %rax     # 0x32678
andb 0x1(%rax), %cl
movl 0x98(%rsp), %r10d
cmpl $0x2710, %r10d          # imm = 0x2710
setge %al
andb %cl, %al
cmpb $0x1, %al
movq 0x78(%rsp), %rbx
je 0x1b4c9
movq 0x40(%rsp), %r12
movl 0x3c(%rsp), %r14d
cmpl $0x1389, %edx           # imm = 0x1389
movq (%rsp), %r11
jl 0x1b3ca
cmpl $0x2710, %r10d          # imm = 0x2710
jl 0x1b3ca
cmpl $0x1389, %esi           # imm = 0x1389
jl 0x1b3ca
movq 0x58(%rsp), %rdi
callq 0x2fe1
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x2f3c
movq 0x68(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq (%rsp), %r11
movq %rax, 0x58(%rsp)
movl 0x98(%rsp), %r10d
cmpl $0x1389, %edx           # imm = 0x1389
jl 0x1b3f5
leaq 0x1729f(%rip), %rax     # 0x32678
movl (%rax), %eax
movl $0x200, %ecx            # imm = 0x200
andl %ecx, %eax
je 0x1b3f5
cmpl $0x1389, %esi           # imm = 0x1389
jl 0x1b3f5
cmpl $0x2710, %r10d          # imm = 0x2710
jge 0x1b428
movl 0xc(%rsp), %eax
incq %rbx
movslq 0x10(%r15), %rcx
movl %eax, %r12d
cmpq %rcx, %rbx
jl 0x1ae37
jmp 0x1b527
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movq %rdx, %rcx
movl $0x7, %edx
jmp 0x1b183
leal (%rsi,%rdx), %ebx
movq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x2110
leaq (%rbx,%rax), %rsi
addq $0x64, %rsi
movq 0x78(%rsp), %rbx
movq 0x10(%rsp), %r13
movq %r13, %rdi
callq 0x30e5
movq %r12, %rcx
movq %rax, %r12
movl 0x8(%rcx), %r8d
incl %r8d
movl 0x98(%rsp), %r9d
movq %rax, %rdi
leaq 0xe593(%rip), %rsi      # 0x29a07
movq %r14, %rdx
movl 0x3c(%rsp), %r14d
movq 0x70(%rsp), %rcx
xorl %eax, %eax
pushq 0xb8(%rsp)
pushq 0x70(%rsp)
pushq 0x28(%rsp)
pushq 0x68(%rsp)
callq 0x2320
addq $0x20, %rsp
movslq %eax, %rdx
movq 0x16b4f(%rip), %rax     # 0x31ff8
movq (%rax), %rcx
movl $0x1, %esi
movq %r12, %rdi
callq 0x2340
movq %r13, %rdi
movq %r12, %rsi
callq 0x301f
jmp 0x1b188
movq 0x16b28(%rip), %rax     # 0x31ff8
movq (%rax), %rdi
movq 0x40(%rsp), %r12
movl 0x8(%r12), %r8d
movl 0x8(%r14), %r9d
subl %r8d, %r9d
incl %r8d
leaq 0xe503(%rip), %rsi      # 0x299f1
movq 0x88(%rsp), %rdx
movq 0x70(%rsp), %rcx
xorl %eax, %eax
pushq %r10
pushq 0x58(%rsp)
callq 0x2210
movq 0x78(%rsp), %rsi
movq 0x60(%rsp), %rdx
addq $0x10, %rsp
movl 0x98(%rsp), %r10d
jmp 0x1b377
movq (%rsp), %r11
movq (%r11), %rdi
movslq 0x20(%rsp), %r14
leaq 0x18(,%r14,8), %rdx
movq %r14, %rbx
shlq $0x3, %rbx
movl $0x1, %esi
movq %r15, %r12
movq %r11, %r15
callq 0x2f84
movq %rax, 0x48(%r12)
movq 0x28(%r15), %rcx
movq %r12, %r15
movq 0xc0(%rsp), %rsi
movl (%rcx,%rsi), %edx
movzbl 0xc(%rcx,%rsi), %esi
subl %esi, %edx
incl %edx
movl %edx, 0x10(%rax)
movslq 0x10(%r12), %rdx
addq 0x80(%rsp), %rdx
shlq $0x4, %rdx
movl -0x10(%rcx,%rdx), %ecx
incl %ecx
movl %ecx, 0x14(%rax)
movl %r14d, (%rax)
leaq 0x18(%rax), %rdi
movq 0x28(%rsp), %rsi
movq %rbx, %rdx
callq 0x2230
movq 0x48(%r12), %rax
movslq (%rax), %rdx
testq %rdx, %rdx
jle 0x1b604
xorl %esi, %esi
xorl %ecx, %ecx
movq (%rsp), %r9
movq 0x18(%rax,%rsi,8), %rdi
movl %edi, %r8d
andl $0xf, %r8d
shrq $0x4, %rdi
cmpl $0x7, %r8d
jne 0x1b5e6
movq 0x4(%rax), %xmm0
movd %edi, %xmm1
pshufd $0x50, %xmm1, %xmm1     # xmm1 = xmm1[0,0,1,1]
paddd %xmm0, %xmm1
movq %xmm1, 0x4(%rax)
addl %edi, 0xc(%rax)
jmp 0x1b5f8
addl %edi, 0x8(%rax)
cmpl $0x1, %r8d
je 0x1b5f8
addl %edi, 0xc(%rax)
cmpl $0x2, %r8d
je 0x1b5fa
addl %edi, %ecx
incq %rsi
cmpq %rdx, %rsi
jb 0x1b5b4
jmp 0x1b60a
xorl %ecx, %ecx
movq (%rsp), %r9
pxor %xmm0, %xmm0
movdqu %xmm0, 0x50(%r15)
movq $0x0, 0x60(%r15)
movl 0x1c(%r15), %edx
subl 0x18(%r15), %edx
cmpl %edx, %ecx
jne 0x1b6f5
movl 0x28(%r15), %ecx
subl 0x24(%r15), %ecx
cmpl %ecx, 0xc(%rax)
jne 0x1b6f5
movq 0x70(%rsp), %rcx
incq %rcx
movslq 0x8(%r9), %rax
cmpq %rax, %rcx
jl 0x1adba
jmp 0x1b65d
movq $0x0, 0x18(%rsp)
movq 0x58(%rsp), %rdi
callq 0x2fe1
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq 0x18(%rsp), %rsi
callq 0x301f
movq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x301f
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xebe4(%rip), %rdi      # 0x2a283
leaq 0xe293(%rip), %rsi      # 0x29939
leaq 0xe295(%rip), %rcx      # 0x29942
movl $0x3f, %edx
callq 0x2160
leaq 0xe31d(%rip), %rdi      # 0x299db
leaq 0xe274(%rip), %rsi      # 0x29939
leaq 0xe276(%rip), %rcx      # 0x29942
movl $0x61, %edx
callq 0x2160
leaq 0xe2d2(%rip), %rdi      # 0x299af
leaq 0xe255(%rip), %rsi      # 0x29939
leaq 0xe257(%rip), %rcx      # 0x29942
movl $0x40, %edx
callq 0x2160
leaq 0xe32b(%rip), %rdi      # 0x29a27
leaq 0xe236(%rip), %rsi      # 0x29939
leaq 0xe238(%rip), %rcx      # 0x29942
movl $0x8c, %edx
callq 0x2160