user: 这段汇编代码用C语言表示是什么样的?

```asm
<kernel_dgemm_dtrsm_nt_4x2_vs_lib4>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  mov    %edx,%esi
  push   %rbx
  mov    0x40(%rsp),%rax
  mov    0x48(%rsp),%rdx
  mov    0x50(%rsp),%rbx
  mov    0x58(%rsp),%r11
  mov    0x60(%rsp),%r15
  mov    %edi,-0x4(%rsp)
  mov    0x38(%rsp),%rdi
  test   %ecx,%ecx
  jle    L196
  mov    %ecx,%r10d
  cmp    $0x1,%esi
  je     L165
  pxor   %xmm2,%xmm2
  xor    %r12d,%r12d
  movapd %xmm2,%xmm0
  movapd %xmm2,%xmm8
  movapd %xmm2,%xmm12
  movapd %xmm2,%xmm6
  movapd %xmm2,%xmm11
  movapd %xmm2,%xmm4
  movapd %xmm2,%xmm10
L99:
  lea    -0x3(%r10),%ecx
  cmp    %ecx,%r12d
  jge    L175
  lea    -0x4(%r10),%r13d
  mov    %rdi,%rcx
  sub    %r12d,%r13d
  shr    $0x2,%r13d
  lea    0x1(%r13),%r14d
  shl    $0x7,%r14
  lea    (%r9,%r14,1),%rsi
  cs nopw 0x0(%rax,%rax,1)
L178:
  movsd  (%r9),%xmm5
  movsd  (%rcx),%xmm1
  sub    $0xffffffffffffff80,%r9
  sub    $0xffffffffffffff80,%rcx
  movsd  -0x78(%r9),%xmm7
  movsd  -0x78(%rcx),%xmm13
  movapd %xmm5,%xmm14
  movsd  -0x70(%r9),%xmm9
  movsd  -0x68(%r9),%xmm3
  mulsd  %xmm1,%xmm14
  mulsd  %xmm13,%xmm5
  addsd  %xmm14,%xmm10
  movapd %xmm7,%xmm14
  mulsd  %xmm1,%xmm14
  addsd  %xmm5,%xmm4
  movsd  -0x58(%r9),%xmm5
  mulsd  %xmm13,%xmm7
  addsd  %xmm14,%xmm11
  movapd %xmm9,%xmm14
  mulsd  %xmm13,%xmm9
  addsd  %xmm7,%xmm6
  movsd  -0x60(%r9),%xmm7
  mulsd  %xmm1,%xmm14
  mulsd  %xmm3,%xmm1
  mulsd  %xmm13,%xmm3
  movsd  -0x60(%rcx),%xmm13
  addsd  %xmm9,%xmm8
  movapd %xmm7,%xmm9
  mulsd  %xmm13,%xmm9
  addsd  %xmm14,%xmm12
  movsd  -0x50(%r9),%xmm14
  addsd  %xmm1,%xmm0
  movsd  -0x48(%r9),%xmm1
  addsd  %xmm3,%xmm2
  movsd  -0x58(%rcx),%xmm3
  mulsd  %xmm3,%xmm7
  addsd  %xmm10,%xmm9
  movapd %xmm5,%xmm10
  mulsd  %xmm13,%xmm10
  mulsd  %xmm3,%xmm5
  addsd  %xmm4,%xmm7
  movsd  -0x40(%r9),%xmm4
  addsd  %xmm10,%xmm11
  movapd %xmm14,%xmm10
  mulsd  %xmm13,%xmm10
  addsd  %xmm6,%xmm5
  movsd  -0x38(%rcx),%xmm6
  mulsd  %xmm3,%xmm14
  mulsd  %xmm1,%xmm13
  mulsd  %xmm3,%xmm1
  movsd  -0x38(%r9),%xmm3
  addsd  %xmm10,%xmm12
  movsd  -0x40(%rcx),%xmm10
  movapd %xmm3,%xmm15
  addsd  %xmm8,%xmm14
  mulsd  %xmm6,%xmm3
  movapd %xmm4,%xmm8
  mulsd  %xmm10,%xmm8
  addsd  %xmm0,%xmm13
  movsd  -0x28(%r9),%xmm0
  addsd  %xmm2,%xmm1
  movsd  -0x30(%r9),%xmm2
  mulsd  %xmm6,%xmm4
  mulsd  %xmm10,%xmm15
  addsd  %xmm5,%xmm3
  movsd  -0x18(%rcx),%xmm5
  addsd  %xmm9,%xmm8
  movapd %xmm2,%xmm9
  mulsd  %xmm10,%xmm9
  addsd  %xmm4,%xmm7
  movsd  -0x20(%r9),%xmm4
  mulsd  %xmm0,%xmm10
  addsd  %xmm11,%xmm15
  mulsd  %xmm6,%xmm0
  mulsd  %xmm6,%xmm2
  movsd  -0x18(%r9),%xmm6
  addsd  %xmm12,%xmm9
  movapd %xmm6,%xmm11
  addsd  %xmm10,%xmm13
  mulsd  %xmm5,%xmm6
  movapd %xmm4,%xmm10
  addsd  %xmm0,%xmm1
  movsd  -0x20(%rcx),%xmm0
  mulsd  %xmm5,%xmm4
  addsd  %xmm14,%xmm2
  movsd  -0x10(%r9),%xmm14
  mulsd  %xmm0,%xmm10
  mulsd  %xmm0,%xmm11
  movapd %xmm14,%xmm12
  mulsd  %xmm0,%xmm12
  addsd  %xmm3,%xmm6
  mulsd  -0x8(%r9),%xmm0
  addsd  %xmm7,%xmm4
  addsd  %xmm8,%xmm10
  movapd %xmm14,%xmm8
  mulsd  %xmm5,%xmm8
  addsd  %xmm15,%xmm11
  addsd  %xmm9,%xmm12
  addsd  %xmm13,%xmm0
  addsd  %xmm2,%xmm8
  movsd  -0x8(%r9),%xmm2
  mulsd  %xmm5,%xmm2
  addsd  %xmm1,%xmm2
  cmp    %rsi,%r9
  jne    L178
  add    %r14,%rdi
  lea    0x4(%r12,%r13,4),%r12d
L115:
  cmp    %r12d,%r10d
  jle    L71
  lea    -0x1(%r10),%ecx
  sub    %r12d,%ecx
  add    $0x1,%rcx
  shl    $0x5,%rcx
  add    %rdi,%rcx
L138:
  movsd  (%rsi),%xmm13
  movsd  (%rdi),%xmm1
  add    $0x20,%rdi
  add    $0x20,%rsi
  movsd  -0x18(%rsi),%xmm9
  movsd  -0x10(%rsi),%xmm7
  movapd %xmm13,%xmm14
  movsd  -0x18(%rdi),%xmm5
  movsd  -0x8(%rsi),%xmm3
  mulsd  %xmm1,%xmm14
  mulsd  %xmm5,%xmm13
  addsd  %xmm14,%xmm10
  movapd %xmm9,%xmm14
  mulsd  %xmm1,%xmm14
  addsd  %xmm13,%xmm4
  mulsd  %xmm5,%xmm9
  addsd  %xmm14,%xmm11
  movapd %xmm7,%xmm14
  mulsd  %xmm1,%xmm14
  addsd  %xmm9,%xmm6
  mulsd  %xmm3,%xmm1
  mulsd  %xmm5,%xmm7
  mulsd  %xmm5,%xmm3
  addsd  %xmm14,%xmm12
  addsd  %xmm1,%xmm0
  addsd  %xmm7,%xmm8
  addsd  %xmm3,%xmm2
  cmp    %rcx,%rdi
  jne    L138
L71:
  cmp    $0x3,%r8d
  jle    L186
  lea    -0x4(%r8),%ecx
  shr    $0x2,%ecx
  add    $0x1,%ecx
  shl    $0x7,%rcx
  add    %rdx,%rcx
  nopl   0x0(%rax,%rax,1)
L86:
  movsd  (%rax),%xmm13
  movsd  (%rdx),%xmm1
  sub    $0xffffffffffffff80,%rdx
  sub    $0xffffffffffffff80,%rax
  movsd  -0x78(%rax),%xmm9
  movsd  -0x78(%rdx),%xmm5
  movapd %xmm13,%xmm14
  movsd  -0x70(%rax),%xmm7
  movsd  -0x68(%rax),%xmm3
  mulsd  %xmm1,%xmm14
  mulsd  %xmm5,%xmm13
  subsd  %xmm14,%xmm10
  movapd %xmm9,%xmm14
  mulsd  %xmm1,%xmm14
  subsd  %xmm13,%xmm4
  movsd  -0x60(%rax),%xmm13
  mulsd  %xmm5,%xmm9
  subsd  %xmm14,%xmm11
  movapd %xmm7,%xmm14
  mulsd  %xmm1,%xmm14
  subsd  %xmm9,%xmm6
  movsd  -0x58(%rax),%xmm9
  mulsd  %xmm3,%xmm1
  mulsd  %xmm5,%xmm7
  mulsd  %xmm5,%xmm3
  movsd  -0x58(%rdx),%xmm5
  subsd  %xmm14,%xmm12
  movapd %xmm13,%xmm14
  subsd  %xmm1,%xmm0
  movsd  -0x60(%rdx),%xmm1
  mulsd  %xmm5,%xmm13
  subsd  %xmm7,%xmm8
  movsd  -0x50(%rax),%xmm7
  mulsd  %xmm1,%xmm14
  subsd  %xmm3,%xmm2
  movsd  -0x48(%rax),%xmm3
  subsd  %xmm13,%xmm4
  movsd  -0x40(%rax),%xmm13
  subsd  %xmm14,%xmm10
  movapd %xmm9,%xmm14
  mulsd  %xmm1,%xmm14
  mulsd  %xmm5,%xmm9
  subsd  %xmm14,%xmm11
  movapd %xmm7,%xmm14
  mulsd  %xmm1,%xmm14
  subsd  %xmm9,%xmm6
  movsd  -0x38(%rax),%xmm9
  mulsd  %xmm3,%xmm1
  mulsd  %xmm5,%xmm7
  mulsd  %xmm5,%xmm3
  movsd  -0x38(%rdx),%xmm5
  subsd  %xmm14,%xmm12
  movapd %xmm13,%xmm14
  subsd  %xmm1,%xmm0
  movsd  -0x40(%rdx),%xmm1
  mulsd  %xmm5,%xmm13
  subsd  %xmm7,%xmm8
  movsd  -0x30(%rax),%xmm7
  mulsd  %xmm1,%xmm14
  subsd  %xmm3,%xmm2
  movsd  -0x28(%rax),%xmm3
  subsd  %xmm13,%xmm4
  movsd  -0x20(%rax),%xmm13
  subsd  %xmm14,%xmm10
  movapd %xmm9,%xmm14
  mulsd  %xmm1,%xmm14
  mulsd  %xmm5,%xmm9
  subsd  %xmm14,%xmm11
  movapd %xmm7,%xmm14
  mulsd  %xmm1,%xmm14
  subsd  %xmm9,%xmm6
  movsd  -0x18(%rax),%xmm9
  mulsd  %xmm3,%xmm1
  mulsd  %xmm5,%xmm7
  mulsd  %xmm5,%xmm3
  movsd  -0x18(%rdx),%xmm5
  subsd  %xmm14,%xmm12
  movapd %xmm13,%xmm14
  subsd  %xmm1,%xmm0
  movsd  -0x20(%rdx),%xmm1
  mulsd  %xmm5,%xmm13
  subsd  %xmm7,%xmm8
  movsd  -0x10(%rax),%xmm7
  mulsd  %xmm1,%xmm14
  subsd  %xmm3,%xmm2
  movsd  -0x8(%rax),%xmm3
  subsd  %xmm13,%xmm4
  subsd  %xmm14,%xmm10
  movapd %xmm9,%xmm14
  mulsd  %xmm1,%xmm14
  mulsd  %xmm5,%xmm9
  subsd  %xmm14,%xmm11
  movapd %xmm7,%xmm14
  mulsd  %xmm1,%xmm14
  subsd  %xmm9,%xmm6
  mulsd  %xmm3,%xmm1
  mulsd  %xmm5,%xmm7
  mulsd  %xmm5,%xmm3
  subsd  %xmm14,%xmm12
  subsd  %xmm1,%xmm0
  subsd  %xmm7,%xmm8
  subsd  %xmm3,%xmm2
  cmp    %rcx,%rdx
  jne    L86
L186:
  mov    0x68(%rsp),%eax
  test   %eax,%eax
  je     L153
  addsd  (%rbx),%xmm10
  addsd  0x8(%rbx),%xmm11
  addsd  0x10(%rbx),%xmm12
  addsd  0x18(%rbx),%xmm0
  addsd  0x20(%rbx),%xmm4
  addsd  0x28(%rbx),%xmm6
  addsd  0x30(%rbx),%xmm8
  addsd  0x38(%rbx),%xmm2
L153:
  movsd  (%r15),%xmm1
  cmpl   $0x3,-0x4(%rsp)
  mulsd  %xmm1,%xmm10
  mulsd  %xmm1,%xmm11
  mulsd  %xmm1,%xmm12
  mulsd  %xmm1,%xmm0
  movsd  %xmm10,(%r11)
  movsd  %xmm11,0x8(%r11)
  movsd  %xmm12,0x10(%r11)
  jle    L63
  movsd  %xmm0,0x18(%r11)
  cmp    $0x1,%ebp
  je     L82
  movsd  0x8(%r15),%xmm3
  movsd  0x10(%r15),%xmm1
  mulsd  %xmm3,%xmm10
  mulsd  %xmm3,%xmm11
  mulsd  %xmm3,%xmm12
  mulsd  %xmm3,%xmm0
  subsd  %xmm10,%xmm4
  subsd  %xmm11,%xmm6
  subsd  %xmm12,%xmm8
  subsd  %xmm0,%xmm2
  mulsd  %xmm1,%xmm4
  mulsd  %xmm1,%xmm6
  mulsd  %xmm1,%xmm8
  mulsd  %xmm1,%xmm2
  movsd  %xmm4,0x20(%r11)
  movsd  %xmm6,0x28(%r11)
  movsd  %xmm8,0x30(%r11)
  movsd  %xmm2,0x38(%r11)
L82:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L165:
  movsd  (%r9),%xmm4
  movsd  (%rdi),%xmm10
  pxor   %xmm1,%xmm1
  mulsd  %xmm4,%xmm10
  mulsd  0x8(%rdi),%xmm4
  addsd  %xmm1,%xmm10
  addsd  %xmm1,%xmm4
  cmp    $0x3,%ecx
  jg     L132
  cmp    $0x1,%ecx
  je     L176
  movsd  0x20(%r9),%xmm0
  movsd  0x28(%r9),%xmm6
  movsd  0x20(%rdi),%xmm11
  movsd  0x28(%rdi),%xmm2
  movapd %xmm0,%xmm3
  mulsd  %xmm11,%xmm3
  mulsd  %xmm2,%xmm0
  mulsd  %xmm6,%xmm11
  mulsd  %xmm2,%xmm6
  addsd  %xmm3,%xmm10
  addsd  %xmm0,%xmm4
  addsd  %xmm1,%xmm11
  addsd  %xmm1,%xmm6
  cmp    $0x3,%ecx
  je     L139
  movapd %xmm1,%xmm8
  movapd %xmm1,%xmm12
  mov    $0x2,%r12d
L208:
  mov    %r9,%rsi
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm0
  jmp    L115
  nopl   0x0(%rax,%rax,1)
L63:
  cmp    $0x1,%ebp
  je     L82
  movsd  0x8(%r15),%xmm1
  movsd  0x10(%r15),%xmm0
  mulsd  %xmm1,%xmm10
  mulsd  %xmm1,%xmm11
  mulsd  %xmm12,%xmm1
  subsd  %xmm10,%xmm4
  subsd  %xmm11,%xmm6
  subsd  %xmm1,%xmm8
  mulsd  %xmm0,%xmm4
  mulsd  %xmm0,%xmm6
  mulsd  %xmm8,%xmm0
  movsd  %xmm4,0x20(%r11)
  movsd  %xmm6,0x28(%r11)
  movsd  %xmm0,0x30(%r11)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L196:
  pxor   %xmm2,%xmm2
  movapd %xmm2,%xmm0
  movapd %xmm2,%xmm8
  movapd %xmm2,%xmm12
  movapd %xmm2,%xmm6
  movapd %xmm2,%xmm11
  movapd %xmm2,%xmm4
  movapd %xmm2,%xmm10
  jmp    L71
  nopl   0x0(%rax)
L132:
  movsd  0x20(%r9),%xmm2
  movsd  0x28(%rdi),%xmm5
  sub    $0xffffffffffffff80,%r9
  sub    $0xffffffffffffff80,%rdi
  movsd  -0x60(%rdi),%xmm3
  movsd  -0x58(%r9),%xmm0
  mov    $0x4,%r12d
  movapd %xmm2,%xmm8
  movsd  -0x40(%r9),%xmm9
  movsd  -0x38(%rdi),%xmm6
  mulsd  %xmm5,%xmm2
  movsd  -0x38(%r9),%xmm7
  movsd  -0x18(%rdi),%xmm13
  mulsd  %xmm3,%xmm8
  movapd %xmm9,%xmm11
  mulsd  %xmm0,%xmm3
  movapd %xmm7,%xmm12
  mulsd  %xmm5,%xmm0
  movsd  -0x30(%r9),%xmm5
  mulsd  %xmm6,%xmm9
  addsd  %xmm2,%xmm4
  mulsd  %xmm6,%xmm7
  addsd  %xmm10,%xmm8
  addsd  %xmm1,%xmm3
  addsd  %xmm1,%xmm0
  addsd  %xmm4,%xmm9
  movsd  -0x20(%r9),%xmm4
  movapd %xmm0,%xmm2
  movsd  -0x40(%rdi),%xmm0
  movapd %xmm4,%xmm10
  addsd  %xmm2,%xmm7
  movsd  -0x8(%r9),%xmm2
  mulsd  %xmm13,%xmm4
  mulsd  %xmm0,%xmm11
  mulsd  %xmm0,%xmm12
  mulsd  %xmm5,%xmm0
  mulsd  %xmm6,%xmm5
  movsd  -0x18(%r9),%xmm6
  addsd  %xmm9,%xmm4
  addsd  %xmm8,%xmm11
  movsd  -0x10(%r9),%xmm8
  addsd  %xmm3,%xmm12
  addsd  %xmm1,%xmm0
  addsd  %xmm1,%xmm5
  movapd %xmm0,%xmm3
  movsd  -0x20(%rdi),%xmm0
  mulsd  %xmm0,%xmm10
  addsd  %xmm11,%xmm10
  movapd %xmm6,%xmm11
  mulsd  %xmm0,%xmm11
  mulsd  %xmm13,%xmm6
  addsd  %xmm12,%xmm11
  movapd %xmm8,%xmm12
  mulsd  %xmm0,%xmm12
  addsd  %xmm7,%xmm6
  mulsd  %xmm2,%xmm0
  mulsd  %xmm13,%xmm8
  mulsd  %xmm13,%xmm2
  addsd  %xmm3,%xmm12
  addsd  %xmm1,%xmm0
  addsd  %xmm5,%xmm8
  addsd  %xmm1,%xmm2
  jmp    L99
L139:
  movsd  0x40(%r9),%xmm2
  movsd  0x48(%rdi),%xmm3
  mov    $0x3,%r12d
  movsd  0x40(%rdi),%xmm12
  movsd  0x48(%r9),%xmm0
  movapd %xmm2,%xmm5
  movsd  0x50(%r9),%xmm8
  mulsd  %xmm12,%xmm5
  mulsd  %xmm3,%xmm2
  addsd  %xmm5,%xmm10
  movapd %xmm0,%xmm5
  mulsd  %xmm12,%xmm5
  addsd  %xmm2,%xmm4
  mulsd  %xmm8,%xmm12
  mulsd  %xmm3,%xmm0
  mulsd  %xmm3,%xmm8
  addsd  %xmm5,%xmm11
  addsd  %xmm1,%xmm12
  addsd  %xmm0,%xmm6
  addsd  %xmm1,%xmm8
  jmp    L208
L176:
  mov    $0x1,%r12d
  movapd %xmm1,%xmm8
  movapd %xmm1,%xmm12
  movapd %xmm1,%xmm6
  movapd %xmm1,%xmm11
  jmp    L208
L175:
  mov    %r9,%rsi
  jmp    L115
```

assistant: ```c
void kernel_dgemm_dtrsm_nt_4x2_vs_lib4(int km, int kn, int tri, int kadd, int ksub, double *Ap, double *Bp, double *Am, double *Bm, double *C, double *D, double *fact, int alg) {
  const int bs = 4;
  int k;
  double a_0, a_1, a_2, a_3, b_0, b_1, c_00 = 0, c_01 = 0, c_10 = 0, c_11 = 0, c_20 = 0, c_21 = 0, c_30 = 0, c_31 = 0;
  k = 0;
  if (kadd > 0) {
    if (tri == 1) {
      if (kadd >= 4) {
        a_0 = Ap[0 + bs * 0];
        b_0 = Bp[0 + bs * 0];
        b_1 = Bp[1 + bs * 0];
        c_00 += a_0 * b_0;
        c_01 += a_0 * b_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];
        c_00 += a_0 * b_0;
        c_10 += a_1 * b_0;
        c_01 += a_0 * b_1;
        c_11 += a_1 * b_1;
        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];
        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;
        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];
        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;
        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];
        c_00 += a_0 * b_0;
        c_01 += a_0 * b_1;
        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];
          c_00 += a_0 * b_0;
          c_10 += a_1 * b_0;
          c_01 += a_0 * b_1;
          c_11 += a_1 * b_1;
          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];
            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;
            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];
      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;
      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];
      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;
      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];
      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;
      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];
      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;
      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];
      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;
      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];
    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;
    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];
    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;
    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];
    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;
    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];
    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;
    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];
  }
  double a_00, a_10, a_11;
  a_00 = fact[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;
  if (kn == 1)
    return;
  a_10 = fact[1];
  a_11 = fact[2];
  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;
}
```