#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 if_sides_form_valid_triangle(int, int, int);
int main() {
  assert(!if_sides_form_valid_triangle(0, 4, 5));
  assert(!if_sides_form_valid_triangle(-1, 4, 5));
  assert(!if_sides_form_valid_triangle(4, 0, 5));
  assert(!if_sides_form_valid_triangle(4, -1, 5));
  assert(!if_sides_form_valid_triangle(4, 5, 0));
  assert(!if_sides_form_valid_triangle(4, 5, -1));
  assert(!if_sides_form_valid_triangle(4, 10, 5));
  assert(!if_sides_form_valid_triangle(10, 4, 5));
  assert(!if_sides_form_valid_triangle(4, 5, 10));
  assert(!if_sides_form_valid_triangle(4, 9, 5));
  assert(!if_sides_form_valid_triangle(9, 4, 5));
  assert(!if_sides_form_valid_triangle(4, 5, 9));
  assert(if_sides_form_valid_triangle(4, 7, 5));
  assert(if_sides_form_valid_triangle(7, 4, 5));
  assert(if_sides_form_valid_triangle(4, 5, 7));
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
xor    %edi,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0xffffffff,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0xffffffff,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
xor    %edx,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0xffffffff,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0xa,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0xa,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0xa,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x9,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x9,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0x9,%edx
call   1040 <if_sides_form_valid_triangle@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x7,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
mov    %eax,%edi
call   1030 <assert@plt>
mov    $0x7,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
mov    %eax,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0x7,%edx
call   1040 <if_sides_form_valid_triangle@plt>
mov    %eax,%edi
call   1030 <assert@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0xffffffff,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0xffffffff,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
xor    %edx,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0xffffffff,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0xa,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0xa,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0xa,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x9,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x9,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0x9,%edx
call   1040 <if_sides_form_valid_triangle@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x7,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
mov    %eax,%edi
call   1030 <assert@plt>
mov    $0x7,%edi
mov    $0x4,%esi
mov    $0x5,%edx
call   1040 <if_sides_form_valid_triangle@plt>
mov    %eax,%edi
call   1030 <assert@plt>
mov    $0x4,%edi
mov    $0x5,%esi
mov    $0x7,%edx
call   1040 <if_sides_form_valid_triangle@plt>
mov    %eax,%edi
call   1030 <assert@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @if_sides_form_valid_triangle(i32 0, i32 4, i32 5)
%3 = icmp ne i32 %2, 0
%4 = xor i1 %3, true
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 %5)
%7 = call i32 @if_sides_form_valid_triangle(i32 -1, i32 4, i32 5)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 %10)
%12 = call i32 @if_sides_form_valid_triangle(i32 4, i32 0, i32 5)
%13 = icmp ne i32 %12, 0
%14 = xor i1 %13, true
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 %15)
%17 = call i32 @if_sides_form_valid_triangle(i32 4, i32 -1, i32 5)
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 %20)
%22 = call i32 @if_sides_form_valid_triangle(i32 4, i32 5, i32 0)
%23 = icmp ne i32 %22, 0
%24 = xor i1 %23, true
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 %25)
%27 = call i32 @if_sides_form_valid_triangle(i32 4, i32 5, i32 -1)
%28 = icmp ne i32 %27, 0
%29 = xor i1 %28, true
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 %30)
%32 = call i32 @if_sides_form_valid_triangle(i32 4, i32 10, i32 5)
%33 = icmp ne i32 %32, 0
%34 = xor i1 %33, true
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 %35)
%37 = call i32 @if_sides_form_valid_triangle(i32 10, i32 4, i32 5)
%38 = icmp ne i32 %37, 0
%39 = xor i1 %38, true
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = call i32 @if_sides_form_valid_triangle(i32 4, i32 5, i32 10)
%43 = icmp ne i32 %42, 0
%44 = xor i1 %43, true
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 %45)
%47 = call i32 @if_sides_form_valid_triangle(i32 4, i32 9, i32 5)
%48 = icmp ne i32 %47, 0
%49 = xor i1 %48, true
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 %50)
%52 = call i32 @if_sides_form_valid_triangle(i32 9, i32 4, i32 5)
%53 = icmp ne i32 %52, 0
%54 = xor i1 %53, true
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 %55)
%57 = call i32 @if_sides_form_valid_triangle(i32 4, i32 5, i32 9)
%58 = icmp ne i32 %57, 0
%59 = xor i1 %58, true
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = call i32 @if_sides_form_valid_triangle(i32 4, i32 7, i32 5)
%63 = call i32 @assert(i32 %62)
%64 = call i32 @if_sides_form_valid_triangle(i32 7, i32 4, i32 5)
%65 = call i32 @assert(i32 %64)
%66 = call i32 @if_sides_form_valid_triangle(i32 4, i32 5, i32 7)
%67 = call i32 @assert(i32 %66)
ret i32 0
}

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