// File: /workspace/github_c_makefile_star2_O1/lh3[P]minimap2/align.c
// Function: mm_update_extra
static void mm_update_extra(mm_reg1_t *r, const uint8_t *qseq, const uint8_t *tseq, const int8_t *mat, int8_t q, int8_t e, int is_eqx, int log_gap)
{
	uint32_t k, l;
	int32_t qshift, tshift, toff = 0, qoff = 0;
	double s = 0.0, max = 0.0;
	mm_extra_t *p = r->p;
	if (p == 0) return;
	mm_fix_cigar(r, qseq, tseq, &qshift, &tshift);
	qseq += qshift, tseq += tshift; // qseq and tseq may be shifted due to the removal of leading I/D
	r->blen = r->mlen = 0, r->is_spliced = 0;
	for (k = 0; k < p->n_cigar; ++k) {
		uint32_t op = p->cigar[k]&0xf, len = p->cigar[k]>>4;
		if (op == MM_CIGAR_MATCH) {
			int n_ambi = 0, n_diff = 0;
			for (l = 0; l < len; ++l) {
				int cq = qseq[qoff + l], ct = tseq[toff + l];
				if (ct > 3 || cq > 3) ++n_ambi;
				else if (ct != cq) ++n_diff;
				s += mat[ct * 5 + cq];
				if (s < 0) s = 0;
				else max = max > s? max : s;
			}
			r->blen += len - n_ambi, r->mlen += len - (n_ambi + n_diff), p->n_ambi += n_ambi;
			toff += len, qoff += len;
		} else if (op == MM_CIGAR_INS) {
			int n_ambi = 0;
			for (l = 0; l < len; ++l)
				if (qseq[qoff + l] > 3) ++n_ambi;
			r->blen += len - n_ambi, p->n_ambi += n_ambi;
			if (log_gap) s -= q + (double)e * mg_log2(1.0 + len);
			else s -= q + e;
			if (s < 0) s = 0;
			qoff += len;
		} else if (op == MM_CIGAR_DEL) {
			int n_ambi = 0;
			for (l = 0; l < len; ++l)
				if (tseq[toff + l] > 3) ++n_ambi;
			r->blen += len - n_ambi, p->n_ambi += n_ambi;
			if (log_gap) s -= q + (double)e * mg_log2(1.0 + len);
			else s -= q + e;
			if (s < 0) s = 0;
			toff += len;
		} else if (op == MM_CIGAR_N_SKIP) {
			r->is_spliced = 1, toff += len;
		}
	}
	p->dp_max = p->dp_max0 = (int32_t)(max + .499);
	assert(qoff == r->qe - r->qs && toff == r->re - r->rs);
	if (is_eqx) mm_update_cigar_eqx(r, qseq, tseq); // NB: it has to be called here as changes to qseq and tseq are not returned
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, 0x10(%rsp)
movq 0x48(%rdi), %rbp
testq %rbp, %rbp
je 0x1b82f
movq %rdx, %r14
movq %rsi, %r15
movl %r8d, 0x2c(%rsp)
movq %rcx, 0x50(%rsp)
movl 0x18(%rbp), %eax
xorl %ebx, %ebx
cmpq $0x2, %rax
jae 0x1adf2
xorl %r13d, %r13d
movq 0x10(%rsp), %r12
jmp 0x1b167
movl %r9d, 0x24(%rsp)
leaq 0x1c(%rbp), %rdi
leal -0x1(%rax), %edx
movl $0x1, %r10d
xorl %r11d, %r11d
xorl %r13d, %r13d
xorl %r9d, %r9d
xorl %ecx, %ecx
movq 0x10(%rsp), %r12
movl (%rdi,%r11,4), %r8d
movl %r8d, %esi
shrl $0x4, %esi
cmpl $0x10, %r8d
cmovbl %r10d, %ecx
andl $0xf, %r8d
je 0x1ae62
cmpl $0x2, %r8d
ja 0x1ae6a
testq %r11, %r11
je 0x1ae57
cmpq %rdx, %r11
jae 0x1ae57
movl -0x4(%rdi,%r11,4), %ebx
testb $0xf, %bl
jne 0x1ae55
movq %rbx, 0x18(%rsp)
movl 0x4(%rdi,%r11,4), %ebx
testb $0xf, %bl
je 0x1ae84
xorl %ebx, %ebx
cmpl $0x1, %r8d
je 0x1ae65
addl %esi, %r13d
jmp 0x1ae77
addl %esi, %r13d
addl %esi, %r9d
jmp 0x1ae77
cmpl $0x3, %r8d
cmovnel %ebx, %esi
addl %r13d, %esi
movl %esi, %r13d
incq %r11
cmpq %rax, %r11
jne 0x1ae14
jmp 0x1af60
movl %ebx, 0x28(%rsp)
movq %rdx, 0x40(%rsp)
movq 0x18(%rsp), %rdx
shrl $0x4, %edx
movq %rdx, 0x8(%rsp)
cmpl $0x1, %r8d
movl $0x0, %ebx
jne 0x1aedc
cmpq $0x0, 0x18(%rsp)
je 0x1af1c
movl 0x8(%rsp), %edx
movq %rdx, 0x48(%rsp)
leal -0x1(%r9), %r10d
xorl %edx, %edx
movslq %r10d, %rbx
movb (%r15,%rbx), %bl
leal (%rsi,%r10), %r12d
cmpb (%r15,%r12), %bl
jne 0x1af0d
incq %rdx
decl %r10d
cmpq %rdx, 0x48(%rsp)
jne 0x1aebc
jmp 0x1af08
cmpq $0x0, 0x18(%rsp)
je 0x1af1c
leal -0x1(%r13), %r10d
xorl %edx, %edx
movslq %r10d, %rbx
movb (%r14,%rbx), %bl
leal (%rsi,%r10), %r12d
cmpb (%r14,%r12), %bl
jne 0x1af0d
incq %rdx
decl %r10d
cmpq %rdx, 0x8(%rsp)
jne 0x1aeea
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %r12
xorl %ebx, %ebx
movl $0x1, %r10d
jmp 0x1af1e
xorl %edx, %edx
testl %edx, %edx
je 0x1af4e
movl %edx, %r10d
shll $0x4, %r10d
movq 0x18(%rsp), %rbx
subl %r10d, %ebx
movl %ebx, -0x4(%rdi,%r11,4)
xorl %ebx, %ebx
addl 0x28(%rsp), %r10d
movl %r10d, 0x4(%rdi,%r11,4)
movl $0x1, %r10d
subl %edx, %r9d
subl %edx, %r13d
cmpl 0x8(%rsp), %edx
cmovel %r10d, %ecx
movq 0x40(%rsp), %rdx
jmp 0x1ae57
movl 0x14(%r12), %edx
subl 0x10(%r12), %edx
cmpl %edx, %r9d
jne 0x1b85d
movl 0x1c(%r12), %edx
subl 0x18(%r12), %edx
cmpl %edx, %r13d
jne 0x1b85d
movl %eax, %edx
addl $-0x2, %edx
je 0x1b082
xorl %r8d, %r8d
movl %r8d, %r9d
movl (%rdi,%r9,4), %esi
andl $0xf, %esi
je 0x1b072
leal 0x1(%r8), %r10d
movl (%rdi,%r10,4), %r11d
andl $0xf, %r11d
addl %esi, %r11d
cmpl $0x3, %r11d
jne 0x1b072
movl $0x0, 0x38(%rsp)
movq $0x0, 0x30(%rsp)
movl %r8d, %esi
cmpl %eax, %r8d
jae 0x1b014
movq %r9, %rsi
movl (%rdi,%rsi,4), %r11d
movl %r11d, %ebx
andl $0xf, %ebx
leal -0x1(%rbx), %r12d
cmpl $0x2, %r12d
setae %r12b
cmpl $0x10, %r11d
setae %r13b
testb %r12b, %r13b
jne 0x1b00f
shrl $0x4, %r11d
addl %r11d, 0x30(%rsp,%rbx,4)
incq %rsi
cmpq %rsi, %rax
jne 0x1afd9
movl %eax, %esi
movq 0x10(%rsp), %r12
movl %esi, %r11d
subl %r8d, %r11d
cmpl $0x3, %r11d
jb 0x1b075
movl 0x34(%rsp), %r13d
testl %r13d, %r13d
je 0x1b075
movl 0x38(%rsp), %ebx
testl %ebx, %ebx
je 0x1b075
shll $0x4, %r13d
incl %r13d
movl %r13d, (%rdi,%r9,4)
shll $0x4, %ebx
orl $0x2, %ebx
movl %ebx, (%rdi,%r10,4)
addl $0x2, %r8d
movl $0x1, %ecx
cmpl %esi, %r8d
jae 0x1b075
movl %r8d, %r8d
addl $-0x2, %r11d
leaq (%rdi,%r8,4), %r8
xorl %r9d, %r9d
andl $0xf, (%r8,%r9,4)
incq %r9
cmpl %r9d, %r11d
jne 0x1b063
jmp 0x1b075
movl %r8d, %esi
incl %esi
movl %esi, %r8d
cmpl %edx, %esi
jb 0x1af94
testl %ecx, %ecx
movl 0x24(%rsp), %r9d
je 0x1b106
xorl %eax, %eax
cmpl $0x0, 0x18(%rbp)
movl $0x0, %ecx
je 0x1b0b8
xorl %edx, %edx
xorl %ecx, %ecx
movl (%rdi,%rdx,4), %esi
cmpl $0x10, %esi
jb 0x1b0ad
movslq %ecx, %r8
incl %ecx
movl %esi, (%rdi,%r8,4)
incq %rdx
movl 0x18(%rbp), %esi
cmpq %rsi, %rdx
jb 0x1b09c
movl %ecx, 0x18(%rbp)
testl %ecx, %ecx
je 0x1b103
xorl %edx, %edx
xorl %eax, %eax
decl %ecx
cmpq %rcx, %rdx
je 0x1b0de
movl 0x1c(%rbp,%rdx,4), %ecx
movl 0x20(%rbp,%rdx,4), %esi
movl %esi, %r8d
xorl %ecx, %r8d
testb $0xf, %r8b
je 0x1b0f8
movl 0x1c(%rbp,%rdx,4), %ecx
movslq %eax, %rsi
incl %eax
movl %ecx, 0x1c(%rbp,%rsi,4)
incq %rdx
movl 0x18(%rbp), %ecx
cmpq %rcx, %rdx
jb 0x1b0c3
jmp 0x1b103
andl $-0x10, %ecx
addl %ecx, %esi
movl %esi, 0x20(%rbp,%rdx,4)
jmp 0x1b0eb
movl %eax, 0x18(%rbp)
movl (%rdi), %ebx
movl %ebx, %eax
andl $0xf, %eax
leal -0x1(%rax), %ecx
cmpl $0x1, %ecx
ja 0x1b12c
shrl $0x4, %ebx
cmpl $0x1, %eax
jne 0x1b133
testb $0x4, 0x3d(%r12)
jne 0x1b13f
addl %ebx, 0x10(%r12)
jmp 0x1b144
xorl %ebx, %ebx
xorl %r13d, %r13d
jmp 0x1b167
movl %ebx, %r13d
addl %ebx, 0x18(%r12)
xorl %ebx, %ebx
jmp 0x1b147
subl %ebx, 0x14(%r12)
xorl %r13d, %r13d
movl 0x18(%rbp), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x18(%rbp)
leaq 0x20(%rbp), %rsi
leal -0x4(,%rax,4), %edx
callq 0x2340
movl %ebx, %ebx
movl 0x24(%rsp), %r9d
movq $0x0, 0x2c(%r12)
andb $-0x9, 0x3f(%r12)
addq %rbx, %r15
addq %r13, %r14
cmpl $0x0, 0x18(%rbp)
je 0x1b4e4
movl 0x98(%rsp), %edi
movsbl 0x2c(%rsp), %ecx
cvtsi2sd %ecx, %xmm0
movsbl %r9b, %edx
cvtsi2sd %edx, %xmm1
addl %ecx, %edx
cvtsi2sd %edx, %xmm2
xorpd %xmm3, %xmm3
xorl %esi, %esi
leaq 0x123df(%rip), %rdx     # 0x2d590
movss 0x12203(%rip), %xmm4    # 0x2d3bc
movss 0x121ff(%rip), %xmm5    # 0x2d3c0
movss 0x121fb(%rip), %xmm6    # 0x2d3c4
xorl %r13d, %r13d
xorpd %xmm8, %xmm8
xorpd %xmm7, %xmm7
xorl %ebx, %ebx
movl 0x1c(%rbp,%rsi,4), %r10d
movl %r10d, %r9d
andl $0xf, %r9d
cmpl $0x3, %r9d
ja 0x1b4c5
movl %r10d, %r8d
shrl $0x4, %r8d
movslq (%rdx,%r9,4), %r9
addq %rdx, %r9
jmpq *%r9
xorl %r9d, %r9d
cmpl $0x10, %r10d
movl %ebx, 0x8(%rsp)
movl %r13d, 0x18(%rsp)
jae 0x1b3d4
movapd %xmm8, %xmm9
xorl %r10d, %r10d
jmp 0x1b46d
xorl %r9d, %r9d
cmpl $0x10, %r10d
jb 0x1b247
xorl %r9d, %r9d
movq %r8, %r10
movl %r13d, %r11d
movl %r11d, %eax
cmpb $0x4, (%r14,%rax)
sbbl $-0x1, %r9d
incl %r11d
decq %r10
jne 0x1b233
movl %r8d, %eax
subl %r9d, %eax
addl %eax, 0x30(%r12)
movl 0x14(%rbp), %eax
addl %eax, %r9d
andl $0x3fffffff, %r9d       # imm = 0x3FFFFFFF
andl $0xc0000000, %eax       # imm = 0xC0000000
orl %r9d, %eax
movl %eax, 0x14(%rbp)
movapd %xmm2, %xmm9
testl %edi, %edi
je 0x1b2d6
leal 0x1(%r8), %eax
xorps %xmm9, %xmm9
cvtsi2ss %eax, %xmm9
movd %xmm9, %eax
movl %eax, %ecx
shrl $0x17, %ecx
addl $-0x80, %ecx
xorps %xmm9, %xmm9
cvtsi2ss %rcx, %xmm9
andl $0x7fffff, %eax         # imm = 0x7FFFFF
orl $0x3f800000, %eax       # imm = 0x3F800000
movd %eax, %xmm10
movdqa %xmm10, %xmm11
mulss %xmm4, %xmm11
addss %xmm5, %xmm11
mulss %xmm10, %xmm11
addss %xmm6, %xmm11
addss %xmm9, %xmm11
xorps %xmm9, %xmm9
cvtss2sd %xmm11, %xmm9
mulsd %xmm1, %xmm9
addsd %xmm0, %xmm9
subsd %xmm9, %xmm7
xorpd %xmm9, %xmm9
maxsd %xmm7, %xmm9
addl %r13d, %r8d
movapd %xmm9, %xmm7
jmp 0x1b2f8
orb $0x8, 0x3f(%r12)
addl %r13d, %r8d
movl %r8d, %r13d
jmp 0x1b4c5
xorl %r9d, %r9d
cmpl $0x10, %r10d
jb 0x1b326
movl %r8d, %r10d
xorl %r9d, %r9d
movl %ebx, %r11d
movl %r11d, %eax
cmpb $0x4, (%r15,%rax)
sbbl $-0x1, %r9d
incl %r11d
decq %r10
jne 0x1b312
movl %r8d, %eax
subl %r9d, %eax
addl %eax, 0x30(%r12)
movl 0x14(%rbp), %eax
addl %eax, %r9d
andl $0x3fffffff, %r9d       # imm = 0x3FFFFFFF
andl $0xc0000000, %eax       # imm = 0xC0000000
orl %r9d, %eax
movl %eax, 0x14(%rbp)
movapd %xmm2, %xmm9
testl %edi, %edi
je 0x1b3b5
leal 0x1(%r8), %eax
xorps %xmm9, %xmm9
cvtsi2ss %eax, %xmm9
movd %xmm9, %eax
movl %eax, %ecx
shrl $0x17, %ecx
addl $-0x80, %ecx
xorps %xmm9, %xmm9
cvtsi2ss %rcx, %xmm9
andl $0x7fffff, %eax         # imm = 0x7FFFFF
orl $0x3f800000, %eax       # imm = 0x3F800000
movd %eax, %xmm10
movdqa %xmm10, %xmm11
mulss %xmm4, %xmm11
addss %xmm5, %xmm11
mulss %xmm10, %xmm11
addss %xmm6, %xmm11
addss %xmm9, %xmm11
xorps %xmm9, %xmm9
cvtss2sd %xmm11, %xmm9
mulsd %xmm1, %xmm9
addsd %xmm0, %xmm9
subsd %xmm9, %xmm7
xorpd %xmm9, %xmm9
maxsd %xmm7, %xmm9
addl %ebx, %r8d
movl %r8d, %ebx
movapd %xmm9, %xmm7
jmp 0x1b4c5
movl %r8d, %r11d
xorl %r10d, %r10d
xorl %r9d, %r9d
movq 0x50(%rsp), %rdx
movl %ebx, %r12d
movzbl (%r15,%r12), %r12d
movl %r13d, %eax
movzbl (%r14,%rax), %eax
movl %eax, %edi
orb %r12b, %dil
cmpb %r12b, %al
setne %cl
cmpb $0x4, %dil
setb %dil
sbbl $-0x1, %r9d
andb %cl, %dil
movzbl %dil, %ecx
addl %ecx, %r10d
leaq (%rax,%rax,4), %rax
addq %rdx, %rax
movsbl (%r12,%rax), %eax
xorps %xmm9, %xmm9
cvtsi2sd %eax, %xmm9
addsd %xmm7, %xmm9
xorpd %xmm7, %xmm7
maxsd %xmm9, %xmm7
movapd %xmm8, %xmm10
maxsd %xmm9, %xmm10
cmpltsd %xmm3, %xmm9
movapd %xmm9, %xmm11
andnpd %xmm10, %xmm11
andpd %xmm8, %xmm9
orpd %xmm11, %xmm9
incl %r13d
incl %ebx
movapd %xmm9, %xmm8
decq %r11
jne 0x1b3e2
movl %r8d, %eax
subl %r9d, %eax
movq 0x10(%rsp), %r12
addl %eax, 0x30(%r12)
addl %r9d, %r10d
movl %r8d, %eax
subl %r10d, %eax
addl %eax, 0x2c(%r12)
movl 0x14(%rbp), %eax
addl %eax, %r9d
andl $0x3fffffff, %r9d       # imm = 0x3FFFFFFF
andl $0xc0000000, %eax       # imm = 0xC0000000
orl %r9d, %eax
movl %eax, 0x14(%rbp)
movl 0x18(%rsp), %r13d
addl %r8d, %r13d
movl 0x8(%rsp), %ebx
addl %r8d, %ebx
movapd %xmm9, %xmm8
movl 0x98(%rsp), %edi
leaq 0x120cb(%rip), %rdx     # 0x2d590
incq %rsi
movl 0x18(%rbp), %eax
cmpq %rax, %rsi
jb 0x1b1d7
addsd 0xeb43(%rip), %xmm8     # 0x2a020
cvttsd2si %xmm8, %eax
jmp 0x1b4eb
xorl %ebx, %ebx
xorl %eax, %eax
xorl %r13d, %r13d
movl %eax, 0x10(%rbp)
movl %eax, 0x8(%rbp)
movl 0x14(%r12), %eax
subl 0x10(%r12), %eax
cmpl %eax, %ebx
jne 0x1b83e
movl 0x1c(%r12), %eax
subl 0x18(%r12), %eax
cmpl %eax, %r13d
jne 0x1b83e
cmpl $0x0, 0x90(%rsp)
je 0x1b82f
movq 0x10(%rsp), %rax
movq 0x48(%rax), %r12
testq %r12, %r12
je 0x1b82f
movl 0x18(%r12), %eax
testq %rax, %rax
je 0x1b659
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r9d, %r9d
movl $0x0, 0x8(%rsp)
xorl %r8d, %r8d
movl 0x1c(%r12,%rsi,4), %r11d
movl %r11d, %ebx
andl $0xf, %ebx
cmpl $0x3, %ebx
ja 0x1b64b
movl %r11d, %r10d
shrl $0x4, %r10d
leaq 0x12028(%rip), %rdx     # 0x2d5a0
movslq (%rdx,%rbx,4), %rbx
addq %rdx, %rbx
jmpq *%rbx
addl %r9d, %r10d
movl %r10d, %r9d
jmp 0x1b64b
cmpl $0x10, %r11d
jae 0x1b59d
movl %r8d, %ebx
movl %r9d, %r11d
jmp 0x1b639
cmpl $0x1, %r10d
movl %r10d, %r13d
adcl $0x0, %r13d
movl %r9d, %r11d
movl %r8d, %ebx
xorl %ebp, %ebp
leal (%rbx,%rbp), %edx
movb (%r15,%rdx), %dl
leal (%r11,%rbp), %edi
cmpb (%r14,%rdi), %dl
jne 0x1b5cb
incq %rbp
cmpq %rbp, %r13
jne 0x1b5b0
jmp 0x1b5ce
movl %ebp, %r13d
testl %r13d, %r13d
je 0x1b5e2
incl %ecx
subl %r13d, %r10d
leal (%r9,%r13), %r11d
leal (%r8,%r13), %ebx
jmp 0x1b5e8
movl %r8d, %ebx
movl %r9d, %r11d
testl %r10d, %r10d
je 0x1b615
movl %r10d, %ebp
addl %r13d, %r9d
addl %r13d, %r8d
xorl %r13d, %r13d
leal (%r8,%r13), %edx
movb (%r15,%rdx), %dl
leal (%r9,%r13), %edi
cmpb (%r14,%rdi), %dl
je 0x1b619
incq %r13
cmpq %r13, %rbp
jne 0x1b5f9
jmp 0x1b61c
xorl %ebp, %ebp
jmp 0x1b61c
movl %r13d, %ebp
testl %ebp, %ebp
je 0x1b62a
incl %ecx
subl %ebp, %r10d
addl %ebp, %r11d
addl %ebp, %ebx
movl %r11d, %r9d
movl %ebx, %r8d
testl %r10d, %r10d
jne 0x1b59d
incl 0x8(%rsp)
movl %ebx, %r8d
movl %r11d, %r9d
jmp 0x1b64b
addl %r8d, %r10d
movl %r10d, %r8d
incq %rsi
cmpq %rax, %rsi
jne 0x1b556
jmp 0x1b663
movl $0x0, 0x8(%rsp)
xorl %ecx, %ecx
movl 0x8(%rsp), %edx
cmpl %edx, %ecx
jne 0x1b69a
testq %rax, %rax
je 0x1b82f
xorl %eax, %eax
movl 0x1c(%r12,%rax,4), %ecx
testb $0xf, %cl
jne 0x1b688
orl $0x7, %ecx
movl %ecx, 0x1c(%r12,%rax,4)
incq %rax
movl 0x18(%r12), %ecx
cmpq %rcx, %rax
jb 0x1b676
jmp 0x1b82f
subl %edx, %eax
addl %ecx, %eax
addl $0x1b, %eax
movl %eax, %ecx
shrl %ecx
orl %eax, %ecx
movl %ecx, %eax
shrl $0x2, %eax
orl %ecx, %eax
movl %eax, %ecx
shrl $0x4, %ecx
orl %eax, %ecx
movl %ecx, %eax
shrl $0x8, %eax
orl %ecx, %eax
movl %eax, %ebp
shrl $0x10, %ebp
orl %eax, %ebp
incl %ebp
movl $0x4, %esi
movq %rbp, %rdi
callq 0x2230
movq %rax, %r13
movupd (%r12), %xmm0
movupd 0xc(%r12), %xmm1
movupd %xmm0, (%rax)
movupd %xmm1, 0xc(%rax)
movl %ebp, (%rax)
cmpl $0x0, 0x18(%r12)
je 0x1b818
xorl %ecx, %ecx
xorl %eax, %eax
xorl %edi, %edi
xorl %esi, %esi
movl 0x1c(%r12,%rcx,4), %r9d
movl %r9d, %r10d
andl $0xf, %r10d
cmpl $0x3, %r10d
ja 0x1b7fc
movl %r9d, %r8d
shrl $0x4, %r8d
leaq 0x11e8b(%rip), %rdx     # 0x2d5b0
movslq (%rdx,%r10,4), %r10
addq %rdx, %r10
jmpq *%r10
addl %edi, %r8d
movl %r8d, %edi
jmp 0x1b7fc
cmpl $0x10, %r9d
jb 0x1b805
cmpl $0x1, %r8d
movl %r8d, %r9d
adcl $0x0, %r9d
movl %edi, %edi
movl %esi, %esi
xorl %r10d, %r10d
leal (%rsi,%r10), %r11d
movb (%r15,%r11), %r11b
leal (%rdi,%r10), %ebx
cmpb (%r14,%rbx), %r11b
jne 0x1b772
incq %r10
cmpq %r10, %r9
jne 0x1b756
jmp 0x1b775
movl %r10d, %r9d
testl %r9d, %r9d
je 0x1b78f
movl %r9d, %r10d
shll $0x4, %r10d
orl $0x7, %r10d
movl %eax, %r11d
incl %eax
movl %r10d, 0x1c(%r13,%r11,4)
addl %r9d, %edi
addl %r9d, %esi
xorl %r10d, %r10d
subl %r9d, %r8d
je 0x1b7cd
cmpl $0x1, %r8d
movl %r8d, %r9d
adcl $0x0, %r9d
movl %edi, %r11d
movl %esi, %ebx
xorl %r10d, %r10d
leal (%rbx,%r10), %ebp
movb (%r15,%rbp), %bpl
leal (%r11,%r10), %edx
cmpb (%r14,%rdx), %bpl
je 0x1b7cd
incq %r10
cmpq %r10, %r9
jne 0x1b7b0
movl %r8d, %r10d
testl %r10d, %r10d
je 0x1b7e5
movl %r10d, %edx
shll $0x4, %edx
orl $0x8, %edx
movl %eax, %r9d
incl %eax
movl %edx, 0x1c(%r13,%r9,4)
addl %r10d, %edi
addl %r10d, %esi
subl %r10d, %r8d
jne 0x1b744
jmp 0x1b805
addl %esi, %r8d
movl %r8d, %esi
movl %eax, %edx
incl %eax
movl %r9d, 0x1c(%r13,%rdx,4)
incq %rcx
movl 0x18(%r12), %edx
cmpq %rdx, %rcx
jb 0x1b701
jmp 0x1b81a
xorl %eax, %eax
movl %eax, 0x18(%r13)
movq %r12, %rdi
callq 0x2040
movq 0x10(%rsp), %rax
movq %r13, 0x48(%rax)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x11fe5(%rip), %rdi     # 0x2d82a
leaq 0x11d8b(%rip), %rsi     # 0x2d5d7
leaq 0x12006(%rip), %rcx     # 0x2d859
movl $0x12d, %edx            # imm = 0x12D
callq 0x21a0
leaq 0x11fc6(%rip), %rdi     # 0x2d82a
leaq 0x11d6c(%rip), %rsi     # 0x2d5d7
leaq 0x12055(%rip), %rcx     # 0x2d8c7
movl $0x8b, %edx
callq 0x21a0