user: Translate the below assembly code into C programming language:

```asm
<cvt_d2s_mat2pmat>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%ecx
  mov    %esi,%r12d
  mov    %r8,%r14
  mov    %r9d,-0x50(%rsp)
  mov    %edx,%eax
  sar    $0x1f,%eax
  shr    $0x1d,%eax
  add    %eax,%edx
  and    $0x7,%edx
  sub    %edx,%eax
  lea    0x8(%rax),%eax
  mov    %eax,%esi
  sar    $0x1f,%esi
  shr    $0x1d,%esi
  lea    (%rax,%rsi,1),%edx
  and    $0x7,%edx
  sub    %esi,%edx
  cmp    %edi,%edx
  cmovg  %edi,%edx
  sub    %edx,%ecx
  mov    %ecx,-0x4(%rsp)
  test   %edx,%edx
  jle    L147
  test   %r12d,%r12d
  jle    L184
  movslq %r9d,%r8
  shl    $0x3,%r8
  mov    %r14,%rsi
  mov    0x38(%rsp),%rcx
  lea    0x0(,%r12,8),%r9d
  mov    $0x0,%edi
L112:
  mov    $0x0,%eax
L164:
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rsi,%rax,8),%xmm0
  movss  %xmm0,(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%edx
  jg     L164
  add    %r8,%rsi
  add    $0x8,%edi
  add    $0x20,%rcx
  cmp    %r9d,%edi
  jne    L112
L184:
  movslq %edx,%rax
  lea    (%r14,%rax,8),%r14
  mov    0x40(%rsp),%eax
  lea    -0x8(%rdx,%rax,8),%eax
  cltq
  mov    0x38(%rsp),%rbx
  lea    (%rbx,%rax,4),%rax
  mov    %rax,0x38(%rsp)
L147:
  mov    -0x4(%rsp),%eax
  sub    $0x7,%eax
  mov    %eax,-0x4c(%rsp)
  test   %eax,%eax
  jle    L132
  mov    0x40(%rsp),%eax
  shl    $0x3,%eax
  mov    %eax,-0x48(%rsp)
  mov    -0x50(%rsp),%ebx
  movslq %ebx,%rax
  lea    0x0(,%rax,8),%rdi
  mov    %rdi,-0x58(%rsp)
  lea    (%r14,%rdi,1),%rbp
  lea    0x0(,%rbx,8),%r8d
  movslq %r8d,%r8
  shl    $0x3,%r8
  lea    (%rbx,%rbx,1),%edx
  movslq %edx,%rcx
  sub    %rax,%rcx
  lea    0x0(,%rcx,8),%rdi
  mov    %rdi,-0x38(%rsp)
  add    %ebx,%edx
  movslq %edx,%rdx
  sub    %rax,%rdx
  lea    0x0(,%rdx,8),%rdi
  mov    %rdi,-0x30(%rsp)
  lea    0x0(,%rbx,4),%edx
  movslq %edx,%rcx
  sub    %rax,%rcx
  lea    0x0(,%rcx,8),%rdi
  mov    %rdi,-0x28(%rsp)
  add    %ebx,%edx
  movslq %edx,%rdx
  sub    %rax,%rdx
  lea    0x0(,%rdx,8),%rbx
  mov    %rbx,-0x20(%rsp)
  lea    -0x8(%r12),%edx
  shr    $0x3,%edx
  mov    %edx,%ecx
  shl    $0x6,%rcx
  mov    %rcx,-0x40(%rsp)
  lea    (%rax,%rax,2),%rsi
  shl    $0x4,%rsi
  lea    0x8(,%rdx,8),%eax
  mov    %eax,-0x44(%rsp)
  mov    $0x0,%r13d
  mov    $0x0,%r15d
  mov    0x38(%rsp),%rax
  add    $0x100,%rax
  mov    %rax,-0x18(%rsp)
  lea    -0x1(%r12),%eax
  mov    %eax,-0x8(%rsp)
  mov    0x38(%rsp),%rax
  add    $0x20,%rax
  mov    %rax,-0x10(%rsp)
  jmp    L21
L25:
  add    -0x48(%rsp),%r15d
  add    $0x40,%rbp
  add    $0x8,%r13
  cmp    %r13d,-0x4c(%rsp)
  jle    L0
L21:
  mov    $0x0,%ecx
  cmp    $0x7,%r12d
  jle    L36
  lea    (%r14,%r13,8),%rcx
  movslq %r15d,%rdx
  mov    0x38(%rsp),%rax
  lea    (%rax,%rdx,4),%rax
  mov    -0x38(%rsp),%rbx
  lea    0x0(%rbp,%rbx,1),%r11
  mov    -0x30(%rsp),%rbx
  lea    0x0(%rbp,%rbx,1),%r10
  mov    -0x28(%rsp),%rbx
  lea    0x0(%rbp,%rbx,1),%r9
  mov    -0x20(%rsp),%rbx
  lea    0x0(%rbp,%rbx,1),%rdi
  add    -0x40(%rsp),%rdx
  mov    -0x18(%rsp),%rbx
  lea    (%rbx,%rdx,4),%rbx
  mov    %rbp,%rdx
L133:
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rcx),%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%rcx),%xmm0
  movss  %xmm0,0x4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%rcx),%xmm0
  movss  %xmm0,0x8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%rcx),%xmm0
  movss  %xmm0,0xc(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%rcx),%xmm0
  movss  %xmm0,0x10(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%rcx),%xmm0
  movss  %xmm0,0x14(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%rcx),%xmm0
  movss  %xmm0,0x18(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%rcx),%xmm0
  movss  %xmm0,0x1c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rdx),%xmm0
  movss  %xmm0,0x20(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%rdx),%xmm0
  movss  %xmm0,0x24(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%rdx),%xmm0
  movss  %xmm0,0x28(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%rdx),%xmm0
  movss  %xmm0,0x2c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%rdx),%xmm0
  movss  %xmm0,0x30(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%rdx),%xmm0
  movss  %xmm0,0x34(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%rdx),%xmm0
  movss  %xmm0,0x38(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%rdx),%xmm0
  movss  %xmm0,0x3c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss (%r11),%xmm0
  movss  %xmm0,0x40(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%r11),%xmm0
  movss  %xmm0,0x44(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%r11),%xmm0
  movss  %xmm0,0x48(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%r11),%xmm0
  movss  %xmm0,0x4c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%r11),%xmm0
  movss  %xmm0,0x50(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%r11),%xmm0
  movss  %xmm0,0x54(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%r11),%xmm0
  movss  %xmm0,0x58(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%r11),%xmm0
  movss  %xmm0,0x5c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss (%r10),%xmm0
  movss  %xmm0,0x60(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%r10),%xmm0
  movss  %xmm0,0x64(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%r10),%xmm0
  movss  %xmm0,0x68(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%r10),%xmm0
  movss  %xmm0,0x6c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%r10),%xmm0
  movss  %xmm0,0x70(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%r10),%xmm0
  movss  %xmm0,0x74(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%r10),%xmm0
  movss  %xmm0,0x78(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%r10),%xmm0
  movss  %xmm0,0x7c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss (%r9),%xmm0
  movss  %xmm0,0x80(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%r9),%xmm0
  movss  %xmm0,0x84(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%r9),%xmm0
  movss  %xmm0,0x88(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%r9),%xmm0
  movss  %xmm0,0x8c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%r9),%xmm0
  movss  %xmm0,0x90(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%r9),%xmm0
  movss  %xmm0,0x94(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%r9),%xmm0
  movss  %xmm0,0x98(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%r9),%xmm0
  movss  %xmm0,0x9c(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rdi),%xmm0
  movss  %xmm0,0xa0(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%rdi),%xmm0
  movss  %xmm0,0xa4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%rdi),%xmm0
  movss  %xmm0,0xa8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%rdi),%xmm0
  movss  %xmm0,0xac(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%rdi),%xmm0
  movss  %xmm0,0xb0(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%rdi),%xmm0
  movss  %xmm0,0xb4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%rdi),%xmm0
  movss  %xmm0,0xb8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%rdi),%xmm0
  movss  %xmm0,0xbc(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xc0(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xc4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xc8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xcc(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xd0(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xd4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xd8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%rcx,%rsi,1),%xmm0
  movss  %xmm0,0xdc(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xe0(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xe4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xe8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xec(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xf0(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xf4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xf8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%rdx,%rsi,1),%xmm0
  movss  %xmm0,0xfc(%rax)
  add    %r8,%rcx
  add    $0x100,%rax
  add    %r8,%rdx
  add    %r8,%r11
  add    %r8,%r10
  add    %r8,%r9
  add    %r8,%rdi
  cmp    %rbx,%rax
  jne    L133
  mov    -0x44(%rsp),%ecx
L36:
  cmp    %ecx,%r12d
  jle    L25
  mov    -0x50(%rsp),%eax
  imul   %ecx,%eax
  cltq
  add    %r13,%rax
  lea    (%r14,%rax,8),%rdx
  movslq %r15d,%rdi
  lea    0x0(,%rcx,8),%eax
  cltq
  add    %rdi,%rax
  mov    0x38(%rsp),%rbx
  lea    (%rbx,%rax,4),%rax
  mov    -0x8(%rsp),%r9d
  sub    %ecx,%r9d
  movslq %ecx,%rcx
  add    %rcx,%r9
  lea    (%rdi,%r9,8),%rcx
  mov    -0x10(%rsp),%rbx
  lea    (%rbx,%rcx,4),%rcx
L61:
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rdx),%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x8(%rdx),%xmm0
  movss  %xmm0,0x4(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x10(%rdx),%xmm0
  movss  %xmm0,0x8(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x18(%rdx),%xmm0
  movss  %xmm0,0xc(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x20(%rdx),%xmm0
  movss  %xmm0,0x10(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x28(%rdx),%xmm0
  movss  %xmm0,0x14(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x30(%rdx),%xmm0
  movss  %xmm0,0x18(%rax)
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x38(%rdx),%xmm0
  movss  %xmm0,0x1c(%rax)
  add    -0x58(%rsp),%rdx
  add    $0x20,%rax
  cmp    %rcx,%rax
  jne    L61
  jmp    L25
L0:
  mov    -0x4(%rsp),%eax
  sub    $0x8,%eax
  shr    $0x3,%eax
  lea    0x8(,%rax,8),%r11d
L64:
  mov    -0x4(%rsp),%eax
  cmp    %r11d,%eax
  jle    L59
  mov    %eax,%r10d
  sub    %r11d,%r10d
  mov    $0x8,%esi
  cmp    %esi,%r10d
  cmovle %r10d,%esi
  test   %r12d,%r12d
  jle    L59
  mov    %r11d,%r9d
  imul   0x40(%rsp),%r9d
  mov    $0x0,%r8d
  mov    $0x0,%edi
  movslq %r11d,%r11
  movslq %r9d,%r9
  mov    -0x50(%rsp),%ebx
  mov    0x38(%rsp),%rbp
  jmp    L85
L132:
  mov    $0x0,%r11d
  jmp    L64
L188:
  movslq %r8d,%rax
  add    %r11,%rax
  lea    (%r14,%rax,8),%rcx
  lea    0x0(,%rdi,8),%eax
  cltq
  add    %r9,%rax
  lea    0x0(%rbp,%rax,4),%rdx
  mov    $0x0,%eax
L86:
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rcx,%rax,8),%xmm0
  movss  %xmm0,(%rdx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%esi
  jg     L86
L78:
  add    $0x1,%edi
  add    %ebx,%r8d
  cmp    %edi,%r12d
  je     L59
L85:
  test   %r10d,%r10d
  jg     L188
  jmp    L78
L59:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void cvt_d2s_mat2pmat(int row, int col, int offset, int bs_dummy, double *A, int lda, float *pA, int sda) {
  const int bs = 8;
  int i, ii, j, row0, row1, row2;
  row0 = (bs - offset % bs) % bs;
  if (row0 > row)
    row0 = row;
  row1 = row - row0;
  ii = 0;
  if (row0 > 0) {
    for (j = 0; j < col; j++) {
      for (i = 0; i < row0; i++) {
        pA[i + j * bs + ii * sda] = (float)A[i + ii + j * lda];
      }
    }
    A += row0;
    pA += row0 + bs * (sda - 1);
  }
  ii = 0;
  for (; ii < row1 - 7; ii += bs) {
    j = 0;
    for (; j < col - 7; j += 8) {
      pA[0 + (j + 0) * bs + ii * sda] = (float)A[ii + 0 + (j + 0) * lda];
      pA[1 + (j + 0) * bs + ii * sda] = (float)A[ii + 1 + (j + 0) * lda];
      pA[2 + (j + 0) * bs + ii * sda] = (float)A[ii + 2 + (j + 0) * lda];
      pA[3 + (j + 0) * bs + ii * sda] = (float)A[ii + 3 + (j + 0) * lda];
      pA[4 + (j + 0) * bs + ii * sda] = (float)A[ii + 4 + (j + 0) * lda];
      pA[5 + (j + 0) * bs + ii * sda] = (float)A[ii + 5 + (j + 0) * lda];
      pA[6 + (j + 0) * bs + ii * sda] = (float)A[ii + 6 + (j + 0) * lda];
      pA[7 + (j + 0) * bs + ii * sda] = (float)A[ii + 7 + (j + 0) * lda];
      pA[0 + (j + 1) * bs + ii * sda] = (float)A[ii + 0 + (j + 1) * lda];
      pA[1 + (j + 1) * bs + ii * sda] = (float)A[ii + 1 + (j + 1) * lda];
      pA[2 + (j + 1) * bs + ii * sda] = (float)A[ii + 2 + (j + 1) * lda];
      pA[3 + (j + 1) * bs + ii * sda] = (float)A[ii + 3 + (j + 1) * lda];
      pA[4 + (j + 1) * bs + ii * sda] = (float)A[ii + 4 + (j + 1) * lda];
      pA[5 + (j + 1) * bs + ii * sda] = (float)A[ii + 5 + (j + 1) * lda];
      pA[6 + (j + 1) * bs + ii * sda] = (float)A[ii + 6 + (j + 1) * lda];
      pA[7 + (j + 1) * bs + ii * sda] = (float)A[ii + 7 + (j + 1) * lda];
      pA[0 + (j + 2) * bs + ii * sda] = (float)A[ii + 0 + (j + 2) * lda];
      pA[1 + (j + 2) * bs + ii * sda] = (float)A[ii + 1 + (j + 2) * lda];
      pA[2 + (j + 2) * bs + ii * sda] = (float)A[ii + 2 + (j + 2) * lda];
      pA[3 + (j + 2) * bs + ii * sda] = (float)A[ii + 3 + (j + 2) * lda];
      pA[4 + (j + 2) * bs + ii * sda] = (float)A[ii + 4 + (j + 2) * lda];
      pA[5 + (j + 2) * bs + ii * sda] = (float)A[ii + 5 + (j + 2) * lda];
      pA[6 + (j + 2) * bs + ii * sda] = (float)A[ii + 6 + (j + 2) * lda];
      pA[7 + (j + 2) * bs + ii * sda] = (float)A[ii + 7 + (j + 2) * lda];
      pA[0 + (j + 3) * bs + ii * sda] = (float)A[ii + 0 + (j + 3) * lda];
      pA[1 + (j + 3) * bs + ii * sda] = (float)A[ii + 1 + (j + 3) * lda];
      pA[2 + (j + 3) * bs + ii * sda] = (float)A[ii + 2 + (j + 3) * lda];
      pA[3 + (j + 3) * bs + ii * sda] = (float)A[ii + 3 + (j + 3) * lda];
      pA[4 + (j + 3) * bs + ii * sda] = (float)A[ii + 4 + (j + 3) * lda];
      pA[5 + (j + 3) * bs + ii * sda] = (float)A[ii + 5 + (j + 3) * lda];
      pA[6 + (j + 3) * bs + ii * sda] = (float)A[ii + 6 + (j + 3) * lda];
      pA[7 + (j + 3) * bs + ii * sda] = (float)A[ii + 7 + (j + 3) * lda];
      pA[0 + (j + 4) * bs + ii * sda] = (float)A[ii + 0 + (j + 4) * lda];
      pA[1 + (j + 4) * bs + ii * sda] = (float)A[ii + 1 + (j + 4) * lda];
      pA[2 + (j + 4) * bs + ii * sda] = (float)A[ii + 2 + (j + 4) * lda];
      pA[3 + (j + 4) * bs + ii * sda] = (float)A[ii + 3 + (j + 4) * lda];
      pA[4 + (j + 4) * bs + ii * sda] = (float)A[ii + 4 + (j + 4) * lda];
      pA[5 + (j + 4) * bs + ii * sda] = (float)A[ii + 5 + (j + 4) * lda];
      pA[6 + (j + 4) * bs + ii * sda] = (float)A[ii + 6 + (j + 4) * lda];
      pA[7 + (j + 4) * bs + ii * sda] = (float)A[ii + 7 + (j + 4) * lda];
      pA[0 + (j + 5) * bs + ii * sda] = (float)A[ii + 0 + (j + 5) * lda];
      pA[1 + (j + 5) * bs + ii * sda] = (float)A[ii + 1 + (j + 5) * lda];
      pA[2 + (j + 5) * bs + ii * sda] = (float)A[ii + 2 + (j + 5) * lda];
      pA[3 + (j + 5) * bs + ii * sda] = (float)A[ii + 3 + (j + 5) * lda];
      pA[4 + (j + 5) * bs + ii * sda] = (float)A[ii + 4 + (j + 5) * lda];
      pA[5 + (j + 5) * bs + ii * sda] = (float)A[ii + 5 + (j + 5) * lda];
      pA[6 + (j + 5) * bs + ii * sda] = (float)A[ii + 6 + (j + 5) * lda];
      pA[7 + (j + 5) * bs + ii * sda] = (float)A[ii + 7 + (j + 5) * lda];
      pA[0 + (j + 6) * bs + ii * sda] = (float)A[ii + 0 + (j + 6) * lda];
      pA[1 + (j + 6) * bs + ii * sda] = (float)A[ii + 1 + (j + 6) * lda];
      pA[2 + (j + 6) * bs + ii * sda] = (float)A[ii + 2 + (j + 6) * lda];
      pA[3 + (j + 6) * bs + ii * sda] = (float)A[ii + 3 + (j + 6) * lda];
      pA[4 + (j + 6) * bs + ii * sda] = (float)A[ii + 4 + (j + 6) * lda];
      pA[5 + (j + 6) * bs + ii * sda] = (float)A[ii + 5 + (j + 6) * lda];
      pA[6 + (j + 6) * bs + ii * sda] = (float)A[ii + 6 + (j + 6) * lda];
      pA[7 + (j + 6) * bs + ii * sda] = (float)A[ii + 7 + (j + 6) * lda];
      pA[0 + (j + 7) * bs + ii * sda] = (float)A[ii + 0 + (j + 7) * lda];
      pA[1 + (j + 7) * bs + ii * sda] = (float)A[ii + 1 + (j + 7) * lda];
      pA[2 + (j + 7) * bs + ii * sda] = (float)A[ii + 2 + (j + 7) * lda];
      pA[3 + (j + 7) * bs + ii * sda] = (float)A[ii + 3 + (j + 7) * lda];
      pA[4 + (j + 7) * bs + ii * sda] = (float)A[ii + 4 + (j + 7) * lda];
      pA[5 + (j + 7) * bs + ii * sda] = (float)A[ii + 5 + (j + 7) * lda];
      pA[6 + (j + 7) * bs + ii * sda] = (float)A[ii + 6 + (j + 7) * lda];
      pA[7 + (j + 7) * bs + ii * sda] = (float)A[ii + 7 + (j + 7) * lda];
    }
    for (; j < col; j++) {
      pA[0 + (j + 0) * bs + ii * sda] = (float)A[ii + 0 + (j + 0) * lda];
      pA[1 + (j + 0) * bs + ii * sda] = (float)A[ii + 1 + (j + 0) * lda];
      pA[2 + (j + 0) * bs + ii * sda] = (float)A[ii + 2 + (j + 0) * lda];
      pA[3 + (j + 0) * bs + ii * sda] = (float)A[ii + 3 + (j + 0) * lda];
      pA[4 + (j + 0) * bs + ii * sda] = (float)A[ii + 4 + (j + 0) * lda];
      pA[5 + (j + 0) * bs + ii * sda] = (float)A[ii + 5 + (j + 0) * lda];
      pA[6 + (j + 0) * bs + ii * sda] = (float)A[ii + 6 + (j + 0) * lda];
      pA[7 + (j + 0) * bs + ii * sda] = (float)A[ii + 7 + (j + 0) * lda];
    }
  }
  if (ii < row1) {
    row2 = row1 - ii;
    if (bs < row2)
      row2 = bs;
    for (j = 0; j < col; j++) {
      for (i = 0; i < row2; i++) {
        pA[i + j * bs + ii * sda] = (float)A[i + ii + j * lda];
      }
    }
  }
}
```