#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*/ Recur(double, int, int, int, int, double, double, double,
                         double, double, double, double, double);
double Shift(int, int, int, int, double, double);
double Int1d(double t, int ix, int jx, int kx, int lx, double xi, double xj,
             double xk, double xl, double alphai, double alphaj, double alphak,
             double alphal) {
  double Ix;
  Recur(t, ix, jx, kx, lx, xi, xj, xk, xl, alphai, alphaj, alphak, alphal);
  Ix = Shift(ix, jx, kx, lx, xi - xj, xk - xl);
  return Ix;
}


x86 assembly (clang, -O0):
<Int1d>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  0x10(%rbp),%xmm8
movsd  %xmm0,-0x8(%rbp)
mov    %edi,-0xc(%rbp)
mov    %esi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsd  %xmm2,-0x28(%rbp)
movsd  %xmm3,-0x30(%rbp)
movsd  %xmm4,-0x38(%rbp)
movsd  %xmm5,-0x40(%rbp)
movsd  %xmm6,-0x48(%rbp)
movsd  %xmm7,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
mov    -0xc(%rbp),%edi
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
movsd  -0x20(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
movsd  -0x38(%rbp),%xmm4
movsd  -0x40(%rbp),%xmm5
movsd  -0x48(%rbp),%xmm6
movsd  -0x50(%rbp),%xmm7
movsd  0x10(%rbp),%xmm8
movsd  %xmm8,(%rsp)
call   1040 <Recur@plt>
mov    -0xc(%rbp),%edi
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
movsd  -0x20(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
subsd  -0x38(%rbp),%xmm1
call   1030 <Shift@plt>
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Int1d>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x28,%rsp
movsd  %xmm4,0x10(%rsp)
movsd  %xmm3,0x20(%rsp)
movsd  %xmm2,0x8(%rsp)
movsd  %xmm1,0x18(%rsp)
mov    %ecx,%r14d
mov    %edx,%r15d
mov    %esi,%ebx
mov    %edi,%ebp
movsd  0x50(%rsp),%xmm8
movsd  %xmm8,(%rsp)
call   1040 <Recur@plt>
movsd  0x18(%rsp),%xmm0
subsd  0x8(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
subsd  0x10(%rsp),%xmm1
mov    %ebp,%edi
mov    %ebx,%esi
mov    %r15d,%edx
mov    %r14d,%ecx
add    $0x28,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <Shift@plt>

LLVM IR (-O0):
define double @Int1d(double %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12) {
%14 = alloca double
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%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
store double %0, double* %14
store i32 %1, i32* %15
store i32 %2, i32* %16
store i32 %3, i32* %17
store i32 %4, i32* %18
store double %5, double* %19
store double %6, double* %20
store double %7, double* %21
store double %8, double* %22
store double %9, double* %23
store double %10, double* %24
store double %11, double* %25
store double %12, double* %26
%28 = load double, double* %14
%29 = load i32, i32* %15
%30 = load i32, i32* %16
%31 = load i32, i32* %17
%32 = load i32, i32* %18
%33 = load double, double* %19
%34 = load double, double* %20
%35 = load double, double* %21
%36 = load double, double* %22
%37 = load double, double* %23
%38 = load double, double* %24
%39 = load double, double* %25
%40 = load double, double* %26
%41 = call i32 @Recur(double %28, i32 %29, i32 %30, i32 %31, i32 %32, double %33, double %34, double %35, double %36, double %37, double %38, double %39, double %40)
%42 = load i32, i32* %15
%43 = load i32, i32* %16
%44 = load i32, i32* %17
%45 = load i32, i32* %18
%46 = load double, double* %19
%47 = load double, double* %20
%48 = fsub double %46, %47
%49 = load double, double* %21
%50 = load double, double* %22
%51 = fsub double %49, %50
%52 = call double @Shift(i32 %42, i32 %43, i32 %44, i32 %45, double %48, double %51)
store double %52, double* %27
%53 = load double, double* %27
ret double %53
}

LLVM IR (-O2):
define double @Int1d(double %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12) {
%14 = tail call i32 @Recur(double %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12)
%15 = fsub double %5, %6
%16 = fsub double %7, %8
%17 = tail call double @Shift(i32 %1, i32 %2, i32 %3, i32 %4, double %15, double %16)
ret double %17
}