user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<calcDistImgProjFullR>:
  endbr64
  mov    %rdi,%rax
  movsd  (%rax),%xmm9
  movsd  0x8(%rdx),%xmm11
  movsd  (%r8),%xmm4
  movsd  0x10(%rdx),%xmm5
  movsd  0x8(%r8),%xmm6
  movsd  0x18(%rdx),%xmm3
  movsd  0x10(%r8),%xmm2
  movapd %xmm4,%xmm1
  xorpd  D8(%rip),%xmm1
  mulsd  %xmm11,%xmm1
  movapd %xmm5,%xmm0
  mulsd  %xmm6,%xmm0
  subsd  %xmm0,%xmm1
  movapd %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  subsd  %xmm0,%xmm1
  movsd  (%rdx),%xmm0
  movapd %xmm4,%xmm10
  mulsd  %xmm0,%xmm10
  movapd %xmm5,%xmm7
  mulsd  %xmm2,%xmm7
  addsd  %xmm7,%xmm10
  movapd %xmm6,%xmm7
  mulsd  %xmm3,%xmm7
  subsd  %xmm7,%xmm10
  movapd %xmm6,%xmm13
  mulsd  %xmm0,%xmm13
  movapd %xmm4,%xmm7
  mulsd  %xmm3,%xmm7
  addsd  %xmm7,%xmm13
  movapd %xmm11,%xmm7
  mulsd  %xmm2,%xmm7
  subsd  %xmm7,%xmm13
  mulsd  %xmm0,%xmm2
  mulsd  %xmm11,%xmm6
  addsd  %xmm6,%xmm2
  mulsd  %xmm5,%xmm4
  subsd  %xmm4,%xmm2
  movapd %xmm2,%xmm12
  movapd %xmm11,%xmm4
  mulsd  %xmm1,%xmm4
  movapd %xmm0,%xmm2
  mulsd  %xmm10,%xmm2
  subsd  %xmm4,%xmm2
  movapd %xmm3,%xmm4
  mulsd  %xmm13,%xmm4
  subsd  %xmm4,%xmm2
  movapd %xmm5,%xmm4
  mulsd  %xmm12,%xmm4
  addsd  %xmm4,%xmm2
  addsd  (%rcx),%xmm2
  movapd %xmm3,%xmm4
  mulsd  %xmm1,%xmm4
  movapd %xmm0,%xmm6
  mulsd  %xmm12,%xmm6
  subsd  %xmm4,%xmm6
  movapd %xmm5,%xmm4
  mulsd  %xmm10,%xmm4
  subsd  %xmm4,%xmm6
  movapd %xmm11,%xmm4
  mulsd  %xmm13,%xmm4
  addsd  %xmm4,%xmm6
  addsd  0x10(%rcx),%xmm6
  movapd %xmm6,%xmm4
  mulsd  %xmm6,%xmm4
  movsd  D13(%rip),%xmm8
  movapd %xmm8,%xmm7
  divsd  %xmm4,%xmm7
  movapd %xmm2,%xmm4
  mulsd  %xmm2,%xmm4
  mulsd  %xmm7,%xmm4
  mulsd  %xmm1,%xmm5
  mulsd  %xmm13,%xmm0
  subsd  %xmm5,%xmm0
  movapd %xmm11,%xmm1
  mulsd  %xmm12,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  %xmm10,%xmm3
  movapd %xmm0,%xmm1
  addsd  %xmm3,%xmm1
  addsd  0x8(%rcx),%xmm1
  movapd %xmm1,%xmm5
  mulsd  %xmm1,%xmm5
  mulsd  %xmm7,%xmm5
  movapd %xmm4,%xmm0
  addsd  %xmm5,%xmm0
  movapd %xmm0,%xmm3
  mulsd  0x20(%rsi),%xmm3
  addsd  0x8(%rsi),%xmm3
  mulsd  %xmm0,%xmm3
  addsd  (%rsi),%xmm3
  mulsd  %xmm0,%xmm3
  addsd  %xmm8,%xmm3
  divsd  %xmm6,%xmm8
  movsd  0x10(%rsi),%xmm0
  mulsd  %xmm1,%xmm7
  movsd  0x18(%rsi),%xmm11
  movsd  D22(%rip),%xmm6
  movapd %xmm5,%xmm10
  mulsd  %xmm6,%xmm10
  addsd  %xmm4,%xmm10
  mulsd  %xmm0,%xmm10
  mulsd  %xmm3,%xmm1
  mulsd  %xmm8,%xmm1
  addsd  %xmm10,%xmm1
  movapd %xmm11,%xmm10
  addsd  %xmm11,%xmm10
  mulsd  %xmm2,%xmm10
  mulsd  %xmm7,%xmm10
  addsd  %xmm10,%xmm1
  addsd  %xmm0,%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  %xmm7,%xmm0
  mulsd  %xmm3,%xmm2
  movapd %xmm2,%xmm3
  mulsd  %xmm8,%xmm3
  addsd  %xmm3,%xmm0
  movapd %xmm4,%xmm2
  mulsd  %xmm6,%xmm2
  addsd  %xmm5,%xmm2
  mulsd  %xmm11,%xmm2
  addsd  %xmm2,%xmm0
  mulsd  %xmm9,%xmm0
  movapd %xmm1,%xmm2
  mulsd  0x20(%rax),%xmm2
  addsd  %xmm2,%xmm0
  addsd  0x8(%rax),%xmm0
  movsd  %xmm0,(%r9)
  mulsd  0x18(%rax),%xmm9
  mulsd  %xmm1,%xmm9
  addsd  0x10(%rax),%xmm9
  movsd  %xmm9,0x8(%r9)
  ret
```

tool_calls: name: read_data
arguments: data_tag: D8
datatype: byte[16]
name: read_data
arguments: data_tag: D13
datatype: f64
name: read_data
arguments: data_tag: D22
datatype: f64

tool: {"D8": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D13: 1

tool: D22: 3

assistant: ```c
void calcDistImgProjFullR(double a[5], double kc[5], double qr0[4], double t[3], double M[3], double n[2]) {
  double t1;
  double t11;
  double t13;
  double t17;
  double t2;
  double t22;
  double t27;
  double t3;
  double t30;
  double t31;
  double t37;
  double t38;
  double t39;
  double t40;
  double t46;
  double t47;
  double t48;
  double t49;
  double t5;
  double t58;
  double t6;
  double t60;
  double t62;
  double t64;
  double t67;
  double t8;
  double t82;
  double t9;
  {
    t1 = a[0];
    t2 = qr0[1];
    t3 = M[0];
    t5 = qr0[2];
    t6 = M[1];
    t8 = qr0[3];
    t9 = M[2];
    t11 = -t3 * t2 - t6 * t5 - t9 * t8;
    t13 = qr0[0];
    t17 = t13 * t3 + t5 * t9 - t6 * t8;
    t22 = t6 * t13 + t8 * t3 - t9 * t2;
    t27 = t13 * t9 + t2 * t6 - t5 * t3;
    t30 = -t2 * t11 + t13 * t17 - t8 * t22 + t27 * t5 + t[0];
    t31 = t30 * t30;
    t37 = -t8 * t11 + t13 * t27 - t5 * t17 + t2 * t22 + t[2];
    t38 = t37 * t37;
    t39 = 1 / t38;
    t40 = t39 * t31;
    t46 = -t5 * t11 + t13 * t22 - t27 * t2 + t17 * t8 + t[1];
    t47 = t46 * t46;
    t48 = t47 * t39;
    t49 = t40 + t48;
    t58 = 1.0 + t49 * (kc[0] + t49 * (kc[1] + t49 * kc[4]));
    t60 = 1 / t37;
    t62 = kc[2];
    t64 = t39 * t46;
    t67 = kc[3];
    t82 = t58 * t46 * t60 + t62 * (t40 + 3.0 * t48) + 2.0 * t67 * t30 * t64;
    n[0] = t1 * (t58 * t30 * t60 + 2.0 * t62 * t30 * t64 + t67 * (3.0 * t40 + t48)) + a[4] * t82 + a[1];
    n[1] = t1 * a[3] * t82 + a[2];
    return;
  }
}
```