// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/sw_blocked_sse41_128_16.c
// Function: arr_store_si128
static inline void arr_store_si128(
        int *array,
        __m128i vH,
        int32_t i,
        int32_t segWidth,
        int32_t j,
        int32_t s2Len)
{
    array[(i*segWidth+0)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 0);
    array[(i*segWidth+1)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 1);
    array[(i*segWidth+2)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 2);
    array[(i*segWidth+3)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 3);
    array[(i*segWidth+4)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 4);
    array[(i*segWidth+5)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 5);
    array[(i*segWidth+6)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 6);
    array[(i*segWidth+7)*s2Len + j] = (int16_t)_mm_extract_epi16(vH, 7);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movaps %xmm0, -0x20(%rbp)
movl %esi, -0x24(%rbp)
movl %edx, -0x28(%rbp)
movl %ecx, -0x2c(%rbp)
movl %r8d, -0x30(%rbp)
movswl -0x20(%rbp), %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %esi
imull %esi, %ecx
movl -0x30(%rbp), %esi
imull %esi, %ecx
movl -0x2c(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x1, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %esi
imull %esi, %ecx
incl %ecx
movl -0x30(%rbp), %esi
imull %esi, %ecx
movl -0x2c(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x2, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %esi
imull %esi, %ecx
addl $0x2, %ecx
movl -0x30(%rbp), %esi
imull %esi, %ecx
movl -0x2c(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x3, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %esi
imull %esi, %ecx
addl $0x3, %ecx
movl -0x30(%rbp), %esi
imull %esi, %ecx
movl -0x2c(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x4, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %esi
imull %esi, %ecx
addl $0x4, %ecx
movl -0x30(%rbp), %esi
imull %esi, %ecx
movl -0x2c(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x5, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %esi
imull %esi, %ecx
addl $0x5, %ecx
movl -0x30(%rbp), %esi
imull %esi, %ecx
movl -0x2c(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x6, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
movl -0x28(%rbp), %esi
imull %esi, %ecx
addl $0x6, %ecx
movl -0x30(%rbp), %esi
imull %esi, %ecx
movl -0x2c(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x24(%rbp), %ecx
imull -0x28(%rbp), %ecx
addl $0x7, %ecx
imull -0x30(%rbp), %ecx
addl -0x2c(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop