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

; 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.64" = 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.medialSurface = type <{ ptr, i32, i32, i32, [4 x i8], i64, i64, ptr, %class.segment, %"class.std::vector.47", %"class.std::vector.52", %class.medialBall, float, [4 x i8], double, double, double, double, double, double, i32, [4 x i8], double, float, [4 x i8] }>
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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 }
%"class.std::vector.52" = type { %"struct.std::_Vector_base.53" }
%"struct.std::_Vector_base.53" = 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.medialBall = type { ptr, float, float, float, i16, float, i16, i16, i16, i16, i16, ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [23 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 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 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: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorI10medialBallSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorI10medialBallSaIS0_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_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(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(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64)) #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 nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(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_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

55:                                               ; preds = %242, %4
  %56 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %56, label %58, label %57

57:                                               ; preds = %55
  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 %245

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %59 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  store ptr %59, ptr %15, align 8, !tbaa !5
  %60 = load ptr, ptr %15, align 8, !tbaa !5
  %61 = invoke noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64) %60)
          to label %62 unwind label %97

62:                                               ; preds = %58
  %63 = sext i16 %61 to i32
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %65, label %241

65:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.medialBall, ptr %66, i32 0, i32 1
  %68 = load float, ptr %67, align 8, !tbaa !65
  %69 = fptosi float %68 to i32
  store i32 %69, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = getelementptr inbounds %class.medialBall, ptr %70, i32 0, i32 2
  %72 = load float, ptr %71, align 4, !tbaa !69
  %73 = fptosi float %72 to i32
  store i32 %73, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = getelementptr inbounds %class.medialBall, ptr %74, i32 0, i32 3
  %76 = load float, ptr %75, align 8, !tbaa !70
  %77 = fptosi float %76 to i32
  store i32 %77, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %78 = load ptr, ptr %15, align 8, !tbaa !5
  %79 = getelementptr inbounds %class.medialBall, ptr %78, i32 0, i32 5
  %80 = load float, ptr %79, align 8, !tbaa !71
  %81 = load ptr, ptr %15, align 8, !tbaa !5
  %82 = getelementptr inbounds %class.medialBall, ptr %81, i32 0, i32 5
  %83 = load float, ptr %82, align 8, !tbaa !71
  %84 = fmul float %80, %83
  store float %84, ptr %21, align 4, !tbaa !72
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %85 = load float, ptr %21, align 4, !tbaa !72
  %86 = invoke noundef float @_ZSt4sqrtf(float noundef %85)
          to label %87 unwind label %101

87:                                               ; preds = %65
  %88 = fmul float 1.000000e+00, %86
  %89 = fptosi float %88 to i32
  store i32 %89, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %90 = load i32, ptr %22, align 4, !tbaa !9
  %91 = sub nsw i32 0, %90
  store i32 %91, ptr %25, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %235, %87
  %93 = load i32, ptr %25, align 4, !tbaa !9
  %94 = load i32, ptr %22, align 4, !tbaa !9
  %95 = icmp sle i32 %93, %94
  br i1 %95, label %105, label %96

96:                                               ; preds = %92
  store i32 4, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %239

97:                                               ; preds = %58
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %16, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %17, align 4
  br label %244

101:                                              ; preds = %65
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %16, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %17, align 4
  br label %240

105:                                              ; preds = %92
  %106 = load float, ptr %21, align 4, !tbaa !72
  %107 = load i32, ptr %25, align 4, !tbaa !9
  %108 = load i32, ptr %25, align 4, !tbaa !9
  %109 = mul nsw i32 %107, %108
  %110 = sitofp i32 %109 to float
  %111 = fneg float %110
  %112 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %106, float %111)
  %113 = invoke noundef float @_ZSt4sqrtf(float noundef %112)
          to label %114 unwind label %123

114:                                              ; preds = %105
  %115 = fptosi float %113 to i32
  store i32 %115, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %116 = load i32, ptr %23, align 4, !tbaa !9
  %117 = sub nsw i32 0, %116
  store i32 %117, ptr %26, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %230, %114
  %119 = load i32, ptr %26, align 4, !tbaa !9
  %120 = load i32, ptr %23, align 4, !tbaa !9
  %121 = icmp sle i32 %119, %120
  br i1 %121, label %127, label %122

122:                                              ; preds = %118
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %234

123:                                              ; preds = %105
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %16, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %17, align 4
  br label %238

127:                                              ; preds = %118
  %128 = load float, ptr %21, align 4, !tbaa !72
  %129 = load i32, ptr %25, align 4, !tbaa !9
  %130 = load i32, ptr %25, align 4, !tbaa !9
  %131 = mul nsw i32 %129, %130
  %132 = sitofp i32 %131 to float
  %133 = fneg float %132
  %134 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %128, float %133)
  %135 = load i32, ptr %26, align 4, !tbaa !9
  %136 = load i32, ptr %26, align 4, !tbaa !9
  %137 = mul nsw i32 %135, %136
  %138 = sitofp i32 %137 to float
  %139 = fsub float %134, %138
  %140 = invoke noundef float @_ZSt4sqrtf(float noundef %139)
          to label %141 unwind label %150

141:                                              ; preds = %127
  %142 = fptosi float %140 to i32
  store i32 %142, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %143 = load i32, ptr %24, align 4, !tbaa !9
  %144 = sub nsw i32 0, %143
  store i32 %144, ptr %27, align 4, !tbaa !9
  br label %145

145:                                              ; preds = %226, %141
  %146 = load i32, ptr %27, align 4, !tbaa !9
  %147 = load i32, ptr %24, align 4, !tbaa !9
  %148 = icmp sle i32 %146, %147
  br i1 %148, label %154, label %149

149:                                              ; preds = %145
  store i32 10, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %229

150:                                              ; preds = %127
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %16, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %17, align 4
  br label %233

154:                                              ; preds = %145
  %155 = load ptr, ptr %10, align 8, !tbaa !5
  %156 = load i32, ptr %18, align 4, !tbaa !9
  %157 = load i32, ptr %25, align 4, !tbaa !9
  %158 = add nsw i32 %156, %157
  %159 = load i32, ptr %19, align 4, !tbaa !9
  %160 = load i32, ptr %26, align 4, !tbaa !9
  %161 = add nsw i32 %159, %160
  %162 = load i32, ptr %20, align 4, !tbaa !9
  %163 = load i32, ptr %27, align 4, !tbaa !9
  %164 = add nsw i32 %162, %163
  %165 = invoke noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252) %155, i32 noundef %158, i32 noundef %161, i32 noundef %164)
          to label %166 unwind label %221

166:                                              ; preds = %154
  br i1 %165, label %167, label %225

167:                                              ; preds = %166
  %168 = load i32, ptr %20, align 4, !tbaa !9
  %169 = load i32, ptr %27, align 4, !tbaa !9
  %170 = add nsw i32 %168, %169
  %171 = load i32, ptr %7, align 4, !tbaa !9
  %172 = icmp sge i32 %170, %171
  br i1 %172, label %173, label %225

173:                                              ; preds = %167
  %174 = load i32, ptr %20, align 4, !tbaa !9
  %175 = load i32, ptr %27, align 4, !tbaa !9
  %176 = add nsw i32 %174, %175
  %177 = load i32, ptr %8, align 4, !tbaa !9
  %178 = icmp slt i32 %176, %177
  br i1 %178, label %179, label %225

179:                                              ; preds = %173
  %180 = load i32, ptr %18, align 4, !tbaa !9
  %181 = load i32, ptr %25, align 4, !tbaa !9
  %182 = add nsw i32 %180, %181
  %183 = load i32, ptr %19, align 4, !tbaa !9
  %184 = load i32, ptr %26, align 4, !tbaa !9
  %185 = add nsw i32 %183, %184
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = load i32, ptr %7, align 4, !tbaa !9
  %188 = sub nsw i32 %186, %187
  %189 = load i32, ptr %27, align 4, !tbaa !9
  %190 = add nsw i32 %188, %189
  %191 = sext i32 %190 to i64
  %192 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %182, i32 noundef %185, i64 noundef %191)
          to label %193 unwind label %221

193:                                              ; preds = %179
  %194 = load i32, ptr %192, align 4, !tbaa !9
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %196, label %225

196:                                              ; preds = %193
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %class.blockNetwork, ptr %197, i32 0, i32 6
  %199 = getelementptr inbounds i8, ptr %198, i64 8
  %200 = load i32, ptr %18, align 4, !tbaa !9
  %201 = load i32, ptr %19, align 4, !tbaa !9
  %202 = load i32, ptr %20, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %199, i32 noundef %200, i32 noundef %201, i64 noundef %203)
          to label %205 unwind label %221

205:                                              ; preds = %196
  %206 = load i32, ptr %204, align 4, !tbaa !9
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = load i32, ptr %25, align 4, !tbaa !9
  %209 = add nsw i32 %207, %208
  %210 = load i32, ptr %19, align 4, !tbaa !9
  %211 = load i32, ptr %26, align 4, !tbaa !9
  %212 = add nsw i32 %210, %211
  %213 = load i32, ptr %20, align 4, !tbaa !9
  %214 = load i32, ptr %7, align 4, !tbaa !9
  %215 = sub nsw i32 %213, %214
  %216 = load i32, ptr %27, align 4, !tbaa !9
  %217 = add nsw i32 %215, %216
  %218 = sext i32 %217 to i64
  %219 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %209, i32 noundef %212, i64 noundef %218)
          to label %220 unwind label %221

220:                                              ; preds = %205
  store i32 %206, ptr %219, align 4, !tbaa !9
  br label %225

221:                                              ; preds = %205, %196, %179, %154
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %16, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %233

225:                                              ; preds = %220, %193, %173, %167, %166
  br label %226

226:                                              ; preds = %225
  %227 = load i32, ptr %27, align 4, !tbaa !9
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %27, align 4, !tbaa !9
  br label %145, !llvm.loop !73

229:                                              ; preds = %149
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %26, align 4, !tbaa !9
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %26, align 4, !tbaa !9
  br label %118, !llvm.loop !75

233:                                              ; preds = %221, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %238

234:                                              ; preds = %122
  br label %235

235:                                              ; preds = %234
  %236 = load i32, ptr %25, align 4, !tbaa !9
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr %25, align 4, !tbaa !9
  br label %92, !llvm.loop !76

238:                                              ; preds = %233, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %240

239:                                              ; preds = %96
  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 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %241

240:                                              ; preds = %238, %101
  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 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %244

241:                                              ; preds = %239, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %242

242:                                              ; preds = %241
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %55

244:                                              ; preds = %240, %97
  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 %249

245:                                              ; preds = %57
  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
  %246 = load i1, ptr %9, align 1
  br i1 %246, label %248, label %247

247:                                              ; preds = %245
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #6
  br label %248

248:                                              ; preds = %247, %245
  ret void

249:                                              ; preds = %244
  %250 = load ptr, ptr %16, align 8
  %251 = load i32, ptr %17, align 4
  %252 = insertvalue { ptr, i32 } poison, ptr %250, 0
  %253 = insertvalue { ptr, i32 } %252, i32 %251, 1
  resume { ptr, i32 } %253
}

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 8}
!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 12}
!70 = !{!66, !67, i64 16}
!71 = !{!66, !67, i64 24}
!72 = !{!67, !67, i64 0}
!73 = distinct !{!73, !74}
!74 = !{!"llvm.loop.mustprogress"}
!75 = distinct !{!75, !74}
!76 = distinct !{!76, !74}


; 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.64" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [23 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 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 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: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorI10medialBallSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorI10medialBallSaIS0_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_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(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(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64)) local_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 nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(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_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12poreMaxBallsRK12blockNetworkii(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.64", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.64", 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.5)
  %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 %17, i64 88
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %19 = tail call ptr @_ZNKSt6vectorI10medialBallSaIS0_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 @_ZNKSt6vectorI10medialBallSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  store ptr %20, ptr %6, align 8
  %21 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %21, label %.lr.ph90, label %._crit_edge91

.lr.ph90:                                         ; preds = %4
  %22 = getelementptr inbounds i8, ptr %1, i64 232
  %23 = sext i32 %2 to i64
  %24 = sext i32 %3 to i64
  br label %25

._crit_edge91:                                    ; preds = %.loopexit, %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

25:                                               ; preds = %.lr.ph90, %.loopexit
  %26 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %27 = invoke noundef signext i16 @_ZNK10medialBall5levelEv(ptr noundef nonnull align 8 dereferenceable(64) %26)
          to label %28 unwind label %49

28:                                               ; preds = %25
  %29 = icmp eq i16 %27, 1
  br i1 %29, label %30, label %.loopexit

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %26, i64 8
  %32 = load float, ptr %31, align 8, !tbaa !64
  %33 = fptosi float %32 to i32
  %34 = getelementptr inbounds i8, ptr %26, i64 12
  %35 = load float, ptr %34, align 4, !tbaa !68
  %36 = fptosi float %35 to i32
  %37 = getelementptr inbounds i8, ptr %26, i64 16
  %38 = load float, ptr %37, align 8, !tbaa !69
  %39 = getelementptr inbounds i8, ptr %26, i64 24
  %40 = load float, ptr %39, align 8, !tbaa !70
  %41 = fmul float %40, %40
  %42 = call noundef float @_ZSt4sqrtf(float noundef %41)
  %43 = fptosi float %42 to i32
  %.not85 = icmp slt i32 %43, 0
  br i1 %.not85, label %.loopexit, label %.lr.ph88

.lr.ph88:                                         ; preds = %30
  %44 = fptosi float %38 to i32
  %45 = sub nsw i32 0, %43
  %46 = sub i32 %44, %2
  %47 = sext i32 %44 to i64
  %48 = sext i32 %46 to i64
  br label %51

49:                                               ; preds = %25
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @_ZN10voxelFieldIiED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  resume { ptr, i32 } %50

51:                                               ; preds = %.lr.ph88, %._crit_edge84
  %.06986 = phi i32 [ %45, %.lr.ph88 ], [ %59, %._crit_edge84 ]
  %52 = mul nsw i32 %.06986, %.06986
  %53 = uitofp nneg i32 %52 to float
  %54 = fsub float %41, %53
  %55 = call noundef float @_ZSt4sqrtf(float noundef %54)
  %56 = fptosi float %55 to i32
  %.not7280 = icmp slt i32 %56, 0
  br i1 %.not7280, label %._crit_edge84, label %.lr.ph83

.lr.ph83:                                         ; preds = %51
  %57 = sub nsw i32 0, %56
  %58 = add nsw i32 %.06986, %33
  br label %60

._crit_edge84:                                    ; preds = %._crit_edge, %51
  %59 = add i32 %.06986, 1
  %exitcond94.not = icmp eq i32 %.06986, %43
  br i1 %exitcond94.not, label %.loopexit, label %51, !llvm.loop !71

60:                                               ; preds = %.lr.ph83, %._crit_edge
  %.06881 = phi i32 [ %57, %.lr.ph83 ], [ %70, %._crit_edge ]
  %61 = mul nsw i32 %.06881, %.06881
  %62 = uitofp nneg i32 %61 to float
  %63 = fsub float %54, %62
  %64 = call noundef float @_ZSt4sqrtf(float noundef %63)
  %65 = fptosi float %64 to i32
  %.not7378 = icmp slt i32 %65, 0
  br i1 %.not7378, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %60
  %66 = sub nsw i32 0, %65
  %67 = add nsw i32 %.06881, %36
  %68 = sext i32 %66 to i64
  %69 = add nuw i32 %65, 1
  br label %71

._crit_edge:                                      ; preds = %85, %60
  %70 = add i32 %.06881, 1
  %exitcond93.not = icmp eq i32 %.06881, %56
  br i1 %exitcond93.not, label %._crit_edge84, label %60, !llvm.loop !73

71:                                               ; preds = %.lr.ph, %85
  %indvars.iv = phi i64 [ %68, %.lr.ph ], [ %indvars.iv.next, %85 ]
  %72 = add nsw i64 %indvars.iv, %47
  %73 = trunc nsw i64 %72 to i32
  %74 = call noundef zeroext i1 @_ZNK13medialSurface8isInsideEiii(ptr noundef nonnull align 8 dereferenceable(252) %17, i32 noundef %58, i32 noundef %67, i32 noundef %73)
  %.not74 = icmp sge i64 %72, %23
  %or.cond.not77 = and i1 %.not74, %74
  %75 = icmp slt i64 %72, %24
  %or.cond76 = and i1 %75, %or.cond.not77
  br i1 %or.cond76, label %76, label %85

76:                                               ; preds = %71
  %77 = add nsw i64 %indvars.iv, %48
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %58, i32 noundef %67, i64 noundef %77)
  %79 = load i32, ptr %78, align 4, !tbaa !74
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %85

81:                                               ; preds = %76
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %22, i32 noundef %33, i32 noundef %36, i64 noundef %47)
  %83 = load i32, ptr %82, align 4, !tbaa !74
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10voxelFieldIiEclEiim(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %58, i32 noundef %67, i64 noundef %77)
  store i32 %83, ptr %84, align 4, !tbaa !74
  br label %85

85:                                               ; preds = %71, %76, %81
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %69, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %71, !llvm.loop !75

.loopexit:                                        ; preds = %._crit_edge84, %30, %28
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK10medialBallSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %87 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK10medialBallSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %87, label %25, label %._crit_edge91
}

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 8}
!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 12}
!69 = !{!65, !66, i64 16}
!70 = !{!65, !66, i64 24}
!71 = distinct !{!71, !72}
!72 = !{!"llvm.loop.mustprogress"}
!73 = distinct !{!73, !72}
!74 = !{!10, !10, i64 0}
!75 = distinct !{!75, !72}


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