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

// Assembly:
pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0x60, %rsp
movq %rdi, 0x48(%rsp)
vmovaps %ymm0, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movl %edx, 0x18(%rsp)
movswl 0x20(%rsp), %edx
movq 0x48(%rsp), %rax
movslq 0x1c(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x20(%rsp), %xmm0
vpextrw $0x1, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x20(%rsp), %xmm0
vpextrw $0x2, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %ecx
movl 0x1c(%rsp), %edi
movl %ecx, %esi
movl %edi, %ecx
leal (%rcx,%rsi,2), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x20(%rsp), %xmm0
vpextrw $0x3, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,2), %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x20(%rsp), %xmm0
vpextrw $0x4, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %ecx
movl 0x1c(%rsp), %edi
movl %ecx, %esi
movl %edi, %ecx
leal (%rcx,%rsi,4), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x20(%rsp), %xmm0
vpextrw $0x5, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,4), %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x20(%rsp), %xmm0
vpextrw $0x6, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,2), %edi
movl 0x1c(%rsp), %esi
movl %esi, %ecx
movl %edi, %esi
leal (%rcx,%rsi,2), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x20(%rsp), %xmm0
vpextrw $0x7, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
shll $0x3, %ecx
subl %esi, %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movswl 0x30(%rsp), %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %ecx
movl 0x1c(%rsp), %edi
movl %ecx, %esi
movl %edi, %ecx
leal (%rcx,%rsi,8), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x30(%rsp), %xmm0
vpextrw $0x1, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,8), %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x30(%rsp), %xmm0
vpextrw $0x2, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,4), %edi
movl 0x1c(%rsp), %esi
movl %esi, %ecx
movl %edi, %esi
leal (%rcx,%rsi,2), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x30(%rsp), %xmm0
vpextrw $0x3, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,4), %edi
movl %edi, %esi
leal (%rcx,%rsi,2), %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x30(%rsp), %xmm0
vpextrw $0x4, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,2), %edi
movl 0x1c(%rsp), %esi
movl %esi, %ecx
movl %edi, %esi
leal (%rcx,%rsi,4), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x30(%rsp), %xmm0
vpextrw $0x5, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %esi
movl %esi, %ecx
leal (%rcx,%rcx,2), %edi
movl %edi, %esi
leal (%rcx,%rsi,4), %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x30(%rsp), %xmm0
vpextrw $0x6, %xmm0, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
movl 0x18(%rsp), %ecx
movl %ecx, %esi
addl %esi, %esi
shll $0x4, %ecx
subl %esi, %ecx
movl 0x1c(%rsp), %esi
addl %esi, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
vmovdqa 0x30(%rsp), %xmm0
vpextrw $0x7, %xmm0, %eax
movzwl %ax, %eax
movswl %ax, %edx
movq 0x48(%rsp), %rax
imull $0xf, 0x18(%rsp), %ecx
addl 0x1c(%rsp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq %rbp, %rsp
popq %rbp
vzeroupper
retq
nop