// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/nw_striped_avx2_256_16.c
// Function: arr_store_si256
static inline void arr_store_si256(
        int *array,
        __m256i vH,
        int32_t t,
        int32_t seglen,
        int32_t d,
        int32_t dlen)
{
    array[1LL*( 0*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  0);
    array[1LL*( 1*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  1);
    array[1LL*( 2*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  2);
    array[1LL*( 3*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  3);
    array[1LL*( 4*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  4);
    array[1LL*( 5*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  5);
    array[1LL*( 6*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  6);
    array[1LL*( 7*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  7);
    array[1LL*( 8*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  8);
    array[1LL*( 9*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH,  9);
    array[1LL*(10*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH, 10);
    array[1LL*(11*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH, 11);
    array[1LL*(12*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH, 12);
    array[1LL*(13*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH, 13);
    array[1LL*(14*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH, 14);
    array[1LL*(15*seglen+t)*dlen + d] = (int16_t)_mm256_extract_epi16_rpl(vH, 15);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
vmovd %xmm0, %eax
movswl %ax, %r10d
movslq %esi, %r9
movl %r8d, %esi
leal (%rdx,%r9), %eax
movslq %eax, %r8
imulq %rsi, %r8
leal (%r9,%rdx,2), %eax
movslq %eax, %r11
imulq %rsi, %r11
leal (%rdx,%rdx,2), %eax
addl %r9d, %eax
movslq %eax, %rbx
imulq %rsi, %rbx
movq %rsi, %r14
imulq %r9, %r14
movslq %ecx, %rdi
leaq (%r15,%r14,4), %rcx
vpextrw $0x1, %xmm0, %ebp
movl %r10d, (%rcx,%rdi,4)
movswl %bp, %ecx
leaq (%r15,%r8,4), %r8
movl %ecx, (%r8,%rdi,4)
vpextrw $0x2, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%r11,4), %r8
movl %ecx, (%r8,%rdi,4)
vpextrw $0x3, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%rbx,4), %r8
movl %ecx, (%r8,%rdi,4)
leal (%r9,%rdx,4), %ecx
leal (%rdx,%rdx,4), %eax
addl %r9d, %eax
movl %eax, -0x4(%rsp)
imull $0x6, %edx, %r8d
addl %r9d, %r8d
imull $0x7, %edx, %r13d
addl %r9d, %r13d
leal (%rdx,%rdx,8), %ebx
addl %r9d, %ebx
imull $0xa, %edx, %eax
addl %r9d, %eax
movl %eax, -0x8(%rsp)
imull $0xb, %edx, %ebp
addl %r9d, %ebp
imull $0xc, %edx, %r14d
addl %r9d, %r14d
imull $0xd, %edx, %r12d
addl %r9d, %r12d
imull $0xe, %edx, %r10d
addl %r9d, %r10d
leal (%r9,%rdx,8), %r11d
imull $0xf, %edx, %eax
addl %r9d, %eax
movslq %ecx, %rcx
imulq %rsi, %rcx
movslq -0x4(%rsp), %rdx
imulq %rsi, %rdx
movslq %r8d, %r8
imulq %rsi, %r8
movslq %r13d, %r9
imulq %rsi, %r9
movslq %r11d, %r13
imulq %rsi, %r13
movslq %ebx, %rbx
imulq %rsi, %rbx
movslq -0x8(%rsp), %r11
imulq %rsi, %r11
movslq %ebp, %rbp
imulq %rsi, %rbp
movslq %r14d, %r14
imulq %rsi, %r14
movslq %r12d, %r12
imulq %rsi, %r12
movslq %r10d, %r10
imulq %rsi, %r10
cltq
imulq %rsi, %rax
vpextrw $0x4, %xmm0, %esi
movswl %si, %esi
leaq (%r15,%rcx,4), %rcx
movl %esi, (%rcx,%rdi,4)
vpextrw $0x5, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%rdx,4), %rdx
movl %ecx, (%rdx,%rdi,4)
vpextrw $0x6, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%r8,4), %rdx
vpextrw $0x7, %xmm0, %esi
movl %ecx, (%rdx,%rdi,4)
movswl %si, %ecx
leaq (%r15,%r9,4), %rdx
movl %ecx, (%rdx,%rdi,4)
vextracti128 $0x1, %ymm0, %xmm0
vmovd %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%r13,4), %rdx
movl %ecx, (%rdx,%rdi,4)
vpextrw $0x1, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%rbx,4), %rdx
movl %ecx, (%rdx,%rdi,4)
vpextrw $0x2, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%r11,4), %rdx
vpextrw $0x3, %xmm0, %esi
movl %ecx, (%rdx,%rdi,4)
movswl %si, %ecx
leaq (%r15,%rbp,4), %rdx
movl %ecx, (%rdx,%rdi,4)
vpextrw $0x4, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%r14,4), %rdx
movl %ecx, (%rdx,%rdi,4)
vpextrw $0x5, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%r12,4), %rdx
movl %ecx, (%rdx,%rdi,4)
vpextrw $0x6, %xmm0, %ecx
movswl %cx, %ecx
leaq (%r15,%r10,4), %rdx
vpextrw $0x7, %xmm0, %esi
movl %ecx, (%rdx,%rdi,4)
movswl %si, %ecx
leaq (%r15,%rax,4), %rax
movl %ecx, (%rax,%rdi,4)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq
nop