#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 fabs(double);
int ononeline(double *x, double *y, int i1, int i2, int i3, double eps) {
  return fabs((x[i1] - x[i2]) * (y[i3] - y[i2]) -
              (x[i3] - x[i2]) * (y[i1] - y[i2])) <= eps;
}


x86 assembly (clang, -O0):
<ononeline>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
movsd  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x8(%rbp),%rax
movslq -0x18(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm1
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm2
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x18(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    -0x10(%rbp),%rax
movslq -0x18(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm3
mulsd  %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movaps 0xe53(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
and    $0x1,%al
movzbl %al,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<ononeline>:
movslq %edx,%rax
movsd  (%rdi,%rax,8),%xmm1
movslq %ecx,%rcx
movsd  (%rdi,%rcx,8),%xmm2
subsd  %xmm2,%xmm1
movslq %r8d,%rdx
movsd  (%rsi,%rdx,8),%xmm3
movsd  (%rsi,%rcx,8),%xmm4
subsd  %xmm4,%xmm3
mulsd  %xmm1,%xmm3
movsd  (%rdi,%rdx,8),%xmm1
subsd  %xmm2,%xmm1
movsd  (%rsi,%rax,8),%xmm2
subsd  %xmm4,%xmm2
mulsd  %xmm1,%xmm2
subsd  %xmm2,%xmm3
andpd  0xeb5(%rip),%xmm3
xor    %eax,%eax
ucomisd %xmm3,%xmm0
setae  %al
ret

LLVM IR (-O0):
define i32 @ononeline(double* %0, double* %1, i32 %2, i32 %3, i32 %4, double %5) {
%7 = alloca double*
%8 = alloca double*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca double
store double* %0, double** %7
store double* %1, double** %8
store i32 %2, i32* %9
store i32 %3, i32* %10
store i32 %4, i32* %11
store double %5, double* %12
%13 = load double*, double** %7
%14 = load i32, i32* %9
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, double* %13, i64 %15
%17 = load double, double* %16
%18 = load double*, double** %7
%19 = load i32, i32* %10
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, double* %18, i64 %20
%22 = load double, double* %21
%23 = fsub double %17, %22
%24 = load double*, double** %8
%25 = load i32, i32* %11
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, double* %24, i64 %26
%28 = load double, double* %27
%29 = load double*, double** %8
%30 = load i32, i32* %10
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, double* %29, i64 %31
%33 = load double, double* %32
%34 = fsub double %28, %33
%35 = load double*, double** %7
%36 = load i32, i32* %11
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, double* %35, i64 %37
%39 = load double, double* %38
%40 = load double*, double** %7
%41 = load i32, i32* %10
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, double* %40, i64 %42
%44 = load double, double* %43
%45 = fsub double %39, %44
%46 = load double*, double** %8
%47 = load i32, i32* %9
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, double* %46, i64 %48
%50 = load double, double* %49
%51 = load double*, double** %8
%52 = load i32, i32* %10
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, double* %51, i64 %53
%55 = load double, double* %54
%56 = fsub double %50, %55
%57 = fmul double %45, %56
%58 = fneg double %57
%59 = call double @llvm.fmuladd.f64(double %23, double %34, double %58)
%60 = call double @llvm.fabs.f64(double %59)
%61 = load double, double* %12
%62 = fcmp ole double %60, %61
%63 = zext i1 %62 to i32
ret i32 %63
}

LLVM IR (-O2):
define i32 @ononeline(double* nocapture %0, double* nocapture %1, i32 %2, i32 %3, i32 %4, double %5) {
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds double, double* %0, i64 %7
%9 = load double, double* %8
%10 = sext i32 %3 to i64
%11 = getelementptr inbounds double, double* %0, i64 %10
%12 = load double, double* %11
%13 = fsub double %9, %12
%14 = sext i32 %4 to i64
%15 = getelementptr inbounds double, double* %1, i64 %14
%16 = load double, double* %15
%17 = getelementptr inbounds double, double* %1, i64 %10
%18 = load double, double* %17
%19 = fsub double %16, %18
%20 = getelementptr inbounds double, double* %0, i64 %14
%21 = load double, double* %20
%22 = fsub double %21, %12
%23 = getelementptr inbounds double, double* %1, i64 %7
%24 = load double, double* %23
%25 = fsub double %24, %18
%26 = fneg double %22
%27 = fmul double %25, %26
%28 = tail call double @llvm.fmuladd.f64(double %13, double %19, double %27)
%29 = tail call double @llvm.fabs.f64(double %28)
%30 = fcmp ole double %29, %5
%31 = zext i1 %30 to i32
ret i32 %31
}