; LLVM IR from VastoLorde95/Competitive-Programming :: Timus/1600 (A)

; 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"

%"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%struct.Point = type { x86_fp80, x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type <{ %"struct.std::pair.0", i32, [12 x i8] }>
%"struct.std::pair.0" = type { %struct.Point, %struct.Point }
%"struct.std::_Setprecision" = type { i32 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmiRK5PointS1_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5PointC2Eeee(ptr noundef nonnull align 16 dereferenceable(48), x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZplRK5PointS1_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmlRK5Pointe(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), x86_fp80 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5crossRK5PointS1_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) #0

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48)) #1 align 2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca x86_fp80, align 16
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i32, align 4
  %6 = alloca x86_fp80, align 16
  %7 = alloca x86_fp80, align 16
  %8 = alloca x86_fp80, align 16
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca x86_fp80, align 16
  %12 = alloca x86_fp80, align 16
  %13 = alloca x86_fp80, align 16
  %14 = alloca %"struct.std::pair", align 16
  %15 = alloca %"struct.std::pair.0", align 16
  %16 = alloca %struct.Point, align 16
  %17 = alloca %struct.Point, align 16
  %18 = alloca x86_fp80, align 16
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.Point, align 16
  %25 = alloca %struct.Point, 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 x86_fp80, align 16
  %31 = alloca x86_fp80, align 16
  %32 = alloca %struct.Point, align 16
  %33 = alloca %struct.Point, align 16
  %34 = alloca %struct.Point, align 16
  %35 = alloca %struct.Point, align 16
  %36 = alloca x86_fp80, align 16
  %37 = alloca x86_fp80, align 16
  %38 = alloca %struct.Point, align 16
  %39 = alloca %struct.Point, align 16
  %40 = alloca %struct.Point, align 16
  %41 = alloca x86_fp80, align 16
  %42 = alloca x86_fp80, align 16
  %43 = alloca x86_fp80, align 16
  %44 = alloca %struct.Point, align 16
  %45 = alloca %struct.Point, align 16
  %46 = alloca x86_fp80, align 16
  %47 = alloca %"struct.std::_Setprecision", align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #8
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 16 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #8
  call void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %79, %0
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = load i32, ptr %2, align 4, !tbaa !5
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %101

55:                                               ; preds = %50
  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
  %56 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 16 dereferenceable(16) %6)
          to label %57 unwind label %82

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 16 dereferenceable(16) %7)
          to label %59 unwind label %82

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 16 dereferenceable(16) %8)
          to label %61 unwind label %82

61:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %62 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 16 dereferenceable(16) %11)
          to label %63 unwind label %86

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 16 dereferenceable(16) %12)
          to label %65 unwind label %86

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull align 16 dereferenceable(16) %13)
          to label %67 unwind label %86

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 112, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #8
  %68 = load x86_fp80, ptr %6, align 16, !tbaa !9
  %69 = load x86_fp80, ptr %7, align 16, !tbaa !9
  %70 = load x86_fp80, ptr %8, align 16, !tbaa !9
  invoke void @_ZN5PointC2Eeee(ptr noundef nonnull align 16 dereferenceable(48) %16, x86_fp80 noundef %68, x86_fp80 noundef %69, x86_fp80 noundef %70)
          to label %71 unwind label %90

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #8
  %72 = load x86_fp80, ptr %11, align 16, !tbaa !9
  %73 = load x86_fp80, ptr %12, align 16, !tbaa !9
  %74 = load x86_fp80, ptr %13, align 16, !tbaa !9
  invoke void @_ZN5PointC2Eeee(ptr noundef nonnull align 16 dereferenceable(48) %17, x86_fp80 noundef %72, x86_fp80 noundef %73, x86_fp80 noundef %74)
          to label %75 unwind label %94

75:                                               ; preds = %71
  invoke void @_ZSt9make_pairI5PointS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr dead_on_unwind writable sret(%"struct.std::pair.0") align 16 %15, ptr noundef nonnull align 16 dereferenceable(48) %16, ptr noundef nonnull align 16 dereferenceable(48) %17)
          to label %76 unwind label %94

76:                                               ; preds = %75
  invoke void @_ZSt9make_pairISt4pairI5PointS1_ERiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind writable sret(%"struct.std::pair") align 16 %14, ptr noundef nonnull align 16 dereferenceable(96) %15, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %77 unwind label %94

77:                                               ; preds = %76
  invoke void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 16 dereferenceable(100) %14)
          to label %78 unwind label %94

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #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
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %5, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %5, align 4, !tbaa !5
  br label %50, !llvm.loop !11

82:                                               ; preds = %59, %57, %55
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %9, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %10, align 4
  br label %100

86:                                               ; preds = %65, %63, %61
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %9, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %10, align 4
  br label %99

90:                                               ; preds = %67
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %9, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %10, align 4
  br label %98

94:                                               ; preds = %77, %76, %75, %71
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %9, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #8
  br label %98

98:                                               ; preds = %94, %90
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %14) #8
  br label %99

99:                                               ; preds = %98, %86
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  br label %100

100:                                              ; preds = %99, %82
  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 4, ptr %5) #8
  br label %327

101:                                              ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  store x86_fp80 0xKBFFF8000000000000000, ptr %18, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 -1, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 -1, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %278, %101
  %103 = load i32, ptr %21, align 4, !tbaa !5
  %104 = load i32, ptr %2, align 4, !tbaa !5
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  store i32 5, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %281

107:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %108 = load i32, ptr %21, align 4, !tbaa !5
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %23, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %271, %107
  %111 = load i32, ptr %23, align 4, !tbaa !5
  %112 = load i32, ptr %2, align 4, !tbaa !5
  %113 = icmp slt i32 %111, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  store i32 8, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %277

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #8
  %116 = load i32, ptr %21, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %117) #8
  %119 = getelementptr inbounds %"struct.std::pair", ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds %"struct.std::pair.0", ptr %119, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %24, ptr align 16 %120, i64 48, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #8
  %121 = load i32, ptr %23, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %122) #8
  %124 = getelementptr inbounds %"struct.std::pair", ptr %123, i32 0, i32 0
  %125 = getelementptr inbounds %"struct.std::pair.0", ptr %124, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %125, i64 48, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %26, ptr noundef nonnull align 16 dereferenceable(48) %25, ptr noundef nonnull align 16 dereferenceable(48) %24)
          to label %126 unwind label %130

126:                                              ; preds = %115
  %127 = invoke noundef zeroext i1 @_ZN5Point6iszeroEv(ptr noundef nonnull align 16 dereferenceable(48) %26)
          to label %128 unwind label %130

128:                                              ; preds = %126
  br i1 %127, label %129, label %134

129:                                              ; preds = %128
  store i32 10, ptr %22, align 4
  br label %268

130:                                              ; preds = %126, %115
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %9, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %10, align 4
  br label %276

134:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #8
  %135 = load i32, ptr %21, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %136) #8
  %138 = getelementptr inbounds %"struct.std::pair", ptr %137, i32 0, i32 0
  %139 = getelementptr inbounds %"struct.std::pair.0", ptr %138, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %139, i64 48, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #8
  %140 = load i32, ptr %23, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %141) #8
  %143 = getelementptr inbounds %"struct.std::pair", ptr %142, i32 0, i32 0
  %144 = getelementptr inbounds %"struct.std::pair.0", ptr %143, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %144, i64 48, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #8
  invoke void @_ZplRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %29, ptr noundef nonnull align 16 dereferenceable(48) %28, ptr noundef nonnull align 16 dereferenceable(48) %26)
          to label %145 unwind label %178

145:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %33) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %33, ptr noundef nonnull align 16 dereferenceable(48) %27, ptr noundef nonnull align 16 dereferenceable(48) %28)
          to label %146 unwind label %182

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 48, ptr %34) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %34, ptr noundef nonnull align 16 dereferenceable(48) %27, ptr noundef nonnull align 16 dereferenceable(48) %29)
          to label %147 unwind label %186

147:                                              ; preds = %146
  invoke void @_Z5crossRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %32, ptr noundef nonnull align 16 dereferenceable(48) %33, ptr noundef nonnull align 16 dereferenceable(48) %34)
          to label %148 unwind label %186

148:                                              ; preds = %147
  %149 = invoke noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48) %32)
          to label %150 unwind label %186

150:                                              ; preds = %148
  %151 = invoke noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %149)
          to label %152 unwind label %186

152:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 48, ptr %35) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %35, ptr noundef nonnull align 16 dereferenceable(48) %29, ptr noundef nonnull align 16 dereferenceable(48) %28)
          to label %153 unwind label %190

153:                                              ; preds = %152
  %154 = invoke noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48) %35)
          to label %155 unwind label %190

155:                                              ; preds = %153
  %156 = fdiv x86_fp80 %151, %154
  store x86_fp80 %156, ptr %31, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #8
  store x86_fp80 0xK00000000000000000000, ptr %36, align 16, !tbaa !9
  %157 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %31, ptr noundef nonnull align 16 dereferenceable(16) %36)
          to label %158 unwind label %194

158:                                              ; preds = %155
  %159 = load x86_fp80, ptr %157, align 16, !tbaa !9
  %160 = invoke noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %159)
          to label %161 unwind label %194

161:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  store x86_fp80 %160, ptr %30, align 16, !tbaa !9
  %162 = load x86_fp80, ptr %30, align 16, !tbaa !9
  %163 = load x86_fp80, ptr %3, align 16, !tbaa !9
  %164 = fadd x86_fp80 %163, 0xK3FE189705F4136B4A800
  %165 = fcmp ole x86_fp80 %162, %164
  br i1 %165, label %166, label %266

166:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %38) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %38, ptr noundef nonnull align 16 dereferenceable(48) %28, ptr noundef nonnull align 16 dereferenceable(48) %27)
          to label %167 unwind label %201

167:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 48, ptr %39) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %39, ptr noundef nonnull align 16 dereferenceable(48) %29, ptr noundef nonnull align 16 dereferenceable(48) %28)
          to label %168 unwind label %205

168:                                              ; preds = %167
  %169 = call noundef x86_fp80 @_Z3dotRK5PointS1_(ptr noundef nonnull align 16 dereferenceable(48) %38, ptr noundef nonnull align 16 dereferenceable(48) %39)
  %170 = fneg x86_fp80 %169
  call void @llvm.lifetime.start.p0(i64 48, ptr %40) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %40, ptr noundef nonnull align 16 dereferenceable(48) %29, ptr noundef nonnull align 16 dereferenceable(48) %28)
          to label %171 unwind label %209

171:                                              ; preds = %168
  %172 = invoke noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48) %40)
          to label %173 unwind label %209

173:                                              ; preds = %171
  %174 = fdiv x86_fp80 %170, %172
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #8
  store x86_fp80 %174, ptr %37, align 16, !tbaa !9
  %175 = load x86_fp80, ptr %37, align 16, !tbaa !9
  %176 = fcmp ole x86_fp80 %175, 0xK00000000000000000000
  br i1 %176, label %177, label %215

177:                                              ; preds = %173
  store i32 10, ptr %22, align 4
  br label %262

178:                                              ; preds = %134
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %9, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %10, align 4
  br label %275

182:                                              ; preds = %145
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %9, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %10, align 4
  br label %200

186:                                              ; preds = %150, %148, %147, %146
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %9, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %10, align 4
  br label %199

190:                                              ; preds = %153, %152
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %9, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %10, align 4
  br label %198

194:                                              ; preds = %158, %155
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %9, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #8
  br label %198

198:                                              ; preds = %194, %190
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #8
  br label %199

199:                                              ; preds = %198, %186
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #8
  br label %200

200:                                              ; preds = %199, %182
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  br label %274

201:                                              ; preds = %166
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %9, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %10, align 4
  br label %214

205:                                              ; preds = %167
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %9, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %10, align 4
  br label %213

209:                                              ; preds = %171, %168
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %9, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #8
  br label %213

213:                                              ; preds = %209, %205
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #8
  br label %214

214:                                              ; preds = %213, %201
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #8
  br label %265

215:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #8
  store x86_fp80 0xK00000000000000000000, ptr %41, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #8
  %216 = load x86_fp80, ptr %37, align 16, !tbaa !9
  store x86_fp80 %216, ptr %42, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #8
  br label %217

217:                                              ; preds = %248, %215
  %218 = load x86_fp80, ptr %42, align 16, !tbaa !9
  %219 = load x86_fp80, ptr %41, align 16, !tbaa !9
  %220 = fsub x86_fp80 %218, %219
  %221 = fcmp ogt x86_fp80 %220, 0xK3FE189705F4136B4A800
  br i1 %221, label %222, label %250

222:                                              ; preds = %217
  %223 = load x86_fp80, ptr %41, align 16, !tbaa !9
  %224 = load x86_fp80, ptr %42, align 16, !tbaa !9
  %225 = fadd x86_fp80 %223, %224
  %226 = fdiv x86_fp80 %225, 0xK40008000000000000000
  store x86_fp80 %226, ptr %43, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #8
  %227 = load x86_fp80, ptr %43, align 16, !tbaa !9
  invoke void @_ZmlRK5Pointe(ptr dead_on_unwind writable sret(%struct.Point) align 16 %45, ptr noundef nonnull align 16 dereferenceable(48) %26, x86_fp80 noundef %227)
          to label %228 unwind label %238

228:                                              ; preds = %222
  invoke void @_ZplRK5PointS1_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %44, ptr noundef nonnull align 16 dereferenceable(48) %28, ptr noundef nonnull align 16 dereferenceable(48) %45)
          to label %229 unwind label %238

229:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #8
  %230 = invoke noundef x86_fp80 @_Z8distanceRK5PointS1_(ptr noundef nonnull align 16 dereferenceable(48) %44, ptr noundef nonnull align 16 dereferenceable(48) %27)
          to label %231 unwind label %242

231:                                              ; preds = %229
  store x86_fp80 %230, ptr %46, align 16, !tbaa !9
  %232 = load x86_fp80, ptr %46, align 16, !tbaa !9
  %233 = load x86_fp80, ptr %3, align 16, !tbaa !9
  %234 = fadd x86_fp80 %233, 0xK3FE189705F4136B4A800
  %235 = fcmp ole x86_fp80 %232, %234
  br i1 %235, label %236, label %246

236:                                              ; preds = %231
  %237 = load x86_fp80, ptr %43, align 16, !tbaa !9
  store x86_fp80 %237, ptr %42, align 16, !tbaa !9
  br label %248

238:                                              ; preds = %228, %222
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %9, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  br label %249

242:                                              ; preds = %229
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %9, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  br label %249

246:                                              ; preds = %231
  %247 = load x86_fp80, ptr %43, align 16, !tbaa !9
  store x86_fp80 %247, ptr %41, align 16, !tbaa !9
  br label %248

248:                                              ; preds = %246, %236
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  br label %217, !llvm.loop !14

249:                                              ; preds = %242, %238
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #8
  br label %265

250:                                              ; preds = %217
  %251 = load i32, ptr %19, align 4, !tbaa !5
  %252 = icmp eq i32 %251, -1
  br i1 %252, label %257, label %253

253:                                              ; preds = %250
  %254 = load x86_fp80, ptr %42, align 16, !tbaa !9
  %255 = load x86_fp80, ptr %18, align 16, !tbaa !9
  %256 = fcmp olt x86_fp80 %254, %255
  br i1 %256, label %257, label %261

257:                                              ; preds = %253, %250
  %258 = load x86_fp80, ptr %42, align 16, !tbaa !9
  store x86_fp80 %258, ptr %18, align 16, !tbaa !9
  %259 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %259, ptr %19, align 4, !tbaa !5
  %260 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %260, ptr %20, align 4, !tbaa !5
  br label %261

261:                                              ; preds = %257, %253
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #8
  store i32 0, ptr %22, align 4
  br label %262

262:                                              ; preds = %261, %177
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  %263 = load i32, ptr %22, align 4
  switch i32 %263, label %267 [
    i32 0, label %264
  ]

264:                                              ; preds = %262
  br label %266

265:                                              ; preds = %249, %214
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  br label %274

266:                                              ; preds = %264, %161
  store i32 0, ptr %22, align 4
  br label %267

267:                                              ; preds = %266, %262
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #8
  br label %268

268:                                              ; preds = %267, %129
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  %269 = load i32, ptr %22, align 4
  switch i32 %269, label %333 [
    i32 0, label %270
    i32 10, label %271
  ]

270:                                              ; preds = %268
  br label %271

271:                                              ; preds = %270, %268
  %272 = load i32, ptr %23, align 4, !tbaa !5
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %23, align 4, !tbaa !5
  br label %110, !llvm.loop !15

274:                                              ; preds = %265, %200
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  br label %275

275:                                              ; preds = %274, %178
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #8
  br label %276

276:                                              ; preds = %275, %130
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %326

277:                                              ; preds = %114
  br label %278

278:                                              ; preds = %277
  %279 = load i32, ptr %21, align 4, !tbaa !5
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %21, align 4, !tbaa !5
  br label %102, !llvm.loop !16

281:                                              ; preds = %106
  %282 = load i32, ptr %19, align 4, !tbaa !5
  %283 = icmp eq i32 %282, -1
  br i1 %283, label %284, label %293

284:                                              ; preds = %281
  %285 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %286 unwind label %289

286:                                              ; preds = %284
  %287 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %285, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %288 unwind label %289

288:                                              ; preds = %286
  br label %324

289:                                              ; preds = %321, %317, %315, %311, %309, %306, %301, %299, %297, %295, %293, %286, %284
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %9, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %10, align 4
  br label %326

293:                                              ; preds = %281
  %294 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %295 unwind label %289

295:                                              ; preds = %293
  %296 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %294, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %297 unwind label %289

297:                                              ; preds = %295
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
          to label %299 unwind label %289

299:                                              ; preds = %297
  %300 = invoke i32 @_ZSt12setprecisioni(i32 noundef 3)
          to label %301 unwind label %289

301:                                              ; preds = %299
  %302 = getelementptr inbounds %"struct.std::_Setprecision", ptr %47, i32 0, i32 0
  store i32 %300, ptr %302, align 4
  %303 = getelementptr inbounds %"struct.std::_Setprecision", ptr %47, i32 0, i32 0
  %304 = load i32, ptr %303, align 4
  %305 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %298, i32 %304)
          to label %306 unwind label %289

306:                                              ; preds = %301
  %307 = load x86_fp80, ptr %18, align 16, !tbaa !9
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %305, x86_fp80 noundef %307)
          to label %309 unwind label %289

309:                                              ; preds = %306
  %310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %308, i8 noundef signext 32)
          to label %311 unwind label %289

311:                                              ; preds = %309
  %312 = load i32, ptr %19, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  %314 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %310, i32 noundef %313)
          to label %315 unwind label %289

315:                                              ; preds = %311
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %314, i8 noundef signext 32)
          to label %317 unwind label %289

317:                                              ; preds = %315
  %318 = load i32, ptr %20, align 4, !tbaa !5
  %319 = add nsw i32 %318, 1
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %316, i32 noundef %319)
          to label %321 unwind label %289

321:                                              ; preds = %317
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %320, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %323 unwind label %289

323:                                              ; preds = %321
  br label %324

324:                                              ; preds = %323, %288
  store i32 0, ptr %1, align 4
  store i32 1, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  call void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  %325 = load i32, ptr %1, align 4
  ret i32 %325

326:                                              ; preds = %289, %276
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br label %327

327:                                              ; preds = %326, %100
  call void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  br label %328

328:                                              ; preds = %327
  %329 = load ptr, ptr %9, align 8
  %330 = load i32, ptr %10, align 4
  %331 = insertvalue { ptr, i32 } poison, ptr %329, 0
  %332 = insertvalue { ptr, i32 } %331, i32 %330, 1
  resume { ptr, i32 } %332

333:                                              ; preds = %268
  unreachable
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #5

; 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)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(100)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairISt4pairI5PointS1_ERiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 16, ptr noundef nonnull align 16 dereferenceable(96), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairI5PointS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.0") align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; 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) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Point6iszeroEv(ptr noundef nonnull align 16 dereferenceable(48)) #0 align 2

; 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)) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8), x86_fp80 noundef) #0 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

attributes #0 = { 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 #1 = { 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 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { inlinehint 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 #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 = !{i64 0, i64 16, !9, i64 16, i64 16, !9, i64 32, i64 16, !9}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; 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"

%"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%struct.Point = type { x86_fp80, x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::pair<Point, Point>, int>, std::allocator<std::pair<std::pair<Point, Point>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type <{ %"struct.std::pair.0", i32, [12 x i8] }>
%"struct.std::pair.0" = type { %struct.Point, %struct.Point }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmiRK5PointS1_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5PointC2Eeee(ptr noundef nonnull align 16 dereferenceable(48), x86_fp80 noundef, x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZplRK5PointS1_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZmlRK5Pointe(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), x86_fp80 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5crossRK5PointS1_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #0

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef) 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 nounwind uwtable
declare dso_local noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #1 align 2

; 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 norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca x86_fp80, align 16
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca i32, align 4
  %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 x86_fp80, align 16
  %11 = alloca %"struct.std::pair", align 16
  %12 = alloca %"struct.std::pair.0", align 16
  %13 = alloca %struct.Point, align 16
  %14 = alloca %struct.Point, align 16
  %15 = alloca %struct.Point, align 16
  %16 = alloca %struct.Point, align 16
  %17 = alloca %struct.Point, align 16
  %18 = alloca %struct.Point, align 16
  %19 = alloca %struct.Point, align 16
  %20 = alloca %struct.Point, align 16
  %21 = alloca x86_fp80, align 16
  %22 = alloca %struct.Point, align 16
  %23 = alloca %struct.Point, align 16
  %24 = alloca %struct.Point, align 16
  %25 = alloca %struct.Point, align 16
  %26 = alloca x86_fp80, align 16
  %27 = alloca %struct.Point, align 16
  %28 = alloca %struct.Point, align 16
  %29 = alloca %struct.Point, align 16
  %30 = alloca %struct.Point, align 16
  %31 = alloca %struct.Point, align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #8
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 16 dereferenceable(16) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 0, ptr %4, align 4, !tbaa !5
  %34 = load i32, ptr %1, align 4, !tbaa !5
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  br label %._crit_edge176.thread

._crit_edge:                                      ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  %36 = icmp sgt i32 %60, 0
  br i1 %36, label %.lr.ph175, label %._crit_edge176.thread

.lr.ph:                                           ; preds = %0, %57
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %37 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 16 dereferenceable(16) %5)
          to label %38 unwind label %62

38:                                               ; preds = %.lr.ph
  %39 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 16 dereferenceable(16) %6)
          to label %40 unwind label %62

40:                                               ; preds = %38
  %41 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 16 dereferenceable(16) %7)
          to label %42 unwind label %62

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  %43 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 16 dereferenceable(16) %8)
          to label %44 unwind label %64

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 16 dereferenceable(16) %9)
          to label %46 unwind label %64

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERe(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 16 dereferenceable(16) %10)
          to label %48 unwind label %64

48:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #8
  %49 = load x86_fp80, ptr %5, align 16, !tbaa !9
  %50 = load x86_fp80, ptr %6, align 16, !tbaa !9
  %51 = load x86_fp80, ptr %7, align 16, !tbaa !9
  call void @_ZN5PointC2Eeee(ptr noundef nonnull align 16 dereferenceable(48) %13, x86_fp80 noundef %49, x86_fp80 noundef %50, x86_fp80 noundef %51)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #8
  %52 = load x86_fp80, ptr %8, align 16, !tbaa !9
  %53 = load x86_fp80, ptr %9, align 16, !tbaa !9
  %54 = load x86_fp80, ptr %10, align 16, !tbaa !9
  call void @_ZN5PointC2Eeee(ptr noundef nonnull align 16 dereferenceable(48) %14, x86_fp80 noundef %52, x86_fp80 noundef %53, x86_fp80 noundef %54)
  invoke void @_ZSt9make_pairI5PointS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.0") align 16 %12, ptr noundef nonnull align 16 dereferenceable(48) %13, ptr noundef nonnull align 16 dereferenceable(48) %14)
          to label %55 unwind label %66

55:                                               ; preds = %48
  invoke void @_ZSt9make_pairISt4pairI5PointS1_ERiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair") align 16 %11, ptr noundef nonnull align 16 dereferenceable(96) %12, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %56 unwind label %66

56:                                               ; preds = %55
  invoke void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 16 dereferenceable(100) %11)
          to label %57 unwind label %66

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  %58 = load i32, ptr %4, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %4, align 4, !tbaa !5
  %60 = load i32, ptr %1, align 4, !tbaa !5
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %.lr.ph, label %._crit_edge, !llvm.loop !11

62:                                               ; preds = %40, %38, %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %69

64:                                               ; preds = %46, %44, %42
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %56, %55, %48
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %11) #8
  br label %68

68:                                               ; preds = %66, %64
  %.pn90 = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  br label %69

69:                                               ; preds = %68, %62
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %68 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  br label %186

.loopexit.loopexit:                               ; preds = %154
  %.pre = sext i32 %155 to i64
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.lr.ph175
  %.pre-phi = phi i64 [ %.pre, %.loopexit.loopexit ], [ %75, %.lr.ph175 ]
  %70 = phi i32 [ %155, %.loopexit.loopexit ], [ %74, %.lr.ph175 ]
  %.166.lcssa = phi i32 [ %.671, %.loopexit.loopexit ], [ %.065171, %.lr.ph175 ]
  %.157.lcssa = phi i32 [ %.662, %.loopexit.loopexit ], [ %.056172, %.lr.ph175 ]
  %.150.lcssa = phi x86_fp80 [ %.655, %.loopexit.loopexit ], [ %.049173, %.lr.ph175 ]
  %71 = icmp slt i64 %indvars.iv.next184, %.pre-phi
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %71, label %.lr.ph175, label %._crit_edge176, !llvm.loop !13

._crit_edge176:                                   ; preds = %.loopexit
  %72 = add nsw i32 %.166.lcssa, 1
  %73 = icmp eq i32 %.157.lcssa, -1
  br i1 %73, label %._crit_edge176.thread, label %163

.lr.ph175:                                        ; preds = %._crit_edge, %.loopexit
  %74 = phi i32 [ %70, %.loopexit ], [ %60, %._crit_edge ]
  %indvars.iv183 = phi i64 [ %indvars.iv.next184, %.loopexit ], [ 0, %._crit_edge ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %.loopexit ], [ 1, %._crit_edge ]
  %.049173 = phi x86_fp80 [ %.150.lcssa, %.loopexit ], [ 0xKBFFF8000000000000000, %._crit_edge ]
  %.056172 = phi i32 [ %.157.lcssa, %.loopexit ], [ -1, %._crit_edge ]
  %.065171 = phi i32 [ %.166.lcssa, %.loopexit ], [ -1, %._crit_edge ]
  %indvars.iv.next184 = add nuw nsw i64 %indvars.iv183, 1
  %75 = sext i32 %74 to i64
  %76 = icmp slt i64 %indvars.iv.next184, %75
  br i1 %76, label %.lr.ph166, label %.loopexit

.lr.ph166:                                        ; preds = %.lr.ph175
  %77 = trunc nuw nsw i64 %indvars.iv183 to i32
  br label %78

78:                                               ; preds = %.lr.ph166, %154
  %indvars.iv180 = phi i64 [ %indvars.iv, %.lr.ph166 ], [ %indvars.iv.next181, %154 ]
  %.150164 = phi x86_fp80 [ %.049173, %.lr.ph166 ], [ %.655, %154 ]
  %.157163 = phi i32 [ %.056172, %.lr.ph166 ], [ %.662, %154 ]
  %.166162 = phi i32 [ %.065171, %.lr.ph166 ], [ %.671, %154 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #8
  %79 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv183) #8
  %80 = getelementptr inbounds i8, ptr %79, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %15, ptr noundef nonnull align 16 dereferenceable(48) %80, i64 48, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #8
  %81 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv180) #8
  %82 = getelementptr inbounds i8, ptr %81, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %16, ptr noundef nonnull align 16 dereferenceable(48) %82, i64 48, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %17, ptr noundef nonnull align 16 dereferenceable(48) %16, ptr noundef nonnull align 16 dereferenceable(48) %15)
          to label %83 unwind label %86

83:                                               ; preds = %78
  %84 = invoke noundef zeroext i1 @_ZN5Point6iszeroEv(ptr noundef nonnull align 16 dereferenceable(48) %17)
          to label %85 unwind label %86

85:                                               ; preds = %83
  br i1 %84, label %154, label %88

86:                                               ; preds = %83, %78
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %159

88:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #8
  %89 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv183) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %18, ptr noundef nonnull align 16 dereferenceable(48) %89, i64 48, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #8
  %90 = call noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv180) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %19, ptr noundef nonnull align 16 dereferenceable(48) %90, i64 48, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #8
  invoke void @_ZplRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %20, ptr noundef nonnull align 16 dereferenceable(48) %19, ptr noundef nonnull align 16 dereferenceable(48) %17)
          to label %91 unwind label %116

91:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %23) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %23, ptr noundef nonnull align 16 dereferenceable(48) %18, ptr noundef nonnull align 16 dereferenceable(48) %19)
          to label %92 unwind label %118

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %24, ptr noundef nonnull align 16 dereferenceable(48) %18, ptr noundef nonnull align 16 dereferenceable(48) %20)
          to label %93 unwind label %120

93:                                               ; preds = %92
  invoke void @_Z5crossRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %22, ptr noundef nonnull align 16 dereferenceable(48) %23, ptr noundef nonnull align 16 dereferenceable(48) %24)
          to label %94 unwind label %120

94:                                               ; preds = %93
  %95 = call noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48) %22)
  %96 = call noundef x86_fp80 @_ZSt4fabse(x86_fp80 noundef %95)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %25, ptr noundef nonnull align 16 dereferenceable(48) %20, ptr noundef nonnull align 16 dereferenceable(48) %19)
          to label %97 unwind label %122

97:                                               ; preds = %94
  %98 = call noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48) %25)
  %99 = fdiv x86_fp80 %96, %98
  store x86_fp80 %99, ptr %21, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #8
  store x86_fp80 0xK00000000000000000000, ptr %26, align 16, !tbaa !9
  %100 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %21, ptr noundef nonnull align 16 dereferenceable(16) %26)
  %101 = load x86_fp80, ptr %100, align 16, !tbaa !9
  %102 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %101)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  %103 = load x86_fp80, ptr %2, align 16, !tbaa !9
  %104 = fadd x86_fp80 %103, 0xK3FE189705F4136B4A800
  %105 = fcmp ugt x86_fp80 %102, %104
  br i1 %105, label %153, label %106

106:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %27, ptr noundef nonnull align 16 dereferenceable(48) %19, ptr noundef nonnull align 16 dereferenceable(48) %18)
          to label %107 unwind label %126

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %28, ptr noundef nonnull align 16 dereferenceable(48) %20, ptr noundef nonnull align 16 dereferenceable(48) %19)
          to label %108 unwind label %128

108:                                              ; preds = %107
  %109 = call noundef x86_fp80 @_Z3dotRK5PointS1_(ptr noundef nonnull align 16 dereferenceable(48) %27, ptr noundef nonnull align 16 dereferenceable(48) %28)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %29) #8
  invoke void @_ZmiRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %29, ptr noundef nonnull align 16 dereferenceable(48) %20, ptr noundef nonnull align 16 dereferenceable(48) %19)
          to label %110 unwind label %130

110:                                              ; preds = %108
  %111 = fneg x86_fp80 %109
  %112 = call noundef x86_fp80 @_ZN5Point4normEv(ptr noundef nonnull align 16 dereferenceable(48) %29)
  %113 = fdiv x86_fp80 %111, %112
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #8
  %114 = fcmp ugt x86_fp80 %113, 0xK00000000000000000000
  br i1 %114, label %.preheader, label %153

.preheader:                                       ; preds = %110
  %115 = fcmp ogt x86_fp80 %113, 0xK3FE189705F4136B4A800
  br i1 %115, label %.lr.ph158, label %._crit_edge159

116:                                              ; preds = %88
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %158

118:                                              ; preds = %91
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %125

120:                                              ; preds = %93, %92
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %94
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #8
  br label %124

124:                                              ; preds = %122, %120
  %.pn = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #8
  br label %125

125:                                              ; preds = %124, %118
  %.pn.pn = phi { ptr, i32 } [ %.pn, %124 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  br label %158

126:                                              ; preds = %106
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %133

128:                                              ; preds = %107
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %132

130:                                              ; preds = %108
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #8
  br label %132

132:                                              ; preds = %130, %128
  %.pn80 = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #8
  br label %133

133:                                              ; preds = %132, %126
  %.pn80.pn = phi { ptr, i32 } [ %.pn80, %132 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #8
  br label %158

.lr.ph158:                                        ; preds = %.preheader, %139
  %.063157 = phi x86_fp80 [ %.063., %139 ], [ %113, %.preheader ]
  %.072156 = phi x86_fp80 [ %..072, %139 ], [ 0xK00000000000000000000, %.preheader ]
  %134 = fadd x86_fp80 %.072156, %.063157
  %135 = fmul x86_fp80 %134, 0xK3FFE8000000000000000
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %31) #8
  invoke void @_ZmlRK5Pointe(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %31, ptr noundef nonnull align 16 dereferenceable(48) %17, x86_fp80 noundef %135)
          to label %136 unwind label %145

136:                                              ; preds = %.lr.ph158
  invoke void @_ZplRK5PointS1_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %30, ptr noundef nonnull align 16 dereferenceable(48) %19, ptr noundef nonnull align 16 dereferenceable(48) %31)
          to label %137 unwind label %145

137:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #8
  %138 = invoke noundef x86_fp80 @_Z8distanceRK5PointS1_(ptr noundef nonnull align 16 dereferenceable(48) %30, ptr noundef nonnull align 16 dereferenceable(48) %18)
          to label %139 unwind label %147

139:                                              ; preds = %137
  %140 = load x86_fp80, ptr %2, align 16, !tbaa !9
  %141 = fadd x86_fp80 %140, 0xK3FE189705F4136B4A800
  %142 = fcmp ugt x86_fp80 %138, %141
  %..072 = select i1 %142, x86_fp80 %135, x86_fp80 %.072156
  %.063. = select i1 %142, x86_fp80 %.063157, x86_fp80 %135
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #8
  %143 = fsub x86_fp80 %.063., %..072
  %144 = fcmp ogt x86_fp80 %143, 0xK3FE189705F4136B4A800
  br i1 %144, label %.lr.ph158, label %._crit_edge159, !llvm.loop !15

145:                                              ; preds = %136, %.lr.ph158
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #8
  br label %149

147:                                              ; preds = %137
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %149

149:                                              ; preds = %147, %145
  %.pn83 = phi { ptr, i32 } [ %148, %147 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #8
  br label %158

._crit_edge159:                                   ; preds = %139, %.preheader
  %.063.lcssa = phi x86_fp80 [ %113, %.preheader ], [ %.063., %139 ]
  %150 = icmp eq i32 %.157163, -1
  %151 = fcmp olt x86_fp80 %.063.lcssa, %.150164
  %or.cond = select i1 %150, i1 true, i1 %151
  %152 = trunc nuw nsw i64 %indvars.iv180 to i32
  %.267 = select i1 %or.cond, i32 %152, i32 %.166162
  %.258 = select i1 %or.cond, i32 %77, i32 %.157163
  %.251 = select i1 %or.cond, x86_fp80 %.063.lcssa, x86_fp80 %.150164
  br label %153

153:                                              ; preds = %._crit_edge159, %110, %97
  %.570 = phi i32 [ %.166162, %97 ], [ %.267, %._crit_edge159 ], [ %.166162, %110 ]
  %.561 = phi i32 [ %.157163, %97 ], [ %.258, %._crit_edge159 ], [ %.157163, %110 ]
  %.554 = phi x86_fp80 [ %.150164, %97 ], [ %.251, %._crit_edge159 ], [ %.150164, %110 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #8
  br label %154

154:                                              ; preds = %85, %153
  %.671 = phi i32 [ %.570, %153 ], [ %.166162, %85 ]
  %.662 = phi i32 [ %.561, %153 ], [ %.157163, %85 ]
  %.655 = phi x86_fp80 [ %.554, %153 ], [ %.150164, %85 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #8
  %indvars.iv.next181 = add nuw nsw i64 %indvars.iv180, 1
  %155 = load i32, ptr %1, align 4, !tbaa !5
  %156 = trunc nuw i64 %indvars.iv.next181 to i32
  %157 = icmp sgt i32 %155, %156
  br i1 %157, label %78, label %.loopexit.loopexit, !llvm.loop !16

158:                                              ; preds = %125, %149, %133, %116
  %.pn83.pn.pn.pn = phi { ptr, i32 } [ %117, %116 ], [ %.pn.pn, %125 ], [ %.pn83, %149 ], [ %.pn80.pn, %133 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #8
  br label %159

159:                                              ; preds = %158, %86
  %.pn83.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn, %158 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #8
  br label %186

._crit_edge176.thread:                            ; preds = %._crit_edge.thread, %._crit_edge, %._crit_edge176
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %.invoke unwind label %161

161:                                              ; preds = %.invoke, %181, %179, %176, %174, %172, %169, %167, %165, %163, %._crit_edge176.thread
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %186

163:                                              ; preds = %._crit_edge176
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %165 unwind label %161

165:                                              ; preds = %163
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %167 unwind label %161

167:                                              ; preds = %165
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
          to label %169 unwind label %161

169:                                              ; preds = %167
  %170 = call i32 @_ZSt12setprecisioni(i32 noundef 3)
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %168, i32 %170)
          to label %172 unwind label %161

172:                                              ; preds = %169
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %171, x86_fp80 noundef %.150.lcssa)
          to label %174 unwind label %161

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %173, i8 noundef signext 32)
          to label %176 unwind label %161

176:                                              ; preds = %174
  %177 = add nuw nsw i32 %.157.lcssa, 1
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 noundef %177)
          to label %179 unwind label %161

179:                                              ; preds = %176
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %178, i8 noundef signext 32)
          to label %181 unwind label %161

181:                                              ; preds = %179
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %180, i32 noundef %72)
          to label %.invoke unwind label %161

.invoke:                                          ; preds = %._crit_edge176.thread, %181
  %183 = phi ptr [ %182, %181 ], [ %160, %._crit_edge176.thread ]
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %185 unwind label %161

185:                                              ; preds = %.invoke
  call void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  ret i32 0

186:                                              ; preds = %159, %161, %69
  %.pn90.pn.pn = phi { ptr, i32 } [ %.pn90.pn, %69 ], [ %.pn83.pn.pn.pn.pn, %159 ], [ %162, %161 ]
  call void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn90.pn.pn
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; 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 #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(100)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairISt4pairI5PointS1_ERiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 16, ptr noundef nonnull align 16 dereferenceable(96), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairI5PointS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.0") align 16, ptr noundef nonnull align 16 dereferenceable(48), ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(100) ptr @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; 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) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Point6iszeroEv(ptr noundef nonnull align 16 dereferenceable(48)) local_unnamed_addr #0 align 2

; 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 #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairIS0_I5PointS1_EiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

attributes #0 = { 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 #1 = { 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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { inlinehint 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 #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 = !{i64 0, i64 16, !9, i64 16, i64 16, !9, i64 32, i64 16, !9}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


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