#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 testDisequalitiesAfter(int a, int b, int c) {
  if (a >= 10 && b <= 42) {
    if (a == b && c == 15 && 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):
<testDisequalitiesAfter>:
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 <testDisequalitiesAfter+0xa3>
cmpl   $0x2a,-0x8(%rbp)
jg     11b3 <testDisequalitiesAfter+0xa3>
mov    -0x4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    11ae <testDisequalitiesAfter+0x9e>
cmpl   $0xf,-0xc(%rbp)
jne    11ae <testDisequalitiesAfter+0x9e>
mov    -0xc(%rbp),%eax
cmp    -0x4(%rbp),%eax
je     11ae <testDisequalitiesAfter+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 <testDisequalitiesAfter+0xa3>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<testDisequalitiesAfter>:
cmp    $0xa,%edi
jl     115c <testDisequalitiesAfter+0x4c>
cmp    $0x2a,%esi
jg     115c <testDisequalitiesAfter+0x4c>
cmp    $0xf,%edi
je     115c <testDisequalitiesAfter+0x4c>
cmp    %esi,%edi
jne    115c <testDisequalitiesAfter+0x4c>
cmp    $0xf,%edx
jne    115c <testDisequalitiesAfter+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 @testDisequalitiesAfter(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* %4
%14 = load i32, i32* %5
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %45
16: ; preds = %12
%17 = load i32, i32* %6
%18 = icmp eq i32 %17, 15
br i1 %18, label %19, label %45
19: ; preds = %16
%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, %16, %12
br label %46
46: ; preds = %45, %9, %3
ret void
}

LLVM IR (-O2):
define void @testDisequalitiesAfter(i32 %0, i32 %1, i32 %2) {
%4 = icmp sgt i32 %0, 9
%5 = icmp slt i32 %1, 43
%6 = and i1 %4, %5
br i1 %6, label %7, label %19
7: ; preds = %3
%8 = icmp ne i32 %0, %1
%9 = icmp ne i32 %2, 15
%10 = or i1 %8, %9
%11 = icmp eq i32 %0, 15
%12 = or i1 %11, %10
br i1 %12, label %19, label %13
13: ; preds = %7
%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 = %7, %13, %3
ret void
}