; LLVM IR from ShahjalalShohag/code-library :: Geometry/Geometry 2D.ll (Z26tangents_lines_from_circle2PTdS_dbR4lineS1_)

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

%struct.PT = type { double, double }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.10" = type { ptr, i64 }
%"struct.std::pair.11" = type { %struct.PT, %struct.PT }
%struct.line = type { %struct.PT, %struct.PT, %struct.PT, double }

@.str.5 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@__PRETTY_FUNCTION__._Z26tangents_lines_from_circle2PTdS_dbR4lineS1_ = external hidden unnamed_addr constant [77 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11rotateccw902PT(ptr dead_on_unwind noalias writable sret(%struct.PT) align 8, ptr noundef) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2PTdvEd(ptr dead_on_unwind noalias writable sret(%struct.PT) align 8, ptr noundef nonnull align 8 dereferenceable(16), double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2PTmlEd(ptr dead_on_unwind noalias writable sret(%struct.PT) align 8, ptr noundef nonnull align 8 dereferenceable(16), double noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN2PT5norm2Ev(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #5

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lineC2E2PTS0_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z26tangents_lines_from_circle2PTdS_dbR4lineS1_(ptr noundef %0, double noundef %1, ptr noundef %2, double noundef %3, i1 noundef zeroext %4, ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(56) %6) #0 personality ptr @__gxx_personality_v0 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %struct.PT, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector.5", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.std::initializer_list.10", align 8
  %24 = alloca [2 x i32], align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca %struct.PT, align 8
  %29 = alloca %struct.PT, align 8
  %30 = alloca %struct.PT, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca %struct.PT, align 8
  %34 = alloca %struct.PT, align 8
  %35 = alloca %struct.PT, align 8
  %36 = alloca %struct.PT, align 8
  %37 = alloca %"struct.std::pair.11", align 8
  %38 = alloca %struct.PT, align 8
  %39 = alloca %struct.PT, align 8
  %40 = alloca %struct.PT, align 8
  %41 = alloca %struct.PT, align 8
  %42 = alloca %struct.line, align 8
  %43 = alloca %struct.PT, align 8
  %44 = alloca %struct.PT, align 8
  %45 = alloca %struct.line, align 8
  %46 = alloca %struct.PT, align 8
  %47 = alloca %struct.PT, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store double %1, ptr %10, align 8, !tbaa !9
  store ptr %2, ptr %11, align 8, !tbaa !5
  store double %3, ptr %12, align 8, !tbaa !9
  %48 = zext i1 %4 to i8
  store i8 %48, ptr %13, align 1, !tbaa !11
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  %49 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %50 = trunc i8 %49 to i1
  br i1 %50, label %51, label %54

51:                                               ; preds = %7
  %52 = load double, ptr %12, align 8, !tbaa !9
  %53 = fneg double %52
  store double %53, ptr %12, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %51, %7
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  call void @_ZNK2PTmiERKS_(ptr dead_on_unwind writable sret(%struct.PT) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %55 = load double, ptr %10, align 8, !tbaa !9
  %56 = load double, ptr %12, align 8, !tbaa !9
  %57 = fsub double %55, %56
  store double %57, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %58 = call noundef double @_ZN2PT5norm2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16)
  store double %58, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %59 = load double, ptr %18, align 8, !tbaa !9
  %60 = load double, ptr %17, align 8, !tbaa !9
  %61 = load double, ptr %17, align 8, !tbaa !9
  %62 = fneg double %60
  %63 = call double @llvm.fmuladd.f64(double %62, double %61, double %59)
  store double %63, ptr %19, align 8, !tbaa !9
  %64 = load double, ptr %18, align 8, !tbaa !9
  %65 = fcmp oeq double %64, 0.000000e+00
  br i1 %65, label %69, label %66

66:                                               ; preds = %54
  %67 = load double, ptr %19, align 8, !tbaa !9
  %68 = fcmp olt double %67, 0.000000e+00
  br i1 %68, label %69, label %76

69:                                               ; preds = %66, %54
  %70 = load double, ptr %19, align 8, !tbaa !9
  %71 = fcmp une double %70, 0.000000e+00
  br i1 %71, label %72, label %73

72:                                               ; preds = %69
  br label %75

73:                                               ; preds = %69
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.5, i32 noundef 443, ptr noundef @__PRETTY_FUNCTION__._Z26tangents_lines_from_circle2PTdS_dbR4lineS1_) #8
  unreachable

74:                                               ; No predecessors!
  br label %75

75:                                               ; preds = %74, %72
  store i32 0, ptr %8, align 4
  store i32 1, ptr %20, align 4
  br label %169

76:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #7
  call void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  store i32 -1, ptr %24, align 4, !tbaa !15
  %77 = getelementptr inbounds i32, ptr %24, i64 1
  store i32 1, ptr %77, align 4, !tbaa !15
  %78 = getelementptr inbounds %"class.std::initializer_list.10", ptr %23, i32 0, i32 0
  store ptr %24, ptr %78, align 8, !tbaa !17
  %79 = getelementptr inbounds %"class.std::initializer_list.10", ptr %23, i32 0, i32 1
  store i64 2, ptr %79, align 8, !tbaa !20
  store ptr %23, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %80 = load ptr, ptr %22, align 8, !tbaa !5
  %81 = call noundef ptr @_ZNKSt16initializer_listIiE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %80) #7
  store ptr %81, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %82 = load ptr, ptr %22, align 8, !tbaa !5
  %83 = call noundef ptr @_ZNKSt16initializer_listIiE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %82) #7
  store ptr %83, ptr %26, align 8, !tbaa !5
  br label %84

84:                                               ; preds = %113, %76
  %85 = load ptr, ptr %25, align 8, !tbaa !5
  %86 = load ptr, ptr %26, align 8, !tbaa !5
  %87 = icmp ne ptr %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 2, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %135

89:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %90 = load ptr, ptr %25, align 8, !tbaa !5
  %91 = load i32, ptr %90, align 4, !tbaa !15
  store i32 %91, ptr %27, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %92 = load double, ptr %17, align 8, !tbaa !9
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind writable sret(%struct.PT) align 8 %30, ptr noundef nonnull align 8 dereferenceable(16) %16, double noundef %92)
          to label %93 unwind label %116

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  invoke void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %94 unwind label %120

94:                                               ; preds = %93
  invoke void @_Z11rotateccw902PT(ptr dead_on_unwind writable sret(%struct.PT) align 8 %35, ptr noundef %36)
          to label %95 unwind label %120

95:                                               ; preds = %94
  %96 = load double, ptr %19, align 8, !tbaa !9
  %97 = call double @sqrt(double noundef %96) #7
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind writable sret(%struct.PT) align 8 %34, ptr noundef nonnull align 8 dereferenceable(16) %35, double noundef %97)
          to label %98 unwind label %120

98:                                               ; preds = %95
  %99 = load i32, ptr %27, align 4, !tbaa !15
  %100 = sitofp i32 %99 to double
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind writable sret(%struct.PT) align 8 %33, ptr noundef nonnull align 8 dereferenceable(16) %34, double noundef %100)
          to label %101 unwind label %120

101:                                              ; preds = %98
  invoke void @_ZNK2PTplERKS_(ptr dead_on_unwind writable sret(%struct.PT) align 8 %29, ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %102 unwind label %120

102:                                              ; preds = %101
  %103 = load double, ptr %18, align 8, !tbaa !9
  invoke void @_ZNK2PTdvEd(ptr dead_on_unwind writable sret(%struct.PT) align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %29, double noundef %103)
          to label %104 unwind label %120

104:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  %105 = load double, ptr %10, align 8, !tbaa !9
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind writable sret(%struct.PT) align 8 %39, ptr noundef nonnull align 8 dereferenceable(16) %28, double noundef %105)
          to label %106 unwind label %125

106:                                              ; preds = %104
  invoke void @_ZNK2PTplERKS_(ptr dead_on_unwind writable sret(%struct.PT) align 8 %38, ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %39)
          to label %107 unwind label %125

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #7
  %108 = load double, ptr %12, align 8, !tbaa !9
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind writable sret(%struct.PT) align 8 %41, ptr noundef nonnull align 8 dereferenceable(16) %28, double noundef %108)
          to label %109 unwind label %129

109:                                              ; preds = %107
  invoke void @_ZNK2PTplERKS_(ptr dead_on_unwind writable sret(%struct.PT) align 8 %40, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %110 unwind label %129

110:                                              ; preds = %109
  invoke void @_ZNSt4pairI2PTS0_EC2IS0_S0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %40)
          to label %111 unwind label %129

111:                                              ; preds = %110
  invoke void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %112 unwind label %129

112:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %113

113:                                              ; preds = %112
  %114 = load ptr, ptr %25, align 8, !tbaa !5
  %115 = getelementptr inbounds i32, ptr %114, i32 1
  store ptr %115, ptr %25, align 8, !tbaa !5
  br label %84

116:                                              ; preds = %89
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %31, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %32, align 4
  br label %124

120:                                              ; preds = %102, %101, %98, %95, %94, %93
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %31, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  br label %124

124:                                              ; preds = %120, %116
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  br label %134

125:                                              ; preds = %106, %104
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %31, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %32, align 4
  br label %133

129:                                              ; preds = %111, %110, %109, %107
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %31, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  br label %133

133:                                              ; preds = %129, %125
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #7
  br label %134

134:                                              ; preds = %133, %124
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %168

135:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 56, ptr %42) #7
  %136 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 0) #7
  %137 = getelementptr inbounds %"struct.std::pair.11", ptr %136, i32 0, i32 0
  invoke void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %137)
          to label %138 unwind label %155

138:                                              ; preds = %135
  %139 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 0) #7
  %140 = getelementptr inbounds %"struct.std::pair.11", ptr %139, i32 0, i32 1
  invoke void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %140)
          to label %141 unwind label %155

141:                                              ; preds = %138
  invoke void @_ZN4lineC2E2PTS0_(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef %43, ptr noundef %44)
          to label %142 unwind label %155

142:                                              ; preds = %141
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %143, ptr align 8 %42, i64 56, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 56, ptr %42) #7
  %144 = call noundef i64 @_ZNKSt6vectorISt4pairI2PTS1_ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  %145 = icmp eq i64 %144, 2
  br i1 %145, label %146, label %163

146:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 56, ptr %45) #7
  %147 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 1) #7
  %148 = getelementptr inbounds %"struct.std::pair.11", ptr %147, i32 0, i32 0
  invoke void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) %148)
          to label %149 unwind label %159

149:                                              ; preds = %146
  %150 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 1) #7
  %151 = getelementptr inbounds %"struct.std::pair.11", ptr %150, i32 0, i32 1
  invoke void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(16) %151)
          to label %152 unwind label %159

152:                                              ; preds = %149
  invoke void @_ZN4lineC2E2PTS0_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef %46, ptr noundef %47)
          to label %153 unwind label %159

153:                                              ; preds = %152
  %154 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %154, ptr align 8 %45, i64 56, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 56, ptr %45) #7
  br label %163

155:                                              ; preds = %141, %138, %135
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %31, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %42) #7
  br label %168

159:                                              ; preds = %152, %149, %146
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %31, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 56, ptr %45) #7
  br label %168

163:                                              ; preds = %153, %142
  %164 = load double, ptr %19, align 8, !tbaa !9
  %165 = fcmp ogt double %164, 0.000000e+00
  %166 = zext i1 %165 to i32
  %167 = add nsw i32 1, %166
  store i32 %167, ptr %8, align 4
  store i32 1, ptr %20, align 4
  call void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  br label %169

168:                                              ; preds = %159, %155, %134
  call void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  br label %171

169:                                              ; preds = %163, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  %170 = load i32, ptr %8, align 4
  ret i32 %170

171:                                              ; preds = %168
  %172 = load ptr, ptr %31, align 8
  %173 = load i32, ptr %32, align 4
  %174 = insertvalue { ptr, i32 } poison, ptr %172, 0
  %175 = insertvalue { ptr, i32 } %174, i32 %173, 1
  resume { ptr, i32 } %175
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIiE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIiE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairI2PTS0_EC2IS0_S0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt4pairI2PTS1_ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSSt16initializer_listIiE", !6, i64 0, !19, i64 8}
!19 = !{!"long", !7, i64 0}
!20 = !{!18, !19, i64 8}
!21 = !{i64 0, i64 8, !9, i64 8, i64 8, !9, i64 16, i64 8, !9, i64 24, i64 8, !9, i64 32, i64 8, !9, i64 40, i64 8, !9, i64 48, i64 8, !9}


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

%struct.PT = type { double, double }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<PT, PT>, std::allocator<std::pair<PT, PT>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.10" = type { ptr, i64 }
%"struct.std::pair.11" = type { %struct.PT, %struct.PT }
%struct.line = type { %struct.PT, %struct.PT, %struct.PT, double }

@.str.5 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@__PRETTY_FUNCTION__._Z26tangents_lines_from_circle2PTdS_dbR4lineS1_ = external hidden unnamed_addr constant [77 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11rotateccw902PT(ptr dead_on_unwind noalias writable sret(%struct.PT) align 8, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2PTdvEd(ptr dead_on_unwind noalias writable sret(%struct.PT) align 8, ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2PTmlEd(ptr dead_on_unwind noalias writable sret(%struct.PT) align 8, ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN2PT5norm2Ev(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #5

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4lineC2E2PTS0_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_Z26tangents_lines_from_circle2PTdS_dbR4lineS1_(ptr noundef nonnull %0, double noundef %1, ptr noundef nonnull %2, double noundef %3, i1 noundef zeroext %4, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(56) %5, ptr nocapture noundef nonnull writeonly align 8 dereferenceable(56) %6) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %8 = alloca %struct.PT, align 8
  %9 = alloca %"class.std::vector.5", align 8
  %10 = alloca %"class.std::initializer_list.10", align 8
  %11 = alloca [2 x i32], align 4
  %12 = alloca %struct.PT, align 8
  %13 = alloca %struct.PT, align 8
  %14 = alloca %struct.PT, align 8
  %15 = alloca %struct.PT, align 8
  %16 = alloca %struct.PT, align 8
  %17 = alloca %struct.PT, align 8
  %18 = alloca %struct.PT, align 8
  %19 = alloca %"struct.std::pair.11", align 8
  %20 = alloca %struct.PT, align 8
  %21 = alloca %struct.PT, align 8
  %22 = alloca %struct.PT, align 8
  %23 = alloca %struct.PT, align 8
  %24 = alloca %struct.line, align 8
  %25 = alloca %struct.PT, align 8
  %26 = alloca %struct.PT, align 8
  %27 = alloca %struct.line, align 8
  %28 = alloca %struct.PT, align 8
  %29 = alloca %struct.PT, align 8
  %30 = fneg double %3
  %.033 = select i1 %4, double %30, double %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZNK2PTmiERKS_(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %0)
  %31 = fsub double %1, %.033
  %32 = call noundef double @_ZN2PT5norm2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %33 = fneg double %31
  %34 = call double @llvm.fmuladd.f64(double %33, double %31, double %32)
  %35 = fcmp oeq double %32, 0.000000e+00
  %36 = fcmp olt double %34, 0.000000e+00
  %or.cond = or i1 %35, %36
  br i1 %or.cond, label %37, label %40

37:                                               ; preds = %7
  %38 = fcmp une double %34, 0.000000e+00
  br i1 %38, label %91, label %39

39:                                               ; preds = %37
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.5, i32 noundef 443, ptr noundef nonnull @__PRETTY_FUNCTION__._Z26tangents_lines_from_circle2PTdS_dbR4lineS1_) #8
  unreachable

40:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  store i32 -1, ptr %11, align 4, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %11, i64 4
  store i32 1, ptr %41, align 4, !tbaa !5
  store ptr %11, ptr %10, align 8, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %10, i64 8
  store i64 2, ptr %42, align 8, !tbaa !13
  %43 = call noundef ptr @_ZNKSt16initializer_listIiE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  %44 = call noundef ptr @_ZNKSt16initializer_listIiE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  %.not42 = icmp eq ptr %43, %44
  br i1 %.not42, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %62, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %24) #7
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #7
  call void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %45)
  %46 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #7
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  call void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %47)
  invoke void @_ZN4lineC2E2PTS0_(ptr noundef nonnull align 8 dereferenceable(56) %24, ptr noundef nonnull %25, ptr noundef nonnull %26)
          to label %75 unwind label %83

.lr.ph:                                           ; preds = %40, %62
  %.03443 = phi ptr [ %63, %62 ], [ %43, %40 ]
  %48 = load i32, ptr %.03443, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef %31)
          to label %49 unwind label %64

49:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  call void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %8)
  invoke void @_Z11rotateccw902PT(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %17, ptr noundef nonnull %18)
          to label %50 unwind label %66

50:                                               ; preds = %49
  %51 = call double @sqrt(double noundef %34) #7
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef %51)
          to label %52 unwind label %66

52:                                               ; preds = %50
  %53 = sitofp i32 %48 to double
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, double noundef %53)
          to label %54 unwind label %66

54:                                               ; preds = %52
  invoke void @_ZNK2PTplERKS_(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %55 unwind label %66

55:                                               ; preds = %54
  invoke void @_ZNK2PTdvEd(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %13, double noundef %32)
          to label %56 unwind label %66

56:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %12, double noundef %1)
          to label %57 unwind label %69

57:                                               ; preds = %56
  invoke void @_ZNK2PTplERKS_(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %58 unwind label %69

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  invoke void @_ZNK2PTmlEd(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %12, double noundef %.033)
          to label %59 unwind label %71

59:                                               ; preds = %58
  invoke void @_ZNK2PTplERKS_(ptr dead_on_unwind nonnull writable sret(%struct.PT) align 8 %22, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %60 unwind label %71

60:                                               ; preds = %59
  invoke void @_ZNSt4pairI2PTS0_EC2IS0_S0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %61 unwind label %71

61:                                               ; preds = %60
  invoke void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %62 unwind label %71

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  %63 = getelementptr inbounds i8, ptr %.03443, i64 4
  %.not = icmp eq ptr %63, %44
  br i1 %.not, label %._crit_edge, label %.lr.ph

64:                                               ; preds = %.lr.ph
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %55, %54, %52, %50, %49
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  br label %68

68:                                               ; preds = %66, %64
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  br label %74

69:                                               ; preds = %57, %56
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %61, %60, %59, %58
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  br label %73

73:                                               ; preds = %71, %69
  %.pn38 = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #7
  br label %74

74:                                               ; preds = %73, %68
  %.pn38.pn = phi { ptr, i32 } [ %.pn38, %73 ], [ %.pn, %68 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  br label %90

75:                                               ; preds = %._crit_edge
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(56) %24, i64 56, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %24) #7
  %76 = call noundef i64 @_ZNKSt6vectorISt4pairI2PTS1_ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %77 = icmp eq i64 %76, 2
  br i1 %77, label %78, label %87

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %27) #7
  %79 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1) #7
  call void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %79)
  %80 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 1) #7
  %81 = getelementptr inbounds i8, ptr %80, i64 16
  call void @_ZN2PTC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %81)
  invoke void @_ZN4lineC2E2PTS0_(ptr noundef nonnull align 8 dereferenceable(56) %27, ptr noundef nonnull %28, ptr noundef nonnull %29)
          to label %82 unwind label %85

82:                                               ; preds = %78
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(56) %27, i64 56, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #7
  br label %87

83:                                               ; preds = %._crit_edge
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %24) #7
  br label %90

85:                                               ; preds = %78
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #7
  br label %90

87:                                               ; preds = %82, %75
  %88 = fcmp ogt double %34, 0.000000e+00
  %89 = select i1 %88, i32 2, i32 1
  call void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  br label %91

90:                                               ; preds = %85, %83, %74
  %.pn38.pn.pn = phi { ptr, i32 } [ %.pn38.pn, %74 ], [ %86, %85 ], [ %84, %83 ]
  call void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  resume { ptr, i32 } %.pn38.pn.pn

91:                                               ; preds = %37, %87
  %.032 = phi i32 [ %89, %87 ], [ 0, %37 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  ret i32 %.032
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIiE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIiE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairI2PTS0_EC2IS0_S0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt4pairI2PTS1_ESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt4pairI2PTS1_ESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "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 = { nounwind }
attributes #8 = { noreturn 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, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIiE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{i64 0, i64 8, !15, i64 8, i64 8, !15, i64 16, i64 8, !15, i64 24, i64 8, !15, i64 32, i64 8, !15, i64 40, i64 8, !15, i64 48, i64 8, !15}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass