user: 请将以下的汇编代码转换成C语言代码:

```asm
<eqstrn>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  movsd  %xmm0,-0x58(%rbp)
  movsd  %xmm1,-0x60(%rbp)
  movsd  -0x58(%rbp),%xmm0
  movsd  D2(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x30(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0x48(%rbp)
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x48(%rbp),%xmm2
  movsd  -0x30(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D42(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x28(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0x44(%rbp)
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x44(%rbp),%xmm2
  movsd  -0x28(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D42(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  comisd -0x60(%rbp),%xmm0
  jbe    L29
  movsd  -0x60(%rbp),%xmm0
  movq   D12(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movb   $0x2d,-0x49(%rbp)
  jmp    L10
L29:
  movb   $0x2b,-0x49(%rbp)
  movsd  -0x60(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
L10:
  movsd  -0x38(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0x40(%rbp)
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x40(%rbp),%xmm2
  movsd  -0x38(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D42(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x18(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0x3c(%rbp)
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x3c(%rbp),%xmm2
  movsd  -0x18(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D42(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    $0x20,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  movsbl -0x49(%rbp),%r8d
  movsd  -0x10(%rbp),%xmm0
  mov    -0x40(%rbp),%r9d
  mov    -0x20(%rbp),%rsi
  mov    -0x44(%rbp),%ecx
  mov    -0x48(%rbp),%edx
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  mov    -0x3c(%rbp),%edi
  push   %rdi
  movapd %xmm0,%xmm1
  movq   %rsi,%xmm0
  lea    D34(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <sprintf@plt>
  add    $0x10,%rsp
  mov    -0x8(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L5
  mov    -0x8(%rbp),%rax
  add    $0x6,%rax
  movb   $0x30,(%rax)
L5:
  mov    -0x8(%rbp),%rax
  add    $0x14,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  jne    L17
  mov    -0x8(%rbp),%rax
  add    $0x14,%rax
  movb   $0x30,(%rax)
L17:
  mov    -0x8(%rbp),%rax
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D2
data_type: f64
name: retrieve_data
arguments: data_label: D42
data_type: f64
name: retrieve_data
arguments: data_label: D12
data_type: byte[8]
name: retrieve_data
arguments: data_label: D34
data_type: string

tool: D2: 15

tool: D42: 60

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

tool: D34: %02d:%02d:%06.3f %c%02d:%02d:%05.2f

assistant: ```c
char *eqstrn(dra, ddec)
double dra;
double ddec;
{
  char *eqcoor;
  char decp;
  int rah, irm, decd, decm;
  double xpos, ypos, xp, yp, ras, decs;
  xpos = dra / 15.0;
  rah = (int)xpos;
  xp = (double)60.0 * (xpos - (double)rah);
  irm = (int)xp;
  ras = (double)60.0 * (xp - (double)irm);
  if (ddec < 0) {
    ypos = -ddec;
    decp = '-';
  } else {
    decp = '+';
    ypos = ddec;
  }
  decd = (int)ypos;
  yp = (double)60.0 * (ypos - (double)decd);
  decm = (int)yp;
  decs = (double)60.0 * (yp - (double)decm);
  eqcoor = malloc(32);
  (void)sprintf(eqcoor, "%02d:%02d:%06.3f %c%02d:%02d:%05.2f", rah, irm, ras, decp, decd, decm, decs);
  if (eqcoor[6] == ' ')
    eqcoor[6] = '0';
  if (eqcoor[20] == ' ')
    eqcoor[20] = '0';
  return (eqcoor);
}
```