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

```asm
<kernel_dtrsm_nn_ru_2x2_vs_lib4>:
  endbr64
  push   %r13
  mov    %edi,%r10d
  mov    %esi,%r11d
  push   %r12
  push   %rbp
  push   %rbx
  mov    0x30(%rsp),%r13
  mov    0x38(%rsp),%rbp
  mov    0x40(%rsp),%r12
  test   %edx,%edx
  jle    L8
  mov    %edx,%ebx
  mov    %rcx,%rdi
  cmp    $0x3,%edx
  jle    L3
  shl    $0x2,%r9d
  lea    -0x4(%rdx),%edx
  movslq %r9d,%rcx
  mov    %edx,%eax
  shl    $0x3,%rcx
  shr    $0x2,%eax
  cmp    $0x3,%edx
  jbe    L44
  pxor   %xmm0,%xmm0
  mov    %rdi,%rsi
  mov    %r8,%rdx
  xor    %r9d,%r9d
  movapd %xmm0,%xmm3
  nopw   0x0(%rax,%rax,1)
L15:
  movupd (%rsi),%xmm6
  movupd (%rdx),%xmm7
  add    $0x1,%r9d
  sub    $0xffffffffffffff80,%rsi
  movupd 0x20(%rdx),%xmm5
  movlpd 0x28(%rdx),%xmm7
  unpckhpd %xmm6,%xmm6
  movupd 0x30(%rdx),%xmm4
  movupd 0x10(%rdx),%xmm2
  movhpd (%rdx),%xmm5
  movlpd 0x38(%rdx),%xmm2
  mulpd  %xmm5,%xmm6
  movhpd 0x10(%rdx),%xmm4
  add    %rcx,%rdx
  subpd  %xmm6,%xmm3
  movupd -0x20(%rsi),%xmm6
  unpckhpd %xmm6,%xmm6
  mulpd  %xmm2,%xmm6
  movapd %xmm3,%xmm1
  movupd -0x60(%rsi),%xmm3
  unpckhpd %xmm3,%xmm3
  mulpd  %xmm7,%xmm3
  subpd  %xmm3,%xmm1
  movupd -0x40(%rsi),%xmm3
  unpckhpd %xmm3,%xmm3
  mulpd  %xmm4,%xmm3
  subpd  %xmm3,%xmm1
  subpd  %xmm6,%xmm1
  movapd %xmm1,%xmm3
  movupd -0x80(%rsi),%xmm1
  unpcklpd %xmm1,%xmm1
  mulpd  %xmm5,%xmm1
  subpd  %xmm1,%xmm0
  movupd -0x60(%rsi),%xmm1
  unpcklpd %xmm1,%xmm1
  mulpd  %xmm7,%xmm1
  subpd  %xmm1,%xmm0
  movupd -0x40(%rsi),%xmm1
  unpcklpd %xmm1,%xmm1
  mulpd  %xmm4,%xmm1
  subpd  %xmm1,%xmm0
  movupd -0x20(%rsi),%xmm1
  unpcklpd %xmm1,%xmm1
  mulpd  %xmm2,%xmm1
  subpd  %xmm1,%xmm0
  cmp    %r9d,%eax
  ja     L15
  mov    %eax,%edx
  movapd %xmm3,%xmm2
  mov    %rdx,%rsi
  imul   %rcx,%rdx
  unpckhpd %xmm2,%xmm2
  movapd %xmm2,%xmm5
  shl    $0x7,%rsi
  movapd %xmm0,%xmm2
  unpckhpd %xmm0,%xmm0
  unpcklpd %xmm3,%xmm2
  add    %rdi,%rsi
  add    %r8,%rdx
L54:
  movupd (%rsi),%xmm10
  movsd  (%rdx),%xmm7
  movupd 0x20(%rsi),%xmm8
  movupd 0x20(%rdx),%xmm4
  movapd %xmm10,%xmm1
  movapd %xmm10,%xmm6
  movupd 0x30(%rdx),%xmm3
  mulsd  %xmm7,%xmm1
  unpckhpd %xmm6,%xmm6
  movapd %xmm4,%xmm9
  mulsd  %xmm7,%xmm6
  movapd %xmm8,%xmm7
  unpcklpd %xmm4,%xmm9
  mulpd  %xmm10,%xmm9
  unpckhpd %xmm7,%xmm7
  unpckhpd %xmm4,%xmm4
  mulpd  %xmm8,%xmm4
  subsd  %xmm1,%xmm0
  movapd %xmm5,%xmm1
  movapd %xmm8,%xmm5
  subsd  %xmm6,%xmm1
  movsd  0x8(%rdx),%xmm6
  subpd  %xmm9,%xmm2
  mulsd  %xmm6,%xmm5
  subpd  %xmm4,%xmm2
  movapd %xmm3,%xmm4
  unpcklpd %xmm3,%xmm4
  unpckhpd %xmm3,%xmm3
  subsd  %xmm5,%xmm0
  movapd %xmm7,%xmm5
  movupd 0x40(%rsi),%xmm7
  mulsd  %xmm6,%xmm5
  movsd  0x10(%rdx),%xmm6
  mulpd  %xmm7,%xmm4
  subsd  %xmm5,%xmm1
  movapd %xmm7,%xmm5
  mulsd  %xmm6,%xmm5
  subpd  %xmm4,%xmm2
  subsd  %xmm5,%xmm0
  movapd %xmm7,%xmm5
  unpckhpd %xmm5,%xmm5
  mulsd  %xmm6,%xmm5
  movsd  0x18(%rdx),%xmm6
  lea    0x1(%rax),%edx
  imul   %rdx,%rcx
  mov    %rdx,%rax
  shl    $0x2,%eax
  add    %rcx,%r8
  subsd  %xmm5,%xmm1
  movupd 0x60(%rsi),%xmm5
  mov    %rdx,%rsi
  shl    $0x7,%rsi
  mulpd  %xmm5,%xmm3
  add    %rsi,%rdi
  subpd  %xmm3,%xmm2
  movapd %xmm5,%xmm3
  unpckhpd %xmm5,%xmm5
  mulsd  %xmm6,%xmm3
  subsd  %xmm3,%xmm0
  movapd %xmm5,%xmm3
  mulsd  %xmm6,%xmm3
  subsd  %xmm3,%xmm1
  cmp    %eax,%ebx
  jle    L97
L67:
  mov    %ebx,%ecx
  mov    $0x1,%edx
  sub    %eax,%ecx
  cmp    %ebx,%eax
  cmovl  %ecx,%edx
  sub    $0x1,%ecx
  cmp    $0x1,%ecx
  jbe    L105
  cmp    %ebx,%eax
  jge    L105
  movupd (%rdi),%xmm3
  movupd 0x20(%rdi),%xmm4
  sub    $0x1,%edx
  movupd 0x30(%rdi),%xmm5
  movlpd 0x28(%rdi),%xmm5
  and    $0xfffffffe,%edx
  movhpd 0x30(%rdi),%xmm4
  movhpd 0x10(%rdi),%xmm3
  mov    %edx,%ecx
  add    %edx,%eax
  unpcklpd %xmm4,%xmm3
  movupd 0x10(%rdi),%xmm4
  movlpd 0x8(%rdi),%xmm4
  mov    %rcx,%rsi
  movupd 0x20(%r8),%xmm7
  shl    $0x5,%rsi
  unpcklpd %xmm5,%xmm4
  movupd (%r8),%xmm5
  add    %rsi,%rdi
  mulpd  %xmm3,%xmm5
  mulpd  %xmm7,%xmm3
  subsd  %xmm5,%xmm0
  unpckhpd %xmm5,%xmm5
  subsd  %xmm5,%xmm0
  movupd (%r8),%xmm5
  lea    (%r8,%rcx,8),%r8
  mulpd  %xmm4,%xmm5
  mulpd  %xmm7,%xmm4
  subsd  %xmm5,%xmm1
  unpckhpd %xmm5,%xmm5
  subsd  %xmm5,%xmm1
  movapd %xmm3,%xmm5
  unpckhpd %xmm4,%xmm3
  unpcklpd %xmm4,%xmm5
  subpd  %xmm5,%xmm2
  subpd  %xmm3,%xmm2
L105:
  movsd  0x20(%r8),%xmm3
  movupd (%rdi),%xmm7
  add    $0x1,%eax
  movsd  (%r8),%xmm4
  unpcklpd %xmm3,%xmm3
  mulpd  %xmm7,%xmm3
  subpd  %xmm3,%xmm2
  movapd %xmm7,%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm0
  movsd  0x8(%rdi),%xmm3
  mulsd  %xmm4,%xmm3
  subsd  %xmm3,%xmm1
  cmp    %eax,%ebx
  jle    L97
  movsd  0x28(%r8),%xmm4
  movupd 0x20(%rdi),%xmm3
  movsd  0x8(%r8),%xmm5
  unpcklpd %xmm4,%xmm4
  mulpd  %xmm3,%xmm4
  subpd  %xmm4,%xmm2
  movapd %xmm3,%xmm4
  unpckhpd %xmm3,%xmm3
  mulsd  %xmm5,%xmm4
  mulsd  %xmm5,%xmm3
  subsd  %xmm4,%xmm0
  subsd  %xmm3,%xmm1
  xchg   %ax,%ax
L97:
  mov    0x28(%rsp),%edx
  test   %edx,%edx
  je     L100
  movupd 0x20(%r13),%xmm3
  addsd  0x0(%r13),%xmm0
  addsd  0x8(%r13),%xmm1
  addpd  %xmm3,%xmm2
L100:
  mov    0x48(%rsp),%eax
  movapd %xmm2,%xmm4
  test   %eax,%eax
  je     L108
  mov    0x50(%rsp),%rax
  movsd  (%rax),%xmm3
  mulsd  %xmm3,%xmm0
  movsd  %xmm0,0x0(%rbp)
  cmp    $0x1,%r10d
  jle    L37
  mulsd  %xmm3,%xmm1
  movsd  %xmm1,0x8(%rbp)
  cmp    $0x1,%r11d
  jle    L151
  movsd  0x20(%r12),%xmm3
  mulsd  %xmm3,%xmm0
  mulsd  %xmm3,%xmm1
  unpcklpd %xmm1,%xmm0
  subpd  %xmm0,%xmm2
  movsd  0x8(%rax),%xmm0
  unpcklpd %xmm0,%xmm0
  mulpd  %xmm0,%xmm2
  movups %xmm2,0x20(%rbp)
L151:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L37:
  cmp    $0x1,%r11d
  jle    L151
  mulsd  0x20(%r12),%xmm0
  subsd  %xmm0,%xmm4
  mulsd  0x8(%rax),%xmm4
  movsd  %xmm4,0x20(%rbp)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopw   0x0(%rax,%rax,1)
L108:
  movsd  D6(%rip),%xmm3
  movapd %xmm3,%xmm5
  divsd  (%r12),%xmm5
  mulsd  %xmm5,%xmm0
  movsd  %xmm0,0x0(%rbp)
  cmp    $0x1,%r10d
  jle    L171
  mulsd  %xmm5,%xmm1
  movsd  %xmm1,0x8(%rbp)
  cmp    $0x1,%r11d
  jle    L151
  movsd  0x20(%r12),%xmm4
  divsd  0x28(%r12),%xmm3
  unpcklpd %xmm3,%xmm3
  mulsd  %xmm4,%xmm0
  mulsd  %xmm4,%xmm1
  unpcklpd %xmm1,%xmm0
  subpd  %xmm0,%xmm2
  mulpd  %xmm3,%xmm2
  movups %xmm2,0x20(%rbp)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L8:
  pxor   %xmm1,%xmm1
  pxor   %xmm2,%xmm2
  movapd %xmm1,%xmm0
  jmp    L97
  nopl   0x0(%rax)
L171:
  cmp    $0x1,%r11d
  jle    L151
  mulsd  0x20(%r12),%xmm0
  divsd  0x28(%r12),%xmm3
  subsd  %xmm0,%xmm4
  mulsd  %xmm4,%xmm3
  movsd  %xmm3,0x20(%rbp)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L3:
  pxor   %xmm1,%xmm1
  pxor   %xmm2,%xmm2
  xor    %eax,%eax
  movapd %xmm1,%xmm0
  jmp    L67
L44:
  pxor   %xmm5,%xmm5
  mov    %r8,%rdx
  pxor   %xmm2,%xmm2
  mov    %rdi,%rsi
  movapd %xmm5,%xmm0
  jmp    L54
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D6
data_type: f64

tool: D6: 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;
}
```