#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*/
TROPOSPHERE_GetDayAndWetMappingValues_UsingThe_UNBabc_MappingFunction(
    double const, double const, double const, double *, double *);
void TROPOSPHERE_GetDryAndWetDelay_UsingThe_UNBabc_MappingFunction(
    const double zenith_dry_delay, const double zenith_wet_delay,
    const double elevation, const double latitude, const double height,
    double *drydelay, double *wetdelay) {
  double drymap;
  double wetmap;
  TROPOSPHERE_GetDayAndWetMappingValues_UsingThe_UNBabc_MappingFunction(
      elevation, latitude, height, &drymap, &wetmap);
  *drydelay = zenith_dry_delay * drymap;
  *wetdelay = zenith_wet_delay * wetmap;
}


x86 assembly (clang, -O0):
<TROPOSPHERE_GetDryAndWetDelay_UsingThe_UNBabc_MappingFunction>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
lea    -0x40(%rbp),%rdi
lea    -0x48(%rbp),%rsi
call   1030 <TROPOSPHERE_GetDayAndWetMappingValues_UsingThe_UNBabc_MappingFunction@plt>
movsd  -0x8(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x10(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
mov    -0x38(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TROPOSPHERE_GetDryAndWetDelay_UsingThe_UNBabc_MappingFunction>:
push   %r14
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x8(%rsp)
lea    0x20(%rsp),%rdi
lea    0x18(%rsp),%rsi
movaps %xmm2,%xmm0
movaps %xmm3,%xmm1
movaps %xmm4,%xmm2
call   1030 <TROPOSPHERE_GetDayAndWetMappingValues_UsingThe_UNBabc_MappingFunction@plt>
movsd  0x8(%rsp),%xmm0
mulsd  0x20(%rsp),%xmm0
movsd  %xmm0,(%rbx)
movsd  0x10(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
movsd  %xmm0,(%r14)
add    $0x28,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @TROPOSPHERE_GetDryAndWetDelay_UsingThe_UNBabc_MappingFunction(double %0, double %1, double %2, double %3, double %4, double* %5, double* %6) {
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double*
%14 = alloca double*
%15 = alloca double
%16 = alloca double
store double %0, double* %8
store double %1, double* %9
store double %2, double* %10
store double %3, double* %11
store double %4, double* %12
store double* %5, double** %13
store double* %6, double** %14
%17 = load double, double* %10
%18 = load double, double* %11
%19 = load double, double* %12
%20 = call i32 @TROPOSPHERE_GetDayAndWetMappingValues_UsingThe_UNBabc_MappingFunction(double %17, double %18, double %19, double* %15, double* %16)
%21 = load double, double* %8
%22 = load double, double* %15
%23 = fmul double %21, %22
%24 = load double*, double** %13
store double %23, double* %24
%25 = load double, double* %9
%26 = load double, double* %16
%27 = fmul double %25, %26
%28 = load double*, double** %14
store double %27, double* %28
ret void
}

LLVM IR (-O2):
define void @TROPOSPHERE_GetDryAndWetDelay_UsingThe_UNBabc_MappingFunction(double %0, double %1, double %2, double %3, double %4, double* nocapture writeonly %5, double* nocapture writeonly %6) {
%8 = alloca double
%9 = alloca double
%10 = bitcast double* %8 to i8*
%11 = bitcast double* %9 to i8*
%12 = call i32 @TROPOSPHERE_GetDayAndWetMappingValues_UsingThe_UNBabc_MappingFunction(double %2, double %3, double %4, double* %8, double* %9)
%13 = load double, double* %8
%14 = fmul double %13, %0
store double %14, double* %5
%15 = load double, double* %9
%16 = fmul double %15, %1
store double %16, double* %6
ret void
}