user: What is the c source code of the assembly code below:

```asm
<matrix_multiply>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %ecx,-0x4c(%rbp)
  mov    %r8d,-0x50(%rbp)
  mov    %r9d,-0x54(%rbp)
  mov    -0x4c(%rbp),%eax
  imul   -0x50(%rbp),%eax
  lea    0x0(,%rax,8),%edx
  mov    -0x38(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x4c(%rbp),%eax
  and    $0x1f,%eax
  test   %eax,%eax
  jne    L25
  mov    -0x50(%rbp),%eax
  and    $0x1f,%eax
  test   %eax,%eax
  jne    L25
  mov    -0x54(%rbp),%eax
  and    $0x1f,%eax
  test   %eax,%eax
  je     L9
L25:
  movl   $0x0,-0x1c(%rbp)
  jmp    L1
L53:
  movl   $0x0,-0x24(%rbp)
  jmp    L126
L129:
  movl   $0x0,-0x20(%rbp)
  jmp    L116
L80:
  mov    -0x24(%rbp),%eax
  imul   -0x50(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x24(%rbp),%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x1c(%rbp),%eax
  imul   -0x50(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x24(%rbp),%eax
  imul   -0x50(%rbp),%eax
  mov    %eax,%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x20(%rbp)
L116:
  mov    -0x20(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jb     L80
  addl   $0x1,-0x24(%rbp)
L126:
  mov    -0x24(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jb     L129
  addl   $0x1,-0x1c(%rbp)
L1:
  mov    -0x1c(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jb     L53
  jmp    L81
L9:
  movl   $0x0,-0x1c(%rbp)
  jmp    L137
L159:
  mov    -0x1c(%rbp),%eax
  imul   -0x50(%rbp),%eax
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L45
L121:
  mov    -0x24(%rbp),%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %rdx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x24(%rbp),%eax
  imul   -0x50(%rbp),%eax
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L63
L109:
  mov    -0x20(%rbp),%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x20(%rbp),%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x50(%rbp),%r8d
  mov    -0x54(%rbp),%ecx
  mov    -0x50(%rbp),%edx
  mov    -0x10(%rbp),%rax
  mov    %r8d,%r9d
  mov    %ecx,%r8d
  mov    %edx,%ecx
  mov    %rsi,%rdx
  mov    %rax,%rsi
  call   <matrix_multiply_block@plt>
  addl   $0x20,-0x20(%rbp)
L63:
  mov    -0x20(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jb     L109
  addl   $0x20,-0x24(%rbp)
L45:
  mov    -0x24(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jb     L121
  addl   $0x20,-0x1c(%rbp)
L137:
  mov    -0x1c(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jb     L159
L81:
  leave
  ret
```

assistant: ```c
void matrix_multiply(double C[], const double A[], const double B[], const unsigned int m, const unsigned int n, const unsigned int q) {
  unsigned int i, j, k;
  memset(C, 0, m * n * sizeof(double));
  if (m % 32 || n % 32 || q % 32) {
    for (k = 0; k < q; ++k) {
      for (i = 0; i < m; ++i) {
        for (j = 0; j < n; ++j) {
          C[i * n + j] += A[i * q + k] * B[k * n + j];
        }
      }
    }
    return;
  }
  for (k = 0; k < q; k += 32) {
    const double *B_k = B + k * n;
    for (i = 0; i < m; i += 32) {
      const double *A_i_k = A + i * q + k;
      double *C_i = C + i * n;
      for (j = 0; j < n; j += 32) {
        matrix_multiply_block(C_i + j, A_i_k, B_k + j, n, q, n);
      }
    }
  }
}
```