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

```asm
<doubles_xytcov_inv>:
  endbr64
  push   %r13
  mov    %rdx,%r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %rcx,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x58,%rsp
  movsd  (%rdi),%xmm3
  movsd  0x8(%rdi),%xmm4
  movsd  0x10(%r12),%xmm0
  lea    0x48(%rsp),%rdi
  lea    0x40(%rsp),%rsi
  movsd  %xmm3,0x8(%rsp)
  movsd  %xmm4,(%rsp)
  call   <sincos@plt>
  movsd  0x40(%rsp),%xmm0
  movsd  (%rsp),%xmm4
  movq   D7(%rip),%xmm11
  movsd  0x8(%rsp),%xmm3
  movsd  0x48(%rsp),%xmm6
  movapd %xmm0,%xmm2
  movapd %xmm4,%xmm5
  movsd  (%rbx),%xmm9
  xorpd  %xmm11,%xmm2
  movapd %xmm3,%xmm7
  movsd  0x20(%rbx),%xmm8
  movsd  0x40(%rbx),%xmm13
  mulsd  %xmm6,%xmm7
  movapd %xmm6,%xmm1
  movsd  %xmm9,0x30(%rsp)
  movapd %xmm9,%xmm10
  mulsd  %xmm2,%xmm5
  xorpd  %xmm11,%xmm1
  movapd %xmm8,%xmm9
  movsd  %xmm8,0x38(%rsp)
  mulsd  %xmm6,%xmm4
  movapd %xmm1,%xmm8
  mulsd  %xmm0,%xmm3
  movsd  0x8(%rbx),%xmm0
  mulsd  %xmm2,%xmm10
  mulsd  %xmm1,%xmm9
  movapd %xmm0,%xmm15
  addsd  %xmm7,%xmm5
  movsd  0x28(%rbx),%xmm7
  addsd  %xmm0,%xmm15
  movapd %xmm4,%xmm12
  movsd  %xmm4,0x8(%rsp)
  mulsd  %xmm7,%xmm8
  addsd  %xmm3,%xmm12
  movsd  %xmm3,0x10(%rsp)
  movapd %xmm7,%xmm4
  movsd  0x10(%rbx),%xmm3
  movsd  %xmm15,0x18(%rsp)
  movapd %xmm5,%xmm15
  addsd  %xmm7,%xmm4
  movsd  %xmm13,0x40(%rbp)
  mulsd  %xmm3,%xmm15
  movapd %xmm3,%xmm14
  movsd  %xmm4,0x20(%rsp)
  movapd %xmm2,%xmm4
  addsd  %xmm3,%xmm14
  movsd  %xmm8,0x28(%rsp)
  mulsd  %xmm3,%xmm4
  movapd %xmm1,%xmm8
  mulsd  %xmm0,%xmm8
  mulsd  %xmm2,%xmm0
  movsd  %xmm14,(%rsp)
  movapd %xmm5,%xmm14
  mulsd  %xmm1,%xmm3
  mulsd  %xmm13,%xmm14
  addsd  %xmm10,%xmm8
  mulsd  %xmm2,%xmm10
  addsd  %xmm9,%xmm0
  mulsd  %xmm1,%xmm9
  addsd  %xmm15,%xmm8
  movapd %xmm5,%xmm15
  mulsd  %xmm7,%xmm15
  mulsd  %xmm2,%xmm7
  mulsd  %xmm6,%xmm8
  addsd  %xmm15,%xmm0
  movsd  0x28(%rsp),%xmm15
  subsd  %xmm7,%xmm3
  mulsd  %xmm2,%xmm0
  addsd  %xmm8,%xmm0
  movapd %xmm15,%xmm8
  addsd  %xmm4,%xmm8
  xorpd  %xmm11,%xmm4
  subsd  %xmm15,%xmm4
  movsd  0x18(%rsp),%xmm15
  movapd %xmm15,%xmm7
  addsd  %xmm14,%xmm8
  mulsd  %xmm2,%xmm7
  subsd  %xmm14,%xmm4
  mulsd  %xmm5,%xmm14
  mulsd  %xmm12,%xmm8
  mulsd  %xmm1,%xmm7
  addsd  %xmm8,%xmm0
  movapd %xmm12,%xmm8
  mulsd  %xmm13,%xmm8
  addsd  %xmm7,%xmm10
  movsd  (%rsp),%xmm7
  mulsd  %xmm2,%xmm7
  subsd  %xmm8,%xmm3
  mulsd  %xmm12,%xmm8
  mulsd  %xmm5,%xmm7
  addsd  %xmm10,%xmm7
  movsd  0x20(%rsp),%xmm10
  mulsd  %xmm10,%xmm1
  addsd  %xmm7,%xmm9
  mulsd  %xmm5,%xmm1
  addsd  %xmm9,%xmm1
  addsd  %xmm14,%xmm1
  unpcklpd %xmm0,%xmm1
  movups %xmm1,0x0(%rbp)
  movapd %xmm4,%xmm1
  unpcklpd %xmm3,%xmm4
  unpcklpd %xmm0,%xmm1
  movsd  0x30(%rsp),%xmm0
  movups %xmm4,0x30(%rbp)
  movups %xmm1,0x10(%rbp)
  movapd %xmm15,%xmm1
  mulsd  %xmm6,%xmm0
  mulsd  %xmm6,%xmm1
  mulsd  %xmm6,%xmm0
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm0
  movsd  (%rsp),%xmm1
  mulsd  %xmm6,%xmm1
  mulsd  %xmm12,%xmm1
  addsd  %xmm1,%xmm0
  movsd  0x38(%rsp),%xmm1
  mulsd  %xmm2,%xmm1
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm0
  movapd %xmm10,%xmm1
  mulsd  %xmm2,%xmm1
  mulsd  %xmm12,%xmm1
  addsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm8
  movsd  0x8(%rsp),%xmm0
  xorpd  %xmm11,%xmm0
  unpcklpd %xmm3,%xmm8
  movups %xmm8,0x20(%rbp)
  subsd  0x10(%rsp),%xmm0
  movsd  %xmm5,0x8(%r13)
  movsd  %xmm0,0x0(%r13)
  movsd  0x10(%r12),%xmm0
  xorpd  %xmm11,%xmm0
  movsd  %xmm0,0x10(%r13)
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D7
datatype: f32[2]

tool: {"D7": [0.0,-0.0]}

assistant: ```c
void doubles_xytcov_inv(const double xyta[3], const double Ca[9], double xytr[3], double Cr[9]) {
  double x = xyta[0], y = xyta[1], theta = xyta[2];
  double s = sin(theta), c = cos(theta);
  double J11 = -c, J12 = -s, J13 = -c * y + s * x;
  double J21 = s, J22 = -c, J23 = s * y + c * x;
  double P11 = Ca[0], P12 = Ca[1], P13 = Ca[2];
  double P22 = Ca[4], P23 = Ca[5];
  double P33 = Ca[8];
  Cr[0] = P11 * J11 * J11 + 2 * P12 * J11 * J12 + 2 * P13 * J11 * J13 + P22 * J12 * J12 + 2 * P23 * J12 * J13 + P33 * J13 * J13;
  Cr[1] = J21 * (J11 * P11 + J12 * P12 + J13 * P13) + J22 * (J11 * P12 + J12 * P22 + J13 * P23) + J23 * (J11 * P13 + J12 * P23 + J13 * P33);
  Cr[2] = -J11 * P13 - J12 * P23 - J13 * P33;
  Cr[3] = Cr[1];
  Cr[4] = P11 * J21 * J21 + 2 * P12 * J21 * J22 + 2 * P13 * J21 * J23 + P22 * J22 * J22 + 2 * P23 * J22 * J23 + P33 * J23 * J23;
  Cr[5] = -J21 * P13 - J22 * P23 - J23 * P33;
  Cr[6] = Cr[2];
  Cr[7] = Cr[5];
  Cr[8] = P33;
  xytr[0] = -s * y - c * x;
  xytr[1] = -c * y + s * x;
  xytr[2] = -xyta[2];
}
```