#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*/ printf(char *);
int /*<<< orphan*/ scanf(char *, float *);
int main() {
  float n1;
  scanf("%f", &n1);
  if (n1 >= 90 && n1 <= 100)
    printf("Excelente\n");
  else if (n1 >= 75 && n1 < 90)
    printf("Satisfaz Bastante\n");
  else if (n1 >= 50 && n1 < 75)
    printf("Satisfaz\n");
  else if (n1 < 50 && n1 >= 0)
    printf("Nao Satisfaz\n");
  else
    printf("Nota Invalida\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
movss  -0x8(%rbp),%xmm0
movss  0xeb4(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     1178 <main+0x58>
movss  0xea7(%rip),%xmm0
ucomiss -0x8(%rbp),%xmm0
jb     1178 <main+0x58>
lea    0xea5(%rip),%rdi
call   1030 <printf@plt>
jmp    1239 <main+0x119>
movss  -0x8(%rbp),%xmm0
movss  0xe83(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     11b1 <main+0x91>
movss  0xe6a(%rip),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11b1 <main+0x91>
lea    0xe77(%rip),%rdi
call   1030 <printf@plt>
jmp    1234 <main+0x114>
movss  -0x8(%rbp),%xmm0
movss  0xe4e(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     11ea <main+0xca>
movss  0xe39(%rip),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11ea <main+0xca>
lea    0xe55(%rip),%rdi
call   1030 <printf@plt>
jmp    122f <main+0x10f>
movss  0xe1a(%rip),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    121e <main+0xfe>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     121e <main+0xfe>
lea    0xe1d(%rip),%rdi
call   1030 <printf@plt>
jmp    122a <main+0x10a>
lea    0xe1a(%rip),%rdi
call   1030 <printf@plt>
jmp    122f <main+0x10f>
jmp    1234 <main+0x114>
jmp    1239 <main+0x119>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0x4(%rsp),%rsi
call   1040 <scanf@plt>
movss  0x4(%rsp),%xmm0
ucomiss 0xec1(%rip),%xmm0
jb     1157 <main+0x37>
movss  0xebb(%rip),%xmm1
ucomiss %xmm0,%xmm1
jb     1157 <main+0x37>
lea    0xeeb(%rip),%rdi
jmp    11bc <main+0x9c>
ucomiss 0xeaa(%rip),%xmm0
jb     1176 <main+0x56>
movss  0xe98(%rip),%xmm1
ucomiss %xmm0,%xmm1
jbe    1176 <main+0x56>
lea    0xeba(%rip),%rdi
jmp    11bc <main+0x9c>
ucomiss 0xe8f(%rip),%xmm0
jb     1195 <main+0x75>
movss  0xe81(%rip),%xmm1
ucomiss %xmm0,%xmm1
jbe    1195 <main+0x75>
lea    0xe92(%rip),%rdi
jmp    11bc <main+0x9c>
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
lea    0xe7f(%rip),%rdi
lea    0xe6a(%rip),%rax
cmovb  %rax,%rdi
movss  0xe57(%rip),%xmm1
ucomiss %xmm0,%xmm1
cmovbe %rax,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%f\00"
@.str.1 = [11 x i8] c"Excelente\0A\00"
@.str.2 = [19 x i8] c"Satisfaz Bastante\0A\00"
@.str.3 = [10 x i8] c"Satisfaz\0A\00"
@.str.4 = [14 x i8] c"Nao Satisfaz\0A\00"
@.str.5 = [15 x i8] c"Nota Invalida\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
store i32 0, i32* %1
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), float* %2)
%4 = load float, float* %2
%5 = fcmp oge float %4, 9.000000e+01
br i1 %5, label %6, label %11
6: ; preds = %0
%7 = load float, float* %2
%8 = fcmp ole float %7, 1.000000e+02
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
br label %40
11: ; preds = %6, %0
%12 = load float, float* %2
%13 = fcmp oge float %12, 7.500000e+01
br i1 %13, label %14, label %19
14: ; preds = %11
%15 = load float, float* %2
%16 = fcmp olt float %15, 9.000000e+01
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %39
19: ; preds = %14, %11
%20 = load float, float* %2
%21 = fcmp oge float %20, 5.000000e+01
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load float, float* %2
%24 = fcmp olt float %23, 7.500000e+01
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %38
27: ; preds = %22, %19
%28 = load float, float* %2
%29 = fcmp olt float %28, 5.000000e+01
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = load float, float* %2
%32 = fcmp oge float %31, 0.000000e+00
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
br label %37
35: ; preds = %30, %27
%36 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
br label %37
37: ; preds = %35, %33
br label %38
38: ; preds = %37, %25
br label %39
39: ; preds = %38, %17
br label %40
40: ; preds = %39, %9
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%f\00"
@str = [14 x i8] c"Nota Invalida\00"
@str.6 = [13 x i8] c"Nao Satisfaz\00"
@str.7 = [9 x i8] c"Satisfaz\00"
@str.8 = [18 x i8] c"Satisfaz Bastante\00"
@str.9 = [10 x i8] c"Excelente\00"
define i32 @main() {
%1 = alloca float
%2 = bitcast float* %1 to i8*
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), float* %1)
%4 = load float, float* %1
%5 = fcmp oge float %4, 9.000000e+01
%6 = fcmp ole float %4, 1.000000e+02
%7 = and i1 %5, %6
br i1 %7, label %21, label %8
8: ; preds = %0
%9 = fcmp oge float %4, 7.500000e+01
%10 = fcmp olt float %4, 9.000000e+01
%11 = and i1 %9, %10
br i1 %11, label %21, label %12
12: ; preds = %8
%13 = fcmp oge float %4, 5.000000e+01
%14 = fcmp olt float %4, 7.500000e+01
%15 = and i1 %13, %14
br i1 %15, label %21, label %16
16: ; preds = %12
%17 = fcmp olt float %4, 5.000000e+01
%18 = fcmp oge float %4, 0.000000e+00
%19 = and i1 %17, %18
%20 = select i1 %19, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @str.6, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0)
br label %21
21: ; preds = %16, %12, %8, %0
%22 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @str.9, i64 0, i64 0), %0 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @str.8, i64 0, i64 0), %8 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @str.7, i64 0, i64 0), %12 ], [ %20, %16 ]
%23 = call i32 @puts(i8* dereferenceable(1) %22)
ret i32 0
}