#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ GPS_Math_EN_To_LatLon(double, double, double *, double *,
                                         double, double, double, double, double,
                                         double, double);
void GPS_Math_INGENToAiry1830MLatLon(double E, double N, double *phi,
                                     double *lambda) {
  double N0 = 250000;
  double E0 = 200000;
  double F0 = 1.000035;
  double phi0 = 53.5;
  double lambda0 = -8.;
  double a = 6377340.189;
  double b = 6356034.447;
  GPS_Math_EN_To_LatLon(E, N, phi, lambda, N0, E0, phi0, lambda0, F0, a, b);
  return;
}


x86 assembly (clang, -O0):
<GPS_Math_INGENToAiry1830MLatLon>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
mov    %rdi,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
movsd  0xefe(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xee9(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xed4(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xebf(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xeaa(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xe95(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xe80(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
movsd  -0x40(%rbp),%xmm4
movsd  -0x48(%rbp),%xmm5
movsd  -0x38(%rbp),%xmm6
movsd  -0x50(%rbp),%xmm7
movsd  -0x58(%rbp),%xmm8
movsd  %xmm8,(%rsp)
call   1030 <GPS_Math_EN_To_LatLon@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<GPS_Math_INGENToAiry1830MLatLon>:
push   %rax
movabs $0x41583f109c9ba5e3,%rax
3f 58 41
mov    %rax,(%rsp)
movsd  0xed9(%rip),%xmm2
movsd  0xed9(%rip),%xmm3
movsd  0xed9(%rip),%xmm4
movsd  0xed9(%rip),%xmm5
movsd  0xed9(%rip),%xmm6
movsd  0xed9(%rip),%xmm7
call   1030 <GPS_Math_EN_To_LatLon@plt>
pop    %rax
ret

LLVM IR (-O0):
define void @GPS_Math_INGENToAiry1830MLatLon(double %0, double %1, double* %2, double* %3) {
%5 = alloca double
%6 = alloca double
%7 = alloca double*
%8 = alloca double*
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
store double %0, double* %5
store double %1, double* %6
store double* %2, double** %7
store double* %3, double** %8
store double 2.500000e+05, double* %9
store double 2.000000e+05, double* %10
store double 0x3FF00024B33DAF8E, double* %11
store double 5.350000e+01, double* %12
store double -8.000000e+00, double* %13
store double 0x415853DF0C189375, double* %14
store double 0x41583F109C9BA5E3, double* %15
%16 = load double, double* %5
%17 = load double, double* %6
%18 = load double*, double** %7
%19 = load double*, double** %8
%20 = load double, double* %9
%21 = load double, double* %10
%22 = load double, double* %12
%23 = load double, double* %13
%24 = load double, double* %11
%25 = load double, double* %14
%26 = load double, double* %15
%27 = call i32 @GPS_Math_EN_To_LatLon(double %16, double %17, double* %18, double* %19, double %20, double %21, double %22, double %23, double %24, double %25, double %26)
ret void
}

LLVM IR (-O2):
define void @GPS_Math_INGENToAiry1830MLatLon(double %0, double %1, double* %2, double* %3) {
%5 = tail call i32 @GPS_Math_EN_To_LatLon(double %0, double %1, double* %2, double* %3, double 2.500000e+05, double 2.000000e+05, double 5.350000e+01, double -8.000000e+00, double 0x3FF00024B33DAF8E, double 0x415853DF0C189375, double 0x41583F109C9BA5E3)
ret void
}