// File: /workspace/github_c_makefile_star2_O2/lh3[P]minigraph/asm-call.c
// Function: mg_call_asm
void mg_call_asm(const gfa_t *g, int32_t n_seq, const mg_bseq1_t *seq, mg_gchains_t *const *gcs, int32_t min_mapq, int32_t min_blen)
{
	int32_t i, j, t, max_acnt, *soff, *qoff, n_bb, m_ovlp = 0, *ovlp = 0;
	mg_intv_t *sintv, *qintv;
	double a_dens;
	gfa_bubble_t *bb;
	callaux_t *ca;
	bbaux_t *ba;
	kstring_t out = {0,0,0};

	max_acnt = mg_gc_index(0, min_mapq, min_blen>>1, min_blen, g, n_seq, gcs, &a_dens, &soff, &qoff, &sintv, &qintv);
	if (max_acnt == 0) return;

	bb = gfa_bubble(g, &n_bb);
	GFA_CALLOC(ba, n_bb);
	GFA_CALLOC(ca, g->n_seg);
	for (i = 0; i < n_bb; ++i) {
		gfa_bubble_t *b = &bb[i];
		assert(b->n_seg >= 2);
		for (j = 0; j < b->n_seg; ++j)
			ca[b->v[j]>>1].bid = i;
		ca[b->v[0]>>1].is_stem = ca[b->v[b->n_seg-1]>>1].is_stem = 1;
		ca[b->v[0]>>1].is_src = 1;
		ba[i].t = -1;
	}

	for (t = 0; t < n_seq; ++t) {
		const mg_gchains_t *gt = gcs[t];
		for (i = 0; i < gt->n_gc; ++i) {
			const mg_gchain_t *gc = &gt->gc[i];
			int32_t st = -1;
			for (j = 1; j < gc->cnt; ++j) {
				const mg_llchain_t *lc = &gt->lc[gc->off + j];
				if (!ca[lc->v>>1].is_stem && ca[(lc-1)->v>>1].is_stem) {
					st = gc->off + j;
				} else if ((ca[lc->v>>1].is_stem && !ca[(lc-1)->v>>1].is_stem && st > 0) || (ca[lc->v>>1].is_stem && ca[(lc-1)->v>>1].is_stem)) {
					int32_t n_ovlp, k, en = gc->off + j, qs, qe, span, bid, strand, glen;
					bbaux_t *p;

					// determine the source and sink nodes
					if (ca[lc->v>>1].is_stem && ca[(lc-1)->v>>1].is_stem) { // two adjacent stems: this is a deletion
						st = gc->off + j;
					} else {
						assert(en > st);
					}

					// test overlap on the query
					span = gt->a[gt->lc[st].off].y >> 32 & 0xff;
					qs = (int32_t)gt->a[gt->lc[st - 1].off + gt->lc[st - 1].cnt - 1].y + 1; // NB: it is fine even if .cnt==0
					qe = (int32_t)gt->a[gt->lc[en].off].y + 1 - span;
					n_ovlp = mg_intv_overlap(0, qoff[t+1] - qoff[t], &qintv[qoff[t]], qs, qe, &ovlp, &m_ovlp);
					if (n_ovlp > 1) continue; // overlap on the query - not orthologous

					// test overlap on the graph
					for (k = st, glen = 0; k < en; ++k) {
						const mg_llchain_t *lk = &gt->lc[k];
						int32_t seg = lk->v>>1;
						n_ovlp = mg_intv_overlap(0, soff[seg+1] - soff[seg], &sintv[soff[seg]], 0, g->seg[seg].len, &ovlp, &m_ovlp);
						glen += g->seg[seg].len;
						if (n_ovlp > 1) break; // overlap on the graph - not orthoologous
					}
					if (k < en) continue;

					// determine the bubble ID
					assert(ca[gt->lc[st-1].v>>1].is_stem && ca[gt->lc[en].v>>1].is_stem);
					if (ca[gt->lc[st-1].v>>1].bid < ca[gt->lc[en].v>>1].bid)
						strand = 1;
					else if (ca[gt->lc[st-1].v>>1].bid > ca[gt->lc[en].v>>1].bid)
						strand = -1;
					else {
						if (ca[gt->lc[st-1].v>>1].is_src + ca[gt->lc[en].v>>1].is_src != 1) {
							fprintf(stderr, "[W::%s] type-1 folded inversion alignment around %c%s <=> %s:%d-%d\n",
									__func__, "><"[gt->lc[st].v&1], g->seg[gt->lc[st].v>>1].name, seq[t].name, qs, qe);
							continue;
						}
						if (ca[gt->lc[st-1].v>>1].is_src) strand = 1;
						else strand = -1;
					}
					bid = strand > 0? ca[gt->lc[st-1].v>>1].bid : ca[gt->lc[en].v>>1].bid;

					// attach the bubble
					for (k = st; k < en; ++k) // check consistency
						if (ca[gt->lc[k].v>>1].bid != bid)
							break;
					if (k != en) { // this may happen around an inversion towards the end of an alignment chain
						fprintf(stderr, "[W::%s] type-2 folded inversion alignment around %c%s <=> %s:%d-%d\n",
								__func__, "><"[gt->lc[st].v&1], g->seg[gt->lc[st].v>>1].name, seq[t].name, qs, qe);
						continue;
					}
					p = &ba[bid];
					p->t = t, p->i = i, p->st = st, p->en = en, p->strand = strand, p->qs = qs, p->qe = qe, p->glen = glen;
				}
			}
		}
	}

	for (i = 0; i < n_bb; ++i) {
		gfa_bubble_t *b = &bb[i];
		bbaux_t *a = &ba[i];
		const mg_gchains_t *gt = gcs[a->t];
		out.l = 0;
		mg_sprintf_lite(&out, "%s\t%d\t%d\t%c%s\t%c%s\t", g->sseq[b->snid].name, b->ss, b->se, "><"[b->v[0]&1], g->seg[b->v[0]>>1].name,
						"><"[b->v[b->n_seg-1]&1], g->seg[b->v[b->n_seg-1]>>1].name);
		if (a->t >= 0) {
			assert(a->strand != 0);
			if (a->st == a->en) {
				mg_sprintf_lite(&out, "*");
			} else if (a->strand > 0) {
				for (j = a->st; j < a->en; ++j)
					mg_sprintf_lite(&out, "%c%s", "><"[gt->lc[j].v&1], g->seg[gt->lc[j].v>>1].name);
			} else {
				for (j = a->en - 1; j >= a->st; --j)
					mg_sprintf_lite(&out, "%c%s", "<>"[gt->lc[j].v&1], g->seg[gt->lc[j].v>>1].name);
			}
			mg_sprintf_lite(&out, ":%d:%c:%s:%d:%d", a->glen, a->strand > 0? '+' : '-', seq[a->t].name, a->qs, a->qe);
		} else {
			mg_sprintf_lite(&out, ".");
		}
		puts(out.s);
	}

	free(ba); free(ca);
	free(soff); free(qoff); free(sintv); free(qintv);
	for (i = 0; i < n_bb; ++i) free(bb[i].v);
	free(bb);
	free(out.s);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, %r12
movq %rdx, 0x70(%rsp)
movl %esi, %ebp
andl $0x0, 0x20(%rsp)
movq %rdi, %r13
andq $0x0, 0xa8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xc0(%rsp)
movl %r9d, %edx
sarl %edx
leaq 0x98(%rsp), %rax
leaq 0xa0(%rsp), %r10
leaq 0xb0(%rsp), %r11
leaq 0xb8(%rsp), %rbx
leaq 0xf0(%rsp), %r14
xorl %r15d, %r15d
xorl %edi, %edi
movl %r8d, %esi
movl %r9d, %ecx
movq %r13, %r8
movq %rbp, 0x40(%rsp)
movl %ebp, %r9d
pushq %rax
pushq %r10
pushq %r11
pushq %rbx
pushq %r14
movq %r12, 0xa0(%rsp)
pushq %r12
callq 0x1d93c
addq $0x30, %rsp
testl %eax, %eax
je 0x21742
leaq 0x24(%rsp), %rbx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x8eb8
movq %rax, 0x28(%rsp)
movslq (%rbx), %rbx
pushq $0x20
popq %rsi
movq %rbx, %rdi
callq 0x21e0
movq %rax, 0x10(%rsp)
movq %r13, 0x8(%rsp)
movl 0x4(%r13), %edi
pushq $0x8
popq %rsi
callq 0x21e0
movq %rax, %r14
testl %ebx, %ebx
movl $0x0, %r9d
cmovgl %ebx, %r9d
cmpq %r9, %r15
je 0x20fee
imulq $0x48, %r15, %rcx
movq 0x28(%rsp), %rsi
movslq 0x18(%rsi,%rcx), %rdx
cmpq $0x2, %rdx
jl 0x2178a
addq %rsi, %rcx
movq 0x28(%rcx), %rsi
xorl %edi, %edi
cmpq %rdi, %rdx
je 0x20fb4
movl (%rsi,%rdi,4), %r8d
shrl %r8d
movl %r15d, (%r14,%r8,8)
incq %rdi
jmp 0x20f9f
movq 0x28(%rcx), %rcx
movl -0x4(%rcx,%rdx,4), %edx
shrl %edx
movb 0x4(%r14,%rdx,8), %sil
andb $-0x10, %sil
incb %sil
movb %sil, 0x4(%r14,%rdx,8)
movl (%rcx), %ecx
shrl %ecx
movb $0x11, 0x4(%r14,%rcx,8)
movq %r15, %rcx
shlq $0x5, %rcx
movq 0x10(%rsp), %rdx
orl $-0x1, (%rdx,%rcx)
incq %r15
jmp 0x20f79
xorl %eax, %eax
movq 0x40(%rsp), %rcx
testl %ecx, %ecx
cmovlel %eax, %ecx
movq %rcx, 0x40(%rsp)
xorl %r11d, %r11d
movq %r14, 0x38(%rsp)
cmpq 0x40(%rsp), %r11
je 0x21481
movq 0x78(%rsp), %rax
movq (%rax,%r11,8), %r12
imulq $0x28, %r11, %rax
movq 0x70(%rsp), %rcx
addq %rcx, %rax
addq $0x8, %rax
movq %rax, 0x80(%rsp)
xorl %ecx, %ecx
movq %r11, 0x90(%rsp)
movslq 0x8(%r12), %rax
cmpq %rax, %rcx
jge 0x21479
movq %rcx, 0x88(%rsp)
imulq $0x68, %rcx, %r15
addq 0x18(%r12), %r15
pushq $0x1
popq %r13
pushq $-0x1
popq %rax
movq %r15, 0x30(%rsp)
cmpl 0xc(%r15), %r13d
jge 0x21469
movq 0x20(%r12), %rcx
movslq 0x8(%r15), %r9
movslq %r13d, %rdi
addq %r9, %rdi
imulq $0x14, %rdi, %r8
movl -0xc(%rcx,%r8), %edx
movl 0x8(%rcx,%r8), %esi
shrl %esi
shrl %edx
testb $0xf, 0x4(%r14,%rsi,8)
movb 0x4(%r14,%rdx,8), %dl
je 0x210b7
testb $0xf, %dl
jne 0x210c2
testl %eax, %eax
jle 0x210c2
cmpl %eax, %edi
jle 0x21754
movl %eax, %ebx
movl %eax, %ebp
jmp 0x210d0
testb $0xf, %dl
cmovnel %edi, %eax
jmp 0x21384
movq %rdi, %rbx
movl %edi, %ebp
testb $0xf, %dl
je 0x21384
movq %r13, 0x18(%rsp)
movq %r9, 0xe0(%rsp)
movq %rdi, 0x68(%rsp)
movq %r8, 0xe8(%rsp)
leaq (%rcx,%r8), %rax
movq 0x28(%r12), %rdx
imulq $0x14, %rbx, %r13
movslq (%rcx,%r13), %rsi
shlq $0x4, %rsi
movzbl 0xc(%rdx,%rsi), %esi
leal -0x1(%rbp), %edi
movslq %edi, %rdi
imulq $0x14, %rdi, %r8
movslq (%rcx,%r8), %rdi
movq %r8, 0x60(%rsp)
movslq 0x4(%rcx,%r8), %rcx
addq %rdi, %rcx
shlq $0x4, %rcx
movl -0x8(%rdx,%rcx), %ecx
incl %ecx
movslq (%rax), %rax
shlq $0x4, %rax
movl 0x8(%rdx,%rax), %r8d
subl %esi, %r8d
incl %r8d
movq 0xb0(%rsp), %rax
movl 0x4(%rax,%r11,4), %esi
movslq (%rax,%r11,4), %rdx
subl %edx, %esi
shlq $0x4, %rdx
addq 0x98(%rsp), %rdx
subq $0x8, %rsp
xorl %edi, %edi
movq %rcx, 0x60(%rsp)
movq %r8, 0x58(%rsp)
leaq 0xb0(%rsp), %r9
leaq 0x28(%rsp), %rax
pushq %rax
movq %r11, %r14
callq 0x3401
addq $0x10, %rsp
cmpl $0x1, %eax
jle 0x21198
movl %ebp, %eax
movq %r14, %r11
movq 0x38(%rsp), %r14
jmp 0x2137f
movq %rbp, 0x48(%rsp)
movq %r13, 0xd8(%rsp)
leaq 0x8(%r13), %r14
xorl %r15d, %r15d
movq %rbx, 0xd0(%rsp)
movq 0x8(%rsp), %r13
movq 0x20(%r12), %rax
movq 0x68(%rsp), %rbp
cmpq %rbp, %rbx
jge 0x21239
movq %r12, %rbp
movl (%rax,%r14), %r12d
shrl %r12d
movq 0xb8(%rsp), %rax
movl 0x4(%rax,%r12,4), %esi
movslq (%rax,%r12,4), %rdx
subl %edx, %esi
shlq $0x4, %rdx
addq 0xa0(%rsp), %rdx
movq 0x10(%r13), %rax
shlq $0x6, %r12
movl (%rax,%r12), %r8d
subq $0x8, %rsp
xorl %edi, %edi
xorl %ecx, %ecx
leaq 0xb0(%rsp), %r9
leaq 0x28(%rsp), %rax
pushq %rax
callq 0x3401
addq $0x10, %rsp
cmpl $0x1, %eax
jg 0x21365
movq 0x10(%r13), %rax
addl (%rax,%r12), %r15d
incq %rbx
addq $0x14, %r14
movq %rbp, %r12
jmp 0x211b9
movq 0x60(%rsp), %rcx
movl 0x8(%rax,%rcx), %edx
movl %edx, %r8d
shrl %r8d
movq 0x38(%rsp), %r14
movb 0x4(%r14,%r8,8), %dil
testb $0xf, %dil
je 0x2176d
movq 0xe8(%rsp), %rcx
movl 0x8(%rax,%rcx), %esi
movl %esi, %r10d
shrl %r10d
movb 0x4(%r14,%r10,8), %r9b
testb $0xf, %r9b
je 0x2176d
movl (%r14,%r10,8), %r11d
pushq $0x1
popq %rcx
cmpl %r11d, (%r14,%r8,8)
movq 0x90(%rsp), %r11
movq 0x18(%rsp), %r13
movq 0xd8(%rsp), %rbx
jl 0x212d7
movq %r10, %r8
pushq $-0x1
popq %rcx
jg 0x212d7
movl %edi, %ecx
shrb $0x4, %cl
shrb $0x4, %r9b
addb %cl, %r9b
cmpb $0x1, %r9b
jne 0x213fb
cmpb $0x10, %dil
movl $0x0, %ecx
sbbl %ecx, %ecx
cmpb $0x10, %dil
cmovael %edx, %esi
orl $0x1, %ecx
shrl %esi
movq %rsi, %r8
movslq (%r14,%r8,8), %rdx
leaq (%rax,%rbx), %rsi
addq $0x8, %rsi
movq 0x48(%rsp), %r8
movq 0xe0(%rsp), %r9
movq 0xd0(%rsp), %rdi
cmpq %rbp, %rdi
jge 0x21316
movq %rdi, %r10
movl (%rsi), %edi
shrl %edi
cmpl %edx, (%r14,%rdi,8)
movq %r10, %rdi
jne 0x21316
incq %rdi
addq $0x14, %rsi
jmp 0x212f8
addl %r13d, %r9d
cmpl %edi, %r9d
jne 0x2138c
shlq $0x5, %rdx
movq 0x10(%rsp), %rax
movl %r11d, (%rax,%rdx)
movq 0x88(%rsp), %rsi
movl %esi, 0x4(%rax,%rdx)
movl %r8d, 0x8(%rax,%rdx)
movl %ebp, 0xc(%rax,%rdx)
movl %ecx, 0x10(%rax,%rdx)
movq 0x58(%rsp), %rcx
movl %ecx, 0x14(%rax,%rdx)
movq 0x50(%rsp), %rcx
movl %ecx, 0x18(%rax,%rdx)
movl %r15d, 0x1c(%rax,%rdx)
movl %r8d, %eax
movq 0x30(%rsp), %r15
jmp 0x21384
movq 0x48(%rsp), %rax
movq 0x38(%rsp), %r14
movq 0x90(%rsp), %r11
movq %rbp, %r12
movq 0x30(%rsp), %r15
movq 0x18(%rsp), %r13
incq %r13
jmp 0x21068
movq 0xcc65(%rip), %rcx      # 0x2dff8
movq (%rcx), %rdi
movl 0x8(%rax,%rbx), %eax
movl %eax, %ecx
andl $0x1, %ecx
leaq 0x230d(%rip), %rdx      # 0x236b3
movsbl (%rcx,%rdx), %ecx
movq 0x8(%rsp), %rdx
movq 0x10(%rdx), %rdx
shrl %eax
shlq $0x6, %rax
movq %r8, %r15
movq 0x18(%rdx,%rax), %r8
movq 0x80(%rsp), %rax
movq (%rax), %r9
leaq 0x44f0(%rip), %rsi      # 0x258c3
leaq 0x44dd(%rip), %rdx      # 0x258b7
xorl %eax, %eax
pushq 0x50(%rsp)
pushq 0x60(%rsp)
movq %r11, %rbx
callq 0x2210
movq %rbx, %r11
addq $0x10, %rsp
movl %r15d, %eax
jmp 0x2135e
movq 0xcbf6(%rip), %rcx      # 0x2dff8
movq (%rcx), %rdi
movl 0x8(%rax,%rbx), %eax
movl %eax, %ecx
andl $0x1, %ecx
leaq 0x229e(%rip), %rdx      # 0x236b3
movsbl (%rcx,%rdx), %ecx
movq 0x8(%rsp), %rdx
movq 0x10(%rdx), %rdx
shrl %eax
shlq $0x6, %rax
movq 0x18(%rdx,%rax), %r8
movq 0x80(%rsp), %rax
movq (%rax), %r9
leaq 0x4434(%rip), %rsi      # 0x25873
leaq 0x4471(%rip), %rdx      # 0x258b7
xorl %eax, %eax
pushq 0x50(%rsp)
pushq 0x60(%rsp)
movq %r11, %rbx
callq 0x2210
movq %rbx, %r11
addq $0x10, %rsp
movq 0x48(%rsp), %rax
jmp 0x2135e
movq 0x88(%rsp), %rcx
incq %rcx
jmp 0x2103d
incq %r11
jmp 0x21007
leaq 0xc0(%rsp), %r15
xorl %ebp, %ebp
movslq 0x24(%rsp), %rax
cmpq %rax, %rbp
jge 0x216bb
imulq $0x48, %rbp, %rax
movq %rbp, 0x68(%rsp)
shlq $0x5, %rbp
movq 0x10(%rsp), %rcx
movslq (%rcx,%rbp), %r13
movq 0x78(%rsp), %rcx
movq (%rcx,%r13,8), %r12
andl $0x0, 0xc0(%rsp)
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %r10
movq 0x28(%rcx), %rcx
movq 0x28(%rsp), %rbx
movslq (%rbx,%rax), %rdx
imulq $0x18, %rdx, %rdx
movq (%rcx,%rdx), %rdx
movl 0x4(%rbx,%rax), %ecx
movl 0x8(%rbx,%rax), %r8d
movq 0x28(%rbx,%rax), %rsi
movl (%rsi), %r11d
movl %r11d, %edi
andl $0x1, %edi
leaq 0x21b7(%rip), %r14      # 0x236b3
movsbl (%rdi,%r14), %r9d
shrl %r11d
shlq $0x6, %r11
movslq 0x18(%rbx,%rax), %rax
movl -0x4(%rsi,%rax,4), %ebx
movl %ebx, %eax
andl $0x1, %eax
movsbl (%rax,%r14), %r14d
shrl %ebx
shlq $0x6, %rbx
subq $0x8, %rsp
movq %r15, %rdi
leaq 0x43d8(%rip), %rsi      # 0x25907
xorl %eax, %eax
pushq 0x18(%r10,%rbx)
pushq %r14
pushq 0x18(%r10,%r11)
callq 0x1be9c
addq $0x20, %rsp
movq %r13, 0x18(%rsp)
testq %r13, %r13
js 0x215d7
addq 0x10(%rsp), %rbp
movl 0x10(%rbp), %eax
testl %eax, %eax
je 0x217a3
movq %r15, %r13
movslq 0x8(%rbp), %r15
movslq 0xc(%rbp), %rbx
cmpl %ebx, %r15d
movl %eax, 0x60(%rsp)
jne 0x21607
movq %r13, %rdi
leaq 0x43a4(%rip), %rsi      # 0x2592a
xorl %eax, %eax
callq 0x1be9c
movl 0x1c(%rbp), %edx
xorl %eax, %eax
cmpl $0x0, 0x60(%rsp)
setle %al
leal 0x2b(,%rax,2), %ecx
imulq $0x28, 0x18(%rsp), %rax
movq 0x70(%rsp), %rsi
movq 0x8(%rsi,%rax), %r8
movl 0x14(%rbp), %r9d
movl 0x18(%rbp), %r10d
subq $0x8, %rsp
movq %r13, %r15
movq %r13, %rdi
leaq 0x4365(%rip), %rsi      # 0x2592f
xorl %eax, %eax
pushq %r10
callq 0x1be9c
popq %rax
popq %rcx
jmp 0x215e8
movq %r15, %rdi
leaq 0x1a99(%rip), %rsi      # 0x2307a
xorl %eax, %eax
callq 0x1be9c
movq 0xc8(%rsp), %rdi
callq 0x2090
movq 0x68(%rsp), %rbp
incq %rbp
movq 0x38(%rsp), %r14
jmp 0x2148b
testl %eax, %eax
jle 0x21663
imulq $0x14, %r15, %r14
addq $0x8, %r14
cmpq %rbx, %r15
jge 0x2158d
movq 0x20(%r12), %rax
movl (%rax,%r14), %eax
movl %eax, %ecx
andl $0x1, %ecx
leaq 0x2082(%rip), %rdx      # 0x236b3
movsbl (%rcx,%rdx), %edx
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rcx
shrl %eax
shlq $0x6, %rax
movq 0x18(%rcx,%rax), %rcx
movq %r13, %rdi
leaq 0x3919(%rip), %rsi      # 0x24f6c
xorl %eax, %eax
callq 0x1be9c
incq %r15
addq $0x14, %r14
jmp 0x21613
imulq $0x14, %rbx, %r14
addq $-0xc, %r14
cmpq %r15, %rbx
jle 0x2158d
decq %rbx
movq 0x20(%r12), %rax
movl (%rax,%r14), %eax
movl %eax, %ecx
andl $0x1, %ecx
leaq 0x42a0(%rip), %rdx      # 0x2592c
movsbl (%rcx,%rdx), %edx
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rcx
shrl %eax
shlq $0x6, %rax
movq 0x18(%rcx,%rax), %rcx
movq %r13, %rdi
leaq 0x38be(%rip), %rsi      # 0x24f6c
xorl %eax, %eax
callq 0x1be9c
addq $-0x14, %r14
jmp 0x2166b
movq 0x10(%rsp), %rdi
callq 0x2040
movq %r14, %rdi
callq 0x2040
movq 0xb8(%rsp), %rdi
callq 0x2040
movq 0xb0(%rsp), %rdi
callq 0x2040
movq 0xa0(%rsp), %rdi
callq 0x2040
movq 0x98(%rsp), %rdi
callq 0x2040
movq 0x28(%rsp), %rdi
movq %rdi, %rbx
addq $0x28, %rbx
xorl %r14d, %r14d
movslq 0x24(%rsp), %rax
cmpq %rax, %r14
jge 0x21730
movq (%rbx), %rdi
callq 0x2040
movq 0x28(%rsp), %rdi
incq %r14
addq $0x48, %rbx
jmp 0x21710
callq 0x2040
movq 0xc8(%rsp), %rdi
callq 0x2040
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x40d3(%rip), %rdi      # 0x2582e
leaq 0x405b(%rip), %rsi      # 0x257bd
leaq 0x405f(%rip), %rcx      # 0x257c8
pushq $0x40
jmp 0x21784
leaq 0x40c2(%rip), %rdi      # 0x25836
leaq 0x4042(%rip), %rsi      # 0x257bd
leaq 0x4046(%rip), %rcx      # 0x257c8
pushq $0x55
popq %rdx
callq 0x2160
leaq 0x401e(%rip), %rdi      # 0x257af
leaq 0x4025(%rip), %rsi      # 0x257bd
leaq 0x4029(%rip), %rcx      # 0x257c8
pushq $0x27
jmp 0x21784
leaq 0x4171(%rip), %rdi      # 0x2591b
leaq 0x400c(%rip), %rsi      # 0x257bd
leaq 0x4010(%rip), %rcx      # 0x257c8
pushq $0x7d
jmp 0x21784