#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 *, float *, float *, float *, float *);
int main() {
  float x, y, r, x1, y1;
  scanf("%f%f%f%f%f", &x, &y, &r, &x1, &y1);
  if ((x1 - x) * (x1 - x) + (y1 - y) * (y1 - y) - r * r <= 0) {
    if ((x1 - x) * (x1 - x) + (y1 - y) * (y1 - y) - r * r < 0)
      printf("Point is inside the Circle.");
    else
      printf("Point is on the Circle.");
  } else
    printf("Point is outside the Circle.");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
lea    -0x14(%rbp),%r8
lea    -0x18(%rbp),%r9
call   1040 <scanf@plt>
movss  -0x14(%rbp),%xmm0
subss  -0x8(%rbp),%xmm0
movss  -0x14(%rbp),%xmm2
subss  -0x8(%rbp),%xmm2
movss  -0x18(%rbp),%xmm1
subss  -0xc(%rbp),%xmm1
movss  -0x18(%rbp),%xmm3
subss  -0xc(%rbp),%xmm3
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x10(%rbp),%xmm1
movss  -0x10(%rbp),%xmm2
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomiss %xmm1,%xmm0
jb     122f <main+0x10f>
movss  -0x14(%rbp),%xmm0
subss  -0x8(%rbp),%xmm0
movss  -0x14(%rbp),%xmm2
subss  -0x8(%rbp),%xmm2
movss  -0x18(%rbp),%xmm1
subss  -0xc(%rbp),%xmm1
movss  -0x18(%rbp),%xmm3
subss  -0xc(%rbp),%xmm3
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x10(%rbp),%xmm1
movss  -0x10(%rbp),%xmm2
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomiss %xmm1,%xmm0
jbe    121e <main+0xfe>
lea    0xdf7(%rip),%rdi
call   1030 <printf@plt>
jmp    122a <main+0x10a>
lea    0xe02(%rip),%rdi
call   1030 <printf@plt>
jmp    123b <main+0x11b>
lea    0xe09(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
lea    0xed5(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
lea    0x8(%rsp),%r8
lea    0x4(%rsp),%r9
call   1040 <scanf@plt>
movss  0x8(%rsp),%xmm0
subss  0x14(%rsp),%xmm0
movss  0x4(%rsp),%xmm1
subss  0x10(%rsp),%xmm1
mulss  %xmm1,%xmm1
mulss  %xmm0,%xmm0
addss  %xmm1,%xmm0
movss  0xc(%rsp),%xmm1
mulss  %xmm1,%xmm1
subss  %xmm1,%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm0,%xmm1
lea    0xe83(%rip),%rax
lea    0xe98(%rip),%rcx
cmova  %rax,%rcx
lea    0xea5(%rip),%rdi
cmovae %rcx,%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [11 x i8] c"%f%f%f%f%f\00"
@.str.1 = [28 x i8] c"Point is inside the Circle.\00"
@.str.2 = [24 x i8] c"Point is on the Circle.\00"
@.str.3 = [29 x i8] c"Point is outside the Circle.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float
store i32 0, i32* %1
%7 = call i32 @scanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), float* %2, float* %3, float* %4, float* %5, float* %6)
%8 = load float, float* %5
%9 = load float, float* %2
%10 = fsub float %8, %9
%11 = load float, float* %5
%12 = load float, float* %2
%13 = fsub float %11, %12
%14 = load float, float* %6
%15 = load float, float* %3
%16 = fsub float %14, %15
%17 = load float, float* %6
%18 = load float, float* %3
%19 = fsub float %17, %18
%20 = fmul float %16, %19
%21 = call float @llvm.fmuladd.f32(float %10, float %13, float %20)
%22 = load float, float* %4
%23 = load float, float* %4
%24 = fneg float %22
%25 = call float @llvm.fmuladd.f32(float %24, float %23, float %21)
%26 = fcmp ole float %25, 0.000000e+00
br i1 %26, label %27, label %52
27: ; preds = %0
%28 = load float, float* %5
%29 = load float, float* %2
%30 = fsub float %28, %29
%31 = load float, float* %5
%32 = load float, float* %2
%33 = fsub float %31, %32
%34 = load float, float* %6
%35 = load float, float* %3
%36 = fsub float %34, %35
%37 = load float, float* %6
%38 = load float, float* %3
%39 = fsub float %37, %38
%40 = fmul float %36, %39
%41 = call float @llvm.fmuladd.f32(float %30, float %33, float %40)
%42 = load float, float* %4
%43 = load float, float* %4
%44 = fneg float %42
%45 = call float @llvm.fmuladd.f32(float %44, float %43, float %41)
%46 = fcmp olt float %45, 0.000000e+00
br i1 %46, label %47, label %49
47: ; preds = %27
%48 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
br label %51
49: ; preds = %27
%50 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
br label %51
51: ; preds = %49, %47
br label %54
52: ; preds = %0
%53 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
br label %54
54: ; preds = %52, %51
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"%f%f%f%f%f\00"
@.str.1 = [28 x i8] c"Point is inside the Circle.\00"
@.str.2 = [24 x i8] c"Point is on the Circle.\00"
@.str.3 = [29 x i8] c"Point is outside the Circle.\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = bitcast float* %1 to i8*
%7 = bitcast float* %2 to i8*
%8 = bitcast float* %3 to i8*
%9 = bitcast float* %4 to i8*
%10 = bitcast float* %5 to i8*
%11 = call i32 @scanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), float* %1, float* %2, float* %3, float* %4, float* %5)
%12 = load float, float* %4
%13 = load float, float* %1
%14 = fsub float %12, %13
%15 = load float, float* %5
%16 = load float, float* %2
%17 = fsub float %15, %16
%18 = fmul float %17, %17
%19 = call float @llvm.fmuladd.f32(float %14, float %14, float %18)
%20 = load float, float* %3
%21 = fneg float %20
%22 = call float @llvm.fmuladd.f32(float %21, float %20, float %19)
%23 = fcmp ugt float %22, 0.000000e+00
%24 = fcmp olt float %22, 0.000000e+00
%25 = select i1 %24, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0)
%26 = select i1 %23, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i8* %25
%27 = call i32 @printf(i8* dereferenceable(1) %26)
ret i32 0
}