user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<kernel_dlauum_nt_4x4_lib4>:
  endbr64
  push   %rbp
  pxor   %xmm5,%xmm5
  mov    %ecx,%r11d
  lea    0x80(%rsi),%rax
  push   %rbx
  movsd  (%rsi),%xmm2
  lea    0x80(%rdx),%rcx
  mulsd  (%rdx),%xmm2
  movsd  0x20(%rdx),%xmm1
  movsd  0x20(%rsi),%xmm3
  movsd  0x40(%rdx),%xmm7
  movsd  0x28(%rsi),%xmm0
  movsd  0x48(%rsi),%xmm10
  mulsd  %xmm1,%xmm3
  movsd  0x48(%rdx),%xmm9
  movsd  0x68(%rsi),%xmm4
  mulsd  %xmm0,%xmm1
  movsd  0x50(%rsi),%xmm6
  movsd  0x70(%rsi),%xmm11
  addsd  %xmm5,%xmm2
  mulsd  0x28(%rdx),%xmm0
  movsd  0x68(%rdx),%xmm13
  movsd  0x78(%rsi),%xmm8
  movsd  0x70(%rdx),%xmm12
  addsd  %xmm2,%xmm3
  movsd  0x40(%rsi),%xmm2
  addsd  %xmm5,%xmm1
  mulsd  %xmm7,%xmm2
  addsd  %xmm5,%xmm0
  addsd  %xmm3,%xmm2
  movapd %xmm10,%xmm3
  mulsd  %xmm7,%xmm3
  mulsd  %xmm9,%xmm10
  mulsd  %xmm6,%xmm9
  mulsd  %xmm6,%xmm7
  mulsd  0x50(%rdx),%xmm6
  addsd  %xmm3,%xmm1
  movsd  0x60(%rdx),%xmm3
  addsd  %xmm0,%xmm10
  movsd  0x60(%rsi),%xmm0
  addsd  %xmm5,%xmm9
  mulsd  %xmm3,%xmm0
  addsd  %xmm5,%xmm7
  addsd  %xmm5,%xmm6
  addsd  %xmm2,%xmm0
  movapd %xmm11,%xmm2
  mulsd  %xmm3,%xmm2
  movapd %xmm0,%xmm15
  movapd %xmm4,%xmm0
  mulsd  %xmm3,%xmm0
  mulsd  %xmm13,%xmm4
  mulsd  %xmm8,%xmm3
  addsd  %xmm7,%xmm2
  addsd  %xmm1,%xmm0
  addsd  %xmm10,%xmm4
  addsd  %xmm5,%xmm3
  movapd %xmm0,%xmm1
  movsd  %xmm0,-0x20(%rsp)
  movapd %xmm11,%xmm0
  mulsd  %xmm13,%xmm0
  mulsd  %xmm12,%xmm11
  mulsd  %xmm8,%xmm13
  mulsd  %xmm8,%xmm12
  mulsd  0x78(%rdx),%xmm8
  addsd  %xmm9,%xmm0
  addsd  %xmm6,%xmm11
  movapd %xmm13,%xmm14
  movapd %xmm12,%xmm7
  addsd  %xmm5,%xmm14
  movapd %xmm0,%xmm10
  movapd %xmm8,%xmm6
  addsd  %xmm5,%xmm7
  addsd  %xmm5,%xmm6
  cmp    $0x7,%edi
  jle    L36
  lea    -0x8(%rdi),%ebp
  mov    %rsi,%r10
  movapd %xmm2,%xmm12
  mov    %rcx,%rdx
  shr    $0x2,%ebp
  movapd %xmm15,%xmm9
  movapd %xmm1,%xmm2
  mov    %ebp,%ebx
  lea    0x2(%rbx),%rsi
  shl    $0x7,%rsi
  add    %r10,%rsi
  nopl   0x0(%rax,%rax,1)
L28:
  movsd  (%rdx),%xmm0
  movsd  (%rax),%xmm15
  sub    $0xffffffffffffff80,%rax
  sub    $0xffffffffffffff80,%rdx
  movsd  -0x78(%rax),%xmm13
  movsd  -0x70(%rax),%xmm5
  mulsd  %xmm0,%xmm15
  movsd  -0x68(%rax),%xmm1
  movsd  -0x78(%rdx),%xmm8
  addsd  %xmm9,%xmm15
  movapd %xmm13,%xmm9
  mulsd  %xmm0,%xmm9
  mulsd  %xmm8,%xmm13
  addsd  %xmm2,%xmm9
  movapd %xmm5,%xmm2
  mulsd  %xmm0,%xmm2
  addsd  %xmm13,%xmm4
  movsd  -0x58(%rax),%xmm13
  mulsd  %xmm1,%xmm0
  addsd  %xmm12,%xmm2
  movsd  -0x58(%rdx),%xmm12
  addsd  %xmm0,%xmm3
  movapd %xmm5,%xmm0
  mulsd  %xmm8,%xmm0
  mulsd  -0x70(%rdx),%xmm5
  mulsd  %xmm1,%xmm8
  addsd  %xmm0,%xmm10
  movsd  -0x70(%rdx),%xmm0
  addsd  %xmm11,%xmm5
  movsd  -0x50(%rax),%xmm11
  mulsd  %xmm1,%xmm0
  addsd  %xmm14,%xmm8
  movsd  -0x60(%rax),%xmm14
  mulsd  -0x68(%rdx),%xmm1
  addsd  %xmm0,%xmm7
  movsd  -0x60(%rdx),%xmm0
  addsd  %xmm6,%xmm1
  movsd  -0x48(%rax),%xmm6
  mulsd  %xmm0,%xmm13
  mulsd  %xmm0,%xmm14
  addsd  %xmm9,%xmm13
  movapd %xmm11,%xmm9
  mulsd  %xmm0,%xmm9
  addsd  %xmm15,%xmm14
  mulsd  %xmm6,%xmm0
  addsd  %xmm2,%xmm9
  movsd  -0x58(%rax),%xmm2
  addsd  %xmm3,%xmm0
  mulsd  %xmm12,%xmm2
  movapd %xmm2,%xmm3
  movapd %xmm11,%xmm2
  mulsd  %xmm12,%xmm2
  addsd  %xmm4,%xmm3
  movsd  -0x40(%rdx),%xmm4
  mulsd  %xmm6,%xmm12
  mulsd  -0x50(%rdx),%xmm11
  addsd  %xmm10,%xmm2
  movsd  -0x40(%rax),%xmm10
  addsd  %xmm12,%xmm8
  addsd  %xmm5,%xmm11
  movsd  -0x38(%rdx),%xmm5
  movapd %xmm2,%xmm15
  movsd  -0x50(%rdx),%xmm2
  mulsd  %xmm6,%xmm2
  mulsd  -0x48(%rdx),%xmm6
  addsd  %xmm7,%xmm2
  movsd  -0x38(%rax),%xmm7
  addsd  %xmm1,%xmm6
  movsd  -0x30(%rax),%xmm1
  movapd %xmm7,%xmm12
  mulsd  %xmm4,%xmm12
  movsd  %xmm2,-0x20(%rsp)
  movapd %xmm10,%xmm2
  movsd  %xmm6,-0x18(%rsp)
  movsd  -0x28(%rax),%xmm6
  mulsd  %xmm5,%xmm7
  mulsd  %xmm4,%xmm2
  mulsd  %xmm6,%xmm10
  mulsd  %xmm1,%xmm4
  addsd  %xmm13,%xmm12
  movapd %xmm1,%xmm13
  mulsd  %xmm5,%xmm13
  addsd  %xmm3,%xmm7
  mulsd  %xmm6,%xmm5
  addsd  %xmm14,%xmm2
  addsd  %xmm0,%xmm10
  movsd  -0x28(%rdx),%xmm0
  mulsd  -0x30(%rdx),%xmm1
  addsd  %xmm9,%xmm4
  mulsd  %xmm6,%xmm0
  addsd  %xmm15,%xmm13
  addsd  -0x18(%rsp),%xmm0
  addsd  %xmm8,%xmm5
  movsd  -0x30(%rdx),%xmm8
  addsd  %xmm11,%xmm1
  mulsd  %xmm6,%xmm8
  addsd  -0x20(%rsp),%xmm8
  movsd  -0x18(%rax),%xmm15
  movsd  -0x20(%rdx),%xmm3
  movsd  -0x20(%rax),%xmm9
  movsd  -0x10(%rax),%xmm11
  movsd  -0x18(%rdx),%xmm14
  mulsd  %xmm3,%xmm9
  movsd  -0x8(%rax),%xmm6
  addsd  %xmm2,%xmm9
  movapd %xmm15,%xmm2
  mulsd  %xmm3,%xmm2
  addsd  %xmm12,%xmm2
  movapd %xmm11,%xmm12
  mulsd  %xmm3,%xmm12
  mulsd  %xmm6,%xmm3
  addsd  %xmm4,%xmm12
  movapd %xmm15,%xmm4
  mulsd  %xmm14,%xmm4
  addsd  %xmm10,%xmm3
  movapd %xmm11,%xmm10
  mulsd  %xmm14,%xmm10
  mulsd  -0x10(%rdx),%xmm11
  mulsd  %xmm6,%xmm14
  addsd  %xmm7,%xmm4
  movsd  -0x10(%rdx),%xmm7
  addsd  %xmm13,%xmm10
  mulsd  %xmm6,%xmm7
  addsd  %xmm1,%xmm11
  mulsd  -0x8(%rdx),%xmm6
  addsd  %xmm5,%xmm14
  addsd  %xmm8,%xmm7
  addsd  %xmm0,%xmm6
  cmp    %rsi,%rax
  jne    L28
  add    $0x1,%rbx
  movsd  %xmm2,-0x20(%rsp)
  movapd %xmm9,%xmm15
  movapd %xmm12,%xmm2
  shl    $0x7,%rbx
  lea    0x8(,%rbp,4),%edx
  add    %rbx,%rcx
L15:
  cmp    %edx,%edi
  jle    L8
  lea    -0x1(%rdi),%eax
  movsd  -0x20(%rsp),%xmm12
  sub    %edx,%eax
  add    $0x1,%rax
  shl    $0x5,%rax
  add    %rcx,%rax
L48:
  movsd  (%rcx),%xmm1
  movsd  (%rsi),%xmm13
  add    $0x20,%rcx
  add    $0x20,%rsi
  movsd  -0x18(%rsi),%xmm9
  movsd  -0x10(%rsi),%xmm5
  mulsd  %xmm1,%xmm13
  movsd  -0x8(%rsi),%xmm0
  movsd  -0x18(%rcx),%xmm8
  addsd  %xmm13,%xmm15
  movapd %xmm9,%xmm13
  mulsd  %xmm1,%xmm13
  mulsd  %xmm8,%xmm9
  addsd  %xmm13,%xmm12
  movapd %xmm5,%xmm13
  mulsd  %xmm1,%xmm13
  addsd  %xmm9,%xmm4
  mulsd  %xmm0,%xmm1
  addsd  %xmm13,%xmm2
  addsd  %xmm1,%xmm3
  movapd %xmm5,%xmm1
  mulsd  %xmm8,%xmm1
  mulsd  -0x10(%rcx),%xmm5
  mulsd  %xmm0,%xmm8
  addsd  %xmm1,%xmm10
  movsd  -0x10(%rcx),%xmm1
  addsd  %xmm5,%xmm11
  mulsd  %xmm0,%xmm1
  addsd  %xmm8,%xmm14
  mulsd  -0x8(%rcx),%xmm0
  addsd  %xmm1,%xmm7
  addsd  %xmm0,%xmm6
  cmp    %rax,%rcx
  jne    L48
  movsd  %xmm12,-0x20(%rsp)
L8:
  test   %r11d,%r11d
  je     L20
  movsd  0x10(%r8),%xmm5
  movsd  (%r8),%xmm9
  movsd  0x8(%r8),%xmm8
  movsd  0x18(%r8),%xmm12
  movsd  %xmm5,-0x18(%rsp)
  movsd  0x30(%r8),%xmm5
  movsd  0x28(%r8),%xmm13
  movsd  0x58(%r8),%xmm1
  movsd  0x78(%r8),%xmm0
  movsd  %xmm5,-0x10(%rsp)
  movsd  0x38(%r8),%xmm5
  movsd  %xmm5,-0x8(%rsp)
  movsd  0x50(%r8),%xmm5
  cmp    $0x1,%r11d
  je     L42
  subsd  -0x20(%rsp),%xmm8
  subsd  %xmm15,%xmm9
  subsd  %xmm3,%xmm12
  subsd  %xmm4,%xmm13
  subsd  %xmm11,%xmm5
  subsd  %xmm7,%xmm1
  movsd  %xmm8,-0x20(%rsp)
  subsd  %xmm6,%xmm0
  movsd  -0x18(%rsp),%xmm8
  movapd %xmm9,%xmm15
  movapd %xmm12,%xmm3
  movapd %xmm13,%xmm4
  subsd  %xmm2,%xmm8
  movapd %xmm5,%xmm11
  movapd %xmm1,%xmm7
  movapd %xmm0,%xmm6
  movapd %xmm8,%xmm2
  movsd  -0x10(%rsp),%xmm8
  subsd  %xmm10,%xmm8
  movapd %xmm8,%xmm10
  movsd  -0x8(%rsp),%xmm8
  subsd  %xmm14,%xmm8
  movapd %xmm8,%xmm14
L20:
  movsd  -0x20(%rsp),%xmm5
  movsd  %xmm15,(%r9)
  pop    %rbx
  movsd  %xmm2,0x10(%r9)
  pop    %rbp
  movsd  %xmm5,0x8(%r9)
  movsd  %xmm3,0x18(%r9)
  movsd  %xmm4,0x28(%r9)
  movsd  %xmm10,0x30(%r9)
  movsd  %xmm14,0x38(%r9)
  movsd  %xmm11,0x50(%r9)
  movsd  %xmm7,0x58(%r9)
  movsd  %xmm6,0x78(%r9)
  ret
  cs nopw 0x0(%rax,%rax,1)
L42:
  addsd  -0x20(%rsp),%xmm8
  addsd  %xmm9,%xmm15
  addsd  -0x18(%rsp),%xmm2
  addsd  %xmm12,%xmm3
  addsd  %xmm13,%xmm4
  addsd  -0x10(%rsp),%xmm10
  addsd  %xmm5,%xmm11
  addsd  %xmm1,%xmm7
  movsd  %xmm8,-0x20(%rsp)
  addsd  -0x8(%rsp),%xmm14
  addsd  %xmm0,%xmm6
  jmp    L20
  nopl   0x0(%rax,%rax,1)
L36:
  mov    %rax,%rsi
  mov    $0x4,%edx
  jmp    L15
```

assistant: ```c
void kernel_dlauum_nt_4x4_lib4(int kmax, double *A, double *B, int alg, double *C, double *D) {
  const int lda = 4;
  const int ldb = 4;
  const int ldc = 4;
  int k;
  double a_0, a_1, a_2, a_3, b_0, b_1, b_2, b_3, c_00 = 0, c_10 = 0, c_11 = 0, c_20 = 0, c_21 = 0, c_22 = 0, c_30 = 0, c_31 = 0, c_32 = 0, c_33 = 0;
  a_0 = A[0 + lda * 0];
  b_0 = B[0 + ldb * 0];
  c_00 += a_0 * b_0;
  a_0 = A[0 + lda * 1];
  a_1 = A[1 + lda * 1];
  b_0 = B[0 + ldb * 1];
  b_1 = B[1 + ldb * 1];
  c_00 += a_0 * b_0;
  c_10 += a_1 * b_0;
  c_11 += a_1 * b_1;
  a_0 = A[0 + lda * 2];
  a_1 = A[1 + lda * 2];
  a_2 = A[2 + lda * 2];
  b_0 = B[0 + ldb * 2];
  b_1 = B[1 + ldb * 2];
  b_2 = B[2 + ldb * 2];
  c_00 += a_0 * b_0;
  c_10 += a_1 * b_0;
  c_20 += a_2 * b_0;
  c_11 += a_1 * b_1;
  c_21 += a_2 * b_1;
  c_22 += a_2 * b_2;
  a_0 = A[0 + lda * 3];
  a_1 = A[1 + lda * 3];
  a_2 = A[2 + lda * 3];
  a_3 = A[3 + lda * 3];
  b_0 = B[0 + ldb * 3];
  b_1 = B[1 + ldb * 3];
  b_2 = B[2 + ldb * 3];
  b_3 = B[3 + ldb * 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_11 += a_1 * b_1;
  c_21 += a_2 * b_1;
  c_31 += a_3 * b_1;
  c_22 += a_2 * b_2;
  c_32 += a_3 * b_2;
  c_33 += a_3 * b_3;
  k = 4;
  A += 16;
  B += 16;
  for (; k < kmax - 3; k += 4) {
    a_0 = A[0 + lda * 0];
    a_1 = A[1 + lda * 0];
    a_2 = A[2 + lda * 0];
    a_3 = A[3 + lda * 0];
    b_0 = B[0 + ldb * 0];
    b_1 = B[1 + ldb * 0];
    b_2 = B[2 + ldb * 0];
    b_3 = B[3 + ldb * 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_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_33 += a_3 * b_3;
    a_0 = A[0 + lda * 1];
    a_1 = A[1 + lda * 1];
    a_2 = A[2 + lda * 1];
    a_3 = A[3 + lda * 1];
    b_0 = B[0 + ldb * 1];
    b_1 = B[1 + ldb * 1];
    b_2 = B[2 + ldb * 1];
    b_3 = B[3 + ldb * 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_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_33 += a_3 * b_3;
    a_0 = A[0 + lda * 2];
    a_1 = A[1 + lda * 2];
    a_2 = A[2 + lda * 2];
    a_3 = A[3 + lda * 2];
    b_0 = B[0 + ldb * 2];
    b_1 = B[1 + ldb * 2];
    b_2 = B[2 + ldb * 2];
    b_3 = B[3 + ldb * 2];
    c_00 += a_0 * b_0;
    c_10 += a_1 * b_0;
    c_20 += a_2 * b_0;
    c_30 += a_3 * a_0;
    c_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_33 += a_3 * b_3;
    a_0 = A[0 + lda * 3];
    a_1 = A[1 + lda * 3];
    a_2 = A[2 + lda * 3];
    a_3 = A[3 + lda * 3];
    b_0 = B[0 + ldb * 3];
    b_1 = B[1 + ldb * 3];
    b_2 = B[2 + ldb * 3];
    b_3 = B[3 + ldb * 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_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_33 += a_3 * b_3;
    A += 16;
    B += 16;
  }
  for (; k < kmax; k++) {
    a_0 = A[0 + lda * 0];
    a_1 = A[1 + lda * 0];
    a_2 = A[2 + lda * 0];
    a_3 = A[3 + lda * 0];
    b_0 = B[0 + ldb * 0];
    b_1 = B[1 + ldb * 0];
    b_2 = B[2 + ldb * 0];
    b_3 = B[3 + ldb * 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_11 += a_1 * b_1;
    c_21 += a_2 * b_1;
    c_31 += a_3 * b_1;
    c_22 += a_2 * b_2;
    c_32 += a_3 * b_2;
    c_33 += a_3 * b_3;
    A += 4;
    B += 4;
  }
  double d_00, d_10, d_11, d_20, d_21, d_22, d_30, d_31, d_32, d_33;
  if (alg == 0) {
    D[0 + ldc * 0] = c_00;
    D[1 + ldc * 0] = c_10;
    D[2 + ldc * 0] = c_20;
    D[3 + ldc * 0] = c_30;
    D[1 + ldc * 1] = c_11;
    D[2 + ldc * 1] = c_21;
    D[3 + ldc * 1] = c_31;
    D[2 + ldc * 2] = c_22;
    D[3 + ldc * 2] = c_32;
    D[3 + ldc * 3] = c_33;
  } else {
    d_00 = C[0 + ldc * 0];
    d_10 = C[1 + ldc * 0];
    d_20 = C[2 + ldc * 0];
    d_30 = C[3 + ldc * 0];
    d_11 = C[1 + ldc * 1];
    d_21 = C[2 + ldc * 1];
    d_31 = C[3 + ldc * 1];
    d_22 = C[2 + ldc * 2];
    d_32 = C[3 + ldc * 2];
    d_33 = C[3 + ldc * 3];
    if (alg == 1) {
      d_00 += c_00;
      d_10 += c_10;
      d_20 += c_20;
      d_30 += c_30;
      d_11 += c_11;
      d_21 += c_21;
      d_31 += c_31;
      d_22 += c_22;
      d_32 += c_32;
      d_33 += c_33;
    } else {
      d_00 -= c_00;
      d_10 -= c_10;
      d_20 -= c_20;
      d_30 -= c_30;
      d_11 -= c_11;
      d_21 -= c_21;
      d_31 -= c_31;
      d_22 -= c_22;
      d_32 -= c_32;
      d_33 -= c_33;
    }
    D[0 + ldc * 0] = d_00;
    D[1 + ldc * 0] = d_10;
    D[2 + ldc * 0] = d_20;
    D[3 + ldc * 0] = d_30;
    D[1 + ldc * 1] = d_11;
    D[2 + ldc * 1] = d_21;
    D[3 + ldc * 1] = d_31;
    D[2 + ldc * 2] = d_22;
    D[3 + ldc * 2] = d_32;
    D[3 + ldc * 3] = d_33;
  }
}
```