; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnextract/writers_vxl.ll (Z14throatMaxBallsRK12blockNetworkii)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.voxelField.0 = type { ptr, i64, %class.var3, %"class.std::vector.1" }
%class.var3 = type { i32, i32, i32 }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.57" = type { ptr }
%class.blockNetwork = type { ptr, i32, i32, i32, ptr, %"struct.std::array", %class.voxelImageT, %"class.std::vector.7", %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector.17", i32, i32, i32, i32 }
%"struct.std::array" = type { [8 x %class.voxel] }
%class.voxel = type <{ ptr, i16, i16, i16, [2 x i8], float, [4 x i8] }>
%class.voxelImageT = type { %class.voxelImageTBase, %class.voxelField.0, %class.var3.6, %class.var3.6 }
%class.voxelImageTBase = type { ptr }
%class.var3.6 = type { double, double, double }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl" }
%"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl" = type { %"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<poreNE *, std::allocator<poreNE *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl" }
%"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl" = type { %"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<throatNE *, std::allocator<throatNE *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<medialBall *, std::allocator<medialBall *>>::_Vector_impl" }
%"struct.std::_Vector_base<medialBall *, std::allocator<medialBall *>>::_Vector_impl" = type { %"struct.std::_Vector_base<medialBall *, std::allocator<medialBall *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<medialBall *, std::allocator<medialBall *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.inputDataNE = type { %class.InputFile.base, i32, i32, i32, i32, double, %class.var3.6, %"class.std::__cxx11::basic_string", i64, %"class.std::__cxx11::basic_string", %"class.std::vector.30", %class.segment, %"class.std::vector.1", %"class.std::vector.35", %class.voxelImageT.40 }
%class.InputFile.base = type <{ %"class.std::vector.22", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i8 }>
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<segments>, std::allocator<std::vector<segments>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.segment = type { i32, i8, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl" }
%"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<poroRange, std::allocator<poroRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.voxelImageT.40 = type { %class.voxelImageTBase, %class.voxelField.41, %class.var3.6, %class.var3.6 }
%class.voxelField.41 = type { ptr, i64, %class.var3, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.medialBall = type { ptr, float, float, float, i16, float, i16, i16, i16, i16, i16, ptr, ptr, ptr }
%class.throatNE = type { i32, i32, i32, i32, i32, i16, i16, %"class.std::vector.58", %"class.std::vector.58", %class.var3.6 }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<voxel *, std::allocator<voxel *>>::_Vector_impl" }
%"struct.std::_Vector_base<voxel *, std::allocator<voxel *>>::_Vector_impl" = type { %"struct.std::_Vector_base<voxel *, std::allocator<voxel *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<voxel *, std::allocator<voxel *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 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)) #0

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

declare i32 @__gxx_personality_v0(...)

; 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 ptr @_ZNKSt6vectorIP8throatNESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8throatNESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14throatMaxBallsRK12blockNetworkii(ptr dead_on_unwind noalias writable sret(%class.voxelField.0) align 8 %0, ptr noundef nonnull align 8 dereferenceable(448) %1, i32 noundef %2, i32 noundef %3) #1 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.57", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.57", align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca float, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i1 false, ptr %9, align 1
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %class.blockNetwork, ptr %33, i32 0, i32 4
  %35 = load ptr, ptr %34, align 8, !tbaa !11
  %36 = getelementptr inbounds %class.inputDataNE, ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 4, !tbaa !37
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %class.blockNetwork, ptr %38, i32 0, i32 4
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = getelementptr inbounds %class.inputDataNE, ptr %40, i32 0, i32 2
  %42 = load i32, ptr %41, align 8, !tbaa !63
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = load i32, ptr %7, align 4, !tbaa !9
  %45 = sub nsw i32 %43, %44
  call void @_ZN10voxelFieldIiEC2Eiiii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %37, i32 noundef %42, i32 noundef %45, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %class.blockNetwork, ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !64
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %49, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.blockNetwork, ptr %50, i32 0, i32 8
  store ptr %51, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = call ptr @_ZNKSt6vectorIP8throatNESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #6
  %54 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.57", ptr %12, i32 0, i32 0
  store ptr %53, ptr %54, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = call ptr @_ZNKSt6vectorIP8throatNESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #6
  %57 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.57", ptr %13, i32 0, i32 0
  store ptr %56, ptr %57, align 8
  br label %58

58:                                               ; preds = %281, %4
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8throatNESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %59, label %61, label %60

60:                                               ; preds = %58
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %287

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8throatNESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  store ptr %63, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %64 = load ptr, ptr %15, align 8, !tbaa !5
  %65 = invoke noundef ptr @_ZNK8throatNE4mb11Ev(ptr noundef nonnull align 8 dereferenceable(96) %64)
          to label %66 unwind label %87

66:                                               ; preds = %61
  store ptr %65, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = invoke noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %67)
          to label %69 unwind label %91

69:                                               ; preds = %66
  store ptr %68, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %70 = load ptr, ptr %16, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %104

72:                                               ; preds = %69
  %73 = load ptr, ptr %19, align 8, !tbaa !5
  %74 = icmp ne ptr %73, null
  br i1 %74, label %75, label %104

75:                                               ; preds = %72
  %76 = load ptr, ptr %16, align 8, !tbaa !5
  %77 = getelementptr inbounds %class.medialBall, ptr %76, i32 0, i32 5
  %78 = load float, ptr %77, align 8, !tbaa !65
  %79 = load ptr, ptr %19, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.medialBall, ptr %79, i32 0, i32 5
  %81 = load float, ptr %80, align 8, !tbaa !65
  %82 = fcmp ogt float %78, %81
  br i1 %82, label %83, label %99

83:                                               ; preds = %75
  %84 = load ptr, ptr %15, align 8, !tbaa !5
  %85 = invoke noundef ptr @_ZNK8throatNE4mb11Ev(ptr noundef nonnull align 8 dereferenceable(96) %84)
          to label %86 unwind label %95

86:                                               ; preds = %83
  store ptr %85, ptr %20, align 8, !tbaa !5
  br label %103

87:                                               ; preds = %61
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %17, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %18, align 4
  br label %286

91:                                               ; preds = %66
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %17, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %18, align 4
  br label %285

95:                                               ; preds = %111, %107, %99, %83
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %17, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %18, align 4
  br label %284

99:                                               ; preds = %75
  %100 = load ptr, ptr %15, align 8, !tbaa !5
  %101 = invoke noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %100)
          to label %102 unwind label %95

102:                                              ; preds = %99
  store ptr %101, ptr %20, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %102, %86
  br label %116

104:                                              ; preds = %72, %69
  %105 = load ptr, ptr %16, align 8, !tbaa !5
  %106 = icmp ne ptr %105, null
  br i1 %106, label %107, label %111

107:                                              ; preds = %104
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = invoke noundef ptr @_ZNK8throatNE4mb11Ev(ptr noundef nonnull align 8 dereferenceable(96) %108)
          to label %110 unwind label %95

110:                                              ; preds = %107
  store ptr %109, ptr %20, align 8, !tbaa !5
  br label %115

111:                                              ; preds = %104
  %112 = load ptr, ptr %15, align 8, !tbaa !5
  %113 = invoke noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %112)
          to label %114 unwind label %95

114:                                              ; preds = %111
  store ptr %113, ptr %20, align 8, !tbaa !5
  br label %115

115:                                              ; preds = %114, %110
  br label %116

116:                                              ; preds = %115, %103
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %117 = load ptr, ptr %20, align 8, !tbaa !5
  %118 = getelementptr inbounds %class.medialBall, ptr %117, i32 0, i32 1
  %119 = load float, ptr %118, align 8, !tbaa !69
  %120 = fptosi float %119 to i32
  store i32 %120, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %121 = load ptr, ptr %20, align 8, !tbaa !5
  %122 = getelementptr inbounds %class.medialBall, ptr %121, i32 0, i32 2
  %123 = load float, ptr %122, align 4, !tbaa !70
  %124 = fptosi float %123 to i32
  store i32 %124, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %125 = load ptr, ptr %20, align 8, !tbaa !5
  %126 = getelementptr inbounds %class.medialBall, ptr %125, i32 0, i32 3
  %127 = load float, ptr %126, align 8, !tbaa !71
  %128 = fptosi float %127 to i32
  store i32 %128, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %129 = load ptr, ptr %20, align 8, !tbaa !5
  %130 = getelementptr inbounds %class.medialBall, ptr %129, i32 0, i32 5
  %131 = load float, ptr %130, align 8, !tbaa !65
  %132 = load ptr, ptr %20, align 8, !tbaa !5
  %133 = getelementptr inbounds %class.medialBall, ptr %132, i32 0, i32 5
  %134 = load float, ptr %133, align 8, !tbaa !65
  %135 = fmul float %131, %134
  store float %135, ptr %24, align 4, !tbaa !72
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %136 = load float, ptr %24, align 4, !tbaa !72
  %137 = invoke noundef float @_ZSt4sqrtf(float noundef %136)
          to label %138 unwind label %148

138:                                              ; preds = %116
  %139 = fmul float 1.000000e+00, %137
  %140 = fptosi float %139 to i32
  store i32 %140, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %141 = load i32, ptr %25, align 4, !tbaa !9
  %142 = sub nsw i32 0, %141
  store i32 %142, ptr %28, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %276, %138
  %144 = load i32, ptr %28, align 4, !tbaa !9
  %145 = load i32, ptr %25, align 4, !tbaa !9
  %146 = icmp sle i32 %144, %145
  br i1 %146, label %152, label %147

147:                                              ; preds = %143
  store i32 4, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %280

148:                                              ; preds = %116
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %17, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %18, align 4
  br label %283

152:                                              ; preds = %143
  %153 = load float, ptr %24, align 4, !tbaa !72
  %154 = load i32, ptr %28, align 4, !tbaa !9
  %155 = load i32, ptr %28, align 4, !tbaa !9
  %156 = mul nsw i32 %154, %155
  %157 = sitofp i32 %156 to float
  %158 = fneg float %157
  %159 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %153, float %158)
  %160 = invoke noundef float @_ZSt4sqrtf(float noundef %159)
          to label %161 unwind label %170

161:                                              ; preds = %152
  %162 = fptosi float %160 to i32
  store i32 %162, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %163 = load i32, ptr %26, align 4, !tbaa !9
  %164 = sub nsw i32 0, %163
  store i32 %164, ptr %29, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %271, %161
  %166 = load i32, ptr %29, align 4, !tbaa !9
  %167 = load i32, ptr %26, align 4, !tbaa !9
  %168 = icmp sle i32 %166, %167
  br i1 %168, label %174, label %169

169:                                              ; preds = %165
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %275

170:                                              ; preds = %152
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %17, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %18, align 4
  br label %279

174:                                              ; preds = %165
  %175 = load float, ptr %24, align 4, !tbaa !72
  %176 = load i32, ptr %28, align 4, !tbaa !9
  %177 = load i32, ptr %28, align 4, !tbaa !9
  %178 = mul nsw i32 %176, %177
  %179 = sitofp i32 %178 to float
  %180 = fneg float %179
  %181 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %175, float %180)
  %182 = load i32, ptr %29, align 4, !tbaa !9
  %183 = load i32, ptr %29, align 4, !tbaa !9
  %184 = mul nsw i32 %182, %183
  %185 = sitofp i32 %184 to float
  %186 = fsub float %181, %185
  %187 = invoke noundef float @_ZSt4sqrtf(float noundef %186)
          to label %188 unwind label %197

188:                                              ; preds = %174
  %189 = fptosi float %187 to i32
  store i32 %189, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %190 = load i32, ptr %27, align 4, !tbaa !9
  %191 = sub nsw i32 0, %190
  store i32 %191, ptr %30, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %267, %188
  %193 = load i32, ptr %30, align 4, !tbaa !9
  %194 = load i32, ptr %27, align 4, !tbaa !9
  %195 = icmp sle i32 %193, %194
  br i1 %195, label %201, label %196

196:                                              ; preds = %192
  store i32 10, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %270

197:                                              ; preds = %174
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %17, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %18, align 4
  br label %274

201:                                              ; preds = %192
  %202 = load ptr, ptr %10, align 8, !tbaa !5
  %203 = load i32, ptr %21, align 4, !tbaa !9
  %204 = load i32, ptr %28, align 4, !tbaa !9
  %205 = add nsw i32 %203, %204
  %206 = load i32, ptr %22, align 4, !tbaa !9
  %207 = load i32, ptr %29, align 4, !tbaa !9
  %208 = add nsw i32 %206, %207
  %209 = load i32, ptr %23, align 4, !tbaa !9
  %210 = load i32, ptr %30, align 4, !tbaa !9
  %211 = add nsw i32 %209, %210
  %212 = invoke noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252) %202, i32 noundef %205, i32 noundef %208, i32 noundef %211)
          to label %213 unwind label %262

213:                                              ; preds = %201
  br i1 %212, label %214, label %266

214:                                              ; preds = %213
  %215 = load i32, ptr %23, align 4, !tbaa !9
  %216 = load i32, ptr %30, align 4, !tbaa !9
  %217 = add nsw i32 %215, %216
  %218 = load i32, ptr %7, align 4, !tbaa !9
  %219 = icmp sge i32 %217, %218
  br i1 %219, label %220, label %266

220:                                              ; preds = %214
  %221 = load i32, ptr %23, align 4, !tbaa !9
  %222 = load i32, ptr %30, align 4, !tbaa !9
  %223 = add nsw i32 %221, %222
  %224 = load i32, ptr %8, align 4, !tbaa !9
  %225 = icmp slt i32 %223, %224
  br i1 %225, label %226, label %266

226:                                              ; preds = %220
  %227 = load i32, ptr %21, align 4, !tbaa !9
  %228 = load i32, ptr %28, align 4, !tbaa !9
  %229 = add nsw i32 %227, %228
  %230 = load i32, ptr %22, align 4, !tbaa !9
  %231 = load i32, ptr %29, align 4, !tbaa !9
  %232 = add nsw i32 %230, %231
  %233 = load i32, ptr %23, align 4, !tbaa !9
  %234 = load i32, ptr %7, align 4, !tbaa !9
  %235 = sub nsw i32 %233, %234
  %236 = load i32, ptr %30, align 4, !tbaa !9
  %237 = add nsw i32 %235, %236
  %238 = sext i32 %237 to i64
  %239 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %229, i32 noundef %232, i64 noundef %238)
          to label %240 unwind label %262

240:                                              ; preds = %226
  %241 = load i32, ptr %239, align 4, !tbaa !9
  %242 = icmp eq i32 %241, 0
  br i1 %242, label %243, label %266

243:                                              ; preds = %240
  %244 = load ptr, ptr %15, align 8, !tbaa !5
  %245 = getelementptr inbounds %class.throatNE, ptr %244, i32 0, i32 0
  %246 = load i32, ptr %245, align 8, !tbaa !73
  %247 = add nsw i32 %246, 1
  %248 = load i32, ptr %21, align 4, !tbaa !9
  %249 = load i32, ptr %28, align 4, !tbaa !9
  %250 = add nsw i32 %248, %249
  %251 = load i32, ptr %22, align 4, !tbaa !9
  %252 = load i32, ptr %29, align 4, !tbaa !9
  %253 = add nsw i32 %251, %252
  %254 = load i32, ptr %23, align 4, !tbaa !9
  %255 = load i32, ptr %7, align 4, !tbaa !9
  %256 = sub nsw i32 %254, %255
  %257 = load i32, ptr %30, align 4, !tbaa !9
  %258 = add nsw i32 %256, %257
  %259 = sext i32 %258 to i64
  %260 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %250, i32 noundef %253, i64 noundef %259)
          to label %261 unwind label %262

261:                                              ; preds = %243
  store i32 %247, ptr %260, align 4, !tbaa !9
  br label %266

262:                                              ; preds = %243, %226, %201
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %17, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %274

266:                                              ; preds = %261, %240, %220, %214, %213
  br label %267

267:                                              ; preds = %266
  %268 = load i32, ptr %30, align 4, !tbaa !9
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %30, align 4, !tbaa !9
  br label %192, !llvm.loop !79

270:                                              ; preds = %196
  br label %271

271:                                              ; preds = %270
  %272 = load i32, ptr %29, align 4, !tbaa !9
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %29, align 4, !tbaa !9
  br label %165, !llvm.loop !81

274:                                              ; preds = %262, %197
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %279

275:                                              ; preds = %169
  br label %276

276:                                              ; preds = %275
  %277 = load i32, ptr %28, align 4, !tbaa !9
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr %28, align 4, !tbaa !9
  br label %143, !llvm.loop !82

279:                                              ; preds = %274, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %283

280:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %281

281:                                              ; preds = %280
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8throatNESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %58

283:                                              ; preds = %279, %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %284

284:                                              ; preds = %283, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %285

285:                                              ; preds = %284, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %286

286:                                              ; preds = %285, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #6
  br label %291

287:                                              ; preds = %60
  store i1 true, ptr %9, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %288 = load i1, ptr %9, align 1
  br i1 %288, label %290, label %289

289:                                              ; preds = %287
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #6
  br label %290

290:                                              ; preds = %289, %287
  ret void

291:                                              ; preds = %286
  %292 = load ptr, ptr %17, align 8
  %293 = load i32, ptr %18, align 4
  %294 = insertvalue { ptr, i32 } poison, ptr %292, 0
  %295 = insertvalue { ptr, i32 } %294, i32 %293, 1
  resume { ptr, i32 } %295
}

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 24}
!12 = !{!"_ZTS12blockNetwork", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !13, i64 32, !14, i64 224, !25, i64 336, !29, i64 360, !33, i64 384, !33, i64 408, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444}
!13 = !{!"_ZTSSt5arrayI5voxelLm8EE", !7, i64 0}
!14 = !{!"_ZTS11voxelImageTIiE", !15, i64 0, !16, i64 8, !23, i64 64, !23, i64 88}
!15 = !{!"_ZTS15voxelImageTBase"}
!16 = !{!"_ZTS10voxelFieldIiE", !17, i64 8, !18, i64 16, !19, i64 32}
!17 = !{!"long long", !7, i64 0}
!18 = !{!"_ZTS4var3IiE", !10, i64 0, !10, i64 4, !10, i64 8}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTS4var3IdE", !24, i64 0, !24, i64 8, !24, i64 16}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTSSt6vectorIP6poreNESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIP6poreNESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorIP8throatNESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIP8throatNESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIP10medialBallSaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIP10medialBallSaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!38, !10, i64 124}
!38 = !{!"_ZTS11inputDataNE", !39, i64 0, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !24, i64 144, !23, i64 152, !44, i64 176, !17, i64 208, !44, i64 216, !48, i64 248, !52, i64 272, !19, i64 288, !53, i64 312, !57, i64 336}
!39 = !{!"_ZTS9InputFile", !40, i64 0, !44, i64 24, !44, i64 56, !44, i64 88, !47, i64 120, !47, i64 121}
!40 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !45, i64 0, !46, i64 8, !7, i64 16}
!45 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!46 = !{!"long", !7, i64 0}
!47 = !{!"bool", !7, i64 0}
!48 = !{!"_ZTSSt6vectorIS_I8segmentsSaIS0_EESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!52 = !{!"_ZTS7segment", !10, i64 0, !7, i64 4, !6, i64 8}
!53 = !{!"_ZTSSt6vectorI9poroRangeSaIS0_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseI9poroRangeSaIS0_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTS11voxelImageTIhE", !15, i64 0, !58, i64 8, !23, i64 64, !23, i64 88}
!58 = !{!"_ZTS10voxelFieldIhE", !17, i64 8, !18, i64 16, !59, i64 32}
!59 = !{!"_ZTSSt6vectorIhSaIhEE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!63 = !{!38, !10, i64 128}
!64 = !{!12, !6, i64 0}
!65 = !{!66, !67, i64 24}
!66 = !{!"_ZTS10medialBall", !6, i64 0, !67, i64 8, !67, i64 12, !67, i64 16, !68, i64 20, !67, i64 24, !68, i64 28, !68, i64 30, !68, i64 32, !68, i64 34, !68, i64 36, !6, i64 40, !6, i64 48, !6, i64 56}
!67 = !{!"float", !7, i64 0}
!68 = !{!"short", !7, i64 0}
!69 = !{!66, !67, i64 8}
!70 = !{!66, !67, i64 12}
!71 = !{!66, !67, i64 16}
!72 = !{!67, !67, i64 0}
!73 = !{!74, !10, i64 0}
!74 = !{!"_ZTS8throatNE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !68, i64 20, !68, i64 22, !75, i64 24, !75, i64 48, !23, i64 72}
!75 = !{!"_ZTSSt6vectorIP5voxelSaIS1_EE", !76, i64 0}
!76 = !{!"_ZTSSt12_Vector_baseIP5voxelSaIS1_EE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE12_Vector_implE", !78, i64 0}
!78 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!79 = distinct !{!79, !80}
!80 = !{!"llvm.loop.mustprogress"}
!81 = distinct !{!81, !80}
!82 = distinct !{!82, !80}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.voxelField.0 = type { ptr, i64, %class.var3, %"class.std::vector.1" }
%class.var3 = type { i32, i32, i32 }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.57" = type { ptr }

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; 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 ptr @_ZNKSt6vectorIP8throatNESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8throatNESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14throatMaxBallsRK12blockNetworkii(ptr dead_on_unwind noalias writable sret(%class.voxelField.0) align 8 %0, ptr noundef nonnull align 8 dereferenceable(448) %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.57", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.57", align 8
  %7 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %9 = getelementptr inbounds i8, ptr %1, i64 24
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 124
  %12 = load i32, ptr %11, align 4, !tbaa !35
  %13 = getelementptr inbounds i8, ptr %10, i64 128
  %14 = load i32, ptr %13, align 8, !tbaa !61
  %15 = sub nsw i32 %3, %2
  tail call void @_ZN10voxelFieldIiEC2Eiiii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef 0)
  %16 = load ptr, ptr %1, align 8, !tbaa !62
  %17 = load ptr, ptr %16, align 8, !tbaa !63
  %18 = getelementptr inbounds i8, ptr %1, i64 360
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %19 = tail call ptr @_ZNKSt6vectorIP8throatNESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  store ptr %19, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %20 = tail call ptr @_ZNKSt6vectorIP8throatNESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  store ptr %20, ptr %6, align 8
  %21 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8throatNESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %21, label %.lr.ph101, label %._crit_edge102

.lr.ph101:                                        ; preds = %4
  %22 = sext i32 %2 to i64
  %23 = sext i32 %3 to i64
  br label %24

._crit_edge102:                                   ; preds = %._crit_edge99, %4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  ret void

24:                                               ; preds = %.lr.ph101, %._crit_edge99
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8throatNESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %26 = load ptr, ptr %25, align 8, !tbaa !63
  %27 = call noundef ptr @_ZNK8throatNE4mb11Ev(ptr noundef nonnull align 8 dereferenceable(96) %26)
  %28 = call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %26)
  %29 = icmp ne ptr %27, null
  %30 = icmp ne ptr %28, null
  %or.cond = and i1 %29, %30
  br i1 %or.cond, label %31, label %41

31:                                               ; preds = %24
  %32 = getelementptr inbounds i8, ptr %27, i64 24
  %33 = load float, ptr %32, align 8, !tbaa !64
  %34 = getelementptr inbounds i8, ptr %28, i64 24
  %35 = load float, ptr %34, align 8, !tbaa !64
  %36 = fcmp ogt float %33, %35
  br i1 %36, label %37, label %39

37:                                               ; preds = %31
  %38 = call noundef ptr @_ZNK8throatNE4mb11Ev(ptr noundef nonnull align 8 dereferenceable(96) %26)
  br label %46

39:                                               ; preds = %31
  %40 = call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %26)
  br label %46

41:                                               ; preds = %24
  br i1 %29, label %42, label %44

42:                                               ; preds = %41
  %43 = call noundef ptr @_ZNK8throatNE4mb11Ev(ptr noundef nonnull align 8 dereferenceable(96) %26)
  br label %46

44:                                               ; preds = %41
  %45 = call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %26)
  br label %46

46:                                               ; preds = %42, %44, %37, %39
  %.076 = phi ptr [ %38, %37 ], [ %40, %39 ], [ %43, %42 ], [ %45, %44 ]
  %47 = getelementptr inbounds i8, ptr %.076, i64 8
  %48 = load float, ptr %47, align 8, !tbaa !68
  %49 = fptosi float %48 to i32
  %50 = getelementptr inbounds i8, ptr %.076, i64 12
  %51 = load float, ptr %50, align 4, !tbaa !69
  %52 = fptosi float %51 to i32
  %53 = getelementptr inbounds i8, ptr %.076, i64 16
  %54 = load float, ptr %53, align 8, !tbaa !70
  %55 = getelementptr inbounds i8, ptr %.076, i64 24
  %56 = load float, ptr %55, align 8, !tbaa !64
  %57 = fmul float %56, %56
  %58 = call noundef float @_ZSt4sqrtf(float noundef %57)
  %59 = fptosi float %58 to i32
  %.not95 = icmp slt i32 %59, 0
  br i1 %.not95, label %._crit_edge99, label %.lr.ph98

.lr.ph98:                                         ; preds = %46
  %60 = fptosi float %54 to i32
  %61 = sub nsw i32 0, %59
  %62 = sub i32 %60, %2
  %63 = sext i32 %60 to i64
  %64 = sext i32 %62 to i64
  br label %67

._crit_edge99:                                    ; preds = %._crit_edge94, %46
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8throatNESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8throatNESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %66, label %24, label %._crit_edge102

67:                                               ; preds = %.lr.ph98, %._crit_edge94
  %.07596 = phi i32 [ %61, %.lr.ph98 ], [ %75, %._crit_edge94 ]
  %68 = mul nsw i32 %.07596, %.07596
  %69 = uitofp nneg i32 %68 to float
  %70 = fsub float %57, %69
  %71 = call noundef float @_ZSt4sqrtf(float noundef %70)
  %72 = fptosi float %71 to i32
  %.not8190 = icmp slt i32 %72, 0
  br i1 %.not8190, label %._crit_edge94, label %.lr.ph93

.lr.ph93:                                         ; preds = %67
  %73 = sub nsw i32 0, %72
  %74 = add nsw i32 %.07596, %49
  br label %76

._crit_edge94:                                    ; preds = %._crit_edge, %67
  %75 = add i32 %.07596, 1
  %exitcond105.not = icmp eq i32 %.07596, %59
  br i1 %exitcond105.not, label %._crit_edge99, label %67, !llvm.loop !71

76:                                               ; preds = %.lr.ph93, %._crit_edge
  %.07491 = phi i32 [ %73, %.lr.ph93 ], [ %86, %._crit_edge ]
  %77 = mul nsw i32 %.07491, %.07491
  %78 = uitofp nneg i32 %77 to float
  %79 = fsub float %70, %78
  %80 = call noundef float @_ZSt4sqrtf(float noundef %79)
  %81 = fptosi float %80 to i32
  %.not8288 = icmp slt i32 %81, 0
  br i1 %.not8288, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %76
  %82 = sub nsw i32 0, %81
  %83 = add nsw i32 %.07491, %52
  %84 = sext i32 %82 to i64
  %85 = add nuw i32 %81, 1
  br label %87

._crit_edge:                                      ; preds = %101, %76
  %86 = add i32 %.07491, 1
  %exitcond104.not = icmp eq i32 %.07491, %72
  br i1 %exitcond104.not, label %._crit_edge94, label %76, !llvm.loop !73

87:                                               ; preds = %.lr.ph, %101
  %indvars.iv = phi i64 [ %84, %.lr.ph ], [ %indvars.iv.next, %101 ]
  %88 = add nsw i64 %indvars.iv, %63
  %89 = trunc nsw i64 %88 to i32
  %90 = call noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252) %17, i32 noundef %74, i32 noundef %83, i32 noundef %89)
  %.not83 = icmp sge i64 %88, %22
  %or.cond85.not87 = and i1 %.not83, %90
  %91 = icmp slt i64 %88, %23
  %or.cond86 = and i1 %91, %or.cond85.not87
  br i1 %or.cond86, label %92, label %101

92:                                               ; preds = %87
  %93 = add nsw i64 %indvars.iv, %64
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %74, i32 noundef %83, i64 noundef %93)
  %95 = load i32, ptr %94, align 4, !tbaa !74
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %101

97:                                               ; preds = %92
  %98 = load i32, ptr %26, align 8, !tbaa !75
  %99 = add nsw i32 %98, 1
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %74, i32 noundef %83, i64 noundef %93)
  store i32 %99, ptr %100, align 4, !tbaa !74
  br label %101

101:                                              ; preds = %87, %92, %97
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %85, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %87, !llvm.loop !81
}

attributes #0 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 24}
!6 = !{!"_ZTS12blockNetwork", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !11, i64 32, !12, i64 224, !23, i64 336, !27, i64 360, !31, i64 384, !31, i64 408, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt5arrayI5voxelLm8EE", !8, i64 0}
!12 = !{!"_ZTS11voxelImageTIiE", !13, i64 0, !14, i64 8, !21, i64 64, !21, i64 88}
!13 = !{!"_ZTS15voxelImageTBase"}
!14 = !{!"_ZTS10voxelFieldIiE", !15, i64 8, !16, i64 16, !17, i64 32}
!15 = !{!"long long", !8, i64 0}
!16 = !{!"_ZTS4var3IiE", !10, i64 0, !10, i64 4, !10, i64 8}
!17 = !{!"_ZTSSt6vectorIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!"_ZTS4var3IdE", !22, i64 0, !22, i64 8, !22, i64 16}
!22 = !{!"double", !8, i64 0}
!23 = !{!"_ZTSSt6vectorIP6poreNESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP6poreNESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP6poreNESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!27 = !{!"_ZTSSt6vectorIP8throatNESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIP8throatNESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP8throatNESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!31 = !{!"_ZTSSt6vectorIP10medialBallSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIP10medialBallSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP10medialBallSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!35 = !{!36, !10, i64 124}
!36 = !{!"_ZTS11inputDataNE", !37, i64 0, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !22, i64 144, !21, i64 152, !42, i64 176, !15, i64 208, !42, i64 216, !46, i64 248, !50, i64 272, !17, i64 288, !51, i64 312, !55, i64 336}
!37 = !{!"_ZTS9InputFile", !38, i64 0, !42, i64 24, !42, i64 56, !42, i64 88, !45, i64 120, !45, i64 121}
!38 = !{!"_ZTSSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!42 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !43, i64 0, !44, i64 8, !8, i64 16}
!43 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!44 = !{!"long", !8, i64 0}
!45 = !{!"bool", !8, i64 0}
!46 = !{!"_ZTSSt6vectorIS_I8segmentsSaIS0_EESaIS2_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseISt6vectorI8segmentsSaIS1_EESaIS3_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!50 = !{!"_ZTS7segment", !10, i64 0, !8, i64 4, !7, i64 8}
!51 = !{!"_ZTSSt6vectorI9poroRangeSaIS0_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseI9poroRangeSaIS0_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseI9poroRangeSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!55 = !{!"_ZTS11voxelImageTIhE", !13, i64 0, !56, i64 8, !21, i64 64, !21, i64 88}
!56 = !{!"_ZTS10voxelFieldIhE", !15, i64 8, !16, i64 16, !57, i64 32}
!57 = !{!"_ZTSSt6vectorIhSaIhEE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!61 = !{!36, !10, i64 128}
!62 = !{!6, !7, i64 0}
!63 = !{!7, !7, i64 0}
!64 = !{!65, !66, i64 24}
!65 = !{!"_ZTS10medialBall", !7, i64 0, !66, i64 8, !66, i64 12, !66, i64 16, !67, i64 20, !66, i64 24, !67, i64 28, !67, i64 30, !67, i64 32, !67, i64 34, !67, i64 36, !7, i64 40, !7, i64 48, !7, i64 56}
!66 = !{!"float", !8, i64 0}
!67 = !{!"short", !8, i64 0}
!68 = !{!65, !66, i64 8}
!69 = !{!65, !66, i64 12}
!70 = !{!65, !66, i64 16}
!71 = distinct !{!71, !72}
!72 = !{!"llvm.loop.mustprogress"}
!73 = distinct !{!73, !72}
!74 = !{!10, !10, i64 0}
!75 = !{!76, !10, i64 0}
!76 = !{!"_ZTS8throatNE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !67, i64 20, !67, i64 22, !77, i64 24, !77, i64 48, !21, i64 72}
!77 = !{!"_ZTSSt6vectorIP5voxelSaIS1_EE", !78, i64 0}
!78 = !{!"_ZTSSt12_Vector_baseIP5voxelSaIS1_EE", !79, i64 0}
!79 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE12_Vector_implE", !80, i64 0}
!80 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!81 = distinct !{!81, !72}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass