; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/168 Division 1/Problem C (C)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.point = type { x86_fp80, x86_fp80 }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local global i32, align 4
@p = external dso_local global [101 x %struct.point], align 16
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z12circumcenter5pointS_S_(ptr dead_on_unwind noalias writable sret(%struct.point) align 16, ptr noundef byval(%struct.point) align 16, ptr noundef byval(%struct.point) align 16, ptr noundef byval(%struct.point) align 16) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #5 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca x86_fp80, align 16
  %4 = alloca x86_fp80, align 16
  %5 = alloca x86_fp80, align 16
  %6 = alloca x86_fp80, align 16
  %7 = alloca x86_fp80, align 16
  %8 = alloca x86_fp80, align 16
  %9 = alloca x86_fp80, align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca %struct.point, align 16
  %17 = alloca %struct.point, align 16
  %18 = alloca %struct.point, align 16
  %19 = alloca x86_fp80, align 16
  %20 = alloca i32, align 4
  %21 = alloca %struct.point, align 16
  %22 = alloca x86_fp80, align 16
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca x86_fp80, align 16
  %26 = alloca %struct.point, align 16
  %27 = alloca %struct.point, align 16
  %28 = alloca %struct.point, align 16
  %29 = alloca %struct.point, align 16
  %30 = alloca i8, align 1
  %31 = alloca i32, align 4
  %32 = alloca x86_fp80, align 16
  store i32 0, ptr %1, align 4
  %33 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %50, %0
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = load i32, ptr @n, align 4, !tbaa !5
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  br label %53

39:                                               ; preds = %34
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %41
  %43 = getelementptr inbounds %struct.point, ptr %42, i32 0, i32 0
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 16 dereferenceable(16) %43)
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %46
  %48 = getelementptr inbounds %struct.point, ptr %47, i32 0, i32 1
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 16 dereferenceable(16) %48)
  br label %50

50:                                               ; preds = %39
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %2, align 4, !tbaa !5
  br label %34, !llvm.loop !9

53:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #8
  store x86_fp80 0xK00000000000000000000, ptr %3, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %395, %53
  %55 = load i32, ptr %10, align 4, !tbaa !5
  %56 = load i32, ptr @n, align 4, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %398

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %60 = load i32, ptr %10, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %12, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %391, %59
  %63 = load i32, ptr %12, align 4, !tbaa !5
  %64 = load i32, ptr @n, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %62
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %394

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %68 = load i32, ptr %12, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %13, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %387, %67
  %71 = load i32, ptr %13, align 4, !tbaa !5
  %72 = load i32, ptr @n, align 4, !tbaa !5
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %390

75:                                               ; preds = %70
  %76 = load i32, ptr %12, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %77
  %79 = getelementptr inbounds %struct.point, ptr %78, i32 0, i32 1
  %80 = load x86_fp80, ptr %79, align 16, !tbaa !13
  %81 = load i32, ptr %10, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %82
  %84 = getelementptr inbounds %struct.point, ptr %83, i32 0, i32 1
  %85 = load x86_fp80, ptr %84, align 16, !tbaa !13
  %86 = fsub x86_fp80 %80, %85
  %87 = load i32, ptr %13, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %88
  %90 = getelementptr inbounds %struct.point, ptr %89, i32 0, i32 0
  %91 = load x86_fp80, ptr %90, align 16, !tbaa !15
  %92 = load i32, ptr %12, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %93
  %95 = getelementptr inbounds %struct.point, ptr %94, i32 0, i32 0
  %96 = load x86_fp80, ptr %95, align 16, !tbaa !15
  %97 = fsub x86_fp80 %91, %96
  %98 = fmul x86_fp80 %86, %97
  %99 = load i32, ptr %13, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %100
  %102 = getelementptr inbounds %struct.point, ptr %101, i32 0, i32 1
  %103 = load x86_fp80, ptr %102, align 16, !tbaa !13
  %104 = load i32, ptr %12, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %105
  %107 = getelementptr inbounds %struct.point, ptr %106, i32 0, i32 1
  %108 = load x86_fp80, ptr %107, align 16, !tbaa !13
  %109 = fsub x86_fp80 %103, %108
  %110 = load i32, ptr %12, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %111
  %113 = getelementptr inbounds %struct.point, ptr %112, i32 0, i32 0
  %114 = load x86_fp80, ptr %113, align 16, !tbaa !15
  %115 = load i32, ptr %10, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %116
  %118 = getelementptr inbounds %struct.point, ptr %117, i32 0, i32 0
  %119 = load x86_fp80, ptr %118, align 16, !tbaa !15
  %120 = fsub x86_fp80 %114, %119
  %121 = fmul x86_fp80 %109, %120
  %122 = fcmp oeq x86_fp80 %98, %121
  br i1 %122, label %123, label %124

123:                                              ; preds = %75
  br label %387

124:                                              ; preds = %75
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  store i8 1, ptr %14, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  store i8 0, ptr %15, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %125 = load i32, ptr %10, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %126
  %128 = load i32, ptr %12, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %129
  %131 = load i32, ptr %13, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %132
  %134 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %127, ptr noundef nonnull align 16 dereferenceable(32) %130, ptr noundef nonnull align 16 dereferenceable(32) %133)
  store x86_fp80 %134, ptr %19, align 16, !tbaa !11
  %135 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %136 = fmul x86_fp80 %135, 0xK40008000000000000000
  %137 = fcmp ogt x86_fp80 %136, 0xK4000C90FDAA224286FFC
  br i1 %137, label %138, label %139

138:                                              ; preds = %124
  store i8 0, ptr %14, align 1, !tbaa !16
  br label %155

139:                                              ; preds = %124
  %140 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %141 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %140, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %142 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %141)
  %143 = fcmp olt x86_fp80 %142, 0xK3FDAAFEBFF0BCB24A800
  br i1 %143, label %144, label %154

144:                                              ; preds = %139
  store i8 1, ptr %15, align 1, !tbaa !16
  %145 = load i32, ptr %10, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %146
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %147, i64 32, i1 false), !tbaa.struct !18
  %148 = load i32, ptr %12, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %149
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %150, i64 32, i1 false), !tbaa.struct !18
  %151 = load i32, ptr %13, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %152
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %153, i64 32, i1 false), !tbaa.struct !18
  br label %154

154:                                              ; preds = %144, %139
  br label %155

155:                                              ; preds = %154, %138
  %156 = load i32, ptr %12, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %157
  %159 = load i32, ptr %13, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %160
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %163
  %165 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %158, ptr noundef nonnull align 16 dereferenceable(32) %161, ptr noundef nonnull align 16 dereferenceable(32) %164)
  store x86_fp80 %165, ptr %19, align 16, !tbaa !11
  %166 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %167 = fmul x86_fp80 %166, 0xK40008000000000000000
  %168 = fcmp ogt x86_fp80 %167, 0xK4000C90FDAA224286FFC
  br i1 %168, label %169, label %170

169:                                              ; preds = %155
  store i8 0, ptr %14, align 1, !tbaa !16
  br label %186

170:                                              ; preds = %155
  %171 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %172 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %171, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %173 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %172)
  %174 = fcmp olt x86_fp80 %173, 0xK3FDAAFEBFF0BCB24A800
  br i1 %174, label %175, label %185

175:                                              ; preds = %170
  store i8 1, ptr %15, align 1, !tbaa !16
  %176 = load i32, ptr %12, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %177
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %178, i64 32, i1 false), !tbaa.struct !18
  %179 = load i32, ptr %13, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %180
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %181, i64 32, i1 false), !tbaa.struct !18
  %182 = load i32, ptr %10, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %183
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %184, i64 32, i1 false), !tbaa.struct !18
  br label %185

185:                                              ; preds = %175, %170
  br label %186

186:                                              ; preds = %185, %169
  %187 = load i32, ptr %13, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %188
  %190 = load i32, ptr %10, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %191
  %193 = load i32, ptr %12, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %194
  %196 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %189, ptr noundef nonnull align 16 dereferenceable(32) %192, ptr noundef nonnull align 16 dereferenceable(32) %195)
  store x86_fp80 %196, ptr %19, align 16, !tbaa !11
  %197 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %198 = fmul x86_fp80 %197, 0xK40008000000000000000
  %199 = fcmp ogt x86_fp80 %198, 0xK4000C90FDAA224286FFC
  br i1 %199, label %200, label %201

200:                                              ; preds = %186
  store i8 0, ptr %14, align 1, !tbaa !16
  br label %217

201:                                              ; preds = %186
  %202 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %203 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %202, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %204 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %203)
  %205 = fcmp olt x86_fp80 %204, 0xK3FDAAFEBFF0BCB24A800
  br i1 %205, label %206, label %216

206:                                              ; preds = %201
  store i8 1, ptr %15, align 1, !tbaa !16
  %207 = load i32, ptr %13, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %208
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %209, i64 32, i1 false), !tbaa.struct !18
  %210 = load i32, ptr %10, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %211
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %212, i64 32, i1 false), !tbaa.struct !18
  %213 = load i32, ptr %12, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %214
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %215, i64 32, i1 false), !tbaa.struct !18
  br label %216

216:                                              ; preds = %206, %201
  br label %217

217:                                              ; preds = %216, %200
  %218 = load i8, ptr %14, align 1, !tbaa !16, !range !19, !noundef !20
  %219 = trunc i8 %218 to i1
  br i1 %219, label %224, label %220

220:                                              ; preds = %217
  %221 = load i8, ptr %15, align 1, !tbaa !16, !range !19, !noundef !20
  %222 = trunc i8 %221 to i1
  br i1 %222, label %224, label %223

223:                                              ; preds = %220
  store i32 13, ptr %11, align 4
  br label %384

224:                                              ; preds = %220, %217
  %225 = load i8, ptr %15, align 1, !tbaa !16, !range !19, !noundef !20
  %226 = trunc i8 %225 to i1
  br i1 %226, label %227, label %326

227:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %228

228:                                              ; preds = %321, %227
  %229 = load i32, ptr %20, align 4, !tbaa !5
  %230 = load i32, ptr @n, align 4, !tbaa !5
  %231 = icmp slt i32 %229, %230
  br i1 %231, label %233, label %232

232:                                              ; preds = %228
  store i32 14, ptr %11, align 4
  br label %324

233:                                              ; preds = %228
  %234 = load i32, ptr %20, align 4, !tbaa !5
  %235 = load i32, ptr %10, align 4, !tbaa !5
  %236 = icmp eq i32 %234, %235
  br i1 %236, label %245, label %237

237:                                              ; preds = %233
  %238 = load i32, ptr %20, align 4, !tbaa !5
  %239 = load i32, ptr %12, align 4, !tbaa !5
  %240 = icmp eq i32 %238, %239
  br i1 %240, label %245, label %241

241:                                              ; preds = %237
  %242 = load i32, ptr %20, align 4, !tbaa !5
  %243 = load i32, ptr %13, align 4, !tbaa !5
  %244 = icmp eq i32 %242, %243
  br i1 %244, label %245, label %246

245:                                              ; preds = %241, %237, %233
  br label %321

246:                                              ; preds = %241
  %247 = load i32, ptr %20, align 4, !tbaa !5
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %248
  %250 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) %249, ptr noundef nonnull align 16 dereferenceable(32) %18)
  store x86_fp80 %250, ptr %19, align 16, !tbaa !11
  %251 = load x86_fp80, ptr %19, align 16, !tbaa !11
  %252 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %251, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %253 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %252)
  %254 = fcmp olt x86_fp80 %253, 0xK3FDAAFEBFF0BCB24A800
  br i1 %254, label %255, label %320

255:                                              ; preds = %246
  %256 = load i32, ptr %20, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %257
  %259 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) %258)
  %260 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull align 16 dereferenceable(32) %17)
  %261 = fcmp une x86_fp80 %259, %260
  br i1 %261, label %262, label %263

262:                                              ; preds = %255
  br label %321

263:                                              ; preds = %255
  %264 = load i32, ptr %20, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %265
  %267 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %18, ptr noundef nonnull align 16 dereferenceable(32) %266)
  %268 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) %17)
  %269 = fcmp une x86_fp80 %267, %268
  br i1 %269, label %270, label %271

270:                                              ; preds = %263
  br label %321

271:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  %272 = getelementptr inbounds %struct.point, ptr %21, i32 0, i32 0
  %273 = getelementptr inbounds %struct.point, ptr %17, i32 0, i32 0
  %274 = load x86_fp80, ptr %273, align 16, !tbaa !15
  %275 = load i32, ptr %20, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %276
  %278 = getelementptr inbounds %struct.point, ptr %277, i32 0, i32 0
  %279 = load x86_fp80, ptr %278, align 16, !tbaa !15
  %280 = fadd x86_fp80 %274, %279
  %281 = fdiv x86_fp80 %280, 0xK40008000000000000000
  store x86_fp80 %281, ptr %272, align 16, !tbaa !15
  %282 = getelementptr inbounds %struct.point, ptr %21, i32 0, i32 1
  %283 = getelementptr inbounds %struct.point, ptr %17, i32 0, i32 1
  %284 = load x86_fp80, ptr %283, align 16, !tbaa !13
  %285 = load i32, ptr %20, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %286
  %288 = getelementptr inbounds %struct.point, ptr %287, i32 0, i32 1
  %289 = load x86_fp80, ptr %288, align 16, !tbaa !13
  %290 = fadd x86_fp80 %284, %289
  %291 = fdiv x86_fp80 %290, 0xK40008000000000000000
  store x86_fp80 %291, ptr %282, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  %292 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %17, ptr noundef nonnull align 16 dereferenceable(32) %21)
  store x86_fp80 %292, ptr %22, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  store i8 1, ptr %23, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %293

293:                                              ; preds = %307, %271
  %294 = load i32, ptr %24, align 4, !tbaa !5
  %295 = load i32, ptr @n, align 4, !tbaa !5
  %296 = icmp slt i32 %294, %295
  br i1 %296, label %298, label %297

297:                                              ; preds = %293
  store i32 17, ptr %11, align 4
  br label %310

298:                                              ; preds = %293
  %299 = load i32, ptr %24, align 4, !tbaa !5
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %300
  %302 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %301, ptr noundef nonnull align 16 dereferenceable(32) %21)
  %303 = load x86_fp80, ptr %22, align 16, !tbaa !11
  %304 = fcmp olt x86_fp80 %302, %303
  br i1 %304, label %305, label %306

305:                                              ; preds = %298
  store i8 0, ptr %23, align 1, !tbaa !16
  store i32 17, ptr %11, align 4
  br label %310

306:                                              ; preds = %298
  br label %307

307:                                              ; preds = %306
  %308 = load i32, ptr %24, align 4, !tbaa !5
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %24, align 4, !tbaa !5
  br label %293, !llvm.loop !21

310:                                              ; preds = %305, %297
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %311

311:                                              ; preds = %310
  %312 = load i8, ptr %23, align 1, !tbaa !16, !range !19, !noundef !20
  %313 = trunc i8 %312 to i1
  br i1 %313, label %314, label %319

314:                                              ; preds = %311
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %315 = load x86_fp80, ptr %22, align 16, !tbaa !11
  %316 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %315)
  store x86_fp80 %316, ptr %25, align 16, !tbaa !11
  %317 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %25)
  %318 = load x86_fp80, ptr %317, align 16, !tbaa !11
  store x86_fp80 %318, ptr %3, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  br label %319

319:                                              ; preds = %314, %311
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %324

320:                                              ; preds = %246
  br label %321

321:                                              ; preds = %320, %270, %262, %245
  %322 = load i32, ptr %20, align 4, !tbaa !5
  %323 = add nsw i32 %322, 1
  store i32 %323, ptr %20, align 4, !tbaa !5
  br label %228, !llvm.loop !22

324:                                              ; preds = %319, %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %325

325:                                              ; preds = %324
  store i32 13, ptr %11, align 4
  br label %384

326:                                              ; preds = %224
  %327 = load i32, ptr %10, align 4, !tbaa !5
  %328 = sext i32 %327 to i64
  %329 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %328
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %329, i64 32, i1 false), !tbaa.struct !18
  %330 = load i32, ptr %12, align 4, !tbaa !5
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %331
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %332, i64 32, i1 false), !tbaa.struct !18
  %333 = load i32, ptr %13, align 4, !tbaa !5
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %334
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %335, i64 32, i1 false), !tbaa.struct !18
  %336 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) %17)
  %337 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %336)
  store x86_fp80 %337, ptr %4, align 16, !tbaa !11
  %338 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %17, ptr noundef nonnull align 16 dereferenceable(32) %18)
  %339 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %338)
  store x86_fp80 %339, ptr %5, align 16, !tbaa !11
  %340 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) %18)
  %341 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %340)
  store x86_fp80 %341, ptr %6, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %16, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %17, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %18, i64 32, i1 false), !tbaa.struct !18
  call void @_Z12circumcenter5pointS_S_(ptr dead_on_unwind writable sret(%struct.point) align 16 %26, ptr noundef byval(%struct.point) align 16 %27, ptr noundef byval(%struct.point) align 16 %28, ptr noundef byval(%struct.point) align 16 %29)
  %342 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) %26)
  store x86_fp80 %342, ptr %8, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  store i8 1, ptr %30, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %343

343:                                              ; preds = %371, %326
  %344 = load i32, ptr %31, align 4, !tbaa !5
  %345 = load i32, ptr @n, align 4, !tbaa !5
  %346 = icmp slt i32 %344, %345
  br i1 %346, label %348, label %347

347:                                              ; preds = %343
  store i32 20, ptr %11, align 4
  br label %374

348:                                              ; preds = %343
  %349 = load i32, ptr %31, align 4, !tbaa !5
  %350 = load i32, ptr %10, align 4, !tbaa !5
  %351 = icmp eq i32 %349, %350
  br i1 %351, label %360, label %352

352:                                              ; preds = %348
  %353 = load i32, ptr %31, align 4, !tbaa !5
  %354 = load i32, ptr %12, align 4, !tbaa !5
  %355 = icmp eq i32 %353, %354
  br i1 %355, label %360, label %356

356:                                              ; preds = %352
  %357 = load i32, ptr %31, align 4, !tbaa !5
  %358 = load i32, ptr %13, align 4, !tbaa !5
  %359 = icmp eq i32 %357, %358
  br i1 %359, label %360, label %361

360:                                              ; preds = %356, %352, %348
  br label %371

361:                                              ; preds = %356
  %362 = load i32, ptr %31, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %363
  %365 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %364, ptr noundef nonnull align 16 dereferenceable(32) %26)
  store x86_fp80 %365, ptr %9, align 16, !tbaa !11
  %366 = load x86_fp80, ptr %9, align 16, !tbaa !11
  %367 = load x86_fp80, ptr %8, align 16, !tbaa !11
  %368 = fcmp olt x86_fp80 %366, %367
  br i1 %368, label %369, label %370

369:                                              ; preds = %361
  store i8 0, ptr %30, align 1, !tbaa !16
  store i32 20, ptr %11, align 4
  br label %374

370:                                              ; preds = %361
  br label %371

371:                                              ; preds = %370, %360
  %372 = load i32, ptr %31, align 4, !tbaa !5
  %373 = add nsw i32 %372, 1
  store i32 %373, ptr %31, align 4, !tbaa !5
  br label %343, !llvm.loop !23

374:                                              ; preds = %369, %347
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %375

375:                                              ; preds = %374
  %376 = load i8, ptr %30, align 1, !tbaa !16, !range !19, !noundef !20
  %377 = trunc i8 %376 to i1
  br i1 %377, label %378, label %383

378:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  %379 = load x86_fp80, ptr %8, align 16, !tbaa !11
  %380 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %379)
  store x86_fp80 %380, ptr %32, align 16, !tbaa !11
  %381 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %32)
  %382 = load x86_fp80, ptr %381, align 16, !tbaa !11
  store x86_fp80 %382, ptr %3, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  br label %383

383:                                              ; preds = %378, %375
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  store i32 0, ptr %11, align 4
  br label %384

384:                                              ; preds = %383, %325, %223
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  %385 = load i32, ptr %11, align 4
  switch i32 %385, label %409 [
    i32 0, label %386
    i32 13, label %387
  ]

386:                                              ; preds = %384
  br label %387

387:                                              ; preds = %386, %384, %123
  %388 = load i32, ptr %13, align 4, !tbaa !5
  %389 = add nsw i32 %388, 1
  store i32 %389, ptr %13, align 4, !tbaa !5
  br label %70, !llvm.loop !24

390:                                              ; preds = %74
  br label %391

391:                                              ; preds = %390
  %392 = load i32, ptr %12, align 4, !tbaa !5
  %393 = add nsw i32 %392, 1
  store i32 %393, ptr %12, align 4, !tbaa !5
  br label %62, !llvm.loop !25

394:                                              ; preds = %66
  br label %395

395:                                              ; preds = %394
  %396 = load i32, ptr %10, align 4, !tbaa !5
  %397 = add nsw i32 %396, 1
  store i32 %397, ptr %10, align 4, !tbaa !5
  br label %54, !llvm.loop !26

398:                                              ; preds = %58
  %399 = load x86_fp80, ptr %3, align 16, !tbaa !11
  %400 = fcmp oeq x86_fp80 %399, 0xK00000000000000000000
  br i1 %400, label %401, label %403

401:                                              ; preds = %398
  %402 = call i32 @puts(ptr noundef @.str.3)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %11, align 4
  br label %407

403:                                              ; preds = %398
  %404 = load x86_fp80, ptr %3, align 16, !tbaa !11
  %405 = fptrunc x86_fp80 %404 to double
  %406 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %405)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %11, align 4
  br label %407

407:                                              ; preds = %403, %401
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #8
  %408 = load i32, ptr %1, align 4
  ret i32 %408

409:                                              ; preds = %384
  unreachable
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #1

declare i32 @puts(ptr noundef) #6

declare i32 @printf(ptr noundef, ...) #6

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long double", !7, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"_ZTS5point", !12, i64 0, !12, i64 16}
!15 = !{!14, !12, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i64 0, i64 16, !11, i64 16, i64 16, !11}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.point = type { x86_fp80, x86_fp80 }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local global i32, align 4
@p = external dso_local global [101 x %struct.point], align 16
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z12circumcenter5pointS_S_(ptr dead_on_unwind noalias writable sret(%struct.point) align 16, ptr noundef byval(%struct.point) align 16, ptr noundef byval(%struct.point) align 16, ptr noundef byval(%struct.point) align 16) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #5 {
  %1 = alloca x86_fp80, align 16
  %2 = alloca %struct.point, align 16
  %3 = alloca %struct.point, align 16
  %4 = alloca %struct.point, align 16
  %5 = alloca %struct.point, align 16
  %6 = alloca x86_fp80, align 16
  %7 = alloca %struct.point, align 16
  %8 = alloca x86_fp80, align 16
  %9 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @n)
  %10 = load i32, ptr @n, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #8
  store x86_fp80 0xK00000000000000000000, ptr %1, align 16, !tbaa !9
  br label %._crit_edge137.thread

._crit_edge:                                      ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #8
  store x86_fp80 0xK00000000000000000000, ptr %1, align 16, !tbaa !9
  %12 = icmp sgt i32 %19, 0
  br i1 %12, label %.lr.ph136, label %._crit_edge137.thread

.lr.ph136:                                        ; preds = %._crit_edge
  %13 = getelementptr inbounds i8, ptr %5, i64 16
  %14 = getelementptr inbounds i8, ptr %3, i64 16
  br label %25

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %15 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %indvars.iv
  %16 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 16 dereferenceable(16) %15)
  %17 = getelementptr inbounds i8, ptr %15, i64 16
  %18 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 16 dereferenceable(16) %17)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %19 = load i32, ptr @n, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = icmp slt i64 %indvars.iv.next, %20
  br i1 %21, label %.lr.ph, label %._crit_edge, !llvm.loop !11

.loopexit113.loopexit:                            ; preds = %.loopexit112
  %.pre166 = sext i32 %31 to i64
  br label %.loopexit113

.loopexit113:                                     ; preds = %.loopexit113.loopexit, %25
  %.pre-phi = phi i64 [ %.pre166, %.loopexit113.loopexit ], [ %27, %25 ]
  %22 = phi i32 [ %31, %.loopexit113.loopexit ], [ %26, %25 ]
  %23 = icmp slt i64 %indvars.iv.next161, %.pre-phi
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  br i1 %23, label %25, label %._crit_edge137, !llvm.loop !13

._crit_edge137:                                   ; preds = %.loopexit113
  %.pre165 = load x86_fp80, ptr %1, align 16, !tbaa !9
  %24 = fcmp oeq x86_fp80 %.pre165, 0xK00000000000000000000
  br i1 %24, label %._crit_edge137.thread, label %165

25:                                               ; preds = %.lr.ph136, %.loopexit113
  %26 = phi i32 [ %19, %.lr.ph136 ], [ %22, %.loopexit113 ]
  %indvars.iv160 = phi i64 [ 0, %.lr.ph136 ], [ %indvars.iv.next161, %.loopexit113 ]
  %indvars.iv155 = phi i64 [ 1, %.lr.ph136 ], [ %indvars.iv.next156, %.loopexit113 ]
  %indvars.iv148 = phi i64 [ 2, %.lr.ph136 ], [ %indvars.iv.next149, %.loopexit113 ]
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %27 = sext i32 %26 to i64
  %28 = icmp slt i64 %indvars.iv.next161, %27
  br i1 %28, label %.lr.ph133, label %.loopexit113

.lr.ph133:                                        ; preds = %25
  %29 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %indvars.iv160
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  br label %34

.loopexit112:                                     ; preds = %158, %34
  %31 = phi i32 [ %35, %34 ], [ %159, %158 ]
  %32 = phi i32 [ %36, %34 ], [ %160, %158 ]
  %33 = icmp sgt i32 %32, %37
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  br i1 %33, label %34, label %.loopexit113.loopexit, !llvm.loop !14

34:                                               ; preds = %.lr.ph133, %.loopexit112
  %35 = phi i32 [ %26, %.lr.ph133 ], [ %31, %.loopexit112 ]
  %36 = phi i32 [ %26, %.lr.ph133 ], [ %32, %.loopexit112 ]
  %indvars.iv157 = phi i64 [ %indvars.iv155, %.lr.ph133 ], [ %indvars.iv.next158, %.loopexit112 ]
  %indvars.iv150 = phi i64 [ %indvars.iv148, %.lr.ph133 ], [ %indvars.iv.next151, %.loopexit112 ]
  %indvars.iv.next158 = add nuw nsw i64 %indvars.iv157, 1
  %37 = trunc nuw i64 %indvars.iv.next158 to i32
  %38 = icmp sgt i32 %36, %37
  br i1 %38, label %.lr.ph130, label %.loopexit112

.lr.ph130:                                        ; preds = %34
  %39 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %indvars.iv157
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  br label %41

41:                                               ; preds = %.lr.ph130, %158
  %42 = phi i32 [ %35, %.lr.ph130 ], [ %159, %158 ]
  %43 = phi i32 [ %36, %.lr.ph130 ], [ %160, %158 ]
  %44 = phi i32 [ %36, %.lr.ph130 ], [ %161, %158 ]
  %indvars.iv152 = phi i64 [ %indvars.iv150, %.lr.ph130 ], [ %indvars.iv.next153, %158 ]
  %45 = load x86_fp80, ptr %40, align 16, !tbaa !15
  %46 = load x86_fp80, ptr %30, align 16, !tbaa !15
  %47 = fsub x86_fp80 %45, %46
  %48 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %indvars.iv152
  %49 = load x86_fp80, ptr %48, align 16, !tbaa !17
  %50 = load x86_fp80, ptr %39, align 16, !tbaa !17
  %51 = fsub x86_fp80 %49, %50
  %52 = fmul x86_fp80 %47, %51
  %53 = getelementptr inbounds i8, ptr %48, i64 16
  %54 = load x86_fp80, ptr %53, align 16, !tbaa !15
  %55 = fsub x86_fp80 %54, %45
  %56 = load x86_fp80, ptr %29, align 16, !tbaa !17
  %57 = fsub x86_fp80 %50, %56
  %58 = fmul x86_fp80 %55, %57
  %59 = fcmp oeq x86_fp80 %52, %58
  br i1 %59, label %158, label %60

60:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  %61 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %29, ptr noundef nonnull align 16 dereferenceable(32) %39, ptr noundef nonnull align 16 dereferenceable(32) %48)
  %62 = fmul x86_fp80 %61, 0xK40008000000000000000
  %63 = fcmp ule x86_fp80 %62, 0xK4000C90FDAA224286FFC
  br i1 %63, label %64, label %69

64:                                               ; preds = %60
  %65 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %61, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %66 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %65)
  %67 = fcmp olt x86_fp80 %66, 0xK3FDAAFEBFF0BCB24A800
  br i1 %67, label %68, label %69

68:                                               ; preds = %64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %29, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) %39, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) %48, i64 32, i1 false), !tbaa.struct !18
  br label %69

69:                                               ; preds = %60, %64, %68
  %.093 = phi i8 [ 1, %68 ], [ 0, %64 ], [ 0, %60 ]
  %70 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %39, ptr noundef nonnull align 16 dereferenceable(32) %48, ptr noundef nonnull align 16 dereferenceable(32) %29)
  %71 = fmul x86_fp80 %70, 0xK40008000000000000000
  %72 = fcmp ogt x86_fp80 %71, 0xK4000C90FDAA224286FFC
  br i1 %72, label %78, label %73

73:                                               ; preds = %69
  %74 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %70, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %75 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %74)
  %76 = fcmp olt x86_fp80 %75, 0xK3FDAAFEBFF0BCB24A800
  br i1 %76, label %77, label %78

77:                                               ; preds = %73
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %39, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) %48, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) %29, i64 32, i1 false), !tbaa.struct !18
  br label %78

78:                                               ; preds = %69, %73, %77
  %.195 = phi i1 [ %63, %77 ], [ %63, %73 ], [ false, %69 ]
  %.1 = phi i8 [ 1, %77 ], [ %.093, %73 ], [ %.093, %69 ]
  %79 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %48, ptr noundef nonnull align 16 dereferenceable(32) %29, ptr noundef nonnull align 16 dereferenceable(32) %39)
  %80 = fmul x86_fp80 %79, 0xK40008000000000000000
  %81 = fcmp ogt x86_fp80 %80, 0xK4000C90FDAA224286FFC
  br i1 %81, label %.thread, label %82

82:                                               ; preds = %78
  %83 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %79, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %84 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %83)
  %85 = fcmp olt x86_fp80 %84, 0xK3FDAAFEBFF0BCB24A800
  br i1 %85, label %86, label %87

86:                                               ; preds = %82
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %48, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) %29, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) %39, i64 32, i1 false), !tbaa.struct !18
  br label %87

87:                                               ; preds = %82, %86
  %.2 = phi i8 [ 1, %86 ], [ %.1, %82 ]
  br i1 %.195, label %89, label %.thread

.thread:                                          ; preds = %78, %87
  %.2108 = phi i8 [ %.2, %87 ], [ %.1, %78 ]
  %88 = trunc nuw i8 %.2108 to i1
  br i1 %88, label %89, label %.loopexit110

89:                                               ; preds = %.thread, %87
  %.2109 = phi i8 [ %.2108, %.thread ], [ %.2, %87 ]
  %90 = trunc nuw i8 %.2109 to i1
  br i1 %90, label %.preheader, label %135

.preheader:                                       ; preds = %89
  %91 = load i32, ptr @n, align 4, !tbaa !5
  %92 = icmp sgt i32 %91, 0
  br i1 %92, label %.lr.ph120, label %.loopexit110

.lr.ph120:                                        ; preds = %.preheader, %131
  %indvars.iv142 = phi i64 [ %indvars.iv.next143, %131 ], [ 0, %.preheader ]
  %93 = icmp eq i64 %indvars.iv142, %indvars.iv160
  %94 = icmp eq i64 %indvars.iv142, %indvars.iv157
  %or.cond = or i1 %93, %94
  %95 = icmp eq i64 %indvars.iv142, %indvars.iv152
  %or.cond101 = or i1 %95, %or.cond
  br i1 %or.cond101, label %131, label %96

96:                                               ; preds = %.lr.ph120
  %97 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %indvars.iv142
  %98 = call noundef x86_fp80 @_Z8getAngleR5pointS0_S0_(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %97, ptr noundef nonnull align 16 dereferenceable(32) %4)
  %99 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %98, x86_fp80 0xK40008000000000000000, x86_fp80 0xKC000C90FDAA22168C000)
  %100 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %99)
  %101 = fcmp olt x86_fp80 %100, 0xK3FDAAFEBFF0BCB24A800
  br i1 %101, label %102, label %131

102:                                              ; preds = %96
  %103 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %97)
  %104 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) %3)
  %105 = fcmp une x86_fp80 %103, %104
  br i1 %105, label %131, label %106

106:                                              ; preds = %102
  %107 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) %97)
  %108 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %3)
  %109 = fcmp une x86_fp80 %107, %108
  br i1 %109, label %131, label %110

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  %111 = load x86_fp80, ptr %3, align 16, !tbaa !17
  %112 = load x86_fp80, ptr %97, align 16, !tbaa !17
  %113 = fadd x86_fp80 %111, %112
  %114 = fmul x86_fp80 %113, 0xK3FFE8000000000000000
  store x86_fp80 %114, ptr %5, align 16, !tbaa !17
  %115 = load x86_fp80, ptr %14, align 16, !tbaa !15
  %116 = getelementptr inbounds i8, ptr %97, i64 16
  %117 = load x86_fp80, ptr %116, align 16, !tbaa !15
  %118 = fadd x86_fp80 %115, %117
  %119 = fmul x86_fp80 %118, 0xK3FFE8000000000000000
  store x86_fp80 %119, ptr %13, align 16, !tbaa !15
  %120 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) %5)
  %121 = load i32, ptr @n, align 4, !tbaa !5
  %.not100121 = icmp sgt i32 %121, 0
  br i1 %.not100121, label %.lr.ph124, label %.critedge

122:                                              ; preds = %.lr.ph124
  %indvars.iv.next146 = add nuw nsw i64 %indvars.iv145, 1
  %123 = load i32, ptr @n, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %.not100 = icmp slt i64 %indvars.iv.next146, %124
  br i1 %.not100, label %.lr.ph124, label %.critedge, !llvm.loop !19

.lr.ph124:                                        ; preds = %110, %122
  %indvars.iv145 = phi i64 [ %indvars.iv.next146, %122 ], [ 0, %110 ]
  %125 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %indvars.iv145
  %126 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %125, ptr noundef nonnull align 16 dereferenceable(32) %5)
  %127 = fcmp olt x86_fp80 %126, %120
  br i1 %127, label %.loopexit, label %122

.critedge:                                        ; preds = %122, %110
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %128 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %120)
  store x86_fp80 %128, ptr %6, align 16, !tbaa !9
  %129 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) %6)
  %130 = load x86_fp80, ptr %129, align 16, !tbaa !9
  store x86_fp80 %130, ptr %1, align 16, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph124, %.critedge
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  br label %.loopexit110

131:                                              ; preds = %96, %106, %102, %.lr.ph120
  %indvars.iv.next143 = add nuw nsw i64 %indvars.iv142, 1
  %132 = load i32, ptr @n, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = icmp slt i64 %indvars.iv.next143, %133
  br i1 %134, label %.lr.ph120, label %.loopexit110, !llvm.loop !20

135:                                              ; preds = %89
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %29, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) %39, i64 32, i1 false), !tbaa.struct !18
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) %48, i64 32, i1 false), !tbaa.struct !18
  %136 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %3)
  %137 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %136)
  %138 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %3, ptr noundef nonnull align 16 dereferenceable(32) %4)
  %139 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %138)
  %140 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %4)
  %141 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %140)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @_Z12circumcenter5pointS_S_(ptr dead_on_unwind nonnull writable sret(%struct.point) align 16 %7, ptr noundef nonnull byval(%struct.point) align 16 %2, ptr noundef nonnull byval(%struct.point) align 16 %3, ptr noundef nonnull byval(%struct.point) align 16 %4)
  %142 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %7)
  %143 = load i32, ptr @n, align 4, !tbaa !5
  %.not115 = icmp sgt i32 %143, 0
  br i1 %.not115, label %.lr.ph118, label %.critedge105

.lr.ph118:                                        ; preds = %135, %152
  %144 = phi i32 [ %153, %152 ], [ %143, %135 ]
  %indvars.iv139 = phi i64 [ %indvars.iv.next140, %152 ], [ 0, %135 ]
  %145 = icmp eq i64 %indvars.iv139, %indvars.iv160
  %146 = icmp eq i64 %indvars.iv139, %indvars.iv157
  %or.cond102 = or i1 %145, %146
  %147 = icmp eq i64 %indvars.iv139, %indvars.iv152
  %or.cond103 = or i1 %147, %or.cond102
  br i1 %or.cond103, label %152, label %148

148:                                              ; preds = %.lr.ph118
  %149 = getelementptr inbounds [101 x %struct.point], ptr @p, i64 0, i64 %indvars.iv139
  %150 = call noundef x86_fp80 @_Z10squareDistR5pointS0_(ptr noundef nonnull align 16 dereferenceable(32) %149, ptr noundef nonnull align 16 dereferenceable(32) %7)
  %151 = fcmp olt x86_fp80 %150, %142
  br i1 %151, label %.loopexit111, label %._crit_edge163

._crit_edge163:                                   ; preds = %148
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %152

152:                                              ; preds = %._crit_edge163, %.lr.ph118
  %153 = phi i32 [ %.pre, %._crit_edge163 ], [ %144, %.lr.ph118 ]
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %154 = sext i32 %153 to i64
  %.not = icmp slt i64 %indvars.iv.next140, %154
  br i1 %.not, label %.lr.ph118, label %.critedge105, !llvm.loop !21

.critedge105:                                     ; preds = %152, %135
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %155 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %142)
  store x86_fp80 %155, ptr %8, align 16, !tbaa !9
  %156 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) %8)
  %157 = load x86_fp80, ptr %156, align 16, !tbaa !9
  store x86_fp80 %157, ptr %1, align 16, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %.loopexit111

.loopexit111:                                     ; preds = %148, %.critedge105
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  br label %.loopexit110

.loopexit110:                                     ; preds = %131, %.preheader, %.loopexit, %.thread, %.loopexit111
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  %.pre164 = load i32, ptr @n, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %.loopexit110, %41
  %159 = phi i32 [ %.pre164, %.loopexit110 ], [ %42, %41 ]
  %160 = phi i32 [ %.pre164, %.loopexit110 ], [ %43, %41 ]
  %161 = phi i32 [ %.pre164, %.loopexit110 ], [ %44, %41 ]
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %162 = trunc nuw i64 %indvars.iv.next153 to i32
  %163 = icmp sgt i32 %161, %162
  br i1 %163, label %41, label %.loopexit112, !llvm.loop !22

._crit_edge137.thread:                            ; preds = %._crit_edge.thread, %._crit_edge, %._crit_edge137
  %164 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %168

165:                                              ; preds = %._crit_edge137
  %166 = fptrunc x86_fp80 %.pre165 to double
  %167 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %166)
  br label %168

168:                                              ; preds = %165, %._crit_edge137.thread
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #8
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !10, i64 16}
!16 = !{!"_ZTS5point", !10, i64 0, !10, i64 16}
!17 = !{!16, !10, i64 0}
!18 = !{i64 0, i64 16, !9, i64 16, i64 16, !9}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass