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

```asm
<dmat_scale_add_2x2>:
  endbr64
  push   %r15
  ucomisd D0(%rip),%xmm0
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdx,-0x20(%rsp)
  movslq 0x68(%rsp),%rdx
  mov    %rdi,-0x30(%rsp)
  mov    %rsi,-0x28(%rsp)
  mov    %rcx,-0x18(%rsp)
  mov    %r8,-0x10(%rsp)
  mov    %r9,-0x8(%rsp)
  jp     L18
  jne    L18
  test   %edx,%edx
  jle    L102
  xor    %ecx,%ecx
  nop
L116:
  mov    -0x30(%rsp),%rax
  mov    (%rax,%rcx,8),%r15
  mov    -0x10(%rsp),%rax
  mov    (%rax,%rcx,8),%r14
  mov    0x48(%rsp),%rax
  mov    (%rax,%rcx,8),%r13
  mov    -0x28(%rsp),%rax
  mov    (%rax,%rcx,8),%r12
  mov    -0x8(%rsp),%rax
  mov    (%rax,%rcx,8),%rbp
  mov    0x50(%rsp),%rax
  mov    (%rax,%rcx,8),%rbx
  mov    -0x20(%rsp),%rax
  mov    (%rax,%rcx,8),%r11
  mov    0x38(%rsp),%rax
  mov    (%rax,%rcx,8),%r10
  mov    0x58(%rsp),%rax
  mov    (%rax,%rcx,8),%r9
  mov    -0x18(%rsp),%rax
  mov    (%rax,%rcx,8),%r8
  mov    0x40(%rsp),%rax
  mov    (%rax,%rcx,8),%rdi
  mov    0x60(%rsp),%rax
  mov    (%rax,%rcx,8),%rsi
  xor    %eax,%eax
  xchg   %ax,%ax
L63:
  movsd  (%r15,%rax,8),%xmm0
  addsd  (%r14,%rax,8),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  movsd  (%r12,%rax,8),%xmm0
  addsd  0x0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  movsd  (%r11,%rax,8),%xmm0
  addsd  (%r10,%rax,8),%xmm0
  movsd  %xmm0,(%r9,%rax,8)
  movsd  (%r8,%rax,8),%xmm0
  addsd  (%rdi,%rax,8),%xmm0
  movsd  %xmm0,(%rsi,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%rdx
  jne    L63
  add    $0x1,%rcx
  cmp    %rcx,%rdx
  jne    L116
L102:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L18:
  ucomisd D14(%rip),%xmm0
  jp     L117
  je     L47
L117:
  test   %edx,%edx
  jle    L102
  xor    %ecx,%ecx
  cs nopw 0x0(%rax,%rax,1)
L60:
  mov    -0x30(%rsp),%rax
  mov    (%rax,%rcx,8),%r15
  mov    -0x10(%rsp),%rax
  mov    (%rax,%rcx,8),%r14
  mov    0x48(%rsp),%rax
  mov    (%rax,%rcx,8),%r13
  mov    -0x28(%rsp),%rax
  mov    (%rax,%rcx,8),%r12
  mov    -0x8(%rsp),%rax
  mov    (%rax,%rcx,8),%rbp
  mov    0x50(%rsp),%rax
  mov    (%rax,%rcx,8),%rbx
  mov    -0x20(%rsp),%rax
  mov    (%rax,%rcx,8),%r11
  mov    0x38(%rsp),%rax
  mov    (%rax,%rcx,8),%r10
  mov    0x58(%rsp),%rax
  mov    (%rax,%rcx,8),%r9
  mov    -0x18(%rsp),%rax
  mov    (%rax,%rcx,8),%r8
  mov    0x40(%rsp),%rax
  mov    (%rax,%rcx,8),%rdi
  mov    0x60(%rsp),%rax
  mov    (%rax,%rcx,8),%rsi
  xor    %eax,%eax
  xchg   %ax,%ax
L77:
  movsd  (%r14,%rax,8),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%r15,%rax,8),%xmm1
  movsd  %xmm1,0x0(%r13,%rax,8)
  movsd  0x0(%rbp,%rax,8),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%r12,%rax,8),%xmm1
  movsd  %xmm1,(%rbx,%rax,8)
  movsd  (%r10,%rax,8),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%r11,%rax,8),%xmm1
  movsd  %xmm1,(%r9,%rax,8)
  movsd  (%rdi,%rax,8),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%r8,%rax,8),%xmm1
  movsd  %xmm1,(%rsi,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%rdx
  jne    L77
  add    $0x1,%rcx
  cmp    %rcx,%rdx
  jne    L60
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L47:
  test   %edx,%edx
  jle    L102
  xor    %ecx,%ecx
  nopl   0x0(%rax)
L27:
  mov    -0x30(%rsp),%rax
  mov    (%rax,%rcx,8),%r15
  mov    -0x10(%rsp),%rax
  mov    (%rax,%rcx,8),%r14
  mov    0x48(%rsp),%rax
  mov    (%rax,%rcx,8),%r13
  mov    -0x28(%rsp),%rax
  mov    (%rax,%rcx,8),%r12
  mov    -0x8(%rsp),%rax
  mov    (%rax,%rcx,8),%rbp
  mov    0x50(%rsp),%rax
  mov    (%rax,%rcx,8),%rbx
  mov    -0x20(%rsp),%rax
  mov    (%rax,%rcx,8),%r11
  mov    0x38(%rsp),%rax
  mov    (%rax,%rcx,8),%r10
  mov    0x58(%rsp),%rax
  mov    (%rax,%rcx,8),%r9
  mov    -0x18(%rsp),%rax
  mov    (%rax,%rcx,8),%r8
  mov    0x40(%rsp),%rax
  mov    (%rax,%rcx,8),%rdi
  mov    0x60(%rsp),%rax
  mov    (%rax,%rcx,8),%rsi
  xor    %eax,%eax
  cs nopw 0x0(%rax,%rax,1)
L80:
  movsd  (%r15,%rax,8),%xmm0
  subsd  (%r14,%rax,8),%xmm0
  movsd  %xmm0,0x0(%r13,%rax,8)
  movsd  (%r12,%rax,8),%xmm0
  subsd  0x0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
  movsd  (%r11,%rax,8),%xmm0
  subsd  (%r10,%rax,8),%xmm0
  movsd  %xmm0,(%r9,%rax,8)
  movsd  (%r8,%rax,8),%xmm0
  subsd  (%rdi,%rax,8),%xmm0
  movsd  %xmm0,(%rsi,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%rdx
  jne    L80
  add    $0x1,%rcx
  cmp    %rcx,%rdx
  jne    L27
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: label: D0
data_type: f64
name: parse_data
arguments: label: D14
data_type: byte[8]

tool: D0: 1

tool: {"D14": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0xbf]}

assistant: ```c
void dmat_scale_add_2x2(double **a11, double **a12, double **a21, double **a22, double **b11, double **b12, double **b21, double **b22, double **P11, double **P12, double **P21, double **P22, double alpha, int n) {
  int i;
  int j;
  if (alpha == 1.) {
    for (i = 0; i < n; ++i) {
      for (j = 0; j < n; ++j) {
        P11[i][j] = a11[i][j] + b11[i][j];
        P12[i][j] = a12[i][j] + b12[i][j];
        P21[i][j] = a21[i][j] + b21[i][j];
        P22[i][j] = a22[i][j] + b22[i][j];
      }
    }
  } else if (alpha == -1.) {
    for (i = 0; i < n; ++i) {
      for (j = 0; j < n; ++j) {
        P11[i][j] = a11[i][j] - b11[i][j];
        P12[i][j] = a12[i][j] - b12[i][j];
        P21[i][j] = a21[i][j] - b21[i][j];
        P22[i][j] = a22[i][j] - b22[i][j];
      }
    }
  } else {
    for (i = 0; i < n; ++i) {
      for (j = 0; j < n; ++j) {
        P11[i][j] = a11[i][j] + b11[i][j] * alpha;
        P12[i][j] = a12[i][j] + b12[i][j] * alpha;
        P21[i][j] = a21[i][j] + b21[i][j] * alpha;
        P22[i][j] = a22[i][j] + b22[i][j] * alpha;
      }
    }
  }
}
```