#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_LatLon_To_EN(double *, double *, double, double,
                                         double, double, double, double, double,
                                         double, double);
void GPS_Math_Airy1830LatLonToNGEN(double phi, double lambda, double *E,
                                   double *N) {
  double N0 = -100000;
  double E0 = 400000;
  double F0 = 0.9996012717;
  double phi0 = 49.;
  double lambda0 = -2.;
  double a = 6377563.396;
  double b = 6356256.910;
  GPS_Math_LatLon_To_EN(E, N, phi, lambda, N0, E0, phi0, lambda0, F0, a, b);
  return;
}


x86 assembly (clang, -O0):
<GPS_Math_Airy1830LatLonToNGEN>:
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)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
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_LatLon_To_EN@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<GPS_Math_Airy1830LatLonToNGEN>:
push   %rax
movabs $0x41583f483a3d70a4,%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_LatLon_To_EN@plt>
pop    %rax
ret

LLVM IR (-O0):
define void @GPS_Math_Airy1830LatLonToNGEN(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 -1.000000e+05, double* %9
store double 4.000000e+05, double* %10
store double 0x3FEFFCBBCE5FBA74, double* %11
store double 4.900000e+01, double* %12
store double -2.000000e+00, double* %13
store double 0x41585416D9581062, double* %14
store double 0x41583F483A3D70A4, double* %15
%16 = load double*, double** %7
%17 = load double*, double** %8
%18 = load double, double* %5
%19 = load double, double* %6
%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_LatLon_To_EN(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_Airy1830LatLonToNGEN(double %0, double %1, double* %2, double* %3) {
%5 = tail call i32 @GPS_Math_LatLon_To_EN(double* %2, double* %3, double %0, double %1, double -1.000000e+05, double 4.000000e+05, double 4.900000e+01, double -2.000000e+00, double 0x3FEFFCBBCE5FBA74, double 0x41585416D9581062, double 0x41583F483A3D70A4)
ret void
}