user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<mm_double_NT_c>:
  endbr64
  push   %r15
  mov    %edi,%eax
  movapd %xmm0,%xmm4
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    0xd8(%rsp),%ebx
  mov    %rcx,0x58(%rsp)
  mov    %esi,0x50(%rsp)
  mov    0xe0(%rsp),%ecx
  lea    (%rbx,%rbx,2),%ebp
  mov    %r8,0x20(%rsp)
  mov    %esi,%ebx
  mov    %r9,0x48(%rsp)
  cmp    $0x4,%esi
  jle    L1
  lea    -0x1(%rsi),%esi
  mov    %esi,%edi
  and    $0x3,%edi
  mov    %edi,0x54(%rsp)
  sub    %edi,%ebx
L281:
  movslq %edx,%r12
  imul   %ecx,%eax
  pxor   %xmm5,%xmm5
  mov    %edx,%esi
  imul   $0x55555556,%r12,%rdi
  sar    $0x1f,%esi
  cltq
  shr    $0x20,%rdi
  sub    %esi,%edi
  lea    (%rdi,%rdi,2),%esi
  mov    0x48(%rsp),%rdi
  sub    %esi,%edx
  ucomisd %xmm5,%xmm1
  mov    %esi,0x60(%rsp)
  lea    (%rdi,%rax,8),%rax
  mov    %edx,0x64(%rsp)
  mov    %rax,0x18(%rsp)
  jp     L206
  jne    L206
  cmp    %rax,%rdi
  je     L166
  movslq %ecx,%rax
  mov    0x18(%rsp),%r14
  mov    0x48(%rsp),%rcx
  shl    $0x3,%r12
  lea    0x0(,%rax,8),%r13
  mov    %rax,0x88(%rsp)
  mov    %r13,0x30(%rsp)
  movsd  %xmm4,(%rsp)
  nopl   (%rax)
L380:
  test   %r12,%r12
  je     L98
  mov    %rcx,%rdi
  mov    %r12,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  pxor   %xmm5,%xmm5
  mov    %rax,%rcx
L98:
  add    %r13,%rcx
  cmp    %rcx,%r14
  jne    L380
  movsd  (%rsp),%xmm4
L130:
  mov    0x58(%rsp),%r12
  movslq %ebx,%rbx
  mov    0x48(%rsp),%rsi
  movslq %ebp,%rbp
  movslq 0xd8(%rsp),%rax
  mov    %rbx,0x70(%rsp)
  shl    $0x3,%rbp
  lea    (%r12,%rbx,8),%r9
  mov    %rsi,0x8(%rsp)
  lea    0x0(,%rax,8),%rdi
  mov    %rax,0x80(%rsp)
  shl    $0x4,%rax
  add    0x20(%rsp),%rax
  mov    %rdi,0x38(%rsp)
  movslq 0xd0(%rsp),%rdi
  mov    %rax,0x40(%rsp)
  mov    0x54(%rsp),%eax
  mov    %rdi,0x78(%rsp)
  shl    $0x3,%rdi
  mov    %eax,%ebx
  mov    %rdi,0x28(%rsp)
  movslq 0x60(%rsp),%rdi
  mov    %eax,%r14d
  and    $0x2,%ebx
  and    $0x1,%eax
  and    $0x4,%r14d
  mov    %rdi,0x68(%rsp)
  lea    (%rsi,%rdi,8),%r13
  mov    %eax,%r15d
  mov    %ebx,(%rsp)
  nopl   0x0(%rax,%rax,1)
L159:
  cmp    %r13,0x8(%rsp)
  je     L248
  mov    0x20(%rsp),%rbx
  mov    0x38(%rsp),%r11
  mov    %r9,%rax
  sub    %r12,%rax
  mov    0x40(%rsp),%r10
  mov    0x8(%rsp),%rdi
  mov    %rax,0x10(%rsp)
  add    %rbx,%r11
  jmp    L276
  nopw   0x0(%rax,%rax,1)
L246:
  mov    %rbx,%rcx
  movapd %xmm5,%xmm0
  movapd %xmm5,%xmm1
  mov    %r12,%r8
  movapd %xmm5,%xmm2
L292:
  test   %r14d,%r14d
  je     L238
  movsd  (%rcx),%xmm7
  add    $0x20,%r8
  add    $0x20,%rcx
  add    $0x20,%rdx
  movsd  -0x20(%r8),%xmm3
  movsd  -0x18(%rcx),%xmm6
  add    $0x20,%rax
  mulsd  %xmm3,%xmm7
  addsd  %xmm2,%xmm7
  movsd  -0x20(%rdx),%xmm2
  mulsd  %xmm3,%xmm2
  mulsd  -0x20(%rax),%xmm3
  addsd  %xmm2,%xmm1
  movsd  -0x18(%rdx),%xmm2
  addsd  %xmm0,%xmm3
  movsd  -0x18(%r8),%xmm0
  mulsd  %xmm0,%xmm6
  mulsd  %xmm0,%xmm2
  mulsd  -0x18(%rax),%xmm0
  addsd  %xmm7,%xmm6
  movsd  -0x10(%rcx),%xmm7
  addsd  %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movsd  -0x10(%r8),%xmm0
  addsd  %xmm3,%xmm1
  mulsd  %xmm0,%xmm7
  addsd  %xmm6,%xmm7
  movsd  -0x10(%rdx),%xmm6
  mulsd  %xmm0,%xmm6
  mulsd  -0x10(%rax),%xmm0
  addsd  %xmm2,%xmm6
  movsd  -0x8(%rcx),%xmm2
  movapd %xmm0,%xmm3
  movsd  -0x8(%r8),%xmm0
  addsd  %xmm1,%xmm3
  movsd  -0x8(%rdx),%xmm1
  mulsd  %xmm0,%xmm2
  mulsd  %xmm0,%xmm1
  mulsd  -0x8(%rax),%xmm0
  addsd  %xmm7,%xmm2
  addsd  %xmm6,%xmm1
  addsd  %xmm3,%xmm0
L238:
  mov    (%rsp),%esi
  test   %esi,%esi
  je     L226
  movsd  (%rcx),%xmm7
  movsd  (%rdx),%xmm6
  add    $0x10,%r8
  add    $0x10,%rcx
  movsd  -0x10(%r8),%xmm3
  add    $0x10,%rdx
  add    $0x10,%rax
  mulsd  %xmm3,%xmm7
  mulsd  %xmm3,%xmm6
  mulsd  -0x10(%rax),%xmm3
  addsd  %xmm2,%xmm7
  movsd  -0x8(%rcx),%xmm2
  addsd  %xmm1,%xmm6
  movsd  -0x8(%rdx),%xmm1
  addsd  %xmm0,%xmm3
  movsd  -0x8(%r8),%xmm0
  mulsd  %xmm0,%xmm2
  mulsd  %xmm0,%xmm1
  mulsd  -0x8(%rax),%xmm0
  addsd  %xmm7,%xmm2
  addsd  %xmm6,%xmm1
  addsd  %xmm3,%xmm0
L226:
  test   %r15d,%r15d
  je     L350
  movsd  (%r8),%xmm3
  movsd  (%rcx),%xmm6
  mulsd  %xmm3,%xmm6
  addsd  %xmm6,%xmm2
  movsd  (%rdx),%xmm6
  mulsd  %xmm3,%xmm6
  mulsd  (%rax),%xmm3
  addsd  %xmm6,%xmm1
  addsd  %xmm3,%xmm0
L350:
  mulsd  %xmm4,%xmm2
  add    $0x18,%rdi
  add    %rbp,%rbx
  add    %rbp,%r11
  mulsd  %xmm4,%xmm1
  addsd  -0x18(%rdi),%xmm2
  add    %rbp,%r10
  mulsd  %xmm4,%xmm0
  addsd  -0x10(%rdi),%xmm1
  addsd  -0x8(%rdi),%xmm0
  movsd  %xmm2,-0x18(%rdi)
  movsd  %xmm1,-0x10(%rdi)
  movsd  %xmm0,-0x8(%rdi)
  cmp    %r13,%rdi
  je     L248
L276:
  cmpl   $0x4,0x50(%rsp)
  mov    %r11,%rdx
  mov    %r10,%rax
  jle    L246
  movsd  (%rbx),%xmm2
  lea    0x8(%rbx),%rsi
  lea    0x8(%r11),%rcx
  movapd %xmm5,%xmm7
  movsd  (%r11),%xmm1
  movsd  (%r10),%xmm6
  lea    0x8(%r10),%rdx
  lea    0x8(%r12),%rax
  movsd  (%r12),%xmm0
  movapd %xmm5,%xmm8
  movapd %xmm5,%xmm3
  nopw   0x0(%rax,%rax,1)
L112:
  mulsd  %xmm0,%xmm2
  add    $0x20,%rax
  add    $0x20,%rsi
  add    $0x20,%rcx
  mulsd  %xmm0,%xmm1
  add    $0x20,%rdx
  mov    %r9,%r8
  mulsd  %xmm6,%xmm0
  movsd  -0x18(%rsi),%xmm6
  addsd  %xmm2,%xmm3
  movapd %xmm1,%xmm2
  movsd  -0x20(%rax),%xmm1
  addsd  %xmm7,%xmm0
  movsd  -0x20(%rsi),%xmm7
  addsd  %xmm8,%xmm2
  movsd  -0x10(%rcx),%xmm8
  mulsd  %xmm1,%xmm7
  addsd  %xmm3,%xmm7
  movsd  -0x20(%rcx),%xmm3
  mulsd  %xmm1,%xmm3
  mulsd  -0x20(%rdx),%xmm1
  addsd  %xmm2,%xmm3
  movsd  -0x18(%rcx),%xmm2
  addsd  %xmm0,%xmm1
  movsd  -0x18(%rax),%xmm0
  mulsd  %xmm0,%xmm6
  mulsd  %xmm0,%xmm2
  mulsd  -0x18(%rdx),%xmm0
  addsd  %xmm7,%xmm6
  addsd  %xmm3,%xmm2
  movsd  -0x10(%rsi),%xmm3
  addsd  %xmm1,%xmm0
  movsd  -0x10(%rax),%xmm1
  mulsd  %xmm1,%xmm3
  mulsd  %xmm1,%xmm8
  mulsd  -0x10(%rdx),%xmm1
  addsd  %xmm6,%xmm3
  movsd  -0x8(%rdx),%xmm6
  addsd  %xmm2,%xmm8
  movsd  -0x8(%rsi),%xmm2
  movapd %xmm1,%xmm7
  movsd  -0x8(%rcx),%xmm1
  addsd  %xmm0,%xmm7
  movsd  -0x8(%rax),%xmm0
  cmp    %r9,%rax
  jne    L112
  mulsd  %xmm0,%xmm2
  mov    0x10(%rsp),%rax
  mulsd  %xmm0,%xmm1
  mulsd  %xmm6,%xmm0
  lea    (%rbx,%rax,1),%rcx
  lea    (%r11,%rax,1),%rdx
  add    %r10,%rax
  addsd  %xmm3,%xmm2
  addsd  %xmm8,%xmm1
  addsd  %xmm7,%xmm0
  jmp    L292
L299:
  movslq %ecx,%rax
  mov    0x18(%rsp),%rdi
  mov    %rax,0x88(%rsp)
  shl    $0x3,%rax
  mov    %rax,0x30(%rsp)
  cmp    %rdi,0x48(%rsp)
  jne    L130
L166:
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L206:
  ucomisd D1(%rip),%xmm1
  jp     L164
  je     L299
L164:
  mov    0x48(%rsp),%rax
  mov    0x18(%rsp),%rdi
  cmp    %rdi,%rax
  je     L166
  movslq %ecx,%rsi
  lea    (%rax,%r12,8),%rdx
  mov    %rax,%rcx
  mov    %rsi,0x88(%rsp)
  shl    $0x3,%rsi
  mov    %rsi,0x30(%rsp)
  xchg   %ax,%ax
L63:
  mov    %rcx,%rax
  cmp    %rcx,%rdx
  je     L207
  nopl   0x0(%rax,%rax,1)
L340:
  movsd  (%rax),%xmm0
  add    $0x8,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rax)
  cmp    %rdx,%rax
  jne    L340
L207:
  add    %rsi,%rcx
  add    %rsi,%rdx
  cmp    %rcx,%rdi
  jne    L63
  jmp    L130
L1:
  mov    0x50(%rsp),%ebx
  mov    %ebx,0x54(%rsp)
  xor    %ebx,%ebx
  jmp    L281
  nopl   (%rax)
L248:
  mov    0x30(%rsp),%rbx
  mov    0x28(%rsp),%rdi
  add    %rbx,0x8(%rsp)
  mov    0x8(%rsp),%rax
  add    %rdi,%r12
  add    %rbx,%r13
  add    %rdi,%r9
  cmp    %rax,0x18(%rsp)
  jne    L159
  mov    0x18(%rsp),%rbx
  cmp    %rbx,0x48(%rsp)
  je     L166
  mov    0x60(%rsp),%eax
  imul   0xd8(%rsp),%eax
  mov    0x20(%rsp),%rbx
  mov    0x58(%rsp),%r9
  mov    0x88(%rsp),%rbp
  mov    0x78(%rsp),%r10
  cltq
  lea    (%rbx,%rax,8),%r11
  mov    0x80(%rsp),%rbx
  shl    $0x3,%rbp
  shl    $0x3,%r10
  lea    0x8(%r11),%rdi
  mov    0x68(%rsp),%rax
  mov    %rbp,0x8(%rsp)
  lea    (%r11,%rbx,8),%rbx
  mov    %rdi,0x28(%rsp)
  mov    0x48(%rsp),%rdi
  mov    %rbx,0x20(%rsp)
  add    $0x8,%rbx
  shl    $0x3,%rax
  mov    %rbx,0x30(%rsp)
  mov    0xd8(%rsp),%ebx
  lea    0x10(%rdi,%rax,1),%rsi
  mov    0x70(%rsp),%rdi
  lea    (%rbx,%rbx,1),%edx
  movslq %edx,%rdx
  lea    (%r9,%rdi,8),%rcx
  mov    0x54(%rsp),%edi
  lea    (%r11,%rdx,8),%rbx
  mov    $0xfffffffffffffff0,%rdx
  mov    %rbx,0x10(%rsp)
  mov    0x64(%rsp),%ebx
  mov    %edi,%r13d
  mov    %edi,%r14d
  sub    %rax,%rdx
  and    $0x1,%edi
  and    $0x4,%r13d
  and    $0x2,%r14d
  mov    %ebx,%r12d
  mov    %rdx,(%rsp)
  and    $0x1,%ebx
  mov    %edi,%r15d
  and    $0x2,%r12d
  jmp    L110
  nopl   0x0(%rax)
L61:
  mov    0x20(%rsp),%rax
  mov    %r11,%rdx
  mov    %r9,%r8
  movapd %xmm5,%xmm1
  movapd %xmm5,%xmm2
L35:
  test   %r13d,%r13d
  je     L48
  movsd  (%rdx),%xmm3
  add    $0x20,%r8
  add    $0x20,%rdx
  add    $0x20,%rax
  movsd  -0x20(%r8),%xmm0
  mulsd  %xmm0,%xmm3
  mulsd  -0x20(%rax),%xmm0
  addsd  %xmm2,%xmm3
  movsd  -0x18(%rdx),%xmm2
  addsd  %xmm0,%xmm1
  movsd  -0x18(%r8),%xmm0
  mulsd  %xmm0,%xmm2
  mulsd  -0x18(%rax),%xmm0
  addsd  %xmm3,%xmm2
  movsd  -0x10(%rdx),%xmm3
  addsd  %xmm0,%xmm1
  movsd  -0x10(%r8),%xmm0
  mulsd  %xmm0,%xmm3
  mulsd  -0x10(%rax),%xmm0
  addsd  %xmm2,%xmm3
  movsd  -0x8(%rdx),%xmm2
  addsd  %xmm1,%xmm0
  movsd  -0x8(%r8),%xmm1
  mulsd  %xmm1,%xmm2
  mulsd  -0x8(%rax),%xmm1
  addsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm1
L48:
  test   %r14d,%r14d
  je     L352
  movsd  (%rdx),%xmm3
  add    $0x10,%r8
  add    $0x10,%rdx
  add    $0x10,%rax
  movsd  -0x10(%r8),%xmm0
  mulsd  %xmm0,%xmm3
  mulsd  -0x10(%rax),%xmm0
  addsd  %xmm2,%xmm3
  movsd  -0x8(%rdx),%xmm2
  addsd  %xmm1,%xmm0
  movsd  -0x8(%r8),%xmm1
  mulsd  %xmm1,%xmm2
  mulsd  -0x8(%rax),%xmm1
  addsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm1
L352:
  test   %r15d,%r15d
  je     L97
  movsd  (%r8),%xmm0
  movsd  (%rdx),%xmm3
  mulsd  %xmm0,%xmm3
  mulsd  (%rax),%xmm0
  addsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm1
L97:
  mulsd  %xmm4,%xmm2
  mov    0x10(%rsp),%rdi
  mov    %rsi,%rbp
  mulsd  %xmm4,%xmm1
  addsd  -0x10(%rsi),%xmm2
  addsd  -0x8(%rsi),%xmm1
  movsd  %xmm2,-0x10(%rsi)
  movsd  %xmm1,-0x8(%rsi)
L117:
  test   %ebx,%ebx
  je     L355
  cmpl   $0x4,0x50(%rsp)
  mov    %r9,%r8
  movapd %xmm5,%xmm0
  jg     L114
L216:
  test   %r13d,%r13d
  je     L407
  movsd  (%rdi),%xmm1
  mulsd  (%r8),%xmm1
  add    $0x20,%rdi
  add    $0x20,%r8
  addsd  %xmm0,%xmm1
  movsd  -0x18(%rdi),%xmm0
  mulsd  -0x18(%r8),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x10(%rdi),%xmm1
  mulsd  -0x10(%r8),%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x8(%rdi),%xmm0
  mulsd  -0x8(%r8),%xmm0
  addsd  %xmm1,%xmm0
L407:
  test   %r14d,%r14d
  je     L190
  movsd  (%rdi),%xmm1
  mulsd  (%r8),%xmm1
  add    $0x10,%rdi
  add    $0x10,%r8
  addsd  %xmm1,%xmm0
  movsd  -0x8(%rdi),%xmm1
  mulsd  -0x8(%r8),%xmm1
  addsd  %xmm1,%xmm0
L190:
  test   %r15d,%r15d
  je     L198
  movsd  (%rdi),%xmm1
  mulsd  (%r8),%xmm1
  addsd  %xmm1,%xmm0
L198:
  mulsd  %xmm4,%xmm0
  addsd  0x0(%rbp),%xmm0
  movsd  %xmm0,0x0(%rbp)
L355:
  mov    (%rsp),%rax
  add    0x8(%rsp),%rsi
  add    %r10,%r9
  add    %r10,%rcx
  add    %rsi,%rax
  cmp    %rax,0x18(%rsp)
  je     L166
L110:
  lea    -0x10(%rsi),%rbp
  mov    %r11,%rdi
  test   %r12d,%r12d
  je     L117
  cmpl   $0x4,0x50(%rsp)
  jle    L61
  mov    0x20(%rsp),%rax
  movsd  (%r11),%xmm2
  movapd %xmm5,%xmm0
  movapd %xmm5,%xmm3
  movsd  (%r9),%xmm6
  mov    0x30(%rsp),%rdi
  mov    0x28(%rsp),%rdx
  movsd  (%rax),%xmm1
  lea    0x8(%r9),%rax
L384:
  mulsd  %xmm6,%xmm2
  add    $0x20,%rax
  add    $0x20,%rdx
  add    $0x20,%rdi
  mulsd  %xmm6,%xmm1
  mov    %rcx,%r8
  movsd  -0x8(%rax),%xmm6
  addsd  %xmm3,%xmm2
  movsd  -0x20(%rdx),%xmm3
  addsd  %xmm0,%xmm1
  movsd  -0x20(%rax),%xmm0
  mulsd  %xmm0,%xmm3
  mulsd  -0x20(%rdi),%xmm0
  addsd  %xmm2,%xmm3
  movsd  -0x18(%rdx),%xmm2
  addsd  %xmm0,%xmm1
  movsd  -0x18(%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mulsd  -0x18(%rdi),%xmm0
  addsd  %xmm3,%xmm2
  movsd  -0x10(%rdx),%xmm3
  addsd  %xmm0,%xmm1
  movsd  -0x10(%rax),%xmm0
  mulsd  %xmm0,%xmm3
  mulsd  -0x10(%rdi),%xmm0
  addsd  %xmm2,%xmm3
  movsd  -0x8(%rdx),%xmm2
  addsd  %xmm1,%xmm0
  movsd  -0x8(%rdi),%xmm1
  cmp    %rcx,%rax
  jne    L384
  mulsd  %xmm6,%xmm2
  mov    0x28(%rsp),%rdi
  lea    -0x8(%rcx),%rax
  mulsd  %xmm6,%xmm1
  sub    %r9,%rax
  lea    (%rdi,%rax,1),%rdx
  add    0x30(%rsp),%rax
  addsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm1
  jmp    L35
L114:
  movsd  (%rdi),%xmm0
  add    $0x8,%rdi
  lea    0x8(%r9),%rax
  movapd %xmm5,%xmm1
  movsd  (%r9),%xmm2
  mov    %rdi,%rdx
  nopw   0x0(%rax,%rax,1)
L131:
  mulsd  %xmm2,%xmm0
  add    $0x20,%rax
  movsd  -0x8(%rax),%xmm2
  mov    %rcx,%r8
  add    $0x20,%rdx
  addsd  %xmm1,%xmm0
  movsd  -0x20(%rdx),%xmm1
  mulsd  -0x20(%rax),%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x18(%rdx),%xmm0
  mulsd  -0x18(%rax),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x10(%rdx),%xmm1
  mulsd  -0x10(%rax),%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x8(%rdx),%xmm0
  cmp    %rcx,%rax
  jne    L131
  mulsd  %xmm2,%xmm0
  sub    %r9,%rdi
  lea    -0x8(%rdi,%rcx,1),%rdi
  addsd  %xmm1,%xmm0
  jmp    L216
```

tool_calls: name: extract_symbolic_data
arguments: label: D1
datatype: f64

tool: D1: 1

assistant: ```c
void mm_double_NT_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_0;
  const double *bp_0, *bp_1, *bp_2;
  double *cp;
  const int A_sbs_stride = Astride * 1;
  const int B_sbs_stride = Bstride * 3;
  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;
  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 += A_sbs_stride) {
    const double *const ap_endp = a + k_norm;
    double *const cp_endp = c + n_norm;
    for (b = B, cp = c; cp != cp_endp; b += B_sbs_stride, cp += 3) {
      register double _b0, _b1, _b2;
      register double _a0;
      double *_cp;
      ap_0 = a;
      bp_0 = b;
      bp_1 = bp_0 + Bstride;
      bp_2 = bp_1 + Bstride;
      c0_0 = 0.0;
      c0_1 = 0.0;
      c0_2 = 0.0;
      if (K >= 5) {
        _b0 = bp_0[0];
        _b1 = bp_1[0];
        _b2 = bp_2[0];
        _a0 = ap_0[0];
        bp_0 += 1;
        bp_1 += 1;
        bp_2 += 1;
        ap_0 += 1;
        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[0];
          _b1 = bp_1[0];
          _b2 = bp_2[0];
          _a0 = ap_0[0];
          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[1];
          _b1 = bp_1[1];
          _b2 = bp_2[1];
          _a0 = ap_0[1];
          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[2];
          _b1 = bp_1[2];
          _b2 = bp_2[2];
          _a0 = ap_0[2];
          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[3];
          _b1 = bp_1[3];
          _b2 = bp_2[3];
          _a0 = ap_0[3];
          ap_0 += 4;
          bp_0 += 4;
          bp_1 += 4;
          bp_2 += 4;
        } while (ap_0 != 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[0];
        _b1 = bp_1[0];
        _b2 = bp_2[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        _b0 = bp_0[1];
        _b1 = bp_1[1];
        _b2 = bp_2[1];
        _a0 = ap_0[1];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        _b0 = bp_0[2];
        _b1 = bp_1[2];
        _b2 = bp_2[2];
        _a0 = ap_0[2];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        _b0 = bp_0[3];
        _b1 = bp_1[3];
        _b2 = bp_2[3];
        _a0 = ap_0[3];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap_0 += 4;
        bp_0 += 4;
        bp_1 += 4;
        bp_2 += 4;
      }
      if (k_marg_el & 0x2) {
        _b0 = bp_0[0];
        _b1 = bp_1[0];
        _b2 = bp_2[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        _b0 = bp_0[1];
        _b1 = bp_1[1];
        _b2 = bp_2[1];
        _a0 = ap_0[1];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
        ap_0 += 2;
        bp_0 += 2;
        bp_1 += 2;
        bp_2 += 2;
      }
      if (k_marg_el & 0x1) {
        _b0 = bp_0[0];
        _b1 = bp_1[0];
        _b2 = bp_2[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        c0_2 += _a0 * _b2;
      }
      _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 += A_sbs_stride) {
    const double *const ap_endp = a + k_norm;
    b = B + n_norm * Bstride;
    cp = c + n_norm;
    if (n_marg_el & 0x2) {
      register double _b0, _b1;
      register double _a0;
      double *_cp;
      ap_0 = a;
      bp_0 = b;
      bp_1 = bp_0 + Bstride;
      c0_0 = 0.0;
      c0_1 = 0.0;
      if (K >= 5) {
        _b0 = bp_0[0];
        _b1 = bp_1[0];
        _a0 = ap_0[0];
        bp_0 += 1;
        bp_1 += 1;
        ap_0 += 1;
        do {
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp_0[0];
          _b1 = bp_1[0];
          _a0 = ap_0[0];
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp_0[1];
          _b1 = bp_1[1];
          _a0 = ap_0[1];
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp_0[2];
          _b1 = bp_1[2];
          _a0 = ap_0[2];
          t0_0 = _a0 * _b0;
          t0_1 = _a0 * _b1;
          c0_0 += t0_0;
          c0_1 += t0_1;
          _b0 = bp_0[3];
          _b1 = bp_1[3];
          _a0 = ap_0[3];
          ap_0 += 4;
          bp_0 += 4;
          bp_1 += 4;
        } while (ap_0 != 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[0];
        _b1 = bp_1[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        _b0 = bp_0[1];
        _b1 = bp_1[1];
        _a0 = ap_0[1];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        _b0 = bp_0[2];
        _b1 = bp_1[2];
        _a0 = ap_0[2];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        _b0 = bp_0[3];
        _b1 = bp_1[3];
        _a0 = ap_0[3];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap_0 += 4;
        bp_0 += 4;
        bp_1 += 4;
      }
      if (k_marg_el & 0x2) {
        _b0 = bp_0[0];
        _b1 = bp_1[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        _b0 = bp_0[1];
        _b1 = bp_1[1];
        _a0 = ap_0[1];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
        ap_0 += 2;
        bp_0 += 2;
        bp_1 += 2;
      }
      if (k_marg_el & 0x1) {
        _b0 = bp_0[0];
        _b1 = bp_1[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        c0_1 += _a0 * _b1;
      }
      _cp = cp;
      _cp[0] += alpha * c0_0;
      _cp[1] += alpha * c0_1;
      b += Bstride * 2;
      cp += 2;
    }
    if (n_marg_el & 0x1) {
      register double _b0;
      register double _a0;
      double *_cp;
      ap_0 = a;
      bp_0 = b;
      c0_0 = 0.0;
      if (K >= 5) {
        _b0 = bp_0[0];
        _a0 = ap_0[0];
        bp_0 += 1;
        ap_0 += 1;
        do {
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp_0[0];
          _a0 = ap_0[0];
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp_0[1];
          _a0 = ap_0[1];
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp_0[2];
          _a0 = ap_0[2];
          t0_0 = _a0 * _b0;
          c0_0 += t0_0;
          _b0 = bp_0[3];
          _a0 = ap_0[3];
          ap_0 += 4;
          bp_0 += 4;
        } while (ap_0 != ap_endp);
        t0_0 = _a0 * _b0;
        c0_0 += t0_0;
      }
      if (k_marg_el & 0x4) {
        _b0 = bp_0[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        _b0 = bp_0[1];
        _a0 = ap_0[1];
        c0_0 += _a0 * _b0;
        _b0 = bp_0[2];
        _a0 = ap_0[2];
        c0_0 += _a0 * _b0;
        _b0 = bp_0[3];
        _a0 = ap_0[3];
        c0_0 += _a0 * _b0;
        ap_0 += 4;
        bp_0 += 4;
      }
      if (k_marg_el & 0x2) {
        _b0 = bp_0[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
        _b0 = bp_0[1];
        _a0 = ap_0[1];
        c0_0 += _a0 * _b0;
        ap_0 += 2;
        bp_0 += 2;
      }
      if (k_marg_el & 0x1) {
        _b0 = bp_0[0];
        _a0 = ap_0[0];
        c0_0 += _a0 * _b0;
      }
      _cp = cp;
      _cp[0] += alpha * c0_0;
    }
  }
}
```