int binary_operator(int a, int b) {
  _check_expected(
      __FUNCTION__, "a",
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/"
      "cmockery/src/example/calculator_test.c",
      88, ((unsigned long long)((unsigned)(a))));
  _check_expected(
      __FUNCTION__, "b",
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/"
      "cmockery/src/example/calculator_test.c",
      89, ((unsigned long long)((unsigned)(b))));
  return (int)_mock(
      __FUNCTION__,
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/"
      "cmockery/src/example/calculator_test.c",
      90);
}


x86 assembly (clang, -O0):
<binary_operator>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,%r8d
lea    0xec5(%rip),%rdi
lea    0xece(%rip),%rsi
lea    0xec9(%rip),%rdx
mov    $0x58,%ecx
mov    $0x0,%al
call   1040 <_check_expected@plt>
mov    -0x8(%rbp),%eax
mov    %eax,%r8d
lea    0xe9e(%rip),%rdi
lea    0xf58(%rip),%rsi
lea    0xea2(%rip),%rdx
mov    $0x59,%ecx
mov    $0x0,%al
call   1040 <_check_expected@plt>
lea    0xe7d(%rip),%rdi
lea    0xe88(%rip),%rsi
mov    $0x5a,%edx
mov    $0x0,%al
call   1030 <_mock@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<binary_operator>:
push   %r15
push   %r14
push   %rbx
mov    %esi,%ebx
mov    %edi,%r8d
lea    0xecf(%rip),%r14
lea    0xed8(%rip),%rsi
lea    0xed3(%rip),%r15
mov    %r14,%rdi
mov    %r15,%rdx
mov    $0x58,%ecx
xor    %eax,%eax
call   1040 <_check_expected@plt>
mov    %ebx,%r8d
lea    0xf66(%rip),%rsi
mov    %r14,%rdi
mov    %r15,%rdx
mov    $0x59,%ecx
xor    %eax,%eax
call   1040 <_check_expected@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x5a,%edx
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <_mock@plt>

LLVM IR (-O0):
@__FUNCTION__.binary_operator = [16 x i8] c"binary_operator\00"
@.str = [2 x i8] c"a\00"
@.str.1 = [175 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/cmockery/src/example/calculator_test.c\00"
@.str.2 = [2 x i8] c"b\00"
define i32 @binary_operator(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%5 = load i32, i32* %3
%6 = zext i32 %5 to i64
%7 = call i32 (i8*, i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @_check_expected to i32 (i8*, i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__FUNCTION__.binary_operator, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([175 x i8], [175 x i8]* @.str.1, i64 0, i64 0), i32 88, i64 %6)
%8 = load i32, i32* %4
%9 = zext i32 %8 to i64
%10 = call i32 (i8*, i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @_check_expected to i32 (i8*, i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__FUNCTION__.binary_operator, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([175 x i8], [175 x i8]* @.str.1, i64 0, i64 0), i32 89, i64 %9)
%11 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @_mock to i32 (i8*, i8*, i32, ...)*)(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__FUNCTION__.binary_operator, i64 0, i64 0), i8* getelementptr inbounds ([175 x i8], [175 x i8]* @.str.1, i64 0, i64 0), i32 90)
ret i32 %11
}

LLVM IR (-O2):
@__FUNCTION__.binary_operator = [16 x i8] c"binary_operator\00"
@.str = [2 x i8] c"a\00"
@.str.1 = [175 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BellerophonMobile/xmp3/refs/heads/master/deps/cmockery/src/example/calculator_test.c\00"
@.str.2 = [2 x i8] c"b\00"
define i32 @binary_operator(i32 %0, i32 %1) {
%3 = zext i32 %0 to i64
%4 = tail call i32 (i8*, i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @_check_expected to i32 (i8*, i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__FUNCTION__.binary_operator, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([175 x i8], [175 x i8]* @.str.1, i64 0, i64 0), i32 88, i64 %3)
%5 = zext i32 %1 to i64
%6 = tail call i32 (i8*, i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @_check_expected to i32 (i8*, i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__FUNCTION__.binary_operator, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([175 x i8], [175 x i8]* @.str.1, i64 0, i64 0), i32 89, i64 %5)
%7 = tail call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @_mock to i32 (i8*, i8*, i32, ...)*)(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__FUNCTION__.binary_operator, i64 0, i64 0), i8* getelementptr inbounds ([175 x i8], [175 x i8]* @.str.1, i64 0, i64 0), i32 90)
ret i32 %7
}