user: What would the C source look like for the assembly code provided here:

```asm
<s_cvt_mat2pmat>:
  endbr64
  neg    %edx
  push   %r15
  mov    %edi,%eax
  and    $0x3,%edx
  push   %r14
  mov    %r8,%r14
  cmp    %edi,%edx
  push   %r13
  mov    %r9d,%r13d
  push   %r12
  cmovg  %edi,%edx
  push   %rbp
  push   %rbx
  sub    %edx,%eax
  mov    0x38(%rsp),%r15
  mov    %esi,%ebx
  mov    %eax,-0x4(%rsp)
  test   %edx,%edx
  jle    L5
  test   %esi,%esi
  jle    L81
  movslq %r9d,%r8
  mov    %r14,%rsi
  mov    %r15,%rcx
  xor    %edi,%edi
  shl    $0x2,%r8
  lea    0x0(,%rbx,4),%r9d
  nopl   0x0(%rax)
L19:
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L65:
  movss  (%rsi,%rax,4),%xmm0
  movss  %xmm0,(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%edx
  jg     L65
  add    $0x4,%edi
  add    %r8,%rsi
  add    $0x10,%rcx
  cmp    %edi,%r9d
  jne    L19
L81:
  movslq %edx,%rax
  lea    (%r14,%rax,4),%r14
  mov    0x40(%rsp),%eax
  lea    -0x4(%rdx,%rax,4),%eax
  cltq
  lea    (%r15,%rax,4),%r15
L5:
  mov    -0x4(%rsp),%eax
  sub    $0x3,%eax
  mov    %eax,-0x30(%rsp)
  test   %eax,%eax
  jle    L32
  mov    0x40(%rsp),%eax
  lea    0x0(%r13,%r13,1),%edx
  movslq %r13d,%r9
  mov    %r14,%r8
  lea    0x0(,%r13,4),%r10d
  shl    $0x2,%r9
  xor    %ebp,%ebp
  xor    %r12d,%r12d
  shl    $0x2,%eax
  movslq %r10d,%r10
  mov    %eax,-0x2c(%rsp)
  movslq %edx,%rax
  add    %r13d,%edx
  shl    $0x2,%r10
  movslq %edx,%rdx
  lea    0x4(,%rax,4),%rax
  lea    0x0(,%rdx,4),%rdi
  lea    -0x4(%rbx),%edx
  mov    %rax,-0x18(%rsp)
  shr    $0x2,%edx
  mov    %rdi,-0x28(%rsp)
  lea    0x40(%r15),%rax
  mov    %edx,%ecx
  lea    0x4(,%rdx,4),%edi
  mov    %rax,-0x10(%rsp)
  shl    $0x4,%rcx
  mov    %edi,-0x8(%rsp)
  mov    %rcx,-0x20(%rsp)
  nopw   0x0(%rax,%rax,1)
L77:
  xor    %ecx,%ecx
  cmp    $0x3,%ebx
  jle    L13
  movslq %r12d,%rdx
  mov    -0x18(%rsp),%rsi
  mov    -0x28(%rsp),%rcx
  lea    (%r9,%r8,1),%rdi
  mov    -0x10(%rsp),%r11
  lea    (%r15,%rdx,4),%rax
  add    -0x20(%rsp),%rdx
  add    %r8,%rsi
  add    %r8,%rcx
  lea    (%r11,%rdx,4),%r11
  mov    %r8,%rdx
  nopw   0x0(%rax,%rax,1)
L117:
  movss  (%rdx),%xmm0
  add    $0x40,%rax
  movss  %xmm0,-0x40(%rax)
  movss  0x4(%rdx),%xmm0
  movss  %xmm0,-0x3c(%rax)
  movss  0x8(%rdx),%xmm0
  movss  %xmm0,-0x38(%rax)
  movss  0xc(%rdx),%xmm0
  add    %r10,%rdx
  movss  %xmm0,-0x34(%rax)
  movss  (%rdi),%xmm0
  movss  %xmm0,-0x30(%rax)
  movss  0x4(%rdi),%xmm0
  movss  %xmm0,-0x2c(%rax)
  movss  0x8(%rdi),%xmm0
  movss  %xmm0,-0x28(%rax)
  movss  0xc(%rdi),%xmm0
  add    %r10,%rdi
  movss  %xmm0,-0x24(%rax)
  movss  -0x4(%rsi),%xmm0
  movss  %xmm0,-0x20(%rax)
  movss  (%rsi),%xmm0
  movss  %xmm0,-0x1c(%rax)
  movss  0x4(%rsi),%xmm0
  movss  %xmm0,-0x18(%rax)
  movss  0x8(%rsi),%xmm0
  add    %r10,%rsi
  movss  %xmm0,-0x14(%rax)
  movss  (%rcx),%xmm0
  movss  %xmm0,-0x10(%rax)
  movss  0x4(%rcx),%xmm0
  movss  %xmm0,-0xc(%rax)
  movss  0x8(%rcx),%xmm0
  movss  %xmm0,-0x8(%rax)
  movss  0xc(%rcx),%xmm0
  add    %r10,%rcx
  movss  %xmm0,-0x4(%rax)
  cmp    %rax,%r11
  jne    L117
  mov    -0x8(%rsp),%ecx
L13:
  cmp    %ecx,%ebx
  jle    L78
  mov    %r13d,%eax
  movslq %ecx,%rdx
  movslq %r12d,%rsi
  imul   %ecx,%eax
  shl    $0x2,%ecx
  movslq %ecx,%rcx
  add    %rsi,%rcx
  cltq
  lea    (%r15,%rcx,4),%rcx
  add    %rbp,%rax
  lea    (%r14,%rax,4),%rax
L35:
  movss  (%rax),%xmm0
  add    $0x1,%rdx
  add    $0x10,%rcx
  movss  %xmm0,-0x10(%rcx)
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0xc(%rcx)
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x8(%rcx)
  movss  0xc(%rax),%xmm0
  add    %r9,%rax
  movss  %xmm0,-0x4(%rcx)
  cmp    %edx,%ebx
  jg     L35
L78:
  add    -0x2c(%rsp),%r12d
  add    $0x4,%rbp
  add    $0x10,%r8
  cmp    %ebp,-0x30(%rsp)
  jg     L77
  mov    -0x4(%rsp),%eax
  sub    $0x4,%eax
  shr    $0x2,%eax
  lea    0x4(,%rax,4),%eax
L90:
  mov    -0x4(%rsp),%edi
  cmp    %eax,%edi
  jle    L131
  mov    %edi,%r8d
  mov    $0x4,%edx
  sub    %eax,%r8d
  cmp    %edx,%r8d
  cmovg  %edx,%r8d
  test   %ebx,%ebx
  jle    L131
  movslq %eax,%rdx
  movslq %r13d,%rsi
  shl    $0x2,%ebx
  imul   0x40(%rsp),%eax
  lea    (%r14,%rdx,4),%rcx
  shl    $0x2,%rsi
  xor    %edi,%edi
  cltq
  lea    (%r15,%rax,4),%rdx
  nopl   0x0(%rax)
L140:
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L105:
  movss  (%rcx,%rax,4),%xmm0
  movss  %xmm0,(%rdx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%r8d
  jg     L105
  add    $0x4,%edi
  add    %rsi,%rcx
  add    $0x10,%rdx
  cmp    %edi,%ebx
  jne    L140
L131:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L32:
  xor    %eax,%eax
  jmp    L90
```

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 = 4;
  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 - 3; ii += bs) {
    j = 0;
    for (; j < col - 3; j += 4) {
      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[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[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[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];
    }
    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];
    }
  }
  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];
      }
    }
  }
}
```