; LLVM IR from Discngine/fpocket :: src/qhull/src/libqhullcpp/QhullVertex.ll (ZlsRSoRKN8orgQhull11QhullVertex11PrintVertexE)

; 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.orgQhull::QhullFacetSet" = type <{ %"class.orgQhull::QhullSet", i8, [7 x i8] }>
%"class.orgQhull::QhullSet" = type { %"class.orgQhull::QhullSetBase" }
%"class.orgQhull::QhullSetBase" = type { ptr, ptr }
%"class.orgQhull::QhullVertex" = type { ptr, ptr }
%"class.orgQhull::QhullPoint" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.orgQhull::QhullSetIterator" = type { ptr, ptr, ptr, ptr }
%"class.orgQhull::QhullFacet" = type { ptr, ptr }
%"struct.orgQhull::QhullVertex::PrintVertex" = type { ptr, ptr }
%struct.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }

@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull11QhullVertex14neighborFacetsEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullFacetSet") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull11QhullVertex21neighborFacetsDefinedEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN8orgQhull11QhullVertex11PrintVertexE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.orgQhull::QhullVertex", align 8
  %6 = alloca %"class.orgQhull::QhullPoint", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.orgQhull::QhullSetIterator", align 8
  %12 = alloca %"class.orgQhull::QhullFacetSet", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.orgQhull::QhullFacet", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"struct.orgQhull::QhullVertex::PrintVertex", ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  call void @_ZN8orgQhull11QhullVertexC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %17)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  invoke void @_ZNK8orgQhull11QhullVertex5pointEv(ptr dead_on_unwind writable sret(%"class.orgQhull::QhullPoint") align 8 %6, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %18 unwind label %33

18:                                               ; preds = %2
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.orgQhull::QhullVertex::PrintVertex", ptr %19, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = load i8, ptr %21, align 1, !tbaa !12
  %23 = icmp ne i8 %22, 0
  br i1 %23, label %24, label %41

24:                                               ; preds = %18
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.orgQhull::QhullVertex::PrintVertex", ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef %28)
          to label %30 unwind label %37

30:                                               ; preds = %24
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef @.str.1)
          to label %32 unwind label %37

32:                                               ; preds = %30
  br label %45

33:                                               ; preds = %2
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %7, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %8, align 4
  br label %188

37:                                               ; preds = %58, %56, %54, %52, %50, %48, %45, %41, %30, %24
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %7, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %8, align 4
  br label %187

41:                                               ; preds = %18
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef @.str.2)
          to label %44 unwind label %37

44:                                               ; preds = %41
  br label %45

45:                                               ; preds = %44, %32
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef @.str.3)
          to label %48 unwind label %37

48:                                               ; preds = %45
  %49 = invoke noundef i32 @_ZNK8orgQhull10QhullPoint2idEv(ptr noundef nonnull align 8 dereferenceable(20) %6)
          to label %50 unwind label %37

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %47, i32 noundef %49)
          to label %52 unwind label %37

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef @.str.4)
          to label %54 unwind label %37

54:                                               ; preds = %52
  %55 = invoke noundef i32 @_ZNK8orgQhull11QhullVertex2idEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %56 unwind label %37

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %53, i32 noundef %55)
          to label %58 unwind label %37

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef @.str.5)
          to label %60 unwind label %37

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %61 = invoke noundef ptr @_ZN8orgQhull10QhullPoint11coordinatesEv(ptr noundef nonnull align 8 dereferenceable(20) %6)
          to label %62 unwind label %70

62:                                               ; preds = %60
  store ptr %61, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %63 = invoke noundef i32 @_ZNK8orgQhull10QhullPoint9dimensionEv(ptr noundef nonnull align 8 dereferenceable(20) %6)
          to label %64 unwind label %74

64:                                               ; preds = %62
  store i32 %63, ptr %10, align 4, !tbaa !13
  br label %65

65:                                               ; preds = %86, %64
  %66 = load i32, ptr %10, align 4, !tbaa !13
  %67 = add nsw i32 %66, -1
  store i32 %67, ptr %10, align 4, !tbaa !13
  %68 = icmp ne i32 %66, 0
  br i1 %68, label %78, label %69

69:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %87

70:                                               ; preds = %116, %113, %109, %100, %96, %87, %60
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %7, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %8, align 4
  br label %186

74:                                               ; preds = %81, %78, %62
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %186

78:                                               ; preds = %65
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef @.str.1)
          to label %81 unwind label %74

81:                                               ; preds = %78
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds double, ptr %82, i32 1
  store ptr %83, ptr %9, align 8, !tbaa !5
  %84 = load double, ptr %82, align 8, !tbaa !15
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %80, double noundef %84)
          to label %86 unwind label %74

86:                                               ; preds = %81
  br label %65, !llvm.loop !17

87:                                               ; preds = %69
  %88 = invoke noundef ptr @_ZNK8orgQhull11QhullVertex10getVertexTEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %89 unwind label %70

89:                                               ; preds = %87
  %90 = getelementptr inbounds %struct.vertexT, ptr %88, i32 0, i32 6
  %91 = load i8, ptr %90, align 8
  %92 = lshr i8 %91, 3
  %93 = and i8 %92, 1
  %94 = zext i8 %93 to i32
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %100

96:                                               ; preds = %89
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef @.str.6)
          to label %99 unwind label %70

99:                                               ; preds = %96
  br label %100

100:                                              ; preds = %99, %89
  %101 = invoke noundef ptr @_ZNK8orgQhull11QhullVertex10getVertexTEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %102 unwind label %70

102:                                              ; preds = %100
  %103 = getelementptr inbounds %struct.vertexT, ptr %101, i32 0, i32 6
  %104 = load i8, ptr %103, align 8
  %105 = lshr i8 %104, 2
  %106 = and i8 %105, 1
  %107 = zext i8 %106 to i32
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %113

109:                                              ; preds = %102
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef @.str.7)
          to label %112 unwind label %70

112:                                              ; preds = %109
  br label %113

113:                                              ; preds = %112, %102
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %116 unwind label %70

116:                                              ; preds = %113
  %117 = invoke noundef zeroext i1 @_ZNK8orgQhull11QhullVertex21neighborFacetsDefinedEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %118 unwind label %70

118:                                              ; preds = %116
  br i1 %117, label %119, label %184

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  invoke void @_ZNK8orgQhull11QhullVertex14neighborFacetsEv(ptr dead_on_unwind writable sret(%"class.orgQhull::QhullFacetSet") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %120 unwind label %142

120:                                              ; preds = %119
  invoke void @_ZN8orgQhull16QhullSetIteratorINS_10QhullFacetEEC2ERKNS_8QhullSetIS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %121 unwind label %146

121:                                              ; preds = %120
  call void @_ZN8orgQhull12QhullSetBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  %122 = invoke noundef zeroext i1 @_ZNK8orgQhull16QhullSetIteratorINS_10QhullFacetEE7hasNextEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %123 unwind label %151

123:                                              ; preds = %121
  br i1 %122, label %124, label %182

124:                                              ; preds = %123
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef @.str.8)
          to label %127 unwind label %151

127:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !13
  br label %128

128:                                              ; preds = %167, %127
  %129 = invoke noundef zeroext i1 @_ZNK8orgQhull16QhullSetIteratorINS_10QhullFacetEE7hasNextEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %130 unwind label %155

130:                                              ; preds = %128
  br i1 %129, label %131, label %177

131:                                              ; preds = %130
  %132 = load i32, ptr %13, align 4, !tbaa !13
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %13, align 4, !tbaa !13
  %134 = srem i32 %133, 100
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %136, label %159

136:                                              ; preds = %131
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %139 unwind label %155

139:                                              ; preds = %136
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef @.str.9)
          to label %141 unwind label %155

141:                                              ; preds = %139
  br label %159

142:                                              ; preds = %119
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %7, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %8, align 4
  br label %150

146:                                              ; preds = %120
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %7, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %8, align 4
  call void @_ZN8orgQhull12QhullSetBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #5
  br label %150

150:                                              ; preds = %146, %142
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  br label %183

151:                                              ; preds = %124, %121
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %7, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %8, align 4
  br label %183

155:                                              ; preds = %177, %139, %136, %128
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %7, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %8, align 4
  br label %181

159:                                              ; preds = %141, %131
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  invoke void @_ZN8orgQhull16QhullSetIteratorINS_10QhullFacetEE4nextEv(ptr dead_on_unwind writable sret(%"class.orgQhull::QhullFacet") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %160 unwind label %168

160:                                              ; preds = %159
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef @.str.10)
          to label %163 unwind label %172

163:                                              ; preds = %160
  %164 = invoke noundef i32 @_ZNK8orgQhull10QhullFacet2idEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %165 unwind label %172

165:                                              ; preds = %163
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %162, i32 noundef %164)
          to label %167 unwind label %172

167:                                              ; preds = %165
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  br label %128, !llvm.loop !19

168:                                              ; preds = %159
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %7, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %8, align 4
  br label %176

172:                                              ; preds = %165, %163, %160
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %7, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %8, align 4
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  br label %176

176:                                              ; preds = %172, %168
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  br label %181

177:                                              ; preds = %130
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %180 unwind label %155

180:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %182

181:                                              ; preds = %176, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %183

182:                                              ; preds = %180, %123
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  br label %184

183:                                              ; preds = %181, %151, %150
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  br label %186

184:                                              ; preds = %182, %118
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @_ZN8orgQhull10QhullPointD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @_ZN8orgQhull11QhullVertexD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  ret ptr %185

186:                                              ; preds = %183, %74, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %187

187:                                              ; preds = %186, %37
  call void @_ZN8orgQhull10QhullPointD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %6) #5
  br label %188

188:                                              ; preds = %187, %33
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @_ZN8orgQhull11QhullVertexD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  br label %189

189:                                              ; preds = %188
  %190 = load ptr, ptr %7, align 8
  %191 = load i32, ptr %8, align 4
  %192 = insertvalue { ptr, i32 } poison, ptr %190, 0
  %193 = insertvalue { ptr, i32 } %192, i32 %191, 1
  resume { ptr, i32 } %193
}

; 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 @_ZN8orgQhull11QhullVertexC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull11QhullVertex5pointEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullPoint") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #0 align 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) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK8orgQhull10QhullPoint2idEv(ptr noundef nonnull align 8 dereferenceable(20)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8orgQhull10QhullPoint11coordinatesEv(ptr noundef nonnull align 8 dereferenceable(20)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8orgQhull10QhullPoint9dimensionEv(ptr noundef nonnull align 8 dereferenceable(20)) #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #0 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK8orgQhull11QhullVertex10getVertexTEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull16QhullSetIteratorINS_10QhullFacetEE7hasNextEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull16QhullSetIteratorINS_10QhullFacetEE4nextEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullFacet") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8orgQhull11QhullVertexD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { "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 }

!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, !6, i64 0}
!10 = !{!"_ZTSN8orgQhull11QhullVertex11PrintVertexE", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


; 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.orgQhull::QhullFacetSet" = type <{ %"class.orgQhull::QhullSet", i8, [7 x i8] }>
%"class.orgQhull::QhullSet" = type { %"class.orgQhull::QhullSetBase" }
%"class.orgQhull::QhullSetBase" = type { ptr, ptr }
%"class.orgQhull::QhullVertex" = type { ptr, ptr }
%"class.orgQhull::QhullPoint" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.orgQhull::QhullSetIterator" = type { ptr, ptr, ptr, ptr }
%"class.orgQhull::QhullFacet" = type { ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull11QhullVertex14neighborFacetsEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullFacetSet") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull11QhullVertex21neighborFacetsDefinedEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRKN8orgQhull11QhullVertex11PrintVertexE(ptr noundef nonnull returned align 8 dereferenceable(8) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.orgQhull::QhullVertex", align 8
  %4 = alloca %"class.orgQhull::QhullPoint", align 8
  %5 = alloca %"class.orgQhull::QhullSetIterator", align 8
  %6 = alloca %"class.orgQhull::QhullFacetSet", align 8
  %7 = alloca %"class.orgQhull::QhullFacet", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  %8 = load ptr, ptr %1, align 8, !tbaa !5
  call void @_ZN8orgQhull11QhullVertexC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  invoke void @_ZNK8orgQhull11QhullVertex5pointEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::QhullPoint") align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %9 unwind label %15

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !10
  %12 = load i8, ptr %11, align 1, !tbaa !11
  %.not = icmp eq i8 %12, 0
  br i1 %.not, label %.invoke, label %13

13:                                               ; preds = %9
  %14 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %11)
          to label %.invoke unwind label %17

15:                                               ; preds = %2
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %107

17:                                               ; preds = %.invoke, %33, %30, %28, %26, %24, %22, %13
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %106

.invoke:                                          ; preds = %13, %9
  %19 = phi ptr [ %0, %9 ], [ %14, %13 ]
  %20 = phi ptr [ @.str.2, %9 ], [ @.str.1, %13 ]
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull %20)
          to label %22 unwind label %17

22:                                               ; preds = %.invoke
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.3)
          to label %24 unwind label %17

24:                                               ; preds = %22
  %25 = invoke noundef i32 @_ZNK8orgQhull10QhullPoint2idEv(ptr noundef nonnull align 8 dereferenceable(20) %4)
          to label %26 unwind label %17

26:                                               ; preds = %24
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef %25)
          to label %28 unwind label %17

28:                                               ; preds = %26
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull @.str.4)
          to label %30 unwind label %17

30:                                               ; preds = %28
  %31 = call noundef i32 @_ZNK8orgQhull11QhullVertex2idEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %32 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %29, i32 noundef %31)
          to label %33 unwind label %17

33:                                               ; preds = %30
  %34 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull @.str.5)
          to label %35 unwind label %17

35:                                               ; preds = %33
  %36 = call noundef ptr @_ZN8orgQhull10QhullPoint11coordinatesEv(ptr noundef nonnull align 8 dereferenceable(20) %4)
  %37 = call noundef i32 @_ZNK8orgQhull10QhullPoint9dimensionEv(ptr noundef nonnull align 8 dereferenceable(20) %4)
  br label %38

38:                                               ; preds = %51, %35
  %.020 = phi ptr [ %36, %35 ], [ %52, %51 ]
  %.019 = phi i32 [ %37, %35 ], [ %39, %51 ]
  %39 = add nsw i32 %.019, -1
  %.not29 = icmp eq i32 %.019, 0
  br i1 %.not29, label %40, label %49

40:                                               ; preds = %38
  %41 = call noundef ptr @_ZNK8orgQhull11QhullVertex10getVertexTEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %42 = getelementptr inbounds i8, ptr %41, i64 40
  %43 = load i8, ptr %42, align 8
  %44 = and i8 %43, 8
  %.not30 = icmp eq i8 %44, 0
  br i1 %.not30, label %57, label %55

45:                                               ; preds = %64, %62, %55
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %106

47:                                               ; preds = %51, %49
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %106

49:                                               ; preds = %38
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.1)
          to label %51 unwind label %47

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %.020, i64 8
  %53 = load double, ptr %.020, align 8, !tbaa !12
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %50, double noundef %53)
          to label %38 unwind label %47, !llvm.loop !14

55:                                               ; preds = %40
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.6)
          to label %57 unwind label %45

57:                                               ; preds = %55, %40
  %58 = call noundef ptr @_ZNK8orgQhull11QhullVertex10getVertexTEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %59 = getelementptr inbounds i8, ptr %58, i64 40
  %60 = load i8, ptr %59, align 8
  %61 = and i8 %60, 4
  %.not31 = icmp eq i8 %61, 0
  br i1 %.not31, label %64, label %62

62:                                               ; preds = %57
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.7)
          to label %64 unwind label %45

64:                                               ; preds = %62, %57
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %66 unwind label %45

66:                                               ; preds = %64
  %67 = call noundef zeroext i1 @_ZNK8orgQhull11QhullVertex21neighborFacetsDefinedEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  br i1 %67, label %68, label %105

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  invoke void @_ZNK8orgQhull11QhullVertex14neighborFacetsEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::QhullFacetSet") align 8 %6, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %69 unwind label %82

69:                                               ; preds = %68
  invoke void @_ZN8orgQhull16QhullSetIteratorINS_10QhullFacetEEC2ERKNS_8QhullSetIS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %70 unwind label %84

70:                                               ; preds = %69
  call void @_ZN8orgQhull12QhullSetBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  %71 = call noundef zeroext i1 @_ZNK8orgQhull16QhullSetIteratorINS_10QhullFacetEE7hasNextEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  br i1 %71, label %72, label %103

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.8)
          to label %.preheader unwind label %87

.preheader:                                       ; preds = %72
  %74 = call noundef zeroext i1 @_ZNK8orgQhull16QhullSetIteratorINS_10QhullFacetEE7hasNextEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  br i1 %74, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %95
  %.041 = phi i32 [ %75, %95 ], [ 0, %.preheader ]
  %75 = add nuw nsw i32 %.041, 1
  %76 = urem i32 %75, 100
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %89

78:                                               ; preds = %.lr.ph
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %80 unwind label %.loopexit

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull @.str.9)
          to label %89 unwind label %.loopexit

82:                                               ; preds = %68
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %69
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8orgQhull12QhullSetBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #5
  br label %86

86:                                               ; preds = %84, %82
  %.pn = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %104

87:                                               ; preds = %72
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %104

.loopexit:                                        ; preds = %78, %80
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %104

.loopexit.split-lp:                               ; preds = %._crit_edge
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %104

89:                                               ; preds = %80, %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  invoke void @_ZN8orgQhull16QhullSetIteratorINS_10QhullFacetEE4nextEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::QhullFacet") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %90 unwind label %97

90:                                               ; preds = %89
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.10)
          to label %92 unwind label %99

92:                                               ; preds = %90
  %93 = call noundef i32 @_ZNK8orgQhull10QhullFacet2idEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %91, i32 noundef %93)
          to label %95 unwind label %99

95:                                               ; preds = %92
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  %96 = call noundef zeroext i1 @_ZNK8orgQhull16QhullSetIteratorINS_10QhullFacetEE7hasNextEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  br i1 %96, label %.lr.ph, label %._crit_edge, !llvm.loop !16

97:                                               ; preds = %89
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %92, %90
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8orgQhull10QhullFacetD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  br label %101

101:                                              ; preds = %99, %97
  %.pn33 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %104

._crit_edge:                                      ; preds = %95, %.preheader
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %103 unwind label %.loopexit.split-lp

103:                                              ; preds = %._crit_edge, %70
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %105

104:                                              ; preds = %.loopexit, %.loopexit.split-lp, %101, %87, %86
  %.pn33.pn.pn = phi { ptr, i32 } [ %88, %87 ], [ %.pn, %86 ], [ %.pn33, %101 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %106

105:                                              ; preds = %103, %66
  call void @_ZN8orgQhull10QhullPointD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN8orgQhull11QhullVertexD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  ret ptr %0

106:                                              ; preds = %45, %47, %104, %17
  %.pn37.pn = phi { ptr, i32 } [ %18, %17 ], [ %48, %47 ], [ %.pn33.pn.pn, %104 ], [ %46, %45 ]
  call void @_ZN8orgQhull10QhullPointD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  br label %107

107:                                              ; preds = %106, %15
  %.pn37.pn.pn = phi { ptr, i32 } [ %.pn37.pn, %106 ], [ %16, %15 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN8orgQhull11QhullVertexD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn37.pn.pn
}

; 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 @_ZN8orgQhull11QhullVertexC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8orgQhull11QhullVertex5pointEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullPoint") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 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 #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK8orgQhull10QhullPoint2idEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8orgQhull10QhullPoint11coordinatesEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8orgQhull10QhullPoint9dimensionEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #0 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK8orgQhull11QhullVertex10getVertexTEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull16QhullSetIteratorINS_10QhullFacetEE7hasNextEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull16QhullSetIteratorINS_10QhullFacetEE4nextEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::QhullFacet") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8orgQhull11QhullVertexD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { "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 }

!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, !7, i64 0}
!6 = !{!"_ZTSN8orgQhull11QhullVertex11PrintVertexE", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!8, !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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