// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/ecovlp.cpp
// Function: gen_ori_seq0(char*, unsigned long, UC_Read*, asg16_v*, unsigned long)
void gen_ori_seq0(char *tstr, uint64_t tl, UC_Read *qu, asg16_v *sc, uint64_t rid)
{
    uint64_t ck, qk, tk, k, wq[2], wt[2]; uint32_t len; uint16_t c, bq, bt; char *qstr = NULL;
    
    ck = qk = tk = 0;
    while (ck < sc->n) {
        wq[0] = qk; wt[0] = tk;
        ck = pop_trace_bp_f(sc, ck, &c, &bq, &bt, &len);
        if(c != 2) qk += len;
        if(c != 3) tk += len;
        wq[1] = qk; wt[1] = tk;
    }
    if(!(tk == tl)) {
        fprintf(stderr, "[M::%s] rid::%lu, tk::%lu, tl::%lu\n", __func__, rid, tk, tl);
    }
    assert(tk == tl);

    resize_UC_Read(qu, qk); qstr = qu->seq; qu->length = qk;
    ck = qk = tk = 0;
    while (ck < sc->n) {
        wq[0] = qk; wt[0] = tk;
        ck = pop_trace_bp_f(sc, ck, &c, &bq, &bt, &len);
        if(c != 2) qk += len;
        if(c != 3) tk += len;
        wq[1] = qk; wt[1] = tk;

        if(c == 0) {
            memcpy(qstr + wq[0], tstr + wt[0], (wq[1]-wq[0])*sizeof((*qstr)));
        } else if(c == 1 || c == 3) {
            for (k = wq[0]; k < wq[1]; k++) qstr[k] = s_H[bq]; 
        }
        // fprintf(stderr, "%u%c(%c)(x::[%lu,%ld))(y::[%lu,%ld))\n", len, cm[c], ((c==1)||(c==2))?(cc[bt]):('*'), wx[0], wx[1], wy[0], wy[1]); // s_H
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, 0x8(%rsp)
movq %rcx, %rbx
movq %rdx, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movq %rdi, 0x20(%rsp)
movq (%rcx), %rax
testq %rax, %rax
je 0x18f87a
movq 0x10(%rbx), %rdi
xorl %r9d, %r9d
movw $0xffff, %r10w          # imm = 0xFFFF
xorl %esi, %esi
xorl %r13d, %r13d
xorl %r15d, %r15d
movzwl (%rdi,%r15,2), %edx
movl %edx, %ebp
shrl $0xe, %ebp
movw %r10w, 0x4(%rsp)
movw %r10w, 0x6(%rsp)
leal -0x2(%rbp), %ecx
cmpl $0x2, %ecx
jae 0x18f76b
movw $0xfff, %r8w            # imm = 0xFFF
movw $0xc, %cx
leaq 0x4(%rsp), %r11
jmp 0x18f78f
movw $0x3fff, %r8w           # imm = 0x3FFF
testl %ebp, %ebp
je 0x18f79e
movl %edx, %ecx
shrl $0xc, %ecx
andl $0x3, %ecx
movw %cx, 0x4(%rsp)
movw $0x3ff, %r8w            # imm = 0x3FF
movw $0xa, %cx
leaq 0x6(%rsp), %r11
movzwl %dx, %r14d
shrl %cl, %r14d
andl $0x3, %r14d
movw %r14w, (%r11)
movzwl %r8w, %ecx
andl %edx, %ecx
incl %r15d
cmpq %r15, %rax
jbe 0x18f83a
movzwl 0x6(%rsp), %edx
movzwl 0x4(%rsp), %r8d
movzwl (%rdi,%r15,2), %r14d
movl %r14d, %r11d
shrl $0xe, %r11d
cmpl %ebp, %r11d
jne 0x18f83a
movzwl %bp, %r11d
leal -0x2(%r11), %r12d
cmpl $0x2, %r12d
jae 0x18f7ee
movl %r14d, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
andl $0xfff, %r14d           # imm = 0xFFF
jmp 0x18f7ff
testl %r11d, %r11d
jne 0x18f807
andl $0x3fff, %r14d          # imm = 0x3FFF
movw $0xffff, %r12w          # imm = 0xFFFF
movl $0xffff, %r11d          # imm = 0xFFFF
jmp 0x18f824
movl %r14d, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
movl %r14d, %r11d
shrl $0xa, %r11d
andl $0x3, %r11d
andl $0x3ff, %r14d           # imm = 0x3FF
cmpl %edx, %r11d
jne 0x18f83a
cmpw %r12w, %r8w
jne 0x18f83a
addl %r14d, %ecx
incl %r15d
cmpq %r15, %rax
ja 0x18f7bb
cmpw $0x3, %bp
jne 0x18f851
movzwl 0x4(%rsp), %edx
movw %dx, 0x6(%rsp)
movw $0xffff, 0x4(%rsp)      # imm = 0xFFFF
cmpw $0x2, %bp
movl %ecx, %ecx
movq %rcx, %rdx
cmoveq %r9, %rdx
addq %rdx, %r13
cmpw $0x3, %bp
movl %r15d, %r15d
cmoveq %r9, %rcx
addq %rcx, %rsi
cmpq %r15, %rax
ja 0x18f73d
jmp 0x18f87f
xorl %r13d, %r13d
xorl %esi, %esi
movq 0x10(%rsp), %rdx
cmpq %rdx, %rsi
jne 0x18ffc8
movq 0x18(%rsp), %r14
movq (%r14), %rdi
cmpq %r13, 0x10(%r14)
jge 0x18f8b4
movq %r13, %rsi
callq 0x2370
movq %rax, 0x8(%rsp)
movq %rax, (%r14)
movq %r13, 0x10(%r14)
movq (%rbx), %rax
jmp 0x18f8b9
movq %rdi, 0x8(%rsp)
movq %r13, 0x8(%r14)
testq %rax, %rax
je 0x18ffb9
movq 0x8(%rsp), %rcx
addq $0xf, %rcx
movq %rcx, 0x10(%rsp)
xorl %esi, %esi
movdqa 0xa6401(%rip), %xmm8    # 0x235ce0
movdqa 0xa6408(%rip), %xmm9    # 0x235cf0
movdqa 0xa640f(%rip), %xmm10   # 0x235d00
movdqa 0xa6416(%rip), %xmm11   # 0x235d10
movdqa 0xa199d(%rip), %xmm12   # 0x2312a0
movdqa 0xa19a4(%rip), %xmm13   # 0x2312b0
movdqa 0xa19ab(%rip), %xmm14   # 0x2312c0
movdqa 0xa19b2(%rip), %xmm15   # 0x2312d0
xorl %edi, %edi
xorl %r14d, %r14d
movq 0x10(%rbx), %rdx
movl %r14d, %ecx
movzwl (%rdx,%rcx,2), %r8d
movl %r8d, %r10d
shrl $0xe, %r10d
movw $0xffff, %cx            # imm = 0xFFFF
movw %cx, 0x4(%rsp)
movw %cx, 0x6(%rsp)
leal -0x2(%r10), %ecx
movzwl %r8w, %r9d
cmpl $0x2, %ecx
jae 0x18f961
movw $0xfff, %r11w           # imm = 0xFFF
movw $0xc, %cx
leaq 0x4(%rsp), %r15
jmp 0x18f987
movw $0x3fff, %r11w          # imm = 0x3FFF
testl %r10d, %r10d
je 0x18f993
movl %r8d, %ecx
shrl $0xc, %ecx
andl $0x3, %ecx
movw %cx, 0x4(%rsp)
movw $0x3ff, %r11w           # imm = 0x3FF
movw $0xa, %cx
leaq 0x6(%rsp), %r15
movl %r9d, %ebp
shrl %cl, %ebp
andl $0x3, %ebp
movw %bp, (%r15)
movzwl %r11w, %ecx
andl %r8d, %ecx
incl %r14d
cmpq %r14, %rax
jbe 0x18fa2d
movzwl 0x6(%rsp), %r11d
movzwl 0x4(%rsp), %r13d
movzwl (%rdx,%r14,2), %r15d
movl %r15d, %ebp
shrl $0xe, %ebp
cmpl %r10d, %ebp
jne 0x18fa2d
movzwl %r10w, %r12d
leal -0x2(%r12), %ebp
cmpl $0x2, %ebp
jae 0x18f9e4
movl %r15d, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
andl $0xfff, %r15d           # imm = 0xFFF
jmp 0x18f9f5
testl %r12d, %r12d
jne 0x18f9fc
andl $0x3fff, %r15d          # imm = 0x3FFF
movw $0xffff, %r12w          # imm = 0xFFFF
movl $0xffff, %ebp           # imm = 0xFFFF
jmp 0x18fa17
movl %r15d, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
movl %r15d, %ebp
shrl $0xa, %ebp
andl $0x3, %ebp
andl $0x3ff, %r15d           # imm = 0x3FF
cmpl %r11d, %ebp
jne 0x18fa2d
cmpw %r12w, %r13w
jne 0x18fa2d
addl %r15d, %ecx
incl %r14d
cmpq %r14, %rax
ja 0x18f9b2
movl %r14d, %r14d
movl %ecx, %edx
cmpw $0x3, %r10w
jne 0x18fa52
movzwl 0x4(%rsp), %eax
movw %ax, 0x6(%rsp)
movw $0xffff, 0x4(%rsp)      # imm = 0xFFFF
addq %rdi, %rdx
movq %rdx, %r13
jmp 0x18fad0
cmpw $0x2, %r10w
movl $0x0, %r13d
cmovneq %rdx, %r13
addq %rdi, %r13
leaq (%rsi,%rdx), %r15
cmpl $0x3fff, %r9d           # imm = 0x3FFF
ja 0x18facd
addq 0x8(%rsp), %rdi
addq 0x20(%rsp), %rsi
callq 0x2160
movdqa 0xa1847(%rip), %xmm15   # 0x2312d0
movdqa 0xa182e(%rip), %xmm14   # 0x2312c0
movdqa 0xa1815(%rip), %xmm13   # 0x2312b0
movdqa 0xa17fc(%rip), %xmm12   # 0x2312a0
movdqa 0xa6263(%rip), %xmm11   # 0x235d10
movdqa 0xa624a(%rip), %xmm10   # 0x235d00
movdqa 0xa6231(%rip), %xmm9    # 0x235cf0
movdqa 0xa6218(%rip), %xmm8    # 0x235ce0
jmp 0x18ffa7
movq %r15, %rsi
btl $0xe, %r8d
jae 0x18ffa4
movq %r13, %rdx
subq %rdi, %rdx
jbe 0x18ffa4
movzwl 0x6(%rsp), %eax
leaq 0x105c3d(%rip), %rcx    # 0x295730
movb (%rcx,%rax), %al
leaq 0xf(%rdx), %rcx
andq $-0x10, %rcx
decq %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
addq 0x10(%rsp), %rdi
xorl %edx, %edx
movq %rdx, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
movdqa %xmm1, %xmm3
por %xmm15, %xmm3
movdqa %xmm0, %xmm2
movdqa 0xa17af(%rip), %xmm4    # 0x2312e0
pxor %xmm4, %xmm2
pxor %xmm4, %xmm3
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pcmpeqd %xmm7, %xmm7
pxor %xmm7, %xmm6
packssdw %xmm6, %xmm6
movd %xmm6, %r8d
testb $0x1, %r8b
je 0x18fb86
movb %al, -0xf(%rdi,%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm7, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
movd %xmm3, %r8d
shrl $0x8, %r8d
testb $0x1, %r8b
je 0x18fbb1
movb %al, -0xe(%rdi,%rdx)
movdqa %xmm1, %xmm4
por %xmm14, %xmm4
pxor 0xa171e(%rip), %xmm4    # 0x2312e0
movdqa %xmm4, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm3     # xmm3 = xmm5[0,0,2,2]
pcmpeqd %xmm2, %xmm4
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
movdqa %xmm4, %xmm6
pand %xmm3, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
por %xmm5, %xmm6
packssdw %xmm6, %xmm6
pxor %xmm7, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
movd %xmm6, %r8d
shrl $0x10, %r8d
testb $0x1, %r8b
je 0x18fc0c
movb %al, -0xd(%rdi,%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm4     # xmm4 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm4
pshufhw $0x84, %xmm5, %xmm3     # xmm3 = xmm5[0,1,2,3,4,5,4,6]
por %xmm4, %xmm3
pxor %xmm7, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
movd %xmm3, %r8d
shrl $0x18, %r8d
testb $0x1, %r8b
je 0x18fc42
movb %al, -0xc(%rdi,%rdx)
movdqa %xmm1, %xmm3
por %xmm13, %xmm3
pxor 0xa168d(%rip), %xmm3    # 0x2312e0
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pcmpeqd %xmm7, %xmm7
pxor %xmm7, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x2, %xmm6, %r8d
testb $0x1, %r8b
je 0x18fca5
movb %al, -0xb(%rdi,%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm7, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x2, %xmm3, %r8d
shrl $0x8, %r8d
testb $0x1, %r8b
je 0x18fcd1
movb %al, -0xa(%rdi,%rdx)
movdqa %xmm1, %xmm4
por %xmm12, %xmm4
pxor 0xa15fe(%rip), %xmm4    # 0x2312e0
movdqa %xmm4, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm3     # xmm3 = xmm5[0,0,2,2]
pcmpeqd %xmm2, %xmm4
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
movdqa %xmm4, %xmm6
pand %xmm3, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
por %xmm5, %xmm6
packssdw %xmm6, %xmm6
pxor %xmm7, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x3, %xmm6, %r8d
testb $0x1, %r8b
je 0x18fd29
movb %al, -0x9(%rdi,%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm4     # xmm4 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm4
pshufhw $0x84, %xmm5, %xmm3     # xmm3 = xmm5[0,1,2,3,4,5,4,6]
por %xmm4, %xmm3
pxor %xmm7, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x3, %xmm3, %r8d
shrl $0x8, %r8d
testb $0x1, %r8b
je 0x18fd60
movb %al, -0x8(%rdi,%rdx)
movdqa %xmm1, %xmm3
por %xmm11, %xmm3
pxor 0xa156f(%rip), %xmm3    # 0x2312e0
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pcmpeqd %xmm7, %xmm7
pxor %xmm7, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x4, %xmm6, %r8d
testb $0x1, %r8b
je 0x18fdc3
movb %al, -0x7(%rdi,%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm7, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x4, %xmm3, %r8d
shrl $0x8, %r8d
testb $0x1, %r8b
je 0x18fdef
movb %al, -0x6(%rdi,%rdx)
movdqa %xmm1, %xmm4
por %xmm10, %xmm4
pxor 0xa14e0(%rip), %xmm4    # 0x2312e0
movdqa %xmm4, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm3     # xmm3 = xmm5[0,0,2,2]
pcmpeqd %xmm2, %xmm4
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
movdqa %xmm4, %xmm6
pand %xmm3, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
por %xmm5, %xmm6
packssdw %xmm6, %xmm6
pxor %xmm7, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x5, %xmm6, %r8d
testb $0x1, %r8b
je 0x18fe47
movb %al, -0x5(%rdi,%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm4     # xmm4 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm4
pshufhw $0x84, %xmm5, %xmm3     # xmm3 = xmm5[0,1,2,3,4,5,4,6]
por %xmm4, %xmm3
pxor %xmm7, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x5, %xmm3, %r8d
shrl $0x8, %r8d
testb $0x1, %r8b
je 0x18fe7e
movb %al, -0x4(%rdi,%rdx)
movdqa %xmm1, %xmm3
por %xmm9, %xmm3
pxor 0xa1451(%rip), %xmm3    # 0x2312e0
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pcmpeqd %xmm7, %xmm7
pxor %xmm7, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x6, %xmm6, %r8d
testb $0x1, %r8b
je 0x18fee1
movb %al, -0x3(%rdi,%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm7, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x6, %xmm3, %r8d
shrl $0x8, %r8d
testb $0x1, %r8b
je 0x18ff0d
movb %al, -0x2(%rdi,%rdx)
por %xmm8, %xmm1
pxor 0xa13c6(%rip), %xmm1    # 0x2312e0
movdqa %xmm1, %xmm4
pcmpgtd %xmm2, %xmm4
pshufd $0xa0, %xmm4, %xmm3     # xmm3 = xmm4[0,0,2,2]
pcmpeqd %xmm2, %xmm1
pshufd $0xf5, %xmm1, %xmm1     # xmm1 = xmm1[1,1,3,3]
movdqa %xmm1, %xmm5
pand %xmm3, %xmm5
pshufd $0xf5, %xmm4, %xmm2     # xmm2 = xmm4[1,1,3,3]
por %xmm2, %xmm5
packssdw %xmm5, %xmm4
pxor %xmm7, %xmm4
packssdw %xmm4, %xmm4
packsswb %xmm4, %xmm4
pextrw $0x7, %xmm4, %r8d
testb $0x1, %r8b
je 0x18ff61
movb %al, -0x1(%rdi,%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm1, %xmm1     # xmm1 = xmm1[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm1
pshufhw $0x84, %xmm2, %xmm2     # xmm2 = xmm2[0,1,2,3,4,5,4,6]
por %xmm1, %xmm2
pxor %xmm7, %xmm2
packssdw %xmm2, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x7, %xmm1, %r8d
shrl $0x8, %r8d
testb $0x1, %r8b
je 0x18ff97
movb %al, (%rdi,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0x18fb12
movq %rsi, %r15
movq (%rbx), %rax
movq %r15, %rsi
movq %r13, %rdi
cmpq %rax, %r14
jb 0x18f923
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rdi
callq 0x22b46