user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<kernel_dgemm_nn_2x4_vs_lib4>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edx,%r11d
  mov    0x28(%rsp),%rbp
  mov    0x30(%rsp),%rbx
  mov    0x38(%rsp),%r12d
  test   %edx,%edx
  jle    L114
  mov    %esi,%r10d
  mov    %rcx,%rdx
  cmp    $0x3,%r11d
  jle    L17
  shl    $0x2,%r9d
  movslq %r9d,%rsi
  shl    $0x3,%rsi
  lea    -0x4(%r11),%r9d
  shr    $0x2,%r9d
  lea    0x1(%r9),%r13d
  mov    %r13d,%r13d
  mov    %r13,%rcx
  shl    $0x7,%rcx
  add    %rdx,%rcx
  mov    %r8,%rax
  pxor   %xmm0,%xmm0
  movapd %xmm0,%xmm4
  movapd %xmm0,%xmm5
  movapd %xmm0,%xmm6
  movapd %xmm0,%xmm3
  movapd %xmm0,%xmm10
  movapd %xmm0,%xmm11
  movapd %xmm0,%xmm14
L215:
  movsd  (%rdx),%xmm1
  movsd  0x8(%rdx),%xmm2
  movsd  (%rax),%xmm9
  movsd  0x20(%rax),%xmm8
  movsd  0x40(%rax),%xmm7
  movsd  0x60(%rax),%xmm15
  movapd %xmm1,%xmm12
  mulsd  %xmm9,%xmm12
  addsd  %xmm12,%xmm14
  mulsd  %xmm2,%xmm9
  addsd  %xmm6,%xmm9
  movapd %xmm1,%xmm13
  mulsd  %xmm8,%xmm13
  addsd  %xmm11,%xmm13
  mulsd  %xmm2,%xmm8
  addsd  %xmm5,%xmm8
  movapd %xmm1,%xmm12
  mulsd  %xmm7,%xmm12
  addsd  %xmm10,%xmm12
  mulsd  %xmm2,%xmm7
  addsd  %xmm4,%xmm7
  mulsd  %xmm15,%xmm1
  addsd  %xmm3,%xmm1
  mulsd  %xmm15,%xmm2
  addsd  %xmm2,%xmm0
  movsd  0x20(%rdx),%xmm3
  movsd  0x28(%rdx),%xmm2
  movsd  0x8(%rax),%xmm5
  movsd  0x28(%rax),%xmm6
  movsd  0x48(%rax),%xmm4
  movsd  0x68(%rax),%xmm11
  movapd %xmm3,%xmm10
  mulsd  %xmm5,%xmm10
  addsd  %xmm14,%xmm10
  mulsd  %xmm2,%xmm5
  addsd  %xmm9,%xmm5
  movapd %xmm3,%xmm9
  mulsd  %xmm6,%xmm9
  addsd  %xmm13,%xmm9
  mulsd  %xmm2,%xmm6
  addsd  %xmm8,%xmm6
  movapd %xmm3,%xmm13
  mulsd  %xmm4,%xmm13
  addsd  %xmm12,%xmm13
  mulsd  %xmm2,%xmm4
  addsd  %xmm7,%xmm4
  mulsd  %xmm11,%xmm3
  addsd  %xmm3,%xmm1
  mulsd  %xmm11,%xmm2
  addsd  %xmm2,%xmm0
  movsd  0x40(%rdx),%xmm3
  movsd  0x48(%rdx),%xmm2
  movsd  0x10(%rax),%xmm12
  movsd  0x30(%rax),%xmm8
  movsd  0x50(%rax),%xmm7
  movsd  0x70(%rax),%xmm14
  movapd %xmm3,%xmm11
  mulsd  %xmm12,%xmm11
  addsd  %xmm10,%xmm11
  mulsd  %xmm2,%xmm12
  addsd  %xmm5,%xmm12
  movapd %xmm3,%xmm10
  mulsd  %xmm8,%xmm10
  addsd  %xmm9,%xmm10
  mulsd  %xmm2,%xmm8
  addsd  %xmm6,%xmm8
  movapd %xmm3,%xmm9
  mulsd  %xmm7,%xmm9
  addsd  %xmm13,%xmm9
  mulsd  %xmm2,%xmm7
  addsd  %xmm4,%xmm7
  mulsd  %xmm14,%xmm3
  addsd  %xmm1,%xmm3
  mulsd  %xmm14,%xmm2
  addsd  %xmm0,%xmm2
  movsd  0x60(%rdx),%xmm1
  movsd  0x68(%rdx),%xmm0
  movsd  0x18(%rax),%xmm6
  movsd  0x38(%rax),%xmm5
  movsd  0x58(%rax),%xmm4
  movsd  0x78(%rax),%xmm13
  movapd %xmm1,%xmm14
  mulsd  %xmm6,%xmm14
  addsd  %xmm11,%xmm14
  mulsd  %xmm0,%xmm6
  addsd  %xmm12,%xmm6
  movapd %xmm1,%xmm11
  mulsd  %xmm5,%xmm11
  addsd  %xmm10,%xmm11
  mulsd  %xmm0,%xmm5
  addsd  %xmm8,%xmm5
  movapd %xmm1,%xmm10
  mulsd  %xmm4,%xmm10
  addsd  %xmm9,%xmm10
  mulsd  %xmm0,%xmm4
  addsd  %xmm7,%xmm4
  mulsd  %xmm13,%xmm1
  addsd  %xmm1,%xmm3
  mulsd  %xmm13,%xmm0
  addsd  %xmm2,%xmm0
  sub    $0xffffffffffffff80,%rdx
  add    %rsi,%rax
  cmp    %rcx,%rdx
  jne    L215
  imul   %r13,%rsi
  add    %rsi,%r8
  lea    0x4(,%r9,4),%eax
  cmp    %eax,%r11d
  jle    L26
L126:
  movsd  (%rcx),%xmm2
  movsd  0x8(%rcx),%xmm1
  movsd  (%r8),%xmm9
  movsd  0x20(%r8),%xmm8
  movsd  0x40(%r8),%xmm7
  movsd  0x60(%r8),%xmm12
  movapd %xmm2,%xmm13
  mulsd  %xmm9,%xmm13
  addsd  %xmm13,%xmm14
  mulsd  %xmm1,%xmm9
  addsd  %xmm9,%xmm6
  movapd %xmm2,%xmm9
  mulsd  %xmm8,%xmm9
  addsd  %xmm9,%xmm11
  mulsd  %xmm1,%xmm8
  addsd  %xmm8,%xmm5
  movapd %xmm2,%xmm8
  mulsd  %xmm7,%xmm8
  addsd  %xmm8,%xmm10
  mulsd  %xmm1,%xmm7
  addsd  %xmm7,%xmm4
  mulsd  %xmm12,%xmm2
  addsd  %xmm2,%xmm3
  mulsd  %xmm12,%xmm1
  addsd  %xmm1,%xmm0
  add    $0x20,%rcx
  add    $0x8,%r8
  add    $0x1,%eax
  cmp    %eax,%r11d
  jg     L126
L26:
  test   %r12d,%r12d
  jne    L160
  cmpl   $0x0,0x48(%rsp)
  je     L9
L203:
  cmp    $0x3,%r10d
  jle    L143
  movsd  %xmm14,(%rbx)
  movsd  %xmm11,0x8(%rbx)
  movsd  %xmm10,0x10(%rbx)
  movsd  %xmm3,0x18(%rbx)
  cmp    $0x1,%edi
  jle    L114
  movsd  %xmm6,0x20(%rbx)
  movsd  %xmm5,0x28(%rbx)
  movsd  %xmm4,0x30(%rbx)
  movsd  %xmm0,0x38(%rbx)
  jmp    L114
L17:
  pxor   %xmm0,%xmm0
  movapd %xmm0,%xmm4
  movapd %xmm0,%xmm5
  movapd %xmm0,%xmm6
  movapd %xmm0,%xmm3
  movapd %xmm0,%xmm10
  movapd %xmm0,%xmm11
  movapd %xmm0,%xmm14
  mov    $0x0,%eax
  jmp    L126
L160:
  cmpl   $0x0,0x40(%rsp)
  jne    L21
  movsd  0x0(%rbp),%xmm15
  movsd  0x8(%rbp),%xmm13
  movsd  0x20(%rbp),%xmm12
  movsd  0x28(%rbp),%xmm9
  movsd  0x40(%rbp),%xmm8
  movsd  0x48(%rbp),%xmm7
  movsd  0x60(%rbp),%xmm2
  movsd  0x68(%rbp),%xmm1
L92:
  cmp    $0x1,%r12d
  je     L11
  subsd  %xmm14,%xmm15
  movapd %xmm15,%xmm14
  subsd  %xmm6,%xmm13
  movapd %xmm13,%xmm6
  subsd  %xmm11,%xmm12
  movapd %xmm12,%xmm11
  subsd  %xmm5,%xmm9
  movapd %xmm9,%xmm5
  subsd  %xmm10,%xmm8
  movapd %xmm8,%xmm10
  subsd  %xmm4,%xmm7
  movapd %xmm7,%xmm4
  subsd  %xmm3,%xmm2
  movapd %xmm2,%xmm3
  subsd  %xmm0,%xmm1
  movapd %xmm1,%xmm0
L167:
  cmpl   $0x0,0x48(%rsp)
  jne    L203
L9:
  cmp    $0x1,%edi
  jle    L95
  movsd  %xmm14,(%rbx)
  movsd  %xmm6,0x8(%rbx)
  movsd  %xmm11,0x20(%rbx)
  movsd  %xmm5,0x28(%rbx)
  movsd  %xmm10,0x40(%rbx)
  movsd  %xmm4,0x48(%rbx)
  cmp    $0x3,%r10d
  jle    L114
  movsd  %xmm3,0x60(%rbx)
  movsd  %xmm0,0x68(%rbx)
L114:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L21:
  movsd  0x0(%rbp),%xmm15
  movsd  0x8(%rbp),%xmm12
  movsd  0x10(%rbp),%xmm8
  movsd  0x18(%rbp),%xmm2
  movsd  0x20(%rbp),%xmm13
  movsd  0x28(%rbp),%xmm9
  movsd  0x30(%rbp),%xmm7
  movsd  0x38(%rbp),%xmm1
  jmp    L92
L11:
  addsd  %xmm15,%xmm14
  addsd  %xmm13,%xmm6
  addsd  %xmm12,%xmm11
  addsd  %xmm9,%xmm5
  addsd  %xmm8,%xmm10
  addsd  %xmm7,%xmm4
  addsd  %xmm2,%xmm3
  addsd  %xmm1,%xmm0
  jmp    L167
L95:
  movsd  %xmm14,(%rbx)
  movsd  %xmm11,0x20(%rbx)
  movsd  %xmm10,0x40(%rbx)
  cmp    $0x3,%r10d
  jle    L114
  movsd  %xmm3,0x60(%rbx)
  jmp    L114
L143:
  movsd  %xmm14,(%rbx)
  movsd  %xmm11,0x8(%rbx)
  movsd  %xmm10,0x10(%rbx)
  cmp    $0x1,%edi
  jle    L114
  movsd  %xmm6,0x20(%rbx)
  movsd  %xmm5,0x28(%rbx)
  movsd  %xmm4,0x30(%rbx)
  jmp    L114
```

assistant: ```c
void kernel_dgemm_nn_2x4_vs_lib4(int km, int kn, int kmax, double *A, double *B, int sdb, double *C, double *D, int alg, int tc, int td) {
  if (kmax <= 0)
    return;
  const int bs = 4;
  int k;
  double a_0, a_1, 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;
  for (k = 0; k < kmax - 3; k += 4) {
    a_0 = A[0 + bs * 0];
    a_1 = A[1 + 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];
    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 = A[0 + bs * 1];
    a_1 = A[1 + 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];
    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 = A[0 + bs * 2];
    a_1 = A[1 + 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];
    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 = A[0 + bs * 3];
    a_1 = A[1 + 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];
    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 += 16;
    B += 4 * sdb;
  }
  for (; k < kmax; k++) {
    a_0 = A[0 + bs * 0];
    a_1 = A[1 + 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];
    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 += 4;
    B += 1;
  }
  double d_00, d_01, d_02, d_03, d_10, d_11, d_12, d_13;
  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_01 = C[0 + bs * 1];
      d_11 = C[1 + bs * 1];
      d_02 = C[0 + bs * 2];
      d_12 = C[1 + bs * 2];
      d_03 = C[0 + bs * 3];
      d_13 = C[1 + bs * 3];
    } else {
      d_00 = C[0 + bs * 0];
      d_01 = C[1 + bs * 0];
      d_02 = C[2 + bs * 0];
      d_03 = C[3 + bs * 0];
      d_10 = C[0 + bs * 1];
      d_11 = C[1 + bs * 1];
      d_12 = C[2 + bs * 1];
      d_13 = C[3 + bs * 1];
    }
    if (alg == 1) {
      c_00 = d_00 + c_00;
      c_10 = d_10 + c_10;
      c_01 = d_01 + c_01;
      c_11 = d_11 + c_11;
      c_02 = d_02 + c_02;
      c_12 = d_12 + c_12;
      c_03 = d_03 + c_03;
      c_13 = d_13 + c_13;
    } else {
      c_00 = d_00 - c_00;
      c_10 = d_10 - c_10;
      c_01 = d_01 - c_01;
      c_11 = d_11 - c_11;
      c_02 = d_02 - c_02;
      c_12 = d_12 - c_12;
      c_03 = d_03 - c_03;
      c_13 = d_13 - c_13;
    }
    if (td == 0) {
      goto store_n;
    } else {
      goto store_t;
    }
  }
store_n:
  if (km >= 2) {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_10;
    D[0 + bs * 1] = c_01;
    D[1 + bs * 1] = c_11;
    D[0 + bs * 2] = c_02;
    D[1 + bs * 2] = c_12;
    if (kn >= 4) {
      D[0 + bs * 3] = c_03;
      D[1 + bs * 3] = c_13;
    }
  } else {
    D[0 + bs * 0] = c_00;
    D[0 + bs * 1] = c_01;
    D[0 + bs * 2] = c_02;
    if (kn >= 4) {
      D[0 + bs * 3] = c_03;
    }
  }
  return;
store_t:
  if (kn >= 4) {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_01;
    D[2 + bs * 0] = c_02;
    D[3 + bs * 0] = c_03;
    if (km >= 2) {
      D[0 + bs * 1] = c_10;
      D[1 + bs * 1] = c_11;
      D[2 + bs * 1] = c_12;
      D[3 + bs * 1] = c_13;
    }
  } else {
    D[0 + bs * 0] = c_00;
    D[1 + bs * 0] = c_01;
    D[2 + bs * 0] = c_02;
    if (km >= 2) {
      D[0 + bs * 1] = c_10;
      D[1 + bs * 1] = c_11;
      D[2 + bs * 1] = c_12;
    }
  }
  return;
}
```