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

```asm
<kernel_dgemm_nt_4x2_vs_lib4>:
  endbr64
  push   %r12
  mov    %esi,%r10d
  mov    %edx,%esi
  push   %rbp
  push   %rbx
  mov    0x20(%rsp),%r11
  mov    0x28(%rsp),%ebx
  cmp    $0x3,%edx
  jle    L0
  lea    -0x4(%rdx),%eax
  mov    %eax,%ebp
  shr    $0x2,%ebp
  cmp    $0x3,%eax
  jbe    L192
  pxor   %xmm10,%xmm10
  mov    %rcx,%rax
  mov    %r8,%rdx
  xor    %r12d,%r12d
  movapd %xmm10,%xmm11
  movapd %xmm10,%xmm12
  movsd  %xmm10,-0x70(%rsp)
  movapd %xmm10,%xmm15
  movsd  %xmm10,-0x68(%rsp)
  movapd %xmm10,%xmm7
  movapd %xmm10,%xmm14
  movsd  %xmm10,-0x40(%rsp)
  nopl   0x0(%rax)
L71:
  movupd (%rdx),%xmm0
  movupd (%rax),%xmm6
  add    $0x1,%r12d
  sub    $0xffffffffffffff80,%rax
  movupd -0x10(%rax),%xmm2
  movlpd -0x28(%rax),%xmm2
  sub    $0xffffffffffffff80,%rdx
  movupd -0x40(%rax),%xmm8
  movhpd -0x60(%rdx),%xmm0
  movhpd -0x60(%rax),%xmm6
  movupd -0x60(%rax),%xmm5
  movaps %xmm2,-0x60(%rsp)
  movupd -0x40(%rdx),%xmm2
  movapd %xmm0,%xmm9
  movlpd -0x78(%rax),%xmm5
  movhpd -0x20(%rax),%xmm8
  movupd -0x20(%rax),%xmm1
  movlpd -0x38(%rax),%xmm1
  movhpd -0x20(%rdx),%xmm2
  movupd -0x70(%rax),%xmm3
  movupd -0x30(%rax),%xmm4
  mulpd  %xmm6,%xmm9
  movapd %xmm2,%xmm10
  movupd -0x50(%rax),%xmm13
  movlpd -0x68(%rax),%xmm13
  mulpd  %xmm8,%xmm10
  movhpd -0x50(%rax),%xmm3
  movhpd -0x10(%rax),%xmm4
  movaps %xmm10,-0x50(%rsp)
  movapd %xmm9,%xmm10
  unpckhpd %xmm9,%xmm9
  addsd  %xmm7,%xmm10
  movapd %xmm10,%xmm7
  movapd -0x50(%rsp),%xmm10
  addsd  %xmm9,%xmm7
  movapd %xmm0,%xmm9
  mulpd  %xmm5,%xmm9
  movlpd %xmm10,-0x8(%rsp)
  movsd  %xmm7,-0x10(%rsp)
  movapd %xmm9,%xmm7
  movapd %xmm2,%xmm9
  mulpd  %xmm1,%xmm9
  movapd %xmm9,%xmm10
  movapd %xmm7,%xmm9
  unpckhpd %xmm7,%xmm7
  addsd  %xmm11,%xmm9
  movapd %xmm0,%xmm11
  movlpd %xmm10,-0x20(%rsp)
  unpckhpd %xmm10,%xmm10
  mulpd  %xmm3,%xmm11
  mulpd  %xmm13,%xmm0
  addsd  %xmm7,%xmm9
  movapd %xmm11,%xmm7
  addsd  %xmm12,%xmm11
  movsd  %xmm9,-0x28(%rsp)
  movapd %xmm2,%xmm9
  mulpd  -0x60(%rsp),%xmm2
  unpckhpd %xmm7,%xmm7
  mulpd  %xmm4,%xmm9
  movapd %xmm11,%xmm12
  addsd  %xmm7,%xmm12
  movsd  -0x70(%rsp),%xmm7
  addsd  %xmm0,%xmm7
  unpckhpd %xmm0,%xmm0
  movlpd %xmm2,-0x38(%rsp)
  unpckhpd %xmm2,%xmm2
  movsd  %xmm12,-0x30(%rsp)
  movapd %xmm9,%xmm12
  unpckhpd %xmm9,%xmm9
  movapd %xmm7,%xmm11
  addsd  %xmm0,%xmm11
  movsd  %xmm11,-0x70(%rsp)
  movupd -0x60(%rdx),%xmm0
  movlpd -0x78(%rdx),%xmm0
  movsd  -0x68(%rsp),%xmm11
  addsd  -0x30(%rsp),%xmm12
  movapd %xmm0,%xmm7
  movupd -0x20(%rdx),%xmm0
  movlpd -0x38(%rdx),%xmm0
  mulpd  %xmm7,%xmm6
  mulpd  %xmm7,%xmm5
  addsd  %xmm9,%xmm12
  movsd  -0x70(%rsp),%xmm9
  addsd  -0x38(%rsp),%xmm9
  mulpd  %xmm7,%xmm3
  mulpd  %xmm7,%xmm13
  movsd  -0x10(%rsp),%xmm7
  addsd  -0x8(%rsp),%xmm7
  mulpd  %xmm0,%xmm8
  addsd  %xmm2,%xmm9
  addsd  %xmm6,%xmm11
  mulpd  %xmm0,%xmm1
  unpckhpd %xmm6,%xmm6
  mulpd  %xmm0,%xmm4
  mulpd  -0x60(%rsp),%xmm0
  movsd  %xmm9,-0x70(%rsp)
  addsd  %xmm6,%xmm11
  movapd %xmm5,%xmm6
  unpckhpd %xmm5,%xmm5
  addsd  %xmm15,%xmm6
  movlpd %xmm8,-0x18(%rsp)
  unpckhpd %xmm8,%xmm8
  movsd  %xmm11,-0x68(%rsp)
  movsd  -0x68(%rsp),%xmm2
  addsd  -0x18(%rsp),%xmm2
  addsd  %xmm5,%xmm6
  movapd %xmm3,%xmm5
  unpckhpd %xmm3,%xmm3
  movsd  -0x48(%rsp),%xmm11
  addsd  %xmm14,%xmm5
  addsd  %xmm11,%xmm7
  addsd  %xmm8,%xmm2
  movsd  -0x28(%rsp),%xmm11
  addsd  %xmm1,%xmm6
  unpckhpd %xmm1,%xmm1
  addsd  -0x20(%rsp),%xmm11
  addsd  %xmm3,%xmm5
  movsd  -0x40(%rsp),%xmm3
  movsd  %xmm2,-0x68(%rsp)
  addsd  %xmm13,%xmm3
  unpckhpd %xmm13,%xmm13
  addsd  %xmm1,%xmm6
  addsd  %xmm4,%xmm5
  unpckhpd %xmm4,%xmm4
  addsd  %xmm10,%xmm11
  addsd  %xmm13,%xmm3
  movapd %xmm6,%xmm15
  addsd  %xmm4,%xmm5
  addsd  %xmm0,%xmm3
  unpckhpd %xmm0,%xmm0
  movapd %xmm5,%xmm14
  addsd  %xmm0,%xmm3
  movsd  %xmm3,-0x40(%rsp)
  cmp    %r12d,%ebp
  ja     L71
  mov    %ebp,%edx
  movapd %xmm11,%xmm8
  movapd %xmm6,%xmm13
  shl    $0x7,%rdx
  movapd %xmm5,%xmm11
  movapd %xmm3,%xmm10
  lea    (%rcx,%rdx,1),%rax
  add    %r8,%rdx
L75:
  movsd  (%rdx),%xmm2
  movsd  (%rax),%xmm5
  movsd  0x8(%rax),%xmm4
  movsd  0x8(%rdx),%xmm0
  movapd %xmm2,%xmm6
  movsd  0x18(%rax),%xmm1
  movsd  0x10(%rax),%xmm3
  mulsd  %xmm5,%xmm6
  movsd  0x28(%rdx),%xmm14
  mulsd  %xmm0,%xmm5
  addsd  -0x68(%rsp),%xmm5
  addsd  %xmm6,%xmm7
  movapd %xmm2,%xmm6
  mulsd  %xmm4,%xmm6
  mulsd  %xmm0,%xmm4
  addsd  %xmm8,%xmm6
  movapd %xmm2,%xmm8
  mulsd  %xmm3,%xmm8
  addsd  %xmm13,%xmm4
  movsd  0x20(%rax),%xmm13
  mulsd  %xmm0,%xmm3
  mulsd  %xmm1,%xmm0
  mulsd  %xmm1,%xmm2
  addsd  %xmm12,%xmm8
  movsd  0x28(%rax),%xmm12
  addsd  %xmm11,%xmm3
  movsd  0x30(%rax),%xmm11
  movapd %xmm0,%xmm1
  movsd  0x20(%rdx),%xmm0
  addsd  %xmm2,%xmm9
  movapd %xmm13,%xmm2
  addsd  %xmm10,%xmm1
  movsd  0x38(%rax),%xmm10
  mulsd  %xmm0,%xmm2
  mulsd  %xmm14,%xmm13
  addsd  %xmm2,%xmm7
  movapd %xmm12,%xmm2
  mulsd  %xmm0,%xmm2
  addsd  %xmm5,%xmm13
  movsd  0x48(%rax),%xmm5
  mulsd  %xmm14,%xmm12
  addsd  %xmm2,%xmm6
  movapd %xmm11,%xmm2
  mulsd  %xmm0,%xmm2
  addsd  %xmm4,%xmm12
  movsd  0x50(%rax),%xmm4
  mulsd  %xmm10,%xmm0
  mulsd  %xmm14,%xmm10
  mulsd  %xmm14,%xmm11
  movsd  0x48(%rdx),%xmm14
  addsd  %xmm2,%xmm8
  addsd  %xmm9,%xmm0
  movsd  0x40(%rax),%xmm9
  addsd  %xmm1,%xmm10
  movapd %xmm9,%xmm1
  addsd  %xmm3,%xmm11
  movsd  0x58(%rax),%xmm3
  mulsd  %xmm14,%xmm9
  movapd %xmm0,%xmm2
  movsd  0x40(%rdx),%xmm0
  mulsd  %xmm0,%xmm1
  addsd  %xmm13,%xmm9
  movsd  0x68(%rdx),%xmm13
  addsd  %xmm1,%xmm7
  movapd %xmm5,%xmm1
  mulsd  %xmm0,%xmm1
  mulsd  %xmm14,%xmm5
  addsd  %xmm1,%xmm6
  movapd %xmm4,%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm12,%xmm5
  movsd  0x60(%rax),%xmm12
  mulsd  %xmm3,%xmm0
  mulsd  %xmm14,%xmm4
  mulsd  %xmm14,%xmm3
  movapd %xmm12,%xmm14
  mulsd  %xmm13,%xmm12
  addsd  %xmm1,%xmm8
  movapd %xmm0,%xmm1
  movsd  0x60(%rdx),%xmm0
  lea    0x1(%rbp),%edx
  addsd  %xmm11,%xmm4
  movsd  0x68(%rax),%xmm11
  addsd  %xmm2,%xmm1
  movsd  0x78(%rax),%xmm2
  mulsd  %xmm0,%xmm14
  addsd  %xmm10,%xmm3
  movsd  0x70(%rax),%xmm10
  mov    %rdx,%rax
  addsd  %xmm9,%xmm12
  shl    $0x7,%rdx
  shl    $0x2,%eax
  add    %rdx,%rcx
  add    %rdx,%r8
  addsd  %xmm14,%xmm7
  movapd %xmm11,%xmm14
  mulsd  %xmm0,%xmm14
  mulsd  %xmm13,%xmm11
  addsd  %xmm14,%xmm6
  movapd %xmm10,%xmm14
  mulsd  %xmm0,%xmm14
  addsd  %xmm5,%xmm11
  mulsd  %xmm2,%xmm0
  mulsd  %xmm13,%xmm10
  mulsd  %xmm13,%xmm2
  addsd  %xmm14,%xmm8
  addsd  %xmm1,%xmm0
  addsd  %xmm4,%xmm10
  addsd  %xmm3,%xmm2
L63:
  cmp    %eax,%esi
  jle    L142
  sub    %eax,%esi
  cmp    $0x1,%esi
  je     L144
  movupd 0x10(%rcx),%xmm1
  unpcklpd %xmm0,%xmm2
  movupd (%rcx),%xmm4
  lea    -0x1(%rsi),%eax
  movupd (%r8),%xmm5
  movupd 0x10(%rcx),%xmm3
  unpcklpd %xmm8,%xmm10
  unpcklpd %xmm6,%xmm11
  unpckhpd %xmm1,%xmm1
  unpckhpd %xmm4,%xmm4
  unpcklpd %xmm7,%xmm12
  shufpd $0x1,%xmm5,%xmm5
  mulpd  %xmm5,%xmm1
  unpcklpd %xmm3,%xmm3
  mulpd  %xmm5,%xmm3
  mulpd  %xmm5,%xmm4
  addpd  %xmm2,%xmm1
  addpd  %xmm10,%xmm3
  addpd  %xmm11,%xmm4
  movapd %xmm1,%xmm0
  movupd (%rcx),%xmm1
  unpcklpd %xmm1,%xmm1
  mulpd  %xmm5,%xmm1
  addpd  %xmm12,%xmm1
  cmp    $0x2,%esi
  je     L124
  movupd 0x30(%rcx),%xmm2
  movupd 0x20(%r8),%xmm5
  unpckhpd %xmm2,%xmm2
  shufpd $0x1,%xmm5,%xmm5
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm0
  movupd 0x30(%rcx),%xmm2
  unpcklpd %xmm2,%xmm2
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm3
  movupd 0x20(%rcx),%xmm2
  unpckhpd %xmm2,%xmm2
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm4
  movupd 0x20(%rcx),%xmm2
  unpcklpd %xmm2,%xmm2
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm1
  cmp    $0x2,%eax
  je     L124
  movupd 0x50(%rcx),%xmm2
  movupd 0x40(%r8),%xmm5
  unpckhpd %xmm2,%xmm2
  shufpd $0x1,%xmm5,%xmm5
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm0
  movupd 0x50(%rcx),%xmm2
  unpcklpd %xmm2,%xmm2
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm3
  movupd 0x40(%rcx),%xmm2
  unpckhpd %xmm2,%xmm2
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm4
  movupd 0x40(%rcx),%xmm2
  unpcklpd %xmm2,%xmm2
  mulpd  %xmm5,%xmm2
  addpd  %xmm2,%xmm1
L124:
  shl    $0x5,%rax
  movapd %xmm3,%xmm10
  movapd %xmm4,%xmm11
  unpckhpd %xmm3,%xmm3
  unpckhpd %xmm4,%xmm4
  movapd %xmm1,%xmm12
  add    %rax,%rcx
  unpckhpd %xmm1,%xmm1
  movapd %xmm0,%xmm2
  movapd %xmm3,%xmm8
  add    %rax,%r8
  unpckhpd %xmm0,%xmm0
  movapd %xmm4,%xmm6
  movapd %xmm1,%xmm7
L144:
  movsd  (%r8),%xmm3
  movsd  (%rcx),%xmm13
  movsd  0x8(%rcx),%xmm5
  movsd  0x8(%r8),%xmm1
  movapd %xmm3,%xmm14
  movsd  0x10(%rcx),%xmm4
  movsd  0x18(%rcx),%xmm9
  mulsd  %xmm13,%xmm14
  mulsd  %xmm1,%xmm13
  addsd  %xmm14,%xmm7
  movapd %xmm3,%xmm14
  mulsd  %xmm5,%xmm14
  addsd  %xmm13,%xmm12
  mulsd  %xmm1,%xmm5
  addsd  %xmm14,%xmm6
  movapd %xmm3,%xmm14
  mulsd  %xmm4,%xmm14
  addsd  %xmm5,%xmm11
  mulsd  %xmm1,%xmm4
  mulsd  %xmm9,%xmm3
  mulsd  %xmm9,%xmm1
  addsd  %xmm14,%xmm8
  addsd  %xmm4,%xmm10
  addsd  %xmm3,%xmm0
  addsd  %xmm1,%xmm2
L142:
  test   %ebx,%ebx
  je     L153
  mov    0x30(%rsp),%edx
  movsd  (%r9),%xmm5
  movsd  0x8(%r9),%xmm3
  movsd  0x20(%r9),%xmm1
  movsd  0x28(%r9),%xmm4
  test   %edx,%edx
  je     L80
  movq   %xmm1,%rax
  movsd  0x40(%r9),%xmm15
  movapd %xmm3,%xmm1
  movsd  0x48(%r9),%xmm13
  movsd  0x60(%r9),%xmm14
  movsd  0x68(%r9),%xmm9
  movq   %rax,%xmm3
  cmp    $0x1,%ebx
  je     L42
L9:
  subsd  %xmm7,%xmm5
  subsd  %xmm6,%xmm3
  subsd  %xmm8,%xmm15
  subsd  %xmm0,%xmm14
  subsd  %xmm12,%xmm1
  subsd  %xmm11,%xmm4
  subsd  %xmm10,%xmm13
  subsd  %xmm2,%xmm9
  movapd %xmm5,%xmm7
  movapd %xmm3,%xmm6
  movapd %xmm15,%xmm8
  movapd %xmm14,%xmm0
  movapd %xmm1,%xmm12
  movapd %xmm4,%xmm11
  movapd %xmm13,%xmm10
  movapd %xmm9,%xmm2
L153:
  mov    0x38(%rsp),%eax
  movsd  %xmm7,(%r11)
  test   %eax,%eax
  jne    L84
  movsd  %xmm6,0x8(%r11)
  movsd  %xmm8,0x10(%r11)
  cmp    $0x3,%edi
  jle    L54
  movsd  %xmm0,0x18(%r11)
  cmp    $0x1,%r10d
  jle    L11
  movsd  %xmm12,0x20(%r11)
  movsd  %xmm11,0x28(%r11)
  movsd  %xmm10,0x30(%r11)
  movsd  %xmm2,0x38(%r11)
L11:
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L84:
  cmp    $0x1,%r10d
  jle    L184
  movsd  %xmm12,0x8(%r11)
  movsd  %xmm6,0x20(%r11)
  movsd  %xmm11,0x28(%r11)
  movsd  %xmm8,0x40(%r11)
  movsd  %xmm10,0x48(%r11)
  cmp    $0x3,%edi
  jle    L11
  movsd  %xmm0,0x60(%r11)
  movsd  %xmm2,0x68(%r11)
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  xchg   %ax,%ax
L54:
  cmp    $0x1,%r10d
  jle    L11
  movsd  %xmm12,0x20(%r11)
  movsd  %xmm11,0x28(%r11)
  movsd  %xmm10,0x30(%r11)
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   (%rax)
L80:
  movsd  0x10(%r9),%xmm15
  movsd  0x18(%r9),%xmm14
  movsd  0x30(%r9),%xmm13
  movsd  0x38(%r9),%xmm9
  cmp    $0x1,%ebx
  jne    L9
L42:
  addsd  %xmm5,%xmm7
  addsd  %xmm3,%xmm6
  addsd  %xmm15,%xmm8
  addsd  %xmm14,%xmm0
  addsd  %xmm1,%xmm12
  addsd  %xmm4,%xmm11
  addsd  %xmm13,%xmm10
  addsd  %xmm9,%xmm2
  jmp    L153
  nopl   0x0(%rax)
L184:
  movsd  %xmm6,0x20(%r11)
  movsd  %xmm8,0x40(%r11)
  cmp    $0x3,%edi
  jle    L11
  movsd  %xmm0,0x60(%r11)
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L0:
  pxor   %xmm2,%xmm2
  xor    %eax,%eax
  movapd %xmm2,%xmm0
  movapd %xmm2,%xmm10
  movapd %xmm2,%xmm8
  movapd %xmm2,%xmm11
  movapd %xmm2,%xmm6
  movapd %xmm2,%xmm12
  movapd %xmm2,%xmm7
  jmp    L63
L192:
  pxor   %xmm10,%xmm10
  mov    %r8,%rdx
  mov    %rcx,%rax
  movapd %xmm10,%xmm11
  movapd %xmm10,%xmm12
  movapd %xmm10,%xmm13
  movsd  %xmm10,-0x70(%rsp)
  movapd %xmm10,%xmm8
  movapd %xmm10,%xmm7
  movapd %xmm10,%xmm9
  movsd  %xmm10,-0x68(%rsp)
  jmp    L75
```

assistant: ```c
void kernel_dgemm_nt_4x2_vs_lib4(int km, int kn, int kmax, double *A, double *B, double *C, double *D, int alg, int tc, int td) {
  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;
  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[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 = 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[0 + bs * 1];
    b_1 = B[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 = 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[0 + bs * 2];
    b_1 = B[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 = 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[0 + bs * 3];
    b_1 = B[1 + bs * 3];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * b_0;
    c_01 += a_0 * b_1;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    A += 16;
    B += 16;
  }
  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[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 += 4;
    B += 4;
  }
  double d_00, d_01, d_10, d_11, d_20, d_21, d_30, d_31;
  if (alg == 0) {
    if (td == 0) {
      goto store_n;
    } else {
      goto store_t;
    }
  } else {
    if (tc == 0) {
      d_00 = C[0 + bs * 0];
      d_10 = C[1 + bs * 0];
      d_20 = C[2 + bs * 0];
      d_30 = C[3 + bs * 0];
      d_01 = C[0 + bs * 1];
      d_11 = C[1 + bs * 1];
      d_21 = C[2 + bs * 1];
      d_31 = C[3 + bs * 1];
    } else {
      d_00 = C[0 + bs * 0];
      d_01 = C[1 + bs * 0];
      d_10 = C[0 + bs * 1];
      d_11 = C[1 + bs * 1];
      d_20 = C[0 + bs * 2];
      d_21 = C[1 + bs * 2];
      d_30 = C[0 + bs * 3];
      d_31 = C[1 + bs * 3];
    }
    if (alg == 1) {
      c_00 = d_00 + c_00;
      c_10 = d_10 + c_10;
      c_20 = d_20 + c_20;
      c_30 = d_30 + c_30;
      c_01 = d_01 + c_01;
      c_11 = d_11 + c_11;
      c_21 = d_21 + c_21;
      c_31 = d_31 + c_31;
    } else {
      c_00 = d_00 - c_00;
      c_10 = d_10 - c_10;
      c_20 = d_20 - c_20;
      c_30 = d_30 - c_30;
      c_01 = d_01 - c_01;
      c_11 = d_11 - c_11;
      c_21 = d_21 - c_21;
      c_31 = d_31 - c_31;
    }
    if (td == 0) {
      goto store_n;
    } else {
      goto store_t;
    }
  }
store_n:
  if (km >= 4) {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_10;
    D[2 + bs * 0] = c_20;
    D[3 + bs * 0] = c_30;
    if (kn >= 2) {
      D[0 + bs * 1] = c_01;
      D[1 + bs * 1] = c_11;
      D[2 + bs * 1] = c_21;
      D[3 + bs * 1] = c_31;
    }
  } else {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_10;
    D[2 + bs * 0] = c_20;
    if (kn >= 2) {
      D[0 + bs * 1] = c_01;
      D[1 + bs * 1] = c_11;
      D[2 + bs * 1] = c_21;
    }
  }
  return;
store_t:
  if (kn >= 2) {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_01;
    D[0 + bs * 1] = c_10;
    D[1 + bs * 1] = c_11;
    D[0 + bs * 2] = c_20;
    D[1 + bs * 2] = c_21;
    if (km >= 4) {
      D[0 + bs * 3] = c_30;
      D[1 + bs * 3] = c_31;
    }
  } else {
    D[0 + bs * 0] = c_00;
    D[0 + bs * 1] = c_10;
    D[0 + bs * 2] = c_20;
    if (km >= 4) {
      D[0 + bs * 3] = c_30;
    }
  }
  return;
}
```