#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*/ createRequete_test();
scalar_t__ initRequete_test();
scalar_t__ parseSyntaxChamp_test();
scalar_t__ parseSyntaxCondition_test();
int /*<<< orphan*/ printf(char *);
int main(void) {
  printf("parseSyntaxChamp_test() : \n");
  if (parseSyntaxChamp_test() == 0) {
    printf("OK !\n");
  }
  printf("parseSyntaxCondition_test() : \n");
  if (parseSyntaxCondition_test() == 0) {
    printf("OK !\n");
  }
  printf("initRequete_test() : \n");
  if (initRequete_test() == 0) {
    printf("OK !\n");
  }
  printf("createRequete_test() : Memory only\n");
  createRequete_test();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe9a(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1050 <parseSyntaxChamp_test@plt>
cmp    $0x0,%rax
jne    1188 <main+0x38>
lea    0xe99(%rip),%rdi
call   1040 <printf@plt>
lea    0xe93(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1060 <parseSyntaxCondition_test@plt>
cmp    $0x0,%rax
jne    11b1 <main+0x61>
lea    0xe70(%rip),%rdi
call   1040 <printf@plt>
lea    0xe8a(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1030 <initRequete_test@plt>
cmp    $0x0,%rax
jne    11da <main+0x8a>
lea    0xe47(%rip),%rdi
call   1040 <printf@plt>
lea    0xe78(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1070 <createRequete_test@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xea8(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1050 <parseSyntaxChamp_test@plt>
test   %rax,%rax
jne    1175 <main+0x25>
lea    0xf03(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9f(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1060 <parseSyntaxCondition_test@plt>
test   %rax,%rax
jne    1199 <main+0x49>
lea    0xedf(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9a(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1040 <initRequete_test@plt>
test   %rax,%rax
jne    11bd <main+0x6d>
lea    0xebb(%rip),%rdi
call   1030 <puts@plt>
lea    0xe8c(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1070 <createRequete_test@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [28 x i8] c"parseSyntaxChamp_test() : \0A\00"
@.str.1 = [6 x i8] c"OK !\0A\00"
@.str.2 = [32 x i8] c"parseSyntaxCondition_test() : \0A\00"
@.str.3 = [23 x i8] c"initRequete_test() : \0A\00"
@.str.4 = [36 x i8] c"createRequete_test() : Memory only\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%3 = call i64 (...) @parseSyntaxChamp_test()
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %7
7: ; preds = %5, %0
%8 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
%9 = call i64 (...) @parseSyntaxCondition_test()
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %13
13: ; preds = %11, %7
%14 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%15 = call i64 (...) @initRequete_test()
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %19
19: ; preds = %17, %13
%20 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
%21 = call i32 (...) @createRequete_test()
ret i32 0
}

LLVM IR (-O2):
@str = [27 x i8] c"parseSyntaxChamp_test() : \00"
@str.5 = [31 x i8] c"parseSyntaxCondition_test() : \00"
@str.6 = [22 x i8] c"initRequete_test() : \00"
@str.7 = [35 x i8] c"createRequete_test() : Memory only\00"
@str.10 = [5 x i8] c"OK !\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
%2 = tail call i64 (...) @parseSyntaxChamp_test()
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.10, i64 0, i64 0))
br label %6
6: ; preds = %4, %0
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.5, i64 0, i64 0))
%8 = tail call i64 (...) @parseSyntaxCondition_test()
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.10, i64 0, i64 0))
br label %12
12: ; preds = %10, %6
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.6, i64 0, i64 0))
%14 = tail call i64 (...) @initRequete_test()
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.10, i64 0, i64 0))
br label %18
18: ; preds = %16, %12
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.7, i64 0, i64 0))
%20 = tail call i32 (...) @createRequete_test()
ret i32 0
}