#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 lat, lng;
  char info[80];
  while (scanf("%f,%f,%79[^\n]", &lat, &lng, info) == 3) {
    printf("%f,%f,%s\n", lat, lng, info);
    if (lat > 26 && lat < 34) {
      if (lng > -64 && lng < -76) {
        printf("%f,%f,%s\n", lat, lng, 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    11de <main+0xbe>
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
lea    -0x60(%rbp),%rsi
lea    0xeb9(%rip),%rdi
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
movss  0xe89(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    11d9 <main+0xb9>
movss  0xe7c(%rip),%xmm0
ucomiss -0x8(%rbp),%xmm0
jbe    11d9 <main+0xb9>
movss  -0xc(%rbp),%xmm0
movss  0xe69(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    11d4 <main+0xb4>
movss  0xe5c(%rip),%xmm0
ucomiss -0xc(%rbp),%xmm0
jbe    11d4 <main+0xb4>
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
lea    -0x60(%rbp),%rsi
lea    0xe4f(%rip),%rdi
call   1030 <printf@plt>
jmp    11d9 <main+0xb9>
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    11e2 <main+0xc2>
lea    0xec6(%rip),%r14
lea    0x10(%rsp),%rbx
lea    0xeac(%rip),%r15
lea    0xc(%rsp),%r12
lea    0x8(%rsp),%r13
jmp    1186 <main+0x66>
mov    %r15,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
mov    %rbx,%rcx
call   1040 <scanf@plt>
cmp    $0x3,%eax
jne    11e2 <main+0xc2>
movss  0xc(%rsp),%xmm0
movss  0x8(%rsp),%xmm1
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
movss  0xc(%rsp),%xmm0
ucomiss 0xe56(%rip),%xmm0
jbe    1170 <main+0x50>
movss  0xe50(%rip),%xmm1
ucomiss %xmm0,%xmm1
jbe    1170 <main+0x50>
movss  0x8(%rsp),%xmm1
ucomiss 0xe42(%rip),%xmm1
jbe    1170 <main+0x50>
movss  0xe3c(%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 = %31, %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 %32
9: ; preds = %5
%10 = load float, float* %2
%11 = load float, float* %3
%12 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%13 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), float %10, float %11, i8* %12)
%14 = load float, float* %2
%15 = fcmp ogt float %14, 2.600000e+01
br i1 %15, label %16, label %31
16: ; preds = %9
%17 = load float, float* %2
%18 = fcmp olt float %17, 3.400000e+01
br i1 %18, label %19, label %31
19: ; preds = %16
%20 = load float, float* %3
%21 = fcmp ogt float %20, -6.400000e+01
br i1 %21, label %22, label %30
22: ; preds = %19
%23 = load float, float* %3
%24 = fcmp olt float %23, -7.600000e+01
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load float, float* %2
%27 = load float, float* %3
%28 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%29 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), float %26, float %27, i8* %28)
br label %30
30: ; preds = %25, %22, %19
br label %31
31: ; preds = %30, %16, %9
br label %5
32: ; 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 %27
9: ; preds = %0, %24
%10 = load float, float* %1
%11 = load float, float* %2
%12 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), float %10, float %11, i8* %6)
%13 = load float, float* %1
%14 = fcmp ogt float %13, 2.600000e+01
%15 = fcmp olt float %13, 3.400000e+01
%16 = and i1 %14, %15
br i1 %16, label %17, label %24
17: ; preds = %9
%18 = load float, float* %2
%19 = fcmp ogt float %18, -6.400000e+01
%20 = fcmp olt float %18, -7.600000e+01
%21 = and i1 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), float %13, float %18, i8* %6)
br label %24
24: ; preds = %17, %22, %9
%25 = call i32 @scanf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), float* %1, float* %2, i8* %6)
%26 = icmp eq i32 %25, 3
br i1 %26, label %9, label %27
27: ; preds = %24, %0
ret i32 0
}