#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*/ *strchr(char *, char);
int analyze_isDefineLine_s(char *line) {
  if ((strchr(line, '(') != NULL) && (strchr(line, ')') != NULL) &&
      (strchr(line, ';') != NULL) && (line[0] != '#')) {
    return 1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<analyze_isDefineLine_s>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
mov    $0x28,%esi
call   1030 <strchr@plt>
cmp    $0x0,%rax
je     1180 <analyze_isDefineLine_s+0x70>
mov    -0x10(%rbp),%rdi
mov    $0x29,%esi
call   1030 <strchr@plt>
cmp    $0x0,%rax
je     1180 <analyze_isDefineLine_s+0x70>
mov    -0x10(%rbp),%rdi
mov    $0x3b,%esi
call   1030 <strchr@plt>
cmp    $0x0,%rax
je     1180 <analyze_isDefineLine_s+0x70>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x23,%eax
je     1180 <analyze_isDefineLine_s+0x70>
movl   $0x1,-0x4(%rbp)
jmp    1187 <analyze_isDefineLine_s+0x77>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<analyze_isDefineLine_s>:
push   %rbx
mov    %rdi,%rbx
mov    $0x28,%esi
call   1030 <strchr@plt>
test   %rax,%rax
je     1151 <analyze_isDefineLine_s+0x41>
mov    %rbx,%rdi
mov    $0x29,%esi
call   1030 <strchr@plt>
test   %rax,%rax
je     1151 <analyze_isDefineLine_s+0x41>
mov    %rbx,%rdi
mov    $0x3b,%esi
call   1030 <strchr@plt>
test   %rax,%rax
je     1151 <analyze_isDefineLine_s+0x41>
mov    $0x1,%eax
cmpb   $0x23,(%rbx)
jne    1153 <analyze_isDefineLine_s+0x43>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
define i32 @analyze_isDefineLine_s(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i32* @strchr(i8* %4, i8 signext 40)
%6 = icmp ne i32* %5, null
br i1 %6, label %7, label %22
7: ; preds = %1
%8 = load i8*, i8** %3
%9 = call i32* @strchr(i8* %8, i8 signext 41)
%10 = icmp ne i32* %9, null
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load i8*, i8** %3
%13 = call i32* @strchr(i8* %12, i8 signext 59)
%14 = icmp ne i32* %13, null
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i8*, i8** %3
%17 = getelementptr inbounds i8, i8* %16, i64 0
%18 = load i8, i8* %17
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 35
br i1 %20, label %21, label %22
21: ; preds = %15
store i32 1, i32* %2
br label %23
22: ; preds = %15, %11, %7, %1
store i32 0, i32* %2
br label %23
23: ; preds = %22, %21
%24 = load i32, i32* %2
ret i32 %24
}

LLVM IR (-O2):
define i32 @analyze_isDefineLine_s(i8* %0) {
%2 = tail call i32* @strchr(i8* %0, i8 signext 40)
%3 = icmp eq i32* %2, null
br i1 %3, label %13, label %4
4: ; preds = %1
%5 = tail call i32* @strchr(i8* %0, i8 signext 41)
%6 = icmp eq i32* %5, null
br i1 %6, label %13, label %7
7: ; preds = %4
%8 = tail call i32* @strchr(i8* %0, i8 signext 59)
%9 = icmp eq i32* %8, null
br i1 %9, label %13, label %10
10: ; preds = %7
%11 = load i8, i8* %0
%12 = icmp eq i8 %11, 35
br i1 %12, label %13, label %14
13: ; preds = %10, %7, %4, %1
br label %14
14: ; preds = %10, %13
%15 = phi i32 [ 0, %13 ], [ 1, %10 ]
ret i32 %15
}