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

```asm
<kernel_dgemm_nn_4x4_vs_lib4>:
  endbr64
  push   %r13
  mov    %esi,%r10d
  mov    %rcx,%rax
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  sub    $0x18,%rsp
  mov    0x40(%rsp),%r12d
  mov    0x48(%rsp),%rbp
  mov    0x50(%rsp),%r11
  cmp    $0x3,%edx
  jle    L65
  lea    -0x4(%rdx),%edx
  shl    $0x2,%r9d
  pxor   %xmm8,%xmm8
  shr    $0x2,%edx
  movslq %r9d,%rsi
  movsd  %xmm8,-0x40(%rsp)
  movapd %xmm8,%xmm10
  lea    0x1(%rdx),%r13d
  shl    $0x3,%rsi
  mov    %r8,%rdx
  movsd  %xmm8,-0x48(%rsp)
  mov    %r13,%rcx
  mov    %r13,%r9
  movsd  %xmm8,-0x50(%rsp)
  movapd %xmm8,%xmm9
  shl    $0x7,%rcx
  movsd  %xmm8,-0x28(%rsp)
  movapd %xmm8,%xmm14
  movapd %xmm8,%xmm13
  add    %rax,%rcx
  movsd  %xmm8,-0x58(%rsp)
  movsd  %xmm8,-0x70(%rsp)
  movsd  %xmm8,-0x30(%rsp)
  movsd  %xmm8,-0x60(%rsp)
  movsd  %xmm8,-0x78(%rsp)
  movsd  %xmm8,-0x38(%rsp)
  movsd  %xmm8,-0x68(%rsp)
  nopl   0x0(%rax)
L69:
  movsd  (%rax),%xmm4
  movsd  (%rdx),%xmm0
  sub    $0xffffffffffffff80,%rax
  movsd  -0x70(%rax),%xmm2
  movsd  0x20(%rdx),%xmm7
  movapd %xmm4,%xmm15
  movsd  -0x78(%rax),%xmm3
  movsd  -0x68(%rax),%xmm1
  mulsd  %xmm0,%xmm15
  movapd %xmm2,%xmm12
  movsd  0x40(%rdx),%xmm5
  movsd  0x60(%rdx),%xmm6
  mulsd  %xmm0,%xmm12
  movapd %xmm3,%xmm11
  mulsd  %xmm0,%xmm11
  mulsd  %xmm1,%xmm0
  addsd  -0x50(%rsp),%xmm0
  addsd  %xmm9,%xmm15
  movapd %xmm4,%xmm9
  mulsd  %xmm7,%xmm9
  addsd  %xmm13,%xmm12
  movapd %xmm3,%xmm13
  mulsd  %xmm7,%xmm13
  addsd  %xmm14,%xmm11
  movapd %xmm3,%xmm14
  addsd  -0x78(%rsp),%xmm13
  mulsd  %xmm5,%xmm14
  mulsd  %xmm6,%xmm3
  addsd  -0x60(%rsp),%xmm14
  addsd  -0x30(%rsp),%xmm3
  addsd  %xmm9,%xmm10
  movapd %xmm2,%xmm9
  mulsd  %xmm7,%xmm9
  mulsd  %xmm1,%xmm7
  addsd  -0x70(%rsp),%xmm9
  addsd  -0x48(%rsp),%xmm7
  movsd  %xmm3,-0x48(%rsp)
  movsd  -0x58(%rax),%xmm3
  movsd  %xmm7,-0x78(%rsp)
  movapd %xmm4,%xmm7
  mulsd  %xmm5,%xmm7
  addsd  -0x68(%rsp),%xmm7
  mulsd  %xmm6,%xmm4
  movsd  %xmm14,-0x68(%rsp)
  addsd  -0x38(%rsp),%xmm4
  movsd  %xmm7,-0x70(%rsp)
  movapd %xmm2,%xmm7
  mulsd  %xmm5,%xmm7
  movsd  %xmm4,-0x50(%rsp)
  movsd  -0x60(%rax),%xmm4
  mulsd  %xmm1,%xmm5
  addsd  -0x58(%rsp),%xmm7
  mulsd  %xmm6,%xmm1
  addsd  -0x40(%rsp),%xmm5
  movapd %xmm4,%xmm14
  mulsd  %xmm6,%xmm2
  addsd  -0x28(%rsp),%xmm2
  movsd  %xmm7,-0x60(%rsp)
  movsd  %xmm5,-0x58(%rsp)
  addsd  %xmm8,%xmm1
  movsd  %xmm2,-0x40(%rsp)
  movsd  -0x50(%rax),%xmm2
  movsd  %xmm1,-0x38(%rsp)
  movsd  -0x48(%rax),%xmm1
  movsd  0x8(%rdx),%xmm7
  movsd  0x28(%rdx),%xmm6
  movsd  0x48(%rdx),%xmm5
  mulsd  %xmm7,%xmm14
  movsd  0x68(%rdx),%xmm8
  addsd  %xmm14,%xmm15
  movapd %xmm3,%xmm14
  mulsd  %xmm7,%xmm14
  addsd  %xmm11,%xmm14
  movapd %xmm2,%xmm11
  mulsd  %xmm7,%xmm11
  mulsd  %xmm1,%xmm7
  addsd  %xmm12,%xmm11
  movapd %xmm4,%xmm12
  mulsd  %xmm6,%xmm12
  addsd  %xmm0,%xmm7
  movapd %xmm4,%xmm0
  mulsd  %xmm5,%xmm0
  addsd  -0x70(%rsp),%xmm0
  mulsd  %xmm8,%xmm4
  addsd  -0x50(%rsp),%xmm4
  addsd  %xmm12,%xmm10
  movapd %xmm3,%xmm12
  movsd  %xmm0,-0x70(%rsp)
  movapd %xmm3,%xmm0
  mulsd  %xmm6,%xmm12
  movsd  %xmm4,-0x50(%rsp)
  movsd  0x50(%rdx),%xmm4
  mulsd  %xmm8,%xmm3
  addsd  -0x48(%rsp),%xmm3
  mulsd  %xmm5,%xmm0
  addsd  -0x68(%rsp),%xmm0
  addsd  %xmm13,%xmm12
  movapd %xmm2,%xmm13
  movsd  %xmm3,-0x48(%rsp)
  movsd  -0x40(%rax),%xmm3
  mulsd  %xmm6,%xmm13
  movsd  %xmm0,-0x68(%rsp)
  movsd  -0x28(%rax),%xmm0
  mulsd  %xmm1,%xmm6
  addsd  %xmm13,%xmm9
  movsd  -0x78(%rsp),%xmm13
  addsd  %xmm6,%xmm13
  movsd  0x10(%rdx),%xmm6
  movsd  %xmm13,-0x78(%rsp)
  movapd %xmm2,%xmm13
  mulsd  %xmm5,%xmm13
  addsd  -0x60(%rsp),%xmm13
  mulsd  %xmm8,%xmm2
  addsd  -0x40(%rsp),%xmm2
  mulsd  %xmm1,%xmm5
  mulsd  %xmm8,%xmm1
  addsd  -0x58(%rsp),%xmm5
  movsd  0x70(%rdx),%xmm8
  movsd  %xmm13,-0x60(%rsp)
  movapd %xmm3,%xmm13
  addsd  -0x38(%rsp),%xmm1
  mulsd  %xmm6,%xmm13
  movsd  %xmm2,-0x40(%rsp)
  movsd  -0x38(%rax),%xmm2
  movsd  %xmm5,-0x58(%rsp)
  movsd  0x30(%rdx),%xmm5
  movsd  %xmm1,-0x38(%rsp)
  movsd  -0x30(%rax),%xmm1
  addsd  %xmm13,%xmm15
  movapd %xmm2,%xmm13
  mulsd  %xmm6,%xmm13
  addsd  %xmm13,%xmm14
  movapd %xmm1,%xmm13
  mulsd  %xmm6,%xmm13
  mulsd  %xmm0,%xmm6
  addsd  %xmm11,%xmm13
  movapd %xmm3,%xmm11
  mulsd  %xmm5,%xmm11
  addsd  %xmm6,%xmm7
  movapd %xmm1,%xmm6
  mulsd  %xmm4,%xmm6
  addsd  %xmm11,%xmm10
  movapd %xmm2,%xmm11
  mulsd  %xmm5,%xmm11
  addsd  %xmm12,%xmm11
  movapd %xmm1,%xmm12
  mulsd  %xmm5,%xmm12
  mulsd  %xmm0,%xmm5
  mulsd  %xmm8,%xmm1
  addsd  %xmm9,%xmm12
  movsd  -0x78(%rsp),%xmm9
  addsd  %xmm5,%xmm9
  movapd %xmm3,%xmm5
  mulsd  %xmm4,%xmm5
  mulsd  %xmm8,%xmm3
  movsd  %xmm9,-0x30(%rsp)
  addsd  -0x70(%rsp),%xmm5
  movapd %xmm2,%xmm9
  addsd  -0x40(%rsp),%xmm1
  mulsd  %xmm4,%xmm9
  addsd  -0x50(%rsp),%xmm3
  mulsd  %xmm0,%xmm4
  addsd  -0x68(%rsp),%xmm9
  movsd  %xmm5,-0x28(%rsp)
  movsd  -0x60(%rsp),%xmm5
  mulsd  %xmm8,%xmm2
  movsd  %xmm1,0x8(%rsp)
  movsd  -0x18(%rax),%xmm1
  mulsd  %xmm8,%xmm0
  movsd  -0x8(%rax),%xmm8
  addsd  %xmm6,%xmm5
  movsd  -0x58(%rsp),%xmm6
  movsd  %xmm9,-0x20(%rsp)
  addsd  -0x38(%rsp),%xmm0
  movsd  %xmm3,-0x8(%rsp)
  movsd  0x58(%rdx),%xmm3
  addsd  %xmm4,%xmm6
  movsd  -0x48(%rsp),%xmm4
  movsd  %xmm0,0x10(%rsp)
  movsd  -0x10(%rax),%xmm0
  addsd  %xmm2,%xmm4
  movsd  -0x20(%rax),%xmm2
  movsd  %xmm5,-0x18(%rsp)
  movsd  0x78(%rdx),%xmm5
  movsd  %xmm6,-0x10(%rsp)
  movsd  0x18(%rdx),%xmm6
  movapd %xmm2,%xmm9
  mulsd  %xmm6,%xmm9
  movsd  %xmm4,(%rsp)
  movsd  0x38(%rdx),%xmm4
  add    %rsi,%rdx
  addsd  %xmm15,%xmm9
  movapd %xmm1,%xmm15
  mulsd  %xmm6,%xmm15
  addsd  %xmm15,%xmm14
  movapd %xmm0,%xmm15
  mulsd  %xmm6,%xmm15
  mulsd  %xmm8,%xmm6
  addsd  %xmm15,%xmm13
  movapd %xmm6,%xmm15
  addsd  %xmm7,%xmm15
  movsd  %xmm15,-0x50(%rsp)
  movapd %xmm2,%xmm15
  mulsd  %xmm4,%xmm15
  addsd  %xmm15,%xmm10
  movapd %xmm1,%xmm15
  mulsd  %xmm4,%xmm15
  addsd  %xmm11,%xmm15
  movapd %xmm0,%xmm11
  mulsd  %xmm4,%xmm11
  mulsd  %xmm8,%xmm4
  movsd  %xmm15,-0x78(%rsp)
  movsd  -0x20(%rsp),%xmm15
  addsd  %xmm12,%xmm11
  movsd  -0x30(%rsp),%xmm12
  addsd  %xmm4,%xmm12
  movsd  %xmm11,-0x70(%rsp)
  movsd  -0x28(%rsp),%xmm11
  movsd  %xmm12,-0x48(%rsp)
  movapd %xmm2,%xmm12
  mulsd  %xmm3,%xmm12
  mulsd  %xmm5,%xmm2
  addsd  %xmm12,%xmm11
  movapd %xmm1,%xmm12
  mulsd  %xmm3,%xmm12
  mulsd  %xmm5,%xmm1
  movsd  %xmm11,-0x68(%rsp)
  movapd %xmm0,%xmm11
  mulsd  %xmm3,%xmm11
  mulsd  %xmm8,%xmm3
  addsd  %xmm12,%xmm15
  mulsd  %xmm5,%xmm0
  mulsd  %xmm5,%xmm8
  movsd  %xmm15,-0x60(%rsp)
  addsd  -0x8(%rsp),%xmm2
  movsd  -0x10(%rsp),%xmm7
  movsd  -0x18(%rsp),%xmm12
  addsd  0x10(%rsp),%xmm8
  addsd  %xmm3,%xmm7
  movsd  0x8(%rsp),%xmm3
  movsd  %xmm2,-0x38(%rsp)
  movsd  (%rsp),%xmm2
  addsd  %xmm11,%xmm12
  addsd  %xmm0,%xmm3
  addsd  %xmm1,%xmm2
  movsd  %xmm7,-0x40(%rsp)
  movsd  %xmm12,-0x58(%rsp)
  movsd  %xmm3,-0x28(%rsp)
  movsd  %xmm2,-0x30(%rsp)
  cmp    %rcx,%rax
  jne    L69
  imul   %r13,%rsi
  movapd %xmm9,%xmm15
  movapd %xmm14,%xmm11
  movapd %xmm13,%xmm12
  lea    0x0(,%r9,4),%edx
  add    %rsi,%r8
L130:
  cmp    %edx,%ebx
  jle    L133
  lea    -0x1(%rbx),%eax
  movsd  -0x30(%rsp),%xmm9
  movsd  -0x28(%rsp),%xmm13
  sub    %edx,%eax
  lea    0x8(%r8,%rax,8),%rax
L21:
  movsd  (%rcx),%xmm3
  movsd  (%r8),%xmm6
  add    $0x8,%r8
  add    $0x20,%rcx
  movsd  -0x18(%rcx),%xmm2
  movsd  -0x10(%rcx),%xmm1
  movapd %xmm3,%xmm14
  movsd  -0x8(%rcx),%xmm0
  movsd  0x18(%r8),%xmm5
  mulsd  %xmm6,%xmm14
  movsd  0x38(%r8),%xmm4
  movsd  0x58(%r8),%xmm7
  addsd  %xmm14,%xmm15
  movapd %xmm2,%xmm14
  mulsd  %xmm6,%xmm14
  addsd  %xmm14,%xmm11
  movapd %xmm1,%xmm14
  mulsd  %xmm6,%xmm14
  mulsd  %xmm0,%xmm6
  addsd  -0x50(%rsp),%xmm6
  movsd  %xmm6,-0x50(%rsp)
  movapd %xmm3,%xmm6
  addsd  %xmm14,%xmm12
  mulsd  %xmm5,%xmm6
  addsd  %xmm6,%xmm10
  movapd %xmm2,%xmm6
  mulsd  %xmm5,%xmm6
  addsd  -0x78(%rsp),%xmm6
  movsd  %xmm6,-0x78(%rsp)
  movapd %xmm1,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm0,%xmm5
  addsd  -0x70(%rsp),%xmm6
  addsd  -0x48(%rsp),%xmm5
  movsd  %xmm6,-0x70(%rsp)
  movsd  %xmm5,-0x48(%rsp)
  movapd %xmm3,%xmm5
  mulsd  %xmm4,%xmm5
  addsd  -0x68(%rsp),%xmm5
  mulsd  %xmm7,%xmm3
  addsd  -0x38(%rsp),%xmm3
  movsd  %xmm5,-0x68(%rsp)
  movapd %xmm2,%xmm5
  mulsd  %xmm4,%xmm5
  movsd  %xmm3,-0x38(%rsp)
  addsd  -0x60(%rsp),%xmm5
  mulsd  %xmm7,%xmm2
  movsd  %xmm5,-0x60(%rsp)
  movapd %xmm1,%xmm5
  mulsd  %xmm4,%xmm5
  mulsd  %xmm7,%xmm1
  addsd  -0x58(%rsp),%xmm5
  addsd  %xmm2,%xmm9
  mulsd  %xmm0,%xmm4
  mulsd  %xmm7,%xmm0
  addsd  -0x40(%rsp),%xmm4
  movsd  %xmm5,-0x58(%rsp)
  addsd  %xmm1,%xmm13
  movsd  %xmm4,-0x40(%rsp)
  addsd  %xmm0,%xmm8
  cmp    %rax,%r8
  jne    L21
  movsd  %xmm9,-0x30(%rsp)
  movsd  %xmm13,-0x28(%rsp)
L133:
  test   %r12d,%r12d
  je     L114
  movsd  0x0(%rbp),%xmm1
  movsd  0x50(%rbp),%xmm4
  movsd  0x28(%rbp),%xmm2
  movsd  0x78(%rbp),%xmm0
  movsd  %xmm1,-0x10(%rsp)
  mov    0x58(%rsp),%edx
  movsd  0x18(%rbp),%xmm1
  movsd  %xmm4,(%rsp)
  movsd  0x60(%rbp),%xmm4
  movsd  0x8(%rbp),%xmm5
  movsd  %xmm1,-0x20(%rsp)
  movsd  0x10(%rbp),%xmm6
  movsd  0x20(%rbp),%xmm1
  movsd  %xmm2,-0x8(%rsp)
  movsd  0x30(%rbp),%xmm7
  movsd  0x38(%rbp),%xmm14
  movsd  %xmm4,-0x18(%rsp)
  movsd  0x40(%rbp),%xmm2
  movsd  0x48(%rbp),%xmm3
  movsd  0x58(%rbp),%xmm13
  movsd  0x68(%rbp),%xmm4
  movsd  %xmm0,0x8(%rsp)
  movsd  0x70(%rbp),%xmm9
  test   %edx,%edx
  jne    L9
  movq   %xmm13,%rax
  movapd %xmm9,%xmm13
  movsd  -0x18(%rsp),%xmm0
  movq   %rax,%xmm9
  movq   %xmm14,%rax
  movapd %xmm4,%xmm14
  movq   %rax,%xmm4
  movq   %xmm7,%rax
  movapd %xmm3,%xmm7
  movq   %rax,%xmm3
  mov    -0x20(%rsp),%rax
  movsd  %xmm0,-0x20(%rsp)
  mov    %rax,-0x18(%rsp)
  movq   %xmm6,%rax
  movapd %xmm2,%xmm6
  movq   %rax,%xmm2
  movq   %xmm5,%rax
  movapd %xmm1,%xmm5
  movq   %rax,%xmm1
L9:
  cmp    $0x1,%r12d
  je     L127
  subsd  %xmm11,%xmm1
  movsd  -0x10(%rsp),%xmm0
  subsd  %xmm12,%xmm2
  subsd  %xmm10,%xmm5
  subsd  -0x70(%rsp),%xmm3
  subsd  %xmm15,%xmm0
  subsd  -0x48(%rsp),%xmm4
  movapd %xmm1,%xmm11
  movsd  -0x8(%rsp),%xmm1
  subsd  -0x78(%rsp),%xmm1
  movapd %xmm2,%xmm12
  subsd  -0x68(%rsp),%xmm6
  subsd  -0x60(%rsp),%xmm7
  movapd %xmm5,%xmm10
  movsd  %xmm3,-0x70(%rsp)
  subsd  -0x40(%rsp),%xmm9
  movapd %xmm0,%xmm15
  subsd  -0x30(%rsp),%xmm14
  movsd  %xmm4,-0x48(%rsp)
  movsd  %xmm1,-0x78(%rsp)
  movsd  (%rsp),%xmm1
  subsd  -0x58(%rsp),%xmm1
  subsd  -0x28(%rsp),%xmm13
  movsd  -0x18(%rsp),%xmm0
  movsd  %xmm6,-0x68(%rsp)
  subsd  -0x50(%rsp),%xmm0
  movsd  %xmm7,-0x60(%rsp)
  movsd  %xmm1,-0x58(%rsp)
  movsd  -0x20(%rsp),%xmm1
  subsd  -0x38(%rsp),%xmm1
  movsd  %xmm9,-0x40(%rsp)
  movsd  %xmm0,-0x50(%rsp)
  movsd  %xmm1,-0x38(%rsp)
  movsd  0x8(%rsp),%xmm1
  movsd  %xmm14,-0x30(%rsp)
  subsd  %xmm8,%xmm1
  movsd  %xmm13,-0x28(%rsp)
  movapd %xmm1,%xmm8
L114:
  mov    0x60(%rsp),%eax
  movsd  %xmm15,(%r11)
  test   %eax,%eax
  jne    L26
  movsd  %xmm11,0x8(%r11)
  movsd  %xmm12,0x10(%r11)
  cmp    $0x3,%edi
  jle    L46
  movsd  -0x50(%rsp),%xmm1
  movsd  %xmm10,0x20(%r11)
  movsd  %xmm1,0x18(%r11)
  movsd  -0x78(%rsp),%xmm1
  movsd  %xmm1,0x28(%r11)
  movsd  -0x70(%rsp),%xmm1
  movsd  %xmm1,0x30(%r11)
  movsd  -0x48(%rsp),%xmm1
  movsd  %xmm1,0x38(%r11)
  movsd  -0x68(%rsp),%xmm1
  movsd  %xmm1,0x40(%r11)
  movsd  -0x60(%rsp),%xmm1
  movsd  %xmm1,0x48(%r11)
  movsd  -0x58(%rsp),%xmm1
  movsd  %xmm1,0x50(%r11)
  movsd  -0x40(%rsp),%xmm1
  movsd  %xmm1,0x58(%r11)
  cmp    $0x3,%r10d
  jle    L159
  movsd  -0x38(%rsp),%xmm2
  movsd  -0x30(%rsp),%xmm1
  movsd  %xmm8,0x78(%r11)
  movsd  %xmm2,0x60(%r11)
  movsd  -0x28(%rsp),%xmm2
  movsd  %xmm1,0x68(%r11)
  movsd  %xmm2,0x70(%r11)
L159:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopw   0x0(%rax,%rax,1)
L26:
  movsd  -0x68(%rsp),%xmm1
  movsd  %xmm10,0x8(%r11)
  movsd  %xmm1,0x10(%r11)
  cmp    $0x3,%r10d
  jle    L117
  movsd  -0x38(%rsp),%xmm1
  movsd  %xmm11,0x20(%r11)
  movsd  %xmm12,0x40(%r11)
  movsd  %xmm1,0x18(%r11)
  movsd  -0x78(%rsp),%xmm1
  movsd  %xmm1,0x28(%r11)
  movsd  -0x60(%rsp),%xmm1
  movsd  %xmm1,0x30(%r11)
  movsd  -0x30(%rsp),%xmm1
  movsd  %xmm1,0x38(%r11)
  movsd  -0x70(%rsp),%xmm1
  movsd  %xmm1,0x48(%r11)
  movsd  -0x58(%rsp),%xmm1
  movsd  %xmm1,0x50(%r11)
  movsd  -0x28(%rsp),%xmm1
  movsd  %xmm1,0x58(%r11)
  cmp    $0x3,%edi
  jle    L159
  movsd  -0x50(%rsp),%xmm2
  movsd  -0x48(%rsp),%xmm1
  movsd  %xmm8,0x78(%r11)
  movsd  %xmm2,0x60(%r11)
  movsd  -0x40(%rsp),%xmm2
  movsd  %xmm1,0x68(%r11)
  movsd  %xmm2,0x70(%r11)
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopw   0x0(%rax,%rax,1)
L117:
  movsd  -0x78(%rsp),%xmm1
  movsd  %xmm11,0x20(%r11)
  movsd  %xmm12,0x40(%r11)
  movsd  %xmm1,0x28(%r11)
  movsd  -0x60(%rsp),%xmm1
  movsd  %xmm1,0x30(%r11)
  movsd  -0x70(%rsp),%xmm1
  movsd  %xmm1,0x48(%r11)
  movsd  -0x58(%rsp),%xmm1
  movsd  %xmm1,0x50(%r11)
  cmp    $0x3,%edi
  jle    L159
  movsd  -0x50(%rsp),%xmm1
  movsd  -0x48(%rsp),%xmm2
  movsd  %xmm1,0x60(%r11)
  movsd  -0x40(%rsp),%xmm1
  movsd  %xmm2,0x68(%r11)
  movsd  %xmm1,0x70(%r11)
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L46:
  movsd  -0x78(%rsp),%xmm1
  movsd  %xmm10,0x20(%r11)
  movsd  %xmm1,0x28(%r11)
  movsd  -0x70(%rsp),%xmm1
  movsd  %xmm1,0x30(%r11)
  movsd  -0x68(%rsp),%xmm1
  movsd  %xmm1,0x40(%r11)
  movsd  -0x60(%rsp),%xmm1
  movsd  %xmm1,0x48(%r11)
  movsd  -0x58(%rsp),%xmm1
  movsd  %xmm1,0x50(%r11)
  cmp    $0x3,%r10d
  jle    L159
  movsd  -0x38(%rsp),%xmm1
  movsd  -0x30(%rsp),%xmm2
  movsd  %xmm1,0x60(%r11)
  movsd  -0x28(%rsp),%xmm1
  movsd  %xmm2,0x68(%r11)
  movsd  %xmm1,0x70(%r11)
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax,%rax,1)
L127:
  addsd  %xmm1,%xmm11
  movsd  -0x78(%rsp),%xmm1
  addsd  -0x8(%rsp),%xmm1
  addsd  -0x70(%rsp),%xmm3
  addsd  -0x48(%rsp),%xmm4
  addsd  -0x68(%rsp),%xmm6
  addsd  -0x60(%rsp),%xmm7
  movsd  %xmm1,-0x78(%rsp)
  movsd  -0x58(%rsp),%xmm1
  addsd  (%rsp),%xmm1
  addsd  %xmm2,%xmm12
  addsd  -0x40(%rsp),%xmm9
  addsd  -0x30(%rsp),%xmm14
  movsd  %xmm3,-0x70(%rsp)
  addsd  -0x28(%rsp),%xmm13
  movsd  -0x18(%rsp),%xmm0
  addsd  %xmm5,%xmm10
  movsd  %xmm4,-0x48(%rsp)
  addsd  -0x50(%rsp),%xmm0
  movsd  %xmm1,-0x58(%rsp)
  movsd  -0x38(%rsp),%xmm1
  addsd  -0x20(%rsp),%xmm1
  addsd  -0x10(%rsp),%xmm15
  movsd  %xmm6,-0x68(%rsp)
  addsd  0x8(%rsp),%xmm8
  movsd  %xmm7,-0x60(%rsp)
  movsd  %xmm0,-0x50(%rsp)
  movsd  %xmm9,-0x40(%rsp)
  movsd  %xmm1,-0x38(%rsp)
  movsd  %xmm14,-0x30(%rsp)
  movsd  %xmm13,-0x28(%rsp)
  jmp    L114
  nopl   0x0(%rax,%rax,1)
L65:
  pxor   %xmm8,%xmm8
  xor    %edx,%edx
  movsd  %xmm8,-0x40(%rsp)
  movapd %xmm8,%xmm12
  movapd %xmm8,%xmm11
  movapd %xmm8,%xmm10
  movsd  %xmm8,-0x48(%rsp)
  movapd %xmm8,%xmm15
  movsd  %xmm8,-0x50(%rsp)
  movsd  %xmm8,-0x28(%rsp)
  movsd  %xmm8,-0x58(%rsp)
  movsd  %xmm8,-0x70(%rsp)
  movsd  %xmm8,-0x30(%rsp)
  movsd  %xmm8,-0x60(%rsp)
  movsd  %xmm8,-0x78(%rsp)
  movsd  %xmm8,-0x38(%rsp)
  movsd  %xmm8,-0x68(%rsp)
  jmp    L130
```

assistant: ```c
void kernel_dgemm_nn_4x4_vs_lib4(int km, int kn, int kmax, double *A, double *B, int sdb, int alg, double *C, double *D, int tc, int td) {
  const int bs = 4;
  int k;
  double a_0, a_1, a_2, a_3, b_0, b_1, b_2, b_3, c_00 = 0, c_01 = 0, c_02 = 0, c_03 = 0, c_10 = 0, c_11 = 0, c_12 = 0, c_13 = 0, c_20 = 0, c_21 = 0, c_22 = 0, c_23 = 0, c_30 = 0, c_31 = 0, c_32 = 0, c_33 = 0;
  for (k = 0; k < kmax - 3; k += 4) {
    a_0 = A[0 + bs * 0];
    a_1 = A[1 + bs * 0];
    a_2 = A[2 + bs * 0];
    a_3 = A[3 + bs * 0];
    b_0 = B[0 + bs * 0];
    b_1 = B[0 + bs * 1];
    b_2 = B[0 + bs * 2];
    b_3 = B[0 + bs * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    c_23 += a_2 * b_3;
    c_33 += a_3 * b_3;
    a_0 = A[0 + bs * 1];
    a_1 = A[1 + bs * 1];
    a_2 = A[2 + bs * 1];
    a_3 = A[3 + bs * 1];
    b_0 = B[1 + bs * 0];
    b_1 = B[1 + bs * 1];
    b_2 = B[1 + bs * 2];
    b_3 = B[1 + bs * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    c_23 += a_2 * b_3;
    c_33 += a_3 * b_3;
    a_0 = A[0 + bs * 2];
    a_1 = A[1 + bs * 2];
    a_2 = A[2 + bs * 2];
    a_3 = A[3 + bs * 2];
    b_0 = B[2 + bs * 0];
    b_1 = B[2 + bs * 1];
    b_2 = B[2 + bs * 2];
    b_3 = B[2 + bs * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    c_23 += a_2 * b_3;
    c_33 += a_3 * b_3;
    a_0 = A[0 + bs * 3];
    a_1 = A[1 + bs * 3];
    a_2 = A[2 + bs * 3];
    a_3 = A[3 + bs * 3];
    b_0 = B[3 + bs * 0];
    b_1 = B[3 + bs * 1];
    b_2 = B[3 + bs * 2];
    b_3 = B[3 + bs * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    c_23 += a_2 * b_3;
    c_33 += a_3 * b_3;
    A += 16;
    B += 4 * sdb;
  }
  for (; k < kmax; k++) {
    a_0 = A[0 + bs * 0];
    a_1 = A[1 + bs * 0];
    a_2 = A[2 + bs * 0];
    a_3 = A[3 + bs * 0];
    b_0 = B[0 + bs * 0];
    b_1 = B[0 + bs * 1];
    b_2 = B[0 + bs * 2];
    b_3 = B[0 + bs * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_02 += a_0 * b_2;
    c_12 += a_1 * b_2;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_03 += a_0 * b_3;
    c_13 += a_1 * b_3;
    c_23 += a_2 * b_3;
    c_33 += a_3 * b_3;
    A += 4;
    B += 1;
  }
  double d_00, d_01, d_02, d_03, d_10, d_11, d_12, d_13, d_20, d_21, d_22, d_23, d_30, d_31, d_32, d_33;
  if (alg == 0) {
    if (td == 0) {
      goto store_n;
    } else {
      goto store_t;
    }
  } else {
    if (tc == 0) {
      d_00 = C[0 + bs * 0];
      d_10 = C[1 + bs * 0];
      d_20 = C[2 + bs * 0];
      d_30 = C[3 + bs * 0];
      d_01 = C[0 + bs * 1];
      d_11 = C[1 + bs * 1];
      d_21 = C[2 + bs * 1];
      d_31 = C[3 + bs * 1];
      d_02 = C[0 + bs * 2];
      d_12 = C[1 + bs * 2];
      d_22 = C[2 + bs * 2];
      d_32 = C[3 + bs * 2];
      d_03 = C[0 + bs * 3];
      d_13 = C[1 + bs * 3];
      d_23 = C[2 + bs * 3];
      d_33 = C[3 + bs * 3];
    } else {
      d_00 = C[0 + bs * 0];
      d_01 = C[1 + bs * 0];
      d_02 = C[2 + bs * 0];
      d_03 = C[3 + bs * 0];
      d_10 = C[0 + bs * 1];
      d_11 = C[1 + bs * 1];
      d_12 = C[2 + bs * 1];
      d_13 = C[3 + bs * 1];
      d_20 = C[0 + bs * 2];
      d_21 = C[1 + bs * 2];
      d_22 = C[2 + bs * 2];
      d_23 = C[3 + bs * 2];
      d_30 = C[0 + bs * 3];
      d_31 = C[1 + bs * 3];
      d_32 = C[2 + bs * 3];
      d_33 = C[3 + bs * 3];
    }
    if (alg == 1) {
      c_00 = d_00 + c_00;
      c_10 = d_10 + c_10;
      c_20 = d_20 + c_20;
      c_30 = d_30 + c_30;
      c_01 = d_01 + c_01;
      c_11 = d_11 + c_11;
      c_21 = d_21 + c_21;
      c_31 = d_31 + c_31;
      c_02 = d_02 + c_02;
      c_12 = d_12 + c_12;
      c_22 = d_22 + c_22;
      c_32 = d_32 + c_32;
      c_03 = d_03 + c_03;
      c_13 = d_13 + c_13;
      c_23 = d_23 + c_23;
      c_33 = d_33 + c_33;
    } else {
      c_00 = d_00 - c_00;
      c_10 = d_10 - c_10;
      c_20 = d_20 - c_20;
      c_30 = d_30 - c_30;
      c_01 = d_01 - c_01;
      c_11 = d_11 - c_11;
      c_21 = d_21 - c_21;
      c_31 = d_31 - c_31;
      c_02 = d_02 - c_02;
      c_12 = d_12 - c_12;
      c_22 = d_22 - c_22;
      c_32 = d_32 - c_32;
      c_03 = d_03 - c_03;
      c_13 = d_13 - c_13;
      c_23 = d_23 - c_23;
      c_33 = d_33 - c_33;
    }
    if (td == 0) {
      goto store_n;
    } else {
      goto store_t;
    }
  }
store_n:
  if (km >= 4) {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_10;
    D[2 + bs * 0] = c_20;
    D[3 + bs * 0] = c_30;
    D[0 + bs * 1] = c_01;
    D[1 + bs * 1] = c_11;
    D[2 + bs * 1] = c_21;
    D[3 + bs * 1] = c_31;
    D[0 + bs * 2] = c_02;
    D[1 + bs * 2] = c_12;
    D[2 + bs * 2] = c_22;
    D[3 + bs * 2] = c_32;
    if (kn >= 4) {
      D[0 + bs * 3] = c_03;
      D[1 + bs * 3] = c_13;
      D[2 + bs * 3] = c_23;
      D[3 + bs * 3] = c_33;
    }
  } else {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_10;
    D[2 + bs * 0] = c_20;
    D[0 + bs * 1] = c_01;
    D[1 + bs * 1] = c_11;
    D[2 + bs * 1] = c_21;
    D[0 + bs * 2] = c_02;
    D[1 + bs * 2] = c_12;
    D[2 + bs * 2] = c_22;
    if (kn >= 4) {
      D[0 + bs * 3] = c_03;
      D[1 + bs * 3] = c_13;
      D[2 + bs * 3] = c_23;
    }
  }
  return;
store_t:
  if (kn >= 4) {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_01;
    D[2 + bs * 0] = c_02;
    D[3 + bs * 0] = c_03;
    D[0 + bs * 1] = c_10;
    D[1 + bs * 1] = c_11;
    D[2 + bs * 1] = c_12;
    D[3 + bs * 1] = c_13;
    D[0 + bs * 2] = c_20;
    D[1 + bs * 2] = c_21;
    D[2 + bs * 2] = c_22;
    D[3 + bs * 2] = c_23;
    if (km >= 4) {
      D[0 + bs * 3] = c_30;
      D[1 + bs * 3] = c_31;
      D[2 + bs * 3] = c_32;
      D[3 + bs * 3] = c_33;
    }
  } else {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_01;
    D[2 + bs * 0] = c_02;
    D[0 + bs * 1] = c_10;
    D[1 + bs * 1] = c_11;
    D[2 + bs * 1] = c_12;
    D[0 + bs * 2] = c_20;
    D[1 + bs * 2] = c_21;
    D[2 + bs * 2] = c_22;
    if (km >= 4) {
      D[0 + bs * 3] = c_30;
      D[1 + bs * 3] = c_31;
      D[2 + bs * 3] = c_32;
    }
  }
  return;
}
```