#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 */
scalar_t__ Pdifference();
scalar_t__ Pintersection();
scalar_t__ Pinverse();
scalar_t__ Poversize();
scalar_t__ Punion();
PfigureOp() {
  int b = -1;
  ;
  b = Pdifference() || Pintersection() || Pinverse() || Poversize() || Punion();
  return (b);
}


x86 assembly (clang, -O0):
<PfigureOp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0xffffffff,-0x4(%rbp)
mov    $0x0,%al
call   1070 <Pdifference@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x5(%rbp)
jne    11d4 <PfigureOp+0x84>
mov    $0x0,%al
call   1040 <Pintersection@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x5(%rbp)
jne    11d4 <PfigureOp+0x84>
mov    $0x0,%al
call   1060 <Pinverse@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x5(%rbp)
jne    11d4 <PfigureOp+0x84>
mov    $0x0,%al
call   1050 <Poversize@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x5(%rbp)
jne    11d4 <PfigureOp+0x84>
mov    $0x0,%al
call   1030 <Punion@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x5(%rbp)
mov    -0x5(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<PfigureOp>:
push   %rbx
xor    %eax,%eax
call   1070 <Pdifference@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    1195 <PfigureOp+0x45>
xor    %eax,%eax
call   1040 <Pintersection@plt>
test   %rax,%rax
jne    1195 <PfigureOp+0x45>
xor    %eax,%eax
call   1060 <Pinverse@plt>
test   %rax,%rax
jne    1195 <PfigureOp+0x45>
xor    %eax,%eax
call   1050 <Poversize@plt>
test   %rax,%rax
jne    1195 <PfigureOp+0x45>
xor    %eax,%eax
call   1030 <Punion@plt>
xor    %ebx,%ebx
test   %rax,%rax
setne  %bl
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
define i32 @PfigureOp() {
%1 = alloca i32
store i32 -1, i32* %1
%2 = call i64 (...) @Pdifference()
%3 = icmp ne i64 %2, 0
br i1 %3, label %16, label %4
4: ; preds = %0
%5 = call i64 (...) @Pintersection()
%6 = icmp ne i64 %5, 0
br i1 %6, label %16, label %7
7: ; preds = %4
%8 = call i64 (...) @Pinverse()
%9 = icmp ne i64 %8, 0
br i1 %9, label %16, label %10
10: ; preds = %7
%11 = call i64 (...) @Poversize()
%12 = icmp ne i64 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = call i64 (...) @Punion()
%15 = icmp ne i64 %14, 0
br label %16
16: ; preds = %13, %10, %7, %4, %0
%17 = phi i1 [ true, %10 ], [ true, %7 ], [ true, %4 ], [ true, %0 ], [ %15, %13 ]
%18 = zext i1 %17 to i32
store i32 %18, i32* %1
%19 = load i32, i32* %1
ret i32 %19
}

LLVM IR (-O2):
define i32 @PfigureOp() {
%1 = tail call i64 (...) @Pdifference()
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %16
3: ; preds = %0
%4 = tail call i64 (...) @Pintersection()
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %16
6: ; preds = %3
%7 = tail call i64 (...) @Pinverse()
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = tail call i64 (...) @Poversize()
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %9
%13 = tail call i64 (...) @Punion()
%14 = icmp ne i64 %13, 0
%15 = zext i1 %14 to i32
br label %16
16: ; preds = %12, %9, %6, %3, %0
%17 = phi i32 [ 1, %9 ], [ 1, %6 ], [ 1, %3 ], [ 1, %0 ], [ %15, %12 ]
ret i32 %17
}