user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<GPS_Math_TCylEA_LatLon_To_EN>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  movq   %xmm0,%r15
  movapd %xmm1,%xmm0
  mov    %rdi,%r12
  mov    %rsi,%rbp
  movq   %xmm2,%r14
  movq   %xmm3,%r13
  movsd  %xmm4,0x80(%rsp)
  movsd  %xmm5,0x88(%rsp)
  movsd  %xmm6,0x10(%rsp)
  movsd  %xmm7,0x18(%rsp)
  mov    $0x1,%eax
  call   <GPS_Math_Deg_To_Rad@plt>
  pxor   %xmm5,%xmm5
  cvtsi2sd %eax,%xmm5
  movq   %xmm5,%rbx
  movq   %r15,%xmm0
  mov    $0x1,%eax
  call   <GPS_Math_Deg_To_Rad@plt>
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movq   %xmm6,%r15
  movq   %r14,%xmm0
  mov    $0x1,%eax
  call   <GPS_Math_Deg_To_Rad@plt>
  pxor   %xmm7,%xmm7
  cvtsi2sd %eax,%xmm7
  movsd  %xmm7,0x8(%rsp)
  movq   %r13,%xmm0
  mov    $0x1,%eax
  call   <GPS_Math_Deg_To_Rad@plt>
  pxor   %xmm6,%xmm6
  cvtsi2sd %eax,%xmm6
  movsd  %xmm6,0x58(%rsp)
  cmp    $0x3,%eax
  jle    L46
  subsd  D443(%rip),%xmm6
  movsd  %xmm6,0x58(%rsp)
L46:
  movsd  0x18(%rsp),%xmm1
  mulsd  %xmm1,%xmm1
  movsd  0x10(%rsp),%xmm6
  movapd %xmm6,%xmm0
  mulsd  %xmm6,%xmm0
  movapd %xmm0,%xmm2
  subsd  %xmm1,%xmm2
  divsd  %xmm0,%xmm2
  movapd %xmm2,%xmm6
  mulsd  %xmm2,%xmm6
  movapd %xmm2,%xmm7
  movsd  %xmm6,0x60(%rsp)
  mulsd  %xmm6,%xmm7
  movsd  %xmm7,0x68(%rsp)
  mov    D75(%rip),%rax
  movq   %rax,%xmm1
  movsd  %xmm2,0x18(%rsp)
  movapd %xmm2,%xmm0
  call   <pow@plt>
  movsd  %xmm0,0x20(%rsp)
  movsd  D357(%rip),%xmm4
  subsd  0x18(%rsp),%xmm4
  mov    D75(%rip),%rax
  movq   %rax,%xmm1
  movsd  %xmm4,0x28(%rsp)
  movapd %xmm4,%xmm0
  call   <pow@plt>
  movsd  0x20(%rsp),%xmm3
  movapd %xmm3,%xmm5
  addsd  %xmm3,%xmm5
  movsd  D357(%rip),%xmm2
  divsd  %xmm5,%xmm2
  movsd  %xmm2,0x30(%rsp)
  movsd  D357(%rip),%xmm5
  subsd  %xmm3,%xmm5
  movapd %xmm5,%xmm0
  movsd  D357(%rip),%xmm1
  addsd  %xmm3,%xmm1
  divsd  %xmm1,%xmm0
  call   <log@plt>
  movsd  D357(%rip),%xmm1
  movsd  0x28(%rsp),%xmm4
  divsd  %xmm4,%xmm1
  mulsd  0x30(%rsp),%xmm0
  subsd  %xmm0,%xmm1
  mulsd  %xmm4,%xmm1
  movsd  %xmm1,0x70(%rsp)
  movsd  0x68(%rsp),%xmm7
  movapd %xmm7,%xmm2
  mulsd  D325(%rip),%xmm2
  mulsd  D52(%rip),%xmm2
  movsd  D374(%rip),%xmm1
  movsd  0x60(%rsp),%xmm6
  movapd %xmm6,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  0x18(%rsp),%xmm8
  movapd %xmm8,%xmm4
  mulsd  D307(%rip),%xmm4
  movsd  D357(%rip),%xmm0
  subsd  %xmm4,%xmm0
  movapd %xmm3,%xmm4
  mulsd  D72(%rip),%xmm4
  subsd  %xmm4,%xmm0
  movapd %xmm7,%xmm4
  mulsd  D57(%rip),%xmm4
  movsd  D249(%rip),%xmm5
  mulsd  %xmm5,%xmm4
  subsd  %xmm4,%xmm0
  movsd  %xmm0,0x38(%rsp)
  mulsd  %xmm8,%xmm1
  mulsd  D234(%rip),%xmm1
  mulsd  D262(%rip),%xmm3
  addsd  %xmm3,%xmm1
  addsd  %xmm2,%xmm1
  movsd  %xmm1,0x40(%rsp)
  mulsd  D279(%rip),%xmm6
  movapd %xmm6,%xmm0
  mulsd  %xmm5,%xmm0
  movapd %xmm0,%xmm4
  addsd  %xmm2,%xmm4
  movsd  %xmm4,0x48(%rsp)
  mulsd  D361(%rip),%xmm7
  divsd  D382(%rip),%xmm7
  movsd  %xmm7,0x50(%rsp)
  movsd  0x8(%rsp),%xmm1
  movapd %xmm1,%xmm0
  addsd  %xmm1,%xmm0
  call   <sin@plt>
  movq   %xmm0,%r14
  movsd  0x8(%rsp),%xmm0
  mulsd  D521(%rip),%xmm0
  call   <sin@plt>
  movq   %xmm0,%r13
  movsd  0x8(%rsp),%xmm0
  mulsd  D313(%rip),%xmm0
  call   <sin@plt>
  movsd  0x8(%rsp),%xmm1
  mulsd  0x38(%rsp),%xmm1
  movq   %r14,%xmm2
  mulsd  0x40(%rsp),%xmm2
  subsd  %xmm2,%xmm1
  movq   %r13,%xmm2
  mulsd  0x48(%rsp),%xmm2
  addsd  %xmm2,%xmm1
  mulsd  0x50(%rsp),%xmm0
  subsd  %xmm0,%xmm1
  mulsd  0x10(%rsp),%xmm1
  movsd  %xmm1,0x78(%rsp)
  movq   %rbx,%xmm5
  subsd  0x58(%rsp),%xmm5
  movsd  %xmm5,0x8(%rsp)
  comisd D266(%rip),%xmm5
  jbe    L58
  subsd  D443(%rip),%xmm5
  movsd  %xmm5,0x8(%rsp)
L58:
  movsd  D93(%rip),%xmm0
  movsd  0x8(%rsp),%xmm3
  comisd %xmm3,%xmm0
  jbe    L62
  addsd  D443(%rip),%xmm3
  movsd  %xmm3,0x8(%rsp)
L62:
  movq   %r15,%xmm0
  call   <sin@plt>
  movsd  0x20(%rsp),%xmm1
  movsd  %xmm0,0x20(%rsp)
  mulsd  %xmm0,%xmm1
  movsd  D357(%rip),%xmm5
  subsd  %xmm1,%xmm5
  movapd %xmm5,%xmm0
  addsd  D357(%rip),%xmm1
  divsd  %xmm1,%xmm0
  call   <log@plt>
  movsd  0x18(%rsp),%xmm1
  movsd  0x20(%rsp),%xmm7
  mulsd  %xmm7,%xmm1
  mulsd  %xmm7,%xmm1
  movsd  D357(%rip),%xmm2
  subsd  %xmm1,%xmm2
  divsd  %xmm2,%xmm7
  movapd %xmm7,%xmm1
  mulsd  0x30(%rsp),%xmm0
  subsd  %xmm0,%xmm1
  mulsd  0x28(%rsp),%xmm1
  divsd  0x70(%rsp),%xmm1
  movq   %xmm1,%rbx
  comisd D357(%rip),%xmm1
  jbe    L50
  mov    D357(%rip),%rbx
L1:
  lea    0x98(%rsp),%rdi
  lea    0x90(%rsp),%rsi
  movsd  0x8(%rsp),%xmm0
  call   <sincos@plt>
  mov    0x90(%rsp),%r13
  mov    0x98(%rsp),%r14
  movq   %rbx,%xmm0
  call   <asin@plt>
  movq   %xmm0,%rbx
  call   <tan@plt>
  movq   %r13,%xmm5
  divsd  %xmm5,%xmm0
  call   <atan@plt>
  movsd  %xmm0,0x20(%rsp)
  movapd %xmm0,%xmm5
  andpd  D207(%rip),%xmm0
  subsd  D66(%rip),%xmm0
  movsd  %xmm5,0x8(%rsp)
  comisd D86(%rip),%xmm0
  ja     L54
  movapd %xmm5,%xmm0
  addsd  %xmm5,%xmm0
  call   <sin@plt>
  movq   %xmm0,%r13
  movsd  0x20(%rsp),%xmm0
  mulsd  D521(%rip),%xmm0
  call   <sin@plt>
  movq   %xmm0,%r15
  movsd  0x20(%rsp),%xmm0
  mulsd  D313(%rip),%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm3
  movsd  0x60(%rsp),%xmm4
  movapd %xmm4,%xmm1
  mulsd  D429(%rip),%xmm1
  divsd  D109(%rip),%xmm1
  movsd  0x18(%rsp),%xmm2
  divsd  D374(%rip),%xmm2
  addsd  %xmm2,%xmm1
  movsd  0x68(%rsp),%xmm6
  movapd %xmm6,%xmm2
  mulsd  D285(%rip),%xmm2
  movapd %xmm2,%xmm0
  divsd  D453(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movq   %r13,%xmm7
  mulsd  %xmm7,%xmm1
  addsd  0x20(%rsp),%xmm1
  mulsd  D296(%rip),%xmm4
  movapd %xmm4,%xmm0
  divsd  D335(%rip),%xmm0
  movapd %xmm6,%xmm2
  mulsd  D286(%rip),%xmm2
  divsd  D11(%rip),%xmm2
  addsd  %xmm2,%xmm0
  movq   %r15,%xmm4
  mulsd  %xmm4,%xmm0
  addsd  %xmm0,%xmm1
  mulsd  D47(%rip),%xmm6
  movapd %xmm6,%xmm0
  divsd  D458(%rip),%xmm0
  mulsd  %xmm3,%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
L54:
  lea    0x98(%rsp),%rdi
  lea    0x90(%rsp),%rsi
  movsd  0x8(%rsp),%xmm0
  call   <sincos@plt>
  mov    0x90(%rsp),%r15
  mov    0x98(%rsp),%r13
  movq   %rbx,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rbx
  movsd  0x20(%rsp),%xmm0
  call   <cos@plt>
  movsd  %xmm0,0x20(%rsp)
  movq   %r13,%xmm6
  mulsd  0x18(%rsp),%xmm6
  movapd %xmm6,%xmm1
  movq   %r13,%xmm6
  mulsd  %xmm6,%xmm1
  movsd  D357(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movsd  D75(%rip),%xmm1
  call   <pow@plt>
  movapd %xmm0,%xmm1
  movq   %rbx,%xmm7
  mulsd  0x10(%rsp),%xmm7
  movapd %xmm7,%xmm0
  movq   %r15,%xmm4
  mulsd  %xmm4,%xmm0
  movq   %r14,%xmm5
  mulsd  %xmm5,%xmm0
  mulsd  0x20(%rsp),%xmm1
  divsd  %xmm1,%xmm0
  addsd  0x80(%rsp),%xmm0
  movsd  %xmm0,(%r12)
  movsd  0x8(%rsp),%xmm1
  movapd %xmm1,%xmm0
  addsd  %xmm1,%xmm0
  call   <sin@plt>
  movq   %xmm0,%r12
  movsd  0x8(%rsp),%xmm0
  mulsd  D521(%rip),%xmm0
  call   <sin@plt>
  movq   %xmm0,%rbx
  movsd  0x8(%rsp),%xmm0
  mulsd  D313(%rip),%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm2
  movsd  0x8(%rsp),%xmm1
  mulsd  0x38(%rsp),%xmm1
  movq   %r12,%xmm0
  mulsd  0x40(%rsp),%xmm0
  subsd  %xmm0,%xmm1
  movq   %rbx,%xmm0
  mulsd  0x48(%rsp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  0x50(%rsp),%xmm0
  mulsd  %xmm2,%xmm0
  subsd  %xmm0,%xmm1
  mulsd  0x10(%rsp),%xmm1
  subsd  0x78(%rsp),%xmm1
  addsd  0x88(%rsp),%xmm1
  movsd  %xmm1,0x0(%rbp)
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L50:
  movsd  D433(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L1
  movq   %xmm0,%rbx
  jmp    L1
```

tool_calls: name: retrieve_data
arguments: tag: D443
datatype: byte[8]
name: retrieve_data
arguments: tag: D75
datatype: byte[8]
name: retrieve_data
arguments: tag: D357
datatype: f64[2]
name: retrieve_data
arguments: tag: D325
datatype: f64
name: retrieve_data
arguments: tag: D52
datatype: byte[8]
name: retrieve_data
arguments: tag: D374
datatype: f64
name: retrieve_data
arguments: tag: D307
datatype: byte[8]
name: retrieve_data
arguments: tag: D72
datatype: byte[8]
name: retrieve_data
arguments: tag: D57
datatype: f64
name: retrieve_data
arguments: tag: D249
datatype: byte[8]
name: retrieve_data
arguments: tag: D234
datatype: byte[8]
name: retrieve_data
arguments: tag: D262
datatype: byte[8]
name: retrieve_data
arguments: tag: D279
datatype: f64
name: retrieve_data
arguments: tag: D361
datatype: f64
name: retrieve_data
arguments: tag: D382
datatype: f64
name: retrieve_data
arguments: tag: D521
datatype: f64
name: retrieve_data
arguments: tag: D313
datatype: f64
name: retrieve_data
arguments: tag: D266
datatype: f64[2]
name: retrieve_data
arguments: tag: D93
datatype: byte[8]
name: retrieve_data
arguments: tag: D207
datatype: qword[2]
name: retrieve_data
arguments: tag: D66
datatype: byte[8]
name: retrieve_data
arguments: tag: D86
datatype: byte[16]
name: retrieve_data
arguments: tag: D429
datatype: f64
name: retrieve_data
arguments: tag: D109
datatype: f64
name: retrieve_data
arguments: tag: D285
datatype: f64
name: retrieve_data
arguments: tag: D453
datatype: f64
name: retrieve_data
arguments: tag: D296
datatype: f64
name: retrieve_data
arguments: tag: D335
datatype: f64
name: retrieve_data
arguments: tag: D286
datatype: f64
name: retrieve_data
arguments: tag: D11
datatype: f64
name: retrieve_data
arguments: tag: D47
datatype: f64
name: retrieve_data
arguments: tag: D458
datatype: f64
name: retrieve_data
arguments: tag: D433
datatype: byte[8]

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

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

tool: {"D357": [1.0,-1.0]}

tool: D325: 45

tool: {"D52": [0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x3f]}

tool: D374: 3

tool: {"D307": [0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x3f]}

tool: {"D72": [0x00,0x00,0x00,0x00,0x00,0x00,0x90,0x3f]}

tool: D57: 5

tool: {"D249": [0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x3f]}

tool: {"D234": [0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x3f]}

tool: {"D262": [0x00,0x00,0x00,0x00,0x00,0x00,0xa0,0x3f]}

tool: D279: 15

tool: D361: 35

tool: D382: 3072

tool: D521: 4

tool: D313: 6

tool: {"D266": [3.141592653589,-3.141592653589]}

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

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

tool: {"D66": [0x1e,0x26,0x44,0x54,0xfb,0x21,0xf9,0x3f]}

tool: {"D86": [0x3a,0x8c,0x30,0xe2,0x8e,0x79,0x45,0x3e,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x40]}

tool: D429: 31

tool: D109: 180

tool: D285: 517

tool: D453: 5040

tool: D296: 23

tool: D335: 360

tool: D286: 251

tool: D11: 3780

tool: D47: 761

tool: D458: 45360

tool: {"D433": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0xbf]}

assistant: ```c
void GPS_Math_TCylEA_LatLon_To_EN(double phi, double lambda, double *E, double *N, double phi0, double M0, double E0, double N0, double a, double b) {
  double p2;
  double po2;
  double a2;
  double b2;
  double e;
  double e2;
  double e4;
  double e6;
  double AM0;
  double qp;
  double om;
  double oo;
  double c0;
  double c1;
  double c2;
  double c3;
  double b0;
  double b1;
  double B2;
  double b3;
  double A0;
  double A1;
  double A2;
  double sf;
  double x;
  double som;
  double phis;
  double j;
  double te4;
  double lat;
  double phi0s2;
  double phi0s4;
  double phi0s6;
  double E1;
  double E2;
  double E3;
  double E4;
  double dlam;
  double qq;
  double qqo;
  double bt;
  double btc;
  double PHI;
  double PHIs2;
  double PHIs4;
  double PHIs6;
  double bts2;
  double bts4;
  double bts6;
  double PHIc;
  double PHIcs;
  double Mc;
  sf = (double)1.0;
  lambda = GPS_Math_Deg_To_Rad(lambda);
  phi = GPS_Math_Deg_To_Rad(phi);
  phi0 = GPS_Math_Deg_To_Rad(phi0);
  M0 = GPS_Math_Deg_To_Rad(M0);
  p2 = (double)3.141592653589 * (double)2.0;
  po2 = (double)3.141592653589 / (double)2.0;
  if (M0 > 3.141592653589)
    M0 -= p2;
  a2 = a * a;
  b2 = b * b;
  e2 = (a2 - b2) / a2;
  e4 = e2 * e2;
  e6 = e2 * e4;
  e = pow(e2, (double).5);
  om = (double)1. - e2;
  som = pow(om, (double).5);
  oo = (double)1. / ((double)2. * e);
  phis = sin(po2);
  x = e * phis;
  qp = om * (phis / ((double)1. - e2 * phis * phis) - oo * log(((double)1. - x) / ((double)1. + x)));
  A0 = e2 / (double)3. + (double)31. * e4 / (double)180. + (double)517. * e6 / (double)5040.;
  A1 = (double)23. * e4 / (double)360. + (double)251. * e6 / (double)3780.;
  A2 = (double)761. * e6 / (double)45360.;
  E1 = ((double)1.0 - som) / ((double)1.0 + som);
  E2 = E1 * E1;
  E3 = E2 * E1;
  E4 = E3 * E1;
  b0 = (double)3. * E1 / (double)2. - (double)27. * E3 / (double)32.;
  b1 = (double)21. * E2 / (double)16. - (double)55. * E4 / (double)32.;
  B2 = (double)151. * E3 / (double)96.;
  b3 = (double)1097. * E4 / (double)512.;
  j = (double)45.0 * e6 / (double)1024.0;
  te4 = (double)3.0 * e4;
  c0 = (double)1.0 - e2 / (double)4.0 - te4 / (double)64.0 - (double)5.0 * e6 / (double)256.0;
  c1 = (double)3.0 * e2 / (double)8.0 + te4 / (double)32.0 + j;
  c2 = (double)15.0 * e4 / (double)256.0 + j;
  c3 = (double)35.0 * e6 / (double)3072.0;
  lat = c0 * phi0;
  phi0s2 = c1 * sin((double)2.0 * phi0);
  phi0s4 = c2 * sin((double)4.0 * phi0);
  phi0s6 = c3 * sin((double)6.0 * phi0);
  AM0 = a * (lat - phi0s2 + phi0s4 - phi0s6);
  dlam = lambda - M0;
  if (dlam > 3.141592653589)
    dlam -= p2;
  if (dlam < -3.141592653589)
    dlam += p2;
  phis = sin(phi);
  if (phi == po2) {
    qq = qp;
    qqo = (double)1.;
  } else {
    x = e * phis;
    qq = om * (phis / ((double)1. - e2 * phis * phis) - oo * log(((double)1. - x) / ((double)1. + x)));
    qqo = qq / qp;
  }
  if (qqo > (double)1.)
    qqo = (double)1.;
  else if (qqo < (double)-1.)
    qqo = (double)-1.;
  bt = asin(qqo);
  btc = atan(tan(bt) / cos(dlam));
  if ((fabs(btc) - po2) > (double)1.0e-8)
    PHIc = btc;
  else {
    bts2 = A0 * sin((double)2.0 * btc);
    bts4 = A1 * sin((double)4.0 * btc);
    bts6 = A2 * sin((double)6.0 * btc);
    PHIc = btc + bts2 + bts4 + bts6;
  }
  PHIcs = sin(PHIc);
  *E = a * cos(bt) * cos(PHIc) * sin(dlam) / (sf * cos(btc) * pow((double)1. - e2 * PHIcs * PHIcs, (double).5)) + E0;
  PHI = c0 * PHIc;
  PHIs2 = c1 * sin((double)2.0 * PHIc);
  PHIs4 = c2 * sin((double)4.0 * PHIc);
  PHIs6 = c3 * sin((double)6.0 * PHIc);
  Mc = a * (PHI - PHIs2 + PHIs4 - PHIs6);
  *N = sf * (Mc - AM0) + N0;
  return;
}
```