#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 */
double pnf_cooc_detail(double, double, double, double, double, double *,
                       double *, double *, double *, double *, int *, int *,
                       int *, int *, int *, int *);
double pnf_cooc(double lambda_i, double lambda_r, double v_i, double v_r,
                double delta) {
  double pleft, pbothleft, pmiddle, pbothright, pright;
  int left, bothleft, middle, bothright, right, boundguard;
  return pnf_cooc_detail(lambda_i, lambda_r, v_i, v_r, delta, &pleft,
                         &pbothleft, &pmiddle, &pbothright, &pright, &left,
                         &bothleft, &middle, &bothright, &right, &boundguard);
}


x86 assembly (clang, -O0):
<pnf_cooc>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x90,%rsp
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsd  %xmm2,-0x28(%rbp)
movsd  %xmm3,-0x30(%rbp)
movsd  %xmm4,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
movsd  -0x38(%rbp),%xmm4
lea    -0x40(%rbp),%rdi
lea    -0x48(%rbp),%rsi
lea    -0x50(%rbp),%rdx
lea    -0x58(%rbp),%rcx
lea    -0x60(%rbp),%r8
lea    -0x64(%rbp),%r9
lea    -0x68(%rbp),%r14
lea    -0x6c(%rbp),%rbx
lea    -0x70(%rbp),%r11
lea    -0x74(%rbp),%r10
lea    -0x78(%rbp),%rax
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %rax,0x20(%rsp)
call   1030 <pnf_cooc_detail@plt>
add    $0x90,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<pnf_cooc>:
push   %r14
push   %rbx
sub    $0x48,%rsp
sub    $0x8,%rsp
lea    0x10(%rsp),%rax
lea    0x14(%rsp),%r10
lea    0x18(%rsp),%r11
lea    0x1c(%rsp),%rbx
lea    0x20(%rsp),%r14
lea    0x48(%rsp),%rdi
lea    0x40(%rsp),%rsi
lea    0x38(%rsp),%rdx
lea    0x30(%rsp),%rcx
lea    0x28(%rsp),%r8
lea    0x24(%rsp),%r9
push   %rax
push   %r10
push   %r11
push   %rbx
push   %r14
call   1030 <pnf_cooc_detail@plt>
add    $0x78,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define double @pnf_cooc(double %0, double %1, double %2, double %3, double %4) {
%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
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
store double %0, double* %6
store double %1, double* %7
store double %2, double* %8
store double %3, double* %9
store double %4, double* %10
%22 = load double, double* %6
%23 = load double, double* %7
%24 = load double, double* %8
%25 = load double, double* %9
%26 = load double, double* %10
%27 = call double @pnf_cooc_detail(double %22, double %23, double %24, double %25, double %26, double* %11, double* %12, double* %13, double* %14, double* %15, i32* %16, i32* %17, i32* %18, i32* %19, i32* %20, i32* %21)
ret double %27
}

LLVM IR (-O2):
define double @pnf_cooc(double %0, double %1, double %2, double %3, double %4) {
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = bitcast double* %6 to i8*
%18 = bitcast double* %7 to i8*
%19 = bitcast double* %8 to i8*
%20 = bitcast double* %9 to i8*
%21 = bitcast double* %10 to i8*
%22 = bitcast i32* %11 to i8*
%23 = bitcast i32* %12 to i8*
%24 = bitcast i32* %13 to i8*
%25 = bitcast i32* %14 to i8*
%26 = bitcast i32* %15 to i8*
%27 = bitcast i32* %16 to i8*
%28 = call double @pnf_cooc_detail(double %0, double %1, double %2, double %3, double %4, double* %6, double* %7, double* %8, double* %9, double* %10, i32* %11, i32* %12, i32* %13, i32* %14, i32* %15, i32* %16)
ret double %28
}