void TestAssertNeFail(void) {
  TestAssert("(1) != (1)",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/google/makani/refs/heads/master/"
             "avionics/firmware/test/test_test.c",
             __func__, 77, (1) != (1));
  TestExpect("!(\"Should not execute.\")",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/google/makani/refs/heads/master/"
             "avionics/firmware/test/test_test.c",
             __func__, 78, !("Should not execute."));
}


x86 assembly (clang, -O0):
<TestAssertNeFail>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xed9(%rip),%rsi
lea    0xf6f(%rip),%rdx
mov    $0x4d,%ecx
xor    %r8d,%r8d
mov    $0x0,%al
call   1030 <TestAssert@plt>
lea    0xf6a(%rip),%rdi
lea    0xeb5(%rip),%rsi
lea    0xf4b(%rip),%rdx
mov    $0x4e,%ecx
xor    %r8d,%r8d
mov    $0x0,%al
call   1040 <TestExpect@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<TestAssertNeFail>:
push   %r14
push   %rbx
push   %rax
lea    0xed5(%rip),%rdi
lea    0xed9(%rip),%rbx
lea    0xf6f(%rip),%r14
mov    %rbx,%rsi
mov    %r14,%rdx
mov    $0x4d,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1030 <TestAssert@plt>
lea    0xf64(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
mov    $0x4e,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <TestExpect@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"(1) != (1)\00"
@.str.1 = [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/google/makani/refs/heads/master/avionics/firmware/test/test_test.c\00"
@__func__.TestAssertNeFail = [17 x i8] c"TestAssertNeFail\00"
@.str.2 = [25 x i8] c"!(\22Should not execute.\22)\00"
@.str.3 = [20 x i8] c"Should not execute.\00"
define void @TestAssertNeFail() {
%1 = call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestAssert to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertNeFail, i64 0, i64 0), i32 77, i32 0)
%2 = call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestExpect to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertNeFail, i64 0, i64 0), i32 78, i32 0)
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"(1) != (1)\00"
@.str.1 = [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/google/makani/refs/heads/master/avionics/firmware/test/test_test.c\00"
@__func__.TestAssertNeFail = [17 x i8] c"TestAssertNeFail\00"
@.str.2 = [25 x i8] c"!(\22Should not execute.\22)\00"
define void @TestAssertNeFail() {
%1 = tail call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestAssert to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertNeFail, i64 0, i64 0), i32 77, i32 0)
%2 = tail call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestExpect to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertNeFail, i64 0, i64 0), i32 78, i32 0)
ret void
}