// File: /workspace/github_cpp_makefile_star2_O1/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, %ebp
movl %r8d, 0x54(%rsp)
movq %rcx, 0x8(%rsp)
movq %rdx, 0x28(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movl $0x200, %edi            # imm = 0x200
callq 0x2410b
movq %rax, 0x48(%rsp)
movl $0x200, %edi            # imm = 0x200
callq 0x2410b
movq 0xb8(%r14), %rcx
movq %r14, 0x40(%rsp)
subq 0xb0(%r14), %rcx
shrq $0x3, %rcx
movl %ebp, 0x3c(%rsp)
cmpl %ebp, %ecx
movq %rbx, 0x58(%rsp)
movq %rax, 0x10(%rsp)
jge 0x248f7
movq %rax, %rsi
leaq 0x50(%rbx), %rax
movq %rax, 0x70(%rsp)
movl $0x20, %r13d
xorl %r15d, %r15d
xorl %r12d, %r12d
movl $0x0, 0x1c(%rsp)
movq $0x0, 0x20(%rsp)
movabsq $0x6db6db6db6db6db7, %rbx # imm = 0x6DB6DB6DB6DB6DB7
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rbx, %rcx
cmpq %rcx, %r15
jae 0x24906
movq %r15, 0x30(%rsp)
leaq (%rax,%r13), %rdi
addq $-0x20, %rdi
cmpb $0x0, 0x4(%rdi)
cmovneq 0x48(%rsp), %rsi
callq 0x24196
movl %eax, %r14d
movq 0x8(%rsp), %rax
movq (%rax), %rax
cmpb $0x0, -0x1c(%rax,%r13)
movq 0x20(%rsp), %rcx
movl %ecx, %ebp
movl %r12d, 0x4(%rsp)
cmovnel %r12d, %ebp
testb %r14b, %r14b
jne 0x244da
movq 0x28(%rsp), %rcx
cmpl 0x54(%rcx), %ebp
jl 0x244da
xorl %r12d, %r12d
jmp 0x244fc
movq 0x8(%rax,%r13), %rcx
subq (%rax,%r13), %rcx
movb $0x1, %r12b
cmpq $0x10, %rcx
ja 0x244fc
movl 0xb0(%rsp), %ecx
cmpl %ecx, -0x20(%rax,%r13)
setge %r12b
movq 0x28(%rsp), %rax
cmpl $0x2, 0x78(%rax)
jl 0x246ec
movl $0x6, %edx
movq 0x2fad1(%rip), %r15     # 0x53fe8
movq %r15, %rdi
leaq 0x20b7e(%rip), %rsi     # 0x4509f
callq 0x7340
movq %r15, %rdi
movq 0x30(%rsp), %rsi
callq 0x71c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x8, %edx
movq %r15, %rdi
leaq 0x20b3a(%rip), %rsi     # 0x450a6
callq 0x7340
movzbl %r14b, %esi
movq %r15, %rdi
callq 0x75a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x7, %edx
movq %r15, %rdi
leaq 0x20af9(%rip), %rsi     # 0x450af
callq 0x7340
movq %r15, %rdi
movl %ebp, %esi
callq 0x75d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x8, %edx
movq %r15, %rdi
leaq 0x20ab9(%rip), %rsi     # 0x450b7
callq 0x7340
movzbl %r12b, %esi
movq %r15, %rdi
callq 0x75a0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0x9, %edx
movq %r15, %rdi
leaq 0x20a78(%rip), %rsi     # 0x450c0
callq 0x7340
movq 0x8(%rsp), %r14
movq (%r14), %rax
movq 0x8(%rax,%r13), %rsi
subq (%rax,%r13), %rsi
sarq $0x4, %rsi
movq %r15, %rdi
callq 0x71c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movl $0xa, %edx
movq %r15, %rdi
leaq 0x20a27(%rip), %rsi     # 0x450ca
callq 0x7340
movq (%r14), %rax
movl -0x20(%rax,%r13), %esi
movq %r15, %rdi
callq 0x75d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbx, %rdi
movabsq $0x6db6db6db6db6db7, %rbx # imm = 0x6DB6DB6DB6DB6DB7
callq 0x7040
movq %rax, %rdi
callq 0x71d0
testb %r12b, %r12b
je 0x248a3
movq 0x8(%rsp), %rax
movq (%rax), %r12
movq (%r12,%r13), %rax
movq (%rax), %rsi
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rdx
leaq 0x60(%rsp), %rcx
callq 0x2c6f4
movq 0x28(%rsp), %rbp
cmpl $0x5, 0x78(%rbp)
movq 0x30(%rsp), %r15
jl 0x24808
movl $0xc, %edx
movq 0x2f8b0(%rip), %rbx     # 0x53fe8
movq %rbx, %rdi
leaq 0x20993(%rip), %rsi     # 0x450d5
callq 0x7340
movq %rbx, %rdi
movq %r15, %rsi
callq 0x71c0
movq %rax, %rbx
movl $0x6, %edx
movq %rax, %rdi
leaq 0x207b8(%rip), %rsi     # 0x44f1c
callq 0x7340
movq 0x8(%r12,%r13), %rsi
subq (%r12,%r13), %rsi
sarq $0x4, %rsi
movq %rbx, %rdi
movabsq $0x6db6db6db6db6db7, %rbx # imm = 0x6DB6DB6DB6DB6DB7
callq 0x71c0
movq %rax, %r14
movl $0xa, %edx
movq %rax, %rdi
leaq 0x20948(%rip), %rsi     # 0x450e2
callq 0x7340
cmpb $0x0, -0x1c(%r12,%r13)
leaq 0x20941(%rip), %rsi     # 0x450ed
leaq 0x1d6b2(%rip), %rax     # 0x41e65
cmovneq %rax, %rsi
movl $0x14, %edx
movl $0x7, %eax
cmovneq %rax, %rdx
movq %r14, %rdi
callq 0x7340
movl $0x8, %edx
movq %r14, %rdi
leaq 0x1d6c9(%rip), %rsi     # 0x41ea5
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
leaq (%r12,%r13), %rdx
movzbl -0x1c(%r12,%r13), %eax
movl %eax, %ecx
xorb $0x1, %cl
movzbl %cl, %ecx
shll $0x6, %ecx
movq 0x40(%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 %rbp
callq 0x22a63
addq $0x30, %rsp
movzbl -0x1c(%r12,%r13), %edx
movl %edx, %ecx
xorb $0x1, %cl
movzbl %cl, %ecx
addl 0x20(%rsp), %ecx
movl 0x4(%rsp), %r12d
addl %edx, %r12d
testl %eax, %eax
js 0x248b4
cmpb $0x1, 0x5c(%rbp)
movq 0x10(%rsp), %rsi
jne 0x2488e
cmpl %eax, 0x1c(%rsp)
jge 0x248b9
testb %dl, %dl
movq 0x20(%rsp), %rcx
movl $0x0, %edx
cmovel %edx, %ecx
cmovnel %edx, %r12d
jmp 0x248b9
movq 0x30(%rsp), %r15
movl 0x4(%rsp), %r12d
movq 0x10(%rsp), %rsi
jmp 0x248cd
movq 0x10(%rsp), %rsi
movl 0x1c(%rsp), %edx
cmpl %eax, %edx
cmovlel %eax, %edx
movl %edx, 0x1c(%rsp)
movl %ecx, %eax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rcx
movq 0xb8(%rcx), %rax
subq 0xb0(%rcx), %rax
incq %r15
shrq $0x3, %rax
addq $0x38, %r13
cmpl 0x3c(%rsp), %eax
jl 0x24469
jmp 0x24906
movq $0x0, 0x20(%rsp)
xorl %r12d, %r12d
xorl %r15d, %r15d
movl %r12d, 0x4(%rsp)
movq %r15, 0x30(%rsp)
movq 0x48(%rsp), %r15
testq %r15, %r15
je 0x249f6
movl $0x8, %edi
movl $0x8, %esi
callq 0x71a0
movq %rax, %r12
movq (%r15), %rax
movq %rax, (%r12)
movq %r12, %r14
addq $0x8, %r14
movl $0x8, %ebx
addq $-0x8, %r14
movq (%r14), %rbp
testb $0x1, (%rbp)
jne 0x24969
movq %rbp, %rdi
callq 0x7380
leaq -0x8(%r14), %rax
cmpq %r12, %r14
movq %rax, %r14
jne 0x24947
jmp 0x249f9
cmpl $0x0, (%rbp)
js 0x249e3
movq $-0x1, %r13
movslq 0xc(%r15), %rax
addq %rbp, %rax
cmpq $0x0, 0x8(%rax,%r13,8)
je 0x249d4
movq %r14, %rax
subq %r12, %rax
sarq $0x3, %rax
movslq %ebx, %rcx
cmpq %rcx, %rax
jne 0x249c1
leal (%rbx,%rbx), %r15d
movslq %r15d, %rsi
shlq $0x3, %rsi
movq %r12, %rdi
callq 0x7590
movq %rax, %r12
shlq $0x21, %rbx
sarq $0x21, %rbx
leaq (%rax,%rbx,8), %r14
movl %r15d, %ebx
movq 0x48(%rsp), %r15
movslq 0xc(%r15), %rax
addq %rbp, %rax
movq 0x8(%rax,%r13,8), %rax
movq %rax, (%r14)
addq $0x8, %r14
movl (%rbp), %eax
sarl %eax
cltq
incq %r13
cmpq %rax, %r13
jl 0x24976
movq %rbp, %rdi
callq 0x7380
cmpq %r12, %r14
jne 0x24943
jmp 0x249f9
xorl %r12d, %r12d
movq %r15, %rdi
callq 0x7380
movq %r12, %rdi
callq 0x7380
movq 0x10(%rsp), %rbx
testq %rbx, %rbx
je 0x24b01
movl $0x8, %edi
movl $0x8, %esi
callq 0x71a0
movq %rax, %r12
movq (%rbx), %rax
movq %rax, (%r12)
movq %r12, %r14
addq $0x8, %r14
movl $0x8, %ebx
movq 0x28(%rsp), %rbp
addq $-0x8, %r14
movq (%r14), %r13
testb $0x1, (%r13)
jne 0x24a68
movq %r13, %rdi
callq 0x7380
leaq -0x8(%r14), %rax
cmpq %r12, %r14
movq %rax, %r14
jne 0x24a45
jmp 0x24b09
cmpl $0x0, (%r13)
movq 0x10(%rsp), %rdx
js 0x24ae9
movq $-0x1, %rbp
movslq 0xc(%rdx), %rax
addq %r13, %rax
cmpq $0x0, 0x8(%rax,%rbp,8)
je 0x24ad9
movq %r14, %rax
subq %r12, %rax
sarq $0x3, %rax
movslq %ebx, %rcx
cmpq %rcx, %rax
jne 0x24ac6
leal (%rbx,%rbx), %r15d
movslq %r15d, %rsi
shlq $0x3, %rsi
movq %r12, %rdi
callq 0x7590
movq 0x10(%rsp), %rdx
movq %rax, %r12
shlq $0x21, %rbx
sarq $0x21, %rbx
leaq (%rax,%rbx,8), %r14
movl %r15d, %ebx
movslq 0xc(%rdx), %rax
addq %r13, %rax
movq 0x8(%rax,%rbp,8), %rax
movq %rax, (%r14)
addq $0x8, %r14
movl (%r13), %eax
sarl %eax
cltq
incq %rbp
cmpq %rax, %rbp
jl 0x24a7b
movq %r13, %rdi
callq 0x7380
cmpq %r12, %r14
movq 0x28(%rsp), %rbp
jne 0x24a41
jmp 0x24b09
xorl %r12d, %r12d
movq 0x28(%rsp), %rbp
movq 0x10(%rsp), %rdi
callq 0x7380
movq %r12, %rdi
callq 0x7380
cmpl $0x5, 0x78(%rbp)
movabsq $0x6db6db6db6db6db7, %rbx # imm = 0x6DB6DB6DB6DB6DB7
jl 0x24de2
movq 0x2f4b2(%rip), %r14     # 0x53fe8
leaq 0x205c5(%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 0x40(%rsp), %rcx
movq 0xb8(%rcx), %rax
subq 0xb0(%rcx), %rax
shrq $0x3, %rax
cmpl 0x3c(%rsp), %eax
jge 0x24beb
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rbx, %rcx
movq 0x30(%rsp), %r15
cmpq %rcx, %r15
jae 0x24c0a
imulq $0x38, %r15, %rcx
movl 0xb0(%rsp), %edx
cmpl %edx, (%rax,%rcx)
jle 0x24c1f
movl 0x4(%rsp), %eax
movq 0x20(%rsp), %rcx
cmpl %eax, %ecx
cmovll %ecx, %eax
cmpl 0x54(%rbp), %eax
jl 0x24c5e
movq 0x2f40b(%rip), %rdi     # 0x53fe8
leaq 0x205a8(%rip), %rsi     # 0x4518c
movl $0x3b, %edx
jmp 0x24c32
movq 0x2f3f6(%rip), %rdi     # 0x53fe8
leaq 0x20524(%rip), %rsi     # 0x4511d
movl $0x1e, %edx
callq 0x7340
movq 0x30(%rsp), %r15
jmp 0x24c37
movq 0x2f3d7(%rip), %rdi     # 0x53fe8
leaq 0x20524(%rip), %rsi     # 0x4513c
movl $0x20, %edx
jmp 0x24c32
movq 0x2f3c2(%rip), %rdi     # 0x53fe8
leaq 0x20530(%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 %rbx, %rax
cmpq %rax, %r15
movq 0x58(%rsp), %rbp
jae 0x24de2
leaq 0x20541(%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), %r12
movq 0x8(%rax), %rax
subq %r12, %rax
sarq $0x3, %rax
imulq %rbx, %rax
cmpq %rax, %r15
jae 0x24de2
imulq $0x38, %r15, %r13
addq $0x28, %r13
movq 0x2f2fe(%rip), %r14     # 0x53fe8
movl $0x8, %edx
movq %r14, %rdi
leaq 0x203e0(%rip), %rsi     # 0x450d9
callq 0x7340
movq %r14, %rdi
movq %r15, %rsi
callq 0x71c0
movq %rax, %rbx
movl $0x6, %edx
movq %rax, %rdi
leaq 0x20201(%rip), %rsi     # 0x44f1c
callq 0x7340
movq (%r12,%r13), %rsi
subq -0x8(%r12,%r13), %rsi
sarq $0x4, %rsi
movq %rbx, %rdi
callq 0x71c0
movq %rax, %rbx
movl $0xb, %edx
movq %rax, %rdi
leaq 0x204a3(%rip), %rsi     # 0x451ea
callq 0x7340
movl -0x28(%r12,%r13), %esi
movq %rbx, %rdi
callq 0x75d0
movq %rax, %rbx
movl $0xe, %edx
movq %rax, %rdi
leaq 0x2048b(%rip), %rsi     # 0x451f6
callq 0x7340
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x72b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x7040
movq %rax, %rdi
callq 0x71d0
movq -0x8(%r12,%r13), %rax
movq (%rax), %rsi
movq %rbp, %rdi
leaq 0x68(%rsp), %rdx
leaq 0x60(%rsp), %rcx
callq 0x2c6f4
incq %r15
movq 0x8(%rsp), %rax
movq (%rax), %r12
movq 0x8(%rax), %rax
subq %r12, %rax
sarq $0x3, %rax
movabsq $0x6db6db6db6db6db7, %rcx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rcx, %rax
addq $0x38, %r13
cmpq %rax, %r15
jb 0x24cea
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq