#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 /*<<< orphan*/ TESTError_Fail(char *, char const *, int, char const *,
                                  char const *, float const, float const,
                                  float const, float const, char const *);
scalar_t__ floatEq(float const, float const);
int AssertNeqFloat4(const float a[], const float b[], int line,
                    const char *file, const char *function, const char *aexp,
                    const char *bexp) {
  if (floatEq(a[0], b[0]) && floatEq(a[1], b[1]) && floatEq(a[2], b[2]) &&
      floatEq(a[3], b[3])) {
    TESTError_Fail(
        "%s:%d> %s() FAILED: %s should not be '(%f,%f,%f,%f)' (%s)\n", file,
        line, function, aexp, b[0], b[1], b[2], b[3], bexp);
    return 0;
  }
  return 1;
}


x86 assembly (clang, -O0):
<AssertNeqFloat4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  (%rax),%xmm1
call   1030 <floatEq@plt>
cmp    $0x0,%rax
je     1213 <AssertNeqFloat4+0xf3>
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  0x4(%rax),%xmm1
call   1030 <floatEq@plt>
cmp    $0x0,%rax
je     1213 <AssertNeqFloat4+0xf3>
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  0x8(%rax),%xmm1
call   1030 <floatEq@plt>
cmp    $0x0,%rax
je     1213 <AssertNeqFloat4+0xf3>
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  0xc(%rax),%xmm1
call   1030 <floatEq@plt>
cmp    $0x0,%rax
je     1213 <AssertNeqFloat4+0xf3>
mov    -0x28(%rbp),%rsi
mov    -0x1c(%rbp),%edx
mov    -0x30(%rbp),%rcx
mov    -0x38(%rbp),%r8
mov    -0x18(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  0x4(%rax),%xmm1
mov    -0x18(%rbp),%rax
movss  0x8(%rax),%xmm2
mov    -0x18(%rbp),%rax
movss  0xc(%rax),%xmm3
mov    0x10(%rbp),%r9
lea    0xdfe(%rip),%rdi
call   1040 <TESTError_Fail@plt>
movl   $0x0,-0x4(%rbp)
jmp    121a <AssertNeqFloat4+0xfa>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<AssertNeqFloat4>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r9,(%rsp)
mov    %r8,%r15
mov    %rcx,%r12
mov    %edx,%r13d
mov    %rsi,%rbx
mov    %rdi,%r14
movss  (%rdi),%xmm0
movss  (%rsi),%xmm1
call   1030 <floatEq@plt>
mov    $0x1,%ebp
test   %rax,%rax
je     11c7 <AssertNeqFloat4+0xa7>
movss  0x4(%r14),%xmm0
movss  0x4(%rbx),%xmm1
call   1030 <floatEq@plt>
test   %rax,%rax
je     11c7 <AssertNeqFloat4+0xa7>
movss  0x8(%r14),%xmm0
movss  0x8(%rbx),%xmm1
call   1030 <floatEq@plt>
test   %rax,%rax
je     11c7 <AssertNeqFloat4+0xa7>
movss  0xc(%r14),%xmm0
movss  0xc(%rbx),%xmm1
call   1030 <floatEq@plt>
test   %rax,%rax
je     11c7 <AssertNeqFloat4+0xa7>
mov    0x40(%rsp),%r9
movss  (%rbx),%xmm0
movss  0x4(%rbx),%xmm1
movss  0x8(%rbx),%xmm2
movss  0xc(%rbx),%xmm3
lea    0xe4d(%rip),%rdi
mov    %r12,%rsi
mov    %r13d,%edx
mov    %r15,%rcx
mov    (%rsp),%r8
call   1040 <TESTError_Fail@plt>
xor    %ebp,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [59 x i8] c"%s:%d> %s() FAILED: %s should not be '(%f,%f,%f,%f)' (%s)\0A\00"
define i32 @AssertNeqFloat4(float* %0, float* %1, i32 %2, i8* %3, i8* %4, i8* %5, i8* %6) {
%8 = alloca i32
%9 = alloca float*
%10 = alloca float*
%11 = alloca i32
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i8*
store float* %0, float** %9
store float* %1, float** %10
store i32 %2, i32* %11
store i8* %3, i8** %12
store i8* %4, i8** %13
store i8* %5, i8** %14
store i8* %6, i8** %15
%16 = load float*, float** %9
%17 = getelementptr inbounds float, float* %16, i64 0
%18 = load float, float* %17
%19 = load float*, float** %10
%20 = getelementptr inbounds float, float* %19, i64 0
%21 = load float, float* %20
%22 = call i64 @floatEq(float %18, float %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %70
24: ; preds = %7
%25 = load float*, float** %9
%26 = getelementptr inbounds float, float* %25, i64 1
%27 = load float, float* %26
%28 = load float*, float** %10
%29 = getelementptr inbounds float, float* %28, i64 1
%30 = load float, float* %29
%31 = call i64 @floatEq(float %27, float %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %70
33: ; preds = %24
%34 = load float*, float** %9
%35 = getelementptr inbounds float, float* %34, i64 2
%36 = load float, float* %35
%37 = load float*, float** %10
%38 = getelementptr inbounds float, float* %37, i64 2
%39 = load float, float* %38
%40 = call i64 @floatEq(float %36, float %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %70
42: ; preds = %33
%43 = load float*, float** %9
%44 = getelementptr inbounds float, float* %43, i64 3
%45 = load float, float* %44
%46 = load float*, float** %10
%47 = getelementptr inbounds float, float* %46, i64 3
%48 = load float, float* %47
%49 = call i64 @floatEq(float %45, float %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %70
51: ; preds = %42
%52 = load i8*, i8** %12
%53 = load i32, i32* %11
%54 = load i8*, i8** %13
%55 = load i8*, i8** %14
%56 = load float*, float** %10
%57 = getelementptr inbounds float, float* %56, i64 0
%58 = load float, float* %57
%59 = load float*, float** %10
%60 = getelementptr inbounds float, float* %59, i64 1
%61 = load float, float* %60
%62 = load float*, float** %10
%63 = getelementptr inbounds float, float* %62, i64 2
%64 = load float, float* %63
%65 = load float*, float** %10
%66 = getelementptr inbounds float, float* %65, i64 3
%67 = load float, float* %66
%68 = load i8*, i8** %15
%69 = call i32 @TESTError_Fail(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i8* %52, i32 %53, i8* %54, i8* %55, float %58, float %61, float %64, float %67, i8* %68)
store i32 0, i32* %8
br label %71
70: ; preds = %42, %33, %24, %7
store i32 1, i32* %8
br label %71
71: ; preds = %70, %51
%72 = load i32, i32* %8
ret i32 %72
}

LLVM IR (-O2):
@.str = [59 x i8] c"%s:%d> %s() FAILED: %s should not be '(%f,%f,%f,%f)' (%s)\0A\00"
define i32 @AssertNeqFloat4(float* nocapture %0, float* nocapture %1, i32 %2, i8* %3, i8* %4, i8* %5, i8* %6) {
%8 = load float, float* %0
%9 = load float, float* %1
%10 = tail call i64 @floatEq(float %8, float %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %39, label %12
12: ; preds = %7
%13 = getelementptr inbounds float, float* %0, i64 1
%14 = load float, float* %13
%15 = getelementptr inbounds float, float* %1, i64 1
%16 = load float, float* %15
%17 = tail call i64 @floatEq(float %14, float %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %39, label %19
19: ; preds = %12
%20 = getelementptr inbounds float, float* %0, i64 2
%21 = load float, float* %20
%22 = getelementptr inbounds float, float* %1, i64 2
%23 = load float, float* %22
%24 = tail call i64 @floatEq(float %21, float %23)
%25 = icmp eq i64 %24, 0
br i1 %25, label %39, label %26
26: ; preds = %19
%27 = getelementptr inbounds float, float* %0, i64 3
%28 = load float, float* %27
%29 = getelementptr inbounds float, float* %1, i64 3
%30 = load float, float* %29
%31 = tail call i64 @floatEq(float %28, float %30)
%32 = icmp eq i64 %31, 0
br i1 %32, label %39, label %33
33: ; preds = %26
%34 = load float, float* %1
%35 = load float, float* %15
%36 = load float, float* %22
%37 = load float, float* %29
%38 = tail call i32 @TESTError_Fail(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i8* %3, i32 %2, i8* %4, i8* %5, float %34, float %35, float %36, float %37, i8* %6)
br label %39
39: ; preds = %7, %12, %19, %26, %33
%40 = phi i32 [ 0, %33 ], [ 1, %26 ], [ 1, %19 ], [ 1, %12 ], [ 1, %7 ]
ret i32 %40
}