#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 *, float, float, char *);
int scanf(char *, float *, float *, char *);
int main() {
  float latitude;
  float longitude;
  char info[80];
  while (scanf("%f,%f,%79[^\n]", &latitude, &longitude, info) == 3) {
    if ((latitude > 26) && (latitude < 34) && (longitude > -76) &&
        (longitude < -64)) {
      printf("%f,%f,%s\n", latitude, longitude, info);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x60(%rbp),%rcx
lea    0xed6(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
call   1040 <scanf@plt>
cmp    $0x3,%eax
jne    11bf <main+0x9f>
movss  -0x8(%rbp),%xmm0
movss  0xea3(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    11ba <main+0x9a>
movss  0xe96(%rip),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11ba <main+0x9a>
movss  -0xc(%rbp),%xmm0
movss  0xe83(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    11ba <main+0x9a>
movss  0xe76(%rip),%xmm0
ucomiss -0xc(%rbp),%xmm0
jbe    11ba <main+0x9a>
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
lea    -0x60(%rbp),%rsi
lea    0xe69(%rip),%rdi
call   1030 <printf@plt>
jmp    112f <main+0xf>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x60,%rsp
lea    0xedc(%rip),%rdi
lea    0xc(%rsp),%rsi
lea    0x8(%rsp),%rdx
lea    0x10(%rsp),%rcx
call   1040 <scanf@plt>
cmp    $0x3,%eax
jne    11cb <main+0xab>
lea    0xeca(%rip),%r14
lea    0x10(%rsp),%rbx
lea    0xeb0(%rip),%r15
lea    0xc(%rsp),%r12
lea    0x8(%rsp),%r13
jmp    1186 <main+0x66>
nopl   0x0(%rax)
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbx,%rcx
call   1040 <scanf@plt>
cmp    $0x3,%eax
jne    11cb <main+0xab>
movss  0xc(%rsp),%xmm0
ucomiss 0xe6d(%rip),%xmm0
jbe    1170 <main+0x50>
movss  0xe67(%rip),%xmm1
ucomiss %xmm0,%xmm1
jbe    1170 <main+0x50>
movss  0x8(%rsp),%xmm1
ucomiss 0xe59(%rip),%xmm1
jbe    1170 <main+0x50>
movss  0xe53(%rip),%xmm2
ucomiss %xmm1,%xmm2
jbe    1170 <main+0x50>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
jmp    1170 <main+0x50>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [14 x i8] c"%f,%f,%79[^\0A]\00"
@.str.1 = [10 x i8] c"%f,%f,%s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca [80 x i8]
store i32 0, i32* %1
br label %5
5: ; preds = %26, %0
%6 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%7 = call i32 @scanf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), float* %2, float* %3, i8* %6)
%8 = icmp eq i32 %7, 3
br i1 %8, label %9, label %27
9: ; preds = %5
%10 = load float, float* %2
%11 = fcmp ogt float %10, 2.600000e+01
br i1 %11, label %12, label %26
12: ; preds = %9
%13 = load float, float* %2
%14 = fcmp olt float %13, 3.400000e+01
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load float, float* %3
%17 = fcmp ogt float %16, -7.600000e+01
br i1 %17, label %18, label %26
18: ; preds = %15
%19 = load float, float* %3
%20 = fcmp olt float %19, -6.400000e+01
br i1 %20, label %21, label %26
21: ; preds = %18
%22 = load float, float* %2
%23 = load float, float* %3
%24 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%25 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), float %22, float %23, i8* %24)
br label %26
26: ; preds = %21, %18, %15, %12, %9
br label %5
27: ; preds = %5
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"%f,%f,%79[^\0A]\00"
@.str.1 = [10 x i8] c"%f,%f,%s\0A\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca [80 x i8]
%4 = bitcast float* %1 to i8*
%5 = bitcast float* %2 to i8*
%6 = getelementptr inbounds [80 x i8], [80 x i8]* %3, i64 0, i64 0
%7 = call i32 @scanf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), float* %1, float* %2, i8* %6)
%8 = icmp eq i32 %7, 3
br i1 %8, label %9, label %24
9: ; preds = %0, %21
%10 = load float, float* %1
%11 = fcmp ogt float %10, 2.600000e+01
%12 = fcmp olt float %10, 3.400000e+01
%13 = and i1 %11, %12
%14 = load float, float* %2
%15 = fcmp ogt float %14, -7.600000e+01
%16 = select i1 %13, i1 %15, i1 false
%17 = fcmp olt float %14, -6.400000e+01
%18 = select i1 %16, i1 %17, i1 false
br i1 %18, label %19, label %21
19: ; preds = %9
%20 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), float %10, float %14, i8* %6)
br label %21
21: ; preds = %19, %9
%22 = call i32 @scanf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), float* %1, float* %2, i8* %6)
%23 = icmp eq i32 %22, 3
br i1 %23, label %9, label %24
24: ; preds = %21, %0
ret i32 0
}