#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*/ clang_analyzer_eval(int);
void testDisequalitiesBefore(int a, int b, int c) {
  if (a >= 10 && b <= 42 && c == 15) {
    if (a == b && c != a) {
      clang_analyzer_eval(b != c);
      clang_analyzer_eval(a != 15);
      clang_analyzer_eval(b != 15);
      clang_analyzer_eval(b >= 10);
      clang_analyzer_eval(a <= 42);
    }
  }
}


x86 assembly (clang, -O0):
<testDisequalitiesBefore>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
cmpl   $0xa,-0x4(%rbp)
jl     11b3 <testDisequalitiesBefore+0xa3>
cmpl   $0x2a,-0x8(%rbp)
jg     11b3 <testDisequalitiesBefore+0xa3>
cmpl   $0xf,-0xc(%rbp)
jne    11b3 <testDisequalitiesBefore+0xa3>
mov    -0x4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    11ae <testDisequalitiesBefore+0x9e>
mov    -0xc(%rbp),%eax
cmp    -0x4(%rbp),%eax
je     11ae <testDisequalitiesBefore+0x9e>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setne  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <clang_analyzer_eval@plt>
cmpl   $0xf,-0x4(%rbp)
setne  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <clang_analyzer_eval@plt>
cmpl   $0xf,-0x8(%rbp)
setne  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <clang_analyzer_eval@plt>
cmpl   $0xa,-0x8(%rbp)
setge  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <clang_analyzer_eval@plt>
cmpl   $0x2a,-0x4(%rbp)
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <clang_analyzer_eval@plt>
jmp    11b3 <testDisequalitiesBefore+0xa3>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<testDisequalitiesBefore>:
cmp    $0xf,%edi
je     115c <testDisequalitiesBefore+0x4c>
cmp    %esi,%edi
jne    115c <testDisequalitiesBefore+0x4c>
cmp    $0xa,%edi
jl     115c <testDisequalitiesBefore+0x4c>
cmp    $0x2a,%esi
jg     115c <testDisequalitiesBefore+0x4c>
cmp    $0xf,%edx
jne    115c <testDisequalitiesBefore+0x4c>
push   %rax
mov    $0x1,%edi
call   1030 <clang_analyzer_eval@plt>
mov    $0x1,%edi
call   1030 <clang_analyzer_eval@plt>
mov    $0x1,%edi
call   1030 <clang_analyzer_eval@plt>
mov    $0x1,%edi
call   1030 <clang_analyzer_eval@plt>
mov    $0x1,%edi
pop    %rax
jmp    1030 <clang_analyzer_eval@plt>
ret

LLVM IR (-O0):
define void @testDisequalitiesBefore(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%7 = load i32, i32* %4
%8 = icmp sge i32 %7, 10
br i1 %8, label %9, label %46
9: ; preds = %3
%10 = load i32, i32* %5
%11 = icmp sle i32 %10, 42
br i1 %11, label %12, label %46
12: ; preds = %9
%13 = load i32, i32* %6
%14 = icmp eq i32 %13, 15
br i1 %14, label %15, label %46
15: ; preds = %12
%16 = load i32, i32* %4
%17 = load i32, i32* %5
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %45
19: ; preds = %15
%20 = load i32, i32* %6
%21 = load i32, i32* %4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %45
23: ; preds = %19
%24 = load i32, i32* %5
%25 = load i32, i32* %6
%26 = icmp ne i32 %24, %25
%27 = zext i1 %26 to i32
%28 = call i32 @clang_analyzer_eval(i32 %27)
%29 = load i32, i32* %4
%30 = icmp ne i32 %29, 15
%31 = zext i1 %30 to i32
%32 = call i32 @clang_analyzer_eval(i32 %31)
%33 = load i32, i32* %5
%34 = icmp ne i32 %33, 15
%35 = zext i1 %34 to i32
%36 = call i32 @clang_analyzer_eval(i32 %35)
%37 = load i32, i32* %5
%38 = icmp sge i32 %37, 10
%39 = zext i1 %38 to i32
%40 = call i32 @clang_analyzer_eval(i32 %39)
%41 = load i32, i32* %4
%42 = icmp sle i32 %41, 42
%43 = zext i1 %42 to i32
%44 = call i32 @clang_analyzer_eval(i32 %43)
br label %45
45: ; preds = %23, %19, %15
br label %46
46: ; preds = %45, %12, %9, %3
ret void
}

LLVM IR (-O2):
define void @testDisequalitiesBefore(i32 %0, i32 %1, i32 %2) {
%4 = icmp sgt i32 %0, 9
%5 = icmp slt i32 %1, 43
%6 = and i1 %4, %5
%7 = icmp eq i32 %2, 15
%8 = and i1 %6, %7
%9 = icmp eq i32 %0, %1
%10 = and i1 %9, %8
%11 = icmp ne i32 %0, 15
%12 = and i1 %11, %10
br i1 %12, label %13, label %19
13: ; preds = %3
%14 = tail call i32 @clang_analyzer_eval(i32 1)
%15 = tail call i32 @clang_analyzer_eval(i32 1)
%16 = tail call i32 @clang_analyzer_eval(i32 1)
%17 = tail call i32 @clang_analyzer_eval(i32 1)
%18 = tail call i32 @clang_analyzer_eval(i32 1)
br label %19
19: ; preds = %13, %3
ret void
}