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

```asm
<GPS_Math_EckertVI_LatLon_To_EN>:
  endbr64
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  movsd  %xmm0,(%rsp)
  movapd %xmm1,%xmm0
  movsd  %xmm3,0x20(%rsp)
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm6,0x8(%rsp)
  movsd  %xmm2,0x18(%rsp)
  movsd  %xmm4,0x28(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  (%rsp),%xmm7
  movq   %xmm0,%rbx
  movapd %xmm7,%xmm0
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  0x18(%rsp),%xmm2
  movsd  %xmm0,(%rsp)
  movapd %xmm2,%xmm0
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  (%rsp),%xmm1
  comisd D131(%rip),%xmm0
  movsd  0x8(%rsp),%xmm6
  movsd  0x10(%rsp),%xmm5
  movapd %xmm0,%xmm3
  jbe    L33
  subsd  D142(%rip),%xmm3
L33:
  mulsd  %xmm6,%xmm6
  movapd %xmm5,%xmm2
  movsd  %xmm3,0x8(%rsp)
  mulsd  %xmm5,%xmm2
  movsd  %xmm1,(%rsp)
  movapd %xmm2,%xmm0
  subsd  %xmm6,%xmm0
  divsd  %xmm2,%xmm0
  movsd  D124(%rip),%xmm2
  movapd %xmm0,%xmm6
  movapd %xmm0,%xmm4
  divsd  D8(%rip),%xmm4
  subsd  %xmm4,%xmm2
  mulsd  %xmm0,%xmm6
  movsd  D51(%rip),%xmm4
  mulsd  %xmm6,%xmm4
  divsd  D26(%rip),%xmm4
  subsd  %xmm4,%xmm2
  mulsd  %xmm6,%xmm0
  mulsd  D140(%rip),%xmm0
  divsd  D42(%rip),%xmm0
  subsd  %xmm0,%xmm2
  movapd %xmm1,%xmm0
  mulsd  %xmm5,%xmm2
  divsd  D130(%rip),%xmm2
  movsd  %xmm2,0x18(%rsp)
  call   <sin@plt>
  movsd  0x8(%rsp),%xmm3
  movq   %rbx,%xmm4
  movsd  (%rsp),%xmm1
  subsd  %xmm3,%xmm4
  comisd D131(%rip),%xmm4
  movsd  %xmm4,0x10(%rsp)
  jbe    L10
  subsd  D142(%rip),%xmm4
  movsd  %xmm4,0x10(%rsp)
L10:
  movsd  D145(%rip),%xmm2
  movsd  0x10(%rsp),%xmm5
  comisd %xmm5,%xmm2
  jbe    L34
  addsd  D142(%rip),%xmm5
  movsd  %xmm5,0x10(%rsp)
L34:
  mulsd  D66(%rip),%xmm0
  lea    0x38(%rsp),%rbp
  lea    0x30(%rsp),%rbx
  movsd  %xmm0,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L3:
  movapd %xmm1,%xmm0
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  movsd  %xmm1,(%rsp)
  call   <sincos@plt>
  movsd  (%rsp),%xmm1
  movsd  0x38(%rsp),%xmm0
  movsd  D124(%rip),%xmm2
  addsd  0x30(%rsp),%xmm2
  addsd  %xmm1,%xmm0
  subsd  0x8(%rsp),%xmm0
  xorpd  D162(%rip),%xmm0
  divsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  andpd  D75(%rip),%xmm0
  comisd D150(%rip),%xmm0
  ja     L3
  movapd %xmm1,%xmm0
  movsd  %xmm1,(%rsp)
  call   <cos@plt>
  movsd  0x18(%rsp),%xmm3
  movsd  0x10(%rsp),%xmm2
  addsd  D124(%rip),%xmm0
  movsd  (%rsp),%xmm1
  mulsd  %xmm3,%xmm2
  mulsd  %xmm0,%xmm2
  movapd %xmm3,%xmm0
  addsd  %xmm3,%xmm0
  addsd  0x20(%rsp),%xmm2
  mulsd  %xmm1,%xmm0
  movsd  %xmm2,0x0(%r13)
  addsd  0x28(%rsp),%xmm0
  movsd  %xmm0,(%r12)
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D131
type_guessed: f64[2]
name: extract_symbolic_data
arguments: data_label: D142
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_label: D124
type_guessed: f64
name: extract_symbolic_data
arguments: data_label: D8
type_guessed: f64
name: extract_symbolic_data
arguments: data_label: D51
type_guessed: f64
name: extract_symbolic_data
arguments: data_label: D26
type_guessed: f64
name: extract_symbolic_data
arguments: data_label: D140
type_guessed: f64
name: extract_symbolic_data
arguments: data_label: D42
type_guessed: f64
name: extract_symbolic_data
arguments: data_label: D130
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_label: D145
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_label: D66
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_label: D162
type_guessed: byte[16]
name: extract_symbolic_data
arguments: data_label: D75
type_guessed: qword[2]
name: extract_symbolic_data
arguments: data_label: D150
type_guessed: byte[16]

tool: {"D131": [3.141592653589,6.283185307178]}

tool: {"D142": [0x1e,0x26,0x44,0x54,0xfb,0x21,0x19,0x40]}

tool: D124: 1

tool: D8: 6

tool: D51: 17

tool: D26: 360

tool: D140: 67

tool: D42: 3024

tool: {"D130": [0x41,0x3d,0xa3,0x3f,0xdb,0x23,0x02,0x40]}

tool: {"D145": [0x1e,0x26,0x44,0x54,0xfb,0x21,0x09,0xc0]}

tool: {"D66": [0x0f,0x13,0x22,0xaa,0xfd,0x90,0x04,0x40]}

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

tool: {"D75": [0x7fffffffffffffff,0x0000000000000000]}

tool: {"D150": [0x39,0xfe,0xdd,0xe8,0x1a,0xaa,0x00,0x3e,0x0f,0x13,0x22,0xaa,0xfd,0x90,0x04,0x40]}

assistant: ```c
void GPS_Math_EckertVI_LatLon_To_EN(double phi, double lambda, double *E, double *N, double M0, double E0, double N0, double a, double b) {
  double a2;
  double b2;
  double e2;
  double e4;
  double e6;
  double Ra;
  double Rsq;
  double IRa;
  double po2;
  double p2;
  double phis;
  double theta;
  double dtheta;
  double dlam;
  double tol;
  lambda = GPS_Math_Deg_To_Rad(lambda);
  phi = GPS_Math_Deg_To_Rad(phi);
  M0 = GPS_Math_Deg_To_Rad(M0);
  p2 = (double)3.141592653589 * (double)2.;
  po2 = (double)3.141592653589 / (double)2.;
  if (M0 > 3.141592653589)
    M0 -= p2;
  a2 = a * a;
  b2 = b * b;
  e2 = (a2 - b2) / a2;
  e4 = e2 * e2;
  e6 = e2 * e4;
  Ra = a * ((double)1. - e2 / (double)6. - (double)17. * e4 / (double)360. - (double)67. * e6 / (double)3024.);
  Rsq = Ra / pow((double)2. + 3.141592653589, (double).5);
  IRa = (double)1. / Rsq;
  phis = sin(phi);
  theta = phi;
  dtheta = (double)1.;
  tol = (double)4.85e-10;
  dlam = lambda - M0;
  if (dlam > 3.141592653589)
    dlam -= p2;
  if (dlam < -3.141592653589)
    dlam += p2;
  while (fabs(dtheta) > tol) {
    dtheta = -(theta + sin(theta) - ((double)1. + po2) * phis) / ((double)1. + cos(theta));
    theta += dtheta;
  }
  *E = Rsq * dlam * ((double)1. + cos(theta)) + E0;
  *N = (double)2. * Rsq * theta + N0;
  return;
}
```