#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*/ palindrome(int);
int test_not_palindrome() {
  return !palindrome(0x0000000F) && !palindrome(0x000000FF) &&
         !palindrome(0x00000FFF) && !palindrome(0x0000FFFF) &&
         !palindrome(0x000FFFFF) && !palindrome(0x00FFFFFF) &&
         !palindrome(0x0FFFFFFF);
}


x86 assembly (clang, -O0):
<test_not_palindrome>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0xf,%edi
call   1030 <palindrome@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1(%rbp)
jne    11c9 <test_not_palindrome+0xb9>
mov    $0xff,%edi
call   1030 <palindrome@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1(%rbp)
jne    11c9 <test_not_palindrome+0xb9>
mov    $0xfff,%edi
call   1030 <palindrome@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1(%rbp)
jne    11c9 <test_not_palindrome+0xb9>
mov    $0xffff,%edi
call   1030 <palindrome@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1(%rbp)
jne    11c9 <test_not_palindrome+0xb9>
mov    $0xfffff,%edi
call   1030 <palindrome@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1(%rbp)
jne    11c9 <test_not_palindrome+0xb9>
mov    $0xffffff,%edi
call   1030 <palindrome@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x1(%rbp)
jne    11c9 <test_not_palindrome+0xb9>
mov    $0xfffffff,%edi
call   1030 <palindrome@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
mov    %al,-0x1(%rbp)
mov    -0x1(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_not_palindrome>:
push   %rbx
mov    $0xf,%edi
call   1030 <palindrome@plt>
xor    %ebx,%ebx
test   %eax,%eax
jne    1178 <test_not_palindrome+0x68>
mov    $0xff,%edi
call   1030 <palindrome@plt>
test   %eax,%eax
jne    1178 <test_not_palindrome+0x68>
mov    $0xfff,%edi
call   1030 <palindrome@plt>
test   %eax,%eax
jne    1178 <test_not_palindrome+0x68>
mov    $0xffff,%edi
call   1030 <palindrome@plt>
test   %eax,%eax
jne    1178 <test_not_palindrome+0x68>
mov    $0xfffff,%edi
call   1030 <palindrome@plt>
test   %eax,%eax
jne    1178 <test_not_palindrome+0x68>
mov    $0xffffff,%edi
call   1030 <palindrome@plt>
test   %eax,%eax
jne    1178 <test_not_palindrome+0x68>
mov    $0xfffffff,%edi
call   1030 <palindrome@plt>
xor    %ebx,%ebx
test   %eax,%eax
sete   %bl
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
define i32 @test_not_palindrome() {
%1 = call i32 @palindrome(i32 15)
%2 = icmp ne i32 %1, 0
br i1 %2, label %22, label %3
3: ; preds = %0
%4 = call i32 @palindrome(i32 255)
%5 = icmp ne i32 %4, 0
br i1 %5, label %22, label %6
6: ; preds = %3
%7 = call i32 @palindrome(i32 4095)
%8 = icmp ne i32 %7, 0
br i1 %8, label %22, label %9
9: ; preds = %6
%10 = call i32 @palindrome(i32 65535)
%11 = icmp ne i32 %10, 0
br i1 %11, label %22, label %12
12: ; preds = %9
%13 = call i32 @palindrome(i32 1048575)
%14 = icmp ne i32 %13, 0
br i1 %14, label %22, label %15
15: ; preds = %12
%16 = call i32 @palindrome(i32 16777215)
%17 = icmp ne i32 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %15
%19 = call i32 @palindrome(i32 268435455)
%20 = icmp ne i32 %19, 0
%21 = xor i1 %20, true
br label %22
22: ; preds = %18, %15, %12, %9, %6, %3, %0
%23 = phi i1 [ false, %15 ], [ false, %12 ], [ false, %9 ], [ false, %6 ], [ false, %3 ], [ false, %0 ], [ %21, %18 ]
%24 = zext i1 %23 to i32
ret i32 %24
}

LLVM IR (-O2):
define i32 @test_not_palindrome() {
%1 = tail call i32 @palindrome(i32 15)
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %22
3: ; preds = %0
%4 = tail call i32 @palindrome(i32 255)
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %3
%7 = tail call i32 @palindrome(i32 4095)
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = tail call i32 @palindrome(i32 65535)
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = tail call i32 @palindrome(i32 1048575)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = tail call i32 @palindrome(i32 16777215)
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = tail call i32 @palindrome(i32 268435455)
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i32
br label %22
22: ; preds = %18, %15, %12, %9, %6, %3, %0
%23 = phi i32 [ 0, %15 ], [ 0, %12 ], [ 0, %9 ], [ 0, %6 ], [ 0, %3 ], [ 0, %0 ], [ %21, %18 ]
ret i32 %23
}