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 D93(%rip),%xmm0
  movsd  0x10(%rsp),%xmm7
  movsd  %xmm0,0x48(%rsp)
  jbe    L30
  movapd %xmm0,%xmm6
  subsd  D117(%rip),%xmm6
  movsd  %xmm6,0x48(%rsp)
L30:
  movsd  0x40(%rsp),%xmm6
  mulsd  %xmm7,%xmm7
  movsd  D140(%rip),%xmm5
  movapd %xmm6,%xmm0
  mulsd  %xmm6,%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm7,%xmm1
  movsd  D26(%rip),%xmm7
  divsd  %xmm0,%xmm1
  movsd  D212(%rip),%xmm0
  movapd %xmm1,%xmm2
  movapd %xmm1,%xmm12
  movsd  %xmm1,0x10(%rsp)
  movapd %xmm1,%xmm3
  mulsd  %xmm1,%xmm2
  movsd  D131(%rip),%xmm1
  mulsd  %xmm12,%xmm5
  mulsd  %xmm2,%xmm3
  movapd %xmm2,%xmm4
  mulsd  %xmm1,%xmm4
  subsd  %xmm5,%xmm7
  movsd  D69(%rip),%xmm5
  mulsd  D242(%rip),%xmm2
  mulsd  %xmm12,%xmm1
  mulsd  D126(%rip),%xmm1
  movapd %xmm7,%xmm6
  movsd  D284(%rip),%xmm7
  mulsd  %xmm3,%xmm0
  mulsd  %xmm4,%xmm5
  mulsd  D414(%rip),%xmm4
  mulsd  D12(%rip),%xmm0
  mulsd  %xmm7,%xmm2
  subsd  %xmm5,%xmm6
  movsd  D301(%rip),%xmm5
  addsd  %xmm4,%xmm1
  movsd  0x8(%rsp),%xmm4
  mulsd  %xmm3,%xmm5
  addsd  %xmm0,%xmm2
  movapd %xmm6,%xmm13
  addsd  %xmm0,%xmm1
  mulsd  D103(%rip),%xmm3
  movapd %xmm4,%xmm0
  addsd  %xmm4,%xmm0
  divsd  D137(%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  D182(%rip),%xmm7
  mulsd  0x8(%rsp),%xmm7
  movsd  %xmm0,0x30(%rsp)
  movapd %xmm7,%xmm0
  call   <sin@plt>
  movsd  %xmm0,0x28(%rsp)
  movsd  D325(%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  D367(%rip),%xmm1
  subsd  D26(%rip),%xmm1
  comisd %xmm1,%xmm0
  jbe    L107
  movsd  D26(%rip),%xmm1
  subsd  %xmm4,%xmm1
  comisd %xmm0,%xmm1
  ja     L34
L107:
  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)
L57:
  movsd  0x8(%rsp),%xmm0
  call   <sin@plt>
  movsd  0x10(%rsp),%xmm6
  movsd  D26(%rip),%xmm2
  movapd %xmm0,%xmm1
  mov    D267(%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  D182(%rip),%xmm0
  movsd  0x90(%rsp),%xmm2
  mulsd  0x8(%rsp),%xmm0
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm4,0x28(%rsp)
  call   <sincos@plt>
  movsd  D325(%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  D182(%rip),%xmm5
  movsd  0x28(%rsp),%xmm4
  mulsd  %xmm10,%xmm7
  movsd  0x68(%rsp),%xmm1
  movsd  D267(%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  D325(%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  D245(%rip),%xmm3
  mulsd  D140(%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  D128(%rip),%xmm2
  comisd D289(%rip),%xmm2
  movsd  %xmm10,0x8(%rsp)
  ja     L57
  movsd  D40(%rip),%xmm0
  movapd %xmm10,%xmm3
  movsd  %xmm10,(%r12)
  comisd %xmm0,%xmm10
  jbe    L26
L132:
  movsd  %xmm0,(%r12)
L113:
  movsd  0x48(%rsp),%xmm6
  comisd D93(%rip),%xmm6
  jbe    L72
  subsd  D117(%rip),%xmm6
  movsd  %xmm6,0x48(%rsp)
L72:
  movsd  D403(%rip),%xmm0
  movsd  %xmm6,0x0(%r13)
  comisd %xmm6,%xmm0
  jbe    L127
  addsd  D117(%rip),%xmm6
  movsd  %xmm6,0x48(%rsp)
  movsd  %xmm6,0x0(%r13)
L127:
  movsd  0x48(%rsp),%xmm6
  comisd D93(%rip),%xmm6
  jbe    L90
  mov    D93(%rip),%rax
  mov    %rax,0x0(%r13)
  mov    %rax,0x48(%rsp)
L119:
  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
  xchg   %ax,%ax
L90:
  comisd 0x48(%rsp),%xmm0
  jbe    L119
  movsd  %xmm0,0x0(%r13)
  movsd  %xmm0,0x48(%rsp)
  jmp    L119
  cs nopw 0x0(%rax,%rax,1)
L26:
  movsd  D294(%rip),%xmm0
  comisd %xmm10,%xmm0
  ja     L132
  movapd %xmm10,%xmm0
  andpd  D128(%rip),%xmm0
  comisd D193(%rip),%xmm0
  jbe    L146
  movsd  D178(%rip),%xmm2
  comisd %xmm0,%xmm2
  ja     L113
L146:
  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    L113
  cs nopw 0x0(%rax,%rax,1)
L34:
  movsd  0x48(%rsp),%xmm5
  movq   $0x0,(%r12)
  addsd  %xmm6,%xmm5
  movsd  %xmm5,0x48(%rsp)
  jmp    L113
```

tool_calls: name: disassemble_data
arguments: data_tag: D93
datatype: f64[2]
name: disassemble_data
arguments: data_tag: D117
datatype: byte[8]
name: disassemble_data
arguments: data_tag: D140
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D26
datatype: f64
name: disassemble_data
arguments: data_tag: D212
datatype: f64
name: disassemble_data
arguments: data_tag: D131
datatype: f64
name: disassemble_data
arguments: data_tag: D69
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D242
datatype: f64
name: disassemble_data
arguments: data_tag: D126
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D284
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D414
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D12
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D301
datatype: f64
name: disassemble_data
arguments: data_tag: D103
datatype: f64
name: disassemble_data
arguments: data_tag: D137
datatype: f64
name: disassemble_data
arguments: data_tag: D182
datatype: f64
name: disassemble_data
arguments: data_tag: D325
datatype: f64
name: disassemble_data
arguments: data_tag: D367
datatype: f32[4]
name: disassemble_data
arguments: data_tag: D267
datatype: f32[2]
name: disassemble_data
arguments: data_tag: D245
datatype: f64
name: disassemble_data
arguments: data_tag: D128
datatype: qword[2]
name: disassemble_data
arguments: data_tag: D289
datatype: byte[16]
name: disassemble_data
arguments: data_tag: D40
datatype: byte[8]
name: disassemble_data
arguments: data_tag: D403
datatype: byte[8]
name: disassemble_data
arguments: data_tag: D294
datatype: byte[8]
name: disassemble_data
arguments: data_tag: D193
datatype: byte[16]
name: disassemble_data
arguments: data_tag: D178
datatype: byte[8]

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

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

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

tool: D26: 1

tool: D212: 45

tool: D131: 3

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

tool: D242: 15

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

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

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

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

tool: D301: 5

tool: D103: 35

tool: D137: 3072

tool: D182: 4

tool: D325: 6

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

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

tool: D245: 2

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

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

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

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

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

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

tool: {"D178": [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;
}
```