#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*/ assert(int);
int /*<<< orphan*/ foo(int *);
void main() {
  int x, y, z, a, b;
  if (x < y && y < z) {
    assert(x < y);
    assert(y < z);
    assert(x < z);
    if (3 <= x && z <= 6) {
      a = y;
      assert(x <= 4);
      assert(4 <= y);
      assert(y <= 5);
      assert(5 <= z);
      foo(&a);
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    -0x4(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11f1 <main+0xd1>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11f1 <main+0xd1>
mov    -0x4(%rbp),%eax
cmp    -0x8(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    -0x4(%rbp),%eax
cmp    -0xc(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x3,%eax
cmp    -0x4(%rbp),%eax
jg     11ec <main+0xcc>
cmpl   $0x6,-0xc(%rbp)
jg     11ec <main+0xcc>
mov    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
cmpl   $0x4,-0x4(%rbp)
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%eax
cmp    -0x8(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x5,-0x8(%rbp)
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x5,%eax
cmp    -0xc(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
lea    -0x10(%rbp),%rdi
call   1040 <foo@plt>
jmp    11f1 <main+0xd1>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
ret

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

LLVM IR (-O2):
define void @main() {
ret void
}