#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 main(void) {
  int temperature = 12, weight = 70, year = 2012, duration = 42;
  int p = 3, q = 2, r = 1;
  int interest = 10;
  assert(!(temperature > 35));
  assert(weight > 65 && weight < 80);
  assert(year % 4 == 0);
  assert(!(duration < 30));
  assert(p == q || !(p < r));
  assert(interest < 12 && interest > 7);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0xc,-0x8(%rbp)
movl   $0x46,-0xc(%rbp)
movl   $0x7dc,-0x10(%rbp)
movl   $0x2a,-0x14(%rbp)
movl   $0x3,-0x18(%rbp)
movl   $0x2,-0x1c(%rbp)
movl   $0x1,-0x20(%rbp)
movl   $0xa,-0x24(%rbp)
cmpl   $0x23,-0x8(%rbp)
setg   %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
xor    %eax,%eax
cmpl   $0x41,-0xc(%rbp)
mov    %al,-0x25(%rbp)
jle    1183 <main+0x73>
cmpl   $0x50,-0xc(%rbp)
setl   %al
mov    %al,-0x25(%rbp)
mov    -0x25(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    -0x10(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
cmpl   $0x1e,-0x14(%rbp)
setl   %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    -0x18(%rbp),%ecx
mov    $0x1,%al
cmp    -0x1c(%rbp),%ecx
mov    %al,-0x26(%rbp)
je     11dd <main+0xcd>
mov    -0x18(%rbp),%eax
cmp    -0x20(%rbp),%eax
setl   %al
xor    $0xff,%al
mov    %al,-0x26(%rbp)
mov    -0x26(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
xor    %eax,%eax
cmpl   $0xc,-0x24(%rbp)
mov    %al,-0x27(%rbp)
jge    1203 <main+0xf3>
cmpl   $0x7,-0x24(%rbp)
setg   %al
mov    %al,-0x27(%rbp)
mov    -0x27(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
xor    %eax,%eax
pop    %rcx
ret

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

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @assert(i32 1)
%2 = tail call i32 @assert(i32 1)
%3 = tail call i32 @assert(i32 1)
%4 = tail call i32 @assert(i32 1)
%5 = tail call i32 @assert(i32 1)
%6 = tail call i32 @assert(i32 1)
ret i32 0
}