user: Demonstrate the C code that generates the assembly output below:

```asm
<s_cvt_mat2pmat>:
  endbr64
  neg    %edx
  push   %r15
  mov    %edi,%eax
  and    $0x7,%edx
  push   %r14
  cmp    %edi,%edx
  push   %r13
  cmovg  %edi,%edx
  push   %r12
  push   %rbp
  push   %rbx
  sub    %edx,%eax
  mov    %esi,-0x44(%rsp)
  mov    %r8,-0x38(%rsp)
  mov    %r9d,-0x30(%rsp)
  mov    %eax,-0x4(%rsp)
  test   %edx,%edx
  jle    L64
  test   %esi,%esi
  jle    L4
  movslq -0x30(%rsp),%r8
  mov    -0x44(%rsp),%eax
  xor    %edi,%edi
  mov    -0x38(%rsp),%rsi
  mov    0x38(%rsp),%rcx
  shl    $0x2,%r8
  lea    0x0(,%rax,8),%r9d
  nopl   0x0(%rax,%rax,1)
L80:
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L16:
  movss  (%rsi,%rax,4),%xmm0
  movss  %xmm0,(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%edx
  jg     L16
  add    $0x8,%edi
  add    %r8,%rsi
  add    $0x20,%rcx
  cmp    %edi,%r9d
  jne    L80
L4:
  mov    -0x38(%rsp),%rbx
  movslq %edx,%rax
  lea    (%rbx,%rax,4),%rax
  mov    0x38(%rsp),%rbx
  mov    %rax,-0x38(%rsp)
  mov    0x40(%rsp),%eax
  lea    -0x8(%rdx,%rax,8),%eax
  cltq
  lea    (%rbx,%rax,4),%rax
  mov    %rax,0x38(%rsp)
L64:
  mov    -0x4(%rsp),%eax
  sub    $0x7,%eax
  mov    %eax,-0x2c(%rsp)
  test   %eax,%eax
  jle    L21
  mov    0x40(%rsp),%eax
  movslq -0x30(%rsp),%r12
  xor    %r15d,%r15d
  movl   $0x0,-0x48(%rsp)
  mov    -0x44(%rsp),%r14d
  mov    -0x38(%rsp),%rdi
  shl    $0x3,%eax
  mov    %eax,-0x28(%rsp)
  mov    %r12,%rax
  shl    $0x2,%r12
  mov    %rdi,%rbx
  lea    0x0(,%rax,8),%ebp
  lea    -0x8(%r14),%eax
  shr    $0x3,%eax
  lea    (%rdi,%r12,1),%r10
  movslq %ebp,%rbp
  mov    %eax,%edx
  lea    0x8(,%rax,8),%eax
  lea    (%r10,%r12,1),%r9
  shl    $0x2,%rbp
  mov    %eax,-0x24(%rsp)
  mov    0x38(%rsp),%rax
  lea    (%r9,%r12,1),%r8
  shl    $0x6,%rdx
  lea    (%r8,%r12,1),%rdi
  mov    %rdx,-0x20(%rsp)
  add    $0x100,%rax
  lea    (%rdi,%r12,1),%rsi
  mov    %rax,-0x18(%rsp)
  lea    -0x1(%r14),%eax
  lea    (%rsi,%r12,1),%rcx
  mov    %eax,-0x8(%rsp)
  mov    0x38(%rsp),%rax
  lea    (%rcx,%r12,1),%r11
  add    $0x20,%rax
  mov    %rax,-0x10(%rsp)
  nopl   0x0(%rax)
L127:
  xor    %r13d,%r13d
  cmpl   $0x7,-0x44(%rsp)
  jle    L32
  movslq -0x48(%rsp),%rdx
  mov    0x38(%rsp),%rax
  mov    -0x18(%rsp),%r14
  lea    (%rax,%rdx,4),%rax
  add    -0x20(%rsp),%rdx
  lea    (%r14,%rdx,4),%r13
  xor    %edx,%edx
  nopl   0x0(%rax)
L139:
  movss  (%rbx,%rdx,1),%xmm0
  add    $0x100,%rax
  movss  %xmm0,-0x100(%rax)
  movss  0x4(%rbx,%rdx,1),%xmm0
  movss  %xmm0,-0xfc(%rax)
  movss  0x8(%rbx,%rdx,1),%xmm0
  movss  %xmm0,-0xf8(%rax)
  movss  0xc(%rbx,%rdx,1),%xmm0
  movss  %xmm0,-0xf4(%rax)
  movss  0x10(%rbx,%rdx,1),%xmm0
  movss  %xmm0,-0xf0(%rax)
  movss  0x14(%rbx,%rdx,1),%xmm0
  movss  %xmm0,-0xec(%rax)
  movss  0x18(%rbx,%rdx,1),%xmm0
  movss  %xmm0,-0xe8(%rax)
  movss  0x1c(%rbx,%rdx,1),%xmm0
  movss  %xmm0,-0xe4(%rax)
  movss  (%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xe0(%rax)
  movss  0x4(%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xdc(%rax)
  movss  0x8(%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xd8(%rax)
  movss  0xc(%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xd4(%rax)
  movss  0x10(%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xd0(%rax)
  movss  0x14(%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xcc(%rax)
  movss  0x18(%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xc8(%rax)
  movss  0x1c(%r10,%rdx,1),%xmm0
  movss  %xmm0,-0xc4(%rax)
  movss  (%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xc0(%rax)
  movss  0x4(%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xbc(%rax)
  movss  0x8(%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xb8(%rax)
  movss  0xc(%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xb4(%rax)
  movss  0x10(%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xb0(%rax)
  movss  0x14(%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xac(%rax)
  movss  0x18(%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xa8(%rax)
  movss  0x1c(%r9,%rdx,1),%xmm0
  movss  %xmm0,-0xa4(%rax)
  movss  (%r8,%rdx,1),%xmm0
  movss  %xmm0,-0xa0(%rax)
  movss  0x4(%r8,%rdx,1),%xmm0
  movss  %xmm0,-0x9c(%rax)
  movss  0x8(%r8,%rdx,1),%xmm0
  movss  %xmm0,-0x98(%rax)
  movss  0xc(%r8,%rdx,1),%xmm0
  movss  %xmm0,-0x94(%rax)
  movss  0x10(%r8,%rdx,1),%xmm0
  movss  %xmm0,-0x90(%rax)
  movss  0x14(%r8,%rdx,1),%xmm0
  movss  %xmm0,-0x8c(%rax)
  movss  0x18(%r8,%rdx,1),%xmm0
  movss  %xmm0,-0x88(%rax)
  movss  0x1c(%r8,%rdx,1),%xmm0
  movss  %xmm0,-0x84(%rax)
  movss  (%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x80(%rax)
  movss  0x4(%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x7c(%rax)
  movss  0x8(%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x78(%rax)
  movss  0xc(%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x74(%rax)
  movss  0x10(%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x70(%rax)
  movss  0x14(%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x6c(%rax)
  movss  0x18(%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x68(%rax)
  movss  0x1c(%rdi,%rdx,1),%xmm0
  movss  %xmm0,-0x64(%rax)
  movss  (%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x60(%rax)
  movss  0x4(%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x5c(%rax)
  movss  0x8(%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x58(%rax)
  movss  0xc(%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x54(%rax)
  movss  0x10(%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x50(%rax)
  movss  0x14(%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x4c(%rax)
  movss  0x18(%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x48(%rax)
  movss  0x1c(%rsi,%rdx,1),%xmm0
  movss  %xmm0,-0x44(%rax)
  movss  (%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x40(%rax)
  movss  0x4(%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x3c(%rax)
  movss  0x8(%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x38(%rax)
  movss  0xc(%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x34(%rax)
  movss  0x10(%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x30(%rax)
  movss  0x14(%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x2c(%rax)
  movss  0x18(%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x28(%rax)
  movss  0x1c(%rcx,%rdx,1),%xmm0
  movss  %xmm0,-0x24(%rax)
  movss  (%r11,%rdx,1),%xmm0
  movss  %xmm0,-0x20(%rax)
  movss  0x4(%r11,%rdx,1),%xmm0
  movss  %xmm0,-0x1c(%rax)
  movss  0x8(%r11,%rdx,1),%xmm0
  movss  %xmm0,-0x18(%rax)
  movss  0xc(%r11,%rdx,1),%xmm0
  movss  %xmm0,-0x14(%rax)
  movss  0x10(%r11,%rdx,1),%xmm0
  movss  %xmm0,-0x10(%rax)
  movss  0x14(%r11,%rdx,1),%xmm0
  movss  %xmm0,-0xc(%rax)
  movss  0x18(%r11,%rdx,1),%xmm0
  movss  %xmm0,-0x8(%rax)
  movss  0x1c(%r11,%rdx,1),%xmm0
  add    %rbp,%rdx
  movss  %xmm0,-0x4(%rax)
  cmp    %rax,%r13
  jne    L139
  movslq -0x24(%rsp),%r13
L32:
  cmp    %r13d,-0x44(%rsp)
  jle    L54
  mov    -0x30(%rsp),%eax
  mov    -0x38(%rsp),%rdx
  movslq -0x48(%rsp),%r14
  imul   %r13d,%eax
  cltq
  add    %r15,%rax
  lea    (%rdx,%rax,4),%rax
  mov    0x38(%rsp),%rdx
  mov    %rax,-0x40(%rsp)
  lea    0x0(,%r13,8),%eax
  cltq
  add    %r14,%rax
  lea    (%rdx,%rax,4),%rax
  mov    -0x8(%rsp),%edx
  sub    %r13d,%edx
  add    %rdx,%r13
  mov    -0x10(%rsp),%rdx
  lea    (%r14,%r13,8),%r13
  lea    (%rdx,%r13,4),%r13
  mov    -0x40(%rsp),%rdx
  nopl   0x0(%rax)
L95:
  movss  (%rdx),%xmm0
  add    $0x20,%rax
  movss  %xmm0,-0x20(%rax)
  movss  0x4(%rdx),%xmm0
  movss  %xmm0,-0x1c(%rax)
  movss  0x8(%rdx),%xmm0
  movss  %xmm0,-0x18(%rax)
  movss  0xc(%rdx),%xmm0
  movss  %xmm0,-0x14(%rax)
  movss  0x10(%rdx),%xmm0
  movss  %xmm0,-0x10(%rax)
  movss  0x14(%rdx),%xmm0
  movss  %xmm0,-0xc(%rax)
  movss  0x18(%rdx),%xmm0
  movss  %xmm0,-0x8(%rax)
  movss  0x1c(%rdx),%xmm0
  add    %r12,%rdx
  movss  %xmm0,-0x4(%rax)
  cmp    %rax,%r13
  jne    L95
L54:
  mov    -0x28(%rsp),%edx
  add    $0x8,%r15
  add    %edx,-0x48(%rsp)
  add    $0x20,%rbx
  add    $0x20,%r10
  add    $0x20,%r9
  add    $0x20,%r8
  add    $0x20,%rdi
  add    $0x20,%rsi
  add    $0x20,%rcx
  add    $0x20,%r11
  cmp    %r15d,-0x2c(%rsp)
  jg     L127
  mov    -0x4(%rsp),%eax
  sub    $0x8,%eax
  shr    $0x3,%eax
  lea    0x8(,%rax,8),%eax
L135:
  mov    -0x4(%rsp),%ebx
  cmp    %eax,%ebx
  jle    L8
  mov    %ebx,%r9d
  mov    $0x8,%edx
  mov    -0x44(%rsp),%ebx
  sub    %eax,%r9d
  cmp    %edx,%r9d
  cmovg  %edx,%r9d
  test   %ebx,%ebx
  jle    L8
  movslq %eax,%rdx
  mov    -0x38(%rsp),%rsi
  movslq -0x30(%rsp),%rdi
  shl    $0x3,%ebx
  imul   0x40(%rsp),%eax
  xor    %r8d,%r8d
  lea    (%rsi,%rdx,4),%rcx
  mov    0x38(%rsp),%rsi
  shl    $0x2,%rdi
  cltq
  lea    (%rsi,%rax,4),%rdx
  mov    %ebx,%esi
  nopw   0x0(%rax,%rax,1)
L3:
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L38:
  movss  (%rcx,%rax,4),%xmm0
  movss  %xmm0,(%rdx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%r9d
  jg     L38
  add    $0x8,%r8d
  add    %rdi,%rcx
  add    $0x20,%rdx
  cmp    %r8d,%esi
  jne    L3
L8:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L21:
  xor    %eax,%eax
  jmp    L135
```

assistant: ```c
void s_cvt_mat2pmat(int row, int col, int offset, int bs_dummy, float *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] = 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] = A[ii + 0 + (j + 0) * lda];
      pA[1 + (j + 0) * bs + ii * sda] = A[ii + 1 + (j + 0) * lda];
      pA[2 + (j + 0) * bs + ii * sda] = A[ii + 2 + (j + 0) * lda];
      pA[3 + (j + 0) * bs + ii * sda] = A[ii + 3 + (j + 0) * lda];
      pA[4 + (j + 0) * bs + ii * sda] = A[ii + 4 + (j + 0) * lda];
      pA[5 + (j + 0) * bs + ii * sda] = A[ii + 5 + (j + 0) * lda];
      pA[6 + (j + 0) * bs + ii * sda] = A[ii + 6 + (j + 0) * lda];
      pA[7 + (j + 0) * bs + ii * sda] = A[ii + 7 + (j + 0) * lda];
      pA[0 + (j + 1) * bs + ii * sda] = A[ii + 0 + (j + 1) * lda];
      pA[1 + (j + 1) * bs + ii * sda] = A[ii + 1 + (j + 1) * lda];
      pA[2 + (j + 1) * bs + ii * sda] = A[ii + 2 + (j + 1) * lda];
      pA[3 + (j + 1) * bs + ii * sda] = A[ii + 3 + (j + 1) * lda];
      pA[4 + (j + 1) * bs + ii * sda] = A[ii + 4 + (j + 1) * lda];
      pA[5 + (j + 1) * bs + ii * sda] = A[ii + 5 + (j + 1) * lda];
      pA[6 + (j + 1) * bs + ii * sda] = A[ii + 6 + (j + 1) * lda];
      pA[7 + (j + 1) * bs + ii * sda] = A[ii + 7 + (j + 1) * lda];
      pA[0 + (j + 2) * bs + ii * sda] = A[ii + 0 + (j + 2) * lda];
      pA[1 + (j + 2) * bs + ii * sda] = A[ii + 1 + (j + 2) * lda];
      pA[2 + (j + 2) * bs + ii * sda] = A[ii + 2 + (j + 2) * lda];
      pA[3 + (j + 2) * bs + ii * sda] = A[ii + 3 + (j + 2) * lda];
      pA[4 + (j + 2) * bs + ii * sda] = A[ii + 4 + (j + 2) * lda];
      pA[5 + (j + 2) * bs + ii * sda] = A[ii + 5 + (j + 2) * lda];
      pA[6 + (j + 2) * bs + ii * sda] = A[ii + 6 + (j + 2) * lda];
      pA[7 + (j + 2) * bs + ii * sda] = A[ii + 7 + (j + 2) * lda];
      pA[0 + (j + 3) * bs + ii * sda] = A[ii + 0 + (j + 3) * lda];
      pA[1 + (j + 3) * bs + ii * sda] = A[ii + 1 + (j + 3) * lda];
      pA[2 + (j + 3) * bs + ii * sda] = A[ii + 2 + (j + 3) * lda];
      pA[3 + (j + 3) * bs + ii * sda] = A[ii + 3 + (j + 3) * lda];
      pA[4 + (j + 3) * bs + ii * sda] = A[ii + 4 + (j + 3) * lda];
      pA[5 + (j + 3) * bs + ii * sda] = A[ii + 5 + (j + 3) * lda];
      pA[6 + (j + 3) * bs + ii * sda] = A[ii + 6 + (j + 3) * lda];
      pA[7 + (j + 3) * bs + ii * sda] = A[ii + 7 + (j + 3) * lda];
      pA[0 + (j + 4) * bs + ii * sda] = A[ii + 0 + (j + 4) * lda];
      pA[1 + (j + 4) * bs + ii * sda] = A[ii + 1 + (j + 4) * lda];
      pA[2 + (j + 4) * bs + ii * sda] = A[ii + 2 + (j + 4) * lda];
      pA[3 + (j + 4) * bs + ii * sda] = A[ii + 3 + (j + 4) * lda];
      pA[4 + (j + 4) * bs + ii * sda] = A[ii + 4 + (j + 4) * lda];
      pA[5 + (j + 4) * bs + ii * sda] = A[ii + 5 + (j + 4) * lda];
      pA[6 + (j + 4) * bs + ii * sda] = A[ii + 6 + (j + 4) * lda];
      pA[7 + (j + 4) * bs + ii * sda] = A[ii + 7 + (j + 4) * lda];
      pA[0 + (j + 5) * bs + ii * sda] = A[ii + 0 + (j + 5) * lda];
      pA[1 + (j + 5) * bs + ii * sda] = A[ii + 1 + (j + 5) * lda];
      pA[2 + (j + 5) * bs + ii * sda] = A[ii + 2 + (j + 5) * lda];
      pA[3 + (j + 5) * bs + ii * sda] = A[ii + 3 + (j + 5) * lda];
      pA[4 + (j + 5) * bs + ii * sda] = A[ii + 4 + (j + 5) * lda];
      pA[5 + (j + 5) * bs + ii * sda] = A[ii + 5 + (j + 5) * lda];
      pA[6 + (j + 5) * bs + ii * sda] = A[ii + 6 + (j + 5) * lda];
      pA[7 + (j + 5) * bs + ii * sda] = A[ii + 7 + (j + 5) * lda];
      pA[0 + (j + 6) * bs + ii * sda] = A[ii + 0 + (j + 6) * lda];
      pA[1 + (j + 6) * bs + ii * sda] = A[ii + 1 + (j + 6) * lda];
      pA[2 + (j + 6) * bs + ii * sda] = A[ii + 2 + (j + 6) * lda];
      pA[3 + (j + 6) * bs + ii * sda] = A[ii + 3 + (j + 6) * lda];
      pA[4 + (j + 6) * bs + ii * sda] = A[ii + 4 + (j + 6) * lda];
      pA[5 + (j + 6) * bs + ii * sda] = A[ii + 5 + (j + 6) * lda];
      pA[6 + (j + 6) * bs + ii * sda] = A[ii + 6 + (j + 6) * lda];
      pA[7 + (j + 6) * bs + ii * sda] = A[ii + 7 + (j + 6) * lda];
      pA[0 + (j + 7) * bs + ii * sda] = A[ii + 0 + (j + 7) * lda];
      pA[1 + (j + 7) * bs + ii * sda] = A[ii + 1 + (j + 7) * lda];
      pA[2 + (j + 7) * bs + ii * sda] = A[ii + 2 + (j + 7) * lda];
      pA[3 + (j + 7) * bs + ii * sda] = A[ii + 3 + (j + 7) * lda];
      pA[4 + (j + 7) * bs + ii * sda] = A[ii + 4 + (j + 7) * lda];
      pA[5 + (j + 7) * bs + ii * sda] = A[ii + 5 + (j + 7) * lda];
      pA[6 + (j + 7) * bs + ii * sda] = A[ii + 6 + (j + 7) * lda];
      pA[7 + (j + 7) * bs + ii * sda] = A[ii + 7 + (j + 7) * lda];
    }
    for (; j < col; j++) {
      pA[0 + (j + 0) * bs + ii * sda] = A[ii + 0 + (j + 0) * lda];
      pA[1 + (j + 0) * bs + ii * sda] = A[ii + 1 + (j + 0) * lda];
      pA[2 + (j + 0) * bs + ii * sda] = A[ii + 2 + (j + 0) * lda];
      pA[3 + (j + 0) * bs + ii * sda] = A[ii + 3 + (j + 0) * lda];
      pA[4 + (j + 0) * bs + ii * sda] = A[ii + 4 + (j + 0) * lda];
      pA[5 + (j + 0) * bs + ii * sda] = A[ii + 5 + (j + 0) * lda];
      pA[6 + (j + 0) * bs + ii * sda] = A[ii + 6 + (j + 0) * lda];
      pA[7 + (j + 0) * bs + ii * sda] = 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] = A[i + ii + j * lda];
      }
    }
  }
}
```