user: 请从给定的汇编指令推导出C源代码：

```asm
<GPS_Math_EckertIV_LatLon_To_EN>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x40,%rsp
  movsd  %xmm0,(%rsp)
  movapd %xmm1,%xmm0
  movsd  %xmm3,0x20(%rsp)
  movsd  %xmm4,0x28(%rsp)
  movsd  %xmm6,0x8(%rsp)
  movsd  %xmm2,0x18(%rsp)
  movsd  %xmm5,0x10(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  (%rsp),%xmm7
  movq   %xmm0,%r12
  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),%xmm4
  comisd D155(%rip),%xmm0
  movsd  0x8(%rsp),%xmm6
  movsd  0x10(%rsp),%xmm3
  movapd %xmm0,%xmm2
  jbe    L39
  subsd  D148(%rip),%xmm2
L39:
  mulsd  %xmm6,%xmm6
  movapd %xmm3,%xmm1
  movsd  D153(%rip),%xmm5
  movsd  %xmm2,0x8(%rsp)
  mulsd  %xmm3,%xmm1
  movapd %xmm1,%xmm0
  subsd  %xmm6,%xmm0
  divsd  %xmm1,%xmm0
  movapd %xmm0,%xmm6
  movapd %xmm0,%xmm1
  divsd  D93(%rip),%xmm1
  subsd  %xmm1,%xmm5
  mulsd  %xmm0,%xmm6
  movsd  D76(%rip),%xmm1
  mulsd  %xmm6,%xmm1
  divsd  D114(%rip),%xmm1
  subsd  %xmm1,%xmm5
  mulsd  %xmm6,%xmm0
  movsd  D46(%rip),%xmm6
  mulsd  D160(%rip),%xmm0
  divsd  D196(%rip),%xmm0
  subsd  %xmm0,%xmm5
  movapd %xmm4,%xmm0
  movapd %xmm5,%xmm1
  mulsd  %xmm3,%xmm1
  movsd  D69(%rip),%xmm3
  mulsd  %xmm4,%xmm3
  mulsd  %xmm1,%xmm6
  mulsd  D87(%rip),%xmm1
  movsd  %xmm3,(%rsp)
  movsd  %xmm6,0x18(%rsp)
  movq   %xmm1,%r14
  call   <sin@plt>
  movsd  0x8(%rsp),%xmm2
  movq   %r12,%xmm5
  movsd  (%rsp),%xmm3
  subsd  %xmm2,%xmm5
  comisd D155(%rip),%xmm5
  movsd  %xmm5,0x10(%rsp)
  jbe    L18
  subsd  D148(%rip),%xmm5
  movsd  %xmm5,0x10(%rsp)
L18:
  movsd  D53(%rip),%xmm1
  movsd  0x10(%rsp),%xmm4
  comisd %xmm4,%xmm1
  jbe    L35
  addsd  D148(%rip),%xmm4
  movsd  %xmm4,0x10(%rsp)
L35:
  mulsd  D70(%rip),%xmm0
  lea    0x38(%rsp),%r12
  lea    0x30(%rsp),%r13
  movsd  %xmm0,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L3:
  movapd %xmm3,%xmm0
  mov    %r13,%rsi
  mov    %r12,%rdi
  movsd  %xmm3,(%rsp)
  call   <sincos@plt>
  movsd  0x38(%rsp),%xmm2
  movsd  0x30(%rsp),%xmm1
  movsd  (%rsp),%xmm3
  movapd %xmm2,%xmm0
  addsd  %xmm2,%xmm2
  mulsd  %xmm1,%xmm0
  addsd  %xmm3,%xmm0
  addsd  %xmm2,%xmm0
  movapd %xmm1,%xmm2
  subsd  0x8(%rsp),%xmm0
  addsd  %xmm1,%xmm2
  addsd  D153(%rip),%xmm1
  xorpd  D73(%rip),%xmm0
  mulsd  %xmm2,%xmm1
  divsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm3
  andpd  D134(%rip),%xmm0
  comisd D200(%rip),%xmm0
  ja     L3
  mov    %r13,%rsi
  mov    %r12,%rdi
  movapd %xmm3,%xmm0
  call   <sincos@plt>
  movsd  0x18(%rsp),%xmm1
  mulsd  0x10(%rsp),%xmm1
  movsd  D153(%rip),%xmm0
  addsd  0x30(%rsp),%xmm0
  mulsd  %xmm1,%xmm0
  addsd  0x20(%rsp),%xmm0
  movsd  %xmm0,0x0(%rbp)
  movq   %r14,%xmm0
  mulsd  0x38(%rsp),%xmm0
  addsd  0x28(%rsp),%xmm0
  movsd  %xmm0,(%rbx)
  add    $0x40,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
```

tool_calls: name: parse_data
arguments: tag: D155
type_guessed: f64[2]
name: parse_data
arguments: tag: D148
type_guessed: byte[8]
name: parse_data
arguments: tag: D153
type_guessed: f64
name: parse_data
arguments: tag: D93
type_guessed: f64
name: parse_data
arguments: tag: D76
type_guessed: f64
name: parse_data
arguments: tag: D114
type_guessed: f64
name: parse_data
arguments: tag: D46
type_guessed: f64
name: parse_data
arguments: tag: D160
type_guessed: f64
name: parse_data
arguments: tag: D196
type_guessed: f64
name: parse_data
arguments: tag: D69
type_guessed: byte[8]
name: parse_data
arguments: tag: D87
type_guessed: f64
name: parse_data
arguments: tag: D53
type_guessed: byte[8]
name: parse_data
arguments: tag: D70
type_guessed: byte[8]
name: parse_data
arguments: tag: D73
type_guessed: byte[16]
name: parse_data
arguments: tag: D134
type_guessed: qword[2]
name: parse_data
arguments: tag: D200
type_guessed: byte[16]

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

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

tool: D153: 1

tool: D93: 6

tool: D76: 17

tool: D114: 360

tool: D46: 0.4222382

tool: D160: 67

tool: D196: 3024

tool: {"D69": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: D87: 1.3265004

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

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

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

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

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

assistant: ```c
void GPS_Math_EckertIV_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 Ra0;
  double Ra1;
  double po2;
  double p2;
  double Ra;
  double phis;
  double theta;
  double dtheta;
  double thetas;
  double thetac;
  double n;
  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.);
  Ra0 = Ra * (double)0.4222382;
  Ra1 = Ra * (double)1.3265004;
  theta = phi / (double)2.;
  dtheta = (double)1.;
  tol = (double)4.85e-10;
  phis = sin(phi);
  dlam = lambda - M0;
  if (dlam > 3.141592653589)
    dlam -= p2;
  if (dlam < -3.141592653589)
    dlam += p2;
  while (fabs(dtheta) > tol) {
    thetas = sin(theta);
    thetac = cos(theta);
    n = theta + thetas * thetac + (double)2. * thetas;
    dtheta = -(n - ((double)2. + po2) * phis) / ((double)2. * thetac * ((double)1. + thetac));
    theta += dtheta;
  }
  *E = Ra0 * dlam * ((double)1. + cos(theta)) + E0;
  *N = Ra1 * sin(theta) + N0;
  return;
}
```