// File: /workspace/github_cpp_makefile_star2_O1/tedsharpe[P]ORFCall/ORFCall.cc
// Function: (anonymous namespace)::ORFCaller::findIndels((anonymous namespace)::Alignment const&, std::vector<unsigned char, std::allocator<unsigned char>> const&, std::vector<unsigned char, std::allocator<unsigned char>> const&)
ReadReport ORFCaller::findIndels( Alignment const& aln,
                                  Sequence const& seq,
                                  Quals const& quals )
{
    Sequence const& ref = mRef.getRef();
    Offset refStart = aln.getRefStart()-std::min(aln.getRefStart(),SW_REF_PAD);
    Sequence::const_iterator refItr(ref.begin()+refStart);
    Sequence::const_iterator refEnd(ref.begin()+
                std::min(aln.getRefEnd()+SW_REF_PAD,ref.size()));
    Sequence::const_iterator seqItr, seqEnd;
    Quals::const_iterator qualItr;

    if ( !aln.isReadRC() )
    {
        seqItr = seq.begin() + aln.getReadStart();
        seqEnd = seq.begin() + aln.getReadEnd();
        qualItr = seq.begin() + aln.getReadStart();
    }
    else
    {
        mSeqTmp.clear();
        mSeqTmp.reserve(seq.size());
        for ( auto itr = seq.rbegin(), end = seq.rend(); itr != end; ++itr )
            mSeqTmp.push_back(complement(*itr));
        seqItr = mSeqTmp.begin() + aln.getReadStart();
        seqEnd = mSeqTmp.begin() + aln.getReadEnd();
        mQualsTmp = quals;
        std::reverse(mQualsTmp.begin(),mQualsTmp.end());
        qualItr = mQualsTmp.begin() + aln.getReadStart();
    }

    auto const& blocks = mSW.align(seqItr,seqEnd,refItr,refEnd);
    auto blkItr = blocks.begin();
    if ( blkItr->mDir == SmithWatermanizer::Trace::UP )
    {
        refStart += blkItr->mLen;
        refItr += blkItr->mLen;
        ++blkItr;
    }

    AlignmentScorer alignmentScorer(mRef,refStart,mMinQ);
    std::vector<Variation> indels;
    for ( auto blkEnd(blocks.end()); blkItr != blkEnd; ++blkItr )
    {
        unsigned nnn = blkItr->mLen;
        switch ( blkItr->mDir )
        {
        case SmithWatermanizer::Trace::UP:
            if ( alignmentScorer.inORF() &&
                    qualItr[-1] >= mMinQ && qualItr[0] >= mMinQ )
                indels.push_back(Variation{VariationType::DELETION,
                                            alignmentScorer.getCodonIdx(),
                                            nnn});
            while ( nnn-- )
            {
                alignmentScorer(*refItr,NCALL,0);
                ++refItr;
            }
            break;
        case SmithWatermanizer::Trace::LEFT:
            {
                bool loQ = false;
                while ( nnn-- )
                {
                    if ( *qualItr < mMinQ )
                        loQ = true;
                    ++seqItr; ++qualItr;
                }
                if ( !loQ && alignmentScorer.inORF() )
                    indels.push_back(Variation{VariationType::INSERTION,
                                                alignmentScorer.getCodonIdx(),
                                                blkItr->mLen});
            }
            break;
        case SmithWatermanizer::Trace::DIAG:
            while ( nnn-- )
            {
                alignmentScorer(*refItr,*seqItr,*qualItr);
                ++refItr; ++seqItr; ++qualItr;
            }
            break;
        case SmithWatermanizer::Trace::DONE:
            FatalErr("found DONE block in traceback");
        }
    }
    ReadReport report = alignmentScorer.getReport();
    report.mVariations.insert(report.mVariations.end(),
                                    indels.begin(),indels.end());
    return report;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rcx, %r13
movq %rdx, %r12
movq %rdi, 0xa0(%rsp)
movq (%rsi), %rcx
movq (%rdx), %rax
movq 0x8(%rdx), %r14
xorl %ebx, %ebx
movq %rax, %rdx
subq $0x5, %rdx
cmovaeq %rdx, %rbx
movq 0x8(%rcx), %rdx
movq 0x10(%rcx), %rbp
leaq 0x5(%r14), %rcx
movq %rdx, 0x20(%rsp)
subq %rdx, %rbp
cmpq %rcx, %rbp
cmovaeq %rcx, %rbp
cmpb $0x0, 0x18(%r12)
movq %rsi, 0x10(%rsp)
movq %rbx, 0x40(%rsp)
movq %rbp, 0x28(%rsp)
je 0x86c7
movq %r8, 0x8(%rsp)
leaq 0x58(%rsi), %r15
movq 0x58(%rsi), %rax
cmpq %rax, 0x60(%rsi)
je 0x85c9
movq %rax, 0x60(%rsi)
movq 0x8(%r13), %rsi
subq (%r13), %rsi
movq %r15, %rdi
callq 0xa10e
movq (%r13), %rbx
movq 0x8(%r13), %r14
cmpq %rbx, %r14
je 0x8635
movl $0x4, %ebp
leaq 0xb0(%rsp), %r13
movb -0x1(%r14), %al
movl %eax, %ecx
xorb $0x3, %cl
cmpb $0x4, %al
movzbl %cl, %eax
cmovel %ebp, %eax
movb %al, 0xb0(%rsp)
movq 0x10(%rsp), %rcx
movq 0x60(%rcx), %rsi
cmpq 0x68(%rcx), %rsi
je 0x8622
movb %al, (%rsi)
incq 0x60(%rcx)
jmp 0x862d
movq %r15, %rdi
movq %r13, %rdx
callq 0xa226
decq %r14
cmpq %rbx, %r14
jne 0x85f3
movq 0x10(%rsp), %r14
movq 0x58(%r14), %rbx
movq 0x10(%r12), %rax
movq 0x8(%r12), %r13
movq %rax, %rbp
addq %rax, %r13
subq (%r12), %r13
leaq 0x70(%r14), %r15
movq %r15, %rdi
movq 0x8(%rsp), %rsi
callq 0xb72c
movq 0x70(%r14), %rax
movq 0x78(%r14), %rcx
cmpq %rcx, %rax
setne %dl
decq %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x86a2
incq %rax
movb -0x1(%rax), %dl
movb (%rcx), %sil
movb %sil, -0x1(%rax)
movb %dl, (%rcx)
decq %rcx
leaq 0x1(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x8687
movq %rbp, %rcx
addq %rbx, %rcx
addq %rbx, %r13
movq (%r15), %rax
addq 0x10(%r12), %rax
movq %rax, 0x50(%rsp)
movq 0x40(%rsp), %rbx
movq %r13, %r14
movq 0x28(%rsp), %rbp
jmp 0x86db
movq (%r13), %rcx
addq 0x10(%r12), %rcx
subq %rax, %r14
addq %rcx, %r14
movq %rcx, 0x50(%rsp)
movq %rcx, 0x30(%rsp)
movq 0x10(%rsp), %r13
leaq 0x88(%r13), %r15
movq %r14, 0x8(%rsp)
subq %rcx, %r14
leaq 0xa0(%r13), %rdi
movq %rdi, 0x58(%rsp)
movq %r14, %rsi
callq 0xb81e
movq %r15, 0x60(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0xb81e
movq %r14, %rdx
leaq 0x1(%r14), %rax
movq %rbp, %r14
subq %rbx, %r14
incq %r14
imulq %rax, %r14
movq 0xb8(%r13), %rbp
movq 0xc0(%r13), %r15
movq %r15, %r12
subq %rbp, %r12
movq %r14, %rsi
subq %r12, %rsi
movq %rdx, 0x38(%rsp)
jbe 0x87bb
movq 0x30(%rsp), %rbx
movq 0xc8(%r13), %rax
subq %r15, %rax
cmpq %rsi, %rax
jae 0x87e7
movq %r12, %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
xorq %rcx, %rax
cmpq %rsi, %rax
jb 0x9396
cmpq %rsi, %r12
movq %rsi, %rax
cmovaq %r12, %rax
leaq (%rax,%r12), %rdi
cmpq %rcx, %rdi
cmovaeq %rcx, %rdi
addq %r12, %rax
cmovbq %rcx, %rdi
testq %rdi, %rdi
movq %rdi, 0x48(%rsp)
je 0x8933
movq %rsi, %r13
callq 0x31f0
movq %r13, %rsi
movq %rax, %r13
jmp 0x8936
movq 0x30(%rsp), %rbx
movq %r13, %r12
movq 0x8(%rsp), %r13
jae 0x8acb
addq %r14, %rbp
cmpq %rbp, %r15
je 0x8acb
movq %rbp, 0xc0(%r12)
jmp 0x8acb
movb $0x0, (%r15)
cmpq $0x1, %rsi
movq 0x8(%rsp), %r13
jne 0x8806
incq %r15
movq %r15, %rsi
movq 0x10(%rsp), %r12
jmp 0x8926
addq %r15, %rsi
addq %rbp, %r14
movq %r15, %rcx
notq %rcx
leaq 0x3f(%rcx,%r14), %rax
andq $-0x40, %rax
leaq -0x1(%rcx,%r14), %rcx
vpbroadcastq %rcx, %zmm0
xorl %ecx, %ecx
vpmovsxbq 0x380e(%rip), %zmm1 # 0xc040
vpmovsxbq 0x380c(%rip), %zmm2 # 0xc048
vpmovsxbq 0x380a(%rip), %zmm3 # 0xc050
vpmovsxbq 0x3808(%rip), %zmm4 # 0xc058
vpmovsxbq 0x3806(%rip), %zmm5 # 0xc060
vpmovsxbq 0x3804(%rip), %zmm6 # 0xc068
vpmovsxbq 0x3802(%rip), %zmm7 # 0xc070
vpmovsxbq 0x37b0(%rip), %zmm8 # 0xc028
movq 0x10(%rsp), %r12
vpbroadcastq %rcx, %zmm9
vporq %zmm1, %zmm9, %zmm10
vporq %zmm2, %zmm9, %zmm11
vporq %zmm3, %zmm9, %zmm12
vporq %zmm4, %zmm9, %zmm13
vporq %zmm5, %zmm9, %zmm14
vporq %zmm6, %zmm9, %zmm15
vporq %zmm7, %zmm9, %zmm16
vporq %zmm8, %zmm9, %zmm9
vpcmpleuq %zmm0, %zmm9, %k0
vpcmpleuq %zmm0, %zmm16, %k1
kunpckbw %k0, %k1, %k0
vpcmpleuq %zmm0, %zmm15, %k1
vpcmpleuq %zmm0, %zmm14, %k2
kunpckbw %k1, %k2, %k1
kunpckwd %k0, %k1, %k0
vpcmpleuq %zmm0, %zmm13, %k1
vpcmpleuq %zmm0, %zmm12, %k2
kunpckbw %k1, %k2, %k1
vpcmpleuq %zmm0, %zmm11, %k2
vpcmpleuq %zmm0, %zmm10, %k3
kunpckbw %k2, %k3, %k2
kunpckwd %k1, %k2, %k1
kunpckdq %k0, %k1, %k1
vpbroadcastb (%r15), %zmm9
vmovdqu8 %zmm9, 0x1(%r15,%rcx) {%k1}
addq $0x40, %rcx
cmpq %rcx, %rax
jne 0x887d
movq %rsi, 0xc0(%r12)
jmp 0x8acb
xorl %r13d, %r13d
movb $0x0, (%r13,%r12)
cmpq $0x1, %rsi
je 0x8a60
addq %r13, %r12
leaq 0x1(%r12), %rax
addq %r14, %rbp
notq %r15
leaq 0x3f(%r15,%rbp), %rcx
andq $-0x40, %rcx
leaq -0x1(%r15,%rbp), %rdx
vpbroadcastq %rdx, %zmm0
xorl %edx, %edx
vpmovsxbq 0x36cc(%rip), %zmm1 # 0xc040
vpmovsxbq 0x36ca(%rip), %zmm2 # 0xc048
vpmovsxbq 0x36c8(%rip), %zmm3 # 0xc050
vpmovsxbq 0x36c6(%rip), %zmm4 # 0xc058
vpmovsxbq 0x36c4(%rip), %zmm5 # 0xc060
vpmovsxbq 0x36c2(%rip), %zmm6 # 0xc068
vpmovsxbq 0x36c0(%rip), %zmm7 # 0xc070
vpmovsxbq 0x366e(%rip), %zmm8 # 0xc028
vpbroadcastq %rdx, %zmm9
vporq %zmm1, %zmm9, %zmm10
vporq %zmm2, %zmm9, %zmm11
vporq %zmm3, %zmm9, %zmm12
vporq %zmm4, %zmm9, %zmm13
vporq %zmm5, %zmm9, %zmm14
vporq %zmm6, %zmm9, %zmm15
vporq %zmm7, %zmm9, %zmm16
vporq %zmm8, %zmm9, %zmm9
vpcmpleuq %zmm0, %zmm9, %k0
vpcmpleuq %zmm0, %zmm16, %k1
kunpckbw %k0, %k1, %k0
vpcmpleuq %zmm0, %zmm15, %k1
vpcmpleuq %zmm0, %zmm14, %k2
kunpckbw %k1, %k2, %k1
kunpckwd %k0, %k1, %k0
vpcmpleuq %zmm0, %zmm13, %k1
vpcmpleuq %zmm0, %zmm12, %k2
kunpckbw %k1, %k2, %k1
vpcmpleuq %zmm0, %zmm11, %k2
vpcmpleuq %zmm0, %zmm10, %k3
kunpckbw %k2, %k3, %k2
kunpckwd %k1, %k2, %k1
kunpckdq %k0, %k1, %k1
vpbroadcastb (%r12), %zmm9
vmovdqu8 %zmm9, (%rax,%rdx) {%k1}
addq $0x40, %rdx
cmpq %rdx, %rcx
jne 0x89ba
movq 0x10(%rsp), %r12
movq 0xb8(%r12), %r15
movq 0xc0(%r12), %rdx
subq %r15, %rdx
testq %rdx, %rdx
jle 0x8a8b
movq %r13, %rdi
movq %r15, %rsi
vzeroupper
callq 0x3320
testq %r15, %r15
je 0x8a9b
movq %r15, %rdi
vzeroupper
callq 0x31c0
movq %r13, 0xb8(%r12)
addq %r13, %r14
movq %r14, 0xc0(%r12)
movq %r13, %rax
movq 0x48(%rsp), %r13
addq %rax, %r13
movq %r13, 0xc8(%r12)
movq 0x38(%rsp), %rdx
movq 0x8(%rsp), %r13
movq 0x40(%rsp), %rax
movq 0x20(%rsp), %rcx
leaq (%rcx,%rax), %r8
movq 0xb8(%r12), %rdi
movb $0x0, (%rdi)
leaq (%rdi,%rdx), %rbp
cmpq %rbx, %r13
movq %r8, 0x18(%rsp)
je 0x8b07
incq %rdi
movl $0x2, %esi
vzeroupper
callq 0x3110
movq 0x18(%rsp), %r8
movq 0x28(%rsp), %rax
addq %rax, 0x20(%rsp)
movb (%rbx), %dl
movb (%r8), %al
movq 0x58(%rsp), %rcx
movq (%rcx), %rsi
movq 0x60(%rsp), %rcx
movq (%rcx), %rdi
movw $0x301, 0x1(%rbp)       # imm = 0x301
movb %dl, 0x48(%rsp)
cmpb %al, %dl
movl $0x4, %edx
movl $0xfffffffa, %ecx       # imm = 0xFFFFFFFA
cmovel %edx, %ecx
addq $0x3, %rbp
movl $0xffffffe4, (%rsi)     # imm = 0xFFFFFFE4
movl %ecx, (%rdi)
leaq 0x1(%rbx), %rdx
cmpq %r13, %rdx
je 0x8be3
movl $0xfffffff2, %r9d       # imm = 0xFFFFFFF2
movl $0xffffffe1, %r10d      # imm = 0xFFFFFFE1
xorl %r8d, %r8d
movl $0x3, %r11d
leal -0x6(%r10), %r14d
leal 0x4(%r10), %r15d
leaq 0x1(%rdx,%r8), %rbx
cmpb %al, -0x1(%rbx)
cmovnel %r14d, %r15d
addl $0x11, %r15d
addl $-0xe, %ecx
addl $-0x3, %r9d
cmpl %r9d, %ecx
cmovgl %ecx, %r9d
cmpb $0x2, -0x1(%rbp,%r8)
cmovnel %ecx, %r9d
cmpl %r10d, %r9d
setl %r14b
movl %r10d, %ecx
cmovgl %r9d, %ecx
movb $0x2, %r12b
subb %r14b, %r12b
cmpl %r9d, %r15d
movzbl %r12b, %r14d
cmovgel %r11d, %r14d
cmovgel %r15d, %ecx
movb %r14b, (%rbp,%r8)
movl %r10d, 0x4(%rsi,%r8,4)
movl %ecx, 0x4(%rdi,%r8,4)
incq %r8
addl $-0x3, %r10d
cmpq %r13, %rbx
jne 0x8b6d
addq %r8, %rbp
movq 0x18(%rsp), %r8
leaq 0x1(%r8), %rax
cmpq 0x20(%rsp), %rax
je 0x8d55
movq 0x30(%rsp), %rsi
subq %r13, %rsi
incq %rsi
movq %rsi, 0xa8(%rsp)
movq %rbp, %r10
movq %rax, 0x28(%rsp)
movb (%rax), %r11b
movq 0x58(%rsp), %rax
movq (%rax), %r14
movq 0x60(%rsp), %rax
movq (%rax), %r8
movb $0x1, (%r10)
cmpb %r11b, 0x48(%rsp)
movl $0xfffffffa, %edi       # imm = 0xFFFFFFFA
movl $0x4, %eax
cmovel %eax, %edi
movl (%r8), %eax
leal -0xe(%rax), %r9d
movl (%r14), %ebx
addl $-0x3, %ebx
cmpl %ebx, %r9d
cmovgl %r9d, %ebx
cmpl $-0xd, %ebx
setge %r15b
movl $0xfffffff2, %r9d       # imm = 0xFFFFFFF2
cmovgel %ebx, %r9d
movb $0x2, %r12b
subb %r15b, %r12b
cmpl %ebx, %edi
cmovgel %edi, %r9d
movzbl %r12b, %edi
movl $0x3, %esi
cmovgel %esi, %edi
movb %dil, 0x1(%r10)
movl %ebx, (%r14)
movl %r9d, (%r8)
cmpq %r13, %rdx
je 0x8d33
movq 0xa8(%rsp), %rsi
leaq (%r10,%rsi), %r15
movl $0xfffffff2, %edi       # imm = 0xFFFFFFF2
xorl %ebx, %ebx
movl %r9d, %r12d
leal -0x6(%rax), %r13d
addl $0x4, %eax
cmpb %r11b, (%rdx,%rbx)
movl %eax, %r9d
cmovnel %r13d, %r9d
addl $-0xe, %r12d
addl $-0x3, %edi
cmpl %edi, %r12d
cmovgl %r12d, %edi
cmpb $0x2, 0x1(%r10,%rbx)
cmovnel %r12d, %edi
movl 0x4(%r8,%rbx,4), %eax
leal -0xe(%rax), %r13d
cmpb $0x1, (%r15,%rbx)
jne 0x8ce6
movl 0x4(%r14,%rbx,4), %r12d
addl $-0x3, %r12d
cmpl %r12d, %r13d
cmovlel %r12d, %r13d
cmpl %edi, %r9d
jl 0x8cf3
movb $0x3, %r12b
cmpl %r13d, %r9d
jge 0x8d07
cmpl %r13d, %edi
setl %sil
movl %r13d, %r9d
cmovgl %edi, %r9d
movb $0x2, %r12b
subb %sil, %r12b
movb %r12b, 0x2(%r10,%rbx)
movl %r13d, 0x4(%r14,%rbx,4)
movl %r9d, 0x4(%r8,%rbx,4)
leaq 0x1(%rdx,%rbx), %rsi
incq %rbx
movq 0x8(%rsp), %r13
cmpq %r13, %rsi
jne 0x8c99
leaq 0x2(%r10,%rbx), %r10
jmp 0x8d37
addq $0x2, %r10
cmpl %ecx, %r9d
cmovgl %r9d, %ecx
cmovgq %r10, %rbp
movq 0x28(%rsp), %rax
incq %rax
cmpq 0x20(%rsp), %rax
jne 0x8c08
decq %rbp
movq 0x10(%rsp), %r12
movq %rbp, 0xd0(%r12)
movq 0xd8(%r12), %rax
cmpq %rax, 0xe0(%r12)
je 0x8d7f
movq %rax, 0xe0(%r12)
movq $-0x2, %rsi
movq 0x38(%rsp), %rdx
subq %rdx, %rsi
notq %rdx
xorl %r14d, %r14d
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
addq $-0x7, %rcx
movq %rsi, 0x8(%rsp)
movq %rcx, 0x20(%rsp)
movq %rdx, 0x38(%rsp)
movzbl (%rbp), %r13d
movq %rdx, %rax
cmpl $0x1, %r13d
je 0x8dd8
movq %rsi, %rax
cmpl $0x3, %r13d
je 0x8dd8
testl %r13d, %r13d
je 0x8f01
movq $-0x1, %rax
leaq (%rbp,%rax), %r15
incl %r14d
cmpb (%rbp,%rax), %r13b
movq %r15, %rbp
je 0x8db1
movq 0xe0(%r12), %rbx
cmpq 0xe8(%r12), %rbx
je 0x8e17
movb %r13b, (%rbx)
movl %r14d, 0x4(%rbx)
addq $0x8, %rbx
movq %rbx, 0xe0(%r12)
xorl %r14d, %r14d
movq %r15, %rbp
jmp 0x8db1
movq 0xd8(%r12), %rdi
movq %rbx, %r12
subq %rdi, %r12
cmpq %rcx, %r12
je 0x9356
sarq $0x3, %r12
cmpq %rdi, %rbx
movq %r12, %rax
movl $0x1, %ecx
cmoveq %rcx, %rax
leaq (%rax,%r12), %rbp
movabsq $0xfffffffffffffff, %rcx # imm = 0xFFFFFFFFFFFFFFF
cmpq %rcx, %rbp
cmovaeq %rcx, %rbp
addq %r12, %rax
cmovbq %rcx, %rbp
testq %rbp, %rbp
je 0x8e83
movq %rdi, 0x28(%rsp)
leaq (,%rbp,8), %rdi
vzeroupper
callq 0x31f0
movq 0x28(%rsp), %rdi
movq 0x8(%rsp), %rsi
jmp 0x8e85
xorl %eax, %eax
movb %r13b, (%rax,%r12,8)
movl %r14d, 0x4(%rax,%r12,8)
movq %rax, %r14
cmpq %rdi, %rbx
je 0x8eaf
movq %rax, %r14
movq %rdi, %rdx
movq (%rdx), %rcx
movq %rcx, (%r14)
addq $0x8, %rdx
addq $0x8, %r14
cmpq %rbx, %rdx
jne 0x8e9c
testq %rdi, %rdi
movq 0x10(%rsp), %r12
je 0x8ecc
movq %rax, %rbx
vzeroupper
callq 0x31c0
movq %rbx, %rax
movq 0x8(%rsp), %rsi
addq $0x8, %r14
movq %rax, 0xd8(%r12)
movq %r14, 0xe0(%r12)
leaq (%rax,%rbp,8), %rax
movq %rax, 0xe8(%r12)
xorl %r14d, %r14d
movq %r15, %rbp
movq 0x20(%rsp), %rcx
movq 0x38(%rsp), %rdx
jmp 0x8db1
movq 0xd8(%r12), %rax
movq 0xe0(%r12), %rcx
cmpq %rcx, %rax
setne %dl
addq $-0x8, %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x8f4d
addq $0x8, %rax
movq -0x8(%rax), %rdx
movq (%rcx), %rsi
movq %rsi, -0x8(%rax)
movq %rdx, (%rcx)
addq $-0x8, %rcx
leaq 0x8(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x8f2f
movq 0xd8(%r12), %rbx
cmpb $0x1, (%rbx)
movq 0x30(%rsp), %r13
movq 0x50(%rsp), %rbp
movq 0x40(%rsp), %rdx
movq 0x18(%rsp), %rcx
jne 0x8f80
movl 0x4(%rbx), %eax
addq %rax, %rdx
addq %rax, %rcx
movq %rcx, 0x18(%rsp)
addq $0x8, %rbx
movq (%r12), %rsi
movzbl 0x8(%r12), %ecx
leaq 0xb0(%rsp), %rdi
vzeroupper
callq 0x9550
vpxor %xmm0, %xmm0, %xmm0
vmovdqa %xmm0, 0x80(%rsp)
movq $0x0, 0x90(%rsp)
movq 0xe0(%r12), %rax
movq %rax, 0x8(%rsp)
cmpq %rax, %rbx
movq 0x18(%rsp), %r15
je 0x92c5
vpmovsxbq 0x3068(%rip), %zmm10 # 0xc040
vpmovsxbq 0x3066(%rip), %zmm11 # 0xc048
vpmovsxbq 0x3064(%rip), %zmm12 # 0xc050
vpmovsxbq 0x3062(%rip), %zmm13 # 0xc058
vpmovsxbq 0x3060(%rip), %zmm14 # 0xc060
vpmovsxbq 0x305e(%rip), %zmm15 # 0xc068
vpmovsxbq 0x305c(%rip), %zmm16 # 0xc070
vpmovsxbq 0x300a(%rip), %zmm17 # 0xc028
movzbl (%rbx), %eax
cmpq $0x3, %rax
ja 0x9266
movl 0x4(%rbx), %r14d
leaq 0x334a(%rip), %rcx      # 0xc380
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0xb0(%rsp), %rax
cmpq 0xc0(%rsp), %rax
jb 0x909b
movb 0x8(%r12), %al
cmpb %al, -0x1(%rbp)
jb 0x909b
cmpb %al, (%rbp)
jb 0x909b
movl $0x2, 0x68(%rsp)
movq 0xd8(%rsp), %rax
subq 0xd0(%rsp), %rax
sarq $0x2, %rax
movq %rax, 0x70(%rsp)
movl %r14d, 0x78(%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x68(%rsp), %rsi
vzeroupper
callq 0x9716
testl %r14d, %r14d
je 0x9266
movzbl (%r15), %esi
leaq 0xb0(%rsp), %rdi
movl $0x4, %edx
xorl %ecx, %ecx
vzeroupper
callq 0x961e
incq %r15
decl %r14d
jne 0x90a4
jmp 0x9266
testl %r14d, %r14d
je 0x9209
leal -0x1(%r14), %eax
leaq 0x1(%rbp), %rcx
leaq 0x3f(%r14), %rdx
andq $-0x40, %rdx
leaq -0x1(%r14), %rsi
vpbroadcastq %rsi, %zmm0
vpbroadcastb 0x8(%r12), %zmm1
kxorq %k0, %k0, %k1
xorl %esi, %esi
kmovq %k1, %k0
vpbroadcastq %rsi, %zmm2
vporq %zmm10, %zmm2, %zmm3
vporq %zmm11, %zmm2, %zmm4
vporq %zmm12, %zmm2, %zmm5
vporq %zmm13, %zmm2, %zmm6
vporq %zmm14, %zmm2, %zmm7
vporq %zmm15, %zmm2, %zmm8
vporq %zmm16, %zmm2, %zmm9
vporq %zmm17, %zmm2, %zmm2
vpcmpleuq %zmm0, %zmm2, %k1
vpcmpleuq %zmm0, %zmm9, %k2
kunpckbw %k1, %k2, %k1
vpcmpleuq %zmm0, %zmm8, %k2
vpcmpleuq %zmm0, %zmm7, %k3
kunpckbw %k2, %k3, %k2
kunpckwd %k1, %k2, %k1
vpcmpleuq %zmm0, %zmm6, %k2
vpcmpleuq %zmm0, %zmm5, %k3
kunpckbw %k2, %k3, %k2
vpcmpleuq %zmm0, %zmm4, %k3
vpcmpleuq %zmm0, %zmm3, %k4
kunpckbw %k3, %k4, %k3
kunpckwd %k2, %k3, %k2
kunpckdq %k1, %k2, %k2
vmovdqu8 (%rbp,%rsi), %zmm2 {%k2} {z}
vpcmpltub %zmm1, %zmm2, %k1
korq %k1, %k0, %k1
addq $0x40, %rsi
cmpq %rsi, %rdx
jne 0x90fe
kandnq %k0, %k2, %k0
kandq %k2, %k1, %k1
korq %k0, %k1, %k0
kortestq %k0, %k0
setne %dl
leaq 0x1(%r13,%rax), %r13
addq %rax, %rcx
movq %rcx, %rbp
jmp 0x920b
testl %r14d, %r14d
je 0x9266
movzbl (%r15), %esi
movzbl (%r13), %edx
movzbl (%rbp), %ecx
leaq 0xb0(%rsp), %rdi
vzeroupper
callq 0x961e
incq %r15
incq %r13
incq %rbp
decl %r14d
jne 0x91dc
jmp 0x9266
xorl %edx, %edx
testb %dl, %dl
jne 0x9266
movq 0xb0(%rsp), %rax
cmpq 0xc0(%rsp), %rax
jb 0x9266
movq %r15, 0x18(%rsp)
movl $0x1, 0x68(%rsp)
movq 0xd8(%rsp), %rax
subq 0xd0(%rsp), %rax
sarq $0x2, %rax
movq %rax, 0x70(%rsp)
movl %r14d, 0x78(%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x68(%rsp), %rsi
vzeroupper
callq 0x9716
movq 0x18(%rsp), %r15
addq $0x8, %rbx
cmpq 0x8(%rsp), %rbx
vpmovsxbq 0x2dc7(%rip), %zmm10 # 0xc040
vpmovsxbq 0x2dc5(%rip), %zmm11 # 0xc048
vpmovsxbq 0x2dc3(%rip), %zmm12 # 0xc050
vpmovsxbq 0x2dc1(%rip), %zmm13 # 0xc058
vpmovsxbq 0x2dbf(%rip), %zmm14 # 0xc060
vpmovsxbq 0x2dbd(%rip), %zmm15 # 0xc068
vpmovsxbq 0x2dbb(%rip), %zmm16 # 0xc070
vpmovsxbq 0x2d69(%rip), %zmm17 # 0xc028
jne 0x901e
leaq 0x110(%rsp), %rsi
movq -0x10(%rsi), %rax
movq 0xa0(%rsp), %r15
movq %rax, (%r15)
movq -0x38(%rsi), %rax
subq -0x40(%rsi), %rax
sarq $0x2, %rax
movq %rax, 0x8(%r15)
movq -0x8(%rsi), %rax
movq %rax, 0x10(%r15)
leaq 0x18(%r15), %r14
movq %r14, %rdi
vzeroupper
callq 0x988e
movq 0x20(%r15), %rsi
movq 0x80(%rsp), %rbx
movq 0x88(%rsp), %rcx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x9908
testq %rbx, %rbx
je 0x932f
movq %rbx, %rdi
callq 0x31c0
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x9341
callq 0x31c0
movq %r15, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3714(%rip), %rdi      # 0xca71
vzeroupper
callq 0x3100
movq 0x7c84(%rip), %rdi      # 0x10ff0
leaq 0x3a2a(%rip), %rsi      # 0xcd9d
movl $0x1d, %edx
vzeroupper
callq 0x3210
movq 0x7c69(%rip), %rdi      # 0x10ff0
callq 0x30f0
movl $0x1, %edi
callq 0x3220
leaq 0x37fe(%rip), %rdi      # 0xcb9b
callq 0x3100
jmp 0x93be
movq %rax, %rbx
movq (%r14), %rdi
testq %rdi, %rdi
je 0x93c1
callq 0x31c0
jmp 0x93c1
jmp 0x93be
jmp 0x93be
jmp 0x93be
jmp 0x93be
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x93d3
callq 0x31c0
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x93e5
callq 0x31c0
movq %rbx, %rdi
callq 0x33a0
nop