// File: /workspace/github_c_makefile_star2_O0/nh13[P]ksw/src/parasail/src/nw_scan_sse2_128_16.c
// Function: arr_store_si128
static inline void arr_store_si128(
        int *array,
        __m128i vH,
        int32_t t,
        int32_t seglen,
        int32_t d,
        int32_t dlen)
{
    array[1LL*(0*seglen+t)*dlen + d] = (int16_t)_mm_extract_epi16(vH, 0);
    array[1LL*(1*seglen+t)*dlen + d] = (int16_t)_mm_extract_epi16(vH, 1);
    array[1LL*(2*seglen+t)*dlen + d] = (int16_t)_mm_extract_epi16(vH, 2);
    array[1LL*(3*seglen+t)*dlen + d] = (int16_t)_mm_extract_epi16(vH, 3);
    array[1LL*(4*seglen+t)*dlen + d] = (int16_t)_mm_extract_epi16(vH, 4);
    array[1LL*(5*seglen+t)*dlen + d] = (int16_t)_mm_extract_epi16(vH, 5);
    array[1LL*(6*seglen+t)*dlen + d] = (int16_t)_mm_extract_epi16(vH, 6);
    array[1LL*(7*seglen+t)*dlen + d] = (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
movslq -0x24(%rbp), %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x1, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x28(%rbp), %ecx
movl -0x24(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x2, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x28(%rbp), %ecx
movl -0x24(%rbp), %edi
movl %ecx, %esi
movl %edi, %ecx
leal (%rcx,%rsi,2), %ecx
movslq %ecx, %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x3, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x28(%rbp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,2), %ecx
movl -0x24(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x4, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x28(%rbp), %ecx
movl -0x24(%rbp), %edi
movl %ecx, %esi
movl %edi, %ecx
leal (%rcx,%rsi,4), %ecx
movslq %ecx, %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x5, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x28(%rbp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,4), %ecx
movl -0x24(%rbp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x6, %xmm0, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
movl -0x28(%rbp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,2), %edi
movl -0x24(%rbp), %esi
movl %esi, %ecx
movl %edi, %esi
leal (%rcx,%rsi,2), %ecx
movslq %ecx, %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
movaps -0x20(%rbp), %xmm0
pextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq -0x8(%rbp), %rax
imull $0x7, -0x28(%rbp), %ecx
addl -0x24(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x0, %rcx
movslq -0x30(%rbp), %rsi
imulq %rsi, %rcx
movslq -0x2c(%rbp), %rsi
addq %rsi, %rcx
movl %edx, (%rax,%rcx,4)
popq %rbp
retq
nopl (%rax,%rax)