int verify_benchmark(int *output, int c, int d, int e) {
  int i;
  int exp_c = 10243;
  int exp_d = -441886230;
  int exp_e = 0;
  int exp_output[200] = {
      3760, 0, 4269,  0,  3126, 0, 1030,  0,  2453, 0, -4601, -1,
      1981, 0, -1056, -1, 2621, 0, 4269,  0,  3058, 0, 1030,  0,
      2378, 0, -4601, -1, 1902, 0, -1056, -1, 2548, 0, 4269,  0,
      2988, 0, 1030,  0,  2300, 0, -4601, -1, 1822, 0, -1056, -1,
      2474, 0, 4269,  0,  2917, 0, 1030,  0,  2220, 0, -4601, -1,
      1738, 0, -1056, -1, 2398, 0, 4269,  0,  2844, 0, 1030,  0,
      2140, 0, -4601, -1, 1655, 0, -1056, -1, 2321, 0, 4269,  0,
      2770, 0, 1030,  0,  2058, 0, -4601, -1, 1569, 0, -1056, -1,
      2242, 0, 4269,  0,  2152, 0, 1030,  0,  1683, 0, -4601, -1,
      1627, 0, -1056, -1, 2030, 0, 4269,  0,  2080, 0, 1030,  0,
      1611, 0, -4601, -1, 1555, 0, -1056, -1, 1958, 0, 4269,  0,
      2008, 0, 1030,  0,  1539, 0, -4601, -1, 1483, 0, -1056, -1,
      1886, 0, 4269,  0,  1935, 0, 1030,  0,  1466, 0, -4601, -1,
      1410, 0, -1056, -1, 1813, 0, 4269,  0,  1862, 0, 1030,  0,
      1393, 0, -4601, -1, 1337, 0, -1056, -1, 1740, 0, 4269,  0,
      1789, 0, 1030,  0,  1320, 0, -4601, -1, 1264, 0, -1056, -1,
      1667, 0, 4269,  0,  1716, 0, 1030,  0};
  for (i = 0; i < 200; i++)
    if (output[i] != exp_output[i])
      return 0;
  if (c != exp_c || d != exp_d || e != exp_e)
    return 0;
  return 1;
}


x86 assembly (clang, -O0):
<verify_benchmark>:
push   %rbp
mov    %rsp,%rbp
sub    $0x350,%rsp
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %edx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
movl   $0x2803,-0x24(%rbp)
movl   $0xe5a959ea,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
lea    -0x350(%rbp),%rdi
lea    0xeb5(%rip),%rsi
mov    $0x320,%edx
call   1030 <memcpy@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0xc8,-0x20(%rbp)
jge    11a4 <verify_benchmark+0x94>
mov    -0x10(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
movslq -0x20(%rbp),%rcx
cmp    -0x350(%rbp,%rcx,4),%eax
je     1191 <verify_benchmark+0x81>
movl   $0x0,-0x4(%rbp)
jmp    11db <verify_benchmark+0xcb>
jmp    1196 <verify_benchmark+0x86>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    115c <verify_benchmark+0x4c>
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jne    11c8 <verify_benchmark+0xb8>
mov    -0x18(%rbp),%eax
cmp    -0x28(%rbp),%eax
jne    11c8 <verify_benchmark+0xb8>
mov    -0x1c(%rbp),%eax
cmp    -0x2c(%rbp),%eax
je     11d4 <verify_benchmark+0xc4>
movl   $0x0,-0x4(%rbp)
jmp    11db <verify_benchmark+0xcb>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x350,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<verify_benchmark>:
mov    $0x3,%r8d
lea    0xef3(%rip),%r9
xor    %eax,%eax
nop
mov    -0xc(%rdi,%r8,4),%r10d
cmp    -0xc(%r9,%r8,4),%r10d
jne    1160 <verify_benchmark+0x60>
mov    -0x8(%rdi,%r8,4),%r10d
cmp    -0x8(%r9,%r8,4),%r10d
jne    1160 <verify_benchmark+0x60>
mov    -0x4(%rdi,%r8,4),%r10d
cmp    -0x4(%r9,%r8,4),%r10d
jne    1160 <verify_benchmark+0x60>
mov    (%rdi,%r8,4),%r10d
cmp    (%r9,%r8,4),%r10d
jne    1160 <verify_benchmark+0x60>
add    $0x4,%r8
cmp    $0xcb,%r8
jne    1110 <verify_benchmark+0x10>
xor    $0x2803,%esi
xor    $0xe5a959ea,%edx
or     %esi,%edx
xor    %eax,%eax
or     %ecx,%edx
sete   %al
ret

LLVM IR (-O0):
@__const.verify_benchmark.exp_output = [200 x i32] [i32 3760, i32 0, i32 4269, i32 0, i32 3126, i32 0, i32 1030, i32 0, i32 2453, i32 0, i32 -4601, i32 -1, i32 1981, i32 0, i32 -1056, i32 -1, i32 2621, i32 0, i32 4269, i32 0, i32 3058, i32 0, i32 1030, i32 0, i32 2378, i32 0, i32 -4601, i32 -1, i32 1902, i32 0, i32 -1056, i32 -1, i32 2548, i32 0, i32 4269, i32 0, i32 2988, i32 0, i32 1030, i32 0, i32 2300, i32 0, i32 -4601, i32 -1, i32 1822, i32 0, i32 -1056, i32 -1, i32 2474, i32 0, i32 4269, i32 0, i32 2917, i32 0, i32 1030, i32 0, i32 2220, i32 0, i32 -4601, i32 -1, i32 1738, i32 0, i32 -1056, i32 -1, i32 2398, i32 0, i32 4269, i32 0, i32 2844, i32 0, i32 1030, i32 0, i32 2140, i32 0, i32 -4601, i32 -1, i32 1655, i32 0, i32 -1056, i32 -1, i32 2321, i32 0, i32 4269, i32 0, i32 2770, i32 0, i32 1030, i32 0, i32 2058, i32 0, i32 -4601, i32 -1, i32 1569, i32 0, i32 -1056, i32 -1, i32 2242, i32 0, i32 4269, i32 0, i32 2152, i32 0, i32 1030, i32 0, i32 1683, i32 0, i32 -4601, i32 -1, i32 1627, i32 0, i32 -1056, i32 -1, i32 2030, i32 0, i32 4269, i32 0, i32 2080, i32 0, i32 1030, i32 0, i32 1611, i32 0, i32 -4601, i32 -1, i32 1555, i32 0, i32 -1056, i32 -1, i32 1958, i32 0, i32 4269, i32 0, i32 2008, i32 0, i32 1030, i32 0, i32 1539, i32 0, i32 -4601, i32 -1, i32 1483, i32 0, i32 -1056, i32 -1, i32 1886, i32 0, i32 4269, i32 0, i32 1935, i32 0, i32 1030, i32 0, i32 1466, i32 0, i32 -4601, i32 -1, i32 1410, i32 0, i32 -1056, i32 -1, i32 1813, i32 0, i32 4269, i32 0, i32 1862, i32 0, i32 1030, i32 0, i32 1393, i32 0, i32 -4601, i32 -1, i32 1337, i32 0, i32 -1056, i32 -1, i32 1740, i32 0, i32 4269, i32 0, i32 1789, i32 0, i32 1030, i32 0, i32 1320, i32 0, i32 -4601, i32 -1, i32 1264, i32 0, i32 -1056, i32 -1, i32 1667, i32 0, i32 4269, i32 0, i32 1716, i32 0, i32 1030, i32 0]
define i32 @verify_benchmark(i32* %0, i32 %1, i32 %2, i32 %3) {
%5 = alloca i32
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca [200 x i32]
store i32* %0, i32** %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 10243, i32* %11
store i32 -441886230, i32* %12
store i32 0, i32* %13
%15 = bitcast [200 x i32]* %14 to i8*
store i32 0, i32* %10
br label %16
16: ; preds = %32, %4
%17 = load i32, i32* %10
%18 = icmp slt i32 %17, 200
br i1 %18, label %19, label %35
19: ; preds = %16
%20 = load i32*, i32** %6
%21 = load i32, i32* %10
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, i32* %20, i64 %22
%24 = load i32, i32* %23
%25 = load i32, i32* %10
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [200 x i32], [200 x i32]* %14, i64 0, i64 %26
%28 = load i32, i32* %27
%29 = icmp ne i32 %24, %28
br i1 %29, label %30, label %31
30: ; preds = %19
store i32 0, i32* %5
br label %49
31: ; preds = %19
br label %32
32: ; preds = %31
%33 = load i32, i32* %10
%34 = add nsw i32 %33, 1
store i32 %34, i32* %10
br label %16
35: ; preds = %16
%36 = load i32, i32* %7
%37 = load i32, i32* %11
%38 = icmp ne i32 %36, %37
br i1 %38, label %47, label %39
39: ; preds = %35
%40 = load i32, i32* %8
%41 = load i32, i32* %12
%42 = icmp ne i32 %40, %41
br i1 %42, label %47, label %43
43: ; preds = %39
%44 = load i32, i32* %9
%45 = load i32, i32* %13
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %48
47: ; preds = %43, %39, %35
store i32 0, i32* %5
br label %49
48: ; preds = %43
store i32 1, i32* %5
br label %49
49: ; preds = %48, %47, %30
%50 = load i32, i32* %5
ret i32 %50
}

LLVM IR (-O2):
@__const.verify_benchmark.exp_output = [200 x i32] [i32 3760, i32 0, i32 4269, i32 0, i32 3126, i32 0, i32 1030, i32 0, i32 2453, i32 0, i32 -4601, i32 -1, i32 1981, i32 0, i32 -1056, i32 -1, i32 2621, i32 0, i32 4269, i32 0, i32 3058, i32 0, i32 1030, i32 0, i32 2378, i32 0, i32 -4601, i32 -1, i32 1902, i32 0, i32 -1056, i32 -1, i32 2548, i32 0, i32 4269, i32 0, i32 2988, i32 0, i32 1030, i32 0, i32 2300, i32 0, i32 -4601, i32 -1, i32 1822, i32 0, i32 -1056, i32 -1, i32 2474, i32 0, i32 4269, i32 0, i32 2917, i32 0, i32 1030, i32 0, i32 2220, i32 0, i32 -4601, i32 -1, i32 1738, i32 0, i32 -1056, i32 -1, i32 2398, i32 0, i32 4269, i32 0, i32 2844, i32 0, i32 1030, i32 0, i32 2140, i32 0, i32 -4601, i32 -1, i32 1655, i32 0, i32 -1056, i32 -1, i32 2321, i32 0, i32 4269, i32 0, i32 2770, i32 0, i32 1030, i32 0, i32 2058, i32 0, i32 -4601, i32 -1, i32 1569, i32 0, i32 -1056, i32 -1, i32 2242, i32 0, i32 4269, i32 0, i32 2152, i32 0, i32 1030, i32 0, i32 1683, i32 0, i32 -4601, i32 -1, i32 1627, i32 0, i32 -1056, i32 -1, i32 2030, i32 0, i32 4269, i32 0, i32 2080, i32 0, i32 1030, i32 0, i32 1611, i32 0, i32 -4601, i32 -1, i32 1555, i32 0, i32 -1056, i32 -1, i32 1958, i32 0, i32 4269, i32 0, i32 2008, i32 0, i32 1030, i32 0, i32 1539, i32 0, i32 -4601, i32 -1, i32 1483, i32 0, i32 -1056, i32 -1, i32 1886, i32 0, i32 4269, i32 0, i32 1935, i32 0, i32 1030, i32 0, i32 1466, i32 0, i32 -4601, i32 -1, i32 1410, i32 0, i32 -1056, i32 -1, i32 1813, i32 0, i32 4269, i32 0, i32 1862, i32 0, i32 1030, i32 0, i32 1393, i32 0, i32 -4601, i32 -1, i32 1337, i32 0, i32 -1056, i32 -1, i32 1740, i32 0, i32 4269, i32 0, i32 1789, i32 0, i32 1030, i32 0, i32 1320, i32 0, i32 -4601, i32 -1, i32 1264, i32 0, i32 -1056, i32 -1, i32 1667, i32 0, i32 4269, i32 0, i32 1716, i32 0, i32 1030, i32 0]
define i32 @verify_benchmark(i32* nocapture %0, i32 %1, i32 %2, i32 %3) {
br label %29
5: ; preds = %29
%6 = or i64 %30, 1
%7 = getelementptr inbounds i32, i32* %0, i64 %6
%8 = load i32, i32* %7
%9 = getelementptr inbounds [200 x i32], [200 x i32]* @__const.verify_benchmark.exp_output, i64 0, i64 %6
%10 = load i32, i32* %9
%11 = icmp eq i32 %8, %10
br i1 %11, label %12, label %43
12: ; preds = %5
%13 = or i64 %30, 2
%14 = getelementptr inbounds i32, i32* %0, i64 %13
%15 = load i32, i32* %14
%16 = getelementptr inbounds [200 x i32], [200 x i32]* @__const.verify_benchmark.exp_output, i64 0, i64 %13
%17 = load i32, i32* %16
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %43
19: ; preds = %12
%20 = or i64 %30, 3
%21 = getelementptr inbounds i32, i32* %0, i64 %20
%22 = load i32, i32* %21
%23 = getelementptr inbounds [200 x i32], [200 x i32]* @__const.verify_benchmark.exp_output, i64 0, i64 %20
%24 = load i32, i32* %23
%25 = icmp eq i32 %22, %24
br i1 %25, label %26, label %43
26: ; preds = %19
%27 = add nuw nsw i64 %30, 4
%28 = icmp eq i64 %27, 200
br i1 %28, label %36, label %29
29: ; preds = %26, %4
%30 = phi i64 [ 0, %4 ], [ %27, %26 ]
%31 = getelementptr inbounds i32, i32* %0, i64 %30
%32 = load i32, i32* %31
%33 = getelementptr inbounds [200 x i32], [200 x i32]* @__const.verify_benchmark.exp_output, i64 0, i64 %30
%34 = load i32, i32* %33
%35 = icmp eq i32 %32, %34
br i1 %35, label %5, label %43
36: ; preds = %26
%37 = icmp eq i32 %1, 10243
%38 = icmp eq i32 %2, -441886230
%39 = and i1 %37, %38
%40 = icmp eq i32 %3, 0
%41 = and i1 %39, %40
%42 = zext i1 %41 to i32
br label %43
43: ; preds = %29, %5, %12, %19, %36
%44 = phi i32 [ %42, %36 ], [ 0, %19 ], [ 0, %12 ], [ 0, %5 ], [ 0, %29 ]
ret i32 %44
}