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


x86 assembly (clang, -O0):
<AssertNeqInt>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x10(%rbp),%rax
mov    %edi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jne    1170 <AssertNeqInt+0x60>
mov    -0x18(%rbp),%rsi
mov    -0x10(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0xc(%rbp),%r9d
mov    0x10(%rbp),%rax
lea    0xea5(%rip),%rdi
mov    %rax,(%rsp)
call   1030 <TESTError_Fail@plt>
movl   $0x0,-0x4(%rbp)
jmp    1177 <AssertNeqInt+0x67>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<AssertNeqInt>:
mov    $0x1,%eax
cmp    %esi,%edi
jne    1144 <AssertNeqInt+0x34>
push   %rax
mov    %edi,%r10d
mov    0x10(%rsp),%rax
mov    %rax,(%rsp)
lea    0xed3(%rip),%rdi
mov    %rcx,%rsi
mov    %r8,%rcx
mov    %r9,%r8
mov    %r10d,%r9d
call   1030 <TESTError_Fail@plt>
xor    %eax,%eax
add    $0x8,%rsp
ret

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

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