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


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

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

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

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