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


x86 assembly (clang, -O0):
<AssertNeqFloat>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movss  %xmm0,-0x8(%rbp)
movss  %xmm1,-0xc(%rbp)
mov    %edi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
call   1030 <floatEq@plt>
cmp    $0x0,%rax
je     118e <AssertNeqFloat+0x6e>
mov    -0x18(%rbp),%rsi
mov    -0x10(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%r8
movss  -0xc(%rbp),%xmm0
mov    -0x30(%rbp),%r9
lea    0xe83(%rip),%rdi
call   1040 <TESTError_Fail@plt>
movl   $0x0,-0x4(%rbp)
jmp    1195 <AssertNeqFloat+0x75>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<AssertNeqFloat>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %r8,%r14
mov    %rcx,%r15
mov    %rdx,%r12
mov    %rsi,%rbx
mov    %edi,%ebp
movss  %xmm1,0xc(%rsp)
call   1030 <floatEq@plt>
test   %rax,%rax
je     116e <AssertNeqFloat+0x4e>
lea    0xeaf(%rip),%rdi
mov    %rbx,%rsi
mov    %ebp,%edx
mov    %r12,%rcx
mov    %r15,%r8
movss  0xc(%rsp),%xmm0
mov    %r14,%r9
call   1040 <TESTError_Fail@plt>
xor    %eax,%eax
jmp    1173 <AssertNeqFloat+0x53>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [48 x i8] c"%s:%d> %s() FAILED: %s should not be '%f' (%s)\0A\00"
define i32 @AssertNeqFloat(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 = load float, float* %10
%18 = call i64 @floatEq(float %16, float %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %7
%21 = load i8*, i8** %12
%22 = load i32, i32* %11
%23 = load i8*, i8** %13
%24 = load i8*, i8** %14
%25 = load float, float* %10
%26 = load i8*, i8** %15
%27 = call i32 @TESTError_Fail(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i8* %21, i32 %22, i8* %23, i8* %24, float %25, i8* %26)
store i32 0, i32* %8
br label %29
28: ; preds = %7
store i32 1, i32* %8
br label %29
29: ; preds = %28, %20
%30 = load i32, i32* %8
ret i32 %30
}

LLVM IR (-O2):
@.str = [48 x i8] c"%s:%d> %s() FAILED: %s should not be '%f' (%s)\0A\00"
define i32 @AssertNeqFloat(float %0, float %1, i32 %2, i8* %3, i8* %4, i8* %5, i8* %6) {
%8 = tail call i64 @floatEq(float %0, float %1)
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %7
%11 = tail call i32 @TESTError_Fail(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i8* %3, i32 %2, i8* %4, i8* %5, float %1, i8* %6)
br label %12
12: ; preds = %7, %10
%13 = phi i32 [ 0, %10 ], [ 1, %7 ]
ret i32 %13
}