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

```asm
<GPS_Math_Polycon_EN_To_LatLon>:
  endbr64
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  movq   %xmm0,%rbp
  movapd %xmm2,%xmm0
  push   %rbx
  movq   %xmm1,%rbx
  sub    $0xa8,%rsp
  movsd  %xmm7,0x10(%rsp)
  movsd  %xmm3,0x28(%rsp)
  movsd  %xmm4,0x18(%rsp)
  movsd  %xmm5,0x20(%rsp)
  movsd  %xmm6,0x40(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  0x28(%rsp),%xmm3
  movsd  %xmm0,0x8(%rsp)
  movapd %xmm3,%xmm0
  call   <GPS_Math_Deg_To_Rad@plt>
  comisd D177(%rip),%xmm0
  movsd  0x10(%rsp),%xmm7
  movsd  %xmm0,0x48(%rsp)
  jbe    L84
  movapd %xmm0,%xmm6
  subsd  D243(%rip),%xmm6
  movsd  %xmm6,0x48(%rsp)
L84:
  movsd  0x40(%rsp),%xmm6
  mulsd  %xmm7,%xmm7
  movsd  D278(%rip),%xmm5
  movapd %xmm6,%xmm0
  mulsd  %xmm6,%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm7,%xmm1
  movsd  D8(%rip),%xmm7
  divsd  %xmm0,%xmm1
  movsd  D141(%rip),%xmm0
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm12
  movsd  %xmm1,0x10(%rsp)
  movapd %xmm1,%xmm3
  mulsd  %xmm1,%xmm2
  movsd  D72(%rip),%xmm1
  mulsd  %xmm12,%xmm5
  mulsd  %xmm2,%xmm3
  movapd %xmm2,%xmm4
  mulsd  %xmm1,%xmm4
  subsd  %xmm5,%xmm7
  movsd  D103(%rip),%xmm5
  mulsd  D151(%rip),%xmm2
  mulsd  %xmm12,%xmm1
  mulsd  D378(%rip),%xmm1
  movapd %xmm7,%xmm6
  movsd  D248(%rip),%xmm7
  mulsd  %xmm3,%xmm0
  mulsd  %xmm4,%xmm5
  mulsd  D226(%rip),%xmm4
  mulsd  D262(%rip),%xmm0
  mulsd  %xmm7,%xmm2
  subsd  %xmm5,%xmm6
  movsd  D129(%rip),%xmm5
  addsd  %xmm4,%xmm1
  movsd  0x8(%rsp),%xmm4
  mulsd  %xmm3,%xmm5
  addsd  %xmm0,%xmm2
  movapd %xmm6,%xmm13
  addsd  %xmm0,%xmm1
  mulsd  D204(%rip),%xmm3
  movapd %xmm4,%xmm0
  addsd  %xmm4,%xmm0
  divsd  D406(%rip),%xmm3
  movsd  %xmm3,0x68(%rsp)
  movsd  %xmm2,0x60(%rsp)
  mulsd  %xmm7,%xmm5
  movsd  %xmm1,0x50(%rsp)
  subsd  %xmm5,%xmm13
  movsd  %xmm13,0x58(%rsp)
  call   <sin@plt>
  movsd  D418(%rip),%xmm7
  mulsd  0x8(%rsp),%xmm7
  movsd  %xmm0,0x30(%rsp)
  movapd %xmm7,%xmm0
  call   <sin@plt>
  movsd  %xmm0,0x28(%rsp)
  movsd  D309(%rip),%xmm0
  mulsd  0x8(%rsp),%xmm0
  call   <sin@plt>
  movsd  0x30(%rsp),%xmm2
  movsd  0x8(%rsp),%xmm4
  movapd %xmm0,%xmm3
  movsd  0x50(%rsp),%xmm0
  movsd  0x28(%rsp),%xmm1
  mulsd  0x58(%rsp),%xmm4
  movsd  0x40(%rsp),%xmm6
  mulsd  %xmm2,%xmm0
  mulsd  0x60(%rsp),%xmm1
  subsd  %xmm0,%xmm4
  movsd  0x68(%rsp),%xmm0
  mulsd  %xmm3,%xmm0
  addsd  %xmm1,%xmm4
  movq   %rbp,%xmm1
  subsd  0x18(%rsp),%xmm1
  divsd  %xmm6,%xmm1
  subsd  %xmm0,%xmm4
  movq   %rbx,%xmm0
  subsd  0x20(%rsp),%xmm0
  mulsd  %xmm6,%xmm4
  movsd  %xmm1,0x88(%rsp)
  movapd %xmm1,%xmm6
  movapd %xmm4,%xmm1
  xorpd  D4(%rip),%xmm1
  subsd  D8(%rip),%xmm1
  comisd %xmm1,%xmm0
  jbe    L112
  movsd  D8(%rip),%xmm1
  subsd  %xmm4,%xmm1
  comisd %xmm0,%xmm1
  ja     L78
L112:
  movsd  0x88(%rsp),%xmm6
  addsd  %xmm0,%xmm4
  divsd  0x40(%rsp),%xmm4
  movapd %xmm4,%xmm1
  mulsd  %xmm4,%xmm1
  movsd  0x50(%rsp),%xmm5
  lea    0x98(%rsp),%rbp
  lea    0x90(%rsp),%rbx
  movapd %xmm6,%xmm0
  movsd  %xmm4,0x8(%rsp)
  movsd  %xmm4,0x80(%rsp)
  mulsd  %xmm6,%xmm0
  movapd %xmm5,%xmm6
  addsd  %xmm5,%xmm6
  movsd  %xmm6,0x78(%rsp)
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x70(%rsp)
  nopl   0x0(%rax,%rax,1)
L138:
  movsd  0x8(%rsp),%xmm0
  call   <sin@plt>
  movsd  0x10(%rsp),%xmm6
  movsd  D8(%rip),%xmm2
  movapd %xmm0,%xmm1
  mov    D144(%rip),%rax
  mulsd  %xmm0,%xmm6
  movapd %xmm6,%xmm0
  mulsd  %xmm1,%xmm0
  movq   %rax,%xmm1
  subsd  %xmm0,%xmm2
  movapd %xmm2,%xmm0
  call   <pow@plt>
  movsd  %xmm0,0x18(%rsp)
  movsd  0x8(%rsp),%xmm0
  call   <tan@plt>
  movsd  0x18(%rsp),%xmm1
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  movsd  0x8(%rsp),%xmm10
  mulsd  %xmm0,%xmm1
  movapd %xmm10,%xmm0
  addsd  %xmm10,%xmm0
  movsd  %xmm1,0x38(%rsp)
  call   <sincos@plt>
  movsd  0x50(%rsp),%xmm4
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mulsd  0x98(%rsp),%xmm4
  movsd  D418(%rip),%xmm0
  movsd  0x90(%rsp),%xmm2
  mulsd  0x8(%rsp),%xmm0
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm4,0x28(%rsp)
  call   <sincos@plt>
  movsd  D309(%rip),%xmm0
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  movsd  0x90(%rsp),%xmm4
  mulsd  0x8(%rsp),%xmm0
  movsd  0x98(%rsp),%xmm7
  movsd  %xmm4,0x18(%rsp)
  movsd  %xmm7,0x20(%rsp)
  call   <sincos@plt>
  movsd  0x8(%rsp),%xmm10
  movsd  0x58(%rsp),%xmm7
  movsd  0x60(%rsp),%xmm11
  movsd  0x30(%rsp),%xmm2
  movapd %xmm7,%xmm0
  movsd  D418(%rip),%xmm5
  movsd  0x28(%rsp),%xmm4
  mulsd  %xmm10,%xmm7
  movsd  0x68(%rsp),%xmm1
  movsd  D144(%rip),%xmm9
  mulsd  0x78(%rsp),%xmm2
  mulsd  %xmm11,%xmm5
  mulsd  0x18(%rsp),%xmm5
  subsd  %xmm2,%xmm0
  movapd %xmm7,%xmm2
  movsd  0x20(%rsp),%xmm7
  subsd  %xmm4,%xmm2
  mulsd  %xmm11,%xmm7
  addsd  %xmm0,%xmm5
  movsd  D309(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  0x98(%rsp),%xmm1
  mulsd  0x90(%rsp),%xmm0
  addsd  %xmm7,%xmm2
  movsd  0x40(%rsp),%xmm7
  subsd  %xmm1,%xmm2
  movsd  0x38(%rsp),%xmm1
  subsd  %xmm0,%xmm5
  movapd %xmm1,%xmm8
  mulsd  %xmm7,%xmm2
  mulsd  %xmm5,%xmm8
  divsd  %xmm7,%xmm2
  movsd  0x80(%rsp),%xmm7
  movapd %xmm7,%xmm3
  mulsd  %xmm2,%xmm3
  movapd %xmm2,%xmm0
  subsd  %xmm2,%xmm7
  mulsd  %xmm2,%xmm0
  movapd %xmm1,%xmm2
  addsd  0x70(%rsp),%xmm0
  mulsd  %xmm3,%xmm2
  addsd  %xmm3,%xmm3
  mulsd  %xmm0,%xmm9
  subsd  %xmm3,%xmm0
  movsd  0x10(%rsp),%xmm3
  mulsd  %xmm4,%xmm3
  addsd  %xmm7,%xmm2
  mulsd  %xmm1,%xmm9
  mulsd  %xmm3,%xmm0
  movsd  D353(%rip),%xmm3
  mulsd  D278(%rip),%xmm0
  subsd  %xmm9,%xmm2
  divsd  %xmm4,%xmm3
  mulsd  %xmm1,%xmm0
  subsd  %xmm3,%xmm8
  mulsd  %xmm7,%xmm8
  addsd  %xmm8,%xmm0
  subsd  %xmm5,%xmm0
  divsd  %xmm0,%xmm2
  subsd  %xmm2,%xmm10
  andpd  D213(%rip),%xmm2
  comisd D300(%rip),%xmm2
  movsd  %xmm10,0x8(%rsp)
  ja     L138
  movsd  D382(%rip),%xmm0
  movapd %xmm10,%xmm3
  movsd  %xmm10,(%r12)
  comisd %xmm0,%xmm10
  jbe    L90
L47:
  movsd  %xmm0,(%r12)
L93:
  movsd  0x48(%rsp),%xmm6
  comisd D177(%rip),%xmm6
  jbe    L147
  movsd  0x48(%rsp),%xmm6
  subsd  D243(%rip),%xmm6
  movsd  %xmm6,0x48(%rsp)
L147:
  movsd  D337(%rip),%xmm0
  movsd  %xmm6,0x0(%r13)
  movsd  0x48(%rsp),%xmm6
  comisd %xmm6,%xmm0
  jbe    L148
  addsd  D243(%rip),%xmm6
  movsd  %xmm6,0x48(%rsp)
  movsd  %xmm6,0x0(%r13)
L148:
  movsd  0x48(%rsp),%xmm6
  comisd D177(%rip),%xmm6
  jbe    L63
  mov    D177(%rip),%rax
  mov    %rax,0x0(%r13)
  mov    %rax,0x48(%rsp)
L40:
  movsd  0x48(%rsp),%xmm0
  call   <GPS_Math_Rad_To_Deg@plt>
  movsd  %xmm0,0x0(%r13)
  movsd  (%r12),%xmm0
  call   <GPS_Math_Rad_To_Deg@plt>
  movsd  %xmm0,(%r12)
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopw   0x0(%rax,%rax,1)
L63:
  comisd 0x48(%rsp),%xmm0
  jbe    L40
  movsd  %xmm0,0x0(%r13)
  movsd  %xmm0,0x48(%rsp)
  jmp    L40
  cs nopw 0x0(%rax,%rax,1)
L90:
  movsd  D98(%rip),%xmm0
  comisd %xmm10,%xmm0
  ja     L47
  movapd %xmm10,%xmm0
  andpd  D213(%rip),%xmm0
  comisd D106(%rip),%xmm0
  jbe    L94
  movsd  D175(%rip),%xmm2
  comisd %xmm0,%xmm2
  ja     L93
L94:
  movsd  0x88(%rsp),%xmm0
  movsd  %xmm3,0x8(%rsp)
  mulsd  %xmm1,%xmm0
  call   <asin@plt>
  movsd  0x8(%rsp),%xmm3
  movq   %xmm0,%rbx
  movapd %xmm3,%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm1
  movq   %rbx,%xmm0
  divsd  %xmm1,%xmm0
  addsd  0x48(%rsp),%xmm0
  movsd  %xmm0,0x48(%rsp)
  jmp    L93
  cs nopw 0x0(%rax,%rax,1)
L78:
  movsd  0x48(%rsp),%xmm5
  movq   $0x0,(%r12)
  addsd  %xmm6,%xmm5
  movsd  %xmm5,0x48(%rsp)
  jmp    L93
```

tool_calls: name: retrieve_data
arguments: data_label: D177
type: f64[2]
name: retrieve_data
arguments: data_label: D243
type: byte[8]
name: retrieve_data
arguments: data_label: D278
type: f32[2]
name: retrieve_data
arguments: data_label: D8
type: f64
name: retrieve_data
arguments: data_label: D141
type: f64
name: retrieve_data
arguments: data_label: D72
type: f64
name: retrieve_data
arguments: data_label: D103
type: f32[2]
name: retrieve_data
arguments: data_label: D151
type: f64
name: retrieve_data
arguments: data_label: D378
type: f32[2]
name: retrieve_data
arguments: data_label: D248
type: f32[2]
name: retrieve_data
arguments: data_label: D226
type: f32[2]
name: retrieve_data
arguments: data_label: D262
type: f32[2]
name: retrieve_data
arguments: data_label: D129
type: f64
name: retrieve_data
arguments: data_label: D204
type: f64
name: retrieve_data
arguments: data_label: D406
type: f64
name: retrieve_data
arguments: data_label: D418
type: f64
name: retrieve_data
arguments: data_label: D309
type: f64
name: retrieve_data
arguments: data_label: D4
type: f32[4]
name: retrieve_data
arguments: data_label: D144
type: f32[2]
name: retrieve_data
arguments: data_label: D353
type: f64
name: retrieve_data
arguments: data_label: D213
type: qword[2]
name: retrieve_data
arguments: data_label: D300
type: byte[16]
name: retrieve_data
arguments: data_label: D382
type: byte[8]
name: retrieve_data
arguments: data_label: D337
type: byte[8]
name: retrieve_data
arguments: data_label: D98
type: byte[8]
name: retrieve_data
arguments: data_label: D106
type: byte[16]
name: retrieve_data
arguments: data_label: D175
type: byte[8]

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

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

tool: {"D278": [0.0,1.625]}

tool: D8: 1

tool: D141: 45

tool: D72: 3

tool: {"D103": [0.0,1.125]}

tool: D151: 15

tool: {"D378": [0.0,1.5]}

tool: {"D248": [0.0,0.9375]}

tool: {"D226": [0.0,1.25]}

tool: {"D262": [0.0,0.8125]}

tool: D129: 5

tool: D204: 35

tool: D406: 3072

tool: D418: 4

tool: D309: 6

tool: {"D4": [0.0,-0.0,0.0,0.0]}

tool: {"D144": [0.0,1.75]}

tool: D353: 2

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

tool: {"D300": [0x11,0xea,0x2d,0x81,0x99,0x97,0x71,0x3d,0x1e,0x26,0x44,0x54,0xfb,0x21,0xf9,0x3f]}

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

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

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

tool: {"D106": [0xac,0x61,0xe9,0xd7,0xf0,0x21,0xf9,0x3f,0x90,0xea,0x9e,0xd0,0x05,0x22,0xf9,0x3f]}

tool: {"D175": [0x90,0xea,0x9e,0xd0,0x05,0x22,0xf9,0x3f]}

assistant: ```c
void GPS_Math_Polycon_EN_To_LatLon(double E, double N, double *phi, double *lambda, double phi0, double M0, double E0, double N0, double a, double b) {
  double p2;
  double po2;
  double a2;
  double b2;
  double e2;
  double e4;
  double e6;
  double AM0;
  double c0;
  double c1;
  double c2;
  double c3;
  double j;
  double te4;
  double phi0s2;
  double phi0s4;
  double phi0s6;
  double dx;
  double dy;
  double dxoa;
  double AA;
  double BB;
  double CC = (double)0.;
  double PHIn;
  double PHId;
  double PHIs;
  double PHI;
  double PHIs2;
  double PHIs4;
  double PHIs6;
  double Mn;
  double Mnp;
  double Ma;
  double AAMa;
  double mpb;
  double AAmin;
  double tol;
  double lat;
  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;
  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);
  tol = (double)1.0e-12;
  dx = E - E0;
  dy = N - N0;
  dxoa = dx / a;
  if ((((-AM0 - (double)1.) < dy) && (dy < (-AM0 + (double)1.)))) {
    *phi = (double)0.;
    *lambda = dxoa + M0;
  } else {
    AA = (AM0 + dy) / a;
    BB = dxoa * dxoa + (AA * AA);
    PHIn = AA;
    PHId = (double)1.;
    while (fabs(PHId) > tol) {
      PHIs = sin(PHIn);
      CC = pow((double)1. - e2 * PHIs * PHIs, (double).5) * tan(PHIn);
      PHI = PHIn * c0;
      PHIs2 = c1 * sin((double)2.0 * PHIn);
      PHIs4 = c2 * sin((double)4.0 * PHIn);
      PHIs6 = c3 * sin((double)6.0 * PHIn);
      Mn = a * (PHI - PHIs2 + PHIs4 - PHIs6);
      Mnp = c0 - (double)2. * c1 * cos((double)2. * PHIn) + (double)4. * c2 * cos((double)4. * PHIn) - (double)6. * c3 * cos((double)6. * PHIn);
      Ma = Mn / a;
      AAMa = AA * Ma;
      mpb = Ma * Ma + BB;
      AAmin = AA - Ma;
      PHId = (AAMa * CC + AAmin - (double).5 * mpb * CC) / (e2 * PHIs2 * (mpb - (double)2. * AAMa) / (double)4. * CC + AAmin * (CC * Mnp - (double)2. / PHIs2) - Mnp);
      PHIn -= PHId;
    }
    *phi = PHIn;
    if (*phi > po2)
      *phi = po2;
    else if (*phi < -po2)
      *phi = -po2;
    if ((((po2 - (double).00001) < fabs(*phi)) && (fabs(*phi) < (po2 + (double).00001))))
      *lambda = M0;
    else
      *lambda = (asin(dxoa * CC)) / sin(*phi) + M0;
  }
  if (*lambda > 3.141592653589)
    *lambda -= p2;
  if (*lambda < -3.141592653589)
    *lambda += p2;
  if (*lambda > 3.141592653589)
    *lambda = 3.141592653589;
  else if (*lambda < -3.141592653589)
    *lambda = -3.141592653589;
  *lambda = GPS_Math_Rad_To_Deg(*lambda);
  *phi = GPS_Math_Rad_To_Deg(*phi);
  return;
}
```