#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 isspace(char);
int main() {
  assert(isspace(' '));
  assert(isspace('\t'));
  assert(isspace('\n'));
  assert(isspace('\f'));
  assert(isspace('\r'));
  assert(isspace('\v'));
  assert(!isspace('\\'));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x20,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0x9,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xa,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xc,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xd,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xb,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0x5c,%edi
call   1030 <isspace@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x20,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0x9,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xa,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xc,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xd,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0xb,%edi
call   1030 <isspace@plt>
mov    %eax,%edi
call   1040 <assert@plt>
mov    $0x5c,%edi
call   1030 <isspace@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <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 @isspace(i8 signext 32)
%3 = call i32 @assert(i32 %2)
%4 = call i32 @isspace(i8 signext 9)
%5 = call i32 @assert(i32 %4)
%6 = call i32 @isspace(i8 signext 10)
%7 = call i32 @assert(i32 %6)
%8 = call i32 @isspace(i8 signext 12)
%9 = call i32 @assert(i32 %8)
%10 = call i32 @isspace(i8 signext 13)
%11 = call i32 @assert(i32 %10)
%12 = call i32 @isspace(i8 signext 11)
%13 = call i32 @assert(i32 %12)
%14 = call i32 @isspace(i8 signext 92)
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 %17)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @isspace(i8 signext 32)
%2 = tail call i32 @assert(i32 %1)
%3 = tail call i32 @isspace(i8 signext 9)
%4 = tail call i32 @assert(i32 %3)
%5 = tail call i32 @isspace(i8 signext 10)
%6 = tail call i32 @assert(i32 %5)
%7 = tail call i32 @isspace(i8 signext 12)
%8 = tail call i32 @assert(i32 %7)
%9 = tail call i32 @isspace(i8 signext 13)
%10 = tail call i32 @assert(i32 %9)
%11 = tail call i32 @isspace(i8 signext 11)
%12 = tail call i32 @assert(i32 %11)
%13 = tail call i32 @isspace(i8 signext 92)
%14 = icmp eq i32 %13, 0
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 %15)
ret i32 0
}