user: Translate the below assembly code into C programming language:

```asm
<GPS_Math_Bonne_EN_To_LatLon>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  movsd  %xmm0,0x68(%rsp)
  movsd  %xmm1,0x70(%rsp)
  mov    %rdi,%rbp
  mov    %rsi,%rbx
  movapd %xmm2,%xmm0
  movq   %xmm3,%r12
  movsd  %xmm4,0x78(%rsp)
  movsd  %xmm5,0x80(%rsp)
  movsd  %xmm6,0x10(%rsp)
  movsd  %xmm7,0x18(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  %xmm0,0x8(%rsp)
  lea    0x98(%rsp),%rdi
  lea    0x90(%rsp),%rsi
  call   <sincos@plt>
  mov    0x90(%rsp),%r14
  mov    0x98(%rsp),%r13
  movq   %r12,%xmm0
  call   <GPS_Math_Deg_To_Rad@plt>
  movq   %xmm0,%r12
  comisd D445(%rip),%xmm0
  jbe    L33
  movapd %xmm0,%xmm5
  subsd  D216(%rip),%xmm5
  movq   %xmm5,%r12
L33:
  movsd  0x18(%rsp),%xmm1
  mulsd  %xmm1,%xmm1
  movsd  0x10(%rsp),%xmm4
  movapd %xmm4,%xmm0
  mulsd  %xmm4,%xmm0
  movapd %xmm0,%xmm2
  subsd  %xmm1,%xmm2
  divsd  %xmm0,%xmm2
  movapd %xmm2,%xmm5
  movapd %xmm2,%xmm7
  mulsd  %xmm2,%xmm7
  movapd %xmm2,%xmm6
  mulsd  %xmm7,%xmm6
  movapd %xmm6,%xmm0
  mulsd  D111(%rip),%xmm0
  movapd %xmm0,%xmm2
  mulsd  D287(%rip),%xmm2
  movsd  %xmm2,0x40(%rsp)
  movsd  D108(%rip),%xmm2
  movsd  %xmm7,0x30(%rsp)
  mulsd  %xmm7,%xmm2
  movapd %xmm5,%xmm0
  mulsd  D271(%rip),%xmm0
  movsd  D402(%rip),%xmm1
  subsd  %xmm0,%xmm1
  movsd  %xmm2,0x48(%rsp)
  movapd %xmm2,%xmm0
  mulsd  D91(%rip),%xmm0
  subsd  %xmm0,%xmm1
  movsd  %xmm6,0x38(%rsp)
  movapd %xmm6,%xmm0
  mulsd  D2(%rip),%xmm0
  mulsd  D503(%rip),%xmm0
  subsd  %xmm0,%xmm1
  movsd  %xmm1,0x18(%rsp)
  movq   %r13,%xmm3
  movsd  %xmm5,0x28(%rsp)
  mulsd  %xmm5,%xmm3
  movapd %xmm3,%xmm0
  movq   %r13,%xmm3
  mulsd  %xmm3,%xmm0
  movsd  D402(%rip),%xmm3
  subsd  %xmm0,%xmm3
  mov    D281(%rip),%rax
  movq   %rax,%xmm1
  movapd %xmm3,%xmm0
  call   <pow@plt>
  movsd  %xmm0,0x88(%rsp)
  movsd  0x8(%rsp),%xmm1
  movapd %xmm1,%xmm3
  addsd  %xmm1,%xmm3
  movapd %xmm3,%xmm0
  call   <sin@plt>
  movq   %xmm0,%r15
  movsd  0x8(%rsp),%xmm4
  mulsd  D266(%rip),%xmm4
  movapd %xmm4,%xmm0
  call   <sin@plt>
  movsd  %xmm0,0x20(%rsp)
  movsd  0x8(%rsp),%xmm3
  mulsd  D185(%rip),%xmm3
  movapd %xmm3,%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm3
  movsd  0x8(%rsp),%xmm1
  mulsd  0x18(%rsp),%xmm1
  movsd  D108(%rip),%xmm10
  movsd  0x28(%rsp),%xmm5
  mulsd  %xmm5,%xmm10
  movapd %xmm10,%xmm0
  mulsd  D558(%rip),%xmm0
  movsd  D66(%rip),%xmm11
  mulsd  0x48(%rsp),%xmm11
  addsd  %xmm11,%xmm0
  movsd  0x40(%rsp),%xmm2
  addsd  %xmm2,%xmm0
  movq   %r15,%xmm12
  mulsd  %xmm12,%xmm0
  subsd  %xmm0,%xmm1
  movsd  0x30(%rsp),%xmm7
  mulsd  D546(%rip),%xmm7
  movapd %xmm7,%xmm0
  mulsd  D503(%rip),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  0x20(%rsp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  0x38(%rsp),%xmm0
  mulsd  D377(%rip),%xmm0
  divsd  D232(%rip),%xmm0
  mulsd  %xmm3,%xmm0
  subsd  %xmm0,%xmm1
  mulsd  0x10(%rsp),%xmm1
  movsd  %xmm1,0x40(%rsp)
  movsd  D402(%rip),%xmm0
  subsd  %xmm5,%xmm0
  mov    D281(%rip),%rax
  movq   %rax,%xmm1
  call   <pow@plt>
  movsd  D402(%rip),%xmm1
  subsd  %xmm0,%xmm1
  addsd  D402(%rip),%xmm0
  divsd  %xmm0,%xmm1
  movapd %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm1,%xmm2
  mulsd  %xmm0,%xmm2
  movapd %xmm1,%xmm3
  mulsd  %xmm2,%xmm3
  mulsd  D108(%rip),%xmm1
  mulsd  D281(%rip),%xmm1
  movapd %xmm2,%xmm4
  mulsd  D363(%rip),%xmm4
  mulsd  D66(%rip),%xmm4
  subsd  %xmm4,%xmm1
  movsd  %xmm1,0x48(%rsp)
  mulsd  D516(%rip),%xmm0
  mulsd  D430(%rip),%xmm0
  movapd %xmm3,%xmm1
  mulsd  D566(%rip),%xmm1
  mulsd  D66(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x50(%rsp)
  mulsd  D182(%rip),%xmm2
  divsd  D344(%rip),%xmm2
  movsd  %xmm2,0x58(%rsp)
  mulsd  D155(%rip),%xmm3
  mulsd  D57(%rip),%xmm3
  movsd  %xmm3,0x60(%rsp)
  movq   %r13,%xmm6
  ucomisd D477(%rip),%xmm6
  jp     L53
  mov    D477(%rip),%r15
  jne    L53
L51:
  movsd  0x68(%rsp),%xmm6
  subsd  0x78(%rsp),%xmm6
  movsd  %xmm6,0x30(%rsp)
  movsd  0x70(%rsp),%xmm0
  subsd  0x80(%rsp),%xmm0
  movq   %r15,%xmm3
  subsd  %xmm0,%xmm3
  movsd  %xmm3,0x38(%rsp)
  movapd %xmm6,%xmm0
  mulsd  %xmm6,%xmm0
  movapd %xmm3,%xmm1
  mulsd  %xmm3,%xmm1
  addsd  %xmm1,%xmm0
  movsd  D281(%rip),%xmm1
  call   <pow@plt>
  movapd %xmm0,%xmm7
  movsd  %xmm0,0x20(%rsp)
  pxor   %xmm0,%xmm0
  comisd 0x8(%rsp),%xmm0
  ja     L12
L100:
  movq   %r15,%xmm0
  addsd  0x40(%rsp),%xmm0
  subsd  0x20(%rsp),%xmm0
  movsd  0x18(%rsp),%xmm1
  mulsd  0x10(%rsp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,0x18(%rsp)
  addsd  %xmm0,%xmm0
  call   <sin@plt>
  movq   %xmm0,%r13
  movsd  0x18(%rsp),%xmm0
  mulsd  D266(%rip),%xmm0
  call   <sin@plt>
  movq   %xmm0,%r15
  movsd  0x18(%rsp),%xmm0
  mulsd  D185(%rip),%xmm0
  call   <sin@plt>
  movq   %xmm0,%r14
  movsd  0x18(%rsp),%xmm0
  mulsd  D152(%rip),%xmm0
  call   <sin@plt>
  movapd %xmm0,%xmm1
  movq   %r13,%xmm7
  mulsd  0x48(%rsp),%xmm7
  movapd %xmm7,%xmm0
  addsd  0x18(%rsp),%xmm0
  movq   %r15,%xmm2
  mulsd  0x50(%rsp),%xmm2
  addsd  %xmm2,%xmm0
  movq   %r14,%xmm2
  mulsd  0x58(%rsp),%xmm2
  addsd  %xmm2,%xmm0
  mulsd  0x60(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x0(%rbp)
  movapd %xmm0,%xmm1
  andpd  D568(%rip),%xmm1
  comisd D9(%rip),%xmm1
  jbe    L118
  movsd  D5(%rip),%xmm2
  comisd %xmm1,%xmm2
  ja     L102
L118:
  lea    0x98(%rsp),%rdi
  lea    0x90(%rsp),%rsi
  call   <sincos@plt>
  mov    0x90(%rsp),%r13
  movsd  0x98(%rsp),%xmm0
  movsd  0x28(%rsp),%xmm1
  mulsd  %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D402(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movsd  D281(%rip),%xmm1
  call   <pow@plt>
  movq   %r13,%xmm5
  divsd  %xmm0,%xmm5
  movsd  %xmm5,0x18(%rsp)
  pxor   %xmm0,%xmm0
  comisd 0x8(%rsp),%xmm0
  ja     L14
L96:
  movsd  0x38(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm0
  call   <atan2@plt>
  mulsd  0x20(%rsp),%xmm0
  movsd  0x10(%rsp),%xmm1
  mulsd  0x18(%rsp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %r12,%xmm6
  addsd  %xmm0,%xmm6
  movq   %xmm6,%r12
L102:
  mov    %r12,(%rbx)
  movsd  0x0(%rbp),%xmm0
  comisd D29(%rip),%xmm0
  jbe    L1
  mov    D29(%rip),%rax
  mov    %rax,0x0(%rbp)
L2:
  movsd  (%rbx),%xmm0
  comisd D445(%rip),%xmm0
  jbe    L45
  subsd  D216(%rip),%xmm0
  movsd  %xmm0,(%rbx)
L45:
  movsd  (%rbx),%xmm0
  movsd  D522(%rip),%xmm1
  comisd %xmm0,%xmm1
  jbe    L66
  addsd  D216(%rip),%xmm0
  movsd  %xmm0,(%rbx)
L66:
  movsd  (%rbx),%xmm0
  comisd D445(%rip),%xmm0
  jbe    L39
  mov    D445(%rip),%rax
  mov    %rax,(%rbx)
L160:
  movsd  (%rbx),%xmm0
  call   <GPS_Math_Rad_To_Deg@plt>
  movsd  %xmm0,(%rbx)
  movsd  0x0(%rbp),%xmm0
  call   <GPS_Math_Rad_To_Deg@plt>
  movsd  %xmm0,0x0(%rbp)
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L53:
  movq   %r14,%xmm0
  divsd  0x88(%rsp),%xmm0
  mulsd  0x10(%rsp),%xmm0
  movq   %r13,%xmm6
  divsd  %xmm6,%xmm0
  movq   %xmm0,%r15
  jmp    L51
L12:
  xorpd  D296(%rip),%xmm7
  movsd  %xmm7,0x20(%rsp)
  jmp    L100
L14:
  movq   D296(%rip),%xmm0
  movsd  0x30(%rsp),%xmm5
  xorpd  %xmm0,%xmm5
  movsd  %xmm5,0x30(%rsp)
  movsd  0x38(%rsp),%xmm7
  xorpd  %xmm0,%xmm7
  movsd  %xmm7,0x38(%rsp)
  jmp    L96
L1:
  movsd  D0(%rip),%xmm1
  comisd %xmm0,%xmm1
  jbe    L2
  movsd  %xmm1,0x0(%rbp)
  jmp    L2
L39:
  movsd  D522(%rip),%xmm1
  comisd %xmm0,%xmm1
  jbe    L160
  movsd  %xmm1,(%rbx)
  jmp    L160
```

tool_calls: name: extract_symbolic_data
arguments: tag: D445
type_guessed: f64[2]
name: extract_symbolic_data
arguments: tag: D216
type_guessed: byte[8]
name: extract_symbolic_data
arguments: tag: D111
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D287
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D108
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D271
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D402
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D91
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D2
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D503
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D281
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D266
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D185
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D558
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D66
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D546
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D377
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D232
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D363
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D516
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D430
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D566
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D182
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D344
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D155
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D57
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D477
type_guessed: f32[2]
name: extract_symbolic_data
arguments: tag: D152
type_guessed: f64
name: extract_symbolic_data
arguments: tag: D568
type_guessed: qword[2]
name: extract_symbolic_data
arguments: tag: D9
type_guessed: byte[16]
name: extract_symbolic_data
arguments: tag: D5
type_guessed: byte[8]
name: extract_symbolic_data
arguments: tag: D29
type_guessed: byte[16]
name: extract_symbolic_data
arguments: tag: D522
type_guessed: byte[8]
name: extract_symbolic_data
arguments: tag: D296
type_guessed: f32[4]
name: extract_symbolic_data
arguments: tag: D0
type_guessed: byte[8]

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

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

tool: D111: 45

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

tool: D108: 3

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

tool: D402: 1

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

tool: D2: 5

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

tool: D281: 0.5

tool: D266: 4

tool: D185: 6

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

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

tool: D546: 15

tool: D377: 35

tool: D232: 3072

tool: D363: 27

tool: D516: 21

tool: {"D430": [0.0,1.375]}

tool: D566: 55

tool: D182: 151

tool: D344: 96

tool: D155: 1097

tool: {"D57": [0.0,0.875]}

tool: {"D477": [0.0,0.0]}

tool: D152: 8

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

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

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

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

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

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

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

assistant: ```c
void GPS_Math_Bonne_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 M1;
  double m1;
  double c0;
  double c1;
  double c2;
  double c3;
  double A0;
  double A1;
  double A2;
  double A3;
  double j;
  double te4;
  double E1;
  double E2;
  double E3;
  double E4;
  double x;
  double phi0s;
  double lat;
  double phi0c;
  double phi0s2;
  double phi0s4;
  double phi0s6;
  double as;
  double phis;
  double phic;
  double dx;
  double dy;
  double mu;
  double mm;
  double MM;
  double asdy;
  double rho;
  double smu2;
  double smu4;
  double smu6;
  double smu8;
  double tol;
  phi0 = GPS_Math_Deg_To_Rad(phi0);
  M0 = GPS_Math_Deg_To_Rad(M0);
  phi0s = sin(phi0);
  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;
  phi0c = cos(phi0);
  m1 = phi0c / pow(((double)1.0 - e2 * phi0s * phi0s), (double)0.5);
  lat = c0 * phi0;
  phi0s2 = c1 * sin((double)2.0 * phi0);
  phi0s4 = c2 * sin((double)4.0 * phi0);
  phi0s6 = c3 * sin((double)6.0 * phi0);
  M1 = a * (lat - phi0s2 + phi0s4 - phi0s6);
  x = pow((double)1.0 - e2, (double)0.5);
  E1 = ((double)1.0 - x) / ((double)1.0 + x);
  E2 = E1 * E1;
  E3 = E2 * E1;
  E4 = E3 * E1;
  A0 = (double)3.0 * E1 / (double)2.0 - (double)27.0 * E3 / (double)32.0;
  A1 = (double)21.0 * E2 / (double)16.0 - (double)55.0 * E4 / (double)32.0;
  A2 = (double)151.0 * E3 / (double)96.0;
  A3 = (double)1097.0 * E4 / (double)512.0;
  if (!phi0s)
    as = (double)0.0;
  else
    as = a * m1 / phi0s;
  dx = E - E0;
  dy = N - N0;
  asdy = as - dy;
  rho = pow(dx * dx + asdy * asdy, (double)0.5);
  if (phi0 < (double)0.0)
    rho = -rho;
  MM = as + M1 - rho;
  mu = MM / (a * c0);
  smu2 = A0 * sin((double)2.0 * mu);
  smu4 = A1 * sin((double)4.0 * mu);
  smu6 = A2 * sin((double)6.0 * mu);
  smu8 = A3 * sin((double)8.0 * mu);
  *phi = mu + smu2 + smu4 + smu6 + smu8;
  tol = (double)0.00001;
  if (((po2 - tol) < fabs(*phi)) && (fabs(*phi) < po2 + tol))
    *lambda = M0;
  else {
    phic = cos(*phi);
    phis = sin(*phi);
    mm = phic / pow(((double)1.0 - e2 * phis * phis), (double)0.5);
    if (phi0 < (double)0.0) {
      dx = -dx;
      asdy = -asdy;
    }
    *lambda = M0 + rho * (atan2(dx, asdy)) / (a * mm);
  }
  if (*phi > po2)
    *phi = po2;
  else if (*phi < -po2)
    *phi = -po2;
  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;
}
```