// File: /workspace/github_cpp_makefile_star2_O1/BGI-Qingdao[P]metaSLR/./kmer/kmer.h
// Function: Kmer::chopRead2Kmer(std::vector<char, std::allocator<char>> const&)
static std::vector<Kmer> chopRead2Kmer( const std::vector<char> & read ){
        int rlen = read.size() ;
        assert(rlen >= overlap);
        std::vector<Kmer>  ret;
        Kmer word; word.Init();
        std::vector<char> bal_read = BaseStr::reverseComplementSeq(read);
        for (int index = 0; index < overlap; index++ )
        {
            word.LeftBitMoveBy2();
            word.low |= read.at(index);
        }
        Kmer bal_word = word.reverseComplement();
        if( word < bal_word ) 
            ret.push_back(word) ;
        else
            ret.push_back(bal_word);
        for( int index = 1 ; index <= rlen - overlap ; index ++ ){
            word.nextKmer (read.at(index - 1 + overlap));
            bal_word.prevKmer( bal_read[rlen - index - overlap] );
            if( word < bal_word ) 
                ret.push_back(word) ;
            else
                ret.push_back(bal_word);
        }
        return ret;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq (%rsi), %r12
movq 0x8(%rsi), %r15
movl %r15d, %r13d
subl %r12d, %r13d
cmpl %r13d, 0x855b(%rip)     # 0xe304
jg 0x5fd8
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movaps %xmm0, -0x40(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x86fa
movslq 0x852d(%rip), %rax      # 0xe304
testq %rax, %rax
jle 0x5e1e
movq -0x40(%rbp), %rcx
movq -0x38(%rbp), %rdi
movq (%r14), %r8
movq 0x8(%r14), %rdx
subq %r8, %rdx
xorl %esi, %esi
shldq $0x2, %rdi, %rcx
movq %rcx, -0x40(%rbp)
shlq $0x2, %rdi
movq %rdi, -0x38(%rbp)
cmpq %rsi, %rdx
je 0x5fbc
movsbq (%r8,%rsi), %r9
orq %r9, %rdi
movq %rdi, -0x38(%rbp)
incq %rsi
cmpq %rsi, %rax
jne 0x5df0
movsbl %al, %esi
leaq -0x40(%rbp), %rdi
callq 0x623c
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x40(%rbp), %rcx
cmpq %rax, %rcx
jb 0x5e46
cmpq %rax, %rcx
jne 0x5e60
cmpq %rdx, -0x38(%rbp)
jae 0x5e60
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x5e5a
leaq 0x8(%rbx), %rax
movaps -0x40(%rbp), %xmm0
jmp 0x5e72
leaq -0x40(%rbp), %rdx
jmp 0x5e7f
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x5e7b
leaq 0x8(%rbx), %rax
movups -0x50(%rbp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, (%rax)
jmp 0x5e87
leaq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x87aa
movl 0x8477(%rip), %ecx      # 0xe304
cmpl %r13d, %ecx
jge 0x5f9c
notl %r12d
addl %r15d, %r12d
xorl %r15d, %r15d
leal (%rcx,%r15), %eax
movslq %eax, %rsi
movq (%r14), %rax
movq 0x8(%r14), %rdx
subq %rax, %rdx
cmpq %rsi, %rdx
jbe 0x5fca
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rdx
shldq $0x2, %rdx, %rdi
movsbq (%rax,%rsi), %rax
shlq $0x2, %rdx
andq 0x8432(%rip), %rdi      # 0xe308
movq %rdi, -0x40(%rbp)
andq 0x842f(%rip), %rdx      # 0xe310
orq %rax, %rdx
movq %rdx, -0x38(%rbp)
movl %r12d, %eax
subl %ecx, %eax
cltq
movq -0x68(%rbp), %rsi
movsbq (%rsi,%rax), %rsi
movq -0x50(%rbp), %r9
movq -0x48(%rbp), %r8
shrdq $0x2, %r9, %r8
shrq $0x2, %r9
movq %r9, -0x50(%rbp)
movq %r8, -0x48(%rbp)
leal -0x2(,%rcx,2), %eax
cmpl $0x3f, %eax
jg 0x5f2b
movl %eax, %ecx
shlq %cl, %rsi
orq %rsi, %r8
movq %r8, -0x48(%rbp)
jmp 0x5f3a
addl %ecx, %ecx
addb $-0x42, %cl
shlq %cl, %rsi
orq %r9, %rsi
movq %rsi, -0x50(%rbp)
cmpq -0x50(%rbp), %rdi
jb 0x5f48
jne 0x5f5e
cmpq -0x48(%rbp), %rdx
jae 0x5f5e
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x5f58
movaps -0x40(%rbp), %xmm0
jmp 0x5f6c
leaq -0x40(%rbp), %rdx
jmp 0x5f7a
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x5f76
movups -0x50(%rbp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x8(%rbx)
jmp 0x5f82
leaq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x87aa
movl 0x837c(%rip), %ecx      # 0xe304
movl %r13d, %eax
subl %ecx, %eax
incl %r15d
decl %r12d
cmpl %eax, %r15d
jl 0x5e9f
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x5faa
callq 0x3230
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x454c(%rip), %rdi      # 0xa50f
xorl %eax, %eax
callq 0x3350
leaq 0x453e(%rip), %rdi      # 0xa50f
xorl %eax, %eax
callq 0x3350
leaq 0x45de(%rip), %rdi      # 0xa5bd
leaq 0x44e5(%rip), %rsi      # 0xa4cb
leaq 0x45e0(%rip), %rcx      # 0xa5cd
movl $0xab, %edx
callq 0x3180
movq %rax, %r14
jmp 0x6013
jmp 0x6002
jmp 0x6002
jmp 0x6002
movq %rax, %r14
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x6013
callq 0x3230
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x6020
callq 0x3230
movq %r14, %rdi
callq 0x3400