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

; 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::Coordinates::const_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.orgQhull::Coordinates::iterator" = type { %"class.__gnu_cxx::__normal_iterator.6" }
%"class.__gnu_cxx::__normal_iterator.6" = type { ptr }
%"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 }

@.str.7 = external hidden unnamed_addr constant [129 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8orgQhull5Qhull23initializeFeasiblePointEi(ptr noundef nonnull align 8 dereferenceable(64) %0, i32 noundef %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.orgQhull::Coordinates::const_iterator", align 8
  %7 = alloca %"class.orgQhull::Coordinates::iterator", align 8
  %8 = alloca %"class.orgQhull::Coordinates::const_iterator", align 8
  %9 = alloca %"class.orgQhull::Coordinates::iterator", align 8
  %10 = alloca %"class.orgQhull::Coordinates::const_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %11 = load ptr, ptr %3, align 8
  %12 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  %14 = getelementptr inbounds %struct.qhT, ptr %13, i32 0, i32 100
  %15 = load ptr, ptr %14, align 8, !tbaa !19
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %21

17:                                               ; preds = %2
  %18 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %20 = load i32, ptr %4, align 4, !tbaa !9
  call void @qh_setfeasible(ptr noundef %19, i32 noundef %20)
  br label %86

21:                                               ; preds = %2
  %22 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 3
  %23 = call noundef zeroext i1 @_ZNK8orgQhull11Coordinates7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(24) %22)
  br i1 %23, label %24, label %33

24:                                               ; preds = %21
  %25 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = getelementptr inbounds %struct.qhT, ptr %28, i32 0, i32 151
  %30 = load ptr, ptr %29, align 8, !tbaa !26
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %26, ptr noundef %30, i32 noundef 6209, ptr noundef @.str.7)
  %31 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  call void @qh_errexit(ptr noundef %32, i32 noundef 4, ptr noundef null, ptr noundef null)
  br label %33

33:                                               ; preds = %24, %21
  %34 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 3
  %35 = call noundef i64 @_ZNK8orgQhull11Coordinates4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34)
  %36 = load i32, ptr %4, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = icmp ne i64 %35, %37
  br i1 %38, label %39, label %51

39:                                               ; preds = %33
  %40 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !11
  %42 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds %struct.qhT, ptr %43, i32 0, i32 151
  %45 = load ptr, ptr %44, align 8, !tbaa !26
  %46 = load i32, ptr %4, align 4, !tbaa !9
  %47 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 3
  %48 = call noundef i64 @_ZNK8orgQhull11Coordinates4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %41, ptr noundef %45, i32 noundef 6210, ptr noundef @.str.8, i32 noundef %46, i64 noundef %48)
  %49 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !11
  call void @qh_errexit(ptr noundef %50, i32 noundef 4, ptr noundef null, ptr noundef null)
  br label %51

51:                                               ; preds = %39, %33
  %52 = load i32, ptr %4, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = mul i64 %53, 8
  %55 = call ptr @qh_malloc(i64 noundef %54)
  %56 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !11
  %58 = getelementptr inbounds %struct.qhT, ptr %57, i32 0, i32 101
  store ptr %55, ptr %58, align 8, !tbaa !27
  %59 = icmp ne ptr %55, null
  br i1 %59, label %69, label %60

60:                                               ; preds = %51
  %61 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  %65 = getelementptr inbounds %struct.qhT, ptr %64, i32 0, i32 151
  %66 = load ptr, ptr %65, align 8, !tbaa !26
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %62, ptr noundef %66, i32 noundef 6202, ptr noundef @.str.9)
  %67 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !11
  call void @qh_errexit(ptr noundef %68, i32 noundef 4, ptr noundef null, ptr noundef null)
  br label %69

69:                                               ; preds = %60, %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %70 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8, !tbaa !11
  %72 = getelementptr inbounds %struct.qhT, ptr %71, i32 0, i32 101
  %73 = load ptr, ptr %72, align 8, !tbaa !27
  store ptr %73, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %74 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 3
  call void @_ZN8orgQhull11Coordinates5beginEv(ptr dead_on_unwind writable sret(%"class.orgQhull::Coordinates::iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %74)
  call void @_ZN8orgQhull11Coordinates14const_iteratorC2ERKNS0_8iteratorE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %75

75:                                               ; preds = %84, %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %76 = getelementptr inbounds %"class.orgQhull::Qhull", ptr %11, i32 0, i32 3
  call void @_ZN8orgQhull11Coordinates3endEv(ptr dead_on_unwind writable sret(%"class.orgQhull::Coordinates::iterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %76)
  call void @_ZN8orgQhull11Coordinates14const_iteratorC2ERKNS0_8iteratorE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %77 = call noundef zeroext i1 @_ZNK8orgQhull11Coordinates14const_iteratorltERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br i1 %77, label %79, label %78

78:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %85

79:                                               ; preds = %75
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK8orgQhull11Coordinates14const_iteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %81 = load double, ptr %80, align 8, !tbaa !28
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds double, ptr %82, i32 1
  store ptr %83, ptr %5, align 8, !tbaa !5
  store double %81, ptr %82, align 8, !tbaa !28
  br label %84

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @_ZN8orgQhull11Coordinates14const_iteratorppEi(ptr dead_on_unwind writable sret(%"class.orgQhull::Coordinates::const_iterator") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %75, !llvm.loop !29

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

86:                                               ; preds = %85, %17
  ret void
}

declare void @qh_setfeasible(ptr noundef, i32 noundef) #2

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

declare void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #2

declare void @qh_errexit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

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

declare ptr @qh_malloc(i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull11Coordinates5beginEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::Coordinates::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull11Coordinates14const_iteratorltERKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull11Coordinates3endEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::Coordinates::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull11Coordinates14const_iteratorppEi(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::Coordinates::const_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

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

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

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


; 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::Coordinates::const_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.orgQhull::Coordinates::iterator" = type { %"class.__gnu_cxx::__normal_iterator.6" }
%"class.__gnu_cxx::__normal_iterator.6" = type { ptr }

@.str.7 = external hidden unnamed_addr constant [129 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1

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

; 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 uwtable
define dso_local void @_ZN8orgQhull5Qhull23initializeFeasiblePointEi(ptr noundef nonnull align 8 dereferenceable(64) %0, i32 noundef %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %"class.orgQhull::Coordinates::const_iterator", align 8
  %4 = alloca %"class.orgQhull::Coordinates::iterator", align 8
  %5 = alloca %"class.orgQhull::Coordinates::const_iterator", align 8
  %6 = alloca %"class.orgQhull::Coordinates::iterator", align 8
  %7 = alloca %"class.orgQhull::Coordinates::const_iterator", align 8
  %8 = load ptr, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 600
  %10 = load ptr, ptr %9, align 8, !tbaa !16
  %.not = icmp eq ptr %10, null
  br i1 %.not, label %12, label %11

11:                                               ; preds = %2
  tail call void @qh_setfeasible(ptr noundef nonnull %8, i32 noundef %1)
  br label %45

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = tail call noundef zeroext i1 @_ZNK8orgQhull11Coordinates7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  br i1 %14, label %15, label %20

15:                                               ; preds = %12
  %16 = load ptr, ptr %0, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 2408
  %18 = load ptr, ptr %17, align 8, !tbaa !24
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %16, ptr noundef %18, i32 noundef 6209, ptr noundef nonnull @.str.7)
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  tail call void @qh_errexit(ptr noundef %19, i32 noundef 4, ptr noundef null, ptr noundef null)
  br label %20

20:                                               ; preds = %15, %12
  %21 = tail call noundef i64 @_ZNK8orgQhull11Coordinates4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  %22 = sext i32 %1 to i64
  %.not5 = icmp eq i64 %21, %22
  br i1 %.not5, label %29, label %23

23:                                               ; preds = %20
  %24 = load ptr, ptr %0, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 2408
  %26 = load ptr, ptr %25, align 8, !tbaa !24
  %27 = tail call noundef i64 @_ZNK8orgQhull11Coordinates4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %24, ptr noundef %26, i32 noundef 6210, ptr noundef nonnull @.str.8, i32 noundef %1, i64 noundef %27)
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  tail call void @qh_errexit(ptr noundef %28, i32 noundef 4, ptr noundef null, ptr noundef null)
  br label %29

29:                                               ; preds = %23, %20
  %30 = shl nsw i64 %22, 3
  %31 = tail call ptr @qh_malloc(i64 noundef %30)
  %32 = load ptr, ptr %0, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 608
  store ptr %31, ptr %33, align 8, !tbaa !25
  %.not6 = icmp eq ptr %31, null
  br i1 %.not6, label %34, label %38

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %32, i64 2408
  %36 = load ptr, ptr %35, align 8, !tbaa !24
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %32, ptr noundef %36, i32 noundef 6202, ptr noundef nonnull @.str.9)
  %37 = load ptr, ptr %0, align 8, !tbaa !5
  tail call void @qh_errexit(ptr noundef %37, i32 noundef 4, ptr noundef null, ptr noundef null)
  %.pre = load ptr, ptr %0, align 8, !tbaa !5
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 608
  %.pre8 = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !25
  br label %38

38:                                               ; preds = %34, %29
  %39 = phi ptr [ %.pre8, %34 ], [ %31, %29 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @_ZN8orgQhull11Coordinates5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::Coordinates::iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @_ZN8orgQhull11Coordinates14const_iteratorC2ERKNS0_8iteratorE(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @_ZN8orgQhull11Coordinates3endEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::Coordinates::iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @_ZN8orgQhull11Coordinates14const_iteratorC2ERKNS0_8iteratorE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %40 = call noundef zeroext i1 @_ZNK8orgQhull11Coordinates14const_iteratorltERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br i1 %40, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  br label %45

.lr.ph:                                           ; preds = %38, %.lr.ph
  %.07 = phi ptr [ %43, %.lr.ph ], [ %39, %38 ]
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK8orgQhull11Coordinates14const_iteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %42 = load double, ptr %41, align 8, !tbaa !26
  %43 = getelementptr inbounds i8, ptr %.07, i64 8
  store double %42, ptr %.07, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  call void @_ZN8orgQhull11Coordinates14const_iteratorppEi(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::Coordinates::const_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @_ZN8orgQhull11Coordinates3endEv(ptr dead_on_unwind nonnull writable sret(%"class.orgQhull::Coordinates::iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @_ZN8orgQhull11Coordinates14const_iteratorC2ERKNS0_8iteratorE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %44 = call noundef zeroext i1 @_ZNK8orgQhull11Coordinates14const_iteratorltERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br i1 %44, label %.lr.ph, label %._crit_edge, !llvm.loop !27

45:                                               ; preds = %._crit_edge, %11
  ret void
}

declare void @qh_setfeasible(ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

declare void @qh_errexit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare ptr @qh_malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull11Coordinates5beginEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::Coordinates::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8orgQhull11Coordinates14const_iteratorltERKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull11Coordinates3endEv(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::Coordinates::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8orgQhull11Coordinates14const_iteratorppEi(ptr dead_on_unwind noalias writable sret(%"class.orgQhull::Coordinates::const_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"_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, !7, i64 600}
!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, !7, i64 2408}
!25 = !{!17, !7, i64 608}
!26 = !{!19, !19, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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