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

```asm
<kernel_dgemm_dtrsm_nt_4x4_vs_lib4_new>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  mov    %edi,%ebx
  sub    $0x140,%rsp
  mov    0x198(%rsp),%rdi
  mov    0x1a0(%rsp),%rsi
  mov    0x1a8(%rsp),%r11
  mov    0x1b8(%rsp),%r15
  test   %edx,%edx
  jle    L133
  mov    %edx,%r12d
  cmp    $0x1,%ecx
  je     L140
  pxor   %xmm11,%xmm11
  xor    %r13d,%r13d
  movsd  %xmm11,-0x8(%rsp)
  movapd %xmm11,%xmm8
  movsd  %xmm11,0x38(%rsp)
  movsd  %xmm11,-0x18(%rsp)
  movsd  %xmm11,0x58(%rsp)
  movsd  %xmm11,-0x28(%rsp)
  movsd  %xmm11,0x28(%rsp)
  movsd  %xmm11,-0x38(%rsp)
  movsd  %xmm11,0x48(%rsp)
  movsd  %xmm11,-0x48(%rsp)
  movsd  %xmm11,0x18(%rsp)
  movsd  %xmm11,-0x58(%rsp)
  movsd  %xmm11,0x8(%rsp)
  movsd  %xmm11,-0x68(%rsp)
  movsd  %xmm11,-0x78(%rsp)
L239:
  lea    -0x3(%r12),%eax
  cmp    %eax,%r13d
  jge    L212
  lea    -0x4(%r12),%r14d
  mov    %r8,%rdx
  mov    %r9,%rax
  xor    %ecx,%ecx
  sub    %r13d,%r14d
  movsd  %xmm11,0x68(%rsp)
  shr    $0x2,%r14d
  lea    0x1(%r14),%r10d
  nopl   0x0(%rax)
L236:
  movupd (%rdx),%xmm14
  movupd (%rax),%xmm0
  add    $0x1,%ecx
  sub    $0xffffffffffffff80,%rdx
  movupd -0x60(%rdx),%xmm12
  movlpd -0x78(%rdx),%xmm12
  sub    $0xffffffffffffff80,%rax
  movhpd -0x60(%rdx),%xmm14
  movhpd -0x60(%rax),%xmm0
  movupd -0x70(%rdx),%xmm1
  movupd -0x40(%rdx),%xmm5
  movapd %xmm14,%xmm6
  movupd -0x30(%rdx),%xmm4
  movupd -0x20(%rdx),%xmm3
  mulpd  %xmm0,%xmm6
  movhpd -0x50(%rdx),%xmm1
  movlpd -0x38(%rdx),%xmm3
  movupd -0x40(%rax),%xmm2
  movhpd -0x20(%rdx),%xmm5
  movhpd -0x10(%rdx),%xmm4
  movupd -0x10(%rdx),%xmm11
  movlpd -0x28(%rdx),%xmm11
  movhpd -0x20(%rax),%xmm2
  movapd %xmm5,%xmm15
  movapd %xmm3,%xmm9
  movupd -0x50(%rdx),%xmm13
  mulpd  %xmm2,%xmm9
  movlpd -0x68(%rdx),%xmm13
  mulpd  %xmm2,%xmm15
  movapd %xmm6,%xmm7
  unpckhpd %xmm6,%xmm6
  addsd  %xmm8,%xmm7
  movapd %xmm4,%xmm8
  mulpd  %xmm2,%xmm8
  movaps %xmm9,0xa8(%rsp)
  mulpd  %xmm11,%xmm2
  addsd  %xmm7,%xmm6
  movsd  -0x58(%rsp),%xmm7
  movlpd %xmm9,-0x58(%rsp)
  movsd  %xmm6,0x78(%rsp)
  movapd %xmm12,%xmm6
  movaps %xmm8,0xd8(%rsp)
  mulpd  %xmm0,%xmm6
  addsd  %xmm6,%xmm7
  unpckhpd %xmm6,%xmm6
  addsd  %xmm7,%xmm6
  movapd %xmm1,%xmm7
  mulpd  %xmm0,%xmm7
  mulpd  %xmm13,%xmm0
  movsd  %xmm6,0xb8(%rsp)
  movapd %xmm7,%xmm6
  movsd  -0x38(%rsp),%xmm7
  movlpd %xmm8,-0x38(%rsp)
  addsd  %xmm6,%xmm7
  unpckhpd %xmm6,%xmm6
  movapd %xmm6,%xmm10
  movapd %xmm2,%xmm6
  movsd  -0x18(%rsp),%xmm2
  movaps %xmm6,0x108(%rsp)
  addsd  %xmm0,%xmm2
  unpckhpd %xmm0,%xmm0
  addsd  %xmm7,%xmm10
  movapd %xmm14,%xmm7
  movsd  %xmm10,0xe8(%rsp)
  addsd  %xmm2,%xmm0
  movapd %xmm5,%xmm10
  movsd  %xmm0,0x118(%rsp)
  movlpd %xmm6,-0x18(%rsp)
  movupd -0x60(%rax),%xmm0
  movlpd -0x78(%rax),%xmm0
  movupd -0x20(%rax),%xmm2
  movlpd -0x38(%rax),%xmm2
  mulpd  %xmm0,%xmm7
  mulpd  %xmm2,%xmm10
  movapd %xmm7,%xmm6
  movsd  -0x78(%rsp),%xmm7
  movaps %xmm10,0x98(%rsp)
  addsd  %xmm6,%xmm7
  unpckhpd %xmm6,%xmm6
  movlpd %xmm10,-0x78(%rsp)
  movapd %xmm6,%xmm9
  addsd  %xmm7,%xmm9
  movapd %xmm12,%xmm7
  mulpd  %xmm0,%xmm7
  movsd  %xmm9,0x88(%rsp)
  movapd %xmm7,%xmm6
  movapd %xmm3,%xmm7
  mulpd  %xmm2,%xmm7
  movapd %xmm7,%xmm9
  movsd  0x18(%rsp),%xmm7
  movaps %xmm9,0xc8(%rsp)
  addsd  %xmm6,%xmm7
  unpckhpd %xmm6,%xmm6
  movlpd %xmm9,0x18(%rsp)
  movapd %xmm6,%xmm8
  addsd  %xmm7,%xmm8
  movapd %xmm1,%xmm7
  mulpd  %xmm0,%xmm7
  mulpd  %xmm13,%xmm0
  movsd  %xmm8,0xc0(%rsp)
  movapd %xmm7,%xmm6
  movapd %xmm4,%xmm7
  mulpd  %xmm2,%xmm7
  mulpd  %xmm11,%xmm2
  movapd %xmm7,%xmm8
  movsd  0x28(%rsp),%xmm7
  movaps %xmm8,0xf8(%rsp)
  addsd  %xmm6,%xmm7
  unpckhpd %xmm6,%xmm6
  movlpd %xmm8,0x28(%rsp)
  movsd  -0x28(%rsp),%xmm8
  addsd  %xmm7,%xmm6
  movapd %xmm5,%xmm7
  movsd  %xmm6,0xf0(%rsp)
  movapd %xmm2,%xmm6
  movsd  0x38(%rsp),%xmm2
  movaps %xmm6,0x128(%rsp)
  addsd  %xmm0,%xmm2
  unpckhpd %xmm0,%xmm0
  movlpd %xmm6,0x38(%rsp)
  addsd  %xmm2,%xmm0
  movupd -0x70(%rax),%xmm2
  movhpd -0x50(%rax),%xmm2
  movsd  %xmm0,0x120(%rsp)
  movapd %xmm2,%xmm0
  movupd -0x30(%rax),%xmm2
  movhpd -0x10(%rax),%xmm2
  movapd %xmm2,%xmm6
  movapd %xmm14,%xmm2
  mulpd  %xmm6,%xmm7
  mulpd  %xmm0,%xmm2
  movapd %xmm7,%xmm10
  movsd  -0x68(%rsp),%xmm7
  addsd  %xmm2,%xmm7
  unpckhpd %xmm2,%xmm2
  addsd  %xmm7,%xmm2
  movapd %xmm3,%xmm7
  mulpd  %xmm6,%xmm7
  movsd  %xmm2,-0x68(%rsp)
  movapd %xmm12,%xmm2
  mulpd  %xmm0,%xmm2
  movapd %xmm7,%xmm9
  movsd  -0x48(%rsp),%xmm7
  addsd  %xmm2,%xmm7
  unpckhpd %xmm2,%xmm2
  addsd  %xmm7,%xmm2
  movapd %xmm4,%xmm7
  mulpd  %xmm6,%xmm7
  mulpd  %xmm11,%xmm6
  movsd  %xmm2,-0x48(%rsp)
  movapd %xmm1,%xmm2
  mulpd  %xmm0,%xmm2
  mulpd  %xmm13,%xmm0
  addsd  %xmm2,%xmm8
  unpckhpd %xmm2,%xmm2
  addsd  %xmm8,%xmm2
  movsd  %xmm2,-0x28(%rsp)
  movsd  -0x8(%rsp),%xmm2
  addsd  %xmm0,%xmm2
  unpckhpd %xmm0,%xmm0
  addsd  %xmm2,%xmm0
  movsd  %xmm0,-0x8(%rsp)
  movupd -0x50(%rax),%xmm0
  movlpd -0x68(%rax),%xmm0
  movsd  0x8(%rsp),%xmm8
  movupd -0x10(%rax),%xmm2
  mulpd  %xmm0,%xmm14
  movlpd -0x28(%rax),%xmm2
  mulpd  %xmm0,%xmm12
  mulpd  %xmm0,%xmm1
  mulpd  %xmm13,%xmm0
  mulpd  %xmm2,%xmm5
  addsd  %xmm14,%xmm8
  mulpd  %xmm2,%xmm3
  unpckhpd %xmm14,%xmm14
  mulpd  %xmm2,%xmm4
  mulpd  %xmm11,%xmm2
  movsd  0xb0(%rsp),%xmm11
  addsd  %xmm8,%xmm14
  movsd  0x48(%rsp),%xmm8
  addsd  %xmm12,%xmm8
  unpckhpd %xmm12,%xmm12
  movlpd %xmm3,0x48(%rsp)
  unpckhpd %xmm3,%xmm3
  addsd  %xmm8,%xmm12
  movsd  0x58(%rsp),%xmm8
  movlpd %xmm4,0x58(%rsp)
  unpckhpd %xmm4,%xmm4
  addsd  %xmm1,%xmm8
  unpckhpd %xmm1,%xmm1
  addsd  %xmm8,%xmm1
  movsd  0x68(%rsp),%xmm8
  addsd  %xmm0,%xmm8
  unpckhpd %xmm0,%xmm0
  addsd  %xmm8,%xmm0
  movsd  0x78(%rsp),%xmm8
  addsd  %xmm15,%xmm8
  unpckhpd %xmm15,%xmm15
  addsd  %xmm2,%xmm0
  unpckhpd %xmm2,%xmm2
  addsd  %xmm15,%xmm8
  movsd  -0x58(%rsp),%xmm15
  addsd  0xb8(%rsp),%xmm15
  addsd  %xmm2,%xmm0
  addsd  %xmm11,%xmm15
  movsd  0xe0(%rsp),%xmm11
  movsd  %xmm15,-0x58(%rsp)
  movsd  -0x38(%rsp),%xmm15
  addsd  0xe8(%rsp),%xmm15
  addsd  %xmm11,%xmm15
  movsd  0x110(%rsp),%xmm11
  movsd  %xmm15,-0x38(%rsp)
  movsd  -0x18(%rsp),%xmm15
  addsd  0x118(%rsp),%xmm15
  addsd  %xmm11,%xmm15
  movsd  0xa0(%rsp),%xmm11
  movsd  %xmm15,-0x18(%rsp)
  movsd  -0x78(%rsp),%xmm15
  addsd  0x88(%rsp),%xmm15
  addsd  %xmm11,%xmm15
  movsd  0xd0(%rsp),%xmm11
  movsd  %xmm15,-0x78(%rsp)
  movsd  0x18(%rsp),%xmm15
  addsd  0xc0(%rsp),%xmm15
  addsd  %xmm11,%xmm15
  movsd  %xmm15,0x18(%rsp)
  movsd  0x28(%rsp),%xmm15
  addsd  0xf0(%rsp),%xmm15
  movsd  0x100(%rsp),%xmm11
  addsd  0x48(%rsp),%xmm12
  movsd  %xmm0,0x68(%rsp)
  addsd  0x58(%rsp),%xmm1
  addsd  %xmm11,%xmm15
  movsd  0x130(%rsp),%xmm11
  addsd  %xmm3,%xmm12
  addsd  %xmm4,%xmm1
  movsd  %xmm15,0x28(%rsp)
  movsd  0x38(%rsp),%xmm15
  addsd  0x120(%rsp),%xmm15
  movsd  %xmm12,0x48(%rsp)
  movsd  %xmm1,0x58(%rsp)
  addsd  %xmm11,%xmm15
  movsd  -0x68(%rsp),%xmm11
  addsd  %xmm10,%xmm11
  unpckhpd %xmm10,%xmm10
  movsd  %xmm15,0x38(%rsp)
  addsd  %xmm10,%xmm11
  movsd  -0x48(%rsp),%xmm10
  addsd  %xmm9,%xmm10
  unpckhpd %xmm9,%xmm9
  movsd  %xmm11,-0x68(%rsp)
  addsd  %xmm9,%xmm10
  movsd  -0x28(%rsp),%xmm9
  addsd  %xmm7,%xmm9
  unpckhpd %xmm7,%xmm7
  movsd  %xmm10,-0x48(%rsp)
  addsd  %xmm7,%xmm9
  movsd  -0x8(%rsp),%xmm7
  addsd  %xmm6,%xmm7
  unpckhpd %xmm6,%xmm6
  movsd  %xmm9,-0x28(%rsp)
  addsd  %xmm6,%xmm7
  movapd %xmm5,%xmm6
  unpckhpd %xmm5,%xmm5
  addsd  %xmm14,%xmm6
  movsd  %xmm7,-0x8(%rsp)
  addsd  %xmm5,%xmm6
  movsd  %xmm6,0x8(%rsp)
  cmp    %ecx,%r10d
  ja     L236
  shl    $0x7,%r10
  movapd %xmm0,%xmm11
  lea    0x4(%r13,%r14,4),%r13d
  add    %r10,%r8
  add    %r10,%r9
L212:
  cmp    %r13d,%r12d
  jle    L110
  movupd 0x10(%r8),%xmm3
  movupd 0x10(%r9),%xmm1
  movapd %xmm11,%xmm2
  sub    %r13d,%r12d
  movupd (%r9),%xmm0
  movhpd -0x8(%rsp),%xmm2
  movupd 0x10(%r8),%xmm7
  unpckhpd %xmm3,%xmm3
  shufpd $0x1,%xmm1,%xmm1
  movupd (%r8),%xmm9
  movapd %xmm1,%xmm4
  movapd %xmm3,%xmm6
  shufpd $0x1,%xmm0,%xmm0
  unpcklpd %xmm7,%xmm7
  movupd (%r8),%xmm10
  mulpd  %xmm1,%xmm6
  movapd %xmm7,%xmm5
  unpckhpd %xmm9,%xmm9
  mulpd  %xmm0,%xmm3
  unpcklpd %xmm10,%xmm10
  mulpd  %xmm1,%xmm5
  mulpd  %xmm0,%xmm7
  mulpd  %xmm9,%xmm4
  addpd  %xmm2,%xmm6
  movsd  0x38(%rsp),%xmm2
  mulpd  %xmm10,%xmm1
  movhpd -0x18(%rsp),%xmm2
  addpd  %xmm2,%xmm3
  movsd  0x58(%rsp),%xmm2
  movhpd -0x28(%rsp),%xmm2
  addpd  %xmm2,%xmm5
  movsd  0x28(%rsp),%xmm2
  movhpd -0x38(%rsp),%xmm2
  addpd  %xmm2,%xmm7
  movsd  0x48(%rsp),%xmm2
  movhpd -0x48(%rsp),%xmm2
  addpd  %xmm2,%xmm4
  movapd %xmm9,%xmm2
  movsd  0x18(%rsp),%xmm9
  mulpd  %xmm0,%xmm2
  mulpd  %xmm10,%xmm0
  movhpd -0x58(%rsp),%xmm9
  addpd  %xmm9,%xmm2
  movsd  0x8(%rsp),%xmm9
  movhpd -0x68(%rsp),%xmm9
  addpd  %xmm9,%xmm1
  movsd  -0x78(%rsp),%xmm9
  unpcklpd %xmm8,%xmm9
  addpd  %xmm9,%xmm0
  cmp    $0x1,%r12d
  je     L121
  movupd 0x30(%r8),%xmm12
  movupd 0x20(%r9),%xmm8
  movupd 0x30(%r8),%xmm10
  movupd 0x20(%r8),%xmm13
  unpckhpd %xmm12,%xmm12
  shufpd $0x1,%xmm8,%xmm8
  movupd 0x20(%r8),%xmm11
  movupd 0x30(%r9),%xmm9
  movapd %xmm12,%xmm14
  unpcklpd %xmm10,%xmm10
  unpckhpd %xmm13,%xmm13
  mulpd  %xmm8,%xmm12
  shufpd $0x1,%xmm9,%xmm9
  unpcklpd %xmm11,%xmm11
  mulpd  %xmm9,%xmm14
  addpd  %xmm12,%xmm3
  movapd %xmm10,%xmm12
  mulpd  %xmm8,%xmm10
  addpd  %xmm14,%xmm6
  mulpd  %xmm9,%xmm12
  addpd  %xmm10,%xmm7
  movapd %xmm9,%xmm10
  mulpd  %xmm13,%xmm10
  addpd  %xmm12,%xmm5
  mulpd  %xmm8,%xmm13
  mulpd  %xmm11,%xmm9
  mulpd  %xmm11,%xmm8
  addpd  %xmm10,%xmm4
  addpd  %xmm13,%xmm2
  addpd  %xmm9,%xmm1
  addpd  %xmm8,%xmm0
  cmp    $0x2,%r12d
  je     L121
  movupd 0x50(%r8),%xmm13
  movupd 0x40(%r9),%xmm10
  movupd 0x50(%r8),%xmm8
  movupd 0x40(%r8),%xmm12
  unpckhpd %xmm13,%xmm13
  shufpd $0x1,%xmm10,%xmm10
  movupd 0x50(%r9),%xmm9
  movupd 0x40(%r8),%xmm11
  movapd %xmm13,%xmm14
  unpcklpd %xmm8,%xmm8
  unpckhpd %xmm12,%xmm12
  mulpd  %xmm10,%xmm13
  shufpd $0x1,%xmm9,%xmm9
  unpcklpd %xmm11,%xmm11
  mulpd  %xmm9,%xmm14
  addpd  %xmm13,%xmm3
  movapd %xmm8,%xmm13
  mulpd  %xmm10,%xmm8
  addpd  %xmm14,%xmm6
  mulpd  %xmm9,%xmm13
  addpd  %xmm8,%xmm7
  movapd %xmm9,%xmm8
  mulpd  %xmm12,%xmm8
  addpd  %xmm13,%xmm5
  mulpd  %xmm10,%xmm12
  mulpd  %xmm11,%xmm9
  addpd  %xmm8,%xmm4
  movapd %xmm10,%xmm8
  mulpd  %xmm11,%xmm8
  addpd  %xmm12,%xmm2
  addpd  %xmm9,%xmm1
  addpd  %xmm8,%xmm0
  cmp    $0x3,%r12d
  je     L121
  movupd 0x60(%r8),%xmm8
  movupd 0x70(%r8),%xmm11
  movupd 0x70(%r9),%xmm9
  movapd %xmm8,%xmm10
  movapd %xmm8,%xmm13
  movapd %xmm11,%xmm12
  unpckhpd %xmm8,%xmm10
  unpcklpd %xmm8,%xmm13
  movupd 0x60(%r9),%xmm8
  shufpd $0x1,%xmm9,%xmm9
  unpckhpd %xmm11,%xmm12
  movapd %xmm9,%xmm14
  unpcklpd %xmm11,%xmm11
  shufpd $0x1,%xmm8,%xmm8
  mulpd  %xmm12,%xmm14
  mulpd  %xmm8,%xmm12
  addpd  %xmm14,%xmm6
  addpd  %xmm12,%xmm3
  movapd %xmm9,%xmm12
  mulpd  %xmm11,%xmm12
  mulpd  %xmm8,%xmm11
  addpd  %xmm12,%xmm5
  addpd  %xmm11,%xmm7
  movapd %xmm9,%xmm11
  mulpd  %xmm10,%xmm11
  mulpd  %xmm13,%xmm9
  mulpd  %xmm8,%xmm10
  mulpd  %xmm13,%xmm8
  addpd  %xmm11,%xmm4
  addpd  %xmm9,%xmm1
  addpd  %xmm10,%xmm2
  addpd  %xmm8,%xmm0
L121:
  movlpd %xmm0,-0x78(%rsp)
  unpckhpd %xmm0,%xmm0
  movapd %xmm6,%xmm11
  movhpd %xmm6,-0x8(%rsp)
  movapd %xmm0,%xmm8
  movlpd %xmm3,0x38(%rsp)
  movhpd %xmm3,-0x18(%rsp)
  movlpd %xmm5,0x58(%rsp)
  movhpd %xmm5,-0x28(%rsp)
  movlpd %xmm7,0x28(%rsp)
  movhpd %xmm7,-0x38(%rsp)
  movlpd %xmm4,0x48(%rsp)
  movhpd %xmm4,-0x48(%rsp)
  movlpd %xmm2,0x18(%rsp)
  movhpd %xmm2,-0x58(%rsp)
  movlpd %xmm1,0x8(%rsp)
  movhpd %xmm1,-0x68(%rsp)
L110:
  cmpl   $0x3,0x178(%rsp)
  jle    L58
  movapd %xmm11,%xmm4
  movsd  0x58(%rsp),%xmm1
  movsd  0x28(%rsp),%xmm5
  xor    %ecx,%ecx
  movhpd -0x8(%rsp),%xmm4
  mov    0x178(%rsp),%eax
  mov    0x188(%rsp),%rdx
  movaps %xmm4,-0x8(%rsp)
  movsd  0x38(%rsp),%xmm4
  movhpd -0x28(%rsp),%xmm1
  movhpd -0x38(%rsp),%xmm5
  movaps %xmm1,-0x28(%rsp)
  movsd  0x18(%rsp),%xmm1
  lea    -0x4(%rax),%r8d
  mov    0x180(%rsp),%rax
  movhpd -0x18(%rsp),%xmm4
  movaps %xmm5,-0x38(%rsp)
  shr    $0x2,%r8d
  movsd  0x8(%rsp),%xmm5
  movaps %xmm4,-0x18(%rsp)
  movsd  0x48(%rsp),%xmm4
  movhpd -0x58(%rsp),%xmm1
  add    $0x1,%r8d
  movhpd -0x68(%rsp),%xmm5
  movaps %xmm1,-0x58(%rsp)
  movhpd -0x48(%rsp),%xmm4
  movaps %xmm5,-0x68(%rsp)
  movaps %xmm4,-0x48(%rsp)
  movsd  -0x78(%rsp),%xmm4
  unpcklpd %xmm8,%xmm4
  movaps %xmm4,-0x78(%rsp)
  nopw   0x0(%rax,%rax,1)
L164:
  movupd 0x20(%rax),%xmm4
  movupd (%rax),%xmm7
  add    $0x1,%ecx
  sub    $0xffffffffffffff80,%rdx
  movupd -0x50(%rdx),%xmm3
  movupd (%rax),%xmm12
  sub    $0xffffffffffffff80,%rax
  unpckhpd %xmm4,%xmm4
  movupd -0x40(%rax),%xmm0
  movupd -0x60(%rax),%xmm1
  unpcklpd %xmm7,%xmm7
  movaps %xmm4,0x68(%rsp)
  shufpd $0x1,%xmm3,%xmm3
  movapd %xmm3,%xmm4
  movupd -0x30(%rax),%xmm3
  unpckhpd %xmm12,%xmm12
  unpcklpd %xmm0,%xmm0
  unpcklpd %xmm1,%xmm1
  movupd -0x20(%rax),%xmm2
  unpckhpd %xmm3,%xmm3
  movaps %xmm0,0x28(%rsp)
  movupd -0x20(%rax),%xmm0
  movupd -0x80(%rdx),%xmm15
  movupd -0x40(%rdx),%xmm6
  movaps %xmm1,0x58(%rsp)
  movupd -0x60(%rdx),%xmm1
  unpcklpd %xmm2,%xmm2
  unpckhpd %xmm0,%xmm0
  movupd -0x70(%rdx),%xmm5
  movaps %xmm2,0x8(%rsp)
  movupd -0x70(%rax),%xmm14
  movaps %xmm12,0x98(%rsp)
  movapd %xmm3,%xmm12
  movupd -0x30(%rax),%xmm3
  movupd -0x70(%rax),%xmm9
  movupd -0x50(%rax),%xmm13
  movaps %xmm0,0x18(%rsp)
  shufpd $0x1,%xmm1,%xmm1
  movupd -0x50(%rax),%xmm8
  unpcklpd %xmm3,%xmm3
  movupd -0x10(%rax),%xmm11
  movaps %xmm1,0x48(%rsp)
  shufpd $0x1,%xmm15,%xmm15
  shufpd $0x1,%xmm6,%xmm6
  movaps %xmm15,0x78(%rsp)
  movapd %xmm6,%xmm1
  movupd -0x10(%rax),%xmm6
  shufpd $0x1,%xmm5,%xmm5
  unpckhpd %xmm14,%xmm14
  unpckhpd %xmm13,%xmm13
  movaps %xmm7,0x88(%rsp)
  movapd %xmm3,%xmm7
  movupd -0x40(%rax),%xmm3
  unpckhpd %xmm11,%xmm11
  unpcklpd %xmm9,%xmm9
  unpcklpd %xmm8,%xmm8
  unpcklpd %xmm6,%xmm6
  unpckhpd %xmm3,%xmm3
  movaps %xmm3,0x38(%rsp)
  movupd -0x30(%rdx),%xmm3
  movupd -0x10(%rdx),%xmm2
  movupd -0x20(%rdx),%xmm10
  shufpd $0x1,%xmm3,%xmm3
  shufpd $0x1,%xmm2,%xmm2
  shufpd $0x1,%xmm10,%xmm10
  movapd %xmm10,%xmm0
  movapd %xmm5,%xmm10
  mulpd  %xmm14,%xmm10
  movapd %xmm10,%xmm15
  movapd -0x8(%rsp),%xmm10
  subpd  %xmm15,%xmm10
  movapd %xmm4,%xmm15
  mulpd  %xmm13,%xmm15
  subpd  %xmm15,%xmm10
  movapd %xmm3,%xmm15
  mulpd  %xmm12,%xmm15
  mulpd  %xmm1,%xmm12
  subpd  %xmm15,%xmm10
  movapd %xmm2,%xmm15
  mulpd  %xmm11,%xmm15
  mulpd  %xmm0,%xmm11
  subpd  %xmm15,%xmm10
  movapd 0x78(%rsp),%xmm15
  mulpd  %xmm15,%xmm14
  movaps %xmm10,-0x8(%rsp)
  movapd -0x18(%rsp),%xmm10
  subpd  %xmm14,%xmm10
  movapd 0x48(%rsp),%xmm14
  mulpd  %xmm14,%xmm13
  subpd  %xmm13,%xmm10
  movapd %xmm15,%xmm13
  subpd  %xmm12,%xmm10
  movapd 0x98(%rsp),%xmm12
  subpd  %xmm11,%xmm10
  movapd %xmm5,%xmm11
  mulpd  %xmm9,%xmm11
  mulpd  %xmm15,%xmm9
  movapd 0x18(%rsp),%xmm15
  movaps %xmm10,-0x18(%rsp)
  movapd -0x28(%rsp),%xmm10
  subpd  %xmm11,%xmm10
  movapd %xmm4,%xmm11
  mulpd  %xmm8,%xmm11
  mulpd  %xmm14,%xmm8
  subpd  %xmm11,%xmm10
  movapd %xmm3,%xmm11
  mulpd  %xmm7,%xmm11
  mulpd  %xmm1,%xmm7
  subpd  %xmm11,%xmm10
  movapd %xmm2,%xmm11
  mulpd  %xmm6,%xmm11
  mulpd  %xmm0,%xmm6
  subpd  %xmm11,%xmm10
  movaps %xmm10,-0x28(%rsp)
  movapd -0x38(%rsp),%xmm10
  subpd  %xmm9,%xmm10
  movapd %xmm14,%xmm9
  movapd 0x68(%rsp),%xmm14
  subpd  %xmm8,%xmm10
  movapd 0x38(%rsp),%xmm8
  subpd  %xmm7,%xmm10
  movapd %xmm12,%xmm7
  mulpd  %xmm5,%xmm7
  subpd  %xmm6,%xmm10
  movapd -0x48(%rsp),%xmm6
  subpd  %xmm7,%xmm6
  movapd %xmm14,%xmm7
  movaps %xmm10,-0x38(%rsp)
  mulpd  %xmm4,%xmm7
  subpd  %xmm7,%xmm6
  movapd %xmm8,%xmm7
  mulpd  %xmm3,%xmm7
  subpd  %xmm7,%xmm6
  movapd %xmm15,%xmm7
  mulpd  %xmm2,%xmm7
  subpd  %xmm7,%xmm6
  movapd %xmm12,%xmm7
  movapd 0x8(%rsp),%xmm12
  mulpd  %xmm13,%xmm7
  mulpd  %xmm12,%xmm2
  movaps %xmm6,-0x48(%rsp)
  movapd -0x58(%rsp),%xmm6
  subpd  %xmm7,%xmm6
  movapd %xmm14,%xmm7
  mulpd  %xmm9,%xmm7
  subpd  %xmm7,%xmm6
  movapd %xmm8,%xmm7
  mulpd  %xmm1,%xmm7
  subpd  %xmm7,%xmm6
  movapd %xmm15,%xmm7
  mulpd  %xmm0,%xmm7
  mulpd  %xmm12,%xmm0
  subpd  %xmm7,%xmm6
  movapd 0x88(%rsp),%xmm7
  mulpd  %xmm7,%xmm5
  movaps %xmm6,-0x58(%rsp)
  movapd -0x68(%rsp),%xmm6
  subpd  %xmm5,%xmm6
  movapd 0x58(%rsp),%xmm5
  mulpd  %xmm5,%xmm4
  subpd  %xmm4,%xmm6
  movapd 0x28(%rsp),%xmm4
  mulpd  %xmm4,%xmm3
  mulpd  %xmm4,%xmm1
  subpd  %xmm3,%xmm6
  movapd -0x78(%rsp),%xmm3
  subpd  %xmm2,%xmm6
  movapd %xmm13,%xmm2
  mulpd  %xmm7,%xmm2
  movaps %xmm6,-0x68(%rsp)
  subpd  %xmm2,%xmm3
  movapd %xmm9,%xmm2
  mulpd  %xmm5,%xmm2
  subpd  %xmm2,%xmm3
  subpd  %xmm1,%xmm3
  movapd %xmm3,%xmm2
  subpd  %xmm0,%xmm2
  movaps %xmm2,-0x78(%rsp)
  cmp    %r8d,%ecx
  jb     L164
  movapd -0x18(%rsp),%xmm5
  movapd -0x28(%rsp),%xmm4
  movlpd %xmm10,0x28(%rsp)
  movapd -0x8(%rsp),%xmm1
  movhpd %xmm10,-0x38(%rsp)
  movlpd %xmm5,0x38(%rsp)
  movhpd %xmm5,-0x18(%rsp)
  movapd -0x48(%rsp),%xmm5
  movapd %xmm1,%xmm11
  movlpd %xmm4,0x58(%rsp)
  movhpd %xmm4,-0x28(%rsp)
  movapd -0x58(%rsp),%xmm4
  movlpd %xmm5,0x48(%rsp)
  movhpd %xmm5,-0x48(%rsp)
  movapd %xmm2,%xmm5
  unpckhpd %xmm5,%xmm5
  movhpd %xmm1,-0x8(%rsp)
  movlpd %xmm4,0x18(%rsp)
  movapd %xmm5,%xmm8
  movhpd %xmm4,-0x58(%rsp)
  movlpd %xmm6,0x8(%rsp)
  movhpd %xmm6,-0x68(%rsp)
  movlpd %xmm2,-0x78(%rsp)
L58:
  mov    0x190(%rsp),%edx
  test   %edx,%edx
  je     L187
  movsd  -0x58(%rsp),%xmm4
  movsd  -0x38(%rsp),%xmm1
  addsd  0x8(%rdi),%xmm4
  addsd  0x10(%rdi),%xmm1
  movsd  0x28(%rsp),%xmm5
  addsd  0x30(%rdi),%xmm5
  addsd  (%rdi),%xmm8
  movsd  %xmm4,-0x58(%rsp)
  movsd  -0x18(%rsp),%xmm4
  addsd  0x18(%rdi),%xmm4
  movsd  %xmm1,-0x38(%rsp)
  movsd  -0x78(%rsp),%xmm1
  addsd  0x20(%rdi),%xmm1
  movsd  %xmm5,0x28(%rsp)
  movsd  -0x48(%rsp),%xmm5
  addsd  0x48(%rdi),%xmm5
  movsd  %xmm4,-0x18(%rsp)
  movsd  0x18(%rsp),%xmm4
  addsd  0x28(%rdi),%xmm4
  movsd  %xmm1,-0x78(%rsp)
  movsd  0x38(%rsp),%xmm1
  addsd  0x38(%rdi),%xmm1
  movsd  %xmm5,-0x48(%rsp)
  movsd  %xmm4,0x18(%rsp)
  movsd  -0x68(%rsp),%xmm4
  addsd  0x40(%rdi),%xmm4
  movsd  %xmm1,0x38(%rsp)
  movsd  -0x28(%rsp),%xmm1
  addsd  0x50(%rdi),%xmm1
  movsd  %xmm4,-0x68(%rsp)
  movsd  -0x8(%rsp),%xmm4
  movsd  %xmm1,-0x28(%rsp)
  addsd  0x58(%rdi),%xmm4
  movsd  0x8(%rsp),%xmm5
  movsd  0x48(%rsp),%xmm1
  addsd  0x60(%rdi),%xmm5
  addsd  0x68(%rdi),%xmm1
  addsd  0x78(%rdi),%xmm11
  movsd  %xmm4,-0x8(%rsp)
  movsd  0x58(%rsp),%xmm4
  addsd  0x70(%rdi),%xmm4
  movsd  %xmm5,0x8(%rsp)
  movsd  %xmm1,0x48(%rsp)
  movsd  %xmm4,0x58(%rsp)
L187:
  mov    0x1b0(%rsp),%eax
  test   %eax,%eax
  je     L188
  movsd  (%r15),%xmm0
  movsd  -0x58(%rsp),%xmm5
  movapd %xmm8,%xmm4
  movsd  -0x38(%rsp),%xmm6
  mulsd  %xmm0,%xmm4
  mulsd  %xmm0,%xmm5
  mulsd  %xmm0,%xmm6
  mulsd  -0x18(%rsp),%xmm0
  movsd  %xmm4,(%rsi)
  movsd  %xmm5,0x8(%rsi)
  movsd  %xmm6,0x10(%rsi)
  cmp    $0x3,%ebx
  jle    L105
  movsd  %xmm0,0x18(%rsi)
L105:
  movsd  0x8(%r11),%xmm8
  movapd %xmm4,%xmm1
  movapd %xmm6,%xmm9
  movsd  -0x78(%rsp),%xmm3
  movsd  0x18(%rsp),%xmm2
  movsd  0x8(%r15),%xmm7
  mulsd  %xmm8,%xmm1
  mulsd  %xmm8,%xmm9
  subsd  %xmm1,%xmm3
  movapd %xmm5,%xmm1
  mulsd  %xmm8,%xmm1
  mulsd  %xmm0,%xmm8
  mulsd  %xmm7,%xmm3
  subsd  %xmm1,%xmm2
  movsd  0x28(%rsp),%xmm1
  subsd  %xmm9,%xmm1
  movsd  0x38(%rsp),%xmm9
  movsd  %xmm3,0x20(%rsi)
  mulsd  %xmm7,%xmm2
  subsd  %xmm8,%xmm9
  mulsd  %xmm7,%xmm1
  mulsd  %xmm7,%xmm9
  movsd  %xmm2,0x28(%rsi)
  movsd  %xmm1,0x30(%rsi)
  cmp    $0x3,%ebx
  jle    L225
  movsd  %xmm9,0x38(%rsi)
L225:
  movsd  0x10(%r11),%xmm8
  movapd %xmm4,%xmm12
  movsd  -0x68(%rsp),%xmm15
  movsd  -0x48(%rsp),%xmm14
  movsd  -0x28(%rsp),%xmm13
  mulsd  %xmm8,%xmm12
  movsd  0x30(%r11),%xmm7
  movsd  0x10(%r15),%xmm10
  subsd  %xmm12,%xmm15
  movapd %xmm5,%xmm12
  mulsd  %xmm8,%xmm12
  subsd  %xmm12,%xmm14
  movapd %xmm6,%xmm12
  mulsd  %xmm8,%xmm12
  mulsd  %xmm0,%xmm8
  subsd  %xmm12,%xmm13
  movsd  -0x8(%rsp),%xmm12
  subsd  %xmm8,%xmm12
  movapd %xmm3,%xmm8
  mulsd  %xmm7,%xmm8
  subsd  %xmm8,%xmm15
  movapd %xmm2,%xmm8
  mulsd  %xmm7,%xmm8
  mulsd  %xmm10,%xmm15
  subsd  %xmm8,%xmm14
  movapd %xmm1,%xmm8
  mulsd  %xmm7,%xmm8
  mulsd  %xmm9,%xmm7
  movsd  %xmm15,0x40(%rsi)
  mulsd  %xmm10,%xmm14
  subsd  %xmm8,%xmm13
  movapd %xmm7,%xmm8
  movapd %xmm12,%xmm7
  subsd  %xmm8,%xmm7
  movsd  %xmm14,0x48(%rsi)
  mulsd  %xmm10,%xmm13
  mulsd  %xmm7,%xmm10
  movq   %xmm13,%rdi
  movsd  %xmm13,0x50(%rsi)
  movsd  %xmm10,-0x78(%rsp)
  cmp    $0x3,%ebx
  jle    L215
  movsd  %xmm10,0x58(%rsi)
L215:
  cmp    $0x3,%ebp
  je     L197
  movsd  0x18(%r11),%xmm12
  movsd  0x8(%rsp),%xmm13
  movsd  0x38(%r11),%xmm7
  movsd  0x58(%r11),%xmm10
  mulsd  %xmm12,%xmm4
  movsd  0x18(%r15),%xmm8
  mulsd  %xmm12,%xmm5
  mulsd  %xmm12,%xmm6
  mulsd  %xmm7,%xmm1
  mulsd  %xmm10,%xmm15
  subsd  %xmm4,%xmm13
  movsd  0x48(%rsp),%xmm4
  mulsd  %xmm10,%xmm14
  subsd  %xmm5,%xmm4
  movapd %xmm3,%xmm5
  mulsd  %xmm7,%xmm5
  movapd %xmm13,%xmm3
  movq   %rdi,%xmm13
  mulsd  %xmm10,%xmm13
  movq   %xmm4,%rax
  movsd  0x58(%rsp),%xmm4
  subsd  %xmm6,%xmm4
  subsd  %xmm5,%xmm3
  movapd %xmm2,%xmm5
  movq   %rax,%xmm2
  mulsd  %xmm7,%xmm5
  subsd  %xmm15,%xmm3
  subsd  %xmm5,%xmm2
  mulsd  %xmm8,%xmm3
  movapd %xmm1,%xmm5
  movapd %xmm4,%xmm1
  subsd  %xmm5,%xmm1
  subsd  %xmm14,%xmm2
  subsd  %xmm13,%xmm1
  movsd  %xmm3,0x60(%rsi)
  mulsd  %xmm8,%xmm2
  mulsd  %xmm8,%xmm1
  movsd  %xmm2,0x68(%rsi)
  movsd  %xmm1,0x70(%rsi)
  cmp    $0x3,%ebx
  jle    L197
  mulsd  %xmm12,%xmm0
  mulsd  %xmm7,%xmm9
  movsd  -0x78(%rsp),%xmm7
  mulsd  %xmm10,%xmm7
  subsd  %xmm0,%xmm11
  movapd %xmm11,%xmm0
  subsd  %xmm9,%xmm0
  subsd  %xmm7,%xmm0
  mulsd  %xmm0,%xmm8
  movsd  %xmm8,0x78(%rsi)
L197:
  add    $0x140,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L140:
  movsd  (%r8),%xmm0
  movsd  0x8(%r9),%xmm2
  pxor   %xmm1,%xmm1
  movsd  (%r9),%xmm8
  mulsd  %xmm0,%xmm2
  mulsd  %xmm0,%xmm8
  movapd %xmm2,%xmm5
  movsd  0x10(%r9),%xmm2
  addsd  %xmm1,%xmm5
  addsd  %xmm1,%xmm8
  mulsd  %xmm0,%xmm2
  mulsd  0x18(%r9),%xmm0
  movsd  %xmm5,-0x78(%rsp)
  addsd  %xmm1,%xmm2
  addsd  %xmm1,%xmm0
  movapd %xmm2,%xmm9
  movsd  %xmm2,-0x68(%rsp)
  movapd %xmm0,%xmm11
  movsd  %xmm0,0x8(%rsp)
  cmp    $0x3,%edx
  jg     L62
  cmp    $0x1,%edx
  je     L214
  movsd  0x20(%r8),%xmm2
  movsd  0x28(%r8),%xmm0
  movsd  0x20(%r9),%xmm6
  movsd  0x28(%r9),%xmm4
  movapd %xmm2,%xmm7
  movsd  0x30(%r9),%xmm3
  movsd  0x38(%r9),%xmm5
  mulsd  %xmm6,%xmm7
  mulsd  %xmm0,%xmm6
  addsd  %xmm7,%xmm8
  addsd  %xmm1,%xmm6
  movsd  %xmm6,-0x58(%rsp)
  movapd %xmm2,%xmm6
  mulsd  %xmm4,%xmm6
  mulsd  %xmm0,%xmm4
  addsd  -0x78(%rsp),%xmm6
  movsd  %xmm6,-0x78(%rsp)
  addsd  %xmm1,%xmm4
  movsd  %xmm4,0x18(%rsp)
  movapd %xmm2,%xmm4
  mulsd  %xmm3,%xmm4
  mulsd  %xmm0,%xmm3
  addsd  -0x68(%rsp),%xmm4
  mulsd  %xmm5,%xmm0
  mulsd  %xmm5,%xmm2
  addsd  0x8(%rsp),%xmm2
  movsd  %xmm4,-0x68(%rsp)
  addsd  %xmm1,%xmm3
  addsd  %xmm1,%xmm0
  movsd  %xmm2,0x8(%rsp)
  movsd  %xmm3,-0x48(%rsp)
  movsd  %xmm0,0x48(%rsp)
  cmp    $0x3,%edx
  je     L205
  movapd %xmm1,%xmm11
  movsd  %xmm1,-0x8(%rsp)
  mov    $0x2,%r13d
  movsd  %xmm1,0x38(%rsp)
  movsd  %xmm1,-0x18(%rsp)
  movsd  %xmm1,0x58(%rsp)
  movsd  %xmm1,-0x28(%rsp)
  movsd  %xmm1,0x28(%rsp)
  movsd  %xmm1,-0x38(%rsp)
  jmp    L239
  nopl   0x0(%rax)
L188:
  movapd %xmm8,%xmm9
  movsd  -0x58(%rsp),%xmm10
  movsd  D5(%rip),%xmm13
  movsd  -0x38(%rsp),%xmm8
  movsd  -0x18(%rsp),%xmm12
  movapd %xmm13,%xmm0
  divsd  (%r11),%xmm0
  mulsd  %xmm0,%xmm9
  mulsd  %xmm0,%xmm10
  mulsd  %xmm0,%xmm8
  mulsd  %xmm0,%xmm12
  movsd  %xmm9,(%rsi)
  movsd  %xmm10,0x8(%rsi)
  movsd  %xmm8,0x10(%rsi)
  cmp    $0x3,%ebx
  jle    L301
  movsd  %xmm12,0x18(%rsi)
L301:
  movsd  0x8(%r11),%xmm3
  movapd %xmm9,%xmm1
  movapd %xmm10,%xmm2
  movsd  -0x78(%rsp),%xmm0
  movapd %xmm8,%xmm5
  movapd %xmm13,%xmm4
  divsd  0x28(%r11),%xmm4
  mulsd  %xmm3,%xmm1
  mulsd  %xmm3,%xmm2
  mulsd  %xmm3,%xmm5
  subsd  %xmm1,%xmm0
  movsd  0x18(%rsp),%xmm1
  subsd  %xmm2,%xmm1
  movsd  0x28(%rsp),%xmm2
  mulsd  %xmm4,%xmm0
  subsd  %xmm5,%xmm2
  movapd %xmm3,%xmm5
  movsd  0x38(%rsp),%xmm3
  mulsd  %xmm12,%xmm5
  mulsd  %xmm4,%xmm1
  mulsd  %xmm4,%xmm2
  movsd  %xmm0,0x20(%rsi)
  subsd  %xmm5,%xmm3
  movsd  %xmm1,0x28(%rsi)
  movsd  %xmm2,0x30(%rsi)
  mulsd  %xmm4,%xmm3
  movsd  %xmm3,-0x78(%rsp)
  cmp    $0x3,%ebx
  jle    L260
  movsd  %xmm3,0x38(%rsi)
L260:
  movsd  0x10(%r11),%xmm5
  movapd %xmm9,%xmm7
  movsd  -0x68(%rsp),%xmm14
  movapd %xmm13,%xmm6
  movsd  -0x48(%rsp),%xmm15
  movsd  -0x28(%rsp),%xmm3
  divsd  0x50(%r11),%xmm6
  mulsd  %xmm5,%xmm7
  movsd  0x30(%r11),%xmm4
  subsd  %xmm7,%xmm14
  movapd %xmm10,%xmm7
  mulsd  %xmm5,%xmm7
  subsd  %xmm7,%xmm15
  movapd %xmm8,%xmm7
  mulsd  %xmm5,%xmm7
  mulsd  %xmm12,%xmm5
  subsd  %xmm7,%xmm3
  movsd  -0x8(%rsp),%xmm7
  subsd  %xmm5,%xmm7
  movapd %xmm0,%xmm5
  mulsd  %xmm4,%xmm5
  subsd  %xmm5,%xmm14
  movapd %xmm1,%xmm5
  mulsd  %xmm4,%xmm5
  mulsd  %xmm6,%xmm14
  subsd  %xmm5,%xmm15
  movapd %xmm2,%xmm5
  mulsd  %xmm4,%xmm5
  mulsd  -0x78(%rsp),%xmm4
  movsd  %xmm14,0x40(%rsi)
  mulsd  %xmm6,%xmm15
  subsd  %xmm5,%xmm3
  movapd %xmm4,%xmm5
  movapd %xmm7,%xmm4
  subsd  %xmm5,%xmm4
  movsd  %xmm15,0x48(%rsi)
  movapd %xmm3,%xmm5
  mulsd  %xmm6,%xmm5
  mulsd  %xmm4,%xmm6
  movq   %xmm5,%rax
  movsd  %xmm5,0x50(%rsi)
  movsd  %xmm6,-0x68(%rsp)
  cmp    $0x3,%ebx
  jle    L111
  movsd  %xmm6,0x58(%rsi)
L111:
  cmp    $0x3,%ebp
  je     L197
  movsd  0x18(%r11),%xmm4
  movapd %xmm13,%xmm5
  movsd  0x8(%rsp),%xmm13
  divsd  0x78(%r11),%xmm5
  movsd  0x38(%r11),%xmm7
  movsd  0x58(%r11),%xmm6
  mulsd  %xmm4,%xmm9
  mulsd  %xmm4,%xmm8
  mulsd  %xmm7,%xmm0
  mulsd  %xmm7,%xmm1
  mulsd  %xmm7,%xmm2
  subsd  %xmm9,%xmm13
  mulsd  %xmm6,%xmm14
  movapd %xmm10,%xmm9
  movsd  0x48(%rsp),%xmm10
  mulsd  %xmm4,%xmm9
  mulsd  %xmm6,%xmm15
  subsd  %xmm0,%xmm13
  movq   %rax,%xmm0
  mulsd  %xmm6,%xmm0
  subsd  %xmm9,%xmm10
  movsd  0x58(%rsp),%xmm9
  subsd  %xmm8,%xmm9
  subsd  %xmm1,%xmm10
  movapd %xmm13,%xmm1
  subsd  %xmm14,%xmm1
  subsd  %xmm2,%xmm9
  movapd %xmm10,%xmm2
  subsd  %xmm15,%xmm2
  mulsd  %xmm5,%xmm1
  subsd  %xmm0,%xmm9
  mulsd  %xmm5,%xmm2
  movapd %xmm9,%xmm8
  mulsd  %xmm5,%xmm8
  movsd  %xmm1,0x60(%rsi)
  movsd  %xmm2,0x68(%rsi)
  movsd  %xmm8,0x70(%rsi)
  cmp    $0x3,%ebx
  jle    L197
  mulsd  %xmm4,%xmm12
  movsd  -0x78(%rsp),%xmm3
  movapd %xmm11,%xmm0
  movsd  -0x68(%rsp),%xmm4
  mulsd  %xmm7,%xmm3
  mulsd  %xmm6,%xmm4
  subsd  %xmm12,%xmm0
  subsd  %xmm3,%xmm0
  subsd  %xmm4,%xmm0
  mulsd  %xmm0,%xmm5
  movsd  %xmm5,0x78(%rsi)
  jmp    L197
  nopl   0x0(%rax)
L133:
  pxor   %xmm11,%xmm11
  movsd  %xmm11,-0x8(%rsp)
  movapd %xmm11,%xmm8
  movsd  %xmm11,0x38(%rsp)
  movsd  %xmm11,-0x18(%rsp)
  movsd  %xmm11,0x58(%rsp)
  movsd  %xmm11,-0x28(%rsp)
  movsd  %xmm11,0x28(%rsp)
  movsd  %xmm11,-0x38(%rsp)
  movsd  %xmm11,0x48(%rsp)
  movsd  %xmm11,-0x48(%rsp)
  movsd  %xmm11,0x18(%rsp)
  movsd  %xmm11,-0x58(%rsp)
  movsd  %xmm11,0x8(%rsp)
  movsd  %xmm11,-0x68(%rsp)
  movsd  %xmm11,-0x78(%rsp)
  jmp    L110
  nopl   0x0(%rax)
L62:
  movsd  0x20(%r8),%xmm2
  movsd  0x28(%r9),%xmm7
  sub    $0xffffffffffffff80,%r8
  sub    $0xffffffffffffff80,%r9
  movsd  -0x48(%r9),%xmm3
  movsd  -0x60(%r9),%xmm4
  mov    $0x4,%r13d
  movapd %xmm2,%xmm13
  movapd %xmm2,%xmm12
  movapd %xmm2,%xmm14
  movsd  -0x58(%r8),%xmm0
  mulsd  %xmm3,%xmm2
  movsd  -0x38(%r9),%xmm10
  movsd  -0x50(%r9),%xmm6
  mulsd  %xmm7,%xmm13
  mulsd  %xmm4,%xmm12
  mulsd  %xmm0,%xmm4
  mulsd  %xmm0,%xmm7
  addsd  %xmm11,%xmm2
  movsd  -0x40(%r9),%xmm11
  mulsd  %xmm6,%xmm14
  addsd  %xmm5,%xmm13
  movsd  -0x40(%r8),%xmm5
  mulsd  %xmm0,%xmm6
  addsd  %xmm8,%xmm12
  mulsd  %xmm3,%xmm0
  movsd  -0x30(%r8),%xmm3
  movapd %xmm5,%xmm15
  movapd %xmm4,%xmm8
  movsd  -0x38(%r8),%xmm4
  mulsd  %xmm11,%xmm15
  addsd  %xmm1,%xmm8
  addsd  %xmm1,%xmm7
  addsd  %xmm9,%xmm14
  movsd  -0x30(%r9),%xmm9
  addsd  %xmm1,%xmm6
  addsd  %xmm1,%xmm0
  addsd  %xmm12,%xmm15
  movapd %xmm4,%xmm12
  mulsd  %xmm11,%xmm12
  mulsd  %xmm3,%xmm11
  addsd  %xmm8,%xmm12
  movapd %xmm5,%xmm8
  mulsd  %xmm10,%xmm8
  addsd  %xmm1,%xmm11
  addsd  %xmm8,%xmm13
  movapd %xmm4,%xmm8
  mulsd  %xmm10,%xmm8
  mulsd  %xmm3,%xmm10
  addsd  %xmm8,%xmm7
  movapd %xmm5,%xmm8
  mulsd  %xmm9,%xmm8
  addsd  %xmm1,%xmm10
  mulsd  -0x28(%r9),%xmm5
  movsd  %xmm10,-0x68(%rsp)
  movsd  -0x8(%r9),%xmm10
  addsd  %xmm8,%xmm14
  movapd %xmm4,%xmm8
  mulsd  %xmm9,%xmm8
  addsd  %xmm2,%xmm5
  movsd  -0x20(%r8),%xmm2
  mulsd  %xmm3,%xmm9
  mulsd  -0x28(%r9),%xmm4
  movsd  %xmm5,0x8(%rsp)
  movsd  -0x10(%r8),%xmm5
  mulsd  -0x28(%r9),%xmm3
  addsd  %xmm6,%xmm8
  movsd  -0x8(%r8),%xmm6
  addsd  %xmm1,%xmm9
  addsd  %xmm0,%xmm4
  movsd  %xmm8,-0x48(%rsp)
  movapd %xmm2,%xmm8
  movapd %xmm3,%xmm0
  movsd  -0x18(%r9),%xmm3
  movsd  %xmm9,-0x28(%rsp)
  movsd  -0x20(%r9),%xmm9
  addsd  %xmm1,%xmm0
  movsd  %xmm4,0x48(%rsp)
  movsd  -0x18(%r8),%xmm4
  mulsd  %xmm9,%xmm8
  movsd  %xmm0,0x58(%rsp)
  movsd  -0x10(%r9),%xmm0
  addsd  %xmm15,%xmm8
  movapd %xmm4,%xmm15
  mulsd  %xmm9,%xmm15
  addsd  %xmm12,%xmm15
  movapd %xmm5,%xmm12
  mulsd  %xmm9,%xmm12
  mulsd  %xmm6,%xmm9
  movsd  %xmm15,-0x58(%rsp)
  addsd  %xmm11,%xmm12
  movsd  %xmm12,-0x38(%rsp)
  movapd %xmm9,%xmm12
  addsd  %xmm1,%xmm12
  movsd  %xmm12,-0x18(%rsp)
  movapd %xmm2,%xmm12
  mulsd  %xmm3,%xmm12
  addsd  %xmm13,%xmm12
  movsd  %xmm12,-0x78(%rsp)
  movapd %xmm4,%xmm12
  mulsd  %xmm3,%xmm12
  addsd  %xmm7,%xmm12
  movapd %xmm5,%xmm7
  mulsd  %xmm3,%xmm7
  mulsd  %xmm6,%xmm3
  addsd  -0x68(%rsp),%xmm7
  movsd  %xmm12,0x18(%rsp)
  movsd  %xmm7,0x28(%rsp)
  movapd %xmm5,%xmm7
  mulsd  %xmm0,%xmm7
  addsd  -0x28(%rsp),%xmm7
  mulsd  %xmm10,%xmm5
  movapd %xmm3,%xmm13
  addsd  %xmm1,%xmm13
  addsd  0x58(%rsp),%xmm5
  movsd  %xmm7,-0x28(%rsp)
  movsd  %xmm13,0x38(%rsp)
  movapd %xmm2,%xmm13
  mulsd  %xmm0,%xmm13
  movsd  %xmm5,0x58(%rsp)
  mulsd  %xmm10,%xmm2
  addsd  0x8(%rsp),%xmm2
  addsd  %xmm14,%xmm13
  movapd %xmm4,%xmm14
  movsd  %xmm2,0x8(%rsp)
  mulsd  %xmm0,%xmm14
  mulsd  %xmm6,%xmm0
  addsd  -0x48(%rsp),%xmm14
  mulsd  %xmm10,%xmm4
  movsd  %xmm13,-0x68(%rsp)
  addsd  0x48(%rsp),%xmm4
  movsd  %xmm14,-0x48(%rsp)
  movapd %xmm0,%xmm7
  movapd %xmm6,%xmm0
  movsd  %xmm4,0x48(%rsp)
  mulsd  %xmm10,%xmm0
  addsd  %xmm1,%xmm7
  movsd  %xmm7,-0x8(%rsp)
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm11
  jmp    L239
L205:
  movsd  0x40(%r8),%xmm3
  movsd  0x40(%r9),%xmm6
  mov    $0x3,%r13d
  movapd %xmm1,%xmm11
  movsd  0x48(%r8),%xmm2
  movsd  0x50(%r8),%xmm0
  movsd  %xmm1,-0x8(%rsp)
  movapd %xmm3,%xmm7
  movsd  0x48(%r9),%xmm5
  movsd  0x50(%r9),%xmm4
  movsd  %xmm1,0x38(%rsp)
  mulsd  %xmm6,%xmm7
  movsd  0x58(%r9),%xmm9
  movsd  %xmm1,-0x18(%rsp)
  addsd  %xmm7,%xmm8
  movapd %xmm2,%xmm7
  mulsd  %xmm6,%xmm7
  mulsd  %xmm0,%xmm6
  addsd  -0x58(%rsp),%xmm7
  movsd  %xmm7,-0x58(%rsp)
  addsd  %xmm1,%xmm6
  movsd  %xmm6,-0x38(%rsp)
  movapd %xmm3,%xmm6
  mulsd  %xmm5,%xmm6
  addsd  -0x78(%rsp),%xmm6
  movsd  %xmm6,-0x78(%rsp)
  movapd %xmm2,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm0,%xmm5
  addsd  0x18(%rsp),%xmm6
  movsd  %xmm6,0x18(%rsp)
  addsd  %xmm1,%xmm5
  movsd  %xmm5,0x28(%rsp)
  movapd %xmm3,%xmm5
  mulsd  %xmm4,%xmm5
  addsd  -0x68(%rsp),%xmm5
  mulsd  %xmm9,%xmm3
  addsd  0x8(%rsp),%xmm3
  movsd  %xmm5,-0x68(%rsp)
  movapd %xmm2,%xmm5
  mulsd  %xmm4,%xmm5
  movsd  %xmm3,0x8(%rsp)
  mulsd  %xmm0,%xmm4
  addsd  -0x48(%rsp),%xmm5
  mulsd  %xmm9,%xmm0
  mulsd  %xmm9,%xmm2
  addsd  0x48(%rsp),%xmm2
  movsd  %xmm5,-0x48(%rsp)
  addsd  %xmm1,%xmm4
  addsd  %xmm1,%xmm0
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm4,-0x28(%rsp)
  movsd  %xmm0,0x58(%rsp)
  jmp    L239
L214:
  mov    $0x1,%r13d
  movapd %xmm1,%xmm11
  movsd  %xmm1,-0x8(%rsp)
  movsd  %xmm1,0x38(%rsp)
  movsd  %xmm1,-0x18(%rsp)
  movsd  %xmm1,0x58(%rsp)
  movsd  %xmm1,-0x28(%rsp)
  movsd  %xmm1,0x28(%rsp)
  movsd  %xmm1,-0x38(%rsp)
  movsd  %xmm1,0x48(%rsp)
  movsd  %xmm1,-0x48(%rsp)
  movsd  %xmm1,0x18(%rsp)
  movsd  %xmm1,-0x58(%rsp)
  jmp    L239
```

tool_calls: name: extract_symbolic_data
arguments: label: D5
type_infered: f64

tool: D5: 1

assistant: ```c
void kernel_dgemm_dtrsm_nt_4x4_vs_lib4_new(int km, int kn, int kadd, int tri_A, double *Ap, double *Bp, int ksub, double *Am, double *Bm, int alg, double *C, double *D, double *E, int use_inv_diag_E, double *inv_diag_E) {
  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;
  k = 0;
  if (kadd > 0) {
    if (tri_A == 1) {
      if (kadd >= 4) {
        a_0 = Ap[0 + bs * 0];
        b_0 = Bp[0 + bs * 0];
        b_1 = Bp[1 + bs * 0];
        b_2 = Bp[2 + bs * 0];
        b_3 = Bp[3 + bs * 0];
        c_00 += a_0 * b_0;
        c_01 += a_0 * b_1;
        c_02 += a_0 * b_2;
        c_03 += a_0 * b_3;
        a_0 = Ap[0 + bs * 1];
        a_1 = Ap[1 + bs * 1];
        b_0 = Bp[0 + bs * 1];
        b_1 = Bp[1 + bs * 1];
        b_2 = Bp[2 + bs * 1];
        b_3 = Bp[3 + bs * 1];
        c_00 += a_0 * b_0;
        c_10 += a_1 * b_0;
        c_01 += a_0 * b_1;
        c_11 += a_1 * b_1;
        c_02 += a_0 * b_2;
        c_12 += a_1 * b_2;
        c_03 += a_0 * b_3;
        c_13 += a_1 * b_3;
        a_0 = Ap[0 + bs * 2];
        a_1 = Ap[1 + bs * 2];
        a_2 = Ap[2 + bs * 2];
        b_0 = Bp[0 + bs * 2];
        b_1 = Bp[1 + bs * 2];
        b_2 = Bp[2 + bs * 2];
        b_3 = Bp[3 + bs * 2];
        c_00 += a_0 * b_0;
        c_10 += a_1 * b_0;
        c_20 += a_2 * b_0;
        c_01 += a_0 * b_1;
        c_11 += a_1 * b_1;
        c_21 += a_2 * b_1;
        c_02 += a_0 * b_2;
        c_12 += a_1 * b_2;
        c_22 += a_2 * b_2;
        c_03 += a_0 * b_3;
        c_13 += a_1 * b_3;
        c_23 += a_2 * b_3;
        a_0 = Ap[0 + bs * 3];
        a_1 = Ap[1 + bs * 3];
        a_2 = Ap[2 + bs * 3];
        a_3 = Ap[3 + bs * 3];
        b_0 = Bp[0 + bs * 3];
        b_1 = Bp[1 + bs * 3];
        b_2 = Bp[2 + bs * 3];
        b_3 = Bp[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;
        Ap += 16;
        Bp += 16;
        k += 4;
      } else {
        a_0 = Ap[0 + bs * 0];
        b_0 = Bp[0 + bs * 0];
        b_1 = Bp[1 + bs * 0];
        b_2 = Bp[2 + bs * 0];
        b_3 = Bp[3 + bs * 0];
        c_00 += a_0 * b_0;
        c_01 += a_0 * b_1;
        c_02 += a_0 * b_2;
        c_03 += a_0 * b_3;
        k += 1;
        if (kadd > 1) {
          a_0 = Ap[0 + bs * 1];
          a_1 = Ap[1 + bs * 1];
          b_0 = Bp[0 + bs * 1];
          b_1 = Bp[1 + bs * 1];
          b_2 = Bp[2 + bs * 1];
          b_3 = Bp[3 + bs * 1];
          c_00 += a_0 * b_0;
          c_10 += a_1 * b_0;
          c_01 += a_0 * b_1;
          c_11 += a_1 * b_1;
          c_02 += a_0 * b_2;
          c_12 += a_1 * b_2;
          c_03 += a_0 * b_3;
          c_13 += a_1 * b_3;
          k += 1;
          if (kadd > 2) {
            a_0 = Ap[0 + bs * 2];
            a_1 = Ap[1 + bs * 2];
            a_2 = Ap[2 + bs * 2];
            b_0 = Bp[0 + bs * 2];
            b_1 = Bp[1 + bs * 2];
            b_2 = Bp[2 + bs * 2];
            b_3 = Bp[3 + bs * 2];
            c_00 += a_0 * b_0;
            c_10 += a_1 * b_0;
            c_20 += a_2 * b_0;
            c_01 += a_0 * b_1;
            c_11 += a_1 * b_1;
            c_21 += a_2 * b_1;
            c_02 += a_0 * b_2;
            c_12 += a_1 * b_2;
            c_22 += a_2 * b_2;
            c_03 += a_0 * b_3;
            c_13 += a_1 * b_3;
            c_23 += a_2 * b_3;
            k += 1;
          }
        }
      }
    }
    for (; k < kadd - 3; k += 4) {
      a_0 = Ap[0 + bs * 0];
      a_1 = Ap[1 + bs * 0];
      a_2 = Ap[2 + bs * 0];
      a_3 = Ap[3 + bs * 0];
      b_0 = Bp[0 + bs * 0];
      b_1 = Bp[1 + bs * 0];
      b_2 = Bp[2 + bs * 0];
      b_3 = Bp[3 + bs * 0];
      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 = Ap[0 + bs * 1];
      a_1 = Ap[1 + bs * 1];
      a_2 = Ap[2 + bs * 1];
      a_3 = Ap[3 + bs * 1];
      b_0 = Bp[0 + bs * 1];
      b_1 = Bp[1 + bs * 1];
      b_2 = Bp[2 + bs * 1];
      b_3 = Bp[3 + bs * 1];
      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 = Ap[0 + bs * 2];
      a_1 = Ap[1 + bs * 2];
      a_2 = Ap[2 + bs * 2];
      a_3 = Ap[3 + bs * 2];
      b_0 = Bp[0 + bs * 2];
      b_1 = Bp[1 + bs * 2];
      b_2 = Bp[2 + bs * 2];
      b_3 = Bp[3 + bs * 2];
      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 = Ap[0 + bs * 3];
      a_1 = Ap[1 + bs * 3];
      a_2 = Ap[2 + bs * 3];
      a_3 = Ap[3 + bs * 3];
      b_0 = Bp[0 + bs * 3];
      b_1 = Bp[1 + bs * 3];
      b_2 = Bp[2 + bs * 3];
      b_3 = Bp[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;
      Ap += 16;
      Bp += 16;
    }
    for (; k < kadd; k++) {
      a_0 = Ap[0 + bs * 0];
      a_1 = Ap[1 + bs * 0];
      a_2 = Ap[2 + bs * 0];
      a_3 = Ap[3 + bs * 0];
      b_0 = Bp[0 + bs * 0];
      b_1 = Bp[1 + bs * 0];
      b_2 = Bp[2 + bs * 0];
      b_3 = Bp[3 + bs * 0];
      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;
      Ap += 4;
      Bp += 4;
    }
  }
  for (k = 0; k < ksub - 3; k += 4) {
    a_0 = Am[0 + bs * 0];
    a_1 = Am[1 + bs * 0];
    a_2 = Am[2 + bs * 0];
    a_3 = Am[3 + bs * 0];
    b_0 = Bm[0 + bs * 0];
    b_1 = Bm[1 + bs * 0];
    b_2 = Bm[2 + bs * 0];
    b_3 = Bm[3 + bs * 0];
    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 = Am[0 + bs * 1];
    a_1 = Am[1 + bs * 1];
    a_2 = Am[2 + bs * 1];
    a_3 = Am[3 + bs * 1];
    b_0 = Bm[0 + bs * 1];
    b_1 = Bm[1 + bs * 1];
    b_2 = Bm[2 + bs * 1];
    b_3 = Bm[3 + bs * 1];
    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 = Am[0 + bs * 2];
    a_1 = Am[1 + bs * 2];
    a_2 = Am[2 + bs * 2];
    a_3 = Am[3 + bs * 2];
    b_0 = Bm[0 + bs * 2];
    b_1 = Bm[1 + bs * 2];
    b_2 = Bm[2 + bs * 2];
    b_3 = Bm[3 + bs * 2];
    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 = Am[0 + bs * 3];
    a_1 = Am[1 + bs * 3];
    a_2 = Am[2 + bs * 3];
    a_3 = Am[3 + bs * 3];
    b_0 = Bm[0 + bs * 3];
    b_1 = Bm[1 + bs * 3];
    b_2 = Bm[2 + bs * 3];
    b_3 = Bm[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;
    Am += 16;
    Bm += 16;
  }
  if (alg != 0) {
    c_00 += C[0 + bs * 0];
    c_10 += C[1 + bs * 0];
    c_20 += C[2 + bs * 0];
    c_30 += C[3 + bs * 0];
    c_01 += C[0 + bs * 1];
    c_11 += C[1 + bs * 1];
    c_21 += C[2 + bs * 1];
    c_31 += C[3 + bs * 1];
    c_02 += C[0 + bs * 2];
    c_12 += C[1 + bs * 2];
    c_22 += C[2 + bs * 2];
    c_32 += C[3 + bs * 2];
    c_03 += C[0 + bs * 3];
    c_13 += C[1 + bs * 3];
    c_23 += C[2 + bs * 3];
    c_33 += C[3 + bs * 3];
  }
  double a_00, a_10, a_20, a_30, a_11, a_21, a_31, a_22, a_32, a_33;
  if (use_inv_diag_E) {
    a_00 = inv_diag_E[0];
    c_00 *= a_00;
    c_10 *= a_00;
    c_20 *= a_00;
    c_30 *= a_00;
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_10;
    D[2 + bs * 0] = c_20;
    if (km >= 4)
      D[3 + bs * 0] = c_30;
    a_10 = E[1 + bs * 0];
    a_11 = inv_diag_E[1];
    c_01 -= c_00 * a_10;
    c_11 -= c_10 * a_10;
    c_21 -= c_20 * a_10;
    c_31 -= c_30 * a_10;
    c_01 *= a_11;
    c_11 *= a_11;
    c_21 *= a_11;
    c_31 *= a_11;
    D[0 + bs * 1] = c_01;
    D[1 + bs * 1] = c_11;
    D[2 + bs * 1] = c_21;
    if (km >= 4)
      D[3 + bs * 1] = c_31;
    a_20 = E[2 + bs * 0];
    a_21 = E[2 + bs * 1];
    a_22 = inv_diag_E[2];
    c_02 -= c_00 * a_20;
    c_12 -= c_10 * a_20;
    c_22 -= c_20 * a_20;
    c_32 -= c_30 * a_20;
    c_02 -= c_01 * a_21;
    c_12 -= c_11 * a_21;
    c_22 -= c_21 * a_21;
    c_32 -= c_31 * a_21;
    c_02 *= a_22;
    c_12 *= a_22;
    c_22 *= a_22;
    c_32 *= a_22;
    D[0 + bs * 2] = c_02;
    D[1 + bs * 2] = c_12;
    D[2 + bs * 2] = c_22;
    if (km >= 4)
      D[3 + bs * 2] = c_32;
    if (kn == 3)
      return;
    a_30 = E[3 + bs * 0];
    a_31 = E[3 + bs * 1];
    a_32 = E[3 + bs * 2];
    a_33 = inv_diag_E[3];
    c_03 -= c_00 * a_30;
    c_13 -= c_10 * a_30;
    c_23 -= c_20 * a_30;
    c_33 -= c_30 * a_30;
    c_03 -= c_01 * a_31;
    c_13 -= c_11 * a_31;
    c_23 -= c_21 * a_31;
    c_33 -= c_31 * a_31;
    c_03 -= c_02 * a_32;
    c_13 -= c_12 * a_32;
    c_23 -= c_22 * a_32;
    c_33 -= c_32 * a_32;
    c_03 *= a_33;
    c_13 *= a_33;
    c_23 *= a_33;
    c_33 *= a_33;
    D[0 + bs * 3] = c_03;
    D[1 + bs * 3] = c_13;
    D[2 + bs * 3] = c_23;
    if (km >= 4)
      D[3 + bs * 3] = c_33;
  } else {
    a_00 = 1.0 / E[0 + bs * 0];
    c_00 *= a_00;
    c_10 *= a_00;
    c_20 *= a_00;
    c_30 *= a_00;
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_10;
    D[2 + bs * 0] = c_20;
    if (km >= 4)
      D[3 + bs * 0] = c_30;
    a_10 = E[1 + bs * 0];
    a_11 = 1.0 / E[1 + bs * 1];
    c_01 -= c_00 * a_10;
    c_11 -= c_10 * a_10;
    c_21 -= c_20 * a_10;
    c_31 -= c_30 * a_10;
    c_01 *= a_11;
    c_11 *= a_11;
    c_21 *= a_11;
    c_31 *= a_11;
    D[0 + bs * 1] = c_01;
    D[1 + bs * 1] = c_11;
    D[2 + bs * 1] = c_21;
    if (km >= 4)
      D[3 + bs * 1] = c_31;
    a_20 = E[2 + bs * 0];
    a_21 = E[2 + bs * 1];
    a_22 = 1.0 / E[2 + bs * 2];
    c_02 -= c_00 * a_20;
    c_12 -= c_10 * a_20;
    c_22 -= c_20 * a_20;
    c_32 -= c_30 * a_20;
    c_02 -= c_01 * a_21;
    c_12 -= c_11 * a_21;
    c_22 -= c_21 * a_21;
    c_32 -= c_31 * a_21;
    c_02 *= a_22;
    c_12 *= a_22;
    c_22 *= a_22;
    c_32 *= a_22;
    D[0 + bs * 2] = c_02;
    D[1 + bs * 2] = c_12;
    D[2 + bs * 2] = c_22;
    if (km >= 4)
      D[3 + bs * 2] = c_32;
    if (kn == 3)
      return;
    a_30 = E[3 + bs * 0];
    a_31 = E[3 + bs * 1];
    a_32 = E[3 + bs * 2];
    a_33 = 1.0 / E[3 + bs * 3];
    c_03 -= c_00 * a_30;
    c_13 -= c_10 * a_30;
    c_23 -= c_20 * a_30;
    c_33 -= c_30 * a_30;
    c_03 -= c_01 * a_31;
    c_13 -= c_11 * a_31;
    c_23 -= c_21 * a_31;
    c_33 -= c_31 * a_31;
    c_03 -= c_02 * a_32;
    c_13 -= c_12 * a_32;
    c_23 -= c_22 * a_32;
    c_33 -= c_32 * a_32;
    c_03 *= a_33;
    c_13 *= a_33;
    c_23 *= a_33;
    c_33 *= a_33;
    D[0 + bs * 3] = c_03;
    D[1 + bs * 3] = c_13;
    D[2 + bs * 3] = c_23;
    if (km >= 4)
      D[3 + bs * 3] = c_33;
  }
}
```