user: Please show me the C implementation that matches the assembly code listed below:

```asm
<kernel_dtrsm_nn_ru_4x4_vs_lib4>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  mov    %edi,%r13d
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xb0,%rsp
  mov    0xf0(%rsp),%r10
  mov    0xf8(%rsp),%rdi
  mov    0x100(%rsp),%rbx
  mov    0x110(%rsp),%r14
  test   %edx,%edx
  jle    L105
  mov    %edx,%r11d
  mov    %rcx,%rax
  cmp    $0x3,%edx
  jle    L129
  shl    $0x2,%r9d
  pxor   %xmm0,%xmm0
  mov    %r8,%rsi
  xor    %ebp,%ebp
  movslq %r9d,%rdx
  lea    -0x4(%r11),%r9d
  movaps %xmm0,-0x8(%rsp)
  shr    $0x2,%r9d
  shl    $0x3,%rdx
  movaps %xmm0,-0x18(%rsp)
  add    $0x1,%r9d
  movaps %xmm0,-0x28(%rsp)
  movaps %xmm0,-0x78(%rsp)
  movaps %xmm0,-0x68(%rsp)
  movaps %xmm0,-0x58(%rsp)
  movaps %xmm0,-0x48(%rsp)
  movaps %xmm0,-0x38(%rsp)
  nopw   0x0(%rax,%rax,1)
L7:
  movupd (%rcx),%xmm13
  movupd (%rcx),%xmm2
  add    $0x1,%ebp
  sub    $0xffffffffffffff80,%rcx
  movupd -0x50(%rcx),%xmm7
  movupd -0x60(%rcx),%xmm4
  unpcklpd %xmm13,%xmm13
  movupd -0x60(%rcx),%xmm12
  unpckhpd %xmm2,%xmm2
  movupd -0x30(%rcx),%xmm1
  unpckhpd %xmm7,%xmm7
  movaps %xmm13,0x78(%rsp)
  unpcklpd %xmm4,%xmm4
  movupd 0x20(%rsi),%xmm15
  movapd %xmm7,%xmm13
  movupd -0x30(%rcx),%xmm7
  movupd -0x40(%rcx),%xmm11
  unpckhpd %xmm12,%xmm12
  movaps %xmm4,0x48(%rsp)
  unpckhpd %xmm1,%xmm1
  movupd (%rsi),%xmm0
  movlpd 0x28(%rsi),%xmm0
  unpcklpd %xmm7,%xmm7
  movaps %xmm12,0x58(%rsp)
  movapd %xmm1,%xmm12
  movupd 0x50(%rsi),%xmm1
  movapd %xmm7,%xmm4
  movupd -0x40(%rcx),%xmm7
  movlpd 0x78(%rsi),%xmm1
  movaps %xmm2,0x88(%rsp)
  movupd 0x60(%rsi),%xmm2
  movhpd (%rsi),%xmm15
  unpckhpd %xmm11,%xmm11
  movupd 0x40(%rsi),%xmm8
  unpcklpd %xmm7,%xmm7
  movlpd 0x68(%rsi),%xmm8
  movupd 0x10(%rsi),%xmm10
  movaps %xmm0,0x98(%rsp)
  movlpd 0x38(%rsi),%xmm10
  movhpd 0x40(%rsi),%xmm2
  movupd -0x70(%rcx),%xmm14
  movaps %xmm15,0x68(%rsp)
  movupd -0x70(%rcx),%xmm6
  movupd -0x50(%rcx),%xmm5
  movaps %xmm11,0x38(%rsp)
  movapd %xmm2,%xmm15
  movaps %xmm7,0x28(%rsp)
  movapd %xmm1,%xmm7
  movupd 0x70(%rsi),%xmm1
  movupd -0x20(%rcx),%xmm9
  unpckhpd %xmm14,%xmm14
  movupd -0x10(%rcx),%xmm3
  unpcklpd %xmm6,%xmm6
  unpcklpd %xmm5,%xmm5
  unpckhpd %xmm9,%xmm9
  movhpd 0x50(%rsi),%xmm1
  movupd 0x30(%rsi),%xmm0
  mulpd  %xmm14,%xmm15
  movaps %xmm9,0x18(%rsp)
  unpckhpd %xmm3,%xmm3
  movupd -0x20(%rcx),%xmm9
  movapd %xmm3,%xmm11
  movhpd 0x10(%rsi),%xmm0
  movupd -0x10(%rcx),%xmm3
  add    %rdx,%rsi
  unpcklpd %xmm9,%xmm9
  movaps %xmm9,0x8(%rsp)
  movapd -0x38(%rsp),%xmm9
  unpcklpd %xmm3,%xmm3
  subpd  %xmm15,%xmm9
  movapd %xmm8,%xmm15
  mulpd  %xmm13,%xmm15
  subpd  %xmm15,%xmm9
  movapd %xmm1,%xmm15
  mulpd  %xmm12,%xmm15
  mulpd  %xmm0,%xmm12
  subpd  %xmm15,%xmm9
  movapd %xmm7,%xmm15
  mulpd  %xmm11,%xmm15
  mulpd  %xmm10,%xmm11
  subpd  %xmm15,%xmm9
  movapd 0x68(%rsp),%xmm15
  mulpd  %xmm15,%xmm14
  movaps %xmm9,-0x38(%rsp)
  movapd -0x48(%rsp),%xmm9
  subpd  %xmm14,%xmm9
  movapd 0x98(%rsp),%xmm14
  mulpd  %xmm14,%xmm13
  subpd  %xmm13,%xmm9
  movapd %xmm15,%xmm13
  subpd  %xmm12,%xmm9
  movapd 0x58(%rsp),%xmm12
  subpd  %xmm11,%xmm9
  movapd %xmm2,%xmm11
  mulpd  %xmm6,%xmm11
  mulpd  %xmm15,%xmm6
  movapd -0x68(%rsp),%xmm15
  movaps %xmm9,-0x48(%rsp)
  movapd -0x58(%rsp),%xmm9
  subpd  %xmm11,%xmm9
  movapd %xmm8,%xmm11
  mulpd  %xmm5,%xmm11
  subpd  %xmm6,%xmm15
  movapd 0x88(%rsp),%xmm6
  mulpd  %xmm14,%xmm5
  subpd  %xmm11,%xmm9
  movapd %xmm1,%xmm11
  mulpd  %xmm4,%xmm11
  mulpd  %xmm0,%xmm4
  subpd  %xmm11,%xmm9
  movapd %xmm7,%xmm11
  mulpd  %xmm3,%xmm11
  mulpd  %xmm10,%xmm3
  subpd  %xmm11,%xmm9
  movapd 0x38(%rsp),%xmm11
  movaps %xmm9,-0x58(%rsp)
  movapd %xmm15,%xmm9
  movapd 0x18(%rsp),%xmm15
  subpd  %xmm5,%xmm9
  subpd  %xmm4,%xmm9
  movapd %xmm6,%xmm4
  mulpd  %xmm2,%xmm4
  mulpd  %xmm13,%xmm6
  movapd %xmm9,%xmm5
  subpd  %xmm3,%xmm5
  movapd -0x78(%rsp),%xmm3
  subpd  %xmm4,%xmm3
  movapd %xmm12,%xmm4
  mulpd  %xmm8,%xmm4
  movaps %xmm5,-0x68(%rsp)
  movapd %xmm13,%xmm5
  movapd 0x78(%rsp),%xmm13
  mulpd  %xmm13,%xmm2
  mulpd  %xmm13,%xmm5
  subpd  %xmm4,%xmm3
  movapd %xmm11,%xmm4
  mulpd  %xmm1,%xmm4
  subpd  %xmm4,%xmm3
  movapd %xmm15,%xmm4
  mulpd  %xmm7,%xmm4
  subpd  %xmm4,%xmm3
  movapd %xmm12,%xmm4
  movapd 0x28(%rsp),%xmm12
  mulpd  %xmm14,%xmm4
  mulpd  %xmm12,%xmm1
  movaps %xmm3,-0x78(%rsp)
  movapd -0x28(%rsp),%xmm3
  subpd  %xmm6,%xmm3
  subpd  %xmm4,%xmm3
  movapd %xmm11,%xmm4
  mulpd  %xmm0,%xmm4
  mulpd  %xmm12,%xmm0
  subpd  %xmm4,%xmm3
  movapd %xmm15,%xmm4
  mulpd  %xmm10,%xmm4
  subpd  %xmm4,%xmm3
  movapd 0x48(%rsp),%xmm4
  mulpd  %xmm4,%xmm8
  movaps %xmm3,-0x28(%rsp)
  movapd -0x18(%rsp),%xmm3
  subpd  %xmm2,%xmm3
  subpd  %xmm8,%xmm3
  movapd 0x8(%rsp),%xmm8
  movapd -0x8(%rsp),%xmm2
  mulpd  %xmm8,%xmm7
  subpd  %xmm5,%xmm2
  subpd  %xmm1,%xmm3
  subpd  %xmm7,%xmm3
  movaps %xmm3,-0x18(%rsp)
  movapd %xmm4,%xmm3
  mulpd  %xmm14,%xmm3
  subpd  %xmm3,%xmm2
  movapd %xmm2,%xmm1
  subpd  %xmm0,%xmm1
  movapd %xmm8,%xmm0
  mulpd  %xmm10,%xmm0
  subpd  %xmm0,%xmm1
  movaps %xmm1,-0x8(%rsp)
  cmp    %r9d,%ebp
  jb     L7
  movapd -0x48(%rsp),%xmm2
  movapd -0x58(%rsp),%xmm7
  mov    %r9d,%ebp
  shl    $0x2,%r9d
  imul   %rbp,%rdx
  movapd -0x38(%rsp),%xmm0
  movapd -0x8(%rsp),%xmm5
  mov    %rbp,%r12
  movapd %xmm2,%xmm15
  unpckhpd %xmm2,%xmm2
  movhpd %xmm7,0x28(%rsp)
  shl    $0x7,%r12
  movapd %xmm2,%xmm3
  movapd %xmm7,%xmm2
  movapd %xmm0,%xmm1
  add    %r12,%rax
  movapd -0x68(%rsp),%xmm7
  unpckhpd %xmm0,%xmm0
  add    %rdx,%r8
  movlpd %xmm5,-0x68(%rsp)
  movapd %xmm7,%xmm14
  movhpd %xmm7,0x18(%rsp)
  movapd -0x78(%rsp),%xmm7
  movhpd %xmm5,-0x78(%rsp)
  movq   %xmm7,%rcx
  movhpd %xmm7,0x8(%rsp)
  movapd -0x28(%rsp),%xmm7
  movlpd %xmm7,-0x38(%rsp)
  movhpd %xmm7,-0x48(%rsp)
  movapd -0x18(%rsp),%xmm7
  movq   %xmm7,%rsi
  movhpd %xmm7,-0x58(%rsp)
  cmp    %r9d,%r11d
  jle    L53
L64:
  mov    %r11d,%edx
  mov    $0x1,%ebp
  sub    %r9d,%edx
  cmp    %r11d,%r9d
  cmovl  %edx,%ebp
  cmp    $0x1,%edx
  je     L59
  cmp    %r11d,%r9d
  jge    L59
  movupd (%rax),%xmm5
  movupd 0x20(%rax),%xmm6
  mov    %ebp,%edx
  movupd (%r8),%xmm10
  movsd  -0x78(%rsp),%xmm11
  shr    %edx
  movhpd 0x10(%rax),%xmm5
  movhpd 0x30(%rax),%xmm6
  movupd 0x10(%rax),%xmm4
  movlpd 0x8(%rax),%xmm4
  movapd %xmm5,%xmm7
  movupd 0x30(%rax),%xmm8
  movlpd 0x28(%rax),%xmm8
  unpckhpd %xmm6,%xmm5
  unpcklpd %xmm6,%xmm7
  movapd %xmm4,%xmm6
  movupd 0x20(%r8),%xmm9
  movapd %xmm7,%xmm12
  unpcklpd %xmm8,%xmm6
  unpckhpd %xmm8,%xmm4
  movupd 0x40(%r8),%xmm8
  mulpd  %xmm10,%xmm12
  subsd  %xmm12,%xmm11
  unpckhpd %xmm12,%xmm12
  subsd  %xmm12,%xmm11
  movapd %xmm6,%xmm12
  mulpd  %xmm10,%xmm12
  movsd  %xmm11,-0x78(%rsp)
  movsd  -0x48(%rsp),%xmm11
  subsd  %xmm12,%xmm11
  unpckhpd %xmm12,%xmm12
  movapd %xmm11,%xmm13
  movsd  0x18(%rsp),%xmm11
  subsd  %xmm12,%xmm13
  movapd %xmm10,%xmm12
  mulpd  %xmm4,%xmm10
  mulpd  %xmm5,%xmm12
  movsd  %xmm13,-0x48(%rsp)
  movsd  -0x68(%rsp),%xmm13
  subsd  %xmm10,%xmm3
  unpckhpd %xmm10,%xmm10
  subsd  %xmm12,%xmm11
  unpckhpd %xmm12,%xmm12
  subsd  %xmm10,%xmm3
  movapd %xmm7,%xmm10
  mulpd  %xmm9,%xmm10
  subsd  %xmm12,%xmm11
  movsd  %xmm11,0x18(%rsp)
  subsd  %xmm10,%xmm13
  unpckhpd %xmm10,%xmm10
  subsd  %xmm10,%xmm13
  movapd %xmm6,%xmm10
  mulpd  %xmm9,%xmm10
  movsd  %xmm13,-0x68(%rsp)
  movsd  -0x38(%rsp),%xmm13
  subsd  %xmm10,%xmm13
  unpckhpd %xmm10,%xmm10
  movapd %xmm13,%xmm12
  subsd  %xmm10,%xmm12
  movapd %xmm5,%xmm10
  mulpd  %xmm9,%xmm10
  mulpd  %xmm4,%xmm9
  movsd  %xmm12,-0x38(%rsp)
  movsd  -0x58(%rsp),%xmm12
  subsd  %xmm10,%xmm14
  unpckhpd %xmm10,%xmm10
  subsd  %xmm9,%xmm15
  unpckhpd %xmm9,%xmm9
  subsd  %xmm10,%xmm14
  subsd  %xmm9,%xmm15
  movapd %xmm7,%xmm9
  mulpd  %xmm8,%xmm9
  subsd  %xmm9,%xmm12
  unpckhpd %xmm9,%xmm9
  movapd %xmm12,%xmm10
  movsd  0x8(%rsp),%xmm12
  subsd  %xmm9,%xmm10
  movapd %xmm6,%xmm9
  mulpd  %xmm8,%xmm9
  movsd  %xmm10,-0x58(%rsp)
  subsd  %xmm9,%xmm12
  unpckhpd %xmm9,%xmm9
  subsd  %xmm9,%xmm12
  movapd %xmm8,%xmm9
  mulpd  %xmm4,%xmm8
  mulpd  %xmm5,%xmm9
  movsd  %xmm12,0x8(%rsp)
  movsd  0x28(%rsp),%xmm12
  subsd  %xmm8,%xmm0
  unpckhpd %xmm8,%xmm8
  subsd  %xmm9,%xmm12
  unpckhpd %xmm9,%xmm9
  subsd  %xmm8,%xmm0
  movupd 0x60(%r8),%xmm8
  movapd %xmm12,%xmm10
  mulpd  %xmm8,%xmm7
  subsd  %xmm9,%xmm10
  movq   %rsi,%xmm9
  movq   %rcx,%xmm8
  movsd  %xmm10,0x28(%rsp)
  subsd  %xmm7,%xmm9
  unpckhpd %xmm7,%xmm7
  subsd  %xmm7,%xmm9
  movupd 0x60(%r8),%xmm7
  mulpd  %xmm7,%xmm6
  movupd 0x60(%r8),%xmm7
  movq   %xmm9,%rsi
  mulpd  %xmm7,%xmm5
  mulpd  %xmm7,%xmm4
  subsd  %xmm6,%xmm8
  unpckhpd %xmm6,%xmm6
  subsd  %xmm5,%xmm2
  unpckhpd %xmm5,%xmm5
  subsd  %xmm4,%xmm1
  subsd  %xmm6,%xmm8
  unpckhpd %xmm4,%xmm4
  subsd  %xmm5,%xmm2
  subsd  %xmm4,%xmm1
  movq   %xmm8,%rcx
  cmp    $0x1,%edx
  je     L147
  movupd 0x40(%rax),%xmm4
  movupd 0x60(%rax),%xmm7
  movupd 0x70(%rax),%xmm8
  movlpd 0x68(%rax),%xmm8
  movhpd 0x50(%rax),%xmm4
  movupd 0x50(%rax),%xmm5
  movlpd 0x48(%rax),%xmm5
  movhpd 0x70(%rax),%xmm7
  movupd 0x10(%r8),%xmm11
  movapd %xmm8,%xmm6
  movapd %xmm4,%xmm8
  unpckhpd %xmm7,%xmm4
  unpcklpd %xmm7,%xmm8
  movapd %xmm5,%xmm7
  unpckhpd %xmm6,%xmm5
  movupd 0x30(%r8),%xmm10
  unpcklpd %xmm6,%xmm7
  movapd %xmm11,%xmm6
  movsd  -0x68(%rsp),%xmm13
  movupd 0x50(%r8),%xmm9
  mulpd  %xmm8,%xmm6
  movapd %xmm6,%xmm12
  movsd  -0x78(%rsp),%xmm6
  subsd  %xmm12,%xmm6
  unpckhpd %xmm12,%xmm12
  subsd  %xmm12,%xmm6
  movsd  %xmm6,-0x78(%rsp)
  movapd %xmm11,%xmm6
  mulpd  %xmm7,%xmm6
  movapd %xmm6,%xmm12
  movsd  -0x48(%rsp),%xmm6
  subsd  %xmm12,%xmm6
  unpckhpd %xmm12,%xmm12
  subsd  %xmm12,%xmm6
  movsd  %xmm6,-0x48(%rsp)
  movapd %xmm11,%xmm6
  mulpd  %xmm5,%xmm11
  mulpd  %xmm4,%xmm6
  subsd  %xmm11,%xmm3
  unpckhpd %xmm11,%xmm11
  movapd %xmm6,%xmm12
  movsd  0x18(%rsp),%xmm6
  subsd  %xmm11,%xmm3
  movapd %xmm10,%xmm11
  subsd  %xmm12,%xmm6
  mulpd  %xmm8,%xmm11
  unpckhpd %xmm12,%xmm12
  subsd  %xmm12,%xmm6
  movsd  -0x58(%rsp),%xmm12
  subsd  %xmm11,%xmm13
  movsd  %xmm6,0x18(%rsp)
  unpckhpd %xmm11,%xmm11
  movapd %xmm13,%xmm6
  movsd  -0x38(%rsp),%xmm13
  subsd  %xmm11,%xmm6
  movapd %xmm10,%xmm11
  mulpd  %xmm7,%xmm11
  movsd  %xmm6,-0x68(%rsp)
  movapd %xmm9,%xmm6
  mulpd  %xmm8,%xmm6
  subsd  %xmm11,%xmm13
  unpckhpd %xmm11,%xmm11
  subsd  %xmm11,%xmm13
  movapd %xmm10,%xmm11
  subsd  %xmm6,%xmm12
  mulpd  %xmm5,%xmm10
  mulpd  %xmm4,%xmm11
  movsd  %xmm13,-0x38(%rsp)
  subsd  %xmm10,%xmm15
  unpckhpd %xmm10,%xmm10
  subsd  %xmm11,%xmm14
  unpckhpd %xmm11,%xmm11
  subsd  %xmm10,%xmm15
  movapd %xmm6,%xmm10
  movapd %xmm12,%xmm6
  movsd  0x8(%rsp),%xmm12
  unpckhpd %xmm10,%xmm10
  subsd  %xmm11,%xmm14
  subsd  %xmm10,%xmm6
  movsd  %xmm6,-0x58(%rsp)
  movapd %xmm9,%xmm6
  mulpd  %xmm7,%xmm6
  subsd  %xmm6,%xmm12
  movapd %xmm6,%xmm10
  unpckhpd %xmm10,%xmm10
  movapd %xmm12,%xmm6
  movsd  0x28(%rsp),%xmm12
  subsd  %xmm10,%xmm6
  movsd  %xmm6,0x8(%rsp)
  movapd %xmm9,%xmm6
  mulpd  %xmm4,%xmm6
  mulpd  %xmm5,%xmm9
  subsd  %xmm6,%xmm12
  movapd %xmm6,%xmm10
  movupd 0x70(%r8),%xmm6
  subsd  %xmm9,%xmm0
  unpckhpd %xmm10,%xmm10
  unpckhpd %xmm9,%xmm9
  mulpd  %xmm6,%xmm8
  mulpd  %xmm6,%xmm7
  subsd  %xmm10,%xmm12
  movq   %rsi,%xmm10
  mulpd  %xmm6,%xmm4
  subsd  %xmm9,%xmm0
  movq   %rcx,%xmm9
  mulpd  %xmm5,%xmm6
  movsd  %xmm12,0x28(%rsp)
  subsd  %xmm8,%xmm10
  unpckhpd %xmm8,%xmm8
  subsd  %xmm7,%xmm9
  unpckhpd %xmm7,%xmm7
  subsd  %xmm4,%xmm2
  unpckhpd %xmm4,%xmm4
  subsd  %xmm6,%xmm1
  subsd  %xmm8,%xmm10
  unpckhpd %xmm6,%xmm6
  subsd  %xmm7,%xmm9
  subsd  %xmm4,%xmm2
  subsd  %xmm6,%xmm1
  movq   %xmm10,%rsi
  movq   %xmm9,%rcx
L147:
  mov    %ebp,%edx
  and    $0xfffffffe,%edx
  mov    %edx,%r9d
  mov    %r9,%r11
  lea    (%r8,%r9,8),%r8
  shl    $0x5,%r11
  add    %r11,%rax
  cmp    %ebp,%edx
  je     L53
L59:
  movsd  (%r8),%xmm10
  movsd  (%rax),%xmm7
  movsd  -0x78(%rsp),%xmm13
  movsd  0x8(%rax),%xmm6
  movapd %xmm10,%xmm12
  movsd  0x18(%rax),%xmm11
  movsd  0x10(%rax),%xmm5
  mulsd  %xmm7,%xmm12
  movsd  0x20(%r8),%xmm9
  movsd  0x40(%r8),%xmm8
  movsd  0x60(%r8),%xmm4
  subsd  %xmm12,%xmm13
  movapd %xmm10,%xmm12
  mulsd  %xmm6,%xmm12
  movsd  %xmm13,-0x78(%rsp)
  movsd  -0x48(%rsp),%xmm13
  subsd  %xmm12,%xmm13
  movapd %xmm10,%xmm12
  mulsd  %xmm11,%xmm10
  mulsd  %xmm5,%xmm12
  movsd  %xmm13,-0x48(%rsp)
  movsd  0x18(%rsp),%xmm13
  subsd  %xmm10,%xmm3
  movapd %xmm9,%xmm10
  mulsd  %xmm7,%xmm10
  subsd  %xmm12,%xmm13
  movsd  %xmm13,0x18(%rsp)
  movsd  -0x68(%rsp),%xmm13
  subsd  %xmm10,%xmm13
  movapd %xmm9,%xmm10
  mulsd  %xmm6,%xmm10
  movsd  %xmm13,-0x68(%rsp)
  movsd  -0x38(%rsp),%xmm13
  subsd  %xmm10,%xmm13
  movapd %xmm9,%xmm10
  mulsd  %xmm11,%xmm9
  mulsd  %xmm5,%xmm10
  movsd  %xmm13,-0x38(%rsp)
  subsd  %xmm9,%xmm15
  movapd %xmm8,%xmm9
  mulsd  %xmm7,%xmm9
  subsd  %xmm10,%xmm14
  movsd  -0x58(%rsp),%xmm10
  mulsd  %xmm4,%xmm7
  subsd  %xmm9,%xmm10
  movapd %xmm8,%xmm9
  mulsd  %xmm6,%xmm9
  mulsd  %xmm4,%xmm6
  movsd  %xmm10,-0x58(%rsp)
  movsd  0x8(%rsp),%xmm10
  subsd  %xmm9,%xmm10
  movapd %xmm8,%xmm9
  mulsd  %xmm11,%xmm8
  mulsd  %xmm5,%xmm9
  mulsd  %xmm4,%xmm5
  movsd  %xmm10,0x8(%rsp)
  movsd  0x28(%rsp),%xmm10
  mulsd  %xmm11,%xmm4
  subsd  %xmm8,%xmm0
  movq   %rsi,%xmm8
  subsd  %xmm7,%xmm8
  movq   %rcx,%xmm7
  subsd  %xmm9,%xmm10
  subsd  %xmm6,%xmm7
  subsd  %xmm5,%xmm2
  subsd  %xmm4,%xmm1
  movsd  %xmm10,0x28(%rsp)
  movq   %xmm8,%rsi
  movq   %xmm7,%rcx
L53:
  mov    0xe8(%rsp),%edx
  test   %edx,%edx
  je     L108
  movsd  -0x78(%rsp),%xmm7
  addsd  (%r10),%xmm7
  movsd  -0x68(%rsp),%xmm5
  addsd  0x20(%r10),%xmm5
  addsd  0x18(%r10),%xmm3
  addsd  0x30(%r10),%xmm14
  movsd  %xmm7,-0x78(%rsp)
  movsd  -0x48(%rsp),%xmm7
  addsd  0x8(%r10),%xmm7
  movsd  %xmm5,-0x68(%rsp)
  movsd  -0x58(%rsp),%xmm5
  addsd  0x40(%r10),%xmm5
  addsd  0x38(%r10),%xmm15
  addsd  0x58(%r10),%xmm0
  movsd  %xmm7,-0x48(%rsp)
  movsd  0x18(%rsp),%xmm7
  addsd  0x10(%r10),%xmm7
  movsd  %xmm5,-0x58(%rsp)
  movsd  0x28(%rsp),%xmm5
  addsd  0x50(%r10),%xmm5
  addsd  0x70(%r10),%xmm2
  addsd  0x78(%r10),%xmm1
  movsd  %xmm7,0x18(%rsp)
  movsd  -0x38(%rsp),%xmm7
  addsd  0x28(%r10),%xmm7
  movsd  %xmm5,0x28(%rsp)
  movq   %rcx,%xmm5
  addsd  0x68(%r10),%xmm5
  movsd  %xmm7,-0x38(%rsp)
  movsd  0x8(%rsp),%xmm7
  addsd  0x48(%r10),%xmm7
  movq   %xmm5,%rcx
  movsd  %xmm7,0x8(%rsp)
  movq   %rsi,%xmm7
  addsd  0x60(%r10),%xmm7
  movq   %xmm7,%rsi
L108:
  mov    0x108(%rsp),%eax
  test   %eax,%eax
  je     L23
  movsd  (%r14),%xmm4
  movsd  -0x78(%rsp),%xmm12
  movsd  -0x48(%rsp),%xmm11
  movsd  0x18(%rsp),%xmm10
  mulsd  %xmm4,%xmm12
  mulsd  %xmm4,%xmm11
  mulsd  %xmm4,%xmm10
  mulsd  %xmm4,%xmm3
  movsd  %xmm12,(%rdi)
  movsd  %xmm11,0x8(%rdi)
  movsd  %xmm10,0x10(%rdi)
  cmp    $0x3,%r13d
  jg     L34
L178:
  movsd  0x20(%rbx),%xmm5
  movapd %xmm12,%xmm6
  movsd  -0x68(%rsp),%xmm9
  movapd %xmm14,%xmm7
  movsd  -0x38(%rsp),%xmm8
  movsd  0x8(%r14),%xmm4
  mulsd  %xmm5,%xmm6
  subsd  %xmm6,%xmm9
  movapd %xmm11,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm4,%xmm9
  subsd  %xmm6,%xmm8
  movapd %xmm10,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm3,%xmm5
  movsd  %xmm9,0x20(%rdi)
  mulsd  %xmm4,%xmm8
  subsd  %xmm6,%xmm7
  movapd %xmm15,%xmm6
  subsd  %xmm5,%xmm6
  movsd  %xmm8,0x28(%rdi)
  mulsd  %xmm4,%xmm7
  mulsd  %xmm6,%xmm4
  movsd  %xmm7,0x30(%rdi)
  cmp    $0x3,%r13d
  jle    L202
  movsd  %xmm4,0x38(%rdi)
L202:
  movsd  0x40(%rbx),%xmm6
  movapd %xmm12,%xmm14
  movsd  0x48(%rbx),%xmm5
  movsd  -0x58(%rsp),%xmm15
  movsd  0x10(%r14),%xmm13
  mulsd  %xmm6,%xmm14
  subsd  %xmm14,%xmm15
  movapd %xmm11,%xmm14
  mulsd  %xmm6,%xmm14
  movq   %xmm15,%rdx
  movsd  0x8(%rsp),%xmm15
  subsd  %xmm14,%xmm15
  movapd %xmm10,%xmm14
  mulsd  %xmm6,%xmm14
  mulsd  %xmm3,%xmm6
  movq   %xmm15,%rax
  movsd  0x28(%rsp),%xmm15
  subsd  %xmm14,%xmm15
  movq   %rdx,%xmm14
  subsd  %xmm6,%xmm0
  movapd %xmm9,%xmm6
  mulsd  %xmm5,%xmm6
  subsd  %xmm6,%xmm14
  movapd %xmm8,%xmm6
  mulsd  %xmm5,%xmm6
  movq   %xmm14,%rdx
  movq   %rax,%xmm14
  subsd  %xmm6,%xmm14
  movapd %xmm7,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm4,%xmm5
  mulsd  %xmm13,%xmm14
  subsd  %xmm6,%xmm15
  subsd  %xmm5,%xmm0
  movq   %rdx,%xmm5
  mulsd  %xmm13,%xmm5
  movq   %xmm14,%rax
  movsd  %xmm14,0x48(%rdi)
  mulsd  %xmm13,%xmm15
  mulsd  %xmm13,%xmm0
  movq   %xmm5,%rdx
  movsd  %xmm5,0x40(%rdi)
  movsd  %xmm15,0x50(%rdi)
  movsd  %xmm0,-0x78(%rsp)
  cmp    $0x3,%r13d
  jle    L199
  movsd  %xmm0,0x58(%rdi)
L199:
  cmp    $0x3,%r15d
  jle    L171
  movsd  0x60(%rbx),%xmm14
  movsd  0x68(%rbx),%xmm13
  movq   %rsi,%xmm0
  movsd  0x70(%rbx),%xmm6
  movsd  0x18(%r14),%xmm5
  mulsd  %xmm14,%xmm10
  mulsd  %xmm14,%xmm12
  mulsd  %xmm14,%xmm11
  mulsd  %xmm13,%xmm7
  mulsd  %xmm13,%xmm9
  subsd  %xmm10,%xmm2
  mulsd  %xmm13,%xmm8
  movq   %rax,%xmm10
  subsd  %xmm12,%xmm0
  mulsd  %xmm6,%xmm10
  movq   %rcx,%xmm12
  subsd  %xmm11,%xmm12
  mulsd  %xmm6,%xmm15
  subsd  %xmm7,%xmm2
  movq   %rdx,%xmm7
  mulsd  %xmm6,%xmm7
  movapd %xmm0,%xmm11
  subsd  %xmm9,%xmm11
  subsd  %xmm8,%xmm12
  subsd  %xmm15,%xmm2
  movapd %xmm11,%xmm8
  subsd  %xmm7,%xmm8
  movapd %xmm12,%xmm7
  subsd  %xmm10,%xmm7
  mulsd  %xmm5,%xmm2
  mulsd  %xmm5,%xmm8
  mulsd  %xmm5,%xmm7
  movsd  %xmm2,0x70(%rdi)
  movsd  %xmm8,0x60(%rdi)
  movsd  %xmm7,0x68(%rdi)
  cmp    $0x3,%r13d
  jle    L171
  mulsd  %xmm14,%xmm3
  movsd  -0x78(%rsp),%xmm0
  mulsd  %xmm13,%xmm4
  mulsd  %xmm6,%xmm0
  subsd  %xmm3,%xmm1
  subsd  %xmm4,%xmm1
  subsd  %xmm0,%xmm1
  mulsd  %xmm1,%xmm5
  movsd  %xmm5,0x78(%rdi)
L171:
  add    $0xb0,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L34:
  movsd  %xmm3,0x18(%rdi)
  jmp    L178
  nopw   0x0(%rax,%rax,1)
L23:
  movsd  D7(%rip),%xmm8
  movsd  -0x78(%rsp),%xmm13
  movsd  -0x48(%rsp),%xmm12
  movsd  0x18(%rsp),%xmm11
  movapd %xmm8,%xmm4
  divsd  (%rbx),%xmm4
  mulsd  %xmm4,%xmm13
  mulsd  %xmm4,%xmm12
  mulsd  %xmm4,%xmm11
  mulsd  %xmm4,%xmm3
  movsd  %xmm13,(%rdi)
  movsd  %xmm12,0x8(%rdi)
  movsd  %xmm11,0x10(%rdi)
  cmp    $0x3,%r13d
  jle    L184
  movsd  %xmm3,0x18(%rdi)
L184:
  movsd  0x20(%rbx),%xmm9
  movapd %xmm13,%xmm4
  movapd %xmm11,%xmm10
  movsd  -0x68(%rsp),%xmm6
  movsd  -0x38(%rsp),%xmm5
  movapd %xmm8,%xmm7
  divsd  0x28(%rbx),%xmm7
  mulsd  %xmm9,%xmm4
  mulsd  %xmm9,%xmm10
  subsd  %xmm4,%xmm6
  movapd %xmm12,%xmm4
  mulsd  %xmm9,%xmm4
  mulsd  %xmm3,%xmm9
  mulsd  %xmm7,%xmm6
  subsd  %xmm4,%xmm5
  movapd %xmm14,%xmm4
  subsd  %xmm10,%xmm4
  subsd  %xmm9,%xmm15
  movsd  %xmm6,0x20(%rdi)
  mulsd  %xmm7,%xmm5
  mulsd  %xmm7,%xmm4
  mulsd  %xmm15,%xmm7
  movsd  %xmm5,0x28(%rdi)
  movsd  %xmm4,0x30(%rdi)
  movsd  %xmm7,-0x78(%rsp)
  cmp    $0x3,%r13d
  jle    L50
  movsd  %xmm7,0x38(%rdi)
L50:
  movsd  0x40(%rbx),%xmm10
  movapd %xmm13,%xmm15
  movapd %xmm8,%xmm14
  movsd  -0x58(%rsp),%xmm7
  movsd  0x48(%rbx),%xmm9
  divsd  0x50(%rbx),%xmm14
  mulsd  %xmm10,%xmm15
  subsd  %xmm15,%xmm7
  movapd %xmm12,%xmm15
  mulsd  %xmm10,%xmm15
  movq   %xmm7,%rdx
  movsd  0x8(%rsp),%xmm7
  subsd  %xmm15,%xmm7
  movsd  0x28(%rsp),%xmm15
  movq   %xmm7,%rax
  movapd %xmm11,%xmm7
  mulsd  %xmm10,%xmm7
  mulsd  %xmm3,%xmm10
  subsd  %xmm7,%xmm15
  movq   %rdx,%xmm7
  subsd  %xmm10,%xmm0
  movapd %xmm6,%xmm10
  mulsd  %xmm9,%xmm10
  subsd  %xmm10,%xmm7
  movapd %xmm5,%xmm10
  mulsd  %xmm9,%xmm10
  movq   %xmm7,%rdx
  movq   %rax,%xmm7
  subsd  %xmm10,%xmm7
  movapd %xmm4,%xmm10
  mulsd  %xmm9,%xmm10
  mulsd  -0x78(%rsp),%xmm9
  movq   %xmm7,%rax
  movq   %rdx,%xmm7
  mulsd  %xmm14,%xmm7
  subsd  %xmm10,%xmm15
  subsd  %xmm9,%xmm0
  mulsd  %xmm14,%xmm15
  movq   %xmm7,%rdx
  movq   %rax,%xmm7
  mulsd  %xmm14,%xmm7
  mov    %rdx,0x40(%rdi)
  mulsd  %xmm14,%xmm0
  movsd  %xmm15,0x50(%rdi)
  movq   %xmm7,%rax
  movsd  %xmm7,0x48(%rdi)
  cmp    $0x3,%r13d
  jle    L214
  movsd  %xmm0,0x58(%rdi)
L214:
  cmp    $0x3,%r15d
  jle    L171
  movsd  0x70(%rbx),%xmm9
  movsd  0x60(%rbx),%xmm14
  movq   %rsi,%xmm7
  movsd  0x68(%rbx),%xmm10
  divsd  %xmm9,%xmm8
  mulsd  %xmm14,%xmm13
  mulsd  %xmm14,%xmm11
  mulsd  %xmm14,%xmm12
  mulsd  %xmm10,%xmm4
  mulsd  %xmm10,%xmm6
  mulsd  %xmm10,%xmm5
  subsd  %xmm13,%xmm7
  movq   %rcx,%xmm13
  subsd  %xmm11,%xmm2
  mulsd  %xmm9,%xmm15
  movq   %rax,%xmm11
  subsd  %xmm12,%xmm13
  mulsd  %xmm9,%xmm11
  movapd %xmm7,%xmm12
  subsd  %xmm4,%xmm2
  movq   %rdx,%xmm4
  subsd  %xmm6,%xmm12
  mulsd  %xmm9,%xmm4
  movapd %xmm13,%xmm6
  subsd  %xmm5,%xmm6
  movapd %xmm12,%xmm5
  subsd  %xmm15,%xmm2
  subsd  %xmm11,%xmm6
  subsd  %xmm4,%xmm5
  movapd %xmm6,%xmm4
  mulsd  %xmm8,%xmm5
  mulsd  %xmm8,%xmm4
  mulsd  %xmm8,%xmm2
  movsd  %xmm5,0x60(%rdi)
  movsd  %xmm4,0x68(%rdi)
  movsd  %xmm2,0x70(%rdi)
  cmp    $0x3,%r13d
  jle    L171
  mulsd  %xmm14,%xmm3
  movsd  -0x78(%rsp),%xmm7
  mulsd  %xmm9,%xmm0
  mulsd  %xmm10,%xmm7
  subsd  %xmm3,%xmm1
  subsd  %xmm7,%xmm1
  subsd  %xmm0,%xmm1
  mulsd  %xmm1,%xmm8
  movsd  %xmm8,0x78(%rdi)
  jmp    L171
  nop
L105:
  pxor   %xmm1,%xmm1
  movapd %xmm1,%xmm0
  movapd %xmm1,%xmm15
  movapd %xmm1,%xmm3
  movsd  %xmm1,0x28(%rsp)
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm14
  movq   %xmm1,%rcx
  movsd  %xmm1,0x18(%rsp)
  movsd  %xmm1,0x8(%rsp)
  movq   %xmm1,%rsi
  movsd  %xmm1,-0x38(%rsp)
  movsd  %xmm1,-0x48(%rsp)
  movsd  %xmm1,-0x58(%rsp)
  movsd  %xmm1,-0x68(%rsp)
  movsd  %xmm1,-0x78(%rsp)
  jmp    L53
  nopl   0x0(%rax)
L129:
  pxor   %xmm1,%xmm1
  xor    %r9d,%r9d
  movapd %xmm1,%xmm0
  movapd %xmm1,%xmm15
  movapd %xmm1,%xmm3
  movsd  %xmm1,0x28(%rsp)
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm14
  movq   %xmm1,%rcx
  movsd  %xmm1,0x18(%rsp)
  movsd  %xmm1,0x8(%rsp)
  movq   %xmm1,%rsi
  movsd  %xmm1,-0x38(%rsp)
  movsd  %xmm1,-0x48(%rsp)
  movsd  %xmm1,-0x58(%rsp)
  movsd  %xmm1,-0x68(%rsp)
  movsd  %xmm1,-0x78(%rsp)
  jmp    L64
```

tool_calls: name: disassemble_data
arguments: tag: D7
datatype: f64

tool: D7: 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;
}
```