// File: /workspace/github_c_makefile_star2_O0/lh3[P]miniprot/format.c
// Function: mp_write_cs
static void mp_write_cs(kstring_t *str, const mp_idx_t *mi, const char *aa, const mp_reg1_t *r)
{
	int32_t k, i, j, l, nl = 0, al = 0, l_tmp = 16;
	const mp_extra_t *e = r->p;
	int64_t l_nt;
	uint8_t *nt;
	char *tmp;
	if (e == 0) return;
	mp_sprintf_lite(str, "cs:Z:");
	for (k = 0; k < e->n_cigar; ++k) { // pre-calculate l_tmp
		int32_t op = e->cigar[k]&0xf, len = e->cigar[k]>>4, len3 = len * 3;
		if (op == NS_CIGAR_I || op == NS_CIGAR_F || op == NS_CIGAR_G) l_tmp = l_tmp > len? l_tmp : len;
		else if (op == NS_CIGAR_D) l_tmp = l_tmp > len3? l_tmp : len3;
	}
	tmp = Kmalloc(0, char, l_tmp + 16);
	nt = Kmalloc(0, uint8_t, r->ve - r->vs);
	l_nt = mp_ntseq_get_by_v(mi->nt, r->vid, r->vs, r->ve, nt);
	assert(l_nt == r->ve - r->vs);
	for (k = 0; k < e->n_cigar; ++k) {
		int32_t t, op = e->cigar[k]&0xf, len = e->cigar[k]>>4, len3 = len * 3;
		if (op == NS_CIGAR_M) {
			for (i = nl, j = al, l = 0, t = 0; l < len; ++l, ++j, i += 3) {
				uint8_t nt_aa, aa_aa, codon = nt[i]<<4 | nt[i+1]<<2 | nt[i+2];
				nt_aa = nt[i] > 3 || nt[i+1] > 3 || nt[i+2] > 3? ns_tab_aa20['X'] : ns_tab_codon[codon];
				aa_aa = ns_tab_aa20[(uint8_t)aa[j]];
				if (nt_aa != aa_aa) {
					if (t > 0) mp_sprintf_lite(str, ":%d", t);
					tmp[0] = "acgtn"[nt[i]], tmp[1] = "acgtn"[nt[i+1]], tmp[2] = "acgtn"[nt[i+2]], tmp[3] = toupper(aa[j]), tmp[4] = 0;
					mp_sprintf_lite(str, "*%s", tmp);
					t = 0;
				} else ++t;
			}
			if (t > 0) mp_sprintf_lite(str, ":%d", t); // t is the length of exact match
			nl += len3, al += len;
		} else if (op == NS_CIGAR_I) {
			for (j = t = 0; j < len; ++j)
				tmp[t++] = toupper(aa[al + j]);
			tmp[t] = 0;
			mp_sprintf_lite(str, "+%s", tmp);
			al += len;
		} else if (op == NS_CIGAR_D) {
			for (i = t = 0; i < len3; ++i)
				tmp[t++] = "acgtn"[nt[nl + i]];
			tmp[t] = 0;
			mp_sprintf_lite(str, "-%s", tmp);
			nl += len3;
		} else if (op == NS_CIGAR_F) {
			for (i = t = 0; i < len; ++i)
				tmp[t++] = "acgtn"[nt[nl + i]];
			tmp[t] = 0;
			mp_sprintf_lite(str, "-%s", tmp);
			nl += len;
		} else if (op == NS_CIGAR_G) {
			for (i = t = 0; i < len; ++i)
				tmp[t++] = "acgtn"[nt[nl + i]];
			tmp[t++] = toupper(aa[al]);
			tmp[t] = 0;
			mp_sprintf_lite(str, "*%s", tmp);
			nl += len, ++al;
		} else if (op == NS_CIGAR_N || op == NS_CIGAR_U || op == NS_CIGAR_V) {
			int32_t lshift = op == NS_CIGAR_N? 0 : op == NS_CIGAR_U? 1 : 2;
			int32_t rshift = lshift == 0? 0 : 3 - lshift;
			if (lshift > 0) {
				for (i = t = 0; i < lshift; ++i)
					tmp[t++] = "acgtn"[nt[nl + i]];
				tmp[t++] = toupper(aa[al]);
				tmp[t] = 0;
				mp_sprintf_lite(str, "*%s", tmp);
			}
			mp_sprintf_lite(str, "~%c%c%d%c%c", "acgtn"[nt[nl + lshift]], "acgtn"[nt[nl + lshift + 1]], len - (lshift + rshift),
							"acgtn"[nt[nl + len - rshift - 2]], "acgtn"[nt[nl + len - rshift - 1]]);
			if (rshift > 0) {
				for (i = t = 0; i < rshift; ++i)
					tmp[t++] = "acgtn"[nt[nl + len - rshift + i]];
				tmp[t] = 0;
				mp_sprintf_lite(str, "-%s", tmp);
			}
			if (lshift) ++al;
			nl += len;
		}
	}
	assert(nl == r->ve - r->vs);
	assert(al == r->qe - r->qs);
	kfree(0, nt);
	kfree(0, tmp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x0, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
movl $0x10, -0x3c(%rbp)
movq -0x20(%rbp), %rax
movq 0x60(%rax), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x1c8b8
jmp 0x1d217
movq -0x8(%rbp), %rdi
leaq 0x5685(%rip), %rsi      # 0x21f48
movb $0x0, %al
callq 0x1bc80
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movq -0x48(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jge 0x1c982
movq -0x48(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl 0x30(%rax,%rcx,4), %eax
andl $0xf, %eax
movl %eax, -0x64(%rbp)
movq -0x48(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl 0x30(%rax,%rcx,4), %eax
shrl $0x4, %eax
movl %eax, -0x68(%rbp)
imull $0x3, -0x68(%rbp), %eax
movl %eax, -0x6c(%rbp)
cmpl $0x1, -0x64(%rbp)
je 0x1c91e
cmpl $0xa, -0x64(%rbp)
je 0x1c91e
cmpl $0xb, -0x64(%rbp)
jne 0x1c945
movl -0x3c(%rbp), %eax
cmpl -0x68(%rbp), %eax
jle 0x1c931
movl -0x3c(%rbp), %eax
movl %eax, -0x8c(%rbp)
jmp 0x1c93a
movl -0x68(%rbp), %eax
movl %eax, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
movl %eax, -0x3c(%rbp)
jmp 0x1c972
cmpl $0x2, -0x64(%rbp)
jne 0x1c970
movl -0x3c(%rbp), %eax
cmpl -0x6c(%rbp), %eax
jle 0x1c95e
movl -0x3c(%rbp), %eax
movl %eax, -0x90(%rbp)
jmp 0x1c967
movl -0x6c(%rbp), %eax
movl %eax, -0x90(%rbp)
movl -0x90(%rbp), %eax
movl %eax, -0x3c(%rbp)
jmp 0x1c972
jmp 0x1c974
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x1c8d1
movl -0x3c(%rbp), %eax
addl $0x10, %eax
movslq %eax, %rsi
shlq $0x0, %rsi
xorl %eax, %eax
movl %eax, %edi
callq 0xaeb0
movq %rax, -0x60(%rbp)
movq -0x20(%rbp), %rax
movq 0x48(%rax), %rsi
movq -0x20(%rbp), %rax
subq 0x40(%rax), %rsi
shlq $0x0, %rsi
xorl %eax, %eax
movl %eax, %edi
callq 0xaeb0
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x20(%rbp), %rax
movl 0x30(%rax), %esi
movq -0x20(%rbp), %rax
movq 0x40(%rax), %rdx
movq -0x20(%rbp), %rax
movq 0x48(%rax), %rcx
movq -0x58(%rbp), %r8
callq 0x16750
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq -0x20(%rbp), %rcx
movq 0x48(%rcx), %rcx
movq -0x20(%rbp), %rdx
subq 0x40(%rdx), %rcx
cmpq %rcx, %rax
jne 0x1ca04
jmp 0x1ca23
leaq 0x5543(%rip), %rdi      # 0x21f4e
leaq 0x5552(%rip), %rsi      # 0x21f64
movl $0x77, %edx
leaq 0x554f(%rip), %rcx      # 0x21f6d
callq 0x2180
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movq -0x48(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jge 0x1d18d
movq -0x48(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl 0x30(%rax,%rcx,4), %eax
andl $0xf, %eax
movl %eax, -0x74(%rbp)
movq -0x48(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl 0x30(%rax,%rcx,4), %eax
shrl $0x4, %eax
movl %eax, -0x78(%rbp)
imull $0x3, -0x78(%rbp), %eax
movl %eax, -0x7c(%rbp)
cmpl $0x0, -0x74(%rbp)
jne 0x1cc8a
movl -0x34(%rbp), %eax
movl %eax, -0x28(%rbp)
movl -0x38(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl $0x0, -0x30(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x78(%rbp), %eax
jge 0x1cc58
movq -0x58(%rbp), %rax
movslq -0x28(%rbp), %rcx
movzbl (%rax,%rcx), %eax
shll $0x4, %eax
movq -0x58(%rbp), %rcx
movl -0x28(%rbp), %edx
addl $0x1, %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
shll $0x2, %ecx
orl %ecx, %eax
movq -0x58(%rbp), %rcx
movl -0x28(%rbp), %edx
addl $0x2, %edx
movslq %edx, %rdx
movzbl (%rcx,%rdx), %ecx
orl %ecx, %eax
movb %al, -0x7f(%rbp)
movq -0x58(%rbp), %rax
movslq -0x28(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x3, %eax
jg 0x1cb0d
movq -0x58(%rbp), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x3, %eax
jg 0x1cb0d
movq -0x58(%rbp), %rax
movl -0x28(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x3, %eax
jle 0x1cb20
leaq 0x9cdc(%rip), %rax      # 0x267f0
movzbl 0x58(%rax), %eax
movl %eax, -0x94(%rbp)
jmp 0x1cb37
movzbl -0x7f(%rbp), %eax
movl %eax, %ecx
leaq 0x9ec3(%rip), %rax      # 0x269f0
movzbl (%rax,%rcx), %eax
movl %eax, -0x94(%rbp)
movl -0x94(%rbp), %eax
movb %al, -0x7d(%rbp)
movq -0x18(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x9c9b(%rip), %rax      # 0x267f0
movb (%rax,%rcx), %al
movb %al, -0x7e(%rbp)
movzbl -0x7d(%rbp), %eax
movzbl -0x7e(%rbp), %ecx
cmpl %ecx, %eax
je 0x1cc2d
cmpl $0x0, -0x70(%rbp)
jle 0x1cb86
movq -0x8(%rbp), %rdi
movl -0x70(%rbp), %edx
leaq 0x543f(%rip), %rsi      # 0x21fbe
movb $0x0, %al
callq 0x1bc80
movq -0x58(%rbp), %rax
movslq -0x28(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x5427(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %cl
movq -0x60(%rbp), %rax
movb %cl, (%rax)
movq -0x58(%rbp), %rax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x5404(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %cl
movq -0x60(%rbp), %rax
movb %cl, 0x1(%rax)
movq -0x58(%rbp), %rax
movl -0x28(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x53e0(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %cl
movq -0x60(%rbp), %rax
movb %cl, 0x2(%rax)
movq -0x18(%rbp), %rax
movslq -0x2c(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x2090
movb %al, %cl
movq -0x60(%rbp), %rax
movb %cl, 0x3(%rax)
movq -0x60(%rbp), %rax
movb $0x0, 0x4(%rax)
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x53ab(%rip), %rsi      # 0x21fc8
movb $0x0, %al
callq 0x1bc80
movl $0x0, -0x70(%rbp)
jmp 0x1cc36
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x1cc38
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
movl -0x28(%rbp), %eax
addl $0x3, %eax
movl %eax, -0x28(%rbp)
jmp 0x1ca89
cmpl $0x0, -0x70(%rbp)
jle 0x1cc73
movq -0x8(%rbp), %rdi
movl -0x70(%rbp), %edx
leaq 0x5352(%rip), %rsi      # 0x21fbe
movb $0x0, %al
callq 0x1bc80
movl -0x7c(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x78(%rbp), %eax
addl -0x38(%rbp), %eax
movl %eax, -0x38(%rbp)
jmp 0x1d17d
cmpl $0x1, -0x74(%rbp)
jne 0x1cd0e
movl $0x0, -0x70(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x78(%rbp), %eax
jge 0x1ccde
movq -0x18(%rbp), %rax
movl -0x38(%rbp), %ecx
addl -0x2c(%rbp), %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %edi
callq 0x2090
movb %al, %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x1cc9e
movq -0x60(%rbp), %rax
movslq -0x70(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x52d3(%rip), %rsi      # 0x21fcc
movb $0x0, %al
callq 0x1bc80
movl -0x78(%rbp), %eax
addl -0x38(%rbp), %eax
movl %eax, -0x38(%rbp)
jmp 0x1d17b
cmpl $0x2, -0x74(%rbp)
jne 0x1cd9b
movl $0x0, -0x70(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x7c(%rbp), %eax
jge 0x1cd6b
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x527a(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x1cd26
movq -0x60(%rbp), %rax
movslq -0x70(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x524a(%rip), %rsi      # 0x21fd0
movb $0x0, %al
callq 0x1bc80
movl -0x7c(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
jmp 0x1d179
cmpl $0xa, -0x74(%rbp)
jne 0x1ce28
movl $0x0, -0x70(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x78(%rbp), %eax
jge 0x1cdf8
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x51ed(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x1cdb3
movq -0x60(%rbp), %rax
movslq -0x70(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x51bd(%rip), %rsi      # 0x21fd0
movb $0x0, %al
callq 0x1bc80
movl -0x78(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
jmp 0x1d177
cmpl $0xb, -0x74(%rbp)
jne 0x1cee6
movl $0x0, -0x70(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x78(%rbp), %eax
jge 0x1ce85
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x5160(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x1ce40
movq -0x18(%rbp), %rax
movslq -0x38(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x2090
movb %al, %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x60(%rbp), %rax
movslq -0x70(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x5100(%rip), %rsi      # 0x21fc8
movb $0x0, %al
callq 0x1bc80
movl -0x78(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x1d175
cmpl $0x3, -0x74(%rbp)
je 0x1cefc
cmpl $0xc, -0x74(%rbp)
je 0x1cefc
cmpl $0xd, -0x74(%rbp)
jne 0x1d173
cmpl $0x3, -0x74(%rbp)
jne 0x1cf0c
xorl %eax, %eax
movl %eax, -0x98(%rbp)
jmp 0x1cf25
movl -0x74(%rbp), %edx
movl $0x2, %eax
movl $0x1, %ecx
cmpl $0xc, %edx
cmovel %ecx, %eax
movl %eax, -0x98(%rbp)
movl -0x98(%rbp), %eax
movl %eax, -0x84(%rbp)
cmpl $0x0, -0x84(%rbp)
jne 0x1cf44
xorl %eax, %eax
movl %eax, -0x9c(%rbp)
jmp 0x1cf55
movl $0x3, %eax
subl -0x84(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl -0x9c(%rbp), %eax
movl %eax, -0x88(%rbp)
cmpl $0x0, -0x84(%rbp)
jle 0x1d00e
movl $0x0, -0x70(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x84(%rbp), %eax
jge 0x1cfc4
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x5021(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x1cf7c
movq -0x18(%rbp), %rax
movslq -0x38(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq 0x2090
movb %al, %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movq -0x60(%rbp), %rax
movslq -0x70(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x4fc1(%rip), %rsi      # 0x21fc8
movb $0x0, %al
callq 0x1bc80
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %ecx
addl -0x84(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x4f93(%rip), %rax      # 0x21fc2
movsbl (%rax,%rcx), %edx
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %ecx
addl -0x84(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x4f6f(%rip), %rax      # 0x21fc2
movsbl (%rax,%rcx), %ecx
movl -0x78(%rbp), %r8d
movl -0x84(%rbp), %eax
addl -0x88(%rbp), %eax
subl %eax, %r8d
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %esi
addl -0x78(%rbp), %esi
subl -0x88(%rbp), %esi
subl $0x2, %esi
movslq %esi, %rsi
movzbl (%rax,%rsi), %eax
movl %eax, %esi
leaq 0x4f35(%rip), %rax      # 0x21fc2
movsbl (%rax,%rsi), %r9d
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %esi
addl -0x78(%rbp), %esi
subl -0x88(%rbp), %esi
subl $0x1, %esi
movslq %esi, %rsi
movzbl (%rax,%rsi), %eax
movl %eax, %esi
leaq 0x4f0d(%rip), %rax      # 0x21fc2
movsbl (%rax,%rsi), %eax
leaq 0x4f14(%rip), %rsi      # 0x21fd4
movl %eax, (%rsp)
movb $0x0, %al
callq 0x1bc80
cmpl $0x0, -0x88(%rbp)
jle 0x1d158
movl $0x0, -0x70(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x88(%rbp), %eax
jge 0x1d136
movq -0x58(%rbp), %rax
movl -0x34(%rbp), %ecx
addl -0x78(%rbp), %ecx
subl -0x88(%rbp), %ecx
addl -0x28(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x4eaf(%rip), %rax      # 0x21fc2
movb (%rax,%rcx), %dl
movq -0x60(%rbp), %rax
movl -0x70(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x70(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x1d0e5
movq -0x60(%rbp), %rax
movslq -0x70(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x8(%rbp), %rdi
movq -0x60(%rbp), %rdx
leaq 0x4e7f(%rip), %rsi      # 0x21fd0
movb $0x0, %al
callq 0x1bc80
cmpl $0x0, -0x84(%rbp)
je 0x1d16a
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
movl -0x78(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
jmp 0x1d175
jmp 0x1d177
jmp 0x1d179
jmp 0x1d17b
jmp 0x1d17d
jmp 0x1d17f
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x1ca2a
movslq -0x34(%rbp), %rax
movq -0x20(%rbp), %rcx
movq 0x48(%rcx), %rcx
movq -0x20(%rbp), %rdx
subq 0x40(%rdx), %rcx
cmpq %rcx, %rax
jne 0x1d1a8
jmp 0x1d1c7
leaq 0x4e31(%rip), %rdi      # 0x21fe0
leaq 0x4dae(%rip), %rsi      # 0x21f64
movl $0xb7, %edx
leaq 0x4dab(%rip), %rcx      # 0x21f6d
callq 0x2180
movl -0x38(%rbp), %eax
movq -0x20(%rbp), %rcx
movl 0x38(%rcx), %ecx
movq -0x20(%rbp), %rdx
subl 0x34(%rdx), %ecx
cmpl %ecx, %eax
jne 0x1d1de
jmp 0x1d1fd
leaq 0x4e0f(%rip), %rdi      # 0x21ff4
leaq 0x4d78(%rip), %rsi      # 0x21f64
movl $0xb8, %edx
leaq 0x4d75(%rip), %rcx      # 0x21f6d
callq 0x2180
movq -0x58(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edi
callq 0xac90
movq -0x60(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edi
callq 0xac90
addq $0xb0, %rsp
popq %rbp
retq