// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Overlaps.cpp
// Function: mark_telo_ends(void*, long, int)
static void mark_telo_ends(void *data, long i, int tid) // callback for kt_for()
{
    telo_end_pip_t *sl = (telo_end_pip_t *)data;
    int64_t k, l, rlen, tlen, sc, max_sc, pen = sl->penalty, max_drop = sl->max_drop, min_sc = sl->min_sc, z; 
    uint64_t rid = i, c, x, mask = sl->u->mask, hit, xz; 
    UC_Read *rr = &(sl->aux[tid]); rlen = Get_READ_LENGTH((*(sl->Rinf)), rid); sl->u->hh[rid] = 0;
    recover_UC_Read(rr, sl->Rinf, rid); assert((rr->length) == rlen); tlen = sl->u->tlen;

    for (k = l = 0, sc = max_sc = x = 0; k < rlen; k++) { // 5'-end, check CCCTAA
        hit = 0; c = seq_nt6_table[(uint8_t)rr->seq[k]];
        if (c >= 0 && c <= 3) { // not N
            x = (x<<2 | (c)) & mask;
            if (((++l) >= tlen) && (kh_get(64, sl->h, x) != kh_end(sl->h))) {// x is at least 6bp long and is a telomere motif
                hit = 1;
            }
        } else {l = 0, x = 0;} // N, ambiguous base
        if(k >= tlen) sc += ((hit)?(1):(-pen));
        if (sc > max_sc) {max_sc = sc;}
		else if ((max_sc - sc) > max_drop) {break;}

        if(max_sc >= min_sc) break;
    }

    if(max_sc >= min_sc) {
        for (k = l = 0, sc = max_sc = x = 0, xz = ((uint64_t)-1); k < rlen; k++) { // 5'-end, check CCCTAA
            hit = 0; c = seq_nt6_table[(uint8_t)rr->seq[k]];
            if (c >= 0 && c <= 3) { // not N
                x = (x<<2 | (c)) & mask;
                if (((++l) >= tlen) && (kh_get(64, sl->h, x) != kh_end(sl->h))) {// x is at least 6bp long and is a telomere motif
                    if((xz != ((uint64_t)-1)) && (xz == x)) {
                        hit = 1;
                    } else {
                        for (z = 0, xz = sl->u->tm; (z < tlen) && (xz != x); z++) {
                            xz = (((xz>>((tlen-1)<<1))&(3ULL))|(xz<<2))&mask;
                        }
                        if((z < tlen) && (xz == x)) hit = 1;
                    }
                }
            } else {l = 0, x = 0;} // N, ambiguous base

            if(!hit) {
                xz = ((uint64_t)-1);
            } else {
                xz = (((x>>((tlen-1)<<1))&(3ULL))|(x<<2))&mask;
            }
            if(k >= tlen) sc += ((hit)?(1):(-pen));
            if (sc > max_sc) {max_sc = sc;}
            else if ((max_sc - sc) > max_drop) {break;}

            if(max_sc >= min_sc) break;
        }

        if(max_sc >= min_sc) sl->u->hh[rid] |= 1;
    }






    for (k = rlen-1, l = 0, sc = max_sc = x = 0; k >= 0; --k) { // 3'-end
        hit = 0; c = seq_nt6_table[(uint8_t)(RC_CHAR(rr->seq[k]))];
        if (c >= 0 && c <= 3) { // not N
            x = (x<<2 | (c)) & mask;
            if (((++l) >= tlen) && (kh_get(64, sl->h, x) != kh_end(sl->h))) {// x is at least 6bp long and is a telomere motif
                hit = 1;
            }
        } else {l = 0, x = 0;} // N, ambiguous base
        if((rlen - k) >= tlen) sc += ((hit)?(1):(-pen));
        if (sc > max_sc) {max_sc = sc;}
		else if ((max_sc - sc) > max_drop) {break;}

        if(max_sc >= min_sc) break;
    }

    if(max_sc >= min_sc) {
        for (k = rlen-1, l = 0, sc = max_sc = x = 0, xz = ((uint64_t)-1); k >= 0 ; --k) { // 3'-end
            hit = 0; c = seq_nt6_table[(uint8_t)(RC_CHAR(rr->seq[k]))];
            if (c >= 0 && c <= 3) { // not N
                x = (x<<2 | (c)) & mask;
                if (((++l) >= tlen) && (kh_get(64, sl->h, x) != kh_end(sl->h))) {// x is at least 6bp long and is a telomere motif
                    if((xz != ((uint64_t)-1)) && (xz == x)) {
                        hit = 1;
                    } else {
                        for (z = 0, xz = sl->u->tm; (z < tlen) && (xz != x); z++) {
                            xz = (((xz>>((tlen-1)<<1))&(3ULL))|(xz<<2))&mask;
                        }
                        if((z < tlen) && (xz == x)) hit = 1;
                    }
                }
            } else {l = 0, x = 0;} // N, ambiguous base

            if(!hit) {
                xz = ((uint64_t)-1);
            } else {
                xz = (((x>>((tlen-1)<<1))&(3ULL))|(x<<2))&mask;
            }
            if((rlen - k) >= tlen) sc += ((hit)?(1):(-pen));
            if (sc > max_sc) {max_sc = sc;}
            else if ((max_sc - sc) > max_drop) {break;}

            if(max_sc >= min_sc) break;
        }

        if(max_sc >= min_sc) sl->u->hh[rid] |= 2;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r8
movq %rdi, %rsi
movq 0x28(%rdi), %rax
movq %rax, 0x40(%rsp)
movq 0x30(%rdi), %rbp
movq 0x20(%rdi), %rax
movq %rax, 0x18(%rsp)
movq 0x10(%rdi), %rax
movq 0x8(%rax), %r15
movq 0x10(%rax), %rax
movq (%rdi), %rcx
movq 0x8(%rdi), %rbx
movslq %edx, %r14
shlq $0x5, %r14
leaq (%rbx,%r14), %rdi
movq 0x18(%rcx), %rcx
movq (%rcx,%r8,8), %r13
movb $0x0, (%rax,%r8)
movq %rsi, 0x68(%rsp)
movq (%rsi), %rsi
movq %rdi, 0x60(%rsp)
movq %r8, 0x80(%rsp)
movq %r8, %rdx
callq 0x333e0
cmpq %r13, 0x8(%rbx,%r14)
jne 0xa024a
movq %r13, %rsi
movq 0x68(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x18(%rax), %rbx
testq %r13, %r13
movq %rbp, 0x58(%rsp)
movq %r15, 0x38(%rsp)
movq %r13, 0x48(%rsp)
movq %rbx, 0x20(%rsp)
jle 0x9faff
movq %rax, 0x50(%rsp)
movq 0x60(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x30(%rsp)
movq 0x40(%rsp), %rax
negq %rax
movq %rax, 0x8(%rsp)
xorl %r8d, %r8d
leaq 0x1f5c8e(%rip), %rdx    # 0x295630
xorl %r10d, %r10d
xorl %r11d, %r11d
xorl %r9d, %r9d
xorl %r14d, %r14d
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %rax
movzbl (%rax,%r8), %eax
movzbl (%rdx,%rax), %eax
cmpq $0x3, %rax
ja 0x9fa78
leaq (%rax,%r11,4), %r11
andq %r15, %r11
incq %r10
cmpq %rbx, %r10
jl 0x9fa7e
movq 0x68(%rsp), %rax
movq 0x18(%rax), %rbx
movl (%rbx), %eax
testl %eax, %eax
je 0x9faac
movq %rax, 0x28(%rsp)
leal -0x1(%rax), %ebp
movq %r11, %r12
shrq $0x21, %r12
movl %r11d, %eax
shll $0xb, %eax
xorl %eax, %r12d
xorl %r11d, %r12d
andl %ebp, %r12d
movq 0x10(%rbx), %rdi
movl $0x1, %edx
movl %r12d, %r15d
movl %r15d, %eax
shrl $0x4, %eax
movl (%rdi,%rax,4), %esi
leal (%r15,%r15), %ecx
andl $0x1e, %ecx
movl %esi, %eax
shrl %cl, %eax
testb $0x2, %al
jne 0x9fa85
testb $0x1, %al
jne 0x9fa44
movq 0x18(%rbx), %rax
movl %r15d, %r13d
cmpq %r11, (%rax,%r13,8)
je 0x9fa85
addl %edx, %r15d
andl %ebp, %r15d
incl %edx
cmpl %r12d, %r15d
jne 0x9fa1b
movq 0x8(%rsp), %rax
movq 0x18(%rsp), %rdi
movq 0x58(%rsp), %rbp
movq 0x38(%rsp), %r15
movq 0x48(%rsp), %rsi
movq 0x20(%rsp), %rbx
leaq 0x1f5bba(%rip), %rdx    # 0x295630
jmp 0x9fac7
xorl %r10d, %r10d
xorl %r11d, %r11d
movq 0x8(%rsp), %rax
jmp 0x9fac7
shrl %cl, %esi
testb $0x3, %sil
movq 0x28(%rsp), %rax
cmovnel %eax, %r15d
movq 0x18(%rsp), %rdi
movq 0x58(%rsp), %rbp
movq 0x48(%rsp), %rsi
leaq 0x1f5b86(%rip), %rdx    # 0x295630
jmp 0x9faaf
xorl %r15d, %r15d
cmpl %eax, %r15d
movl $0x1, %eax
cmoveq 0x8(%rsp), %rax
movq 0x38(%rsp), %r15
movq 0x20(%rsp), %rbx
cmpq %rbx, %r8
movl $0x0, %ecx
cmovgeq %rax, %rcx
addq %rcx, %r9
movq %r14, %rcx
movq %r9, %rax
subq %r9, %rcx
jl 0x9fae9
movq %r14, %rax
cmpq %rbp, %rcx
jg 0x9fb19
cmpq %rdi, %rax
jge 0x9fb16
incq %r8
movq %rax, %r14
cmpq %rsi, %r8
jne 0x9f9b3
jmp 0x9fb19
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
jle 0x9fda2
leaq -0x1(%rsi), %r14
jmp 0x9ff71
movq %rax, %r14
cmpq %rdi, %r14
jl 0x9fdcd
testq %rsi, %rsi
jle 0x9fda7
movq 0x60(%rsp), %rax
movq (%rax), %r9
testq %rbx, %rbx
setg 0x17(%rsp)
leaq -0x2(,%rbx,2), %r10
movq 0x40(%rsp), %r14
negq %r14
movq $-0x1, 0x8(%rsp)
xorl %r11d, %r11d
xorl %r8d, %r8d
xorl %esi, %esi
xorl %r13d, %r13d
xorl %eax, %eax
movq %r9, 0x28(%rsp)
movq %r10, 0x78(%rsp)
movq %r14, 0x70(%rsp)
movzbl (%r9,%r11), %ecx
leaq 0x1f5ab4(%rip), %rdx    # 0x295630
movzbl (%rdx,%rcx), %ecx
cmpq $0x3, %rcx
ja 0x9fba0
leaq (%rcx,%rsi,4), %rsi
andq %r15, %rsi
incq %r8
cmpq %rbx, %r8
jge 0x9fbf2
movq $-0x1, 0x8(%rsp)
jmp 0x9fbae
movq $-0x1, 0x8(%rsp)
xorl %esi, %esi
xorl %r8d, %r8d
movq %r14, %rcx
cmpq %rbx, %r11
movl $0x0, %edx
cmovgeq %rcx, %rdx
addq %rdx, %r13
movq %rax, %rdx
movq %r13, %rcx
subq %r13, %rdx
jl 0x9fbd7
movq %rax, %rcx
cmpq %rbp, %rdx
jg 0x9fdae
cmpq %rdi, %rcx
jge 0x9fdab
incq %r11
movq %rcx, %rax
cmpq 0x48(%rsp), %r11
jne 0x9fb70
jmp 0x9fdae
movq 0x68(%rsp), %rcx
movq 0x18(%rcx), %rbx
movl (%rbx), %ebp
testl %ebp, %ebp
je 0x9fccb
movq %r8, 0x30(%rsp)
leal -0x1(%rbp), %r8d
movq %rsi, %r12
shrq $0x21, %r12
movl %esi, %ecx
shll $0xb, %ecx
xorl %ecx, %r12d
xorl %esi, %r12d
andl %r8d, %r12d
movq 0x10(%rbx), %rdi
movl $0x1, %edx
movl %r12d, %r15d
movl %r15d, %ecx
shrl $0x4, %ecx
movl (%rdi,%rcx,4), %r14d
leal (%r15,%r15), %ecx
andl $0x1e, %ecx
movl %r14d, %r10d
shrl %cl, %r10d
testb $0x2, %r10b
jne 0x9fca5
testb $0x1, %r10b
jne 0x9fc5f
movq 0x18(%rbx), %r10
movl %r15d, %r9d
cmpq %rsi, (%r10,%r9,8)
je 0x9fca5
addl %edx, %r15d
andl %r8d, %r15d
incl %edx
cmpl %r12d, %r15d
jne 0x9fc2f
movq $-0x1, 0x8(%rsp)
movq 0x70(%rsp), %r14
movq %r14, %rcx
movq 0x18(%rsp), %rdi
movq 0x58(%rsp), %rbp
movq 0x38(%rsp), %r15
movq 0x20(%rsp), %rbx
movq 0x28(%rsp), %r9
movq 0x78(%rsp), %r10
movq 0x30(%rsp), %r8
jmp 0x9fbb1
shrl %cl, %r14d
testb $0x3, %r14b
cmovnel %ebp, %r15d
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %r9
movq 0x78(%rsp), %r10
movq 0x70(%rsp), %r14
movq 0x30(%rsp), %r8
jmp 0x9fcce
xorl %r15d, %r15d
cmpl %ebp, %r15d
movq 0x20(%rsp), %rbx
movq 0x8(%rsp), %rcx
jne 0x9fcf8
movq $-0x1, 0x8(%rsp)
movq %r14, %rcx
movq 0x58(%rsp), %rbp
movq 0x38(%rsp), %r15
jmp 0x9fbb1
cmpq $-0x1, %rcx
movq 0x58(%rsp), %rbp
movq 0x38(%rsp), %r15
je 0x9fd0d
cmpq %rsi, %rcx
je 0x9fd6a
movq %r8, 0x30(%rsp)
movq 0x50(%rsp), %rcx
movq 0x20(%rcx), %r8
testq %rbx, %rbx
jle 0x9fd4f
cmpq %rsi, %r8
je 0x9fd4f
movl $0x1, %edx
movq %r8, %rdi
movl %r10d, %ecx
shrq %cl, %rdi
andl $0x3, %edi
leaq (%rdi,%r8,4), %r8
andq %r15, %r8
cmpq %rbx, %rdx
setl %cl
jge 0x9fd53
incq %rdx
cmpq %rsi, %r8
jne 0x9fd2a
jmp 0x9fd53
movb 0x17(%rsp), %cl
testb %cl, %cl
je 0x9fd8c
cmpq %rsi, %r8
movq 0x18(%rsp), %rdi
movq 0x30(%rsp), %r8
jne 0x9fb95
movq %rsi, %rdx
movl %r10d, %ecx
shrq %cl, %rdx
andl $0x3, %edx
leaq (%rdx,%rsi,4), %rcx
andq %r15, %rcx
movq %rcx, 0x8(%rsp)
movl $0x1, %ecx
jmp 0x9fbb1
movq $-0x1, 0x8(%rsp)
movq %r14, %rcx
movq 0x18(%rsp), %rdi
jmp 0x9fc9b
movq %rax, 0x50(%rsp)
xorl %eax, %eax
jmp 0x9fdae
movq %rcx, %rax
cmpq %rdi, %rax
movq 0x48(%rsp), %rsi
jl 0x9fdcd
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x80(%rsp), %rcx
orb $0x1, (%rax,%rcx)
leaq -0x1(%rsi), %r14
testq %rsi, %rsi
jle 0x9ff71
movq 0x60(%rsp), %rax
movq (%rax), %r9
movq 0x40(%rsp), %r11
negq %r11
xorl %r10d, %r10d
movq %r14, 0x28(%rsp)
xorl %eax, %eax
xorl %r13d, %r13d
xorl %r8d, %r8d
movq %r9, 0x50(%rsp)
movq %r11, 0x8(%rsp)
movzbl (%r9,%r14), %ecx
leaq 0x1f5820(%rip), %rdx    # 0x295630
movzbl (%rdx,%rcx), %ecx
leaq 0x1f591a(%rip), %r12    # 0x295735
movzbl (%r12,%rcx), %ecx
movzbl (%rdx,%rcx), %ecx
cmpq $0x3, %rcx
ja 0x9fee2
leaq (%rcx,%rax,4), %rax
andq %r15, %rax
incq %r10
cmpq %rbx, %r10
jl 0x9fee7
movq 0x68(%rsp), %rcx
movq 0x18(%rcx), %r11
movl (%r11), %ecx
testl %ecx, %ecx
je 0x9ff10
movq %rcx, 0x30(%rsp)
leal -0x1(%rcx), %r12d
movq %rax, %r15
shrq $0x21, %r15
movl %eax, %ecx
shll $0xb, %ecx
xorl %ecx, %r15d
xorl %eax, %r15d
andl %r12d, %r15d
movq 0x10(%r11), %r9
movl $0x1, %edx
movl %r15d, %ebp
movl %ebp, %ecx
shrl $0x4, %ecx
movl (%r9,%rcx,4), %esi
leal (,%rbp,2), %ecx
andl $0x1e, %ecx
movl %esi, %edi
shrl %cl, %edi
testb $0x2, %dil
jne 0x9feec
testb $0x1, %dil
jne 0x9feb3
movq 0x18(%r11), %rdi
movl %ebp, %ebx
cmpq %rax, (%rdi,%rbx,8)
movq 0x20(%rsp), %rbx
je 0x9feec
addl %edx, %ebp
andl %r12d, %ebp
incl %edx
cmpl %r15d, %ebp
jne 0x9fe7f
movq 0x8(%rsp), %r11
movq %r11, %rcx
movq 0x18(%rsp), %rdi
movq 0x58(%rsp), %rbp
movq 0x38(%rsp), %r15
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %r9
jmp 0x9ff27
xorl %r10d, %r10d
xorl %eax, %eax
movq %r11, %rcx
jmp 0x9ff27
shrl %cl, %esi
testb $0x3, %sil
movq 0x30(%rsp), %rcx
cmovnel %ecx, %ebp
movq 0x18(%rsp), %rdi
movq 0x38(%rsp), %r15
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %r9
jmp 0x9ff12
xorl %ebp, %ebp
cmpl %ecx, %ebp
movl $0x1, %ecx
movq 0x8(%rsp), %r11
cmoveq %r11, %rcx
movq 0x58(%rsp), %rbp
movq %rsi, %rdx
subq %r14, %rdx
cmpq %rbx, %rdx
movl $0x0, %edx
cmovgeq %rcx, %rdx
addq %rdx, %r13
movq %r8, %rdx
movq %r13, %rcx
subq %r13, %rdx
jl 0x9ff4f
movq %r8, %rcx
cmpq %rbp, %rdx
jg 0x9ff6a
cmpq %rdi, %rcx
jge 0x9ff67
leaq -0x1(%r14), %rdx
movq %rcx, %r8
testq %r14, %r14
movq %rdx, %r14
jg 0x9fe04
movq %rcx, %r8
movq 0x28(%rsp), %r14
jmp 0x9ff74
xorl %r8d, %r8d
cmpq %rdi, %r8
jl 0xa0238
testq %rsi, %rsi
jle 0xa0212
movq 0x60(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x30(%rsp)
testq %rbx, %rbx
setg 0x50(%rsp)
leaq -0x2(,%rbx,2), %rcx
negq 0x40(%rsp)
movq $-0x1, 0x8(%rsp)
xorl %r11d, %r11d
xorl %eax, %eax
xorl %r8d, %r8d
xorl %r10d, %r10d
movq %rcx, 0x60(%rsp)
movq %rbp, %r9
movq 0x30(%rsp), %rdx
movzbl (%rdx,%r14), %edx
leaq 0x1f565b(%rip), %r13    # 0x295630
movzbl (%r13,%rdx), %edx
leaq 0x1f5753(%rip), %r12    # 0x295735
movzbl (%r12,%rdx), %edx
movzbl (%r13,%rdx), %edx
cmpq $0x3, %rdx
ja 0xa000d
leaq (%rdx,%rax,4), %rax
andq %r15, %rax
incq %r11
cmpq %rbx, %r11
jge 0xa0028
movq $-0x1, 0x8(%rsp)
jmp 0xa001b
movq $-0x1, 0x8(%rsp)
xorl %eax, %eax
xorl %r11d, %r11d
movq 0x40(%rsp), %r13
movq %r9, %rbp
jmp 0xa01ab
movq 0x68(%rsp), %rdx
movq 0x18(%rdx), %rbp
movl (%rbp), %ebx
testl %ebx, %ebx
je 0xa00f9
movq %r14, 0x28(%rsp)
leal -0x1(%rbx), %r12d
movq %rax, %r13
shrq $0x21, %r13
movl %eax, %ecx
shll $0xb, %ecx
xorl %ecx, %r13d
xorl %eax, %r13d
andl %r12d, %r13d
movq 0x10(%rbp), %rdi
movl $0x1, %edx
movl %r13d, %r15d
movl %r15d, %ecx
shrl $0x4, %ecx
movl (%rdi,%rcx,4), %r9d
leal (%r15,%r15), %ecx
andl $0x1e, %ecx
movl %r9d, %esi
shrl %cl, %esi
testb $0x2, %sil
jne 0xa00d8
testb $0x1, %sil
jne 0xa0095
movq 0x18(%rbp), %rsi
movl %r15d, %r14d
cmpq %rax, (%rsi,%r14,8)
je 0xa00d8
addl %edx, %r15d
andl %r12d, %r15d
incl %edx
cmpl %r13d, %r15d
jne 0xa0066
movq $-0x1, 0x8(%rsp)
movq 0x40(%rsp), %r13
movq 0x18(%rsp), %rdi
movq 0x58(%rsp), %rbp
movq 0x38(%rsp), %r15
movq 0x48(%rsp), %rsi
movq 0x20(%rsp), %rbx
movq 0x28(%rsp), %r14
movq 0x60(%rsp), %rcx
jmp 0xa01ab
shrl %cl, %r9d
testb $0x3, %r9b
cmovnel %ebx, %r15d
movq 0x18(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x28(%rsp), %r14
movq 0x60(%rsp), %rcx
jmp 0xa00fc
xorl %r15d, %r15d
cmpl %ebx, %r15d
movq 0x58(%rsp), %rbp
jne 0xa011e
movq $-0x1, 0x8(%rsp)
movq 0x40(%rsp), %r13
movq 0x38(%rsp), %r15
jmp 0xa01a6
movq 0x8(%rsp), %rdx
cmpq $-0x1, %rdx
movq 0x38(%rsp), %r15
je 0xa0133
cmpq %rax, %rdx
je 0xa018b
movq 0x68(%rsp), %rdx
movq 0x10(%rdx), %rdx
movq 0x20(%rdx), %rbx
cmpq $0x0, 0x20(%rsp)
jle 0xa0177
cmpq %rax, %rbx
je 0xa0177
movl $0x1, %edx
movq %rbx, %rsi
shrq %cl, %rsi
andl $0x3, %esi
leaq (%rsi,%rbx,4), %rbx
andq %r15, %rbx
cmpq 0x20(%rsp), %rdx
setl %sil
jge 0xa017c
incq %rdx
cmpq %rax, %rbx
jne 0xa0152
jmp 0xa017c
movb 0x50(%rsp), %sil
testb %sil, %sil
je 0xa01fd
cmpq %rax, %rbx
movq 0x48(%rsp), %rsi
jne 0xa01ed
movq %rax, %rdx
shrq %cl, %rdx
andl $0x3, %edx
leaq (%rdx,%rax,4), %rdx
andq %r15, %rdx
movq %rdx, 0x8(%rsp)
movl $0x1, %r13d
movq 0x20(%rsp), %rbx
movq %rsi, %rdx
subq %r14, %rdx
cmpq %rbx, %rdx
movl $0x0, %edx
cmovgeq %r13, %rdx
addq %rdx, %r8
movq %r10, %rdx
movq %r8, %r13
subq %r8, %rdx
jl 0xa01d3
movq %r10, %r13
cmpq %rbp, %rdx
jg 0xa021a
cmpq %rdi, %r13
jge 0xa0217
leaq -0x1(%r14), %rdx
movq %r13, %r10
testq %r14, %r14
movq %rdx, %r14
jg 0x9ffc1
jmp 0xa021a
movq $-0x1, 0x8(%rsp)
movq 0x40(%rsp), %r13
jmp 0xa01a6
movq $-0x1, 0x8(%rsp)
movq 0x40(%rsp), %r13
movq 0x48(%rsp), %rsi
jmp 0xa01a6
xorl %r10d, %r10d
jmp 0xa021a
movq %r13, %r10
cmpq %rdi, %r10
jl 0xa0238
movq 0x68(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0x80(%rsp), %rcx
orb $0x2, (%rax,%rcx)
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x198e8d(%rip), %rdi    # 0x2390de
leaq 0x195c39(%rip), %rsi    # 0x235e91
leaq 0x198e94(%rip), %rcx    # 0x2390f3
movl $0xc5, %edx
callq 0x2110