#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(int argc, char const *argv[]) {
  float a;
  scanf("%f", &a);
  a = (a * 75) / 100;
  if (a < 2000) {
    printf("ARGENTINA");
  } else if (a < 3000) {
    printf("ESPANHA");
  } else {
    printf("ALEMANHA");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xed3(%rip),%rdi
lea    -0x14(%rbp),%rsi
call   1040 <scanf@plt>
movss  0xeba(%rip),%xmm0
mulss  -0x14(%rbp),%xmm0
movss  0xea9(%rip),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x14(%rbp)
movss  0xe94(%rip),%xmm0
ucomiss -0x14(%rbp),%xmm0
jbe    1187 <main+0x67>
lea    0xe96(%rip),%rdi
call   1030 <printf@plt>
jmp    11bb <main+0x9b>
movss  0xe7d(%rip),%xmm0
ucomiss -0x14(%rbp),%xmm0
jbe    11aa <main+0x8a>
lea    0xe7d(%rip),%rdi
call   1030 <printf@plt>
jmp    11b6 <main+0x96>
lea    0xe74(%rip),%rdi
call   1030 <printf@plt>
jmp    11bb <main+0x9b>
xor    %eax,%eax
add    $0x20,%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
mulss  0xec0(%rip),%xmm0
divss  0xebc(%rip),%xmm0
movss  0xeb8(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xec3(%rip),%rax
lea    0xec4(%rip),%rcx
cmova  %rax,%rcx
movss  %xmm0,0x4(%rsp)
movss  0xe99(%rip),%xmm1
ucomiss %xmm0,%xmm1
lea    0xe96(%rip),%rdi
cmovbe %rcx,%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%f\00"
@.str.1 = [10 x i8] c"ARGENTINA\00"
@.str.2 = [8 x i8] c"ESPANHA\00"
@.str.3 = [9 x i8] c"ALEMANHA\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca float
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), float* %6)
%8 = load float, float* %6
%9 = fmul float %8, 7.500000e+01
%10 = fdiv float %9, 1.000000e+02
store float %10, float* %6
%11 = load float, float* %6
%12 = fcmp olt float %11, 2.000000e+03
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
br label %23
15: ; preds = %2
%16 = load float, float* %6
%17 = fcmp olt float %16, 3.000000e+03
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
br label %22
20: ; preds = %15
%21 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %22
22: ; preds = %20, %18
br label %23
23: ; preds = %22, %13
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%f\00"
@.str.1 = [10 x i8] c"ARGENTINA\00"
@.str.2 = [8 x i8] c"ESPANHA\00"
@.str.3 = [9 x i8] c"ALEMANHA\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca float
%4 = bitcast float* %3 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), float* %3)
%6 = load float, float* %3
%7 = fmul float %6, 7.500000e+01
%8 = fdiv float %7, 1.000000e+02
store float %8, float* %3
%9 = fcmp olt float %8, 2.000000e+03
%10 = fcmp olt float %8, 3.000000e+03
%11 = select i1 %10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0)
%12 = select i1 %9, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* %11
%13 = call i32 @printf(i8* dereferenceable(1) %12)
ret i32 0
}