user: What is the c source code of the assembly code below?

```asm
<kernel_dtrsm_nn_ru_2x2_vs_lib4>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%r11d
  mov    %esi,%r10d
  mov    0x38(%rsp),%r12
  mov    0x40(%rsp),%rbx
  mov    0x48(%rsp),%r13
  mov    0x58(%rsp),%r14
  test   %edx,%edx
  jle    L107
  mov    %edx,%edi
  mov    %rcx,%rax
  cmp    $0x3,%edx
  jle    L65
  shl    $0x2,%r9d
  movslq %r9d,%rsi
  shl    $0x3,%rsi
  lea    -0x4(%rdx),%r9d
  shr    $0x2,%r9d
  lea    0x1(%r9),%ebp
  mov    %ebp,%ebp
  mov    %rbp,%rcx
  shl    $0x7,%rcx
  add    %rax,%rcx
  mov    %r8,%rdx
  pxor   %xmm1,%xmm1
  movapd %xmm1,%xmm6
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm0
L85:
  movsd  (%rax),%xmm4
  movsd  0x8(%rax),%xmm3
  movsd  (%rdx),%xmm5
  movsd  0x20(%rdx),%xmm7
  movapd %xmm4,%xmm8
  mulsd  %xmm5,%xmm8
  subsd  %xmm8,%xmm0
  mulsd  %xmm3,%xmm5
  subsd  %xmm5,%xmm6
  mulsd  %xmm7,%xmm4
  subsd  %xmm4,%xmm2
  mulsd  %xmm7,%xmm3
  subsd  %xmm3,%xmm1
  movsd  0x20(%rax),%xmm4
  movsd  0x28(%rax),%xmm3
  movsd  0x8(%rdx),%xmm5
  movsd  0x28(%rdx),%xmm7
  movapd %xmm4,%xmm8
  mulsd  %xmm5,%xmm8
  subsd  %xmm8,%xmm0
  mulsd  %xmm3,%xmm5
  subsd  %xmm5,%xmm6
  mulsd  %xmm7,%xmm4
  subsd  %xmm4,%xmm2
  mulsd  %xmm7,%xmm3
  subsd  %xmm3,%xmm1
  movsd  0x40(%rax),%xmm4
  movsd  0x48(%rax),%xmm3
  movsd  0x10(%rdx),%xmm5
  movsd  0x30(%rdx),%xmm7
  movapd %xmm4,%xmm8
  mulsd  %xmm5,%xmm8
  subsd  %xmm8,%xmm0
  mulsd  %xmm3,%xmm5
  subsd  %xmm5,%xmm6
  mulsd  %xmm7,%xmm4
  subsd  %xmm4,%xmm2
  mulsd  %xmm7,%xmm3
  subsd  %xmm3,%xmm1
  movsd  0x60(%rax),%xmm4
  movsd  0x68(%rax),%xmm3
  movsd  0x18(%rdx),%xmm5
  movsd  0x38(%rdx),%xmm7
  movapd %xmm4,%xmm8
  mulsd  %xmm5,%xmm8
  subsd  %xmm8,%xmm0
  mulsd  %xmm3,%xmm5
  subsd  %xmm5,%xmm6
  mulsd  %xmm7,%xmm4
  subsd  %xmm4,%xmm2
  mulsd  %xmm7,%xmm3
  subsd  %xmm3,%xmm1
  sub    $0xffffffffffffff80,%rax
  add    %rsi,%rdx
  cmp    %rcx,%rax
  jne    L85
  imul   %rbp,%rsi
  add    %rsi,%r8
  lea    0x4(,%r9,4),%eax
  cmp    %eax,%edi
  jle    L30
L102:
  movsd  (%rcx),%xmm4
  movsd  0x8(%rcx),%xmm3
  movsd  (%r8),%xmm5
  movsd  0x20(%r8),%xmm7
  movapd %xmm4,%xmm8
  mulsd  %xmm5,%xmm8
  subsd  %xmm8,%xmm0
  mulsd  %xmm3,%xmm5
  subsd  %xmm5,%xmm6
  mulsd  %xmm7,%xmm4
  subsd  %xmm4,%xmm2
  mulsd  %xmm7,%xmm3
  subsd  %xmm3,%xmm1
  add    $0x20,%rcx
  add    $0x8,%r8
  add    $0x1,%eax
  cmp    %eax,%edi
  jg     L102
L30:
  cmpl   $0x0,0x30(%rsp)
  je     L86
  addsd  (%r12),%xmm0
  addsd  0x8(%r12),%xmm6
  addsd  0x20(%r12),%xmm2
  addsd  0x28(%r12),%xmm1
L86:
  cmpl   $0x0,0x50(%rsp)
  je     L128
  movsd  (%r14),%xmm3
  mulsd  %xmm3,%xmm0
  mulsd  %xmm3,%xmm6
  movsd  %xmm0,(%rbx)
  cmp    $0x1,%r11d
  jle    L96
  movsd  %xmm6,0x8(%rbx)
  cmp    $0x1,%r10d
  jle    L154
  movsd  0x20(%r13),%xmm4
  movsd  0x8(%r14),%xmm3
  mulsd  %xmm4,%xmm0
  subsd  %xmm0,%xmm2
  mulsd  %xmm4,%xmm6
  subsd  %xmm6,%xmm1
  mulsd  %xmm3,%xmm2
  movsd  %xmm2,0x20(%rbx)
  mulsd  %xmm3,%xmm1
  movsd  %xmm1,0x28(%rbx)
L154:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L65:
  pxor   %xmm1,%xmm1
  movapd %xmm1,%xmm6
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm0
  mov    $0x0,%eax
  jmp    L102
L107:
  pxor   %xmm1,%xmm1
  movapd %xmm1,%xmm6
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm0
  jmp    L30
L96:
  cmp    $0x1,%r10d
  jle    L154
  mulsd  0x20(%r13),%xmm0
  subsd  %xmm0,%xmm2
  mulsd  0x8(%r14),%xmm2
  movsd  %xmm2,0x20(%rbx)
  jmp    L154
L128:
  movsd  D25(%rip),%xmm3
  divsd  0x0(%r13),%xmm3
  mulsd  %xmm3,%xmm0
  mulsd  %xmm3,%xmm6
  movsd  %xmm0,(%rbx)
  cmp    $0x1,%r11d
  jle    L127
  movsd  %xmm6,0x8(%rbx)
  cmp    $0x1,%r10d
  jle    L154
  movsd  0x20(%r13),%xmm4
  movsd  D25(%rip),%xmm3
  divsd  0x28(%r13),%xmm3
  mulsd  %xmm4,%xmm0
  subsd  %xmm0,%xmm2
  mulsd  %xmm6,%xmm4
  subsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm2
  movsd  %xmm2,0x20(%rbx)
  mulsd  %xmm1,%xmm3
  movsd  %xmm3,0x28(%rbx)
  jmp    L154
L127:
  cmp    $0x1,%r10d
  jle    L154
  mulsd  0x20(%r13),%xmm0
  subsd  %xmm0,%xmm2
  movsd  D25(%rip),%xmm0
  divsd  0x28(%r13),%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,0x20(%rbx)
  jmp    L154
```

tool_calls: name: parse_data
arguments: tag: D25
data_type: f64

tool: D25: 1

assistant: ```c
void kernel_dtrsm_nn_ru_2x2_vs_lib4(int km, int kn, int kmax, double *A, double *B, int sdb, int alg, double *C, double *D, double *E, int use_inv_diag_E, double *inv_diag_E) {
  const int bs = 4;
  int k;
  double tmp, a_0, a_1, b_0, b_1, e_00, e_01, e_11, d_00 = 0, d_01 = 0, d_10 = 0, d_11 = 0;
  if (kmax <= 0)
    goto add;
  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];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    a_0 = A[0 + bs * 1];
    a_1 = A[1 + bs * 1];
    b_0 = B[1 + bs * 0];
    b_1 = B[1 + bs * 1];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    a_0 = A[0 + bs * 2];
    a_1 = A[1 + bs * 2];
    b_0 = B[2 + bs * 0];
    b_1 = B[2 + bs * 1];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    a_0 = A[0 + bs * 3];
    a_1 = A[1 + bs * 3];
    b_0 = B[3 + bs * 0];
    b_1 = B[3 + bs * 1];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    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];
    d_00 -= a_0 * b_0;
    d_10 -= a_1 * b_0;
    d_01 -= a_0 * b_1;
    d_11 -= a_1 * b_1;
    A += 4;
    B += 1;
  }
add:
  if (alg != 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];
  }
  if (use_inv_diag_E) {
    e_00 = inv_diag_E[0];
    d_00 *= e_00;
    d_10 *= e_00;
    D[0 + bs * 0] = d_00;
    if (km >= 2)
      D[1 + bs * 0] = d_10;
    if (kn < 2)
      return;
    e_01 = E[0 + bs * 1];
    e_11 = inv_diag_E[1];
    d_01 -= d_00 * e_01;
    d_11 -= d_10 * e_01;
    d_01 *= e_11;
    d_11 *= e_11;
    D[0 + bs * 1] = d_01;
    if (km >= 2)
      D[1 + bs * 1] = d_11;
  } else {
    e_00 = 1.0 / E[0 + bs * 0];
    d_00 *= e_00;
    d_10 *= e_00;
    D[0 + bs * 0] = d_00;
    if (km >= 2)
      D[1 + bs * 0] = d_10;
    if (kn < 2)
      return;
    e_01 = E[0 + bs * 1];
    e_11 = 1.0 / E[1 + bs * 1];
    d_01 -= d_00 * e_01;
    d_11 -= d_10 * e_01;
    d_01 *= e_11;
    d_11 *= e_11;
    D[0 + bs * 1] = d_01;
    if (km >= 2)
      D[1 + bs * 1] = d_11;
  }
  return;
}
```