user: 请从给定的汇编指令推导出C源代码:

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

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;
  }
}
```