; LLVM IR from Discngine/fpocket :: src/qhull/src/libqhullcpp/Qhull.ll (ZN8orgQhull5Qhull11outputQhullEPKc)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.orgQhull::Qhull" = type { ptr, %"class.orgQhull::Coordinates", i8, %"class.orgQhull::Coordinates" }
%"class.orgQhull::Coordinates" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.qhT = type { i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, double, double, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, ptr, double, double, double, double, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, ptr, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, i32, i32, ptr, i32, i32, [1 x %struct.__jmp_buf_tag], [40 x i8], i32, double, ptr, %struct.qhmemT, %struct.qhstatT }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhmemT = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.qhstatT = type { [227 x %union.intrealT], [237 x i8], [227 x ptr], [227 x i16], [227 x i8], [227 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }
%struct.facetT = type { double, double, double, ptr, %union.anon.5, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }
%union.anon.5 = type { double }

@_ZTIN8orgQhull10QhullErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.3 = external hidden unnamed_addr constant [121 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN8orgQhullL20s_not_output_optionsE = external hidden constant [142 x i8], align 16

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull5Qhull23checkIfQhullInitializedEv(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull10QhullErrorC2EiPKc(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef, ptr noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) #3

declare void @_ZN8orgQhull7QhullQh22maybeThrowQhullMessageEi(ptr noundef nonnull align 8 dereferenceable(8249), i32 noundef) #4

declare void @qh_produce_output2(ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8orgQhull5Qhull11outputQhullEPKc(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator.0", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8
  call void @_ZN8orgQhull5Qhull23checkIfQhullInitializedEv(ptr noundef nonnull align 8 dereferenceable(64) %13)
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %14 unwind label %33

14:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %15)
          to label %17 unwind label %37

17:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %18 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  store ptr %18, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %19 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds %struct.qhT, ptr %20, i32 0, i32 192
  %22 = load i32, ptr %21, align 4, !tbaa !17
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %41

24:                                               ; preds = %17
  %25 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds %struct.qhT, ptr %26, i32 0, i32 192
  store i32 0, ptr %27, align 4, !tbaa !17
  %28 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.qhT, ptr %29, i32 0, i32 145
  %31 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %30, i64 0, i64 0
  %32 = call i32 @_setjmp(ptr noundef %31) #8
  store i32 %32, ptr %10, align 4, !tbaa !25
  br label %52

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
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %214

37:                                               ; preds = %14
  %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 %213

41:                                               ; preds = %17
  %42 = call ptr @__cxa_allocate_exception(i64 80) #7
  invoke void @_ZN8orgQhull10QhullErrorC2EiPKc(ptr noundef nonnull align 8 dereferenceable(80) %42, i32 noundef 10071, ptr noundef @.str.3)
          to label %43 unwind label %44

43:                                               ; preds = %41
  invoke void @__cxa_throw(ptr %42, ptr @_ZTIN8orgQhull10QhullErrorE, ptr @_ZN8orgQhull9RoadErrorD2Ev) #9
          to label %220 unwind label %48

44:                                               ; preds = %41
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %7, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %8, align 4
  call void @__cxa_free_exception(ptr %42) #7
  br label %212

48:                                               ; preds = %204, %55, %43
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %7, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %8, align 4
  br label %212

52:                                               ; preds = %24
  %53 = load i32, ptr %10, align 4, !tbaa !25
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %204, label %55

55:                                               ; preds = %52
  %56 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !9
  invoke void @qh_clear_outputflags(ptr noundef %57)
          to label %58 unwind label %48

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %59 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.qhT, ptr %60, i32 0, i32 111
  %62 = getelementptr inbounds [256 x i8], ptr %61, i64 0, i64 0
  %63 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct.qhT, ptr %64, i32 0, i32 111
  %66 = getelementptr inbounds [256 x i8], ptr %65, i64 0, i64 0
  %67 = call i64 @strlen(ptr noundef %66) #10
  %68 = getelementptr inbounds i8, ptr %62, i64 %67
  %69 = getelementptr inbounds i8, ptr %68, i64 1
  store ptr %69, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8, !tbaa !9
  %72 = getelementptr inbounds %struct.qhT, ptr %71, i32 0, i32 111
  %73 = getelementptr inbounds [256 x i8], ptr %72, i64 0, i64 0
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.qhT, ptr %76, i32 0, i32 111
  %78 = getelementptr inbounds [256 x i8], ptr %77, i64 0, i64 0
  %79 = call i64 @strlen(ptr noundef %78) #10
  %80 = sub i64 256, %79
  %81 = sub i64 %80, 1
  %82 = call ptr @strncat(ptr noundef %73, ptr noundef %74, i64 noundef %81) #7
  %83 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @qh_checkflags(ptr noundef %84, ptr noundef %85, ptr noundef @_ZN8orgQhullL20s_not_output_optionsE)
          to label %86 unwind label %164

86:                                               ; preds = %58
  %87 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @qh_initflags(ptr noundef %88, ptr noundef %89)
          to label %90 unwind label %164

90:                                               ; preds = %86
  %91 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  invoke void @qh_initqhull_outputflags(ptr noundef %92)
          to label %93 unwind label %164

93:                                               ; preds = %90
  %94 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.qhT, ptr %95, i32 0, i32 29
  %97 = load double, ptr %96, align 8, !tbaa !26
  %98 = fcmp olt double %97, 0x7FDFFFFFFFFFFFFF
  br i1 %98, label %130, label %99

99:                                               ; preds = %93
  %100 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.qhT, ptr %101, i32 0, i32 25
  %103 = load i32, ptr %102, align 4, !tbaa !27
  %104 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.qhT, ptr %105, i32 0, i32 28
  %107 = load i32, ptr %106, align 8, !tbaa !28
  %108 = add nsw i32 %103, %107
  %109 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.qhT, ptr %110, i32 0, i32 20
  %112 = load i32, ptr %111, align 4, !tbaa !29
  %113 = add nsw i32 %108, %112
  %114 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.qhT, ptr %115, i32 0, i32 19
  %117 = load i32, ptr %116, align 8, !tbaa !30
  %118 = add i32 %113, %117
  %119 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.qhT, ptr %120, i32 0, i32 17
  %122 = load i32, ptr %121, align 8, !tbaa !31
  %123 = add i32 %118, %122
  %124 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds %struct.qhT, ptr %125, i32 0, i32 81
  %127 = load i32, ptr %126, align 8, !tbaa !32
  %128 = add i32 %123, %127
  %129 = icmp ne i32 0, %128
  br i1 %129, label %130, label %177

130:                                              ; preds = %99, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %131 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.qhT, ptr %132, i32 0, i32 42
  store i32 0, ptr %133, align 8, !tbaa !33
  %134 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !9
  %136 = getelementptr inbounds %struct.qhT, ptr %135, i32 0, i32 156
  %137 = load ptr, ptr %136, align 8, !tbaa !34
  %138 = icmp ne ptr %137, null
  br i1 %138, label %139, label %169

139:                                              ; preds = %130
  %140 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = getelementptr inbounds %struct.qhT, ptr %141, i32 0, i32 156
  %143 = load ptr, ptr %142, align 8, !tbaa !34
  store ptr %143, ptr %12, align 8, !tbaa !5
  br label %144

144:                                              ; preds = %160, %139
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = icmp ne ptr %145, null
  br i1 %146, label %147, label %152

147:                                              ; preds = %144
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.facetT, ptr %148, i32 0, i32 7
  %150 = load ptr, ptr %149, align 8, !tbaa !35
  %151 = icmp ne ptr %150, null
  br label %152

152:                                              ; preds = %147, %144
  %153 = phi i1 [ false, %144 ], [ %151, %147 ]
  br i1 %153, label %154, label %168

154:                                              ; preds = %152
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.facetT, ptr %155, i32 0, i32 15
  %157 = load i32, ptr %156, align 8
  %158 = and i32 %157, -524289
  %159 = or i32 %158, 524288
  store i32 %159, ptr %156, align 8
  br label %160

160:                                              ; preds = %154
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.facetT, ptr %161, i32 0, i32 7
  %163 = load ptr, ptr %162, align 8, !tbaa !35
  store ptr %163, ptr %12, align 8, !tbaa !5
  br label %144, !llvm.loop !37

164:                                              ; preds = %198, %177, %90, %86, %58
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %7, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %8, align 4
  br label %203

168:                                              ; preds = %152
  br label %169

169:                                              ; preds = %168, %130
  %170 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8, !tbaa !9
  invoke void @qh_prepare_output(ptr noundef %171)
          to label %172 unwind label %173

172:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %177

173:                                              ; preds = %169
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %7, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %203

177:                                              ; preds = %172, %99
  %178 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %179 = load ptr, ptr %178, align 8, !tbaa !9
  invoke void @qh_produce_output2(ptr noundef %179)
          to label %180 unwind label %164

180:                                              ; preds = %177
  %181 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8, !tbaa !9
  %183 = getelementptr inbounds %struct.qhT, ptr %182, i32 0, i32 95
  %184 = load i32, ptr %183, align 4, !tbaa !39
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %202

186:                                              ; preds = %180
  %187 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = getelementptr inbounds %struct.qhT, ptr %188, i32 0, i32 83
  %190 = load i32, ptr %189, align 8, !tbaa !40
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %202, label %192

192:                                              ; preds = %186
  %193 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8, !tbaa !9
  %195 = getelementptr inbounds %struct.qhT, ptr %194, i32 0, i32 82
  %196 = load i32, ptr %195, align 4, !tbaa !41
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %202, label %198

198:                                              ; preds = %192
  %199 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %200 = load ptr, ptr %199, align 8, !tbaa !9
  invoke void @qh_check_points(ptr noundef %200)
          to label %201 unwind label %164

201:                                              ; preds = %198
  br label %202

202:                                              ; preds = %201, %192, %186, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %204

203:                                              ; preds = %173, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %212

204:                                              ; preds = %202, %52
  %205 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8, !tbaa !9
  %207 = getelementptr inbounds %struct.qhT, ptr %206, i32 0, i32 192
  store i32 1, ptr %207, align 4, !tbaa !17
  %208 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %13, i32 0, i32 0
  %209 = load ptr, ptr %208, align 8, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !25
  invoke void @_ZN8orgQhull7QhullQh22maybeThrowQhullMessageEi(ptr noundef nonnull align 8 dereferenceable(8249) %209, i32 noundef %210)
          to label %211 unwind label %48

211:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #7
  ret void

212:                                              ; preds = %203, %48, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %213

213:                                              ; preds = %212, %37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %214

214:                                              ; preds = %213, %33
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #7
  br label %215

215:                                              ; preds = %214
  %216 = load ptr, ptr %7, align 8
  %217 = load i32, ptr %8, align 4
  %218 = insertvalue { ptr, i32 } poison, ptr %216, 0
  %219 = insertvalue { ptr, i32 } %218, i32 %217, 1
  resume { ptr, i32 } %219

220:                                              ; preds = %43
  unreachable
}

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

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

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

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

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

declare void @qh_clear_outputflags(ptr noundef) #4

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #5

; Function Attrs: nounwind
declare ptr @strncat(ptr noundef, ptr noundef, i64 noundef) #6

declare void @qh_checkflags(ptr noundef, ptr noundef, ptr noundef) #4

declare void @qh_initflags(ptr noundef, ptr noundef) #4

declare void @qh_initqhull_outputflags(ptr noundef) #4

declare void @qh_prepare_output(ptr noundef) #4

declare void @qh_check_points(ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind returns_twice "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 willreturn memory(read) "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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind returns_twice }
attributes #9 = { noreturn }
attributes #10 = { nounwind willreturn memory(read) }

!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 = !{!"_ZTSN8orgQhull5QhullE", !6, i64 0, !11, i64 8, !16, i64 32, !11, i64 40}
!11 = !{!"_ZTSN8orgQhull11CoordinatesE", !12, i64 0}
!12 = !{!"_ZTSSt6vectorIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"bool", !7, i64 0}
!17 = !{!18, !19, i64 2660}
!18 = !{!"_ZTS3qhT", !19, i64 0, !19, i64 4, !19, i64 8, !20, i64 16, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !19, i64 48, !20, i64 56, !20, i64 64, !19, i64 72, !19, i64 76, !19, i64 80, !19, i64 84, !19, i64 88, !6, i64 96, !19, i64 104, !19, i64 108, !6, i64 112, !19, i64 120, !19, i64 124, !19, i64 128, !19, i64 132, !19, i64 136, !19, i64 140, !19, i64 144, !20, i64 152, !20, i64 160, !19, i64 168, !19, i64 172, !19, i64 176, !20, i64 184, !20, i64 192, !19, i64 200, !20, i64 208, !19, i64 216, !19, i64 220, !19, i64 224, !19, i64 228, !19, i64 232, !19, i64 236, !19, i64 240, !19, i64 244, !19, i64 248, !19, i64 252, !19, i64 256, !19, i64 260, !19, i64 264, !19, i64 268, !19, i64 272, !19, i64 276, !19, i64 280, !19, i64 284, !19, i64 288, !19, i64 292, !7, i64 296, !19, i64 412, !19, i64 416, !19, i64 420, !19, i64 424, !19, i64 428, !19, i64 432, !19, i64 436, !19, i64 440, !19, i64 444, !20, i64 448, !20, i64 456, !20, i64 464, !19, i64 472, !19, i64 476, !19, i64 480, !19, i64 484, !19, i64 488, !19, i64 492, !19, i64 496, !19, i64 500, !19, i64 504, !19, i64 508, !19, i64 512, !19, i64 516, !19, i64 520, !19, i64 524, !19, i64 528, !19, i64 532, !19, i64 536, !19, i64 540, !20, i64 544, !19, i64 552, !19, i64 556, !19, i64 560, !19, i64 564, !19, i64 568, !19, i64 572, !19, i64 576, !19, i64 580, !20, i64 584, !19, i64 592, !6, i64 600, !6, i64 608, !19, i64 616, !19, i64 620, !19, i64 624, !19, i64 628, !19, i64 632, !6, i64 640, !19, i64 648, !6, i64 656, !19, i64 664, !7, i64 668, !19, i64 924, !7, i64 928, !7, i64 1184, !19, i64 1696, !19, i64 1700, !19, i64 1704, !19, i64 1708, !19, i64 1712, !19, i64 1716, !6, i64 1720, !6, i64 1728, !6, i64 1736, !6, i64 1744, !20, i64 1752, !20, i64 1760, !20, i64 1768, !20, i64 1776, !20, i64 1784, !20, i64 1792, !20, i64 1800, !20, i64 1808, !20, i64 1816, !20, i64 1824, !20, i64 1832, !20, i64 1840, !20, i64 1848, !19, i64 1856, !6, i64 1864, !20, i64 1872, !20, i64 1880, !20, i64 1888, !20, i64 1896, !7, i64 1904, !7, i64 1912, !7, i64 2112, !7, i64 2152, !7, i64 2352, !6, i64 2392, !6, i64 2400, !6, i64 2408, !6, i64 2416, !19, i64 2424, !19, i64 2428, !19, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !19, i64 2480, !19, i64 2484, !6, i64 2488, !19, i64 2496, !6, i64 2504, !6, i64 2512, !6, i64 2520, !6, i64 2528, !19, i64 2536, !19, i64 2540, !19, i64 2544, !19, i64 2548, !19, i64 2552, !19, i64 2556, !19, i64 2560, !21, i64 2568, !19, i64 2576, !19, i64 2580, !22, i64 2584, !19, i64 2588, !6, i64 2592, !19, i64 2600, !19, i64 2604, !20, i64 2608, !19, i64 2616, !20, i64 2624, !20, i64 2632, !20, i64 2640, !19, i64 2648, !19, i64 2652, !19, i64 2656, !19, i64 2660, !20, i64 2664, !20, i64 2672, !19, i64 2680, !19, i64 2684, !19, i64 2688, !19, i64 2692, !20, i64 2696, !20, i64 2704, !19, i64 2712, !19, i64 2716, !19, i64 2720, !19, i64 2724, !6, i64 2728, !6, i64 2736, !6, i64 2744, !6, i64 2752, !6, i64 2760, !6, i64 2768, !6, i64 2776, !6, i64 2784, !19, i64 2792, !6, i64 2800, !6, i64 2808, !19, i64 2816, !19, i64 2820, !19, i64 2824, !6, i64 2832, !20, i64 2840, !20, i64 2848, !20, i64 2856, !19, i64 2864, !19, i64 2868, !6, i64 2872, !19, i64 2880, !19, i64 2884, !7, i64 2888, !7, i64 3088, !19, i64 3128, !20, i64 3136, !6, i64 3144, !23, i64 3152, !24, i64 3304}
!19 = !{!"int", !7, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTS9qh_CENTER", !7, i64 0}
!23 = !{!"_ZTS6qhmemT", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !19, i64 64, !6, i64 72, !6, i64 80, !19, i64 88, !19, i64 92, !19, i64 96, !19, i64 100, !19, i64 104, !19, i64 108, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124, !19, i64 128, !19, i64 132, !19, i64 136, !19, i64 140, !19, i64 144}
!24 = !{!"_ZTS7qhstatT", !7, i64 0, !7, i64 1816, !7, i64 2056, !7, i64 3872, !7, i64 4326, !7, i64 4553, !7, i64 4784, !19, i64 4856, !19, i64 4860, !19, i64 4864, !19, i64 4868, !20, i64 4872}
!25 = !{!19, !19, i64 0}
!26 = !{!18, !20, i64 152}
!27 = !{!18, !19, i64 132}
!28 = !{!18, !19, i64 144}
!29 = !{!18, !19, i64 108}
!30 = !{!18, !19, i64 104}
!31 = !{!18, !19, i64 88}
!32 = !{!18, !19, i64 512}
!33 = !{!18, !19, i64 232}
!34 = !{!18, !6, i64 2440}
!35 = !{!36, !6, i64 56}
!36 = !{!"_ZTS6facetT", !20, i64 0, !20, i64 8, !20, i64 16, !6, i64 24, !7, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !19, i64 104, !19, i64 108, !19, i64 112, !19, i64 113, !19, i64 113, !19, i64 113, !19, i64 113, !19, i64 113, !19, i64 113, !19, i64 113, !19, i64 114, !19, i64 114, !19, i64 114, !19, i64 114, !19, i64 114, !19, i64 114, !19, i64 114, !19, i64 114, !19, i64 115, !19, i64 115, !19, i64 115, !19, i64 115, !19, i64 115, !19, i64 115, !19, i64 115, !19, i64 115}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!18, !19, i64 572}
!40 = !{!18, !19, i64 520}
!41 = !{!18, !19, i64 516}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }

@_ZTIN8orgQhull10QhullErrorE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.3 = external hidden unnamed_addr constant [121 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN8orgQhullL20s_not_output_optionsE = external hidden constant [142 x i8], align 16

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull5Qhull23checkIfQhullInitializedEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull10QhullErrorC2EiPKc(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef, ptr noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) local_unnamed_addr #3

declare void @_ZN8orgQhull7QhullQh22maybeThrowQhullMessageEi(ptr noundef nonnull align 8 dereferenceable(8249), i32 noundef) local_unnamed_addr #4

declare void @qh_produce_output2(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8orgQhull5Qhull11outputQhullEPKc(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator.0", align 1
  call void @_ZN8orgQhull5Qhull23checkIfQhullInitializedEv(ptr noundef nonnull align 8 dereferenceable(64) %0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %5 unwind label %15

5:                                                ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  %6 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %1)
          to label %7 unwind label %17

7:                                                ; preds = %5
  %8 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  %9 = load ptr, ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 2660
  %11 = load i32, ptr %10, align 4, !tbaa !16
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %19, label %12

12:                                               ; preds = %7
  store i32 0, ptr %10, align 4, !tbaa !16
  %13 = getelementptr inbounds i8, ptr %9, i64 1912
  %14 = call i32 @_setjmp(ptr noundef nonnull %13) #8
  %.not18 = icmp eq i32 %14, 0
  %.pre35 = load ptr, ptr %0, align 8, !tbaa !5
  br i1 %.not18, label %26, label %93

15:                                               ; preds = %2
  %16 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %98

17:                                               ; preds = %5
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %97

19:                                               ; preds = %7
  %20 = call ptr @__cxa_allocate_exception(i64 80) #7
  invoke void @_ZN8orgQhull10QhullErrorC2EiPKc(ptr noundef nonnull align 8 dereferenceable(80) %20, i32 noundef 10071, ptr noundef nonnull @.str.3)
          to label %21 unwind label %22

21:                                               ; preds = %19
  invoke void @__cxa_throw(ptr nonnull %20, ptr nonnull @_ZTIN8orgQhull10QhullErrorE, ptr nonnull @_ZN8orgQhull9RoadErrorD2Ev) #9
          to label %99 unwind label %24

22:                                               ; preds = %19
  %23 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %20) #7
  br label %97

24:                                               ; preds = %93, %26, %21
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %97

26:                                               ; preds = %12
  invoke void @qh_clear_outputflags(ptr noundef %.pre35)
          to label %27 unwind label %24

27:                                               ; preds = %26
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 668
  %30 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %29) #10
  %31 = sub i64 255, %30
  %32 = call ptr @strncat(ptr noundef nonnull dereferenceable(1) %29, ptr noundef %8, i64 noundef %31) #7
  %33 = load ptr, ptr %0, align 8, !tbaa !5
  invoke void @qh_checkflags(ptr noundef %33, ptr noundef %8, ptr noundef nonnull @_ZN8orgQhullL20s_not_output_optionsE)
          to label %34 unwind label %75

34:                                               ; preds = %27
  %35 = getelementptr inbounds i8, ptr %29, i64 %30
  %36 = getelementptr inbounds i8, ptr %35, i64 1
  %37 = load ptr, ptr %0, align 8, !tbaa !5
  invoke void @qh_initflags(ptr noundef %37, ptr noundef nonnull %36)
          to label %38 unwind label %75

38:                                               ; preds = %34
  %39 = load ptr, ptr %0, align 8, !tbaa !5
  invoke void @qh_initqhull_outputflags(ptr noundef %39)
          to label %40 unwind label %75

40:                                               ; preds = %38
  %41 = load ptr, ptr %0, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %41, i64 152
  %43 = load double, ptr %42, align 8, !tbaa !24
  %44 = fcmp olt double %43, 0x7FDFFFFFFFFFFFFF
  br i1 %44, label %63, label %45

45:                                               ; preds = %40
  %46 = getelementptr inbounds i8, ptr %41, i64 132
  %47 = load i32, ptr %46, align 4, !tbaa !25
  %48 = getelementptr inbounds i8, ptr %41, i64 144
  %49 = load i32, ptr %48, align 8, !tbaa !26
  %50 = add nsw i32 %49, %47
  %51 = getelementptr inbounds i8, ptr %41, i64 108
  %52 = load i32, ptr %51, align 4, !tbaa !27
  %53 = add nsw i32 %50, %52
  %54 = getelementptr inbounds i8, ptr %41, i64 104
  %55 = load i32, ptr %54, align 8, !tbaa !28
  %56 = add i32 %53, %55
  %57 = getelementptr inbounds i8, ptr %41, i64 88
  %58 = load i32, ptr %57, align 8, !tbaa !29
  %59 = add i32 %56, %58
  %60 = getelementptr inbounds i8, ptr %41, i64 512
  %61 = load i32, ptr %60, align 8, !tbaa !30
  %62 = sub i32 0, %61
  %.not19 = icmp eq i32 %59, %62
  br i1 %.not19, label %80, label %63

63:                                               ; preds = %45, %40
  %64 = getelementptr inbounds i8, ptr %41, i64 232
  store i32 0, ptr %64, align 8, !tbaa !31
  %65 = getelementptr inbounds i8, ptr %41, i64 2440
  %66 = load ptr, ptr %65, align 8, !tbaa !32
  %.not20 = icmp eq ptr %66, null
  br i1 %.not20, label %.critedge, label %.preheader

.preheader:                                       ; preds = %63
  %67 = getelementptr inbounds i8, ptr %66, i64 56
  %68 = load ptr, ptr %67, align 8, !tbaa !33
  %.not2231 = icmp eq ptr %68, null
  br i1 %.not2231, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %69 = phi ptr [ %74, %.lr.ph ], [ %68, %.preheader ]
  %.032 = phi ptr [ %69, %.lr.ph ], [ %66, %.preheader ]
  %70 = getelementptr inbounds i8, ptr %.032, i64 112
  %71 = load i32, ptr %70, align 8
  %72 = or i32 %71, 524288
  store i32 %72, ptr %70, align 8
  %73 = getelementptr inbounds i8, ptr %69, i64 56
  %74 = load ptr, ptr %73, align 8, !tbaa !33
  %.not22 = icmp eq ptr %74, null
  br i1 %.not22, label %.critedge.loopexit, label %.lr.ph, !llvm.loop !35

75:                                               ; preds = %92, %80, %38, %34, %27
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %97

.critedge.loopexit:                               ; preds = %.lr.ph
  %.pre = load ptr, ptr %0, align 8, !tbaa !5
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %.preheader, %63
  %77 = phi ptr [ %.pre, %.critedge.loopexit ], [ %41, %.preheader ], [ %41, %63 ]
  invoke void @qh_prepare_output(ptr noundef %77)
          to label %.critedge._crit_edge unwind label %78

.critedge._crit_edge:                             ; preds = %.critedge
  %.pre33 = load ptr, ptr %0, align 8, !tbaa !5
  br label %80

78:                                               ; preds = %.critedge
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %97

80:                                               ; preds = %.critedge._crit_edge, %45
  %81 = phi ptr [ %.pre33, %.critedge._crit_edge ], [ %41, %45 ]
  invoke void @qh_produce_output2(ptr noundef %81)
          to label %82 unwind label %75

82:                                               ; preds = %80
  %83 = load ptr, ptr %0, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 572
  %85 = load i32, ptr %84, align 4, !tbaa !37
  %.not23 = icmp eq i32 %85, 0
  br i1 %.not23, label %93, label %86

86:                                               ; preds = %82
  %87 = getelementptr inbounds i8, ptr %83, i64 520
  %88 = load i32, ptr %87, align 8, !tbaa !38
  %.not24 = icmp eq i32 %88, 0
  br i1 %.not24, label %89, label %93

89:                                               ; preds = %86
  %90 = getelementptr inbounds i8, ptr %83, i64 516
  %91 = load i32, ptr %90, align 4, !tbaa !39
  %.not25 = icmp eq i32 %91, 0
  br i1 %.not25, label %92, label %93

92:                                               ; preds = %89
  invoke void @qh_check_points(ptr noundef nonnull %83)
          to label %._crit_edge unwind label %75

._crit_edge:                                      ; preds = %92
  %.pre34 = load ptr, ptr %0, align 8, !tbaa !5
  br label %93

93:                                               ; preds = %._crit_edge, %82, %86, %89, %12
  %94 = phi ptr [ %.pre34, %._crit_edge ], [ %83, %82 ], [ %83, %86 ], [ %83, %89 ], [ %.pre35, %12 ]
  %95 = getelementptr inbounds i8, ptr %94, i64 2660
  store i32 1, ptr %95, align 4, !tbaa !16
  invoke void @_ZN8orgQhull7QhullQh22maybeThrowQhullMessageEi(ptr noundef nonnull align 8 dereferenceable(8249) %94, i32 noundef %14)
          to label %96 unwind label %24

96:                                               ; preds = %93
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  ret void

97:                                               ; preds = %22, %24, %78, %75, %17
  %.pn27.pn = phi { ptr, i32 } [ %18, %17 ], [ %25, %24 ], [ %23, %22 ], [ %76, %75 ], [ %79, %78 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  br label %98

98:                                               ; preds = %97, %15
  %.pn27.pn.pn = phi { ptr, i32 } [ %.pn27.pn, %97 ], [ %16, %15 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn27.pn.pn

99:                                               ; preds = %21
  unreachable
}

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

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

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

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

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

declare void @qh_clear_outputflags(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncat(ptr noalias noundef returned, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #6

declare void @qh_checkflags(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @qh_initflags(ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @qh_initqhull_outputflags(ptr noundef) local_unnamed_addr #4

declare void @qh_prepare_output(ptr noundef) local_unnamed_addr #4

declare void @qh_check_points(ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind returns_twice "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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 nofree nounwind willreturn memory(argmem: readwrite) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind returns_twice }
attributes #9 = { noreturn }
attributes #10 = { nounwind willreturn memory(read) }

!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 = !{!"_ZTSN8orgQhull5QhullE", !7, i64 0, !10, i64 8, !15, i64 32, !10, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN8orgQhull11CoordinatesE", !11, i64 0}
!11 = !{!"_ZTSSt6vectorIdSaIdEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!15 = !{!"bool", !8, i64 0}
!16 = !{!17, !18, i64 2660}
!17 = !{!"_ZTS3qhT", !18, i64 0, !18, i64 4, !18, i64 8, !19, i64 16, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !18, i64 48, !19, i64 56, !19, i64 64, !18, i64 72, !18, i64 76, !18, i64 80, !18, i64 84, !18, i64 88, !7, i64 96, !18, i64 104, !18, i64 108, !7, i64 112, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !19, i64 152, !19, i64 160, !18, i64 168, !18, i64 172, !18, i64 176, !19, i64 184, !19, i64 192, !18, i64 200, !19, i64 208, !18, i64 216, !18, i64 220, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244, !18, i64 248, !18, i64 252, !18, i64 256, !18, i64 260, !18, i64 264, !18, i64 268, !18, i64 272, !18, i64 276, !18, i64 280, !18, i64 284, !18, i64 288, !18, i64 292, !8, i64 296, !18, i64 412, !18, i64 416, !18, i64 420, !18, i64 424, !18, i64 428, !18, i64 432, !18, i64 436, !18, i64 440, !18, i64 444, !19, i64 448, !19, i64 456, !19, i64 464, !18, i64 472, !18, i64 476, !18, i64 480, !18, i64 484, !18, i64 488, !18, i64 492, !18, i64 496, !18, i64 500, !18, i64 504, !18, i64 508, !18, i64 512, !18, i64 516, !18, i64 520, !18, i64 524, !18, i64 528, !18, i64 532, !18, i64 536, !18, i64 540, !19, i64 544, !18, i64 552, !18, i64 556, !18, i64 560, !18, i64 564, !18, i64 568, !18, i64 572, !18, i64 576, !18, i64 580, !19, i64 584, !18, i64 592, !7, i64 600, !7, i64 608, !18, i64 616, !18, i64 620, !18, i64 624, !18, i64 628, !18, i64 632, !7, i64 640, !18, i64 648, !7, i64 656, !18, i64 664, !8, i64 668, !18, i64 924, !8, i64 928, !8, i64 1184, !18, i64 1696, !18, i64 1700, !18, i64 1704, !18, i64 1708, !18, i64 1712, !18, i64 1716, !7, i64 1720, !7, i64 1728, !7, i64 1736, !7, i64 1744, !19, i64 1752, !19, i64 1760, !19, i64 1768, !19, i64 1776, !19, i64 1784, !19, i64 1792, !19, i64 1800, !19, i64 1808, !19, i64 1816, !19, i64 1824, !19, i64 1832, !19, i64 1840, !19, i64 1848, !18, i64 1856, !7, i64 1864, !19, i64 1872, !19, i64 1880, !19, i64 1888, !19, i64 1896, !8, i64 1904, !8, i64 1912, !8, i64 2112, !8, i64 2152, !8, i64 2352, !7, i64 2392, !7, i64 2400, !7, i64 2408, !7, i64 2416, !18, i64 2424, !18, i64 2428, !18, i64 2432, !7, i64 2440, !7, i64 2448, !7, i64 2456, !7, i64 2464, !7, i64 2472, !18, i64 2480, !18, i64 2484, !7, i64 2488, !18, i64 2496, !7, i64 2504, !7, i64 2512, !7, i64 2520, !7, i64 2528, !18, i64 2536, !18, i64 2540, !18, i64 2544, !18, i64 2548, !18, i64 2552, !18, i64 2556, !18, i64 2560, !20, i64 2568, !18, i64 2576, !18, i64 2580, !21, i64 2584, !18, i64 2588, !7, i64 2592, !18, i64 2600, !18, i64 2604, !19, i64 2608, !18, i64 2616, !19, i64 2624, !19, i64 2632, !19, i64 2640, !18, i64 2648, !18, i64 2652, !18, i64 2656, !18, i64 2660, !19, i64 2664, !19, i64 2672, !18, i64 2680, !18, i64 2684, !18, i64 2688, !18, i64 2692, !19, i64 2696, !19, i64 2704, !18, i64 2712, !18, i64 2716, !18, i64 2720, !18, i64 2724, !7, i64 2728, !7, i64 2736, !7, i64 2744, !7, i64 2752, !7, i64 2760, !7, i64 2768, !7, i64 2776, !7, i64 2784, !18, i64 2792, !7, i64 2800, !7, i64 2808, !18, i64 2816, !18, i64 2820, !18, i64 2824, !7, i64 2832, !19, i64 2840, !19, i64 2848, !19, i64 2856, !18, i64 2864, !18, i64 2868, !7, i64 2872, !18, i64 2880, !18, i64 2884, !8, i64 2888, !8, i64 3088, !18, i64 3128, !19, i64 3136, !7, i64 3144, !22, i64 3152, !23, i64 3304}
!18 = !{!"int", !8, i64 0}
!19 = !{!"double", !8, i64 0}
!20 = !{!"long", !8, i64 0}
!21 = !{!"_ZTS9qh_CENTER", !8, i64 0}
!22 = !{!"_ZTS6qhmemT", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !18, i64 20, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !18, i64 64, !7, i64 72, !7, i64 80, !18, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144}
!23 = !{!"_ZTS7qhstatT", !8, i64 0, !8, i64 1816, !8, i64 2056, !8, i64 3872, !8, i64 4326, !8, i64 4553, !8, i64 4784, !18, i64 4856, !18, i64 4860, !18, i64 4864, !18, i64 4868, !19, i64 4872}
!24 = !{!17, !19, i64 152}
!25 = !{!17, !18, i64 132}
!26 = !{!17, !18, i64 144}
!27 = !{!17, !18, i64 108}
!28 = !{!17, !18, i64 104}
!29 = !{!17, !18, i64 88}
!30 = !{!17, !18, i64 512}
!31 = !{!17, !18, i64 232}
!32 = !{!17, !7, i64 2440}
!33 = !{!34, !7, i64 56}
!34 = !{!"_ZTS6facetT", !19, i64 0, !19, i64 8, !19, i64 16, !7, i64 24, !8, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 113, !18, i64 113, !18, i64 113, !18, i64 113, !18, i64 113, !18, i64 113, !18, i64 113, !18, i64 114, !18, i64 114, !18, i64 114, !18, i64 114, !18, i64 114, !18, i64 114, !18, i64 114, !18, i64 114, !18, i64 115, !18, i64 115, !18, i64 115, !18, i64 115, !18, i64 115, !18, i64 115, !18, i64 115, !18, i64 115}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!17, !18, i64 572}
!38 = !{!17, !18, i64 520}
!39 = !{!17, !18, i64 516}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass