// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_diag_sse2_128_16.c
// Function: arr_store_rowcol
static inline void arr_store_rowcol(
        int *row,
        int *col,
        __m128i vWH,
        int32_t i,
        int32_t s1Len,
        int32_t j,
        int32_t s2Len)
{
    if (i+0 == s1Len-1 && 0 <= j-0 && j-0 < s2Len) {
        row[j-0] = (int16_t)_mm_extract_epi16(vWH, 7);
    }
    if (j-0 == s2Len-1 && 0 <= i+0 && i+0 < s1Len) {
        col[(i+0)] = (int16_t)_mm_extract_epi16(vWH, 7);
    }
    if (i+1 == s1Len-1 && 0 <= j-1 && j-1 < s2Len) {
        row[j-1] = (int16_t)_mm_extract_epi16(vWH, 6);
    }
    if (j-1 == s2Len-1 && 0 <= i+1 && i+1 < s1Len) {
        col[(i+1)] = (int16_t)_mm_extract_epi16(vWH, 6);
    }
    if (i+2 == s1Len-1 && 0 <= j-2 && j-2 < s2Len) {
        row[j-2] = (int16_t)_mm_extract_epi16(vWH, 5);
    }
    if (j-2 == s2Len-1 && 0 <= i+2 && i+2 < s1Len) {
        col[(i+2)] = (int16_t)_mm_extract_epi16(vWH, 5);
    }
    if (i+3 == s1Len-1 && 0 <= j-3 && j-3 < s2Len) {
        row[j-3] = (int16_t)_mm_extract_epi16(vWH, 4);
    }
    if (j-3 == s2Len-1 && 0 <= i+3 && i+3 < s1Len) {
        col[(i+3)] = (int16_t)_mm_extract_epi16(vWH, 4);
    }
    if (i+4 == s1Len-1 && 0 <= j-4 && j-4 < s2Len) {
        row[j-4] = (int16_t)_mm_extract_epi16(vWH, 3);
    }
    if (j-4 == s2Len-1 && 0 <= i+4 && i+4 < s1Len) {
        col[(i+4)] = (int16_t)_mm_extract_epi16(vWH, 3);
    }
    if (i+5 == s1Len-1 && 0 <= j-5 && j-5 < s2Len) {
        row[j-5] = (int16_t)_mm_extract_epi16(vWH, 2);
    }
    if (j-5 == s2Len-1 && 0 <= i+5 && i+5 < s1Len) {
        col[(i+5)] = (int16_t)_mm_extract_epi16(vWH, 2);
    }
    if (i+6 == s1Len-1 && 0 <= j-6 && j-6 < s2Len) {
        row[j-6] = (int16_t)_mm_extract_epi16(vWH, 1);
    }
    if (j-6 == s2Len-1 && 0 <= i+6 && i+6 < s1Len) {
        col[(i+6)] = (int16_t)_mm_extract_epi16(vWH, 1);
    }
    if (i+7 == s1Len-1 && 0 <= j-7 && j-7 < s2Len) {
        row[j-7] = (int16_t)_mm_extract_epi16(vWH, 0);
    }
    if (j-7 == s2Len-1 && 0 <= i+7 && i+7 < s1Len) {
        col[(i+7)] = (int16_t)_mm_extract_epi16(vWH, 0);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movdqa %xmm0, -0x20(%rbp)
movl %edx, -0x24(%rbp)
movl %ecx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movl %r9d, -0x30(%rbp)
movl -0x24(%rbp), %eax
addl $0x0, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47dca5
movl -0x2c(%rbp), %ecx
subl $0x0, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47dca5
movl -0x2c(%rbp), %eax
subl $0x0, %eax
cmpl -0x30(%rbp), %eax
jge 0x47dca5
movaps -0x20(%rbp), %xmm0
pextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x0, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x0, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47dceb
movl -0x24(%rbp), %ecx
addl $0x0, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47dceb
movl -0x24(%rbp), %eax
addl $0x0, %eax
cmpl -0x28(%rbp), %eax
jge 0x47dceb
movaps -0x20(%rbp), %xmm0
pextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47dd31
movl -0x2c(%rbp), %ecx
subl $0x1, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47dd31
movl -0x2c(%rbp), %eax
subl $0x1, %eax
cmpl -0x30(%rbp), %eax
jge 0x47dd31
movaps -0x20(%rbp), %xmm0
pextrw $0x6, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x1, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47dd77
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47dd77
movl -0x24(%rbp), %eax
addl $0x1, %eax
cmpl -0x28(%rbp), %eax
jge 0x47dd77
movaps -0x20(%rbp), %xmm0
pextrw $0x6, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x2, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47ddbd
movl -0x2c(%rbp), %ecx
subl $0x2, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47ddbd
movl -0x2c(%rbp), %eax
subl $0x2, %eax
cmpl -0x30(%rbp), %eax
jge 0x47ddbd
movaps -0x20(%rbp), %xmm0
pextrw $0x5, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x2, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47de03
movl -0x24(%rbp), %ecx
addl $0x2, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47de03
movl -0x24(%rbp), %eax
addl $0x2, %eax
cmpl -0x28(%rbp), %eax
jge 0x47de03
movaps -0x20(%rbp), %xmm0
pextrw $0x5, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x2, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x3, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47de49
movl -0x2c(%rbp), %ecx
subl $0x3, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47de49
movl -0x2c(%rbp), %eax
subl $0x3, %eax
cmpl -0x30(%rbp), %eax
jge 0x47de49
movaps -0x20(%rbp), %xmm0
pextrw $0x4, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x3, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47de8f
movl -0x24(%rbp), %ecx
addl $0x3, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47de8f
movl -0x24(%rbp), %eax
addl $0x3, %eax
cmpl -0x28(%rbp), %eax
jge 0x47de8f
movaps -0x20(%rbp), %xmm0
pextrw $0x4, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x3, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x4, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47ded5
movl -0x2c(%rbp), %ecx
subl $0x4, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47ded5
movl -0x2c(%rbp), %eax
subl $0x4, %eax
cmpl -0x30(%rbp), %eax
jge 0x47ded5
movaps -0x20(%rbp), %xmm0
pextrw $0x3, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x4, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x4, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47df1b
movl -0x24(%rbp), %ecx
addl $0x4, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47df1b
movl -0x24(%rbp), %eax
addl $0x4, %eax
cmpl -0x28(%rbp), %eax
jge 0x47df1b
movaps -0x20(%rbp), %xmm0
pextrw $0x3, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x4, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x5, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47df61
movl -0x2c(%rbp), %ecx
subl $0x5, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47df61
movl -0x2c(%rbp), %eax
subl $0x5, %eax
cmpl -0x30(%rbp), %eax
jge 0x47df61
movaps -0x20(%rbp), %xmm0
pextrw $0x2, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x5, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x5, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47dfa7
movl -0x24(%rbp), %ecx
addl $0x5, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47dfa7
movl -0x24(%rbp), %eax
addl $0x5, %eax
cmpl -0x28(%rbp), %eax
jge 0x47dfa7
movaps -0x20(%rbp), %xmm0
pextrw $0x2, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x5, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x6, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47dfed
movl -0x2c(%rbp), %ecx
subl $0x6, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47dfed
movl -0x2c(%rbp), %eax
subl $0x6, %eax
cmpl -0x30(%rbp), %eax
jge 0x47dfed
movaps -0x20(%rbp), %xmm0
pextrw $0x1, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x6, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x6, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47e033
movl -0x24(%rbp), %ecx
addl $0x6, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47e033
movl -0x24(%rbp), %eax
addl $0x6, %eax
cmpl -0x28(%rbp), %eax
jge 0x47e033
movaps -0x20(%rbp), %xmm0
pextrw $0x1, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x6, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x24(%rbp), %eax
addl $0x7, %eax
movl -0x28(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47e073
movl -0x2c(%rbp), %ecx
subl $0x7, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47e073
movl -0x2c(%rbp), %eax
subl $0x7, %eax
cmpl -0x30(%rbp), %eax
jge 0x47e073
movl -0x20(%rbp), %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
subl $0x7, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x2c(%rbp), %eax
subl $0x7, %eax
movl -0x30(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x47e0b3
movl -0x24(%rbp), %ecx
addl $0x7, %ecx
xorl %eax, %eax
cmpl %ecx, %eax
jg 0x47e0b3
movl -0x24(%rbp), %eax
addl $0x7, %eax
cmpl -0x28(%rbp), %eax
jge 0x47e0b3
movl -0x20(%rbp), %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
addl $0x7, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop