#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*/ palAoppa(double, double, double, double, double, double,
                            double, double, double, double, double, double,
                            double *);
int /*<<< orphan*/ palOapqk(char const *, double, double, double *, double *,
                            double *);
void palOap(const char *type, double ob1, double ob2, double date, double dut,
            double elongm, double phim, double hm, double xp, double yp,
            double tdk, double pmb, double rh, double wl, double tlr,
            double *rap, double *dap) {
  double aoprms[14];
  palAoppa(date, dut, elongm, phim, hm, xp, yp, tdk, pmb, rh, wl, tlr, aoprms);
  palOapqk(type, ob1, ob2, aoprms, rap, dap);
}


x86 assembly (clang, -O0):
<palOap>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
movsd  0x38(%rbp),%xmm8
movsd  0x30(%rbp),%xmm8
movsd  0x28(%rbp),%xmm8
movsd  0x20(%rbp),%xmm8
movsd  0x18(%rbp),%xmm8
movsd  0x10(%rbp),%xmm8
mov    %rdi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm2,-0x20(%rbp)
movsd  %xmm3,-0x28(%rbp)
movsd  %xmm4,-0x30(%rbp)
movsd  %xmm5,-0x38(%rbp)
movsd  %xmm6,-0x40(%rbp)
movsd  %xmm7,-0x48(%rbp)
mov    %rsi,-0x50(%rbp)
mov    %rdx,-0x58(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movsd  -0x40(%rbp),%xmm4
movsd  -0x48(%rbp),%xmm5
movsd  0x10(%rbp),%xmm6
movsd  0x18(%rbp),%xmm7
movsd  0x20(%rbp),%xmm11
movsd  0x28(%rbp),%xmm10
movsd  0x30(%rbp),%xmm9
movsd  0x38(%rbp),%xmm8
lea    -0xd0(%rbp),%rdi
movsd  %xmm11,(%rsp)
movsd  %xmm10,0x8(%rsp)
movsd  %xmm9,0x10(%rsp)
movsd  %xmm8,0x18(%rsp)
call   1030 <palAoppa@plt>
mov    -0x8(%rbp),%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
lea    -0xd0(%rbp),%rsi
mov    -0x50(%rbp),%rdx
mov    -0x58(%rbp),%rcx
call   1040 <palOapqk@plt>
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<palOap>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    %rdx,%r14
mov    %rsi,%r15
movaps %xmm7,%xmm8
movaps %xmm6,%xmm9
movsd  %xmm1,0x28(%rsp)
movsd  %xmm0,0x20(%rsp)
mov    %rdi,%rbx
movsd  0xd0(%rsp),%xmm6
movsd  0xd8(%rsp),%xmm7
movaps 0xe0(%rsp),%xmm0
movaps 0xf0(%rsp),%xmm1
movups %xmm1,0x10(%rsp)
movups %xmm0,(%rsp)
lea    0x30(%rsp),%r12
movaps %xmm2,%xmm0
movaps %xmm3,%xmm1
movaps %xmm4,%xmm2
movaps %xmm5,%xmm3
movaps %xmm9,%xmm4
movaps %xmm8,%xmm5
mov    %r12,%rdi
call   1030 <palAoppa@plt>
mov    %rbx,%rdi
movsd  0x20(%rsp),%xmm0
movsd  0x28(%rsp),%xmm1
mov    %r12,%rsi
mov    %r15,%rdx
mov    %r14,%rcx
call   1040 <palOapqk@plt>
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @palOap(i8* %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12, double %13, double %14, double* %15, double* %16) {
%18 = alloca i8*
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double*
%34 = alloca double*
%35 = alloca [14 x double]
store i8* %0, i8** %18
store double %1, double* %19
store double %2, double* %20
store double %3, double* %21
store double %4, double* %22
store double %5, double* %23
store double %6, double* %24
store double %7, double* %25
store double %8, double* %26
store double %9, double* %27
store double %10, double* %28
store double %11, double* %29
store double %12, double* %30
store double %13, double* %31
store double %14, double* %32
store double* %15, double** %33
store double* %16, double** %34
%36 = load double, double* %21
%37 = load double, double* %22
%38 = load double, double* %23
%39 = load double, double* %24
%40 = load double, double* %25
%41 = load double, double* %26
%42 = load double, double* %27
%43 = load double, double* %28
%44 = load double, double* %29
%45 = load double, double* %30
%46 = load double, double* %31
%47 = load double, double* %32
%48 = getelementptr inbounds [14 x double], [14 x double]* %35, i64 0, i64 0
%49 = call i32 @palAoppa(double %36, double %37, double %38, double %39, double %40, double %41, double %42, double %43, double %44, double %45, double %46, double %47, double* %48)
%50 = load i8*, i8** %18
%51 = load double, double* %19
%52 = load double, double* %20
%53 = getelementptr inbounds [14 x double], [14 x double]* %35, i64 0, i64 0
%54 = load double*, double** %33
%55 = load double*, double** %34
%56 = call i32 @palOapqk(i8* %50, double %51, double %52, double* %53, double* %54, double* %55)
ret void
}

LLVM IR (-O2):
define void @palOap(i8* %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12, double %13, double %14, double* %15, double* %16) {
%18 = alloca [14 x double]
%19 = bitcast [14 x double]* %18 to i8*
%20 = getelementptr inbounds [14 x double], [14 x double]* %18, i64 0, i64 0
%21 = call i32 @palAoppa(double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12, double %13, double %14, double* %20)
%22 = call i32 @palOapqk(i8* %0, double %1, double %2, double* %20, double* %15, double* %16)
ret void
}