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

```asm
<GPS_Math_Bonne_EN_To_LatLon>:
  endbr64
  push   %r15
  movq   %xmm1,%r15
  push   %r14
  movq   %xmm0,%r14
  movapd %xmm2,%xmm0
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0xa8,%rsp
  lea    0x98(%rsp),%r12
  lea    0x90(%rsp),%r13
  movsd  %xmm7,0x20(%rsp)
  movsd  %xmm3,0x28(%rsp)
  movsd  %xmm4,0x38(%rsp)
  movsd  %xmm5,0x48(%rsp)
  movsd  %xmm6,0x10(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  movsd  %xmm0,0x8(%rsp)
  call   <sincos@plt>
  movsd  0x28(%rsp),%xmm3
  movsd  0x90(%rsp),%xmm5
  movsd  %xmm5,0x88(%rsp)
  movapd %xmm3,%xmm0
  movsd  0x98(%rsp),%xmm5
  movsd  %xmm5,0x18(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  comisd D3(%rip),%xmm0
  movsd  0x18(%rsp),%xmm5
  movsd  0x20(%rsp),%xmm7
  movapd %xmm0,%xmm2
  jbe    L73
  subsd  D549(%rip),%xmm2
L73:
  movsd  %xmm2,0x78(%rsp)
  movsd  0x10(%rsp),%xmm2
  mulsd  %xmm7,%xmm7
  movsd  D177(%rip),%xmm8
  mov    D403(%rip),%rax
  movsd  %xmm5,0x50(%rsp)
  movapd %xmm2,%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm7,%xmm1
  movsd  D46(%rip),%xmm7
  divsd  %xmm0,%xmm1
  movsd  D309(%rip),%xmm0
  movapd %xmm1,%xmm3
  movapd %xmm1,%xmm6
  movapd %xmm1,%xmm4
  mulsd  %xmm1,%xmm3
  movsd  %xmm6,0x28(%rsp)
  mulsd  %xmm1,%xmm0
  movsd  D157(%rip),%xmm1
  mulsd  %xmm3,%xmm8
  movsd  %xmm3,0x60(%rsp)
  mulsd  %xmm3,%xmm4
  subsd  %xmm0,%xmm1
  movapd %xmm8,%xmm0
  movsd  %xmm8,0x58(%rsp)
  mulsd  D60(%rip),%xmm0
  movsd  %xmm4,0x40(%rsp)
  mulsd  %xmm4,%xmm7
  mulsd  D62(%rip),%xmm7
  subsd  %xmm0,%xmm1
  movapd %xmm4,%xmm0
  mulsd  D512(%rip),%xmm0
  mulsd  D58(%rip),%xmm0
  movsd  %xmm7,0x68(%rsp)
  subsd  %xmm0,%xmm1
  movapd %xmm6,%xmm0
  movsd  D157(%rip),%xmm6
  mulsd  %xmm5,%xmm0
  movsd  %xmm1,0x18(%rsp)
  movq   %rax,%xmm1
  mulsd  %xmm5,%xmm0
  subsd  %xmm0,%xmm6
  movapd %xmm6,%xmm0
  call   <pow@plt>
  movsd  0x8(%rsp),%xmm6
  movsd  %xmm0,0x80(%rsp)
  movapd %xmm6,%xmm0
  addsd  %xmm6,%xmm0
  call   <sin@plt>
  movsd  D303(%rip),%xmm3
  mulsd  0x8(%rsp),%xmm3
  movsd  %xmm0,0x20(%rsp)
  movapd %xmm3,%xmm0
  call   <sin@plt>
  movsd  D530(%rip),%xmm3
  mulsd  0x8(%rsp),%xmm3
  movsd  %xmm0,0x30(%rsp)
  movapd %xmm3,%xmm0
  call   <sin@plt>
  movsd  0x28(%rsp),%xmm5
  movsd  D177(%rip),%xmm4
  movapd %xmm0,%xmm1
  movsd  D43(%rip),%xmm0
  movsd  0x58(%rsp),%xmm8
  mulsd  %xmm5,%xmm4
  movsd  0x60(%rsp),%xmm3
  movsd  0x68(%rsp),%xmm7
  mulsd  D72(%rip),%xmm8
  movsd  0x8(%rsp),%xmm6
  mulsd  D482(%rip),%xmm3
  mov    D403(%rip),%rax
  mulsd  D58(%rip),%xmm3
  mulsd  0x18(%rsp),%xmm6
  mulsd  %xmm4,%xmm0
  movsd  0x40(%rsp),%xmm4
  mulsd  D164(%rip),%xmm4
  divsd  D555(%rip),%xmm4
  mulsd  %xmm1,%xmm4
  movq   %rax,%xmm1
  addsd  %xmm7,%xmm3
  mulsd  0x30(%rsp),%xmm3
  addsd  %xmm8,%xmm0
  addsd  %xmm7,%xmm0
  mulsd  0x20(%rsp),%xmm0
  subsd  %xmm0,%xmm6
  movsd  D157(%rip),%xmm0
  subsd  %xmm5,%xmm0
  addsd  %xmm3,%xmm6
  subsd  %xmm4,%xmm6
  mulsd  0x10(%rsp),%xmm6
  movsd  %xmm6,0x40(%rsp)
  call   <pow@plt>
  movsd  0x50(%rsp),%xmm5
  pxor   %xmm2,%xmm2
  movsd  D157(%rip),%xmm1
  movsd  D426(%rip),%xmm6
  subsd  %xmm0,%xmm1
  addsd  D157(%rip),%xmm0
  ucomisd %xmm2,%xmm5
  movsd  0x78(%rsp),%xmm2
  divsd  %xmm0,%xmm1
  movapd %xmm1,%xmm0
  movapd %xmm1,%xmm3
  movapd %xmm1,%xmm4
  mulsd  %xmm1,%xmm0
  mulsd  D177(%rip),%xmm1
  mulsd  D403(%rip),%xmm1
  mulsd  %xmm0,%xmm3
  mulsd  D290(%rip),%xmm0
  mulsd  D398(%rip),%xmm0
  mulsd  %xmm3,%xmm6
  mulsd  D72(%rip),%xmm6
  mulsd  %xmm3,%xmm4
  mulsd  D208(%rip),%xmm3
  divsd  D251(%rip),%xmm3
  movsd  %xmm3,0x68(%rsp)
  subsd  %xmm6,%xmm1
  movsd  %xmm1,0x58(%rsp)
  movsd  D507(%rip),%xmm1
  mulsd  %xmm4,%xmm1
  mulsd  D72(%rip),%xmm1
  mulsd  D420(%rip),%xmm4
  mulsd  D112(%rip),%xmm4
  subsd  %xmm1,%xmm0
  movsd  %xmm4,0x70(%rsp)
  movsd  %xmm0,0x60(%rsp)
  jp     L48
  pxor   %xmm3,%xmm3
  jne    L48
L24:
  movq   %r15,%xmm0
  movapd %xmm3,%xmm4
  subsd  0x48(%rsp),%xmm0
  mov    D403(%rip),%rax
  movq   %r14,%xmm7
  subsd  0x38(%rsp),%xmm7
  movsd  %xmm2,0x50(%rsp)
  movsd  %xmm3,0x48(%rsp)
  subsd  %xmm0,%xmm4
  movapd %xmm7,%xmm0
  movsd  %xmm7,0x30(%rsp)
  mulsd  %xmm7,%xmm0
  movapd %xmm4,%xmm1
  movsd  %xmm4,0x38(%rsp)
  mulsd  %xmm4,%xmm1
  addsd  %xmm1,%xmm0
  movq   %rax,%xmm1
  call   <pow@plt>
  pxor   %xmm5,%xmm5
  comisd 0x8(%rsp),%xmm5
  movsd  0x48(%rsp),%xmm3
  movsd  0x50(%rsp),%xmm2
  movsd  %xmm0,0x20(%rsp)
  jbe    L0
  xorpd  D328(%rip),%xmm0
  movsd  %xmm0,0x20(%rsp)
L0:
  movsd  0x18(%rsp),%xmm0
  mulsd  0x10(%rsp),%xmm0
  movsd  %xmm2,0x78(%rsp)
  addsd  0x40(%rsp),%xmm3
  subsd  0x20(%rsp),%xmm3
  divsd  %xmm0,%xmm3
  movapd %xmm3,%xmm0
  movsd  %xmm3,0x18(%rsp)
  addsd  %xmm3,%xmm0
  call   <sin@plt>
  movsd  D303(%rip),%xmm5
  mulsd  0x18(%rsp),%xmm5
  movsd  %xmm0,0x40(%rsp)
  movapd %xmm5,%xmm0
  call   <sin@plt>
  movsd  D530(%rip),%xmm2
  mulsd  0x18(%rsp),%xmm2
  movsd  %xmm0,0x48(%rsp)
  movapd %xmm2,%xmm0
  call   <sin@plt>
  movsd  0x18(%rsp),%xmm5
  mulsd  D187(%rip),%xmm5
  movsd  %xmm0,0x50(%rsp)
  movapd %xmm5,%xmm0
  call   <sin@plt>
  movsd  0x40(%rsp),%xmm7
  mulsd  0x58(%rsp),%xmm7
  movapd %xmm0,%xmm1
  movsd  0x48(%rsp),%xmm3
  movsd  0x18(%rsp),%xmm0
  mulsd  0x60(%rsp),%xmm3
  movsd  0x78(%rsp),%xmm2
  mulsd  0x70(%rsp),%xmm1
  addsd  %xmm7,%xmm0
  addsd  %xmm3,%xmm0
  movsd  0x50(%rsp),%xmm3
  mulsd  0x68(%rsp),%xmm3
  addsd  %xmm3,%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  andpd  D291(%rip),%xmm1
  movsd  %xmm0,(%rbx)
  comisd D436(%rip),%xmm1
  jbe    L30
  movsd  D516(%rip),%xmm3
  comisd %xmm1,%xmm3
  jbe    L30
L115:
  movsd  D178(%rip),%xmm1
  movsd  %xmm2,0x0(%rbp)
  movsd  (%rbx),%xmm0
  comisd %xmm1,%xmm0
  ja     L142
  movsd  D22(%rip),%xmm1
  comisd %xmm0,%xmm1
  ja     L142
L74:
  comisd D3(%rip),%xmm2
  jbe    L146
  subsd  D549(%rip),%xmm2
  movsd  %xmm2,0x0(%rbp)
L146:
  movsd  D118(%rip),%xmm0
  comisd %xmm2,%xmm0
  jbe    L10
  addsd  D549(%rip),%xmm2
  movsd  %xmm2,0x0(%rbp)
L10:
  comisd D3(%rip),%xmm2
  jbe    L78
  mov    D3(%rip),%rax
  mov    %rax,0x0(%rbp)
  movq   %rax,%xmm2
L15:
  movapd %xmm2,%xmm0
  call   <GPS_Math_Rad_To_Deg@plt>
  movsd  %xmm0,0x0(%rbp)
  movsd  (%rbx),%xmm0
  call   <GPS_Math_Rad_To_Deg@plt>
  movsd  %xmm0,(%rbx)
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L30:
  mov    %r12,%rdi
  mov    %r13,%rsi
  movsd  %xmm2,0x40(%rsp)
  call   <sincos@plt>
  movsd  0x28(%rsp),%xmm0
  movsd  0x98(%rsp),%xmm1
  movsd  D157(%rip),%xmm3
  mov    D403(%rip),%rax
  mulsd  %xmm1,%xmm0
  mov    0x90(%rsp),%r12
  mulsd  %xmm1,%xmm0
  movq   %rax,%xmm1
  subsd  %xmm0,%xmm3
  movapd %xmm3,%xmm0
  call   <pow@plt>
  movq   %r12,%xmm5
  pxor   %xmm2,%xmm2
  divsd  %xmm0,%xmm5
  comisd 0x8(%rsp),%xmm2
  movsd  0x40(%rsp),%xmm2
  movsd  %xmm5,0x18(%rsp)
  ja     L81
L49:
  movsd  0x38(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm0
  movsd  %xmm2,0x8(%rsp)
  call   <atan2@plt>
  movsd  0x10(%rsp),%xmm1
  mulsd  0x20(%rsp),%xmm0
  mulsd  0x18(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm2
  divsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm2
  jmp    L115
  nopw   0x0(%rax,%rax,1)
L142:
  movsd  %xmm1,(%rbx)
  movsd  0x0(%rbp),%xmm2
  jmp    L74
  cs nopw 0x0(%rax,%rax,1)
L48:
  movsd  0x88(%rsp),%xmm0
  divsd  0x80(%rsp),%xmm0
  mulsd  0x10(%rsp),%xmm0
  movapd %xmm0,%xmm3
  divsd  %xmm5,%xmm3
  jmp    L24
  nopl   (%rax)
L78:
  comisd %xmm2,%xmm0
  jbe    L15
  movsd  %xmm0,0x0(%rbp)
  movapd %xmm0,%xmm2
  jmp    L15
L81:
  movq   D328(%rip),%xmm0
  movsd  0x30(%rsp),%xmm5
  xorpd  %xmm0,%xmm5
  movsd  %xmm5,0x30(%rsp)
  movsd  0x38(%rsp),%xmm5
  xorpd  %xmm0,%xmm5
  movsd  %xmm5,0x38(%rsp)
  jmp    L49
```

tool_calls: name: disassemble_data
arguments: tag: D3
data_type: f64[2]
name: disassemble_data
arguments: tag: D549
data_type: byte[8]
name: disassemble_data
arguments: tag: D177
data_type: f64
name: disassemble_data
arguments: tag: D403
data_type: f64
name: disassemble_data
arguments: tag: D46
data_type: f64
name: disassemble_data
arguments: tag: D309
data_type: f32[2]
name: disassemble_data
arguments: tag: D157
data_type: f64
name: disassemble_data
arguments: tag: D60
data_type: f32[2]
name: disassemble_data
arguments: tag: D62
data_type: f32[2]
name: disassemble_data
arguments: tag: D512
data_type: f64
name: disassemble_data
arguments: tag: D58
data_type: f32[2]
name: disassemble_data
arguments: tag: D303
data_type: f64
name: disassemble_data
arguments: tag: D530
data_type: f64
name: disassemble_data
arguments: tag: D43
data_type: f32[2]
name: disassemble_data
arguments: tag: D72
data_type: f32[2]
name: disassemble_data
arguments: tag: D482
data_type: f64
name: disassemble_data
arguments: tag: D164
data_type: f64
name: disassemble_data
arguments: tag: D555
data_type: f64
name: disassemble_data
arguments: tag: D426
data_type: f64
name: disassemble_data
arguments: tag: D290
data_type: f64
name: disassemble_data
arguments: tag: D398
data_type: f32[2]
name: disassemble_data
arguments: tag: D208
data_type: f64
name: disassemble_data
arguments: tag: D251
data_type: f64
name: disassemble_data
arguments: tag: D507
data_type: f64
name: disassemble_data
arguments: tag: D420
data_type: f64
name: disassemble_data
arguments: tag: D112
data_type: f32[2]
name: disassemble_data
arguments: tag: D328
data_type: f32[4]
name: disassemble_data
arguments: tag: D187
data_type: f64
name: disassemble_data
arguments: tag: D291
data_type: qword[2]
name: disassemble_data
arguments: tag: D436
data_type: byte[16]
name: disassemble_data
arguments: tag: D516
data_type: byte[8]
name: disassemble_data
arguments: tag: D178
data_type: byte[8]
name: disassemble_data
arguments: tag: D22
data_type: byte[8]
name: disassemble_data
arguments: tag: D118
data_type: byte[8]

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

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

tool: D177: 3

tool: D403: 0.5

tool: D46: 45

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

tool: D157: 1

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

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

tool: D512: 5

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

tool: D303: 4

tool: D530: 6

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

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

tool: D482: 15

tool: D164: 35

tool: D555: 3072

tool: D426: 27

tool: D290: 21

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

tool: D208: 151

tool: D251: 96

tool: D507: 55

tool: D420: 1097

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

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

tool: D187: 8

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

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

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

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

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

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

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;
}
```