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

```asm
<mm_double_TN_c>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %esi,%r15d
  mov    %edx,%eax
  mov    %rcx,-0x28(%rsp)
  mov    %r8,-0x30(%rsp)
  mov    %r9,-0x20(%rsp)
  movapd %xmm0,%xmm4
  lea    -0x1(%rsi),%edx
  and    $0x3,%edx
  cmp    $0x4,%esi
  cmovle %esi,%edx
  mov    %edx,%ebx
  mov    %edx,-0x14(%rsp)
  mov    %esi,%edx
  sub    %ebx,%edx
  imul   0x38(%rsp),%edx
  mov    %edx,-0x10(%rsp)
  movslq %eax,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  mov    %edx,%ebx
  sub    %ecx,%ebx
  lea    (%rbx,%rbx,2),%edx
  mov    %eax,%ebx
  sub    %edx,%ebx
  mov    %ebx,-0x4(%rsp)
  mov    %edx,-0x8(%rsp)
  imul   0x48(%rsp),%edi
  movslq %edi,%rdx
  lea    (%r9,%rdx,8),%r8
  mov    %r8,-0x48(%rsp)
  ucomisd D18(%rip),%xmm1
  jp     L79
  jne    L79
  cmp    %r8,%r9
  je     L96
  movslq 0x48(%rsp),%rsi
  shl    $0x3,%rsi
  cltq
  lea    (%r9,%rax,8),%rdi
  mov    %r9,%rcx
L327:
  mov    %rdi,%rdx
  cmp    %rdi,%rcx
  je     L45
  mov    %rcx,%rax
L379:
  movq   $0x0,(%rax)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L379
L45:
  add    %rsi,%rcx
  add    %rsi,%rdi
  cmp    %rcx,%r8
  jne    L327
L164:
  movslq 0x40(%rsp),%rdx
  lea    0x0(,%rdx,8),%rsi
  movslq 0x38(%rsp),%rax
  lea    0x0(,%rax,8),%r8
  movslq 0x48(%rsp),%rcx
  lea    0x0(,%rcx,8),%rbx
  mov    %rbx,-0x38(%rsp)
  movslq -0x8(%rsp),%rcx
  mov    -0x20(%rsp),%rdi
  lea    (%rdi,%rcx,8),%rbx
  mov    %rbx,-0x40(%rsp)
  movslq -0x10(%rsp),%rcx
  mov    -0x28(%rsp),%rbx
  lea    (%rbx,%rcx,8),%r10
  mov    %rdx,%rcx
  shl    $0x5,%rcx
  mov    %rcx,-0x70(%rsp)
  lea    (%rdx,%rdx,2),%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    %rcx,-0x50(%rsp)
  lea    (%rax,%rax,2),%r11
  shl    $0x3,%r11
  shl    $0x5,%rax
  mov    %rax,-0x68(%rsp)
  mov    %rdi,-0x60(%rsp)
  pxor   %xmm5,%xmm5
  mov    -0x14(%rsp),%eax
  mov    %eax,%r14d
  and    $0x4,%r14d
  mov    %eax,%r13d
  and    $0x2,%r13d
  and    $0x1,%eax
  mov    %eax,%r12d
  jmp    L101
L79:
  ucomisd D11(%rip),%xmm1
  jp     L34
  jne    L34
  mov    -0x48(%rsp),%rbx
  cmp    %rbx,-0x20(%rsp)
  jne    L164
L96:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L34:
  mov    -0x20(%rsp),%rbx
  mov    -0x48(%rsp),%r8
  cmp    %r8,%rbx
  je     L96
  movslq 0x48(%rsp),%rdx
  lea    0x0(,%rdx,8),%rdi
  cltq
  lea    (%rbx,%rax,8),%rsi
  mov    %rbx,%rcx
L380:
  mov    %rsi,%rdx
  cmp    %rsi,%rcx
  je     L219
  mov    %rcx,%rax
L297:
  movapd %xmm1,%xmm0
  mulsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L297
L219:
  add    %rdi,%rcx
  add    %rdi,%rsi
  cmp    %rcx,%r8
  jne    L380
  jmp    L164
L289:
  movsd  (%r9),%xmm2
  movsd  0x8(%r9),%xmm1
  movsd  0x10(%r9),%xmm0
  movsd  (%rbx),%xmm9
  lea    (%rsi,%r9,1),%rdx
  mov    -0x50(%rsp),%rax
  lea    (%r9,%rax,1),%rcx
  mov    -0x58(%rsp),%rax
  movapd %xmm5,%xmm7
  movapd %xmm5,%xmm8
  movapd %xmm5,%xmm3
L363:
  mulsd  %xmm9,%xmm2
  addsd  %xmm2,%xmm3
  mulsd  %xmm9,%xmm1
  movapd %xmm1,%xmm2
  addsd  %xmm8,%xmm2
  mulsd  %xmm9,%xmm0
  addsd  %xmm7,%xmm0
  movsd  (%rax),%xmm1
  movapd %xmm1,%xmm7
  mulsd  (%rdx),%xmm7
  addsd  %xmm3,%xmm7
  movapd %xmm1,%xmm3
  mulsd  0x8(%rdx),%xmm3
  addsd  %xmm2,%xmm3
  mulsd  0x10(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  (%rax,%r8,1),%xmm1
  movapd %xmm1,%xmm6
  mulsd  (%rdx,%rsi,1),%xmm6
  addsd  %xmm7,%xmm6
  movapd %xmm1,%xmm2
  mulsd  0x8(%rdx,%rsi,1),%xmm2
  addsd  %xmm3,%xmm2
  mulsd  0x10(%rdx,%rsi,1),%xmm1
  addsd  %xmm0,%xmm1
  movsd  (%rax,%r8,2),%xmm0
  movapd %xmm0,%xmm3
  mulsd  (%rcx),%xmm3
  addsd  %xmm6,%xmm3
  movapd %xmm0,%xmm8
  mulsd  0x8(%rcx),%xmm8
  addsd  %xmm2,%xmm8
  mulsd  0x10(%rcx),%xmm0
  movapd %xmm0,%xmm7
  addsd  %xmm1,%xmm7
  movsd  (%rcx,%rsi,1),%xmm2
  movsd  0x8(%rcx,%rsi,1),%xmm1
  movsd  0x10(%rcx,%rsi,1),%xmm0
  movsd  (%rax,%r11,1),%xmm9
  add    -0x68(%rsp),%rax
  add    -0x70(%rsp),%rdx
  add    -0x70(%rsp),%rcx
  cmp    %r10,%rax
  jne    L363
  mulsd  %xmm9,%xmm2
  addsd  %xmm3,%xmm2
  mulsd  %xmm9,%xmm1
  addsd  %xmm8,%xmm1
  mulsd  %xmm9,%xmm0
  addsd  %xmm7,%xmm0
  jmp    L148
L433:
  mulsd  %xmm4,%xmm2
  addsd  (%rdi),%xmm2
  movsd  %xmm2,(%rdi)
  mulsd  %xmm4,%xmm1
  addsd  0x8(%rdi),%xmm1
  movsd  %xmm1,0x8(%rdi)
  mulsd  %xmm4,%xmm0
  addsd  0x10(%rdi),%xmm0
  movsd  %xmm0,0x10(%rdi)
  add    $0x18,%r9
  add    $0x18,%rdi
  cmp    %rbp,%rdi
  je     L46
L273:
  cmp    $0x4,%r15d
  jg     L289
  mov    %r9,%rdx
  mov    %rbx,%rax
  pxor   %xmm0,%xmm0
  movapd %xmm0,%xmm1
  movapd %xmm0,%xmm2
L148:
  test   %r14d,%r14d
  je     L439
  lea    (%rdx,%rsi,1),%rcx
  movsd  (%rax),%xmm3
  movapd %xmm3,%xmm7
  mulsd  (%rdx),%xmm7
  addsd  %xmm2,%xmm7
  movapd %xmm3,%xmm2
  mulsd  0x8(%rdx),%xmm2
  addsd  %xmm2,%xmm1
  mulsd  0x10(%rdx),%xmm3
  addsd  %xmm0,%xmm3
  add    %r8,%rax
  lea    (%rcx,%rsi,1),%rdx
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm6
  mulsd  (%rcx),%xmm6
  addsd  %xmm7,%xmm6
  movapd %xmm0,%xmm2
  mulsd  0x8(%rcx),%xmm2
  addsd  %xmm1,%xmm2
  mulsd  0x10(%rcx),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm3,%xmm1
  add    %r8,%rax
  lea    (%rdx,%rsi,1),%rcx
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm7
  mulsd  (%rdx),%xmm7
  addsd  %xmm6,%xmm7
  movapd %xmm0,%xmm6
  mulsd  0x8(%rdx),%xmm6
  addsd  %xmm2,%xmm6
  mulsd  0x10(%rdx),%xmm0
  movapd %xmm0,%xmm3
  addsd  %xmm1,%xmm3
  add    %r8,%rax
  lea    (%rcx,%rsi,1),%rdx
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm2
  mulsd  (%rcx),%xmm2
  addsd  %xmm7,%xmm2
  movapd %xmm0,%xmm1
  mulsd  0x8(%rcx),%xmm1
  addsd  %xmm6,%xmm1
  mulsd  0x10(%rcx),%xmm0
  addsd  %xmm3,%xmm0
  add    %r8,%rax
L439:
  test   %r13d,%r13d
  je     L294
  lea    (%rdx,%rsi,1),%rcx
  movsd  (%rax),%xmm3
  movapd %xmm3,%xmm7
  mulsd  (%rdx),%xmm7
  addsd  %xmm2,%xmm7
  movapd %xmm3,%xmm6
  mulsd  0x8(%rdx),%xmm6
  addsd  %xmm1,%xmm6
  mulsd  0x10(%rdx),%xmm3
  addsd  %xmm0,%xmm3
  add    %r8,%rax
  lea    (%rcx,%rsi,1),%rdx
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm2
  mulsd  (%rcx),%xmm2
  addsd  %xmm7,%xmm2
  movapd %xmm0,%xmm1
  mulsd  0x8(%rcx),%xmm1
  addsd  %xmm6,%xmm1
  mulsd  0x10(%rcx),%xmm0
  addsd  %xmm3,%xmm0
  add    %r8,%rax
L294:
  test   %r12d,%r12d
  je     L433
  movsd  (%rax),%xmm3
  movapd %xmm3,%xmm6
  mulsd  (%rdx),%xmm6
  addsd  %xmm6,%xmm2
  movapd %xmm3,%xmm6
  mulsd  0x8(%rdx),%xmm6
  addsd  %xmm6,%xmm1
  mulsd  0x10(%rdx),%xmm3
  addsd  %xmm3,%xmm0
  jmp    L433
L46:
  mov    -0x38(%rsp),%rdi
  add    %rdi,-0x60(%rsp)
  mov    -0x60(%rsp),%rax
  add    $0x8,%rbx
  add    %rdi,-0x40(%rsp)
  add    $0x8,%r10
  cmp    %rax,-0x48(%rsp)
  je     L230
L101:
  mov    -0x40(%rsp),%rax
  mov    %rax,%rbp
  mov    -0x60(%rsp),%rdi
  cmp    %rax,%rdi
  je     L46
  lea    (%rbx,%r8,1),%rax
  mov    %rax,-0x58(%rsp)
  mov    -0x30(%rsp),%r9
  jmp    L273
L230:
  mov    -0x20(%rsp),%rbx
  mov    -0x48(%rsp),%rax
  cmp    %rax,%rbx
  je     L96
  movslq -0x8(%rsp),%rax
  shl    $0x3,%rax
  mov    -0x30(%rsp),%r11
  add    %rax,%r11
  movslq 0x40(%rsp),%r10
  lea    0x0(,%r10,8),%rcx
  lea    (%r11,%rcx,1),%r14
  mov    %r14,-0x20(%rsp)
  movslq 0x38(%rsp),%rdx
  lea    0x0(,%rdx,8),%rsi
  lea    0x10(%r11),%rdi
  mov    %rdi,-0x30(%rsp)
  movslq 0x48(%rsp),%rdi
  shl    $0x3,%rdi
  mov    %rdi,-0x60(%rsp)
  movslq -0x10(%rsp),%rdi
  mov    -0x28(%rsp),%r9
  lea    (%r9,%rdi,8),%r8
  lea    0x10(%rbx,%rax,1),%rdi
  mov    %r10,%rbx
  shl    $0x5,%rbx
  mov    %rbx,-0x68(%rsp)
  mov    %r10,%rbx
  shl    $0x4,%rbx
  add    %r14,%rbx
  mov    %rbx,-0x10(%rsp)
  lea    (%rdx,%rdx,2),%r9
  shl    $0x3,%r9
  shl    $0x5,%rdx
  mov    %rdx,-0x70(%rsp)
  lea    (%r10,%r10,2),%rbx
  shl    $0x3,%rbx
  mov    -0x4(%rsp),%r12d
  mov    %r12d,%ebp
  and    $0x2,%ebp
  mov    -0x14(%rsp),%edx
  mov    %edx,%r13d
  and    $0x4,%r13d
  mov    %edx,%r14d
  and    $0x2,%r14d
  and    $0x1,%edx
  mov    %edx,-0x40(%rsp)
  and    $0x1,%r12d
  mov    %r12d,-0x58(%rsp)
  mov    $0xfffffffffffffff0,%rdx
  sub    %rax,%rdx
  mov    %rdx,-0x50(%rsp)
  mov    %r15d,-0x38(%rsp)
  mov    -0x28(%rsp),%r10
  jmp    L264
L206:
  movsd  (%r11),%xmm2
  movsd  0x8(%r11),%xmm0
  movsd  (%r10),%xmm5
  lea    (%r10,%rsi,1),%rax
  mov    -0x10(%rsp),%r12
  mov    -0x20(%rsp),%rdx
  pxor   %xmm1,%xmm1
  movapd %xmm1,%xmm3
  mov    -0x68(%rsp),%r15
L42:
  mulsd  %xmm5,%xmm2
  addsd  %xmm3,%xmm2
  mulsd  %xmm5,%xmm0
  addsd  %xmm1,%xmm0
  movsd  (%rax),%xmm1
  movapd %xmm1,%xmm3
  mulsd  (%rdx),%xmm3
  addsd  %xmm2,%xmm3
  mulsd  0x8(%rdx),%xmm1
  addsd  %xmm0,%xmm1
  movsd  (%rax,%rsi,1),%xmm0
  movapd %xmm0,%xmm2
  mulsd  (%rdx,%rcx,1),%xmm2
  addsd  %xmm3,%xmm2
  mulsd  0x8(%rdx,%rcx,1),%xmm0
  addsd  %xmm0,%xmm1
  movsd  (%rax,%rsi,2),%xmm0
  movapd %xmm0,%xmm3
  mulsd  (%r12),%xmm3
  addsd  %xmm2,%xmm3
  mulsd  0x8(%r12),%xmm0
  addsd  %xmm0,%xmm1
  movsd  (%r12,%rcx,1),%xmm2
  movsd  0x8(%r12,%rcx,1),%xmm0
  movsd  (%rax,%r9,1),%xmm5
  add    -0x70(%rsp),%rax
  add    %r15,%rdx
  add    %r15,%r12
  cmp    %r8,%rax
  jne    L42
  mulsd  %xmm5,%xmm2
  addsd  %xmm3,%xmm2
  mulsd  %xmm5,%xmm0
  addsd  %xmm1,%xmm0
  jmp    L367
L59:
  movsd  (%rdx),%xmm0
  movsd  (%r10),%xmm2
  add    %rcx,%rdx
  lea    (%r10,%rsi,1),%rax
  pxor   %xmm1,%xmm1
L63:
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  addsd  %xmm0,%xmm1
  movsd  (%rdx,%rcx,1),%xmm0
  mulsd  (%rax,%rsi,1),%xmm0
  addsd  %xmm1,%xmm0
  movsd  (%rdx,%rcx,2),%xmm1
  mulsd  (%rax,%rsi,2),%xmm1
  addsd  %xmm0,%xmm1
  movsd  (%rdx,%rbx,1),%xmm0
  movsd  (%rax,%r9,1),%xmm2
  add    -0x70(%rsp),%rax
  add    -0x68(%rsp),%rdx
  cmp    %r8,%rax
  jne    L63
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  jmp    L18
L186:
  mulsd  %xmm4,%xmm0
  addsd  (%r12),%xmm0
  movsd  %xmm0,(%r12)
L426:
  add    $0x8,%r10
  add    $0x8,%r8
  add    -0x60(%rsp),%rdi
  mov    -0x50(%rsp),%rax
  add    %rdi,%rax
  cmp    %rax,-0x48(%rsp)
  je     L96
L264:
  lea    -0x10(%rdi),%r12
  mov    %r11,%rdx
  test   %ebp,%ebp
  je     L312
  cmpl   $0x4,-0x38(%rsp)
  jg     L206
  mov    %r10,%rax
  pxor   %xmm0,%xmm0
  movapd %xmm0,%xmm2
L367:
  test   %r13d,%r13d
  je     L308
  lea    (%rdx,%rcx,1),%r12
  movsd  (%rax),%xmm1
  movapd %xmm1,%xmm3
  mulsd  (%rdx),%xmm3
  addsd  %xmm2,%xmm3
  mulsd  0x8(%rdx),%xmm1
  addsd  %xmm0,%xmm1
  add    %rsi,%rax
  lea    (%r12,%rcx,1),%rdx
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm2
  mulsd  (%r12),%xmm2
  addsd  %xmm3,%xmm2
  mulsd  0x8(%r12),%xmm0
  addsd  %xmm0,%xmm1
  add    %rsi,%rax
  lea    (%rdx,%rcx,1),%r12
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm3
  mulsd  (%rdx),%xmm3
  addsd  %xmm2,%xmm3
  mulsd  0x8(%rdx),%xmm0
  addsd  %xmm0,%xmm1
  add    %rsi,%rax
  lea    (%r12,%rcx,1),%rdx
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm2
  mulsd  (%r12),%xmm2
  addsd  %xmm3,%xmm2
  mulsd  0x8(%r12),%xmm0
  addsd  %xmm1,%xmm0
  add    %rsi,%rax
L308:
  test   %r14d,%r14d
  je     L139
  lea    (%rdx,%rcx,1),%r12
  movsd  (%rax),%xmm1
  movapd %xmm1,%xmm3
  mulsd  (%rdx),%xmm3
  addsd  %xmm2,%xmm3
  mulsd  0x8(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  add    %rsi,%rax
  lea    (%r12,%rcx,1),%rdx
  movsd  (%rax),%xmm1
  movapd %xmm1,%xmm2
  mulsd  (%r12),%xmm2
  addsd  %xmm3,%xmm2
  mulsd  0x8(%r12),%xmm1
  addsd  %xmm1,%xmm0
  add    %rsi,%rax
L139:
  cmpl   $0x0,-0x40(%rsp)
  je     L366
  movsd  (%rax),%xmm1
  movapd %xmm1,%xmm3
  mulsd  (%rdx),%xmm3
  addsd  %xmm3,%xmm2
  mulsd  0x8(%rdx),%xmm1
  addsd  %xmm1,%xmm0
L366:
  mov    %rdi,%r12
  mulsd  %xmm4,%xmm2
  addsd  -0x10(%rdi),%xmm2
  movsd  %xmm2,-0x10(%rdi)
  mulsd  %xmm4,%xmm0
  addsd  -0x8(%rdi),%xmm0
  movsd  %xmm0,-0x8(%rdi)
  mov    -0x30(%rsp),%rdx
L312:
  cmpl   $0x0,-0x58(%rsp)
  je     L426
  mov    %r10,%rax
  pxor   %xmm0,%xmm0
  cmpl   $0x4,-0x38(%rsp)
  jg     L59
L18:
  test   %r13d,%r13d
  je     L419
  lea    (%rdx,%rcx,1),%r15
  movsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  addsd  %xmm0,%xmm1
  add    %rsi,%rax
  lea    (%r15,%rcx,1),%rdx
  movsd  (%r15),%xmm0
  mulsd  (%rax),%xmm0
  addsd  %xmm1,%xmm0
  add    %rsi,%rax
  lea    (%rdx,%rcx,1),%r15
  movsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  addsd  %xmm0,%xmm1
  add    %rsi,%rax
  lea    (%r15,%rcx,1),%rdx
  movsd  (%r15),%xmm0
  mulsd  (%rax),%xmm0
  addsd  %xmm1,%xmm0
  add    %rsi,%rax
L419:
  test   %r14d,%r14d
  je     L73
  lea    (%rdx,%rcx,1),%r15
  movsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  addsd  %xmm1,%xmm0
  add    %rsi,%rax
  lea    (%r15,%rcx,1),%rdx
  movsd  (%r15),%xmm1
  mulsd  (%rax),%xmm1
  addsd  %xmm1,%xmm0
  add    %rsi,%rax
L73:
  cmpl   $0x0,-0x40(%rsp)
  je     L186
  movsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  addsd  %xmm1,%xmm0
  jmp    L186
```

tool_calls: name: retrieve_data
arguments: data_label: D18
type_guessed: f64
name: retrieve_data
arguments: data_label: D11
type_guessed: f64

tool: D18: 0

tool: D11: 1

assistant: ```c
void mm_double_TN_c(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, const double alpha, const double beta) {
  const double *a;
  const double *b;
  double *c;
  const double *ap;
  const double *bp;
  double *cp;
  const int C_sbs_stride = Cstride * 1;
  const int k_marg_el = ((K >= 5) ? ((K - 1) & 3) : K);
  const int k_norm = (K - k_marg_el) * Astride;
  const int m_marg_el = M & 0;
  const int m_norm = M - m_marg_el;
  const int n_marg_el = N % 3;
  const int n_norm = N - n_marg_el;
  double *const c_endp = C + m_norm * Cstride;
  register double c0_0, c0_1, c0_2;
  register double t0_0, t0_1, t0_2;
  if (beta == 0.0) {
    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;
      }
    }
  } else if (beta != 1.0) {
    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 *= (beta);
      }
    }
  }
  for (c = C, a = A; c != c_endp; c += C_sbs_stride, a += 1) {
    const double *const ap_endp = a + k_norm;
    double *const cp_endp = c + n_norm;
    for (b = B, cp = c; cp != cp_endp; b += 3, cp += 3) {
      register double _b0, _b1, _b2;
      register double _a0;
      double *_cp;
      ap = a;
      bp = b;
      c0_0 = 0.0;
      c0_1 = 0.0;
      c0_2 = 0.0;
      if (K >= 5) {
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        _a0 = ap[0];
        bp += Bstride;
        ap += Astride;
        do {
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          t0_2 = _a0 * _b2;
          c0_0 += t0_0;
          c0_1 += t0_1;
          c0_2 += t0_2;
          _b0 = bp[0];
          _b1 = bp[1];
          _b2 = bp[2];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          t0_2 = _a0 * _b2;
          c0_0 += t0_0;
          c0_1 += t0_1;
          c0_2 += t0_2;
          _b0 = bp[0];
          _b1 = bp[1];
          _b2 = bp[2];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          t0_2 = _a0 * _b2;
          c0_0 += t0_0;
          c0_1 += t0_1;
          c0_2 += t0_2;
          _b0 = bp[0];
          _b1 = bp[1];
          _b2 = bp[2];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          t0_2 = _a0 * _b2;
          c0_0 += t0_0;
          c0_1 += t0_1;
          c0_2 += t0_2;
          _b0 = bp[0];
          _b1 = bp[1];
          _b2 = bp[2];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
        } while (ap != ap_endp);
        t0_0 = _a0 * _b0;
        t0_1 = _a0 * _b1;
        t0_2 = _a0 * _b2;
        c0_0 += t0_0;
        c0_1 += t0_1;
        c0_2 += t0_2;
      }
      if (k_marg_el & 0x4) {
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap += Astride;
      }
      if (k_marg_el & 0x2) {
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap += Astride;
      }
      if (k_marg_el & 0x1) {
        _b0 = bp[0];
        _b1 = bp[1];
        _b2 = bp[2];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap += Astride;
      }
      _cp = cp;
      _cp[0] += alpha * c0_0;
      _cp[1] += alpha * c0_1;
      _cp[2] += alpha * c0_2;
    }
  }
  for (c = C, a = A; c != c_endp; c += C_sbs_stride, a += 1) {
    const double *const ap_endp = a + k_norm;
    b = B + n_norm;
    cp = c + n_norm;
    if (n_marg_el & 0x2) {
      register double _b0, _b1;
      register double _a0;
      double *_cp;
      ap = a;
      bp = b;
      c0_0 = 0.0;
      c0_1 = 0.0;
      if (K >= 5) {
        _b0 = bp[0];
        _b1 = bp[1];
        _a0 = ap[0];
        bp += Bstride;
        ap += Astride;
        do {
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp[0];
          _b1 = bp[1];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp[0];
          _b1 = bp[1];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp[0];
          _b1 = bp[1];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp[0];
          _b1 = bp[1];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
        } while (ap != ap_endp);
        t0_0 = _a0 * _b0;
        t0_1 = _a0 * _b1;
        c0_0 += t0_0;
        c0_1 += t0_1;
      }
      if (k_marg_el & 0x4) {
        _b0 = bp[0];
        _b1 = bp[1];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap += Astride;
      }
      if (k_marg_el & 0x2) {
        _b0 = bp[0];
        _b1 = bp[1];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap += Astride;
        _b0 = bp[0];
        _b1 = bp[1];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap += Astride;
      }
      if (k_marg_el & 0x1) {
        _b0 = bp[0];
        _b1 = bp[1];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap += Astride;
      }
      _cp = cp;
      _cp[0] += alpha * c0_0;
      _cp[1] += alpha * c0_1;
      b += 2;
      cp += 2;
    }
    if (n_marg_el & 0x1) {
      register double _b0;
      register double _a0;
      double *_cp;
      ap = a;
      bp = b;
      c0_0 = 0.0;
      if (K >= 5) {
        _b0 = bp[0];
        _a0 = ap[0];
        bp += Bstride;
        ap += Astride;
        do {
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp[0];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp[0];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp[0];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp[0];
          _a0 = ap[0];
          ap += Astride;
          bp += Bstride;
        } while (ap != ap_endp);
        t0_0 = _a0 * _b0;
        c0_0 += t0_0;
      }
      if (k_marg_el & 0x4) {
        _b0 = bp[0];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        ap += Astride;
        _b0 = bp[0];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        ap += Astride;
        _b0 = bp[0];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        ap += Astride;
        _b0 = bp[0];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        ap += Astride;
      }
      if (k_marg_el & 0x2) {
        _b0 = bp[0];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        ap += Astride;
        _b0 = bp[0];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        ap += Astride;
      }
      if (k_marg_el & 0x1) {
        _b0 = bp[0];
        bp += Bstride;
        _a0 = ap[0];
        c0_0 += _a0 * _b0;
        ap += Astride;
      }
      _cp = cp;
      _cp[0] += alpha * c0_0;
    }
  }
}
```