// File: /workspace/github_cpp_makefile_star2_O3/readmapping[P]alfalfa/src/mapper.cpp
// Function: processLisIntervals(sparseSA const&, read_t&, align_opt const&, std::vector<lis_t, std::allocator<lis_t>> const&, int, int, int, int)
void processLisIntervals(const sparseSA& sa, read_t & read, const align_opt & alnOptions, 
        const vector<lis_t> & lisIntervals, int editDist, int maxAlnCount, int minCoverage, int minScore){
    //for every interval, try to align
    size_t lisIndex = 0;
    //trial parameter for performance reasons
    int trialF = 0;
    int trialR = 0;
    //////////////////////
    //MAIN ALIGNMENT LOOP
    //////////////////////
    //tree containing information for uniqueness option
    kbtree_t(qCov) *treeF;
    kbtree_t(qCov) *treeR;
    treeF = kb_init(qCov, KB_DEFAULT_SIZE);
    treeR = kb_init(qCov, KB_DEFAULT_SIZE);
    int maxAlnScore = 0;
    while((int)(read.alignments.size()) < maxAlnCount && lisIndex < lisIntervals.size()){
        bool unique = hasUnique(lisIntervals[lisIndex], lisIntervals[lisIndex].fw ? treeF : treeR);
        bool extend = unique;
        int trial = lisIntervals[lisIndex].fw ? trialF : trialR;
        bool extensionCriterium = (trial < alnOptions.maxTrial || extend) && (lisIntervals[lisIndex].matches.size() > 1 || lisIntervals[lisIndex].score >= minCoverage);
#ifndef NDEBUG
        if(alnOptions.debugFile != NULL){
            int Plength = read.sequence.length();
            printLisData(sa, lisIntervals[lisIndex], alnOptions, lisIndex, extensionCriterium, unique, trial < alnOptions.maxTrial, Plength, editDist);
        }
#endif
        if(alnOptions.print >=2 ){
            cerr << "#LISI " << lisIndex << endl;
            cerr << "#UNIQUE " << unique << endl;
            cerr << "#TRIAL " << trial << endl;
            cerr << "#EXTEND " << extensionCriterium << endl;
            cerr << "#LISMEMS " << lisIntervals[lisIndex].matches.size() << endl;
            cerr << "#LISSCORE " << lisIntervals[lisIndex].score << endl;
        }
        if(extensionCriterium){
            //sort matches in this interval according to query position
            const lis_t & cluster = lisIntervals[lisIndex];
            const vector<match_t> & matchVector = cluster.matches;
            long chrStart, chrEnd;
            sa.getChromBounds(matchVector[0].ref, chrStart, chrEnd);
            if(alnOptions.print >=5) cerr << "try cluster " << lisIndex << " with " << matchVector.size() << " seeds on " << (cluster.fw ? "forward" : "reverse complemented") << " strand." << endl;
            int returnedAlnScore = extendAlignmentChain(sa.S, cluster.fw ? read.sequence : read.rcSequence, matchVector, editDist, minScore, minCoverage, alnOptions, chrStart, chrEnd, read, cluster.fw);
            //deal with new alignments
            if(cluster.fw) trialF++;
            else trialR++;
            if(returnedAlnScore >= 0 && (!alnOptions.maxTrialBest || maxAlnScore < returnedAlnScore)){
                if(cluster.fw) trialF = 0;
                else trialR = 0;
            }
            maxAlnScore = max(maxAlnScore, returnedAlnScore);
        }
        lisIndex++;
    }
#ifndef NDEBUG
    if(alnOptions.debugFile != NULL){
        int Plength = read.sequence.length();
        fprintf(alnOptions.debugFile,"$E\n");
        size_t lisAfterIndex =  lisIndex;
        while( lisAfterIndex < lisIntervals.size()){
            printLisData(sa, lisIntervals[lisAfterIndex], alnOptions, lisAfterIndex, false, false, false, Plength, editDist);
            lisAfterIndex++;
        }
        fprintf(alnOptions.debugFile,"#END\n");
    }
#endif         
    kb_destroy(qCov, treeF);
    kb_destroy(qCov, treeR);
    if(alnOptions.print >=5){
        cerr << "stopped matching because: " << endl; 
        if((int)(read.alignments.size()) >= maxAlnCount) cerr << " enough alignments were found."<< endl;
        else if(lisIndex >= lisIntervals.size()) cerr << " no more clusters are available."<< endl;
        else if(lisIntervals[lisIndex].score <= minCoverage) cerr << " no new clusters reach minimum query coverage."<< endl;
        else if(min(trialF,trialR) >= alnOptions.maxTrial) cerr << " max number of extensions without result have been reached."<< endl;
        if(lisIndex < lisIntervals.size()){
            cerr << "remaining clusters map approx to:" << endl;
            for(size_t i = lisIndex; i < lisIntervals.size(); i++){
                //sort this candidate region by query position
                const lis_t & cluster = lisIntervals[i];
                const vector<match_t> & matchVector = cluster.matches;
                long chrStart, chrEnd;
                cerr << "cluster " << i << " with " << matchVector.size() << " seeds and " << cluster.score << " bases covered" << endl;
                sa.getChromBounds(matchVector[0].ref, chrStart, chrEnd);
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %r9d, %r14d
movl %r8d, 0x54(%rsp)
movq %rcx, 0x8(%rsp)
movq %rdx, 0x40(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movl $0x200, %edi            # imm = 0x200
callq 0x23e5b
movq %rax, %r12
movl $0x200, %edi            # imm = 0x200
callq 0x23e5b
movq 0xb8(%r15), %rcx
movq %r15, 0x48(%rsp)
subq 0xb0(%r15), %rcx
movq %rax, 0x20(%rsp)
shrq $0x3, %rcx
movabsq $0x6db6db6db6db6db7, %rbp # imm = 0x6DB6DB6DB6DB6DB7
movl %r14d, 0x3c(%rsp)
cmpl %r14d, %ecx
movq %rbx, 0x58(%rsp)
movq %r12, 0x10(%rsp)
jge 0x247bd
leaq 0x50(%rbx), %rax
movq %rax, 0x70(%rsp)
movl $0x20, %ebx
xorl %r15d, %r15d
xorl %r14d, %r14d
movl $0x0, 0x1c(%rsp)
movq $0x0, 0x28(%rsp)
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rbp, %rcx
cmpq %rcx, %r15
jae 0x247cc
movq %r15, 0x30(%rsp)
leaq (%rax,%rbx), %rdi
addq $-0x20, %rdi
cmpb $0x0, 0x4(%rdi)
movq 0x20(%rsp), %rsi
cmovneq %r12, %rsi
callq 0x23eea
movl %eax, %r12d
movq 0x8(%rsp), %rax
movq (%rax), %rax
cmpb $0x0, -0x1c(%rax,%rbx)
movq 0x28(%rsp), %rcx
movl %ecx, %r13d
movl %r14d, 0x4(%rsp)
cmovnel %r14d, %r13d
testb %r12b, %r12b
jne 0x243ac
movq 0x40(%rsp), %rcx
cmpl 0x54(%rcx), %r13d
jl 0x243ac
xorl %r14d, %r14d
jmp 0x243cd
movq 0x8(%rax,%rbx), %rcx
subq (%rax,%rbx), %rcx
movb $0x1, %r14b
cmpq $0x10, %rcx
ja 0x243cd
movl 0xb0(%rsp), %ecx
cmpl %ecx, -0x20(%rax,%rbx)
setge %r14b
movq 0x40(%rsp), %rax
cmpl $0x2, 0x78(%rax)
jl 0x245bf
movl $0x6, %edx
movq 0x2fc00(%rip), %r15     # 0x53fe8
movq %r15, %rdi
leaq 0x20cad(%rip), %rsi     # 0x4509f
callq 0x7340
movq %r15, %rdi
movq 0x30(%rsp), %rsi
callq 0x71c0
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbp, %rdi
movabsq $0x6db6db6db6db6db7, %rbp # imm = 0x6DB6DB6DB6DB6DB7
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x8, %edx
movq %r15, %rdi
leaq 0x20c5f(%rip), %rsi     # 0x450a6
callq 0x7340
movzbl %r12b, %esi
movq %r15, %rdi
callq 0x75a0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x7, %edx
movq %r15, %rdi
leaq 0x20c1e(%rip), %rsi     # 0x450af
callq 0x7340
movq %r15, %rdi
movl %r13d, %esi
callq 0x75d0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x8, %edx
movq %r15, %rdi
leaq 0x20bdd(%rip), %rsi     # 0x450b7
callq 0x7340
movzbl %r14b, %esi
movq %r15, %rdi
callq 0x75a0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x9, %edx
movq %r15, %rdi
leaq 0x20b9c(%rip), %rsi     # 0x450c0
callq 0x7340
movq 0x8(%rsp), %r13
movq (%r13), %rax
movq 0x8(%rax,%rbx), %rsi
subq (%rax,%rbx), %rsi
sarq $0x4, %rsi
movq %r15, %rdi
callq 0x71c0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0xa, %edx
movq %r15, %rdi
leaq 0x20b4a(%rip), %rsi     # 0x450ca
callq 0x7340
movq (%r13), %rax
movl -0x20(%rax,%rbx), %esi
movq %r15, %rdi
callq 0x75d0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
testb %r14b, %r14b
je 0x24784
movq 0x8(%rsp), %rax
movq (%rax), %r14
movq (%r14,%rbx), %rax
movq (%rax), %rsi
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rdx
leaq 0x60(%rsp), %rcx
callq 0x2c5ce
movq 0x40(%rsp), %r13
cmpl $0x5, 0x78(%r13)
movq 0x30(%rsp), %r15
jl 0x246d3
movl $0xc, %edx
movq 0x2f9dc(%rip), %r12     # 0x53fe8
movq %r12, %rdi
leaq 0x20abf(%rip), %rsi     # 0x450d5
callq 0x7340
movq %r12, %rdi
movq %r15, %rsi
callq 0x71c0
movq %rax, %r12
movl $0x6, %edx
movq %rax, %rdi
leaq 0x208e4(%rip), %rsi     # 0x44f1c
callq 0x7340
movq 0x8(%r14,%rbx), %rsi
subq (%r14,%rbx), %rsi
sarq $0x4, %rsi
movq %r12, %rdi
callq 0x71c0
movq %rax, %r12
movl $0xa, %edx
movq %rax, %rdi
leaq 0x20a7e(%rip), %rsi     # 0x450e2
callq 0x7340
cmpb $0x0, -0x1c(%r14,%rbx)
leaq 0x20a77(%rip), %rsi     # 0x450ed
leaq 0x1d7e8(%rip), %rax     # 0x41e65
cmovneq %rax, %rsi
movl $0x14, %edx
movl $0x7, %eax
cmovneq %rax, %rdx
movq %r12, %rdi
callq 0x7340
movl $0x8, %edx
movq %r12, %rdi
leaq 0x1d7ff(%rip), %rsi     # 0x41ea5
callq 0x7340
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
leaq (%r14,%rbx), %rdx
movzbl -0x1c(%r14,%rbx), %eax
movl %eax, %ecx
xorb $0x1, %cl
movzbl %cl, %ecx
shll $0x6, %ecx
movq 0x48(%rsp), %r10
leaq (%r10,%rcx), %rsi
addq $0x20, %rsi
subq $0x8, %rsp
movq 0x78(%rsp), %rdi
movl 0x5c(%rsp), %ecx
movl 0xc0(%rsp), %r8d
movl 0xb8(%rsp), %r9d
pushq %rax
pushq %r10
pushq 0x78(%rsp)
pushq 0x88(%rsp)
pushq %r13
callq 0x22769
addq $0x30, %rsp
movzbl -0x1c(%r14,%rbx), %edx
movl %edx, %ecx
xorb $0x1, %cl
movzbl %cl, %ecx
addl 0x28(%rsp), %ecx
movl 0x4(%rsp), %r14d
addl %edx, %r14d
testl %eax, %eax
js 0x24769
cmpb $0x1, 0x5c(%r13)
jne 0x24756
cmpl %eax, 0x1c(%rsp)
jge 0x24769
testb %dl, %dl
movq 0x28(%rsp), %rcx
movl $0x0, %edx
cmovel %edx, %ecx
cmovnel %edx, %r14d
movq 0x10(%rsp), %r12
movl 0x1c(%rsp), %edx
cmpl %eax, %edx
cmovlel %eax, %edx
movl %edx, 0x1c(%rsp)
movl %ecx, %eax
movq %rax, 0x28(%rsp)
jmp 0x24793
movq 0x30(%rsp), %r15
movl 0x4(%rsp), %r14d
movq 0x10(%rsp), %r12
movq 0x48(%rsp), %rcx
movq 0xb8(%rcx), %rax
subq 0xb0(%rcx), %rax
incq %r15
shrq $0x3, %rax
addq $0x38, %rbx
cmpl 0x3c(%rsp), %eax
jl 0x24337
jmp 0x247cc
movq $0x0, 0x28(%rsp)
xorl %r14d, %r14d
xorl %r15d, %r15d
movl %r14d, 0x4(%rsp)
movq %r15, 0x30(%rsp)
testq %r12, %r12
je 0x248d6
movl $0x8, %edi
movl $0x8, %esi
callq 0x71a0
movq %rax, %r14
movq (%r12), %rax
movq %rax, (%r14)
movq %r14, %r12
addq $0x8, %r12
movl $0x8, %ebx
movq 0x20(%rsp), %r15
addq $-0x8, %r12
movq (%r12), %r13
movl (%r13), %ecx
testb $0x1, %cl
jne 0x24834
movq %r13, %rdi
callq 0x7380
leaq -0x8(%r12), %rax
cmpq %r14, %r12
movq %rax, %r12
jne 0x2480d
jmp 0x248de
testl %ecx, %ecx
js 0x248be
movq 0x10(%rsp), %rax
movl 0xc(%rax), %eax
movq $-0x1, %rbp
movslq %eax, %rdx
addq %r13, %rdx
cmpq $0x0, 0x8(%rdx,%rbp,8)
je 0x248af
movq %r12, %rcx
subq %r14, %rcx
sarq $0x3, %rcx
movslq %ebx, %rdx
cmpq %rdx, %rcx
jne 0x24898
leal (%rbx,%rbx), %r15d
movslq %r15d, %rsi
shlq $0x3, %rsi
movq %r14, %rdi
callq 0x7590
movq %rax, %r14
shlq $0x21, %rbx
sarq $0x21, %rbx
leaq (%rax,%rbx,8), %r12
movq 0x10(%rsp), %rax
movl 0xc(%rax), %eax
movl %r15d, %ebx
movslq %eax, %rcx
addq %r13, %rcx
movq 0x8(%rcx,%rbp,8), %rcx
movq %rcx, (%r12)
addq $0x8, %r12
movl (%r13), %ecx
movl %ecx, %edx
sarl %edx
movslq %edx, %rdx
incq %rbp
cmpq %rdx, %rbp
jl 0x2484b
movq %r13, %rdi
callq 0x7380
cmpq %r14, %r12
movq 0x20(%rsp), %r15
jne 0x24809
jmp 0x248de
xorl %r14d, %r14d
movq 0x20(%rsp), %r15
movq 0x10(%rsp), %rdi
callq 0x7380
movq %r14, %rdi
callq 0x7380
testq %r15, %r15
je 0x249e2
movl $0x8, %edi
movl $0x8, %esi
callq 0x71a0
movq %rax, %r14
movq (%r15), %rax
movq %rax, (%r14)
movq %r14, %r12
addq $0x8, %r12
movl $0x8, %ebx
addq $-0x8, %r12
movq (%r12), %r13
movl (%r13), %ecx
testb $0x1, %cl
jne 0x24948
movq %r13, %rdi
callq 0x7380
leaq -0x8(%r12), %rax
cmpq %r14, %r12
movq %rax, %r12
jne 0x24921
jmp 0x249e5
testl %ecx, %ecx
js 0x249ca
movl 0xc(%r15), %eax
movq $-0x1, %rbp
movslq %eax, %rdx
addq %r13, %rdx
cmpq $0x0, 0x8(%rdx,%rbp,8)
je 0x249bb
movq %r12, %rcx
subq %r14, %rcx
sarq $0x3, %rcx
movslq %ebx, %rdx
cmpq %rdx, %rcx
jne 0x249a4
leal (%rbx,%rbx), %r15d
movslq %r15d, %rsi
shlq $0x3, %rsi
movq %r14, %rdi
callq 0x7590
movq %rax, %r14
shlq $0x21, %rbx
sarq $0x21, %rbx
leaq (%rax,%rbx,8), %r12
movq 0x20(%rsp), %rax
movl 0xc(%rax), %eax
movl %r15d, %ebx
movslq %eax, %rcx
addq %r13, %rcx
movq 0x8(%rcx,%rbp,8), %rcx
movq %rcx, (%r12)
addq $0x8, %r12
movl (%r13), %ecx
movl %ecx, %edx
sarl %edx
movslq %edx, %rdx
incq %rbp
cmpq %rdx, %rbp
jl 0x24957
movq %r13, %rdi
callq 0x7380
cmpq %r14, %r12
movq 0x20(%rsp), %r15
jne 0x2491d
jmp 0x249e5
xorl %r14d, %r14d
movq %r15, %rdi
callq 0x7380
movq %r14, %rdi
callq 0x7380
movq 0x40(%rsp), %rbx
cmpl $0x5, 0x78(%rbx)
jl 0x24cdc
movq 0x2f5dd(%rip), %r14     # 0x53fe8
leaq 0x206f0(%rip), %rsi     # 0x45102
movl $0x1a, %edx
movq %r14, %rdi
callq 0x7340
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movq 0x48(%rsp), %rcx
movq 0xb8(%rcx), %rax
subq 0xb0(%rcx), %rax
shrq $0x3, %rax
cmpl 0x3c(%rsp), %eax
jge 0x24aca
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $0x6db6db6db6db6db7, %r12 # imm = 0x6DB6DB6DB6DB6DB7
imulq %r12, %rcx
movq 0x30(%rsp), %r15
cmpq %rcx, %r15
jae 0x24af3
imulq $0x38, %r15, %rcx
movl 0xb0(%rsp), %edx
cmpl %edx, (%rax,%rcx)
jle 0x24b08
movl 0x4(%rsp), %eax
movq 0x28(%rsp), %rcx
cmpl %eax, %ecx
cmovll %ecx, %eax
cmpl 0x54(%rbx), %eax
jl 0x24b47
movq 0x2f52c(%rip), %rdi     # 0x53fe8
leaq 0x206c9(%rip), %rsi     # 0x4518c
movl $0x3b, %edx
jmp 0x24b1b
movq 0x2f517(%rip), %rdi     # 0x53fe8
leaq 0x20645(%rip), %rsi     # 0x4511d
movl $0x1e, %edx
callq 0x7340
movabsq $0x6db6db6db6db6db7, %r12 # imm = 0x6DB6DB6DB6DB6DB7
movq 0x30(%rsp), %r15
jmp 0x24b20
movq 0x2f4ee(%rip), %rdi     # 0x53fe8
leaq 0x2063b(%rip), %rsi     # 0x4513c
movl $0x20, %edx
jmp 0x24b1b
movq 0x2f4d9(%rip), %rdi     # 0x53fe8
leaq 0x20647(%rip), %rsi     # 0x4515d
movl $0x2e, %edx
callq 0x7340
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x3, %rax
imulq %r12, %rax
cmpq %rax, %r15
movq 0x58(%rsp), %r12
jae 0x24cdc
leaq 0x20658(%rip), %rsi     # 0x451c8
movl $0x21, %edx
movq %r14, %rdi
callq 0x7340
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movq 0x8(%rsp), %rax
movq (%rax), %rbx
movq 0x8(%rax), %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rcx, %rax
cmpq %rax, %r15
jae 0x24cdc
imulq $0x38, %r15, %r13
addq $0x28, %r13
movq 0x2f40b(%rip), %rbp     # 0x53fe8
movl $0x8, %edx
movq %rbp, %rdi
leaq 0x204ed(%rip), %rsi     # 0x450d9
callq 0x7340
movq %rbp, %rdi
movq %r15, %rsi
callq 0x71c0
movq %r12, %r14
movq %rax, %r12
movl $0x6, %edx
movq %rax, %rdi
leaq 0x2030b(%rip), %rsi     # 0x44f1c
callq 0x7340
movq (%rbx,%r13), %rsi
subq -0x8(%rbx,%r13), %rsi
sarq $0x4, %rsi
movq %r12, %rdi
callq 0x71c0
movq %rax, %r12
movl $0xb, %edx
movq %rax, %rdi
leaq 0x205ad(%rip), %rsi     # 0x451ea
callq 0x7340
movl -0x28(%rbx,%r13), %esi
movq %r12, %rdi
callq 0x75d0
movq %rax, %r12
movl $0xe, %edx
movq %rax, %rdi
leaq 0x20595(%rip), %rsi     # 0x451f6
callq 0x7340
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %r12, %rdi
movq %r14, %r12
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movq -0x8(%rbx,%r13), %rax
movq (%rax), %rsi
movq %r14, %rdi
leaq 0x68(%rsp), %rdx
leaq 0x60(%rsp), %rcx
callq 0x2c5ce
incq %r15
movq 0x8(%rsp), %rax
movq (%rax), %rbx
movq 0x8(%rax), %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rcx, %rax
addq $0x38, %r13
cmpq %rax, %r15
jb 0x24bdd
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq