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

```asm
<heliocorr>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  movsd  %xmm0,-0x68(%rbp)
  movsd  %xmm1,-0x70(%rbp)
  movsd  %xmm2,-0x78(%rbp)
  mov    %rdi,-0x80(%rbp)
  movsd  -0x68(%rbp),%xmm0
  movsd  D125(%rip),%xmm1
  subsd  %xmm1,%xmm0
  lea    -0x78(%rbp),%rcx
  lea    -0x70(%rbp),%rdx
  mov    D140(%rip),%rax
  mov    %rcx,%rsi
  mov    %rdx,%rdi
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <precess@plt>
  mov    -0x78(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x60(%rbp)
  mov    -0x78(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x58(%rbp)
  mov    -0x70(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x70(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x48(%rbp)
  movsd  -0x68(%rbp),%xmm0
  movsd  D109(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x40(%rbp),%xmm1
  movsd  D41(%rip),%xmm0
  movapd %xmm1,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  D159(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D24(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D142(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x40(%rbp),%xmm1
  movsd  D76(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D51(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x40(%rbp),%xmm1
  movsd  D138(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D86(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x30(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  D21(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  %xmm0,%xmm4
  movq   %xmm4,%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  D15(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  addsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x30(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D153(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D47(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movapd %xmm0,%xmm5
  addsd  %xmm0,%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D70(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x88(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  -0x18(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x38(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm6
  mulsd  -0x18(%rbp),%xmm6
  movsd  %xmm6,-0x88(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  mulsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movsd  -0x60(%rbp),%xmm0
  mulsd  -0x50(%rbp),%xmm0
  mulsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x60(%rbp),%xmm0
  movapd %xmm0,%xmm7
  mulsd  -0x48(%rbp),%xmm7
  movsd  %xmm7,-0x90(%rbp)
  mov    -0x38(%rbp),%rax
  movq   %rax,%xmm0
  call   <tan@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm3
  mulsd  -0x58(%rbp),%xmm3
  movapd %xmm3,%xmm0
  addsd  -0x90(%rbp),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  movsd  -0x88(%rbp),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D55(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x80(%rbp),%rax
  movsd  %xmm0,(%rax)
  nop
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D125
type: f64
name: retrieve_data
arguments: data_tag: D140
type: byte[8]
name: retrieve_data
arguments: data_tag: D109
type: f64
name: retrieve_data
arguments: data_tag: D41
type: f64
name: retrieve_data
arguments: data_tag: D159
type: f64
name: retrieve_data
arguments: data_tag: D24
type: f64
name: retrieve_data
arguments: data_tag: D142
type: f64
name: retrieve_data
arguments: data_tag: D76
type: byte[8]
name: retrieve_data
arguments: data_tag: D51
type: byte[8]
name: retrieve_data
arguments: data_tag: D138
type: byte[8]
name: retrieve_data
arguments: data_tag: D86
type: byte[8]
name: retrieve_data
arguments: data_tag: D21
type: byte[8]
name: retrieve_data
arguments: data_tag: D15
type: byte[8]
name: retrieve_data
arguments: data_tag: D153
type: f64
name: retrieve_data
arguments: data_tag: D47
type: f64
name: retrieve_data
arguments: data_tag: D70
type: f64
name: retrieve_data
arguments: data_tag: D55
type: f64

tool: D125: 2415020

tool: {"D140": [0x00,0x00,0x00,0x00,0xa0,0xd5,0xe1,0x40]}

tool: D109: 2451545

tool: D41: 4e-07

tool: D159: 23.439

tool: D24: 3.141592653589793

tool: D142: 180

tool: {"D76": [0x36,0xfa,0x35,0xb0,0x64,0x9d,0x91,0x3f]}

tool: {"D51": [0x40,0x46,0x42,0x3f,0xcd,0xf5,0x18,0x40]}

tool: {"D138": [0x1a,0x74,0xec,0xda,0x9b,0x9d,0x91,0x3f]}

tool: {"D86": [0x90,0x82,0x4d,0x75,0x72,0x94,0x13,0x40]}

tool: {"D21": [0x6b,0xf1,0xd2,0xa1,0xd3,0x1c,0xa1,0x3f]}

tool: {"D15": [0x91,0x81,0x5f,0x69,0x5a,0xe0,0x36,0x3f]}

tool: D153: 0.01671

tool: D47: 1.00014

tool: D70: 0.00014

tool: D55: 0.0057755

assistant: ```c
void heliocorr(double jd, double ra, double dec, double *hcp) {
  double e;
  double n;
  double g;
  double L;
  double l;
  double R;
  double X, Y;
  double cdec, sdec;
  double cra, sra;
  precess((2451545.0 - 2415020.0), jd - 2415020.0, &ra, &dec);
  cdec = cos(dec);
  sdec = sin(dec);
  cra = cos(ra);
  sra = sin(ra);
  n = jd - 2451545.0;
  e = ((23.439 - 0.0000004 * n) * 3.141592653589793 / 180.);
  g = ((357.528) * 3.141592653589793 / 180.) + ((0.9856003) * 3.141592653589793 / 180.) * n;
  L = ((280.461) * 3.141592653589793 / 180.) + ((0.9856474) * 3.141592653589793 / 180.) * n;
  l = L + ((1.915) * 3.141592653589793 / 180.) * sin(g) + ((0.02) * 3.141592653589793 / 180.) * sin(2.0 * g);
  R = 1.00014 - 0.01671 * cos(g) - 0.00014 * cos(2.0 * g);
  X = R * cos(l);
  Y = R * cos(e) * sin(l);
  *hcp = 0.0057755 * (cdec * cra * X + (cdec * sra + tan(e) * sdec) * Y);
}
```