#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 dqawse(double (*)(double, void *), void *, double, double, double,
              double, int, double, double, double *, int *, int *);
double dqaws(double f(double, void *), void *cbData, double a, double b,
             double alfa, double beta, int wgtfunc, double epsabs,
             double epsrel, double *abserr, int *neval, int *ier) {
  double result;
  result = dqawse(f, cbData, a, b, alfa, beta, wgtfunc, epsabs, epsrel, abserr,
                  neval, ier);
  return result;
}


x86 assembly (clang, -O0):
<dqaws>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsd  %xmm2,-0x28(%rbp)
movsd  %xmm3,-0x30(%rbp)
mov    %edx,-0x34(%rbp)
movsd  %xmm4,-0x40(%rbp)
movsd  %xmm5,-0x48(%rbp)
mov    %rcx,-0x50(%rbp)
mov    %r8,-0x58(%rbp)
mov    %r9,-0x60(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
mov    -0x34(%rbp),%edx
movsd  -0x40(%rbp),%xmm4
movsd  -0x48(%rbp),%xmm5
mov    -0x50(%rbp),%rcx
mov    -0x58(%rbp),%r8
mov    -0x60(%rbp),%r9
call   1030 <dqawse@plt>
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dqaws>:
jmp    1030 <dqawse@plt>

LLVM IR (-O0):
define double @dqaws(double (double, i8*)* %0, i8* %1, double %2, double %3, double %4, double %5, i32 %6, double %7, double %8, double* %9, i32* %10, i32* %11) {
%13 = alloca double (double, i8*)*
%14 = alloca i8*
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca i32
%20 = alloca double
%21 = alloca double
%22 = alloca double*
%23 = alloca i32*
%24 = alloca i32*
%25 = alloca double
store double (double, i8*)* %0, double (double, i8*)** %13
store i8* %1, i8** %14
store double %2, double* %15
store double %3, double* %16
store double %4, double* %17
store double %5, double* %18
store i32 %6, i32* %19
store double %7, double* %20
store double %8, double* %21
store double* %9, double** %22
store i32* %10, i32** %23
store i32* %11, i32** %24
%26 = load double (double, i8*)*, double (double, i8*)** %13
%27 = load i8*, i8** %14
%28 = load double, double* %15
%29 = load double, double* %16
%30 = load double, double* %17
%31 = load double, double* %18
%32 = load i32, i32* %19
%33 = load double, double* %20
%34 = load double, double* %21
%35 = load double*, double** %22
%36 = load i32*, i32** %23
%37 = load i32*, i32** %24
%38 = call double @dqawse(double (double, i8*)* %26, i8* %27, double %28, double %29, double %30, double %31, i32 %32, double %33, double %34, double* %35, i32* %36, i32* %37)
store double %38, double* %25
%39 = load double, double* %25
ret double %39
}

LLVM IR (-O2):
define double @dqaws(double (double, i8*)* %0, i8* %1, double %2, double %3, double %4, double %5, i32 %6, double %7, double %8, double* %9, i32* %10, i32* %11) {
%13 = tail call double @dqawse(double (double, i8*)* %0, i8* %1, double %2, double %3, double %4, double %5, i32 %6, double %7, double %8, double* %9, i32* %10, i32* %11)
ret double %13
}