#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__ isspace(unsigned char const);
int L_isquote(const unsigned char *strp) {
  return ((*(++strp) == 'q' || *strp == 'Q') &&
          (*(++strp) == 'u' || *strp == 'U') &&
          (*(++strp) == 'o' || *strp == 'O') &&
          (*(++strp) == 't' || *strp == 'T') &&
          (*(++strp) == 'e' || *strp == 'E') && isspace(*(++strp)));
}


x86 assembly (clang, -O0):
<L_isquote>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
movzbl 0x1(%rax),%eax
cmp    $0x71,%eax
je     114d <L_isquote+0x3d>
mov    -0x8(%rbp),%rax
movzbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x51,%ecx
mov    %al,-0x9(%rbp)
jne    1233 <L_isquote+0x123>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
movzbl 0x1(%rax),%eax
cmp    $0x75,%eax
je     117e <L_isquote+0x6e>
mov    -0x8(%rbp),%rax
movzbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x55,%ecx
mov    %al,-0x9(%rbp)
jne    1233 <L_isquote+0x123>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
movzbl 0x1(%rax),%eax
cmp    $0x6f,%eax
je     11af <L_isquote+0x9f>
mov    -0x8(%rbp),%rax
movzbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x4f,%ecx
mov    %al,-0x9(%rbp)
jne    1233 <L_isquote+0x123>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
movzbl 0x1(%rax),%eax
cmp    $0x74,%eax
je     11e0 <L_isquote+0xd0>
mov    -0x8(%rbp),%rax
movzbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x54,%ecx
mov    %al,-0x9(%rbp)
jne    1233 <L_isquote+0x123>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
movzbl 0x1(%rax),%eax
cmp    $0x65,%eax
je     1211 <L_isquote+0x101>
mov    -0x8(%rbp),%rax
movzbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x45,%ecx
mov    %al,-0x9(%rbp)
jne    1233 <L_isquote+0x123>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x8(%rbp)
movzbl 0x1(%rax),%edi
call   1030 <isspace@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x9(%rbp)
mov    -0x9(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<L_isquote>:
push   %rax
mov    0x1(%rdi),%cl
xor    %eax,%eax
or     $0x20,%cl
cmp    $0x71,%cl
jne    115e <L_isquote+0x4e>
mov    0x2(%rdi),%cl
or     $0x20,%cl
cmp    $0x75,%cl
jne    115e <L_isquote+0x4e>
mov    0x3(%rdi),%cl
or     $0x20,%cl
cmp    $0x6f,%cl
jne    115e <L_isquote+0x4e>
mov    0x4(%rdi),%cl
or     $0x20,%cl
cmp    $0x74,%cl
jne    115e <L_isquote+0x4e>
mov    0x5(%rdi),%cl
or     $0x20,%cl
cmp    $0x65,%cl
jne    115e <L_isquote+0x4e>
movzbl 0x6(%rdi),%edi
call   1030 <isspace@plt>
mov    %rax,%rcx
xor    %eax,%eax
test   %rcx,%rcx
setne  %al
pop    %rcx
ret

LLVM IR (-O0):
define i32 @L_isquote(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = getelementptr inbounds i8, i8* %3, i32 1
store i8* %4, i8** %2
%5 = load i8, i8* %4
%6 = zext i8 %5 to i32
%7 = icmp eq i32 %6, 113
br i1 %7, label %13, label %8
8: ; preds = %1
%9 = load i8*, i8** %2
%10 = load i8, i8* %9
%11 = zext i8 %10 to i32
%12 = icmp eq i32 %11, 81
br i1 %12, label %13, label %63
13: ; preds = %8, %1
%14 = load i8*, i8** %2
%15 = getelementptr inbounds i8, i8* %14, i32 1
store i8* %15, i8** %2
%16 = load i8, i8* %15
%17 = zext i8 %16 to i32
%18 = icmp eq i32 %17, 117
br i1 %18, label %24, label %19
19: ; preds = %13
%20 = load i8*, i8** %2
%21 = load i8, i8* %20
%22 = zext i8 %21 to i32
%23 = icmp eq i32 %22, 85
br i1 %23, label %24, label %63
24: ; preds = %19, %13
%25 = load i8*, i8** %2
%26 = getelementptr inbounds i8, i8* %25, i32 1
store i8* %26, i8** %2
%27 = load i8, i8* %26
%28 = zext i8 %27 to i32
%29 = icmp eq i32 %28, 111
br i1 %29, label %35, label %30
30: ; preds = %24
%31 = load i8*, i8** %2
%32 = load i8, i8* %31
%33 = zext i8 %32 to i32
%34 = icmp eq i32 %33, 79
br i1 %34, label %35, label %63
35: ; preds = %30, %24
%36 = load i8*, i8** %2
%37 = getelementptr inbounds i8, i8* %36, i32 1
store i8* %37, i8** %2
%38 = load i8, i8* %37
%39 = zext i8 %38 to i32
%40 = icmp eq i32 %39, 116
br i1 %40, label %46, label %41
41: ; preds = %35
%42 = load i8*, i8** %2
%43 = load i8, i8* %42
%44 = zext i8 %43 to i32
%45 = icmp eq i32 %44, 84
br i1 %45, label %46, label %63
46: ; preds = %41, %35
%47 = load i8*, i8** %2
%48 = getelementptr inbounds i8, i8* %47, i32 1
store i8* %48, i8** %2
%49 = load i8, i8* %48
%50 = zext i8 %49 to i32
%51 = icmp eq i32 %50, 101
br i1 %51, label %57, label %52
52: ; preds = %46
%53 = load i8*, i8** %2
%54 = load i8, i8* %53
%55 = zext i8 %54 to i32
%56 = icmp eq i32 %55, 69
br i1 %56, label %57, label %63
57: ; preds = %52, %46
%58 = load i8*, i8** %2
%59 = getelementptr inbounds i8, i8* %58, i32 1
store i8* %59, i8** %2
%60 = load i8, i8* %59
%61 = call i64 @isspace(i8 zeroext %60)
%62 = icmp ne i64 %61, 0
br label %63
63: ; preds = %57, %52, %41, %30, %19, %8
%64 = phi i1 [ false, %52 ], [ false, %41 ], [ false, %30 ], [ false, %19 ], [ false, %8 ], [ %62, %57 ]
%65 = zext i1 %64 to i32
ret i32 %65
}

LLVM IR (-O2):
define i32 @L_isquote(i8* nocapture %0) {
%2 = getelementptr inbounds i8, i8* %0, i64 1
%3 = load i8, i8* %2
switch i8 %3, label %22 [
i8 113, label %4
i8 81, label %4
]
4: ; preds = %1, %1
%5 = getelementptr inbounds i8, i8* %0, i64 2
%6 = load i8, i8* %5
switch i8 %6, label %22 [
i8 117, label %7
i8 85, label %7
]
7: ; preds = %4, %4
%8 = getelementptr inbounds i8, i8* %0, i64 3
%9 = load i8, i8* %8
switch i8 %9, label %22 [
i8 111, label %10
i8 79, label %10
]
10: ; preds = %7, %7
%11 = getelementptr inbounds i8, i8* %0, i64 4
%12 = load i8, i8* %11
switch i8 %12, label %22 [
i8 116, label %13
i8 84, label %13
]
13: ; preds = %10, %10
%14 = getelementptr inbounds i8, i8* %0, i64 5
%15 = load i8, i8* %14
switch i8 %15, label %22 [
i8 101, label %16
i8 69, label %16
]
16: ; preds = %13, %13
%17 = getelementptr inbounds i8, i8* %0, i64 6
%18 = load i8, i8* %17
%19 = tail call i64 @isspace(i8 zeroext %18)
%20 = icmp ne i64 %19, 0
%21 = zext i1 %20 to i32
br label %22
22: ; preds = %13, %10, %7, %4, %1, %16
%23 = phi i32 [ %21, %16 ], [ 0, %1 ], [ 0, %4 ], [ 0, %7 ], [ 0, %10 ], [ 0, %13 ]
ret i32 %23
}