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

```asm
<kernel_dtrsm_nn_ru_4x4_vs_lib4>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    0x48(%rsp),%r14
  mov    0x50(%rsp),%r15
  mov    %edi,-0x20(%rsp)
  mov    %esi,-0x10(%rsp)
  mov    %edx,-0x1c(%rsp)
  test   %edx,%edx
  jle    L117
  mov    %rcx,%rbx
  mov    %r8,%r13
  mov    %edx,%eax
  cmp    $0x3,%edx
  jle    L167
  sub    $0x4,%eax
  shl    $0x2,%r9d
  mov    %r8,-0x8(%rsp)
  mov    %r8,%rbp
  shr    $0x2,%eax
  movslq %r9d,%r9
  pxor   %xmm11,%xmm11
  add    $0x1,%eax
  movapd %xmm11,%xmm15
  movapd %xmm11,%xmm0
  movsd  %xmm11,-0x48(%rsp)
  mov    %eax,-0xc(%rsp)
  movq   %xmm11,%rdx
  movapd %xmm11,%xmm13
  lea    0x0(,%r9,8),%rdi
  mov    %rax,-0x18(%rsp)
  shl    $0x7,%rax
  movapd %xmm11,%xmm12
  mov    %rdi,%r13
  lea    (%rcx,%rax,1),%r12
  movapd %xmm11,%xmm14
  movq   %xmm11,%rax
  movsd  %xmm11,-0x50(%rsp)
  movq   %xmm11,%rsi
  movsd  %xmm11,-0x40(%rsp)
  mov    %r12,%r14
  movq   %xmm11,%rcx
  movsd  %xmm11,-0x38(%rsp)
  movsd  %xmm11,-0x30(%rsp)
  movsd  %xmm11,-0x28(%rsp)
L193:
  movsd  (%rbx),%xmm4
  movsd  0x8(%rbx),%xmm3
  sub    $0xffffffffffffff80,%rbx
  movsd  0x0(%rbp),%xmm8
  movsd  -0x40(%rsp),%xmm10
  movapd %xmm4,%xmm9
  movsd  -0x70(%rbx),%xmm2
  movsd  -0x68(%rbx),%xmm1
  mulsd  %xmm8,%xmm9
  movsd  0x20(%rbp),%xmm7
  movsd  0x40(%rbp),%xmm5
  movsd  0x60(%rbp),%xmm6
  subsd  %xmm9,%xmm10
  movapd %xmm3,%xmm9
  mulsd  %xmm8,%xmm9
  movq   %xmm10,%r9
  movsd  -0x38(%rsp),%xmm10
  subsd  %xmm9,%xmm13
  movapd %xmm2,%xmm9
  mulsd  %xmm8,%xmm9
  mulsd  %xmm1,%xmm8
  subsd  %xmm9,%xmm14
  movsd  -0x50(%rsp),%xmm9
  subsd  %xmm8,%xmm0
  movapd %xmm4,%xmm8
  mulsd  %xmm7,%xmm8
  movq   %xmm0,%r12
  movsd  -0x48(%rsp),%xmm0
  subsd  %xmm8,%xmm10
  movapd %xmm3,%xmm8
  mulsd  %xmm7,%xmm8
  subsd  %xmm8,%xmm9
  movapd %xmm2,%xmm8
  mulsd  %xmm7,%xmm8
  mulsd  %xmm1,%xmm7
  subsd  %xmm8,%xmm0
  subsd  %xmm7,%xmm15
  movapd %xmm4,%xmm7
  mulsd  %xmm5,%xmm7
  mulsd  %xmm6,%xmm4
  movq   %xmm0,%r10
  movq   %rsi,%xmm0
  movapd %xmm15,%xmm8
  subsd  %xmm7,%xmm0
  movapd %xmm3,%xmm7
  mulsd  %xmm5,%xmm7
  mulsd  %xmm6,%xmm3
  movq   %xmm0,%rsi
  movq   %rcx,%xmm0
  subsd  %xmm7,%xmm0
  movapd %xmm2,%xmm7
  mulsd  %xmm5,%xmm7
  mulsd  %xmm1,%xmm5
  mulsd  %xmm6,%xmm2
  movq   %xmm0,%rcx
  movq   %rdx,%xmm0
  mulsd  %xmm6,%xmm1
  movsd  0x28(%rbp),%xmm6
  subsd  %xmm7,%xmm0
  movsd  0x8(%rbp),%xmm7
  subsd  %xmm2,%xmm12
  movsd  -0x50(%rbx),%xmm2
  movq   %xmm0,%rdx
  movq   %rax,%xmm0
  subsd  %xmm1,%xmm11
  movsd  -0x48(%rbx),%xmm1
  subsd  %xmm5,%xmm0
  movsd  0x48(%rbp),%xmm5
  movq   %xmm11,%r11
  movsd  0x68(%rbp),%xmm11
  movq   %xmm0,%rax
  movsd  -0x30(%rsp),%xmm0
  subsd  %xmm4,%xmm0
  movsd  -0x60(%rbx),%xmm4
  movapd %xmm4,%xmm15
  mulsd  %xmm7,%xmm15
  movq   %xmm0,%rdi
  movsd  -0x28(%rsp),%xmm0
  subsd  %xmm3,%xmm0
  movsd  -0x58(%rbx),%xmm3
  movq   %xmm0,%r8
  movq   %r9,%xmm0
  subsd  %xmm15,%xmm0
  movapd %xmm3,%xmm15
  mulsd  %xmm7,%xmm15
  movq   %xmm0,%r9
  movq   %r12,%xmm0
  subsd  %xmm15,%xmm13
  movapd %xmm2,%xmm15
  mulsd  %xmm7,%xmm15
  mulsd  %xmm1,%xmm7
  subsd  %xmm15,%xmm14
  movq   %r10,%xmm15
  subsd  %xmm7,%xmm0
  movapd %xmm4,%xmm7
  mulsd  %xmm6,%xmm7
  movsd  %xmm0,-0x50(%rsp)
  movq   %r9,%xmm0
  subsd  %xmm7,%xmm10
  movapd %xmm3,%xmm7
  mulsd  %xmm6,%xmm7
  subsd  %xmm7,%xmm9
  movapd %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  mulsd  %xmm1,%xmm6
  subsd  %xmm7,%xmm15
  movq   %rcx,%xmm7
  movq   %xmm15,%r10
  movapd %xmm8,%xmm15
  movq   %rsi,%xmm8
  subsd  %xmm6,%xmm15
  movapd %xmm4,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm11,%xmm4
  subsd  %xmm6,%xmm8
  movapd %xmm3,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm11,%xmm3
  subsd  %xmm6,%xmm7
  movapd %xmm2,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm1,%xmm5
  mulsd  %xmm11,%xmm2
  movq   %xmm7,%rcx
  movq   %rdx,%xmm7
  mulsd  %xmm11,%xmm1
  movsd  0x70(%rbp),%xmm11
  subsd  %xmm6,%xmm7
  movq   %rax,%xmm6
  subsd  %xmm5,%xmm6
  movq   %rdi,%xmm5
  subsd  %xmm4,%xmm5
  movq   %r8,%xmm4
  subsd  %xmm2,%xmm12
  subsd  %xmm3,%xmm4
  movq   %xmm7,%rdx
  movsd  0x10(%rbp),%xmm7
  movsd  -0x38(%rbx),%xmm3
  movq   %r11,%xmm2
  movq   %xmm6,%rax
  movsd  0x30(%rbp),%xmm6
  movq   %xmm12,%r12
  subsd  %xmm1,%xmm2
  movsd  -0x28(%rbx),%xmm1
  movq   %xmm5,%rdi
  movq   %xmm4,%r8
  movsd  -0x40(%rbx),%xmm4
  movsd  0x50(%rbp),%xmm5
  movapd %xmm4,%xmm12
  movq   %xmm2,%r11
  movsd  -0x30(%rbx),%xmm2
  mulsd  %xmm7,%xmm12
  subsd  %xmm12,%xmm0
  movapd %xmm3,%xmm12
  mulsd  %xmm7,%xmm12
  movq   %xmm0,%r9
  movsd  -0x50(%rsp),%xmm0
  subsd  %xmm12,%xmm13
  movapd %xmm2,%xmm12
  mulsd  %xmm7,%xmm12
  mulsd  %xmm1,%xmm7
  subsd  %xmm12,%xmm14
  movq   %r10,%xmm12
  subsd  %xmm7,%xmm0
  movapd %xmm4,%xmm7
  mulsd  %xmm6,%xmm7
  movq   %xmm0,%rsi
  movq   %r9,%xmm0
  subsd  %xmm7,%xmm10
  movapd %xmm3,%xmm7
  mulsd  %xmm6,%xmm7
  subsd  %xmm7,%xmm9
  movapd %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  mulsd  %xmm1,%xmm6
  subsd  %xmm7,%xmm12
  movq   %rcx,%xmm7
  subsd  %xmm6,%xmm15
  movapd %xmm4,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm11,%xmm4
  movq   %xmm12,%r10
  subsd  %xmm6,%xmm8
  movapd %xmm3,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm11,%xmm3
  subsd  %xmm6,%xmm7
  movapd %xmm2,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm1,%xmm5
  mulsd  %xmm11,%xmm2
  movq   %xmm7,%rcx
  movq   %rdx,%xmm7
  mulsd  %xmm11,%xmm1
  subsd  %xmm6,%xmm7
  movq   %rax,%xmm6
  subsd  %xmm5,%xmm6
  movq   %rdi,%xmm5
  subsd  %xmm4,%xmm5
  movq   %r8,%xmm4
  subsd  %xmm3,%xmm4
  movq   %xmm7,%rdx
  movq   %r12,%xmm3
  subsd  %xmm2,%xmm3
  movq   %r11,%xmm2
  movq   %xmm6,%rax
  subsd  %xmm1,%xmm2
  movq   %xmm5,%rdi
  movq   %xmm4,%r8
  movsd  -0x20(%rbx),%xmm4
  movsd  0x18(%rbp),%xmm7
  movq   %xmm3,%r12
  movsd  -0x18(%rbx),%xmm3
  movsd  -0x8(%rbx),%xmm1
  movapd %xmm4,%xmm12
  movq   %xmm2,%r11
  movsd  -0x10(%rbx),%xmm2
  movsd  0x38(%rbp),%xmm6
  mulsd  %xmm7,%xmm12
  movsd  0x58(%rbp),%xmm5
  movsd  0x78(%rbp),%xmm11
  add    %r13,%rbp
  subsd  %xmm12,%xmm0
  movapd %xmm3,%xmm12
  mulsd  %xmm7,%xmm12
  movsd  %xmm0,-0x40(%rsp)
  movq   %rsi,%xmm0
  subsd  %xmm12,%xmm13
  movapd %xmm2,%xmm12
  mulsd  %xmm7,%xmm12
  mulsd  %xmm1,%xmm7
  subsd  %xmm12,%xmm14
  movq   %r12,%xmm12
  subsd  %xmm7,%xmm0
  movapd %xmm4,%xmm7
  mulsd  %xmm6,%xmm7
  subsd  %xmm7,%xmm10
  movapd %xmm3,%xmm7
  mulsd  %xmm6,%xmm7
  movsd  %xmm10,-0x38(%rsp)
  movq   %r10,%xmm10
  subsd  %xmm7,%xmm9
  movapd %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  mulsd  %xmm1,%xmm6
  movsd  %xmm9,-0x50(%rsp)
  subsd  %xmm7,%xmm10
  movq   %rcx,%xmm7
  subsd  %xmm6,%xmm15
  movapd %xmm4,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm11,%xmm4
  movsd  %xmm10,-0x48(%rsp)
  subsd  %xmm6,%xmm8
  movapd %xmm3,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm11,%xmm3
  movq   %xmm8,%rsi
  subsd  %xmm6,%xmm7
  movapd %xmm2,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm1,%xmm5
  mulsd  %xmm11,%xmm2
  movq   %xmm7,%rcx
  movq   %rdx,%xmm7
  mulsd  %xmm11,%xmm1
  movq   %r11,%xmm11
  subsd  %xmm6,%xmm7
  movq   %rax,%xmm6
  subsd  %xmm5,%xmm6
  movq   %rdi,%xmm5
  subsd  %xmm4,%xmm5
  movq   %r8,%xmm4
  subsd  %xmm2,%xmm12
  subsd  %xmm3,%xmm4
  subsd  %xmm1,%xmm11
  movq   %xmm7,%rdx
  movq   %xmm6,%rax
  movsd  %xmm5,-0x30(%rsp)
  movsd  %xmm4,-0x28(%rsp)
  cmp    %r14,%rbx
  jne    L193
  mov    %r13,%rdi
  mov    -0x8(%rsp),%r13
  mov    %r14,%r12
  movq   %xmm13,%r9
  imul   -0x18(%rsp),%rdi
  movq   %xmm14,%r8
  movq   %xmm12,%r11
  mov    -0x40(%rsp),%r10
  mov    0x48(%rsp),%r14
  movapd %xmm5,%xmm14
  movapd %xmm4,%xmm13
  movsd  -0x38(%rsp),%xmm10
  movq   %rcx,%xmm12
  add    %rdi,%r13
  mov    -0xc(%rsp),%edi
  shl    $0x2,%edi
  cmp    %edi,-0x1c(%rsp)
  jle    L175
  movq   %rcx,%xmm14
  mov    -0x1c(%rsp),%ecx
  movapd %xmm10,%xmm13
  movsd  %xmm11,-0x40(%rsp)
  movq   %xmm5,%rbx
  movq   %r8,%xmm12
  movq   %xmm4,%rbp
  movq   %r10,%xmm10
  movq   %r9,%xmm11
L181:
  movsd  (%r12),%xmm4
  movsd  0x0(%r13),%xmm7
  add    $0x1,%edi
  add    $0x20,%r12
  movsd  0x20(%r13),%xmm6
  movsd  0x40(%r13),%xmm5
  add    $0x8,%r13
  movapd %xmm4,%xmm9
  movsd  -0x18(%r12),%xmm3
  movsd  -0x10(%r12),%xmm2
  mulsd  %xmm7,%xmm9
  movsd  -0x8(%r12),%xmm1
  movsd  0x58(%r13),%xmm8
  subsd  %xmm9,%xmm10
  movapd %xmm3,%xmm9
  mulsd  %xmm7,%xmm9
  subsd  %xmm9,%xmm11
  movapd %xmm2,%xmm9
  mulsd  %xmm7,%xmm9
  mulsd  %xmm1,%xmm7
  subsd  %xmm9,%xmm12
  movsd  -0x50(%rsp),%xmm9
  subsd  %xmm7,%xmm0
  movapd %xmm4,%xmm7
  mulsd  %xmm6,%xmm7
  subsd  %xmm7,%xmm13
  movapd %xmm3,%xmm7
  mulsd  %xmm6,%xmm7
  subsd  %xmm7,%xmm9
  movapd %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  mulsd  %xmm1,%xmm6
  movsd  %xmm9,-0x50(%rsp)
  movsd  -0x48(%rsp),%xmm9
  subsd  %xmm7,%xmm9
  movq   %rsi,%xmm7
  subsd  %xmm6,%xmm15
  movapd %xmm4,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm8,%xmm4
  movsd  %xmm9,-0x48(%rsp)
  subsd  %xmm6,%xmm7
  movapd %xmm3,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm8,%xmm3
  movq   %xmm7,%rsi
  movq   %rdx,%xmm7
  subsd  %xmm6,%xmm14
  movapd %xmm2,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm1,%xmm5
  mulsd  %xmm8,%xmm2
  mulsd  %xmm8,%xmm1
  subsd  %xmm6,%xmm7
  movq   %rax,%xmm6
  subsd  %xmm5,%xmm6
  movq   %rbx,%xmm5
  subsd  %xmm4,%xmm5
  movq   %rbp,%xmm4
  subsd  %xmm3,%xmm4
  movq   %r11,%xmm3
  movq   %xmm7,%rdx
  subsd  %xmm2,%xmm3
  movq   %xmm6,%rax
  movq   %xmm5,%rbx
  movq   %xmm4,%rbp
  movq   %xmm3,%r11
  movsd  -0x40(%rsp),%xmm3
  subsd  %xmm1,%xmm3
  movsd  %xmm3,-0x40(%rsp)
  cmp    %edi,%ecx
  jg     L181
  movq   %xmm10,%r10
  movq   %xmm11,%r9
  movq   %xmm12,%r8
  movapd %xmm13,%xmm10
  movapd %xmm14,%xmm12
  movapd %xmm4,%xmm13
  movapd %xmm5,%xmm14
  movapd %xmm3,%xmm11
L175:
  mov    0x38(%rsp),%edi
  test   %edi,%edi
  je     L95
  mov    0x40(%rsp),%rcx
  movq   %r10,%xmm1
  addsd  (%rcx),%xmm1
  addsd  0x18(%rcx),%xmm0
  addsd  0x20(%rcx),%xmm10
  addsd  0x38(%rcx),%xmm15
  addsd  0x48(%rcx),%xmm12
  addsd  0x60(%rcx),%xmm14
  movq   %xmm1,%r10
  movq   %r9,%xmm1
  addsd  0x8(%rcx),%xmm1
  addsd  0x68(%rcx),%xmm13
  addsd  0x78(%rcx),%xmm11
  movq   %xmm1,%r9
  movq   %r8,%xmm1
  addsd  0x10(%rcx),%xmm1
  movq   %xmm1,%r8
  movsd  -0x50(%rsp),%xmm1
  addsd  0x28(%rcx),%xmm1
  movsd  %xmm1,-0x50(%rsp)
  movsd  -0x48(%rsp),%xmm1
  addsd  0x30(%rcx),%xmm1
  movsd  %xmm1,-0x48(%rsp)
  movq   %rsi,%xmm1
  addsd  0x40(%rcx),%xmm1
  movq   %xmm1,%rsi
  movq   %rdx,%xmm1
  addsd  0x50(%rcx),%xmm1
  movq   %xmm1,%rdx
  movq   %rax,%xmm1
  addsd  0x58(%rcx),%xmm1
  movq   %xmm1,%rax
  movq   %r11,%xmm1
  addsd  0x70(%rcx),%xmm1
  movq   %xmm1,%r11
L95:
  mov    0x58(%rsp),%ecx
  test   %ecx,%ecx
  je     L159
  mov    0x60(%rsp),%rcx
  movq   %r10,%xmm8
  movq   %r9,%xmm7
  movq   %r8,%xmm6
  cmpl   $0x3,-0x20(%rsp)
  movsd  (%rcx),%xmm1
  mulsd  %xmm1,%xmm8
  mulsd  %xmm1,%xmm7
  mulsd  %xmm1,%xmm6
  mulsd  %xmm1,%xmm0
  movsd  %xmm8,(%r14)
  movsd  %xmm7,0x8(%r14)
  movsd  %xmm6,0x10(%r14)
  jg     L76
L150:
  movsd  0x20(%r15),%xmm2
  movapd %xmm8,%xmm3
  movapd %xmm10,%xmm5
  movapd %xmm6,%xmm9
  movsd  -0x50(%rsp),%xmm4
  mov    0x60(%rsp),%rcx
  mulsd  %xmm2,%xmm3
  cmpl   $0x3,-0x20(%rsp)
  mulsd  %xmm2,%xmm9
  movsd  0x8(%rcx),%xmm1
  subsd  %xmm3,%xmm5
  movapd %xmm7,%xmm3
  mulsd  %xmm2,%xmm3
  mulsd  %xmm0,%xmm2
  mulsd  %xmm1,%xmm5
  subsd  %xmm3,%xmm4
  movsd  -0x48(%rsp),%xmm3
  subsd  %xmm9,%xmm3
  movapd %xmm2,%xmm9
  movapd %xmm15,%xmm2
  movsd  %xmm5,0x20(%r14)
  subsd  %xmm9,%xmm2
  mulsd  %xmm1,%xmm4
  mulsd  %xmm1,%xmm3
  mulsd  %xmm2,%xmm1
  movsd  %xmm4,0x28(%r14)
  movsd  %xmm3,0x30(%r14)
  movsd  %xmm1,-0x50(%rsp)
  jle    L12
  movsd  %xmm1,0x38(%r14)
L12:
  movsd  0x40(%r15),%xmm10
  movapd %xmm8,%xmm15
  movq   %rsi,%xmm1
  movsd  0x48(%r15),%xmm9
  mov    0x60(%rsp),%rcx
  cmpl   $0x3,-0x20(%rsp)
  mulsd  %xmm10,%xmm15
  movsd  0x10(%rcx),%xmm2
  subsd  %xmm15,%xmm1
  movapd %xmm7,%xmm15
  mulsd  %xmm10,%xmm15
  subsd  %xmm15,%xmm12
  movq   %rdx,%xmm15
  movq   %xmm12,%rsi
  movapd %xmm6,%xmm12
  mulsd  %xmm10,%xmm12
  mulsd  %xmm0,%xmm10
  subsd  %xmm12,%xmm15
  movapd %xmm10,%xmm12
  movq   %rax,%xmm10
  subsd  %xmm12,%xmm10
  movapd %xmm5,%xmm12
  mulsd  %xmm9,%xmm12
  subsd  %xmm12,%xmm1
  movapd %xmm4,%xmm12
  mulsd  %xmm9,%xmm12
  movq   %xmm1,%rcx
  movq   %rsi,%xmm1
  subsd  %xmm12,%xmm1
  movapd %xmm3,%xmm12
  mulsd  %xmm9,%xmm12
  mulsd  -0x50(%rsp),%xmm9
  movq   %xmm1,%rdx
  movq   %rcx,%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm12,%xmm15
  subsd  %xmm9,%xmm10
  mulsd  %xmm2,%xmm15
  movq   %xmm1,%rcx
  movq   %rdx,%xmm1
  mulsd  %xmm2,%xmm1
  mov    %rcx,0x40(%r14)
  mulsd  %xmm10,%xmm2
  movq   %xmm15,%rax
  movsd  %xmm15,0x50(%r14)
  movq   %xmm1,%rdx
  movsd  %xmm1,0x48(%r14)
  jle    L1
  movsd  %xmm2,0x58(%r14)
L1:
  cmpl   $0x3,-0x10(%rsp)
  jle    L135
  movsd  0x60(%r15),%xmm15
  movsd  0x68(%r15),%xmm12
  movsd  0x70(%r15),%xmm10
  mov    0x60(%rsp),%rsi
  mulsd  %xmm15,%xmm8
  cmpl   $0x3,-0x20(%rsp)
  mulsd  %xmm15,%xmm7
  movsd  0x18(%rsi),%xmm9
  mulsd  %xmm15,%xmm6
  mulsd  %xmm12,%xmm5
  mulsd  %xmm12,%xmm4
  mulsd  %xmm12,%xmm3
  subsd  %xmm8,%xmm14
  subsd  %xmm7,%xmm13
  movq   %r11,%xmm7
  subsd  %xmm6,%xmm7
  movapd %xmm5,%xmm6
  movapd %xmm14,%xmm5
  subsd  %xmm6,%xmm5
  movapd %xmm4,%xmm6
  movapd %xmm13,%xmm4
  subsd  %xmm6,%xmm4
  movapd %xmm3,%xmm6
  movapd %xmm7,%xmm3
  subsd  %xmm6,%xmm3
  movq   %rcx,%xmm6
  mulsd  %xmm10,%xmm6
  subsd  %xmm6,%xmm5
  movq   %rdx,%xmm6
  mulsd  %xmm10,%xmm6
  mulsd  %xmm9,%xmm5
  subsd  %xmm6,%xmm4
  movq   %rax,%xmm6
  mulsd  %xmm10,%xmm6
  movsd  %xmm5,0x60(%r14)
  mulsd  %xmm9,%xmm4
  subsd  %xmm6,%xmm3
  movsd  %xmm4,0x68(%r14)
  mulsd  %xmm9,%xmm3
  movsd  %xmm3,0x70(%r14)
  jle    L135
  mulsd  %xmm15,%xmm0
  movsd  -0x50(%rsp),%xmm1
  mulsd  %xmm10,%xmm2
  mulsd  %xmm12,%xmm1
  subsd  %xmm0,%xmm11
  movapd %xmm11,%xmm0
  subsd  %xmm1,%xmm0
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm9
  movsd  %xmm9,0x78(%r14)
L135:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L76:
  movsd  %xmm0,0x18(%r14)
  jmp    L150
  nopl   0x0(%rax,%rax,1)
L159:
  movq   %r10,%xmm1
  movq   %r9,%xmm2
  movq   %r8,%xmm9
  movsd  D0(%rip),%xmm5
  cmpl   $0x3,-0x20(%rsp)
  movapd %xmm5,%xmm3
  divsd  (%r15),%xmm3
  mulsd  %xmm3,%xmm1
  mulsd  %xmm3,%xmm2
  mulsd  %xmm3,%xmm9
  mulsd  %xmm0,%xmm3
  movsd  %xmm1,-0x40(%rsp)
  movsd  %xmm2,-0x38(%rsp)
  movsd  %xmm1,(%r14)
  movsd  %xmm2,0x8(%r14)
  movsd  %xmm9,0x10(%r14)
  jle    L179
  movsd  %xmm3,0x18(%r14)
L179:
  movsd  0x20(%r15),%xmm6
  movsd  -0x40(%rsp),%xmm0
  movapd %xmm10,%xmm2
  movapd %xmm9,%xmm7
  movsd  -0x50(%rsp),%xmm1
  movapd %xmm5,%xmm4
  divsd  0x28(%r15),%xmm4
  cmpl   $0x3,-0x20(%rsp)
  mulsd  %xmm6,%xmm0
  mulsd  %xmm6,%xmm7
  subsd  %xmm0,%xmm2
  movsd  -0x38(%rsp),%xmm0
  mulsd  %xmm6,%xmm0
  mulsd  %xmm3,%xmm6
  mulsd  %xmm4,%xmm2
  subsd  %xmm0,%xmm1
  movsd  -0x48(%rsp),%xmm0
  subsd  %xmm7,%xmm0
  movapd %xmm6,%xmm7
  movapd %xmm15,%xmm6
  movsd  %xmm2,0x20(%r14)
  mulsd  %xmm4,%xmm1
  subsd  %xmm7,%xmm6
  mulsd  %xmm4,%xmm0
  mulsd  %xmm6,%xmm4
  movsd  %xmm1,0x28(%r14)
  movsd  %xmm0,0x30(%r14)
  jle    L105
  movsd  %xmm4,0x38(%r14)
L105:
  movsd  0x40(%r15),%xmm8
  movq   %rsi,%xmm10
  movsd  0x48(%r15),%xmm7
  movapd %xmm5,%xmm6
  movsd  -0x40(%rsp),%xmm15
  divsd  0x50(%r15),%xmm6
  cmpl   $0x3,-0x20(%rsp)
  mulsd  %xmm8,%xmm15
  subsd  %xmm15,%xmm10
  movsd  -0x38(%rsp),%xmm15
  mulsd  %xmm8,%xmm15
  movq   %xmm10,%rsi
  movq   %rdx,%xmm10
  subsd  %xmm15,%xmm12
  movapd %xmm9,%xmm15
  mulsd  %xmm8,%xmm15
  mulsd  %xmm3,%xmm8
  subsd  %xmm15,%xmm10
  movapd %xmm2,%xmm15
  mulsd  %xmm7,%xmm15
  movq   %xmm10,%rdx
  movq   %rax,%xmm10
  subsd  %xmm8,%xmm10
  movq   %xmm10,%rax
  movq   %rsi,%xmm10
  subsd  %xmm15,%xmm10
  movapd %xmm1,%xmm15
  movq   %rax,%xmm8
  mulsd  %xmm7,%xmm15
  movq   %xmm10,%rsi
  movapd %xmm12,%xmm10
  subsd  %xmm15,%xmm10
  movapd %xmm0,%xmm15
  mulsd  %xmm7,%xmm15
  mulsd  %xmm4,%xmm7
  movq   %xmm10,%rcx
  movq   %rdx,%xmm10
  subsd  %xmm15,%xmm10
  subsd  %xmm7,%xmm8
  movq   %rsi,%xmm7
  mulsd  %xmm6,%xmm7
  movq   %xmm7,%rsi
  movq   %rcx,%xmm7
  mulsd  %xmm6,%xmm7
  mov    %rsi,0x40(%r14)
  movq   %xmm7,%rcx
  movapd %xmm10,%xmm7
  mulsd  %xmm6,%xmm7
  mov    %rcx,0x48(%r14)
  mulsd  %xmm8,%xmm6
  movq   %xmm7,%rdx
  movsd  %xmm7,0x50(%r14)
  jle    L192
  movsd  %xmm6,0x58(%r14)
L192:
  cmpl   $0x3,-0x10(%rsp)
  jle    L135
  movsd  0x60(%r15),%xmm15
  movsd  -0x38(%rsp),%xmm10
  movsd  0x70(%r15),%xmm7
  movsd  0x68(%r15),%xmm8
  mulsd  %xmm15,%xmm10
  movsd  -0x40(%rsp),%xmm12
  cmpl   $0x3,-0x20(%rsp)
  mulsd  %xmm15,%xmm9
  divsd  %xmm7,%xmm5
  mulsd  %xmm8,%xmm1
  mulsd  %xmm8,%xmm0
  subsd  %xmm10,%xmm13
  mulsd  %xmm15,%xmm12
  movq   %r11,%xmm10
  subsd  %xmm9,%xmm10
  mulsd  %xmm8,%xmm2
  subsd  %xmm1,%xmm13
  movapd %xmm0,%xmm1
  movapd %xmm10,%xmm0
  subsd  %xmm1,%xmm0
  subsd  %xmm12,%xmm14
  movq   %rsi,%xmm1
  mulsd  %xmm7,%xmm1
  subsd  %xmm2,%xmm14
  subsd  %xmm1,%xmm14
  movq   %rcx,%xmm1
  mulsd  %xmm7,%xmm1
  subsd  %xmm1,%xmm13
  movq   %rdx,%xmm1
  mulsd  %xmm7,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  %xmm5,%xmm14
  mulsd  %xmm5,%xmm13
  mulsd  %xmm5,%xmm0
  movsd  %xmm14,0x60(%r14)
  movsd  %xmm13,0x68(%r14)
  movsd  %xmm0,0x70(%r14)
  jle    L135
  mulsd  %xmm15,%xmm3
  mulsd  %xmm8,%xmm4
  mulsd  %xmm7,%xmm6
  subsd  %xmm3,%xmm11
  subsd  %xmm4,%xmm11
  subsd  %xmm6,%xmm11
  mulsd  %xmm11,%xmm5
  movsd  %xmm5,0x78(%r14)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L117:
  pxor   %xmm11,%xmm11
  movq   %xmm11,%rax
  movapd %xmm11,%xmm15
  movapd %xmm11,%xmm0
  movsd  %xmm11,-0x48(%rsp)
  movq   %xmm11,%r11
  movq   %xmm11,%rdx
  movq   %xmm11,%r8
  movsd  %xmm11,-0x50(%rsp)
  movapd %xmm11,%xmm13
  movapd %xmm11,%xmm12
  movq   %xmm11,%r9
  movapd %xmm11,%xmm14
  movq   %xmm11,%rsi
  movapd %xmm11,%xmm10
  movq   %xmm11,%r10
  jmp    L175
  nopl   0x0(%rax)
L167:
  pxor   %xmm11,%xmm11
  mov    %rcx,%r12
  xor    %edi,%edi
  mov    -0x1c(%rsp),%ecx
  movq   %xmm11,%rax
  movapd %xmm11,%xmm15
  movapd %xmm11,%xmm0
  movsd  %xmm11,-0x48(%rsp)
  movq   %xmm11,%r11
  movq   %xmm11,%rdx
  movapd %xmm11,%xmm13
  movsd  %xmm11,-0x50(%rsp)
  movapd %xmm11,%xmm12
  movapd %xmm11,%xmm14
  movq   %xmm11,%rsi
  movsd  %xmm11,-0x40(%rsp)
  movapd %xmm11,%xmm10
  movq   %xmm11,%rbx
  movq   %xmm11,%rbp
  jmp    L181
```

tool_calls: name: unpack_data
arguments: tag: D0
type_guessed: f64

tool: D0: 1

assistant: ```c
void kernel_dtrsm_nn_ru_4x4_vs_lib4(int km, int kn, int kmax, double *A, double *B, int sdb, int alg, double *C, double *D, double *E, int use_inv_diag_E, double *inv_diag_E) {
  const int bs = 4;
  int k;
  double tmp, a_0, a_1, a_2, a_3, b_0, b_1, b_2, b_3, e_00, e_01, e_02, e_03, e_11, e_12, e_13, e_22, e_23, e_33, d_00 = 0, d_01 = 0, d_02 = 0, d_03 = 0, d_10 = 0, d_11 = 0, d_12 = 0, d_13 = 0, d_20 = 0, d_21 = 0, d_22 = 0, d_23 = 0, d_30 = 0, d_31 = 0, d_32 = 0, d_33 = 0;
  if (kmax <= 0)
    goto add;
  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];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_20 -= a_2 * b_0;
    d_30 -= a_3 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    d_21 -= a_2 * b_1;
    d_31 -= a_3 * b_1;
    d_02 -= a_0 * b_2;
    d_12 -= a_1 * b_2;
    d_22 -= a_2 * b_2;
    d_32 -= a_3 * b_2;
    d_03 -= a_0 * b_3;
    d_13 -= a_1 * b_3;
    d_23 -= a_2 * b_3;
    d_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];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_20 -= a_2 * b_0;
    d_30 -= a_3 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    d_21 -= a_2 * b_1;
    d_31 -= a_3 * b_1;
    d_02 -= a_0 * b_2;
    d_12 -= a_1 * b_2;
    d_22 -= a_2 * b_2;
    d_32 -= a_3 * b_2;
    d_03 -= a_0 * b_3;
    d_13 -= a_1 * b_3;
    d_23 -= a_2 * b_3;
    d_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];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_20 -= a_2 * b_0;
    d_30 -= a_3 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    d_21 -= a_2 * b_1;
    d_31 -= a_3 * b_1;
    d_02 -= a_0 * b_2;
    d_12 -= a_1 * b_2;
    d_22 -= a_2 * b_2;
    d_32 -= a_3 * b_2;
    d_03 -= a_0 * b_3;
    d_13 -= a_1 * b_3;
    d_23 -= a_2 * b_3;
    d_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];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_20 -= a_2 * b_0;
    d_30 -= a_3 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    d_21 -= a_2 * b_1;
    d_31 -= a_3 * b_1;
    d_02 -= a_0 * b_2;
    d_12 -= a_1 * b_2;
    d_22 -= a_2 * b_2;
    d_32 -= a_3 * b_2;
    d_03 -= a_0 * b_3;
    d_13 -= a_1 * b_3;
    d_23 -= a_2 * b_3;
    d_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];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_20 -= a_2 * b_0;
    d_30 -= a_3 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    d_21 -= a_2 * b_1;
    d_31 -= a_3 * b_1;
    d_02 -= a_0 * b_2;
    d_12 -= a_1 * b_2;
    d_22 -= a_2 * b_2;
    d_32 -= a_3 * b_2;
    d_03 -= a_0 * b_3;
    d_13 -= a_1 * b_3;
    d_23 -= a_2 * b_3;
    d_33 -= a_3 * b_3;
    A += 4;
    B += 1;
  }
add:
  if (alg != 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];
  }
  if (use_inv_diag_E) {
    e_00 = inv_diag_E[0];
    d_00 *= e_00;
    d_10 *= e_00;
    d_20 *= e_00;
    d_30 *= e_00;
    D[0 + bs * 0] = d_00;
    D[1 + bs * 0] = d_10;
    D[2 + bs * 0] = d_20;
    if (km >= 4)
      D[3 + bs * 0] = d_30;
    e_01 = E[0 + bs * 1];
    e_11 = inv_diag_E[1];
    d_01 -= d_00 * e_01;
    d_11 -= d_10 * e_01;
    d_21 -= d_20 * e_01;
    d_31 -= d_30 * e_01;
    d_01 *= e_11;
    d_11 *= e_11;
    d_21 *= e_11;
    d_31 *= e_11;
    D[0 + bs * 1] = d_01;
    D[1 + bs * 1] = d_11;
    D[2 + bs * 1] = d_21;
    if (km >= 4)
      D[3 + bs * 1] = d_31;
    e_02 = E[0 + bs * 2];
    e_12 = E[1 + bs * 2];
    e_22 = inv_diag_E[2];
    d_02 -= d_00 * e_02;
    d_12 -= d_10 * e_02;
    d_22 -= d_20 * e_02;
    d_32 -= d_30 * e_02;
    d_02 -= d_01 * e_12;
    d_12 -= d_11 * e_12;
    d_22 -= d_21 * e_12;
    d_32 -= d_31 * e_12;
    d_02 *= e_22;
    d_12 *= e_22;
    d_22 *= e_22;
    d_32 *= e_22;
    D[0 + bs * 2] = d_02;
    D[1 + bs * 2] = d_12;
    D[2 + bs * 2] = d_22;
    if (km >= 4)
      D[3 + bs * 2] = d_32;
    if (kn < 4)
      return;
    e_03 = E[0 + bs * 3];
    e_13 = E[1 + bs * 3];
    e_23 = E[2 + bs * 3];
    e_33 = inv_diag_E[3];
    d_03 -= d_00 * e_03;
    d_13 -= d_10 * e_03;
    d_23 -= d_20 * e_03;
    d_33 -= d_30 * e_03;
    d_03 -= d_01 * e_13;
    d_13 -= d_11 * e_13;
    d_23 -= d_21 * e_13;
    d_33 -= d_31 * e_13;
    d_03 -= d_02 * e_23;
    d_13 -= d_12 * e_23;
    d_23 -= d_22 * e_23;
    d_33 -= d_32 * e_23;
    d_03 *= e_33;
    d_13 *= e_33;
    d_23 *= e_33;
    d_33 *= e_33;
    D[0 + bs * 3] = d_03;
    D[1 + bs * 3] = d_13;
    D[2 + bs * 3] = d_23;
    if (km >= 4)
      D[3 + bs * 3] = d_33;
  } else {
    e_00 = 1.0 / E[0 + bs * 0];
    d_00 *= e_00;
    d_10 *= e_00;
    d_20 *= e_00;
    d_30 *= e_00;
    D[0 + bs * 0] = d_00;
    D[1 + bs * 0] = d_10;
    D[2 + bs * 0] = d_20;
    if (km >= 4)
      D[3 + bs * 0] = d_30;
    e_01 = E[0 + bs * 1];
    e_11 = 1.0 / E[1 + bs * 1];
    d_01 -= d_00 * e_01;
    d_11 -= d_10 * e_01;
    d_21 -= d_20 * e_01;
    d_31 -= d_30 * e_01;
    d_01 *= e_11;
    d_11 *= e_11;
    d_21 *= e_11;
    d_31 *= e_11;
    D[0 + bs * 1] = d_01;
    D[1 + bs * 1] = d_11;
    D[2 + bs * 1] = d_21;
    if (km >= 4)
      D[3 + bs * 1] = d_31;
    e_02 = E[0 + bs * 2];
    e_12 = E[1 + bs * 2];
    e_22 = 1.0 / E[2 + bs * 2];
    d_02 -= d_00 * e_02;
    d_12 -= d_10 * e_02;
    d_22 -= d_20 * e_02;
    d_32 -= d_30 * e_02;
    d_02 -= d_01 * e_12;
    d_12 -= d_11 * e_12;
    d_22 -= d_21 * e_12;
    d_32 -= d_31 * e_12;
    d_02 *= e_22;
    d_12 *= e_22;
    d_22 *= e_22;
    d_32 *= e_22;
    D[0 + bs * 2] = d_02;
    D[1 + bs * 2] = d_12;
    D[2 + bs * 2] = d_22;
    if (km >= 4)
      D[3 + bs * 2] = d_32;
    if (kn < 4)
      return;
    e_03 = E[0 + bs * 3];
    e_13 = E[1 + bs * 3];
    e_23 = E[2 + bs * 3];
    e_33 = 1.0 / E[2 + bs * 3];
    d_03 -= d_00 * e_03;
    d_13 -= d_10 * e_03;
    d_23 -= d_20 * e_03;
    d_33 -= d_30 * e_03;
    d_03 -= d_01 * e_13;
    d_13 -= d_11 * e_13;
    d_23 -= d_21 * e_13;
    d_33 -= d_31 * e_13;
    d_03 -= d_02 * e_23;
    d_13 -= d_12 * e_23;
    d_23 -= d_22 * e_23;
    d_33 -= d_32 * e_23;
    d_03 *= e_33;
    d_13 *= e_33;
    d_23 *= e_33;
    d_33 *= e_33;
    D[0 + bs * 3] = d_03;
    D[1 + bs * 3] = d_13;
    D[2 + bs * 3] = d_23;
    if (km >= 4)
      D[3 + bs * 3] = d_33;
  }
  return;
}
```