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

```asm
<MyGemm>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %esi,-0x3c(%rsp)
  mov    %r9,-0x38(%rsp)
  test   %esi,%esi
  jle    L98
  mov    %edx,%eax
  test   %edx,%edx
  jle    L98
  mov    %edi,%ebx
  test   %edi,%edi
  jle    L98
  movslq %r8d,%rdx
  mov    %rcx,%r11
  mov    %r9,%rcx
  sub    $0x1,%eax
  lea    0x0(,%rdx,8),%r15
  mov    %edi,%edx
  and    $0xfffffffe,%edi
  mov    %rax,-0x30(%rsp)
  mov    %edi,%r9d
  lea    0x8(%rcx),%rdi
  shr    %edx
  lea    -0x1(%rbx),%eax
  mov    %rdi,-0x18(%rsp)
  movslq %ebx,%rdi
  lea    -0x1(%rdx),%r12d
  mov    %r8d,%r14d
  mov    %rdi,-0x20(%rsp)
  mov    0x40(%rsp),%rdi
  add    $0x1,%r12
  movl   $0x0,-0x40(%rsp)
  shl    $0x4,%r12
  add    $0x8,%rdi
  movl   $0x0,-0x44(%rsp)
  movl   $0x0,-0x48(%rsp)
  mov    %rdi,-0x10(%rsp)
  mov    %rax,-0x28(%rsp)
  nopl   0x0(%rax)
L78:
  movslq -0x44(%rsp),%rax
  mov    -0x38(%rsp),%rdi
  xor    %r8d,%r8d
  mov    -0x18(%rsp),%rdx
  movslq -0x40(%rsp),%rcx
  lea    (%rdi,%rax,8),%rbp
  add    -0x30(%rsp),%rax
  mov    0x40(%rsp),%r10
  mov    %r11,%rdi
  lea    (%rdx,%rax,8),%rax
  mov    -0x20(%rsp),%rdx
  mov    -0x10(%rsp),%rsi
  mov    %rax,-0x58(%rsp)
  mov    0x40(%rsp),%rax
  add    %rcx,%rdx
  lea    (%r10,%rdx,8),%rdx
  lea    (%rax,%rcx,8),%rax
  mov    %rdx,-0x50(%rsp)
  lea    (%r9,%rcx,1),%edx
  add    -0x28(%rsp),%rcx
  movslq %edx,%rdx
  lea    (%rsi,%rcx,8),%r13
  lea    (%r10,%rdx,8),%rdx
  nopl   0x0(%rax)
L72:
  lea    0x8(%rdi),%rsi
  mov    %rbp,%rcx
  add    $0x8,%rbp
  cmp    %rsi,%rax
  setne  %r10b
  cmp    $0x1,%ebx
  setne  %sil
  test   %sil,%r10b
  je     L40
  cmp    %rcx,-0x50(%rsp)
  setbe  %r10b
  cmp    %rbp,%rax
  setae  %sil
  or     %r10b,%sil
  je     L40
  movsd  (%rcx),%xmm1
  xor    %esi,%esi
  unpcklpd %xmm1,%xmm1
  nopl   (%rax)
L74:
  movupd (%rdi,%rsi,1),%xmm0
  movupd (%rax,%rsi,1),%xmm2
  mulpd  %xmm1,%xmm0
  addpd  %xmm2,%xmm0
  movups %xmm0,(%rax,%rsi,1)
  add    $0x10,%rsi
  cmp    %r12,%rsi
  jne    L74
  cmp    %r9d,%ebx
  je     L95
  lea    (%r8,%r9,1),%esi
  movslq %esi,%rsi
  movsd  (%r11,%rsi,8),%xmm0
  mulsd  (%rcx),%xmm0
  addsd  (%rdx),%xmm0
  movsd  %xmm0,(%rdx)
L95:
  add    %r15,%rdi
  add    %r14d,%r8d
  cmp    -0x58(%rsp),%rbp
  jne    L72
  mov    0x38(%rsp),%edx
  addl   $0x1,-0x48(%rsp)
  add    %edx,-0x44(%rsp)
  mov    -0x48(%rsp),%eax
  mov    0x48(%rsp),%edx
  add    %edx,-0x40(%rsp)
  cmp    %eax,-0x3c(%rsp)
  jne    L78
L98:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L40:
  mov    %rdi,%r10
  mov    %rax,%rsi
  xchg   %ax,%ax
L31:
  movsd  (%r10),%xmm0
  mulsd  (%rcx),%xmm0
  add    $0x8,%rsi
  add    $0x8,%r10
  addsd  -0x8(%rsi),%xmm0
  movsd  %xmm0,-0x8(%rsi)
  cmp    %rsi,%r13
  jne    L31
  jmp    L95
```

assistant: ```c
void MyGemm(int m, int n, int k, double *A, int ldA, double *B, int ldB, double *C, int ldC) {
  for (int j = 0; j < n; j++)
    for (int p = 0; p < k; p++)
      for (int i = 0; i < m; i++)
        C[(j)*ldC + i] += A[(p)*ldA + i] * B[(j)*ldB + p];
}
```