; LLVM IR from ImperialCollegeLondon/pnflow :: src/pnm/pnextract (writers_vtk)

; 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.var3 = type { double, double, double }
%class.throatNE = type { i32, i32, i32, i32, i32, i16, i16, %"class.std::vector.16", %"class.std::vector.16", %class.var3 }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = 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.medialBall = type { ptr, float, float, float, i16, float, i16, i16, i16, i16, i16, ptr, ptr, ptr }
%class.poreNE = type { i32, i32, %"class.std::map", ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef byval(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEdvEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEmlEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, double noundef, ptr noundef byval(%class.var3) align 8) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13addThroatMeshiRKSt6vectorIP8throatNESaIS1_EEmRKS_IP6poreNESaIS7_EERS_I4var3IdESaISD_EERS_IfSaIfEERS_ImSaImEERS_IiSaIiEESP_dbj(i32 noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef %9, i1 noundef zeroext %10, i32 noundef %11) #1 {
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca double, align 8
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca %class.var3, align 8
  %29 = alloca %class.var3, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca %class.var3, align 8
  %35 = alloca %class.var3, align 8
  %36 = alloca %class.var3, align 8
  %37 = alloca i64, align 8
  %38 = alloca i32, align 4
  %39 = alloca %class.var3, align 8
  %40 = alloca %class.var3, align 8
  %41 = alloca %class.var3, align 8
  %42 = alloca %class.var3, align 8
  %43 = alloca %class.var3, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca double, align 8
  %47 = alloca %class.var3, align 8
  %48 = alloca %class.var3, align 8
  %49 = alloca %class.var3, align 8
  %50 = alloca %class.var3, align 8
  %51 = alloca %class.var3, align 8
  %52 = alloca %class.var3, align 8
  %53 = alloca %class.var3, align 8
  %54 = alloca %class.var3, align 8
  %55 = alloca float, align 4
  %56 = alloca %class.var3, align 8
  %57 = alloca %class.var3, align 8
  %58 = alloca %class.var3, align 8
  %59 = alloca %class.var3, align 8
  %60 = alloca %class.var3, align 8
  %61 = alloca float, align 4
  store i32 %0, ptr %13, align 4, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !9
  store i64 %2, ptr %15, align 8, !tbaa !11
  store ptr %3, ptr %16, align 8, !tbaa !9
  store ptr %4, ptr %17, align 8, !tbaa !9
  store ptr %5, ptr %18, align 8, !tbaa !9
  store ptr %6, ptr %19, align 8, !tbaa !9
  store ptr %7, ptr %20, align 8, !tbaa !9
  store ptr %8, ptr %21, align 8, !tbaa !9
  store double %9, ptr %22, align 8, !tbaa !13
  %62 = zext i1 %10 to i8
  store i8 %62, ptr %23, align 1, !tbaa !15
  store i32 %11, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %63 = load ptr, ptr %14, align 8, !tbaa !9
  %64 = load i64, ptr %15, align 8, !tbaa !11
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP8throatNESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %64) #6
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  store ptr %66, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %67 = load i32, ptr %13, align 4, !tbaa !5
  %68 = icmp eq i32 %67, 1
  br i1 %68, label %69, label %73

69:                                               ; preds = %12
  %70 = load ptr, ptr %25, align 8, !tbaa !9
  %71 = getelementptr inbounds %class.throatNE, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 4, !tbaa !17
  br label %77

73:                                               ; preds = %12
  %74 = load ptr, ptr %25, align 8, !tbaa !9
  %75 = getelementptr inbounds %class.throatNE, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 8, !tbaa !25
  br label %77

77:                                               ; preds = %73, %69
  %78 = phi i32 [ %72, %69 ], [ %76, %73 ]
  store i32 %78, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %79 = load ptr, ptr %16, align 8, !tbaa !9
  %80 = load i32, ptr %26, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP6poreNESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %81) #6
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  store ptr %83, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #6
  %84 = load ptr, ptr %25, align 8, !tbaa !9
  %85 = call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %84)
  %86 = getelementptr inbounds %class.medialBall, ptr %85, i32 0, i32 1
  %87 = load float, ptr %86, align 8, !tbaa !26
  %88 = fpext float %87 to double
  %89 = load ptr, ptr %25, align 8, !tbaa !9
  %90 = call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %89)
  %91 = getelementptr inbounds %class.medialBall, ptr %90, i32 0, i32 2
  %92 = load float, ptr %91, align 4, !tbaa !29
  %93 = fpext float %92 to double
  %94 = load ptr, ptr %25, align 8, !tbaa !9
  %95 = call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %94)
  %96 = getelementptr inbounds %class.medialBall, ptr %95, i32 0, i32 3
  %97 = load float, ptr %96, align 8, !tbaa !30
  %98 = fpext float %97 to double
  call void @_ZN4var3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %28, double noundef %88, double noundef %93, double noundef %98)
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #6
  %99 = load ptr, ptr %27, align 8, !tbaa !9
  %100 = getelementptr inbounds %class.poreNE, ptr %99, i32 0, i32 3
  %101 = load ptr, ptr %100, align 8, !tbaa !31
  %102 = getelementptr inbounds %class.medialBall, ptr %101, i32 0, i32 1
  %103 = load float, ptr %102, align 8, !tbaa !26
  %104 = fpext float %103 to double
  %105 = load ptr, ptr %27, align 8, !tbaa !9
  %106 = getelementptr inbounds %class.poreNE, ptr %105, i32 0, i32 3
  %107 = load ptr, ptr %106, align 8, !tbaa !31
  %108 = getelementptr inbounds %class.medialBall, ptr %107, i32 0, i32 2
  %109 = load float, ptr %108, align 4, !tbaa !29
  %110 = fpext float %109 to double
  %111 = load ptr, ptr %27, align 8, !tbaa !9
  %112 = getelementptr inbounds %class.poreNE, ptr %111, i32 0, i32 3
  %113 = load ptr, ptr %112, align 8, !tbaa !31
  %114 = getelementptr inbounds %class.medialBall, ptr %113, i32 0, i32 3
  %115 = load float, ptr %114, align 8, !tbaa !30
  %116 = fpext float %115 to double
  call void @_ZN4var3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %29, double noundef %104, double noundef %110, double noundef %116)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %117 = load ptr, ptr %25, align 8, !tbaa !9
  %118 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %117)
  %119 = load double, ptr %22, align 8, !tbaa !13
  %120 = fmul double %118, %119
  store double %120, ptr %30, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %121 = load ptr, ptr %27, align 8, !tbaa !9
  %122 = call noundef double @_ZNK6poreNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(64) %121)
  %123 = load ptr, ptr %25, align 8, !tbaa !9
  %124 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %123)
  %125 = fdiv double %122, %124
  store double %125, ptr %31, align 8, !tbaa !13
  %126 = load i32, ptr %13, align 4, !tbaa !5
  %127 = icmp eq i32 %126, 1
  br i1 %127, label %128, label %160

128:                                              ; preds = %77
  %129 = load ptr, ptr %25, align 8, !tbaa !9
  %130 = getelementptr inbounds %class.throatNE, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 4, !tbaa !17
  %132 = icmp slt i32 %131, 2
  br i1 %132, label %133, label %160

133:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %134 = load ptr, ptr %25, align 8, !tbaa !9
  %135 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %134)
  %136 = call double @llvm.fmuladd.f64(double 1.100000e+00, double %135, double 2.000000e-09)
  store double %136, ptr %32, align 8, !tbaa !13
  %137 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 1
  %138 = load double, ptr %137, align 8, !tbaa !41
  %139 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 1
  store double %138, ptr %139, align 8, !tbaa !41
  %140 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 2
  %141 = load double, ptr %140, align 8, !tbaa !42
  %142 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 2
  store double %141, ptr %142, align 8, !tbaa !42
  %143 = load ptr, ptr %25, align 8, !tbaa !9
  %144 = getelementptr inbounds %class.throatNE, ptr %143, i32 0, i32 1
  %145 = load i32, ptr %144, align 4, !tbaa !17
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %147, label %153

147:                                              ; preds = %133
  %148 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 0
  %149 = load double, ptr %148, align 8, !tbaa !43
  %150 = load double, ptr %32, align 8, !tbaa !13
  %151 = fsub double %149, %150
  %152 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 0
  store double %151, ptr %152, align 8, !tbaa !43
  br label %159

153:                                              ; preds = %133
  %154 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 0
  %155 = load double, ptr %154, align 8, !tbaa !43
  %156 = load double, ptr %32, align 8, !tbaa !13
  %157 = fadd double %155, %156
  %158 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 0
  store double %157, ptr %158, align 8, !tbaa !43
  br label %159

159:                                              ; preds = %153, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %196

160:                                              ; preds = %128, %77
  %161 = load i32, ptr %13, align 4, !tbaa !5
  %162 = icmp eq i32 %161, 2
  br i1 %162, label %163, label %195

163:                                              ; preds = %160
  %164 = load ptr, ptr %25, align 8, !tbaa !9
  %165 = getelementptr inbounds %class.throatNE, ptr %164, i32 0, i32 2
  %166 = load i32, ptr %165, align 8, !tbaa !25
  %167 = icmp slt i32 %166, 2
  br i1 %167, label %168, label %195

168:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %169 = load ptr, ptr %25, align 8, !tbaa !9
  %170 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %169)
  %171 = call double @llvm.fmuladd.f64(double 1.100000e+00, double %170, double 2.000000e-09)
  store double %171, ptr %33, align 8, !tbaa !13
  %172 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 1
  %173 = load double, ptr %172, align 8, !tbaa !41
  %174 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 1
  store double %173, ptr %174, align 8, !tbaa !41
  %175 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 2
  %176 = load double, ptr %175, align 8, !tbaa !42
  %177 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 2
  store double %176, ptr %177, align 8, !tbaa !42
  %178 = load ptr, ptr %25, align 8, !tbaa !9
  %179 = getelementptr inbounds %class.throatNE, ptr %178, i32 0, i32 2
  %180 = load i32, ptr %179, align 8, !tbaa !25
  %181 = icmp eq i32 %180, 0
  br i1 %181, label %182, label %188

182:                                              ; preds = %168
  %183 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 0
  %184 = load double, ptr %183, align 8, !tbaa !43
  %185 = load double, ptr %33, align 8, !tbaa !13
  %186 = fsub double %184, %185
  %187 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 0
  store double %186, ptr %187, align 8, !tbaa !43
  br label %194

188:                                              ; preds = %168
  %189 = getelementptr inbounds %class.var3, ptr %28, i32 0, i32 0
  %190 = load double, ptr %189, align 8, !tbaa !43
  %191 = load double, ptr %33, align 8, !tbaa !13
  %192 = fadd double %190, %191
  %193 = getelementptr inbounds %class.var3, ptr %29, i32 0, i32 0
  store double %192, ptr %193, align 8, !tbaa !43
  br label %194

194:                                              ; preds = %188, %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %195

195:                                              ; preds = %194, %163, %160
  br label %196

196:                                              ; preds = %195, %159
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #6
  call void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %34, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %28)
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #6
  %197 = call noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24) %34)
  %198 = fadd double %197, 1.000000e-33
  call void @_ZNK4var3IdEdvEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %35, ptr noundef nonnull align 8 dereferenceable(24) %34, double noundef %198)
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #6
  call void @_ZN4var3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %36, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  store i64 0, ptr %37, align 8, !tbaa !11
  br label %199

199:                                              ; preds = %213, %196
  %200 = load i64, ptr %37, align 8, !tbaa !11
  %201 = icmp ult i64 %200, 3
  br i1 %201, label %203, label %202

202:                                              ; preds = %199
  store i32 2, ptr %38, align 4
  br label %216

203:                                              ; preds = %199
  %204 = load i64, ptr %37, align 8, !tbaa !11
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4var3IdEixEl(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %204)
  %206 = load double, ptr %205, align 8, !tbaa !13
  %207 = call noundef double @_ZSt3absd(double noundef %206)
  %208 = fcmp olt double %207, 6.000000e-01
  br i1 %208, label %209, label %212

209:                                              ; preds = %203
  %210 = load i64, ptr %37, align 8, !tbaa !11
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4var3IdEixEl(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %210)
  store double 1.000000e+00, ptr %211, align 8, !tbaa !13
  store i32 2, ptr %38, align 4
  br label %216

212:                                              ; preds = %203
  br label %213

213:                                              ; preds = %212
  %214 = load i64, ptr %37, align 8, !tbaa !11
  %215 = add i64 %214, 1
  store i64 %215, ptr %37, align 8, !tbaa !11
  br label %199, !llvm.loop !44

216:                                              ; preds = %209, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %217

217:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #6
  call void @_ZNK4var3IdEeoERKS0_(ptr dead_on_unwind writable sret(%class.var3) align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %36)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %39, i64 24, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 8 %36, i64 24, i1 false), !tbaa.struct !46
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %42, ptr align 8 %35, i64 24, i1 false), !tbaa.struct !46
  call void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %40, ptr noundef byval(%class.var3) align 8 %41, double noundef 0x3FE921FB54442EEA, ptr noundef byval(%class.var3) align 8 %42)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %40, i64 24, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #6
  %218 = call noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24) %36)
  %219 = fadd double %218, 1.000000e-33
  call void @_ZNK4var3IdEdvEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %43, ptr noundef nonnull align 8 dereferenceable(24) %36, double noundef %219)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %43, i64 24, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %220 = load i32, ptr %24, align 4, !tbaa !5
  %221 = add i32 %220, 1
  %222 = udiv i32 %221, 2
  store i32 %222, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %223

223:                                              ; preds = %264, %217
  %224 = load i32, ptr %45, align 4, !tbaa !5
  %225 = load i32, ptr %44, align 4, !tbaa !5
  %226 = mul nsw i32 2, %225
  %227 = icmp slt i32 %224, %226
  br i1 %227, label %229, label %228

228:                                              ; preds = %223
  store i32 5, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  br label %267

229:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %230 = load i32, ptr %44, align 4, !tbaa !5
  %231 = sitofp i32 %230 to double
  %232 = fdiv double 0x3FF921FB54442EEA, %231
  store double %232, ptr %46, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %48, ptr align 8 %36, i64 24, i1 false), !tbaa.struct !46
  %233 = load double, ptr %46, align 8, !tbaa !13
  %234 = fmul double 2.000000e+00, %233
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %49, ptr align 8 %35, i64 24, i1 false), !tbaa.struct !46
  call void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind writable sret(%class.var3) align 8 %47, ptr noundef byval(%class.var3) align 8 %48, double noundef %234, ptr noundef byval(%class.var3) align 8 %49)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %47, i64 24, i1 false), !tbaa.struct !46
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #6
  %235 = load ptr, ptr %17, align 8, !tbaa !9
  %236 = load ptr, ptr %21, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %50, ptr align 8 %28, i64 24, i1 false), !tbaa.struct !46
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %51, ptr align 8 %29, i64 24, i1 false), !tbaa.struct !46
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind writable sret(%class.var3) align 8 %52, ptr noundef nonnull align 8 dereferenceable(24) %36)
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #6
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind writable sret(%class.var3) align 8 %54, ptr noundef nonnull align 8 dereferenceable(24) %36)
  %237 = load double, ptr %31, align 8, !tbaa !13
  call void @_ZNK4var3IdEmlEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %53, ptr noundef nonnull align 8 dereferenceable(24) %54, double noundef %237)
  %238 = load double, ptr %30, align 8, !tbaa !13
  %239 = load double, ptr %46, align 8, !tbaa !13
  %240 = fsub double 0x400921FB54442EEA, %239
  %241 = fmul double 6.000000e-01, %240
  %242 = load double, ptr %46, align 8, !tbaa !13
  call void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24) %235, ptr noundef nonnull align 8 dereferenceable(24) %236, ptr noundef byval(%class.var3) align 8 %50, ptr noundef byval(%class.var3) align 8 %51, ptr noundef byval(%class.var3) align 8 %52, ptr noundef byval(%class.var3) align 8 %53, double noundef 0.000000e+00, double noundef %238, double noundef 0.000000e+00, double noundef %241, double noundef 0.000000e+00, double noundef %242, double noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #6
  %243 = load ptr, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  %244 = load ptr, ptr %25, align 8, !tbaa !9
  %245 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %244)
  %246 = fptrunc double %245 to float
  store float %246, ptr %55, align 4, !tbaa !47
  call void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %243, ptr noundef nonnull align 4 dereferenceable(4) %55)
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  %247 = load ptr, ptr %19, align 8, !tbaa !9
  call void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %247, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %248 = load ptr, ptr %20, align 8, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %248, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %249 = load ptr, ptr %17, align 8, !tbaa !9
  %250 = load ptr, ptr %21, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %56, ptr align 8 %28, i64 24, i1 false), !tbaa.struct !46
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %57, ptr align 8 %29, i64 24, i1 false), !tbaa.struct !46
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind writable sret(%class.var3) align 8 %58, ptr noundef nonnull align 8 dereferenceable(24) %36)
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #6
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind writable sret(%class.var3) align 8 %60, ptr noundef nonnull align 8 dereferenceable(24) %36)
  %251 = load double, ptr %31, align 8, !tbaa !13
  call void @_ZNK4var3IdEmlEd(ptr dead_on_unwind writable sret(%class.var3) align 8 %59, ptr noundef nonnull align 8 dereferenceable(24) %60, double noundef %251)
  %252 = load double, ptr %30, align 8, !tbaa !13
  %253 = load double, ptr %46, align 8, !tbaa !13
  %254 = fsub double 0x400921FB54442EEA, %253
  %255 = fmul double 6.000000e-01, %254
  %256 = load double, ptr %46, align 8, !tbaa !13
  %257 = fneg double %256
  call void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24) %249, ptr noundef nonnull align 8 dereferenceable(24) %250, ptr noundef byval(%class.var3) align 8 %56, ptr noundef byval(%class.var3) align 8 %57, ptr noundef byval(%class.var3) align 8 %58, ptr noundef byval(%class.var3) align 8 %59, double noundef 0.000000e+00, double noundef %252, double noundef 0.000000e+00, double noundef %255, double noundef 0.000000e+00, double noundef %257, double noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #6
  %258 = load ptr, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #6
  %259 = load ptr, ptr %25, align 8, !tbaa !9
  %260 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %259)
  %261 = fptrunc double %260 to float
  store float %261, ptr %61, align 4, !tbaa !47
  call void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %258, ptr noundef nonnull align 4 dereferenceable(4) %61)
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #6
  %262 = load ptr, ptr %19, align 8, !tbaa !9
  call void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %262, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %263 = load ptr, ptr %20, align 8, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %263, ptr noundef nonnull align 4 dereferenceable(4) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  br label %264

264:                                              ; preds = %229
  %265 = load i32, ptr %45, align 4, !tbaa !5
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %45, align 4, !tbaa !5
  br label %223, !llvm.loop !48

267:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  ret void
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96)) #1 align 2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!18, !6, i64 4}
!18 = !{!"_ZTS8throatNE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !19, i64 20, !19, i64 22, !20, i64 24, !20, i64 48, !24, i64 72}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIP5voxelSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIP5voxelSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!24 = !{!"_ZTS4var3IdE", !14, i64 0, !14, i64 8, !14, i64 16}
!25 = !{!18, !6, i64 8}
!26 = !{!27, !28, i64 8}
!27 = !{!"_ZTS10medialBall", !10, i64 0, !28, i64 8, !28, i64 12, !28, i64 16, !19, i64 20, !28, i64 24, !19, i64 28, !19, i64 30, !19, i64 32, !19, i64 34, !19, i64 36, !10, i64 40, !10, i64 48, !10, i64 56}
!28 = !{!"float", !7, i64 0}
!29 = !{!27, !28, i64 12}
!30 = !{!27, !28, i64 16}
!31 = !{!32, !10, i64 56}
!32 = !{!"_ZTS6poreNE", !6, i64 0, !6, i64 4, !33, i64 8, !10, i64 56}
!33 = !{!"_ZTSSt3mapIiiSt4lessIiESaISt4pairIKiiEEE", !34, i64 0}
!34 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !36, i64 0, !38, i64 8}
!36 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !37, i64 0}
!37 = !{!"_ZTSSt4lessIiE"}
!38 = !{!"_ZTSSt15_Rb_tree_header", !39, i64 0, !12, i64 32}
!39 = !{!"_ZTSSt18_Rb_tree_node_base", !40, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!40 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!41 = !{!24, !14, i64 8}
!42 = !{!24, !14, i64 16}
!43 = !{!24, !14, i64 0}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = !{i64 0, i64 8, !13, i64 8, i64 8, !13, i64 16, i64 8, !13}
!47 = !{!28, !28, i64 0}
!48 = distinct !{!48, !45}


; 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.var3 = type { double, double, double }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef byval(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEdvEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4var3IdEmlEd(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind noalias writable sret(%class.var3) align 8, ptr noundef byval(%class.var3) align 8, double noundef, ptr noundef byval(%class.var3) align 8) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13addThroatMeshiRKSt6vectorIP8throatNESaIS1_EEmRKS_IP6poreNESaIS7_EERS_I4var3IdESaISD_EERS_IfSaIfEERS_ImSaImEERS_IiSaIiEESP_dbj(i32 noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef %9, i1 noundef zeroext %10, i32 noundef %11) local_unnamed_addr #1 {
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca %class.var3, align 8
  %16 = alloca %class.var3, align 8
  %17 = alloca %class.var3, align 8
  %18 = alloca %class.var3, align 8
  %19 = alloca %class.var3, align 8
  %20 = alloca %class.var3, align 8
  %21 = alloca %class.var3, align 8
  %22 = alloca %class.var3, align 8
  %23 = alloca %class.var3, align 8
  %24 = alloca %class.var3, align 8
  %25 = alloca %class.var3, align 8
  %26 = alloca %class.var3, align 8
  %27 = alloca %class.var3, align 8
  %28 = alloca %class.var3, align 8
  %29 = alloca float, align 4
  %30 = alloca %class.var3, align 8
  %31 = alloca %class.var3, align 8
  %32 = alloca %class.var3, align 8
  %33 = alloca %class.var3, align 8
  %34 = alloca %class.var3, align 8
  %35 = alloca float, align 4
  store i64 %2, ptr %13, align 8, !tbaa !5
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP8throatNESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2) #6
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  %38 = icmp eq i32 %0, 1
  %39 = getelementptr inbounds i8, ptr %37, i64 4
  %40 = getelementptr inbounds i8, ptr %37, i64 8
  %.in = select i1 %38, ptr %39, ptr %40
  %41 = load i32, ptr %.in, align 4, !tbaa !11
  store i32 %41, ptr %14, align 4, !tbaa !11
  %42 = sext i32 %41 to i64
  %43 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIP6poreNESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %42) #6
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  %45 = tail call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  %47 = load float, ptr %46, align 8, !tbaa !13
  %48 = fpext float %47 to double
  %49 = tail call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %50 = getelementptr inbounds i8, ptr %49, i64 12
  %51 = load float, ptr %50, align 4, !tbaa !17
  %52 = fpext float %51 to double
  %53 = tail call noundef ptr @_ZNK8throatNE4mb22Ev(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  %55 = load float, ptr %54, align 8, !tbaa !18
  %56 = fpext float %55 to double
  call void @_ZN4var3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %15, double noundef %48, double noundef %52, double noundef %56)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  %57 = getelementptr inbounds i8, ptr %44, i64 56
  %58 = load ptr, ptr %57, align 8, !tbaa !19
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load float, ptr %59, align 8, !tbaa !13
  %61 = fpext float %60 to double
  %62 = getelementptr inbounds i8, ptr %58, i64 12
  %63 = load float, ptr %62, align 4, !tbaa !17
  %64 = fpext float %63 to double
  %65 = getelementptr inbounds i8, ptr %58, i64 16
  %66 = load float, ptr %65, align 8, !tbaa !18
  %67 = fpext float %66 to double
  call void @_ZN4var3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %16, double noundef %61, double noundef %64, double noundef %67)
  %68 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %69 = fmul double %68, %9
  %70 = call noundef double @_ZNK6poreNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(64) %44)
  %71 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %72 = fdiv double %70, %71
  br i1 %38, label %73, label %86

73:                                               ; preds = %12
  %74 = load i32, ptr %39, align 4, !tbaa !29
  %75 = icmp slt i32 %74, 2
  br i1 %75, label %76, label %.thread

76:                                               ; preds = %73
  %77 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %78 = call double @llvm.fmuladd.f64(double %77, double 1.100000e+00, double 2.000000e-09)
  %79 = getelementptr inbounds i8, ptr %15, i64 8
  %80 = getelementptr inbounds i8, ptr %16, i64 8
  %81 = load <2 x double>, ptr %79, align 8, !tbaa !37
  store <2 x double> %81, ptr %80, align 8, !tbaa !37
  %82 = load i32, ptr %39, align 4, !tbaa !29
  %83 = icmp eq i32 %82, 0
  %84 = load double, ptr %15, align 8
  %85 = fneg double %78
  %storemerge57.p = select i1 %83, double %85, double %78
  %storemerge57 = fadd double %84, %storemerge57.p
  store double %storemerge57, ptr %16, align 8, !tbaa !38
  br label %.thread

86:                                               ; preds = %12
  %87 = icmp eq i32 %0, 2
  br i1 %87, label %88, label %.thread

88:                                               ; preds = %86
  %89 = load i32, ptr %40, align 8, !tbaa !39
  %90 = icmp slt i32 %89, 2
  br i1 %90, label %91, label %.thread

91:                                               ; preds = %88
  %92 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %93 = call double @llvm.fmuladd.f64(double %92, double 1.100000e+00, double 2.000000e-09)
  %94 = getelementptr inbounds i8, ptr %15, i64 8
  %95 = getelementptr inbounds i8, ptr %16, i64 8
  %96 = load <2 x double>, ptr %94, align 8, !tbaa !37
  store <2 x double> %96, ptr %95, align 8, !tbaa !37
  %97 = load i32, ptr %40, align 8, !tbaa !39
  %98 = icmp eq i32 %97, 0
  %99 = load double, ptr %15, align 8
  %100 = fneg double %93
  %storemerge.p = select i1 %98, double %100, double %93
  %storemerge = fadd double %99, %storemerge.p
  store double %storemerge, ptr %16, align 8, !tbaa !38
  br label %.thread

.thread:                                          ; preds = %73, %86, %88, %91, %76
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  call void @_ZNK4var3IdEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %15)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  %101 = call noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24) %17)
  %102 = fadd double %101, 1.000000e-33
  call void @_ZNK4var3IdEdvEd(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %17, double noundef %102)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  call void @_ZN4var3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %19, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4var3IdEixEl(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0)
  %104 = load double, ptr %103, align 8, !tbaa !37
  %105 = call noundef double @_ZSt3absd(double noundef %104)
  %106 = fcmp olt double %105, 6.000000e-01
  br i1 %106, label %107, label %109

107:                                              ; preds = %114, %109, %.thread
  %.059.lcssa = phi i64 [ 0, %.thread ], [ 1, %109 ], [ 2, %114 ]
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4var3IdEixEl(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.059.lcssa)
  store double 1.000000e+00, ptr %108, align 8, !tbaa !37
  br label %.loopexit

109:                                              ; preds = %.thread
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4var3IdEixEl(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1)
  %111 = load double, ptr %110, align 8, !tbaa !37
  %112 = call noundef double @_ZSt3absd(double noundef %111)
  %113 = fcmp olt double %112, 6.000000e-01
  br i1 %113, label %107, label %114

114:                                              ; preds = %109
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4var3IdEixEl(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2)
  %116 = load double, ptr %115, align 8, !tbaa !37
  %117 = call noundef double @_ZSt3absd(double noundef %116)
  %118 = fcmp olt double %117, 6.000000e-01
  br i1 %118, label %107, label %.loopexit

.loopexit:                                        ; preds = %114, %107
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #6
  call void @_ZNK4var3IdEeoERKS0_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %20, i64 24, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #6
  call void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %21, ptr noundef nonnull byval(%class.var3) align 8 %19, double noundef 0x3FE921FB54442EEA, ptr noundef nonnull byval(%class.var3) align 8 %18)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %21, i64 24, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #6
  %119 = call noundef double @_Z3magIdET_RK4var3IS0_E(ptr noundef nonnull align 8 dereferenceable(24) %19)
  %120 = fadd double %119, 1.000000e-33
  call void @_ZNK4var3IdEdvEd(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %19, double noundef %120)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %22, i64 24, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #6
  %121 = add i32 %11, 1
  %122 = and i32 %121, -2
  %123 = icmp sgt i32 %122, 0
  br i1 %123, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.loopexit
  %124 = lshr i32 %121, 1
  %125 = uitofp nneg i32 %124 to double
  %126 = fdiv double 0x3FF921FB54442EEA, %125
  %127 = fmul double %126, 2.000000e+00
  %128 = fsub double 0x400921FB54442EEA, %126
  %129 = fmul double %128, 6.000000e-01
  %130 = fneg double %126
  br label %131

._crit_edge:                                      ; preds = %131, %.loopexit
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  ret void

131:                                              ; preds = %.lr.ph, %131
  %.05660 = phi i32 [ 0, %.lr.ph ], [ %136, %131 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #6
  call void @_Z15rotateAroundVecIdE4var3IT_ES2_dS2_(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %23, ptr noundef nonnull byval(%class.var3) align 8 %19, double noundef %127, ptr noundef nonnull byval(%class.var3) align 8 %18)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %23, i64 24, i1 false), !tbaa.struct !40
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %15, i64 24, i1 false), !tbaa.struct !40
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %16, i64 24, i1 false), !tbaa.struct !40
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %26, ptr noundef nonnull align 8 dereferenceable(24) %19)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %28, ptr noundef nonnull align 8 dereferenceable(24) %19)
  call void @_ZNK4var3IdEmlEd(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %28, double noundef %72)
  call void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull byval(%class.var3) align 8 %24, ptr noundef nonnull byval(%class.var3) align 8 %25, ptr noundef nonnull byval(%class.var3) align 8 %26, ptr noundef nonnull byval(%class.var3) align 8 %27, double noundef 0.000000e+00, double noundef %69, double noundef 0.000000e+00, double noundef %129, double noundef 0.000000e+00, double noundef %126, double noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  %132 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %133 = fptrunc double %132 to float
  store float %133, ptr %29, align 4, !tbaa !41
  call void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %29)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  call void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %15, i64 24, i1 false), !tbaa.struct !40
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %16, i64 24, i1 false), !tbaa.struct !40
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %32, ptr noundef nonnull align 8 dereferenceable(24) %19)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #6
  call void @_ZNK4var3IdEngEv(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %34, ptr noundef nonnull align 8 dereferenceable(24) %19)
  call void @_ZNK4var3IdEmlEd(ptr dead_on_unwind nonnull writable sret(%class.var3) align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %34, double noundef %72)
  call void @_Z16insertHalfCornerRSt6vectorI4var3IdESaIS1_EERS_IiSaIiEES1_S1_S1_S1_ddddddd(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull byval(%class.var3) align 8 %30, ptr noundef nonnull byval(%class.var3) align 8 %31, ptr noundef nonnull byval(%class.var3) align 8 %32, ptr noundef nonnull byval(%class.var3) align 8 %33, double noundef 0.000000e+00, double noundef %69, double noundef 0.000000e+00, double noundef %129, double noundef 0.000000e+00, double noundef %130, double noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #6
  %134 = call noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96) %37)
  %135 = fptrunc double %134 to float
  store float %135, ptr %35, align 4, !tbaa !41
  call void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %35)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #6
  call void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %136 = add nuw nsw i32 %.05660, 1
  %exitcond.not = icmp eq i32 %136, %122
  br i1 %exitcond.not, label %._crit_edge, label %131, !llvm.loop !42
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK8throatNE6radiusEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 8}
!14 = !{!"_ZTS10medialBall", !10, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !16, i64 20, !15, i64 24, !16, i64 28, !16, i64 30, !16, i64 32, !16, i64 34, !16, i64 36, !10, i64 40, !10, i64 48, !10, i64 56}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!14, !15, i64 12}
!18 = !{!14, !15, i64 16}
!19 = !{!20, !10, i64 56}
!20 = !{!"_ZTS6poreNE", !12, i64 0, !12, i64 4, !21, i64 8, !10, i64 56}
!21 = !{!"_ZTSSt3mapIiiSt4lessIiESaISt4pairIKiiEEE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessIiE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !6, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!29 = !{!30, !12, i64 4}
!30 = !{!"_ZTS8throatNE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !16, i64 20, !16, i64 22, !31, i64 24, !31, i64 48, !35, i64 72}
!31 = !{!"_ZTSSt6vectorIP5voxelSaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIP5voxelSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIP5voxelSaIS1_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!35 = !{!"_ZTS4var3IdE", !36, i64 0, !36, i64 8, !36, i64 16}
!36 = !{!"double", !7, i64 0}
!37 = !{!36, !36, i64 0}
!38 = !{!35, !36, i64 0}
!39 = !{!30, !12, i64 8}
!40 = !{i64 0, i64 8, !37, i64 8, i64 8, !37, i64 16, i64 8, !37}
!41 = !{!15, !15, i64 0}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}


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