user: Translate the below assembly code into C programming language:

```asm
<randlc>:
  endbr64
  movsd  D13(%rip),%xmm4
  movapd %xmm0,%xmm2
  pxor   %xmm1,%xmm1
  movsd  D20(%rip),%xmm5
  movsd  (%rdi),%xmm3
  mulsd  %xmm4,%xmm0
  cvttsd2si %xmm0,%eax
  cvtsi2sd %eax,%xmm1
  movapd %xmm1,%xmm0
  mulsd  %xmm5,%xmm0
  subsd  %xmm0,%xmm2
  movapd %xmm3,%xmm0
  mulsd  %xmm4,%xmm0
  cvttsd2si %xmm0,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm6
  mulsd  %xmm5,%xmm6
  mulsd  %xmm2,%xmm0
  subsd  %xmm6,%xmm3
  mulsd  %xmm3,%xmm1
  mulsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm1
  mulsd  %xmm1,%xmm4
  cvttsd2si %xmm4,%eax
  pxor   %xmm4,%xmm4
  cvtsi2sd %eax,%xmm4
  mulsd  %xmm5,%xmm4
  subsd  %xmm4,%xmm1
  movapd %xmm1,%xmm0
  mulsd  %xmm5,%xmm0
  addsd  %xmm2,%xmm0
  movsd  D7(%rip),%xmm2
  movapd %xmm0,%xmm1
  mulsd  %xmm2,%xmm1
  cvttsd2si %xmm1,%eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mulsd  D1(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rdi)
  mulsd  %xmm2,%xmm0
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D13
data_type: byte[8]
name: extract_symbolic_data
arguments: label: D20
data_type: byte[8]
name: extract_symbolic_data
arguments: label: D7
data_type: byte[8]
name: extract_symbolic_data
arguments: label: D1
data_type: byte[8]

tool: {"D13": [0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x3e]}

tool: {"D20": [0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x41]}

tool: {"D7": [0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x3d]}

tool: {"D1": [0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x42]}

assistant: ```c
double randlc(double *x, double a) {
  double t1, t2, t3, t4, a1, a2, x1, x2, z;
  t1 = (0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5) * a;
  a1 = (int)t1;
  a2 = a - (2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0) * a1;
  t1 = (0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5) * (*x);
  x1 = (int)t1;
  x2 = (*x) - (2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0) * x1;
  t1 = a1 * x2 + a2 * x1;
  t2 = (int)((0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5 * 0.5) * t1);
  z = t1 - (2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2.0 * 2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