#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*/ puts(char *);
int main() {
  int age = 5;
  if (age >= 18) {
    puts("Vous êtes majeur.");
    if (age > 19) {
      puts("Vous avez plus de 19 ans.");
    }
  } else {
    puts("Vous êtes mineur.");
  }
  if (age >= 18) {
    puts("Vous êtes majeur.");
  } else if (age > 12) {
    puts("Vous êtes un adolescent.");
  } else if (age < 3) {
    puts("Vous êtes un bébé.");
  } else {
    puts("Vous êtes mineur.");
  }
  age = 1;
  if (age >= 18) {
    puts("Vous êtes majeur.");
  } else if (age > 12) {
    puts("Vous êtes un adolescent.");
  } else if (age < 3) {
    puts("Vous êtes un bébé.");
  } else {
    puts("Vous êtes mineur.");
  }
  age = 15;
  if (age >= 18) {
    puts("Vous êtes majeur.");
  } else if (age > 12) {
    puts("Vous êtes un adolescent.");
  } else if (age < 3) {
    puts("Vous êtes un bébé.");
  } else {
    puts("Vous êtes mineur.");
  }
  age = 5;
  if (age == 18) {
    puts("Vous avez 18 ans.");
  }
  if (age == 5) {
    puts("Vous avez 5 ans.");
  }
  if (age <= 50) {
    puts("Vous avez au maximum 50 ans.");
    if (age < 30) {
      puts("Vous avez moins de 30 ans.");
    }
  }
  if (age != 18) {
    puts("Vous n’avez pas 18 ans.");
  }
  if (age < 10) {
    if (age > 5) {
      puts("Vous avez entre 5 et 10 ans.");
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x5,-0x8(%rbp)
cmpl   $0x12,-0x8(%rbp)
jl     1157 <main+0x47>
lea    0xec9(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x13,-0x8(%rbp)
jle    1152 <main+0x42>
lea    0xec6(%rip),%rdi
call   1030 <puts@plt>
jmp    1163 <main+0x53>
lea    0xecf(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x12,-0x8(%rbp)
jl     117e <main+0x6e>
lea    0xe8c(%rip),%rdi
call   1030 <puts@plt>
jmp    11ca <main+0xba>
cmpl   $0xc,-0x8(%rbp)
jle    1199 <main+0x89>
lea    0xeb1(%rip),%rdi
call   1030 <puts@plt>
jmp    11c5 <main+0xb5>
cmpl   $0x3,-0x8(%rbp)
jge    11b4 <main+0xa4>
lea    0xeb0(%rip),%rdi
call   1030 <puts@plt>
jmp    11c0 <main+0xb0>
lea    0xe72(%rip),%rdi
call   1030 <puts@plt>
jmp    11c5 <main+0xb5>
jmp    11ca <main+0xba>
movl   $0x1,-0x8(%rbp)
cmpl   $0x12,-0x8(%rbp)
jl     11ec <main+0xdc>
lea    0xe1e(%rip),%rdi
call   1030 <puts@plt>
jmp    1238 <main+0x128>
cmpl   $0xc,-0x8(%rbp)
jle    1207 <main+0xf7>
lea    0xe43(%rip),%rdi
call   1030 <puts@plt>
jmp    1233 <main+0x123>
cmpl   $0x3,-0x8(%rbp)
jge    1222 <main+0x112>
lea    0xe42(%rip),%rdi
call   1030 <puts@plt>
jmp    122e <main+0x11e>
lea    0xe04(%rip),%rdi
call   1030 <puts@plt>
jmp    1233 <main+0x123>
jmp    1238 <main+0x128>
movl   $0xf,-0x8(%rbp)
cmpl   $0x12,-0x8(%rbp)
jl     125a <main+0x14a>
lea    0xdb0(%rip),%rdi
call   1030 <puts@plt>
jmp    12a6 <main+0x196>
cmpl   $0xc,-0x8(%rbp)
jle    1275 <main+0x165>
lea    0xdd5(%rip),%rdi
call   1030 <puts@plt>
jmp    12a1 <main+0x191>
cmpl   $0x3,-0x8(%rbp)
jge    1290 <main+0x180>
lea    0xdd4(%rip),%rdi
call   1030 <puts@plt>
jmp    129c <main+0x18c>
lea    0xd96(%rip),%rdi
call   1030 <puts@plt>
jmp    12a1 <main+0x191>
jmp    12a6 <main+0x196>
movl   $0x5,-0x8(%rbp)
cmpl   $0x12,-0x8(%rbp)
jne    12c3 <main+0x1b3>
lea    0xdb2(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,-0x8(%rbp)
jne    12d9 <main+0x1c9>
lea    0xdae(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x32,-0x8(%rbp)
jg     130a <main+0x1fa>
lea    0xda9(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x1e,-0x8(%rbp)
jge    1305 <main+0x1f5>
lea    0xdb0(%rip),%rdi
call   1030 <puts@plt>
jmp    130a <main+0x1fa>
cmpl   $0x12,-0x8(%rbp)
je     1320 <main+0x210>
lea    0xdb0(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0xa,-0x8(%rbp)
jge    1345 <main+0x235>
cmpl   $0x5,-0x8(%rbp)
jle    1340 <main+0x230>
lea    0xdaa(%rip),%rdi
call   1030 <puts@plt>
jmp    1345 <main+0x235>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xefe(%rip),%rdi
call   1030 <puts@plt>
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefc(%rip),%rdi
call   1030 <puts@plt>
lea    0xf01(%rip),%rdi
call   1030 <puts@plt>
lea    0xf12(%rip),%rdi
call   1030 <puts@plt>
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [19 x i8] c"Vous \C3\AAtes majeur.\00"
@.str.1 = [26 x i8] c"Vous avez plus de 19 ans.\00"
@.str.2 = [19 x i8] c"Vous \C3\AAtes mineur.\00"
@.str.3 = [26 x i8] c"Vous \C3\AAtes un adolescent.\00"
@.str.4 = [22 x i8] c"Vous \C3\AAtes un b\C3\A9b\C3\A9.\00"
@.str.5 = [18 x i8] c"Vous avez 18 ans.\00"
@.str.6 = [17 x i8] c"Vous avez 5 ans.\00"
@.str.7 = [29 x i8] c"Vous avez au maximum 50 ans.\00"
@.str.8 = [27 x i8] c"Vous avez moins de 30 ans.\00"
@.str.9 = [26 x i8] c"Vous n\E2\80\99avez pas 18 ans.\00"
@.str.10 = [29 x i8] c"Vous avez entre 5 et 10 ans.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 5, i32* %2
%3 = load i32, i32* %2
%4 = icmp sge i32 %3, 18
br i1 %4, label %5, label %12
5: ; preds = %0
%6 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%7 = load i32, i32* %2
%8 = icmp sgt i32 %7, 19
br i1 %8, label %9, label %11
9: ; preds = %5
%10 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
br label %11
11: ; preds = %9, %5
br label %14
12: ; preds = %0
%13 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %14
14: ; preds = %12, %11
%15 = load i32, i32* %2
%16 = icmp sge i32 %15, 18
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
br label %33
19: ; preds = %14
%20 = load i32, i32* %2
%21 = icmp sgt i32 %20, 12
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
br label %32
24: ; preds = %19
%25 = load i32, i32* %2
%26 = icmp slt i32 %25, 3
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
br label %31
29: ; preds = %24
%30 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %31
31: ; preds = %29, %27
br label %32
32: ; preds = %31, %22
br label %33
33: ; preds = %32, %17
store i32 1, i32* %2
%34 = load i32, i32* %2
%35 = icmp sge i32 %34, 18
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
br label %52
38: ; preds = %33
%39 = load i32, i32* %2
%40 = icmp sgt i32 %39, 12
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
br label %51
43: ; preds = %38
%44 = load i32, i32* %2
%45 = icmp slt i32 %44, 3
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
br label %50
48: ; preds = %43
%49 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %50
50: ; preds = %48, %46
br label %51
51: ; preds = %50, %41
br label %52
52: ; preds = %51, %36
store i32 15, i32* %2
%53 = load i32, i32* %2
%54 = icmp sge i32 %53, 18
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
br label %71
57: ; preds = %52
%58 = load i32, i32* %2
%59 = icmp sgt i32 %58, 12
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
br label %70
62: ; preds = %57
%63 = load i32, i32* %2
%64 = icmp slt i32 %63, 3
br i1 %64, label %65, label %67
65: ; preds = %62
%66 = call i32 @puts(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
br label %69
67: ; preds = %62
%68 = call i32 @puts(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %69
69: ; preds = %67, %65
br label %70
70: ; preds = %69, %60
br label %71
71: ; preds = %70, %55
store i32 5, i32* %2
%72 = load i32, i32* %2
%73 = icmp eq i32 %72, 18
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
br label %76
76: ; preds = %74, %71
%77 = load i32, i32* %2
%78 = icmp eq i32 %77, 5
br i1 %78, label %79, label %81
79: ; preds = %76
%80 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
br label %81
81: ; preds = %79, %76
%82 = load i32, i32* %2
%83 = icmp sle i32 %82, 50
br i1 %83, label %84, label %91
84: ; preds = %81
%85 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%86 = load i32, i32* %2
%87 = icmp slt i32 %86, 30
br i1 %87, label %88, label %90
88: ; preds = %84
%89 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
br label %90
90: ; preds = %88, %84
br label %91
91: ; preds = %90, %81
%92 = load i32, i32* %2
%93 = icmp ne i32 %92, 18
br i1 %93, label %94, label %96
94: ; preds = %91
%95 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
br label %96
96: ; preds = %94, %91
%97 = load i32, i32* %2
%98 = icmp slt i32 %97, 10
br i1 %98, label %99, label %105
99: ; preds = %96
%100 = load i32, i32* %2
%101 = icmp sgt i32 %100, 5
br i1 %101, label %102, label %104
102: ; preds = %99
%103 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
br label %104
104: ; preds = %102, %99
br label %105
105: ; preds = %104, %96
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [19 x i8] c"Vous \C3\AAtes mineur.\00"
@.str.3 = [26 x i8] c"Vous \C3\AAtes un adolescent.\00"
@.str.4 = [22 x i8] c"Vous \C3\AAtes un b\C3\A9b\C3\A9.\00"
@.str.6 = [17 x i8] c"Vous avez 5 ans.\00"
@.str.7 = [29 x i8] c"Vous avez au maximum 50 ans.\00"
@.str.8 = [27 x i8] c"Vous avez moins de 30 ans.\00"
@.str.9 = [26 x i8] c"Vous n\E2\80\99avez pas 18 ans.\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
ret i32 0
}