#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*/ green_initialize(int);
int /*<<< orphan*/ green_shutdown();
int /*<<< orphan*/ issat(char *);
int main() {
  green_initialize(9408);
  issat("array a[4] : w32 -> w8 = symbolic (query [(Eq false (Eq 0 N0:(ReadLSB "
        "w32 0 a))) (Eq false (Slt N0 0))] false)\n");
  issat("array a[4] : w32 -> w8 = symbolic (query [(Eq false (Eq 0 N0:(ReadLSB "
        "w32 0 a))) (Slt N0 0)] false)\n");
  issat("array a[4] : w32 -> w8 = symbolic (query [(Eq 0 (ReadLSB w32 0 a))] "
        "false)\n");
  green_shutdown();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x24c0,%edi
call   1030 <green_initialize@plt>
lea    0xeb0(%rip),%rdi
call   1040 <issat@plt>
lea    0xf14(%rip),%rdi
call   1040 <issat@plt>
lea    0xf6d(%rip),%rdi
call   1040 <issat@plt>
mov    $0x0,%al
call   1050 <green_shutdown@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x24c0,%edi
call   1030 <green_initialize@plt>
lea    0xebe(%rip),%rdi
call   1040 <issat@plt>
lea    0xf22(%rip),%rdi
call   1040 <issat@plt>
lea    0xf7b(%rip),%rdi
call   1040 <issat@plt>
xor    %eax,%eax
call   1050 <green_shutdown@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [112 x i8] c"array a[4] : w32 -> w8 = symbolic (query [(Eq false (Eq 0 N0:(ReadLSB w32 0 a))) (Eq false (Slt N0 0))] false)\0A\00"
@.str.1 = [101 x i8] c"array a[4] : w32 -> w8 = symbolic (query [(Eq false (Eq 0 N0:(ReadLSB w32 0 a))) (Slt N0 0)] false)\0A\00"
@.str.2 = [76 x i8] c"array a[4] : w32 -> w8 = symbolic (query [(Eq 0 (ReadLSB w32 0 a))] false)\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @green_initialize(i32 9408)
%3 = call i32 @issat(i8* getelementptr inbounds ([112 x i8], [112 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @issat(i8* getelementptr inbounds ([101 x i8], [101 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @issat(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 (...) @green_shutdown()
ret i32 0
}

LLVM IR (-O2):
@.str = [112 x i8] c"array a[4] : w32 -> w8 = symbolic (query [(Eq false (Eq 0 N0:(ReadLSB w32 0 a))) (Eq false (Slt N0 0))] false)\0A\00"
@.str.1 = [101 x i8] c"array a[4] : w32 -> w8 = symbolic (query [(Eq false (Eq 0 N0:(ReadLSB w32 0 a))) (Slt N0 0)] false)\0A\00"
@.str.2 = [76 x i8] c"array a[4] : w32 -> w8 = symbolic (query [(Eq 0 (ReadLSB w32 0 a))] false)\0A\00"
define i32 @main() {
%1 = tail call i32 @green_initialize(i32 9408)
%2 = tail call i32 @issat(i8* getelementptr inbounds ([112 x i8], [112 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @issat(i8* getelementptr inbounds ([101 x i8], [101 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @issat(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 (...) @green_shutdown()
ret i32 0
}