#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 sinon(char const *);
int sinonSi(const char *ligne) {
  if (sinon(ligne) == 1 && ligne[5] == ' ' && ligne[6] == 'S' &&
      ligne[7] == 'i' && ligne[8] == ' ')
    return 1;
  else
    return 0;
}


x86 assembly (clang, -O0):
<sinonSi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
call   1030 <sinon@plt>
cmp    $0x1,%eax
jne    117e <sinonSi+0x6e>
mov    -0x10(%rbp),%rax
movsbl 0x5(%rax),%eax
cmp    $0x20,%eax
jne    117e <sinonSi+0x6e>
mov    -0x10(%rbp),%rax
movsbl 0x6(%rax),%eax
cmp    $0x53,%eax
jne    117e <sinonSi+0x6e>
mov    -0x10(%rbp),%rax
movsbl 0x7(%rax),%eax
cmp    $0x69,%eax
jne    117e <sinonSi+0x6e>
mov    -0x10(%rbp),%rax
movsbl 0x8(%rax),%eax
cmp    $0x20,%eax
jne    117e <sinonSi+0x6e>
movl   $0x1,-0x4(%rbp)
jmp    1185 <sinonSi+0x75>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sinonSi>:
push   %rbx
mov    %rdi,%rbx
call   1030 <sinon@plt>
cmp    $0x1,%eax
jne    113b <sinonSi+0x2b>
cmpb   $0x20,0x5(%rbx)
jne    113b <sinonSi+0x2b>
cmpb   $0x53,0x6(%rbx)
jne    113b <sinonSi+0x2b>
cmpb   $0x69,0x7(%rbx)
jne    113b <sinonSi+0x2b>
mov    $0x1,%eax
cmpb   $0x20,0x8(%rbx)
je     113d <sinonSi+0x2d>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
define i32 @sinonSi(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i32 @sinon(i8* %4)
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %32
7: ; preds = %1
%8 = load i8*, i8** %3
%9 = getelementptr inbounds i8, i8* %8, i64 5
%10 = load i8, i8* %9
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 32
br i1 %12, label %13, label %32
13: ; preds = %7
%14 = load i8*, i8** %3
%15 = getelementptr inbounds i8, i8* %14, i64 6
%16 = load i8, i8* %15
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 83
br i1 %18, label %19, label %32
19: ; preds = %13
%20 = load i8*, i8** %3
%21 = getelementptr inbounds i8, i8* %20, i64 7
%22 = load i8, i8* %21
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 105
br i1 %24, label %25, label %32
25: ; preds = %19
%26 = load i8*, i8** %3
%27 = getelementptr inbounds i8, i8* %26, i64 8
%28 = load i8, i8* %27
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 32
br i1 %30, label %31, label %32
31: ; preds = %25
store i32 1, i32* %2
br label %33
32: ; preds = %25, %19, %13, %7, %1
store i32 0, i32* %2
br label %33
33: ; preds = %32, %31
%34 = load i32, i32* %2
ret i32 %34
}

LLVM IR (-O2):
define i32 @sinonSi(i8* %0) {
%2 = tail call i32 @sinon(i8* %0)
%3 = icmp eq i32 %2, 1
br i1 %3, label %4, label %20
4: ; preds = %1
%5 = getelementptr inbounds i8, i8* %0, i64 5
%6 = load i8, i8* %5
%7 = icmp eq i8 %6, 32
br i1 %7, label %8, label %20
8: ; preds = %4
%9 = getelementptr inbounds i8, i8* %0, i64 6
%10 = load i8, i8* %9
%11 = icmp eq i8 %10, 83
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = getelementptr inbounds i8, i8* %0, i64 7
%14 = load i8, i8* %13
%15 = icmp eq i8 %14, 105
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = getelementptr inbounds i8, i8* %0, i64 8
%18 = load i8, i8* %17
%19 = icmp eq i8 %18, 32
br i1 %19, label %21, label %20
20: ; preds = %16, %12, %8, %4, %1
br label %21
21: ; preds = %16, %20
%22 = phi i32 [ 0, %20 ], [ 1, %16 ]
ret i32 %22
}