user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<orbitalDopp>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x48,%rsp
  movsd  %xmm0,-0x28(%rbp)
  movsd  %xmm1,-0x30(%rbp)
  movsd  %xmm2,-0x38(%rbp)
  movsd  %xmm3,-0x40(%rbp)
  movsd  %xmm4,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  comisd -0x48(%rbp),%xmm0
  jb     L16
  pxor   %xmm0,%xmm0
  jmp    L0
L16:
  movsd  -0x40(%rbp),%xmm0
  movsd  D15(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x30(%rbp),%xmm0
  subsd  -0x28(%rbp),%xmm0
  movq   D24(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D60(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L39
  movsd  -0x28(%rbp),%xmm0
  addsd  -0x30(%rbp),%xmm0
  movsd  D40(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x18(%rbp),%xmm0
  subsd  -0x38(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  D72(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  divsd  -0x40(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  -0x48(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  jmp    L8
L39:
  movsd  -0x48(%rbp),%xmm0
  mulsd  -0x40(%rbp),%xmm0
  movsd  D55(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0x28(%rbp),%xmm0
  subsd  -0x38(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  D72(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm5
  divsd  -0x40(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rbx
  movsd  -0x30(%rbp),%xmm0
  subsd  -0x38(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  D72(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm6
  divsd  -0x40(%rbp),%xmm6
  movq   %xmm6,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %rbx,%xmm1
  subsd  %xmm0,%xmm1
  movsd  -0x50(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x30(%rbp),%xmm1
  subsd  -0x28(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
L8:
  movsd  -0x20(%rbp),%xmm0
  movsd  D40(%rip),%xmm1
  divsd  %xmm1,%xmm0
L0:
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D15
datatype: f64
name: disassemble_data
arguments: label: D24
datatype: qword
name: disassemble_data
arguments: label: D60
datatype: byte[8]
name: disassemble_data
arguments: label: D40
datatype: f64
name: disassemble_data
arguments: label: D72
datatype: f64
name: disassemble_data
arguments: label: D55
datatype: byte[8]

tool: D15: 86400

tool: D24: 9223372036854775807

tool: {"D60": [0x2d,0x43,0x1c,0xeb,0xe2,0x36,0x1a,0x3f]}

tool: D40: 2

tool: D72: 3.141592653589793

tool: {"D55": [0x18,0x2d,0x44,0x54,0xfb,0x21,0x19,0x40]}

assistant: ```c
double orbitalDopp(double t1, double t2, double doppzero, double orbitper, double doppmag) {
  double shift;
  if (doppmag <= 0.)
    return 0.;
  orbitper /= (86400.);
  if (fabs(t2 - t1) < 1.e-4) {
    double t = (t1 + t2) / 2.;
    shift = doppmag * sin((t - doppzero) * 2 * (3.1415926535897932384626433) / orbitper);
  } else {
    shift = doppmag * orbitper / (2. * (3.1415926535897932384626433)) * (cos((t1 - doppzero) * 2. * (3.1415926535897932384626433) / orbitper) - cos((t2 - doppzero) * 2. * (3.1415926535897932384626433) / orbitper)) / (t2 - t1);
  }
  return (shift / 2.);
}
```