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

```asm
<GPS_Math_LambertCC_EN_To_LatLon>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x88,%rsp
  movsd  %xmm0,0x28(%rsp)
  movapd %xmm4,%xmm0
  lea    0x78(%rsp),%r12
  lea    0x70(%rsp),%r13
  movsd  %xmm6,0x38(%rsp)
  movsd  %xmm1,0x30(%rsp)
  movsd  %xmm5,(%rsp)
  movsd  %xmm3,0x8(%rsp)
  movsd  %xmm7,0x40(%rsp)
  movsd  %xmm2,0x10(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  0x10(%rsp),%xmm2
  movq   %xmm0,%r14
  movapd %xmm2,%xmm0
  call   <GPS_Math_Deg_To_Rad@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  movsd  %xmm0,0x68(%rsp)
  call   <sincos@plt>
  movsd  0x8(%rsp),%xmm3
  movsd  0x78(%rsp),%xmm4
  movsd  0x70(%rsp),%xmm7
  movapd %xmm3,%xmm0
  movsd  %xmm4,0x48(%rsp)
  movsd  %xmm7,0x60(%rsp)
  call   <GPS_Math_Deg_To_Rad@plt>
  movsd  (%rsp),%xmm5
  movsd  %xmm0,0x58(%rsp)
  movapd %xmm5,%xmm0
  call   <GPS_Math_Deg_To_Rad@plt>
  mov    D243(%rip),%rax
  movsd  0xc0(%rsp),%xmm3
  movsd  0xc8(%rsp),%xmm1
  movsd  %xmm0,0x20(%rsp)
  mulsd  %xmm3,%xmm3
  mulsd  %xmm1,%xmm1
  movapd %xmm3,%xmm0
  subsd  %xmm1,%xmm0
  movq   %rax,%xmm1
  divsd  %xmm3,%xmm0
  call   <pow@plt>
  movsd  D243(%rip),%xmm5
  movsd  %xmm0,0x8(%rsp)
  mulsd  %xmm0,%xmm5
  movq   %r14,%xmm0
  movsd  %xmm5,0x10(%rsp)
  call   <sin@plt>
  movsd  0x8(%rsp),%xmm7
  movq   %r14,%xmm6
  mulsd  %xmm0,%xmm7
  movsd  D243(%rip),%xmm0
  mulsd  %xmm6,%xmm0
  movsd  D2(%rip),%xmm6
  movsd  %xmm7,0x18(%rsp)
  subsd  %xmm0,%xmm6
  movapd %xmm6,%xmm0
  call   <tan@plt>
  movsd  0x18(%rsp),%xmm1
  movsd  %xmm0,(%rsp)
  movsd  D301(%rip),%xmm0
  subsd  %xmm1,%xmm0
  addsd  D301(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  0x10(%rsp),%xmm1
  call   <pow@plt>
  movsd  (%rsp),%xmm3
  movsd  0x48(%rsp),%xmm4
  mov    D243(%rip),%rax
  movapd %xmm3,%xmm5
  movsd  0x8(%rsp),%xmm3
  movsd  %xmm4,(%rsp)
  divsd  %xmm0,%xmm5
  movsd  D301(%rip),%xmm0
  mulsd  %xmm4,%xmm3
  movapd %xmm3,%xmm1
  movsd  %xmm3,0x50(%rsp)
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  movq   %rax,%xmm1
  movq   %xmm5,%r15
  call   <pow@plt>
  movsd  0x60(%rsp),%xmm7
  movsd  0x68(%rsp),%xmm2
  movsd  D243(%rip),%xmm1
  divsd  %xmm0,%xmm7
  movsd  D2(%rip),%xmm0
  movsd  %xmm2,0x48(%rsp)
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  movq   %xmm7,%r14
  call   <tan@plt>
  movsd  0x50(%rsp),%xmm3
  movsd  0x10(%rsp),%xmm1
  movsd  %xmm0,0x18(%rsp)
  movsd  D301(%rip),%xmm0
  subsd  %xmm3,%xmm0
  addsd  D301(%rip),%xmm3
  divsd  %xmm3,%xmm0
  call   <pow@plt>
  movsd  0x48(%rsp),%xmm2
  movsd  0x58(%rsp),%xmm6
  movsd  0x18(%rsp),%xmm4
  subsd  %xmm6,%xmm2
  andpd  D278(%rip),%xmm2
  divsd  %xmm0,%xmm4
  comisd D159(%rip),%xmm2
  ja     L34
L146:
  movsd  (%rsp),%xmm1
  movapd %xmm4,%xmm0
  call   <pow@plt>
  movsd  (%rsp),%xmm6
  movq   %r14,%xmm1
  mulsd  %xmm6,%xmm0
  divsd  %xmm0,%xmm1
  movq   %r15,%xmm0
  mulsd  0xc0(%rsp),%xmm1
  movsd  %xmm1,0x18(%rsp)
  movapd %xmm6,%xmm1
  call   <pow@plt>
  movsd  0x18(%rsp),%xmm2
  movsd  0x28(%rsp),%xmm3
  subsd  0x38(%rsp),%xmm3
  mov    D243(%rip),%rax
  mulsd  %xmm0,%xmm2
  movsd  0x30(%rsp),%xmm0
  subsd  0x40(%rsp),%xmm0
  movq   %rax,%xmm1
  movsd  %xmm3,0x30(%rsp)
  subsd  %xmm0,%xmm2
  movapd %xmm3,%xmm0
  mulsd  %xmm3,%xmm0
  movapd %xmm2,%xmm5
  movsd  %xmm2,0x28(%rsp)
  mulsd  %xmm2,%xmm5
  addsd  %xmm5,%xmm0
  call   <pow@plt>
  movsd  0x28(%rsp),%xmm2
  movsd  0x30(%rsp),%xmm3
  movapd %xmm0,%xmm4
  pxor   %xmm0,%xmm0
  comisd (%rsp),%xmm0
  jbe    L117
  movq   D189(%rip),%xmm1
  xorpd  %xmm1,%xmm2
  xorpd  %xmm1,%xmm3
  xorpd  %xmm1,%xmm4
L117:
  ucomisd %xmm0,%xmm4
  jp     L72
  jne    L72
  movsd  (%rsp),%xmm6
  movsd  D214(%rip),%xmm1
  comisd %xmm0,%xmm6
  jbe    L98
L78:
  movsd  0x20(%rsp),%xmm6
  movsd  %xmm1,(%rbx)
  movsd  %xmm6,0x0(%rbp)
L113:
  movsd  0x20(%rsp),%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    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L98:
  movsd  D213(%rip),%xmm1
  jmp    L78
  nopw   0x0(%rax,%rax,1)
L72:
  movapd %xmm2,%xmm1
  movapd %xmm3,%xmm0
  movsd  %xmm4,0x28(%rsp)
  call   <atan2@plt>
  movsd  0x28(%rsp),%xmm4
  divsd  0x18(%rsp),%xmm4
  movsd  D301(%rip),%xmm1
  movq   %xmm0,%r15
  movapd %xmm4,%xmm0
  divsd  (%rsp),%xmm1
  call   <pow@plt>
  movsd  %xmm0,0x28(%rsp)
  call   <atan@plt>
  movsd  D214(%rip),%xmm2
  addsd  %xmm0,%xmm0
  subsd  %xmm0,%xmm2
  movapd %xmm2,%xmm0
  andpd  D278(%rip),%xmm0
  comisd D195(%rip),%xmm0
  jbe    L90
  nop
L130:
  movapd %xmm2,%xmm0
  movsd  %xmm2,0x18(%rsp)
  call   <sin@plt>
  movsd  0x8(%rsp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D301(%rip),%xmm0
  subsd  %xmm1,%xmm0
  addsd  D301(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  0x10(%rsp),%xmm1
  call   <pow@plt>
  mulsd  0x28(%rsp),%xmm0
  call   <atan@plt>
  movsd  0x18(%rsp),%xmm2
  addsd  %xmm0,%xmm0
  movapd %xmm2,%xmm1
  movsd  D214(%rip),%xmm2
  subsd  %xmm0,%xmm2
  movapd %xmm2,%xmm0
  subsd  %xmm1,%xmm0
  andpd  D278(%rip),%xmm0
  comisd D195(%rip),%xmm0
  ja     L130
L90:
  movq   %r15,%xmm0
  divsd  (%rsp),%xmm0
  addsd  0x20(%rsp),%xmm0
  movsd  %xmm2,(%rbx)
  movsd  %xmm0,0x20(%rsp)
  movsd  %xmm0,0x0(%rbp)
  movsd  (%rbx),%xmm0
  comisd D214(%rip),%xmm0
  ja     L104
  movsd  D213(%rip),%xmm1
  comisd %xmm0,%xmm1
  jbe    L125
  movsd  %xmm1,(%rbx)
  movsd  0x0(%rbp),%xmm4
  movsd  %xmm4,0x20(%rsp)
L125:
  movsd  D75(%rip),%xmm0
  movsd  0x20(%rsp),%xmm7
  comisd %xmm0,%xmm7
  jbe    L162
  subsd  D165(%rip),%xmm7
  movsd  %xmm7,0x20(%rsp)
  movsd  %xmm7,0x0(%rbp)
L162:
  movsd  D208(%rip),%xmm1
  movsd  0x20(%rsp),%xmm4
  comisd %xmm4,%xmm1
  jbe    L23
  addsd  D165(%rip),%xmm4
  movsd  %xmm4,0x20(%rsp)
  movsd  %xmm4,0x0(%rbp)
L23:
  movsd  0x20(%rsp),%xmm7
  comisd %xmm0,%xmm7
  jbe    L4
  movsd  %xmm0,0x0(%rbp)
  movsd  %xmm0,0x20(%rsp)
  jmp    L113
  nopw   0x0(%rax,%rax,1)
L34:
  mov    %r13,%rsi
  mov    %r12,%rdi
  movapd %xmm6,%xmm0
  movsd  %xmm4,0x50(%rsp)
  movsd  %xmm6,0x48(%rsp)
  call   <sincos@plt>
  movsd  0x8(%rsp),%xmm2
  mulsd  0x78(%rsp),%xmm2
  movsd  D301(%rip),%xmm0
  mov    D243(%rip),%rax
  mov    0x70(%rsp),%r13
  movapd %xmm2,%xmm1
  movsd  %xmm2,0x18(%rsp)
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  movq   %rax,%xmm1
  call   <pow@plt>
  movsd  0x48(%rsp),%xmm6
  mulsd  D243(%rip),%xmm6
  movsd  D2(%rip),%xmm5
  movsd  %xmm0,(%rsp)
  subsd  %xmm6,%xmm5
  movapd %xmm5,%xmm0
  call   <tan@plt>
  movsd  0x18(%rsp),%xmm2
  movsd  D301(%rip),%xmm6
  movq   %xmm0,%r12
  movsd  0x10(%rsp),%xmm1
  subsd  %xmm2,%xmm6
  addsd  D301(%rip),%xmm2
  movapd %xmm6,%xmm0
  divsd  %xmm2,%xmm0
  call   <pow@plt>
  movq   %r14,%xmm1
  movq   %r13,%xmm5
  divsd  (%rsp),%xmm5
  divsd  %xmm5,%xmm1
  movsd  %xmm0,0x18(%rsp)
  movapd %xmm1,%xmm0
  call   <log@plt>
  movsd  0x50(%rsp),%xmm4
  movq   %r12,%xmm6
  divsd  0x18(%rsp),%xmm6
  movq   %xmm0,%r13
  movapd %xmm4,%xmm1
  movsd  %xmm4,0x18(%rsp)
  divsd  %xmm6,%xmm1
  movapd %xmm1,%xmm0
  call   <log@plt>
  movq   %r13,%xmm7
  movsd  0x18(%rsp),%xmm4
  divsd  %xmm0,%xmm7
  movsd  %xmm7,(%rsp)
  jmp    L146
  nopl   0x0(%rax)
L104:
  mov    D214(%rip),%rax
  mov    %rax,(%rbx)
  movsd  0x0(%rbp),%xmm4
  movsd  %xmm4,0x20(%rsp)
  jmp    L125
  nopw   0x0(%rax,%rax,1)
L4:
  comisd 0x20(%rsp),%xmm1
  jbe    L113
  movsd  %xmm1,0x0(%rbp)
  movsd  %xmm1,0x20(%rsp)
  jmp    L113
```

tool_calls: name: unpack_data
arguments: tag: D243
data_type: f64
name: unpack_data
arguments: tag: D2
data_type: byte[8]
name: unpack_data
arguments: tag: D301
data_type: f64
name: unpack_data
arguments: tag: D278
data_type: qword[2]
name: unpack_data
arguments: tag: D159
data_type: byte[16]
name: unpack_data
arguments: tag: D189
data_type: f32[2]
name: unpack_data
arguments: tag: D214
data_type: byte[16]
name: unpack_data
arguments: tag: D213
data_type: byte[8]
name: unpack_data
arguments: tag: D195
data_type: byte[16]
name: unpack_data
arguments: tag: D75
data_type: f64
name: unpack_data
arguments: tag: D165
data_type: byte[8]
name: unpack_data
arguments: tag: D208
data_type: byte[8]

tool: D243: 0.5

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

tool: D301: 1

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

tool: {"D159": [0xbb,0xbd,0xd7,0xd9,0xdf,0x7c,0xdb,0x3d,0x39,0xfe,0xdd,0xe8,0x1a,0xaa,0x00,0x3e]}

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

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

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

tool: {"D195": [0x39,0xfe,0xdd,0xe8,0x1a,0xaa,0x00,0x3e,0x1e,0x26,0x44,0x54,0xfb,0x21,0x19,0x40]}

tool: D75: 3.141592653589

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

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

assistant: ```c
void GPS_Math_LambertCC_EN_To_LatLon(double E, double N, double *phi, double *lambda, double phi1, double phi2, double phi0, double M0, double E0, double N0, double a, double b) {
  double po2;
  double po4;
  double a2;
  double b2;
  double phi0s;
  double e;
  double esq;
  double ed2;
  double ess;
  double t0;
  double t1;
  double t2;
  double m1;
  double m2;
  double phi1s;
  double phi1c;
  double phi2s;
  double phi2c;
  double n;
  double F;
  double Fa;
  double rho;
  double rho0;
  double phis;
  double t;
  double theta;
  double dx;
  double dy;
  double rhom;
  double lat;
  double tlat;
  double tol;
  phi0 = GPS_Math_Deg_To_Rad(phi0);
  phi1 = GPS_Math_Deg_To_Rad(phi1);
  phi2 = GPS_Math_Deg_To_Rad(phi2);
  M0 = GPS_Math_Deg_To_Rad(M0);
  po2 = (double)3.141592653589 / (double)2.0;
  po4 = (double)3.141592653589 / (double)4.0;
  a2 = a * a;
  b2 = b * b;
  esq = (a2 - b2) / a2;
  e = pow(esq, (double)0.5);
  ed2 = e / (double)2.0;
  phi0s = sin(phi0);
  ess = e * phi0s;
  t0 = tan(po4 - phi0 / (double)2.0) / pow(((double)1.0 - ess) / ((double)1.0 + ess), ed2);
  phi1s = sin(phi1);
  phi1c = cos(phi1);
  ess = e * phi1s;
  m1 = phi1c / pow(((double)1.0 - ess * ess), (double)0.5);
  t1 = tan(po4 - phi1 / (double)2.0) / pow(((double)1.0 - ess) / ((double)1.0 + ess), ed2);
  if (fabs(phi1 - phi2) > 1.0e-10) {
    phi2s = sin(phi2);
    phi2c = cos(phi2);
    ess = e * phi2s;
    m2 = phi2c / pow(((double)1.0 - ess * ess), (double)0.5);
    t2 = tan(po4 - phi2 / (double)2.0) / pow(((double)1.0 - ess) / ((double)1.0 + ess), ed2);
    n = log(m1 / m2) / log(t1 / t2);
  } else
    n = phi1s;
  F = m1 / (n * pow(t1, n));
  Fa = F * a;
  rho0 = pow(t0, n) * Fa;
  tlat = theta = (double)0.0;
  tol = (double)4.85e-10;
  dx = E - E0;
  dy = N - N0;
  rhom = rho0 - dy;
  rho = pow(dx * dx + rhom * rhom, (double)0.5);
  if (n < 0.0) {
    rhom *= (double)-1.0;
    dy *= (double)-1.0;
    dx *= (double)-1.0;
    rho *= (double)-1.0;
  }
  if (rho) {
    theta = atan2(dx, rhom);
    t = pow(rho / Fa, (double)1.0 / n);
    lat = po2 - (double)2.0 * atan(t);
    while (fabs(lat - tlat) > tol) {
      tlat = lat;
      phis = sin(lat);
      ess = e * phis;
      lat = po2 - (double)2.0 * atan(t * pow(((double)1.0 - ess) / ((double)1.0 + ess), e / (double)2.0));
    }
    *phi = lat;
    *lambda = theta / n + M0;
    if (*phi > po2)
      *phi = po2;
    else if (*phi < -po2)
      *phi = -po2;
    if (*lambda > 3.141592653589)
      *lambda -= (double)3.141592653589 * (double)2.0;
    if (*lambda < -3.141592653589)
      *lambda += (double)3.141592653589 * (double)2.0;
    if (*lambda > 3.141592653589)
      *lambda = 3.141592653589;
    else if (*lambda < -3.141592653589)
      *lambda = -3.141592653589;
  } else {
    if (n > 0.0)
      *phi = po2;
    else
      *phi = -po2;
    *lambda = M0;
  }
  *lambda = GPS_Math_Rad_To_Deg(*lambda);
  *phi = GPS_Math_Rad_To_Deg(*phi);
  return;
}
```