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

```asm
<mul_mdmd_md>:
  endbr64
  push   %r15
  mov    %edi,%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xb8,%rsp
  mov    0x100(%rsp),%r14d
  mov    %edi,0x98(%rsp)
  mov    %esi,0x24(%rsp)
  mov    0xf0(%rsp),%ebx
  imul   %r14d,%eax
  mov    %edx,0x5c(%rsp)
  mov    0xf8(%rsp),%ebp
  mov    %rcx,0xa8(%rsp)
  mov    %r8,0x40(%rsp)
  cltq
  mov    %r9,0xa0(%rsp)
  lea    (%r9,%rax,8),%r15
  cmp    %r15,%r9
  je     L63
  movslq 0x5c(%rsp),%rax
  mov    0xa0(%rsp),%rcx
  movslq %r14d,%r13
  shl    $0x3,%r13
  lea    (%rcx,%rax,8),%r12
  nopl   0x0(%rax,%rax,1)
L49:
  cmp    %r12,%rcx
  je     L71
  mov    %r12,%rdx
  mov    %rcx,%rdi
  xor    %esi,%esi
  sub    %rcx,%rdx
  call   <memset@plt>
  mov    %rax,%rcx
L71:
  add    %r13,%rcx
  add    %r13,%r12
  cmp    %rcx,%r15
  jne    L49
L63:
  cmpl   $0x8,0x24(%rsp)
  setle  %dl
  cmpl   $0x8,0x5c(%rsp)
  setle  %al
  test   %al,%dl
  je     L58
  cmpl   $0x8,0x98(%rsp)
  jle    L163
L58:
  mov    0x98(%rsp),%eax
  sub    $0x7,%eax
  mov    %eax,0x88(%rsp)
  test   %eax,%eax
  jle    L198
  lea    0x0(,%rbp,8),%eax
  mov    0x40(%rsp),%rcx
  movl   $0x0,0x48(%rsp)
  cltq
  lea    0x0(,%rax,8),%rsi
  lea    0x0(,%rbx,8),%eax
  cltq
  mov    %rsi,0x10(%rsp)
  shl    $0x3,%rax
  mov    %rax,0x78(%rsp)
  mov    0xa8(%rsp),%rax
  mov    %rax,0x28(%rsp)
  lea    0x0(,%r14,8),%eax
  cltq
  shl    $0x3,%rax
  mov    %rax,0x80(%rsp)
  mov    0xa0(%rsp),%rax
  mov    %rax,0x50(%rsp)
  mov    0x5c(%rsp),%eax
  sub    $0x8,%eax
  shr    $0x3,%eax
  lea    0x1(%rax),%edx
  mov    %rdx,%rax
  shl    $0x6,%rdx
  add    %rdx,%rcx
  mov    %rdx,0x90(%rsp)
  shl    $0x3,%eax
  mov    %rcx,0x30(%rsp)
  mov    0x24(%rsp),%ecx
  mov    %eax,0x8c(%rsp)
  lea    -0x8(%rcx),%edx
  shr    $0x3,%edx
  lea    0x1(%rdx),%ecx
  mov    %rcx,%rdi
  shl    $0x6,%rdi
  mov    %rdi,0x70(%rsp)
  lea    0x0(,%rcx,8),%edi
  imul   %rsi,%rcx
  mov    %edi,0x58(%rsp)
  mov    %rcx,0x38(%rsp)
  xchg   %ax,%ax
L327:
  mov    0x50(%rsp),%r12
  mov    0x28(%rsp),%rax
  cmpl   $0x7,0x5c(%rsp)
  mov    %rax,0x68(%rsp)
  mov    %r12,%r13
  jle    L222
  add    0x70(%rsp),%rax
  mov    %rax,0x8(%rsp)
  mov    0x40(%rsp),%rax
  mov    %rax,0x18(%rsp)
  nopl   0x0(%rax)
L179:
  mov    0x18(%rsp),%r15
  mov    0x28(%rsp),%r13
  xor    %eax,%eax
  cmpl   $0x7,0x24(%rsp)
  mov    %r15,%rdx
  mov    %r13,%rsi
  jle    L156
  mov    %r14d,%eax
  mov    %ebp,%r14d
  mov    %ebx,%ebp
  mov    %r15,%rbx
  mov    %eax,%r15d
  nop
L271:
  mov    %rbx,%rsi
  mov    %r13,%rdi
  mov    %r15d,%r9d
  mov    %r14d,%r8d
  mov    %ebp,%ecx
  mov    %r12,%rdx
  add    $0x40,%r13
  call   <mul_mdmd_md_l1@plt>
  add    0x10(%rsp),%rbx
  cmp    0x8(%rsp),%r13
  jne    L271
  mov    0x8(%rsp),%rsi
  mov    0x58(%rsp),%eax
  mov    %ebp,%ebx
  mov    %r14d,%ebp
  mov    0x18(%rsp),%rdx
  mov    %r15d,%r14d
  add    0x38(%rsp),%rdx
L156:
  cmp    %eax,0x24(%rsp)
  jg     L13
L345:
  addq   $0x40,0x18(%rsp)
  add    $0x40,%r12
  mov    0x18(%rsp),%rax
  cmp    0x30(%rsp),%rax
  jne    L179
  mov    0x30(%rsp),%rax
  mov    0x8c(%rsp),%r15d
  mov    0x50(%rsp),%r13
  add    0x90(%rsp),%r13
  mov    %rax,0x60(%rsp)
L8:
  cmp    %r15d,0x5c(%rsp)
  jg     L243
L99:
  mov    0x78(%rsp),%rcx
  addl   $0x8,0x48(%rsp)
  add    %rcx,0x28(%rsp)
  mov    0x48(%rsp),%eax
  mov    0x80(%rsp),%rcx
  add    %rcx,0x50(%rsp)
  cmp    %eax,0x88(%rsp)
  jg     L327
  mov    0x98(%rsp),%eax
  sub    $0x8,%eax
  shr    $0x3,%eax
  lea    0x8(,%rax,8),%eax
  mov    %eax,0x50(%rsp)
L28:
  mov    0x98(%rsp),%edi
  mov    0x50(%rsp),%esi
  cmp    %esi,%edi
  jle    L316
  mov    %esi,%eax
  mov    0xa0(%rsp),%rcx
  imul   %r14d,%eax
  cltq
  lea    (%rcx,%rax,8),%r15
  mov    %esi,%eax
  mov    0xa8(%rsp),%rcx
  imul   %ebx,%eax
  mov    %r15,0x48(%rsp)
  cltq
  lea    (%rcx,%rax,8),%r11
  mov    0x5c(%rsp),%ecx
  mov    %r11,0x30(%rsp)
  cmp    $0x7,%ecx
  jle    L306
  lea    0x0(,%rbp,8),%eax
  mov    %ebx,0x10(%rsp)
  sub    %esi,%edi
  mov    %r15,%r13
  cltq
  mov    %edi,%r12d
  lea    0x0(,%rax,8),%r10
  lea    -0x8(%rcx),%eax
  mov    0x40(%rsp),%rcx
  shr    $0x3,%eax
  mov    %r10,0x18(%rsp)
  add    $0x1,%eax
  mov    %eax,0x68(%rsp)
  shl    $0x6,%rax
  add    %rax,%rcx
  mov    %rax,0x60(%rsp)
  mov    0x24(%rsp),%eax
  mov    %rcx,0x28(%rsp)
  sub    $0x8,%eax
  shr    $0x3,%eax
  lea    0x1(%rax),%edx
  mov    %rdx,%rax
  mov    %rdx,%rcx
  imul   %r10,%rdx
  shl    $0x6,%rcx
  shl    $0x3,%eax
  add    %r11,%rcx
  mov    %eax,0x58(%rsp)
  mov    %rcx,0x8(%rsp)
  mov    %rdx,0x38(%rsp)
L69:
  mov    0x40(%rsp),%rbx
  mov    0x30(%rsp),%r15
  xor    %eax,%eax
  cmpl   $0x7,0x24(%rsp)
  mov    %rbx,%r8
  mov    %r15,%rcx
  jle    L72
  mov    %ebp,%eax
  mov    %r15,%rbp
  mov    %r13,%r15
  mov    %eax,%r13d
  nopl   (%rax)
L259:
  sub    $0x8,%rsp
  mov    %rbx,%r8
  mov    %rbp,%rcx
  mov    %r15,%r9
  push   %r14
  mov    $0x8,%edx
  mov    $0x8,%esi
  mov    %r12d,%edi
  push   %r13
  mov    0x28(%rsp),%eax
  add    $0x40,%rbp
  push   %rax
  call   <mul_mdmd_md_l1_arb_all@plt>
  add    0x38(%rsp),%rbx
  add    $0x20,%rsp
  cmp    0x8(%rsp),%rbp
  jne    L259
  mov    0x8(%rsp),%rcx
  mov    0x58(%rsp),%eax
  mov    %r13d,%ebp
  mov    %r15,%r13
  mov    0x40(%rsp),%r8
  add    0x38(%rsp),%r8
L72:
  cmp    %eax,0x24(%rsp)
  jg     L122
L50:
  addq   $0x40,0x40(%rsp)
  add    $0x40,%r13
  mov    0x40(%rsp),%rax
  cmp    0x28(%rsp),%rax
  jne    L69
  mov    0x68(%rsp),%eax
  mov    0x60(%rsp),%rsi
  add    %rsi,0x48(%rsp)
  mov    0x10(%rsp),%ebx
  shl    $0x3,%eax
  mov    %eax,0x58(%rsp)
L27:
  mov    0x5c(%rsp),%esi
  mov    0x58(%rsp),%ecx
  cmp    %ecx,%esi
  jle    L316
  mov    0x24(%rsp),%edi
  cmp    $0x7,%edi
  jle    L166
  lea    0x0(,%rbp,8),%eax
  mov    0x28(%rsp),%r8
  sub    %ecx,%esi
  mov    %ebx,0x10(%rsp)
  cltq
  mov    0x98(%rsp),%r13d
  sub    0x50(%rsp),%r13d
  mov    %ebp,0x18(%rsp)
  lea    0x0(,%rax,8),%r15
  lea    -0x8(%rdi),%eax
  mov    %r13d,%r12d
  mov    %r8,%rbp
  shr    $0x3,%eax
  mov    %esi,%r13d
  add    $0x1,%eax
  mov    %eax,0x40(%rsp)
  mov    %rax,0x38(%rsp)
  shl    $0x6,%rax
  mov    %rax,%r10
  mov    0x30(%rsp),%rax
  add    %rax,%r10
  mov    %rax,%rbx
  mov    %r10,0x8(%rsp)
L249:
  sub    $0x8,%rsp
  mov    %rbp,%r8
  mov    %rbx,%rcx
  mov    %r13d,%edx
  push   %r14
  mov    0x28(%rsp),%eax
  mov    $0x8,%esi
  mov    %r12d,%edi
  add    %r15,%rbp
  add    $0x40,%rbx
  push   %rax
  mov    0x28(%rsp),%eax
  push   %rax
  mov    0x68(%rsp),%r9
  call   <mul_mdmd_md_l1_arb_all@plt>
  add    $0x20,%rsp
  cmp    0x8(%rsp),%rbx
  jne    L249
  mov    0x38(%rsp),%r13
  mov    0x40(%rsp),%eax
  mov    0x8(%rsp),%r10
  mov    0x10(%rsp),%ebx
  imul   %r15,%r13
  add    %r13,0x28(%rsp)
  mov    0x18(%rsp),%ebp
  shl    $0x3,%eax
L289:
  cmp    %eax,0x24(%rsp)
  jle    L316
  mov    0x24(%rsp),%esi
  mov    0x48(%rsp),%r9
  mov    %r10,%rcx
  mov    %r14d,0x100(%rsp)
  mov    0x28(%rsp),%r8
  mov    0x5c(%rsp),%edx
  mov    %ebp,0xf8(%rsp)
  mov    %ebx,0xf0(%rsp)
  mov    0x98(%rsp),%edi
  sub    %eax,%esi
  sub    0x58(%rsp),%edx
  sub    0x50(%rsp),%edi
L206:
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10b0 <mul_mdmd_md_l1_arb_all@plt>
L316:
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L13:
  mov    0x24(%rsp),%edi
  sub    $0x8,%rsp
  mov    %ebp,%r9d
  mov    %ebx,%r8d
  push   %r14
  mov    %r12,%rcx
  sub    %eax,%edi
  call   <mul_mdmd_md_l1_arb_k@plt>
  pop    %rax
  pop    %rdx
  jmp    L345
L243:
  cmpl   $0x7,0x24(%rsp)
  jle    L113
  mov    0x28(%rsp),%rax
  add    0x70(%rsp),%rax
  mov    %ebx,0x8(%rsp)
  mov    %r13,%rbx
  mov    0x5c(%rsp),%r12d
  mov    0x60(%rsp),%r8
  mov    %rax,0x18(%rsp)
  mov    %ebp,%r13d
  mov    0x68(%rsp),%rbp
  mov    %r15d,0x9c(%rsp)
  sub    %r15d,%r12d
  mov    %r8,%r15
  nopw   0x0(%rax,%rax,1)
L133:
  sub    $0x8,%rsp
  mov    %r15,%r8
  mov    %rbp,%rcx
  mov    %rbx,%r9
  push   %r14
  mov    %r12d,%edx
  mov    $0x8,%esi
  mov    $0x8,%edi
  push   %r13
  mov    0x20(%rsp),%eax
  add    $0x40,%rbp
  push   %rax
  call   <mul_mdmd_md_l1_arb_all@plt>
  add    0x30(%rsp),%r15
  add    $0x20,%rsp
  cmp    0x18(%rsp),%rbp
  jne    L133
  mov    0x38(%rsp),%rsi
  add    %rsi,0x60(%rsp)
  mov    %r13d,%ebp
  mov    %rbx,%r13
  mov    0x9c(%rsp),%r15d
  mov    0x8(%rsp),%ebx
  mov    0x58(%rsp),%eax
L184:
  cmp    %eax,0x24(%rsp)
  jle    L99
  mov    0x5c(%rsp),%edx
  mov    0x24(%rsp),%esi
  sub    $0x8,%rsp
  mov    %r13,%r9
  push   %r14
  mov    $0x8,%edi
  push   %rbp
  sub    %r15d,%edx
  sub    %eax,%esi
  push   %rbx
  mov    0x80(%rsp),%r8
  mov    0x38(%rsp),%rcx
  call   <mul_mdmd_md_l1_arb_all@plt>
  add    $0x20,%rsp
  jmp    L99
L222:
  mov    0x40(%rsp),%rax
  xor    %r15d,%r15d
  mov    %rax,0x60(%rsp)
  jmp    L8
L122:
  mov    0x24(%rsp),%esi
  sub    $0x8,%rsp
  mov    %r13,%r9
  mov    $0x8,%edx
  push   %r14
  mov    %r12d,%edi
  push   %rbp
  sub    %eax,%esi
  mov    0x28(%rsp),%eax
  push   %rax
  call   <mul_mdmd_md_l1_arb_all@plt>
  add    $0x20,%rsp
  jmp    L50
L113:
  mov    0x28(%rsp),%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  jmp    L184
L163:
  mov    %r14d,0x100(%rsp)
  mov    0xa0(%rsp),%r9
  mov    0x40(%rsp),%r8
  mov    %ebp,0xf8(%rsp)
  mov    0x5c(%rsp),%edx
  mov    0x24(%rsp),%esi
  mov    %ebx,0xf0(%rsp)
  mov    0xa8(%rsp),%rcx
  mov    0x98(%rsp),%edi
  jmp    L206
L198:
  movl   $0x0,0x50(%rsp)
  jmp    L28
L306:
  mov    0x40(%rsp),%rax
  movl   $0x0,0x58(%rsp)
  mov    %rax,0x28(%rsp)
  jmp    L27
L166:
  mov    0x30(%rsp),%r10
  xor    %eax,%eax
  jmp    L289
```

assistant: ```c
void mul_mdmd_md(const int M, const int K, const int N, const double *const A, const double *const B, double *const C, const int Astride, const int Bstride, const int Cstride) {
  int m2, k2, n2;
  const double *a2, *b2;
  double *c2;
  const double *ap2, *bp2;
  double *cp2;
  {
    double *cprb, *cpre, *cp, *cpe;
    cpre = C + M * Cstride;
    for (cprb = C; cprb != cpre; cprb += Cstride) {
      cpe = cprb + N;
      for (cp = cprb; cp != cpe; cp++) {
        *cp = 0.0;
      }
    }
  }
  if (M < 9 && K < 9 && N < 9) {
    mul_mdmd_md_l1_arb_all(M, K, N, A, B, C, Astride, Bstride, Cstride);
    return;
  }
  for (m2 = 0; m2 <= M - 8; m2 += 8) {
    c2 = C + m2 * Cstride;
    a2 = A + m2 * Astride;
    for (n2 = 0, b2 = B, cp2 = c2; n2 <= N - 8; n2 += 8, b2 += 8, cp2 += 8) {
      for (k2 = 0, bp2 = b2, ap2 = a2; k2 <= K - 8; k2 += 8, bp2 += 8 * Bstride, ap2 += 8) {
        mul_mdmd_md_l1(ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
      if (k2 < K) {
        mul_mdmd_md_l1_arb_k(K - k2, ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
    }
    if (n2 < N) {
      for (k2 = 0, bp2 = b2, ap2 = a2; k2 <= K - 8; k2 += 8, bp2 += 8 * Bstride, ap2 += 8) {
        mul_mdmd_md_l1_arb_all(8, 8, N - n2, ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
      if (k2 < K) {
        mul_mdmd_md_l1_arb_all(8, K - k2, N - n2, ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
    }
  }
  if (m2 < M) {
    c2 = C + m2 * Cstride;
    a2 = A + m2 * Astride;
    for (n2 = 0, b2 = B, cp2 = c2; n2 <= N - 8; n2 += 8, b2 += 8, cp2 += 8) {
      for (k2 = 0, bp2 = b2, ap2 = a2; k2 <= K - 8; k2 += 8, bp2 += 8 * Bstride, ap2 += 8) {
        mul_mdmd_md_l1_arb_all(M - m2, 8, 8, ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
      if (k2 < K) {
        mul_mdmd_md_l1_arb_all(M - m2, K - k2, 8, ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
    }
    if (n2 < N) {
      for (k2 = 0, bp2 = b2, ap2 = a2; k2 <= K - 8; k2 += 8, bp2 += 8 * Bstride, ap2 += 8) {
        mul_mdmd_md_l1_arb_all(M - m2, 8, N - n2, ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
      if (k2 < K) {
        mul_mdmd_md_l1_arb_all(M - m2, K - k2, N - n2, ap2, bp2, cp2, Astride, Bstride, Cstride);
      }
    }
  }
}
```