#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 lash_getContainedAngle(double const, double const, double const,
                           double const, double const, int const, int const,
                           int const, int const, double *, double *,
                           int /*<<< orphan*/, double *, double *, double *,
                           double *);
int lash_getContainedAngleOnly(const double x, const double y, const double m,
                               const double w_container,
                               const double h_container, const int buf_top,
                               const int buf_right, const int buf_bottom,
                               const int buf_left, double *angle_min,
                               double *angle_max) {
  double n = 0.f;
  return lash_getContainedAngle(x, y, m, w_container, h_container, buf_top,
                                buf_right, buf_bottom, buf_left, angle_min,
                                angle_max, 0, &n, &n, &n, &n);
}


x86 assembly (clang, -O0):
<lash_getContainedAngleOnly>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
mov    %edi,-0x2c(%rbp)
mov    %esi,-0x30(%rbp)
mov    %edx,-0x34(%rbp)
mov    %ecx,-0x38(%rbp)
mov    %r8,-0x40(%rbp)
mov    %r9,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm3
movsd  -0x28(%rbp),%xmm4
mov    -0x2c(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    -0x34(%rbp),%edx
mov    -0x38(%rbp),%ecx
mov    -0x40(%rbp),%r8
mov    -0x48(%rbp),%r9
xor    %eax,%eax
lea    -0x50(%rbp),%rax
movl   $0x0,(%rsp)
mov    %rax,0x8(%rsp)
mov    %rax,0x10(%rsp)
mov    %rax,0x18(%rsp)
mov    %rax,0x20(%rsp)
call   1030 <lash_getContainedAngle@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lash_getContainedAngleOnly>:
push   %rax
movq   $0x0,(%rsp)
sub    $0x8,%rsp
lea    0x8(%rsp),%rax
push   %rax
push   %rax
push   %rax
push   %rax
push   $0x0
call   1030 <lash_getContainedAngle@plt>
add    $0x30,%rsp
pop    %rcx
ret

LLVM IR (-O0):
define i32 @lash_getContainedAngleOnly(double %0, double %1, double %2, double %3, double %4, i32 %5, i32 %6, i32 %7, i32 %8, double* %9, double* %10) {
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca double*
%22 = alloca double*
%23 = alloca double
store double %0, 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 i32 %6, i32* %18
store i32 %7, i32* %19
store i32 %8, i32* %20
store double* %9, double** %21
store double* %10, double** %22
store double 0.000000e+00, double* %23
%24 = load 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 i32, i32* %18
%31 = load i32, i32* %19
%32 = load i32, i32* %20
%33 = load double*, double** %21
%34 = load double*, double** %22
%35 = call i32 @lash_getContainedAngle(double %24, double %25, double %26, double %27, double %28, i32 %29, i32 %30, i32 %31, i32 %32, double* %33, double* %34, i32 0, double* %23, double* %23, double* %23, double* %23)
ret i32 %35
}

LLVM IR (-O2):
define i32 @lash_getContainedAngleOnly(double %0, double %1, double %2, double %3, double %4, i32 %5, i32 %6, i32 %7, i32 %8, double* %9, double* %10) {
%12 = alloca double
%13 = bitcast double* %12 to i8*
store double 0.000000e+00, double* %12
%14 = call i32 @lash_getContainedAngle(double %0, double %1, double %2, double %3, double %4, i32 %5, i32 %6, i32 %7, i32 %8, double* %9, double* %10, i32 0, double* %12, double* %12, double* %12, double* %12)
ret i32 %14
}