; LLVM IR from drohmer/cgp :: library/cgp/12_shape/implicit/marching_cube (marching_cube)

; 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"

%"struct.std::array.36" = type { [256 x %"struct.std::array.37"] }
%"struct.std::array.37" = type { [16 x i32] }
%"struct.std::array.38" = type { [12 x %"struct.std::pair"] }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::array.39" = type { [256 x i32] }
%"struct.cgp::numarray_stack.18" = type { float, float, float }
%"struct.cgp::cube_parameters" = type { %"struct.std::array.40", %"struct.std::array.35", %"struct.std::array" }
%"struct.std::array.40" = type { [8 x i64] }
%"struct.std::array.35" = type { [8 x float] }
%"struct.std::array" = type { [8 x %"struct.cgp::numarray_stack.18"] }
%"struct.std::array.41" = type { [12 x %"struct.cgp::numarray_stack.18"] }
%"struct.std::array.42" = type { [12 x float] }
%"struct.cgp::spatial_domain_grid_3D" = type { %"struct.cgp::numarray_stack.18", %"struct.cgp::numarray_stack.18", %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack" = type { i32, i32, i32 }
%"struct.cgp::marching_cube_relative_coordinates" = type { i64, i64, float }

@_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable = external hidden global %"struct.std::array.36", align 4
@_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable = external hidden global i64, align 8
@_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order = external hidden global %"struct.std::array.38", align 4
@_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order = external hidden global i64, align 8
@_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable = external hidden global %"struct.std::array.39", align 4
@_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable = external hidden global i64, align 8

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(36) %2, float noundef %3, ptr noundef %4) #1 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.cgp::numarray_stack.18", align 4
  %14 = alloca %"struct.cgp::numarray_stack.18", align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca { <2 x float>, float }, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca i64, align 8
  %25 = alloca %"struct.cgp::cube_parameters", align 8
  %26 = alloca %"struct.std::array.41", align 4
  %27 = alloca %"struct.std::array.42", align 4
  %28 = alloca %"struct.std::array.40", align 8
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca i64, align 8
  %32 = alloca i32, align 4
  %33 = alloca float, align 4
  %34 = alloca i64, align 8
  %35 = alloca float, align 4
  %36 = alloca i64, align 8
  %37 = alloca float, align 4
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  %41 = alloca i64, align 8
  %42 = alloca i32, align 4
  %43 = alloca i64, align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store float %3, ptr %9, align 4, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  %50 = load atomic i8, ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable acquire, align 8
  %51 = icmp eq i8 %50, 0
  br i1 %51, label %52, label %58, !prof !11

52:                                               ; preds = %5
  %53 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable) #3
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %58

55:                                               ; preds = %52
  invoke void @_ZN3cgp26marching_cube_lut_triTableEv(ptr dead_on_unwind writable sret(%"struct.std::array.36") align 4 @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable)
          to label %56 unwind label %147

56:                                               ; preds = %55
  %57 = call ptr @llvm.invariant.start.p0(i64 16384, ptr @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable)
  call void @__cxa_guard_release(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable) #3
  br label %58

58:                                               ; preds = %56, %52, %5
  %59 = load atomic i8, ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order acquire, align 8
  %60 = icmp eq i8 %59, 0
  br i1 %60, label %61, label %67, !prof !11

61:                                               ; preds = %58
  %62 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order) #3
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %67

64:                                               ; preds = %61
  invoke void @_ZN3cgp28marching_cube_lut_edge_orderEv(ptr dead_on_unwind writable sret(%"struct.std::array.38") align 4 @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order)
          to label %65 unwind label %151

65:                                               ; preds = %64
  %66 = call ptr @llvm.invariant.start.p0(i64 96, ptr @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order)
  call void @__cxa_guard_release(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order) #3
  br label %67

67:                                               ; preds = %65, %61, %58
  %68 = load atomic i8, ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable acquire, align 8
  %69 = icmp eq i8 %68, 0
  br i1 %69, label %70, label %76, !prof !11

70:                                               ; preds = %67
  %71 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable) #3
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %76

73:                                               ; preds = %70
  invoke void @_ZN3cgp27marching_cube_lut_edgeTableEv(ptr dead_on_unwind writable sret(%"struct.std::array.39") align 4 @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable)
          to label %74 unwind label %155

74:                                               ; preds = %73
  %75 = call ptr @llvm.invariant.start.p0(i64 1024, ptr @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable)
  call void @__cxa_guard_release(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable) #3
  br label %76

76:                                               ; preds = %74, %70, %67
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #3
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.cgp::spatial_domain_grid_3D", ptr %77, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #3
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.cgp::spatial_domain_grid_3D", ptr %79, i32 0, i32 1
  %81 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %80, float noundef 2.000000e+00)
  store { <2 x float>, float } %81, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  %82 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %78, ptr noundef nonnull align 4 dereferenceable(12) %14)
  store { <2 x float>, float } %82, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %16, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.cgp::spatial_domain_grid_3D", ptr %83, i32 0, i32 1
  store ptr %84, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.cgp::spatial_domain_grid_3D", ptr %85, i32 0, i32 2
  %87 = getelementptr inbounds %"struct.cgp::numarray_stack", ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 4, !tbaa !12
  %89 = sext i32 %88 to i64
  store i64 %89, ptr %18, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.cgp::spatial_domain_grid_3D", ptr %90, i32 0, i32 2
  %92 = getelementptr inbounds %"struct.cgp::numarray_stack", ptr %91, i32 0, i32 1
  %93 = load i32, ptr %92, align 4, !tbaa !19
  %94 = sext i32 %93 to i64
  store i64 %94, ptr %19, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.cgp::spatial_domain_grid_3D", ptr %95, i32 0, i32 2
  %97 = getelementptr inbounds %"struct.cgp::numarray_stack", ptr %96, i32 0, i32 2
  %98 = load i32, ptr %97, align 4, !tbaa !20
  %99 = sext i32 %98 to i64
  store i64 %99, ptr %20, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  %100 = load i64, ptr %18, align 8, !tbaa !17
  %101 = uitofp i64 %100 to float
  %102 = fsub float %101, 1.000000e+00
  %103 = fdiv float 1.000000e+00, %102
  store float %103, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %104 = load i64, ptr %19, align 8, !tbaa !17
  %105 = uitofp i64 %104 to float
  %106 = fsub float %105, 1.000000e+00
  %107 = fdiv float 1.000000e+00, %106
  store float %107, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %108 = load i64, ptr %20, align 8, !tbaa !17
  %109 = uitofp i64 %108 to float
  %110 = fsub float %109, 1.000000e+00
  %111 = fdiv float 1.000000e+00, %110
  store float %111, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  store i64 0, ptr %24, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 192, ptr %25) #3
  call void @_ZN3cgp15cube_parametersC2Ev(ptr noundef nonnull align 8 dereferenceable(192) %25)
  call void @llvm.lifetime.start.p0(i64 144, ptr %26) #3
  call void @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEC2Ev(ptr noundef nonnull align 4 dereferenceable(144) %26)
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #3
  %112 = getelementptr inbounds %"struct.std::array.40", ptr %28, i32 0, i32 0
  store i64 0, ptr %112, align 8, !tbaa !17
  %113 = getelementptr inbounds i64, ptr %112, i64 1
  store i64 1, ptr %113, align 8, !tbaa !17
  %114 = getelementptr inbounds i64, ptr %112, i64 2
  %115 = load i64, ptr %18, align 8, !tbaa !17
  %116 = add i64 1, %115
  store i64 %116, ptr %114, align 8, !tbaa !17
  %117 = getelementptr inbounds i64, ptr %112, i64 3
  %118 = load i64, ptr %18, align 8, !tbaa !17
  store i64 %118, ptr %117, align 8, !tbaa !17
  %119 = getelementptr inbounds i64, ptr %112, i64 4
  %120 = load i64, ptr %18, align 8, !tbaa !17
  %121 = load i64, ptr %19, align 8, !tbaa !17
  %122 = mul i64 %120, %121
  store i64 %122, ptr %119, align 8, !tbaa !17
  %123 = getelementptr inbounds i64, ptr %112, i64 5
  %124 = load i64, ptr %18, align 8, !tbaa !17
  %125 = load i64, ptr %19, align 8, !tbaa !17
  %126 = mul i64 %124, %125
  %127 = add i64 1, %126
  store i64 %127, ptr %123, align 8, !tbaa !17
  %128 = getelementptr inbounds i64, ptr %112, i64 6
  %129 = load i64, ptr %18, align 8, !tbaa !17
  %130 = add i64 1, %129
  %131 = load i64, ptr %18, align 8, !tbaa !17
  %132 = load i64, ptr %19, align 8, !tbaa !17
  %133 = mul i64 %131, %132
  %134 = add i64 %130, %133
  store i64 %134, ptr %128, align 8, !tbaa !17
  %135 = getelementptr inbounds i64, ptr %112, i64 7
  %136 = load i64, ptr %18, align 8, !tbaa !17
  %137 = load i64, ptr %18, align 8, !tbaa !17
  %138 = load i64, ptr %19, align 8, !tbaa !17
  %139 = mul i64 %137, %138
  %140 = add i64 %136, %139
  store i64 %140, ptr %135, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  store i64 0, ptr %31, align 8, !tbaa !17
  br label %141

141:                                              ; preds = %765, %76
  %142 = load i64, ptr %31, align 8, !tbaa !17
  %143 = load i64, ptr %20, align 8, !tbaa !17
  %144 = sub i64 %143, 1
  %145 = icmp ult i64 %142, %144
  br i1 %145, label %159, label %146

146:                                              ; preds = %141
  store i32 2, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  br label %768

147:                                              ; preds = %55
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %11, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %12, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable) #3
  br label %770

151:                                              ; preds = %64
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %11, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %12, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order) #3
  br label %770

155:                                              ; preds = %73
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %11, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %12, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable) #3
  br label %770

159:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #3
  %160 = load i64, ptr %31, align 8, !tbaa !17
  %161 = uitofp i64 %160 to float
  %162 = load float, ptr %23, align 4, !tbaa !9
  %163 = fmul float %161, %162
  store float %163, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #3
  store i64 0, ptr %34, align 8, !tbaa !17
  br label %164

164:                                              ; preds = %761, %159
  %165 = load i64, ptr %34, align 8, !tbaa !17
  %166 = load i64, ptr %19, align 8, !tbaa !17
  %167 = sub i64 %166, 1
  %168 = icmp ult i64 %165, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %164
  store i32 5, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  br label %764

170:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #3
  %171 = load i64, ptr %34, align 8, !tbaa !17
  %172 = uitofp i64 %171 to float
  %173 = load float, ptr %22, align 4, !tbaa !9
  %174 = fmul float %172, %173
  store float %174, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  store i64 0, ptr %36, align 8, !tbaa !17
  br label %175

175:                                              ; preds = %757, %170
  %176 = load i64, ptr %36, align 8, !tbaa !17
  %177 = load i64, ptr %18, align 8, !tbaa !17
  %178 = sub i64 %177, 1
  %179 = icmp ult i64 %176, %178
  br i1 %179, label %181, label %180

180:                                              ; preds = %175
  store i32 8, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  br label %760

181:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #3
  %182 = load i64, ptr %36, align 8, !tbaa !17
  %183 = uitofp i64 %182 to float
  %184 = load float, ptr %21, align 4, !tbaa !9
  %185 = fmul float %183, %184
  store float %185, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #3
  %186 = load i64, ptr %36, align 8, !tbaa !17
  %187 = load i64, ptr %18, align 8, !tbaa !17
  %188 = load i64, ptr %34, align 8, !tbaa !17
  %189 = load i64, ptr %19, align 8, !tbaa !17
  %190 = load i64, ptr %31, align 8, !tbaa !17
  %191 = mul i64 %189, %190
  %192 = add i64 %188, %191
  %193 = mul i64 %187, %192
  %194 = add i64 %186, %193
  store i64 %194, ptr %38, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #3
  store i64 0, ptr %39, align 8, !tbaa !17
  br label %195

195:                                              ; preds = %208, %181
  %196 = load i64, ptr %39, align 8, !tbaa !17
  %197 = icmp ult i64 %196, 8
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  store i32 11, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #3
  br label %211

199:                                              ; preds = %195
  %200 = load i64, ptr %38, align 8, !tbaa !17
  %201 = load i64, ptr %39, align 8, !tbaa !17
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %28, i64 noundef %201) #3
  %203 = load i64, ptr %202, align 8, !tbaa !17
  %204 = add i64 %200, %203
  %205 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %206 = load i64, ptr %39, align 8, !tbaa !17
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %205, i64 noundef %206) #3
  store i64 %204, ptr %207, align 8, !tbaa !17
  br label %208

208:                                              ; preds = %199
  %209 = load i64, ptr %39, align 8, !tbaa !17
  %210 = add i64 %209, 1
  store i64 %210, ptr %39, align 8, !tbaa !17
  br label %195, !llvm.loop !21

211:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #3
  store i64 0, ptr %40, align 8, !tbaa !17
  br label %212

212:                                              ; preds = %229, %211
  %213 = load i64, ptr %40, align 8, !tbaa !17
  %214 = icmp ult i64 %213, 8
  br i1 %214, label %216, label %215

215:                                              ; preds = %212
  store i32 14, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #3
  br label %232

216:                                              ; preds = %212
  %217 = load ptr, ptr %7, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %219 = load i64, ptr %40, align 8, !tbaa !17
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %218, i64 noundef %219) #3
  %221 = load i64, ptr %220, align 8, !tbaa !17
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %217, i64 noundef %221) #3
  %223 = load float, ptr %222, align 4, !tbaa !9
  %224 = load float, ptr %9, align 4, !tbaa !9
  %225 = fsub float %223, %224
  %226 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %227 = load i64, ptr %40, align 8, !tbaa !17
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %226, i64 noundef %227) #3
  store float %225, ptr %228, align 4, !tbaa !9
  br label %229

229:                                              ; preds = %216
  %230 = load i64, ptr %40, align 8, !tbaa !17
  %231 = add i64 %230, 1
  store i64 %231, ptr %40, align 8, !tbaa !17
  br label %212, !llvm.loop !23

232:                                              ; preds = %215
  store i8 0, ptr %29, align 1, !tbaa !24
  store i8 0, ptr %30, align 1, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #3
  store i64 0, ptr %41, align 8, !tbaa !17
  br label %233

233:                                              ; preds = %252, %232
  %234 = load i64, ptr %41, align 8, !tbaa !17
  %235 = icmp ult i64 %234, 8
  br i1 %235, label %237, label %236

236:                                              ; preds = %233
  store i32 17, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #3
  br label %255

237:                                              ; preds = %233
  %238 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %239 = load i64, ptr %41, align 8, !tbaa !17
  %240 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %238, i64 noundef %239) #3
  %241 = load float, ptr %240, align 4, !tbaa !9
  %242 = fcmp oge float %241, 0.000000e+00
  br i1 %242, label %243, label %244

243:                                              ; preds = %237
  store i8 1, ptr %29, align 1, !tbaa !24
  br label %244

244:                                              ; preds = %243, %237
  %245 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %246 = load i64, ptr %41, align 8, !tbaa !17
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %245, i64 noundef %246) #3
  %248 = load float, ptr %247, align 4, !tbaa !9
  %249 = fcmp olt float %248, 0.000000e+00
  br i1 %249, label %250, label %251

250:                                              ; preds = %244
  store i8 1, ptr %30, align 1, !tbaa !24
  br label %251

251:                                              ; preds = %250, %244
  br label %252

252:                                              ; preds = %251
  %253 = load i64, ptr %41, align 8, !tbaa !17
  %254 = add i64 %253, 1
  store i64 %254, ptr %41, align 8, !tbaa !17
  br label %233, !llvm.loop !26

255:                                              ; preds = %236
  %256 = load i8, ptr %29, align 1, !tbaa !24, !range !27, !noundef !28
  %257 = trunc i8 %256 to i1
  br i1 %257, label %258, label %756

258:                                              ; preds = %255
  %259 = load i8, ptr %30, align 1, !tbaa !24, !range !27, !noundef !28
  %260 = trunc i8 %259 to i1
  br i1 %260, label %261, label %756

261:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #3
  store i32 0, ptr %42, align 4, !tbaa !29
  %262 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %262, i64 noundef 0) #3
  %264 = load float, ptr %263, align 4, !tbaa !9
  %265 = fcmp olt float %264, 0.000000e+00
  br i1 %265, label %266, label %269

266:                                              ; preds = %261
  %267 = load i32, ptr %42, align 4, !tbaa !29
  %268 = or i32 %267, 1
  store i32 %268, ptr %42, align 4, !tbaa !29
  br label %269

269:                                              ; preds = %266, %261
  %270 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %271 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %270, i64 noundef 1) #3
  %272 = load float, ptr %271, align 4, !tbaa !9
  %273 = fcmp olt float %272, 0.000000e+00
  br i1 %273, label %274, label %277

274:                                              ; preds = %269
  %275 = load i32, ptr %42, align 4, !tbaa !29
  %276 = or i32 %275, 2
  store i32 %276, ptr %42, align 4, !tbaa !29
  br label %277

277:                                              ; preds = %274, %269
  %278 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %278, i64 noundef 2) #3
  %280 = load float, ptr %279, align 4, !tbaa !9
  %281 = fcmp olt float %280, 0.000000e+00
  br i1 %281, label %282, label %285

282:                                              ; preds = %277
  %283 = load i32, ptr %42, align 4, !tbaa !29
  %284 = or i32 %283, 4
  store i32 %284, ptr %42, align 4, !tbaa !29
  br label %285

285:                                              ; preds = %282, %277
  %286 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %287 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %286, i64 noundef 3) #3
  %288 = load float, ptr %287, align 4, !tbaa !9
  %289 = fcmp olt float %288, 0.000000e+00
  br i1 %289, label %290, label %293

290:                                              ; preds = %285
  %291 = load i32, ptr %42, align 4, !tbaa !29
  %292 = or i32 %291, 8
  store i32 %292, ptr %42, align 4, !tbaa !29
  br label %293

293:                                              ; preds = %290, %285
  %294 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %295 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %294, i64 noundef 4) #3
  %296 = load float, ptr %295, align 4, !tbaa !9
  %297 = fcmp olt float %296, 0.000000e+00
  br i1 %297, label %298, label %301

298:                                              ; preds = %293
  %299 = load i32, ptr %42, align 4, !tbaa !29
  %300 = or i32 %299, 16
  store i32 %300, ptr %42, align 4, !tbaa !29
  br label %301

301:                                              ; preds = %298, %293
  %302 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %302, i64 noundef 5) #3
  %304 = load float, ptr %303, align 4, !tbaa !9
  %305 = fcmp olt float %304, 0.000000e+00
  br i1 %305, label %306, label %309

306:                                              ; preds = %301
  %307 = load i32, ptr %42, align 4, !tbaa !29
  %308 = or i32 %307, 32
  store i32 %308, ptr %42, align 4, !tbaa !29
  br label %309

309:                                              ; preds = %306, %301
  %310 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %311 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %310, i64 noundef 6) #3
  %312 = load float, ptr %311, align 4, !tbaa !9
  %313 = fcmp olt float %312, 0.000000e+00
  br i1 %313, label %314, label %317

314:                                              ; preds = %309
  %315 = load i32, ptr %42, align 4, !tbaa !29
  %316 = or i32 %315, 64
  store i32 %316, ptr %42, align 4, !tbaa !29
  br label %317

317:                                              ; preds = %314, %309
  %318 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  %319 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %318, i64 noundef 7) #3
  %320 = load float, ptr %319, align 4, !tbaa !9
  %321 = fcmp olt float %320, 0.000000e+00
  br i1 %321, label %322, label %325

322:                                              ; preds = %317
  %323 = load i32, ptr %42, align 4, !tbaa !29
  %324 = or i32 %323, 128
  store i32 %324, ptr %42, align 4, !tbaa !29
  br label %325

325:                                              ; preds = %322, %317
  %326 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %327 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %326, i64 noundef 0) #3
  %328 = load float, ptr %37, align 4, !tbaa !9
  %329 = load float, ptr %35, align 4, !tbaa !9
  %330 = load float, ptr %33, align 4, !tbaa !9
  %331 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %327, float noundef %328, float noundef %329, float noundef %330, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %331)
  %332 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %333 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %332, i64 noundef 1) #3
  %334 = load float, ptr %37, align 4, !tbaa !9
  %335 = load float, ptr %21, align 4, !tbaa !9
  %336 = fadd float %334, %335
  %337 = load float, ptr %35, align 4, !tbaa !9
  %338 = load float, ptr %33, align 4, !tbaa !9
  %339 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %333, float noundef %336, float noundef %337, float noundef %338, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %339)
  %340 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %341 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %340, i64 noundef 2) #3
  %342 = load float, ptr %37, align 4, !tbaa !9
  %343 = load float, ptr %21, align 4, !tbaa !9
  %344 = fadd float %342, %343
  %345 = load float, ptr %35, align 4, !tbaa !9
  %346 = load float, ptr %22, align 4, !tbaa !9
  %347 = fadd float %345, %346
  %348 = load float, ptr %33, align 4, !tbaa !9
  %349 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %341, float noundef %344, float noundef %347, float noundef %348, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %349)
  %350 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %351 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %350, i64 noundef 3) #3
  %352 = load float, ptr %37, align 4, !tbaa !9
  %353 = load float, ptr %35, align 4, !tbaa !9
  %354 = load float, ptr %22, align 4, !tbaa !9
  %355 = fadd float %353, %354
  %356 = load float, ptr %33, align 4, !tbaa !9
  %357 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %351, float noundef %352, float noundef %355, float noundef %356, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %357)
  %358 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %359 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %358, i64 noundef 4) #3
  %360 = load float, ptr %37, align 4, !tbaa !9
  %361 = load float, ptr %35, align 4, !tbaa !9
  %362 = load float, ptr %33, align 4, !tbaa !9
  %363 = load float, ptr %23, align 4, !tbaa !9
  %364 = fadd float %362, %363
  %365 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %359, float noundef %360, float noundef %361, float noundef %364, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %365)
  %366 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %367 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %366, i64 noundef 5) #3
  %368 = load float, ptr %37, align 4, !tbaa !9
  %369 = load float, ptr %21, align 4, !tbaa !9
  %370 = fadd float %368, %369
  %371 = load float, ptr %35, align 4, !tbaa !9
  %372 = load float, ptr %33, align 4, !tbaa !9
  %373 = load float, ptr %23, align 4, !tbaa !9
  %374 = fadd float %372, %373
  %375 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %367, float noundef %370, float noundef %371, float noundef %374, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %375)
  %376 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %377 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %376, i64 noundef 6) #3
  %378 = load float, ptr %37, align 4, !tbaa !9
  %379 = load float, ptr %21, align 4, !tbaa !9
  %380 = fadd float %378, %379
  %381 = load float, ptr %35, align 4, !tbaa !9
  %382 = load float, ptr %22, align 4, !tbaa !9
  %383 = fadd float %381, %382
  %384 = load float, ptr %33, align 4, !tbaa !9
  %385 = load float, ptr %23, align 4, !tbaa !9
  %386 = fadd float %384, %385
  %387 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %377, float noundef %380, float noundef %383, float noundef %386, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %387)
  %388 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %389 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %388, i64 noundef 7) #3
  %390 = load float, ptr %37, align 4, !tbaa !9
  %391 = load float, ptr %35, align 4, !tbaa !9
  %392 = load float, ptr %22, align 4, !tbaa !9
  %393 = fadd float %391, %392
  %394 = load float, ptr %33, align 4, !tbaa !9
  %395 = load float, ptr %23, align 4, !tbaa !9
  %396 = fadd float %394, %395
  %397 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %389, float noundef %390, float noundef %393, float noundef %396, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %397)
  %398 = load i32, ptr %42, align 4, !tbaa !29
  %399 = sext i32 %398 to i64
  %400 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %399) #3
  %401 = load i32, ptr %400, align 4, !tbaa !29
  %402 = and i32 %401, 1
  %403 = icmp ne i32 %402, 0
  br i1 %403, label %404, label %409

404:                                              ; preds = %325
  %405 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 0) #3
  %406 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 0) #3
  %407 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %408 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %405, ptr noundef nonnull align 4 dereferenceable(4) %406, i32 noundef 0, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(96) %407, ptr noundef nonnull align 4 dereferenceable(32) %408)
  br label %409

409:                                              ; preds = %404, %325
  %410 = load i32, ptr %42, align 4, !tbaa !29
  %411 = sext i32 %410 to i64
  %412 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %411) #3
  %413 = load i32, ptr %412, align 4, !tbaa !29
  %414 = and i32 %413, 2
  %415 = icmp ne i32 %414, 0
  br i1 %415, label %416, label %421

416:                                              ; preds = %409
  %417 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 1) #3
  %418 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 1) #3
  %419 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %420 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %417, ptr noundef nonnull align 4 dereferenceable(4) %418, i32 noundef 1, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(96) %419, ptr noundef nonnull align 4 dereferenceable(32) %420)
  br label %421

421:                                              ; preds = %416, %409
  %422 = load i32, ptr %42, align 4, !tbaa !29
  %423 = sext i32 %422 to i64
  %424 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %423) #3
  %425 = load i32, ptr %424, align 4, !tbaa !29
  %426 = and i32 %425, 4
  %427 = icmp ne i32 %426, 0
  br i1 %427, label %428, label %433

428:                                              ; preds = %421
  %429 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 2) #3
  %430 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 2) #3
  %431 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %432 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %429, ptr noundef nonnull align 4 dereferenceable(4) %430, i32 noundef 2, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(96) %431, ptr noundef nonnull align 4 dereferenceable(32) %432)
  br label %433

433:                                              ; preds = %428, %421
  %434 = load i32, ptr %42, align 4, !tbaa !29
  %435 = sext i32 %434 to i64
  %436 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %435) #3
  %437 = load i32, ptr %436, align 4, !tbaa !29
  %438 = and i32 %437, 8
  %439 = icmp ne i32 %438, 0
  br i1 %439, label %440, label %445

440:                                              ; preds = %433
  %441 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 3) #3
  %442 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 3) #3
  %443 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %444 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %441, ptr noundef nonnull align 4 dereferenceable(4) %442, i32 noundef 3, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(96) %443, ptr noundef nonnull align 4 dereferenceable(32) %444)
  br label %445

445:                                              ; preds = %440, %433
  %446 = load i32, ptr %42, align 4, !tbaa !29
  %447 = sext i32 %446 to i64
  %448 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %447) #3
  %449 = load i32, ptr %448, align 4, !tbaa !29
  %450 = and i32 %449, 16
  %451 = icmp ne i32 %450, 0
  br i1 %451, label %452, label %457

452:                                              ; preds = %445
  %453 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 4) #3
  %454 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 4) #3
  %455 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %456 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %453, ptr noundef nonnull align 4 dereferenceable(4) %454, i32 noundef 4, i32 noundef 5, ptr noundef nonnull align 4 dereferenceable(96) %455, ptr noundef nonnull align 4 dereferenceable(32) %456)
  br label %457

457:                                              ; preds = %452, %445
  %458 = load i32, ptr %42, align 4, !tbaa !29
  %459 = sext i32 %458 to i64
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %459) #3
  %461 = load i32, ptr %460, align 4, !tbaa !29
  %462 = and i32 %461, 32
  %463 = icmp ne i32 %462, 0
  br i1 %463, label %464, label %469

464:                                              ; preds = %457
  %465 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 5) #3
  %466 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 5) #3
  %467 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %468 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %465, ptr noundef nonnull align 4 dereferenceable(4) %466, i32 noundef 5, i32 noundef 6, ptr noundef nonnull align 4 dereferenceable(96) %467, ptr noundef nonnull align 4 dereferenceable(32) %468)
  br label %469

469:                                              ; preds = %464, %457
  %470 = load i32, ptr %42, align 4, !tbaa !29
  %471 = sext i32 %470 to i64
  %472 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %471) #3
  %473 = load i32, ptr %472, align 4, !tbaa !29
  %474 = and i32 %473, 64
  %475 = icmp ne i32 %474, 0
  br i1 %475, label %476, label %481

476:                                              ; preds = %469
  %477 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 6) #3
  %478 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 6) #3
  %479 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %480 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %477, ptr noundef nonnull align 4 dereferenceable(4) %478, i32 noundef 6, i32 noundef 7, ptr noundef nonnull align 4 dereferenceable(96) %479, ptr noundef nonnull align 4 dereferenceable(32) %480)
  br label %481

481:                                              ; preds = %476, %469
  %482 = load i32, ptr %42, align 4, !tbaa !29
  %483 = sext i32 %482 to i64
  %484 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %483) #3
  %485 = load i32, ptr %484, align 4, !tbaa !29
  %486 = and i32 %485, 128
  %487 = icmp ne i32 %486, 0
  br i1 %487, label %488, label %493

488:                                              ; preds = %481
  %489 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 7) #3
  %490 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 7) #3
  %491 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %492 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %489, ptr noundef nonnull align 4 dereferenceable(4) %490, i32 noundef 7, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(96) %491, ptr noundef nonnull align 4 dereferenceable(32) %492)
  br label %493

493:                                              ; preds = %488, %481
  %494 = load i32, ptr %42, align 4, !tbaa !29
  %495 = sext i32 %494 to i64
  %496 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %495) #3
  %497 = load i32, ptr %496, align 4, !tbaa !29
  %498 = and i32 %497, 256
  %499 = icmp ne i32 %498, 0
  br i1 %499, label %500, label %505

500:                                              ; preds = %493
  %501 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 8) #3
  %502 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 8) #3
  %503 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %504 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %501, ptr noundef nonnull align 4 dereferenceable(4) %502, i32 noundef 0, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(96) %503, ptr noundef nonnull align 4 dereferenceable(32) %504)
  br label %505

505:                                              ; preds = %500, %493
  %506 = load i32, ptr %42, align 4, !tbaa !29
  %507 = sext i32 %506 to i64
  %508 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %507) #3
  %509 = load i32, ptr %508, align 4, !tbaa !29
  %510 = and i32 %509, 512
  %511 = icmp ne i32 %510, 0
  br i1 %511, label %512, label %517

512:                                              ; preds = %505
  %513 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 9) #3
  %514 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 9) #3
  %515 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %516 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %513, ptr noundef nonnull align 4 dereferenceable(4) %514, i32 noundef 1, i32 noundef 5, ptr noundef nonnull align 4 dereferenceable(96) %515, ptr noundef nonnull align 4 dereferenceable(32) %516)
  br label %517

517:                                              ; preds = %512, %505
  %518 = load i32, ptr %42, align 4, !tbaa !29
  %519 = sext i32 %518 to i64
  %520 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %519) #3
  %521 = load i32, ptr %520, align 4, !tbaa !29
  %522 = and i32 %521, 1024
  %523 = icmp ne i32 %522, 0
  br i1 %523, label %524, label %529

524:                                              ; preds = %517
  %525 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 10) #3
  %526 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 10) #3
  %527 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %528 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %525, ptr noundef nonnull align 4 dereferenceable(4) %526, i32 noundef 2, i32 noundef 6, ptr noundef nonnull align 4 dereferenceable(96) %527, ptr noundef nonnull align 4 dereferenceable(32) %528)
  br label %529

529:                                              ; preds = %524, %517
  %530 = load i32, ptr %42, align 4, !tbaa !29
  %531 = sext i32 %530 to i64
  %532 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %531) #3
  %533 = load i32, ptr %532, align 4, !tbaa !29
  %534 = and i32 %533, 2048
  %535 = icmp ne i32 %534, 0
  br i1 %535, label %536, label %541

536:                                              ; preds = %529
  %537 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef 11) #3
  %538 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef 11) #3
  %539 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 2
  %540 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 1
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %537, ptr noundef nonnull align 4 dereferenceable(4) %538, i32 noundef 3, i32 noundef 7, ptr noundef nonnull align 4 dereferenceable(96) %539, ptr noundef nonnull align 4 dereferenceable(32) %540)
  br label %541

541:                                              ; preds = %536, %529
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #3
  store i64 0, ptr %43, align 8, !tbaa !17
  br label %542

542:                                              ; preds = %752, %541
  %543 = load i32, ptr %42, align 4, !tbaa !29
  %544 = sext i32 %543 to i64
  %545 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %544) #3
  %546 = load i64, ptr %43, align 8, !tbaa !17
  %547 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %545, i64 noundef %546) #3
  %548 = load i32, ptr %547, align 4, !tbaa !29
  %549 = icmp ne i32 %548, -1
  br i1 %549, label %551, label %550

550:                                              ; preds = %542
  store i32 20, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #3
  br label %755

551:                                              ; preds = %542
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #3
  %552 = load i32, ptr %42, align 4, !tbaa !29
  %553 = sext i32 %552 to i64
  %554 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %553) #3
  %555 = load i64, ptr %43, align 8, !tbaa !17
  %556 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %554, i64 noundef %555) #3
  %557 = load i32, ptr %556, align 4, !tbaa !29
  %558 = sext i32 %557 to i64
  %559 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef %558) #3
  store ptr %559, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #3
  %560 = load i32, ptr %42, align 4, !tbaa !29
  %561 = sext i32 %560 to i64
  %562 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %561) #3
  %563 = load i64, ptr %43, align 8, !tbaa !17
  %564 = add i64 %563, 1
  %565 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %562, i64 noundef %564) #3
  %566 = load i32, ptr %565, align 4, !tbaa !29
  %567 = sext i32 %566 to i64
  %568 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef %567) #3
  store ptr %568, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #3
  %569 = load i32, ptr %42, align 4, !tbaa !29
  %570 = sext i32 %569 to i64
  %571 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %570) #3
  %572 = load i64, ptr %43, align 8, !tbaa !17
  %573 = add i64 %572, 2
  %574 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %571, i64 noundef %573) #3
  %575 = load i32, ptr %574, align 4, !tbaa !29
  %576 = sext i32 %575 to i64
  %577 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %26, i64 noundef %576) #3
  store ptr %577, ptr %46, align 8, !tbaa !5
  %578 = load ptr, ptr %6, align 8, !tbaa !5
  %579 = call noundef i64 @_ZNKSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %578) #3
  %580 = load i64, ptr %24, align 8, !tbaa !17
  %581 = add i64 %580, 3
  %582 = icmp ult i64 %579, %581
  br i1 %582, label %583, label %590

583:                                              ; preds = %551
  %584 = load ptr, ptr %6, align 8, !tbaa !5
  %585 = load i64, ptr %24, align 8, !tbaa !17
  %586 = add i64 %585, 3
  %587 = uitofp i64 %586 to double
  %588 = fmul double 1.500000e+00, %587
  %589 = fptoui double %588 to i64
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %584, i64 noundef %589)
  br label %590

590:                                              ; preds = %583, %551
  %591 = load ptr, ptr %44, align 8, !tbaa !5
  %592 = load ptr, ptr %6, align 8, !tbaa !5
  %593 = load i64, ptr %24, align 8, !tbaa !17
  %594 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %592, i64 noundef %593) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %594, ptr align 4 %591, i64 12, i1 false), !tbaa.struct !30
  %595 = load ptr, ptr %45, align 8, !tbaa !5
  %596 = load ptr, ptr %6, align 8, !tbaa !5
  %597 = load i64, ptr %24, align 8, !tbaa !17
  %598 = add i64 %597, 1
  %599 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %596, i64 noundef %598) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %599, ptr align 4 %595, i64 12, i1 false), !tbaa.struct !30
  %600 = load ptr, ptr %46, align 8, !tbaa !5
  %601 = load ptr, ptr %6, align 8, !tbaa !5
  %602 = load i64, ptr %24, align 8, !tbaa !17
  %603 = add i64 %602, 2
  %604 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %601, i64 noundef %603) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %604, ptr align 4 %600, i64 12, i1 false), !tbaa.struct !30
  %605 = load ptr, ptr %10, align 8, !tbaa !5
  %606 = icmp ne ptr %605, null
  br i1 %606, label %607, label %749

607:                                              ; preds = %590
  %608 = load ptr, ptr %10, align 8, !tbaa !5
  %609 = call noundef i64 @_ZNKSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %608) #3
  %610 = load i64, ptr %24, align 8, !tbaa !17
  %611 = add i64 %610, 3
  %612 = icmp ult i64 %609, %611
  br i1 %612, label %613, label %620

613:                                              ; preds = %607
  %614 = load ptr, ptr %10, align 8, !tbaa !5
  %615 = load i64, ptr %24, align 8, !tbaa !17
  %616 = add i64 %615, 3
  %617 = uitofp i64 %616 to double
  %618 = fmul double 1.500000e+00, %617
  %619 = fptoui double %618 to i64
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %614, i64 noundef %619)
  br label %620

620:                                              ; preds = %613, %607
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #3
  %621 = load i32, ptr %42, align 4, !tbaa !29
  %622 = sext i32 %621 to i64
  %623 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %622) #3
  %624 = load i64, ptr %43, align 8, !tbaa !17
  %625 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %623, i64 noundef %624) #3
  %626 = load i32, ptr %625, align 4, !tbaa !29
  store i32 %626, ptr %47, align 4, !tbaa !29
  %627 = load i32, ptr %47, align 4, !tbaa !29
  %628 = sext i32 %627 to i64
  %629 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef %628) #3
  %630 = load float, ptr %629, align 4, !tbaa !9
  %631 = load ptr, ptr %10, align 8, !tbaa !5
  %632 = load i64, ptr %24, align 8, !tbaa !17
  %633 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %631, i64 noundef %632) #3
  %634 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %633, i32 0, i32 2
  store float %630, ptr %634, align 8, !tbaa !31
  %635 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %636 = load i32, ptr %47, align 4, !tbaa !29
  %637 = sext i32 %636 to i64
  %638 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %637) #3
  %639 = getelementptr inbounds %"struct.std::pair", ptr %638, i32 0, i32 0
  %640 = load i32, ptr %639, align 4, !tbaa !33
  %641 = sext i32 %640 to i64
  %642 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %635, i64 noundef %641) #3
  %643 = load i64, ptr %642, align 8, !tbaa !17
  %644 = load ptr, ptr %10, align 8, !tbaa !5
  %645 = load i64, ptr %24, align 8, !tbaa !17
  %646 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %644, i64 noundef %645) #3
  %647 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %646, i32 0, i32 0
  store i64 %643, ptr %647, align 8, !tbaa !35
  %648 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %649 = load i32, ptr %47, align 4, !tbaa !29
  %650 = sext i32 %649 to i64
  %651 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %650) #3
  %652 = getelementptr inbounds %"struct.std::pair", ptr %651, i32 0, i32 1
  %653 = load i32, ptr %652, align 4, !tbaa !36
  %654 = sext i32 %653 to i64
  %655 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %648, i64 noundef %654) #3
  %656 = load i64, ptr %655, align 8, !tbaa !17
  %657 = load ptr, ptr %10, align 8, !tbaa !5
  %658 = load i64, ptr %24, align 8, !tbaa !17
  %659 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %657, i64 noundef %658) #3
  %660 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %659, i32 0, i32 1
  store i64 %656, ptr %660, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #3
  %661 = load i32, ptr %42, align 4, !tbaa !29
  %662 = sext i32 %661 to i64
  %663 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %662) #3
  %664 = load i64, ptr %43, align 8, !tbaa !17
  %665 = add i64 %664, 1
  %666 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %663, i64 noundef %665) #3
  %667 = load i32, ptr %666, align 4, !tbaa !29
  store i32 %667, ptr %48, align 4, !tbaa !29
  %668 = load i32, ptr %48, align 4, !tbaa !29
  %669 = sext i32 %668 to i64
  %670 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef %669) #3
  %671 = load float, ptr %670, align 4, !tbaa !9
  %672 = load ptr, ptr %10, align 8, !tbaa !5
  %673 = load i64, ptr %24, align 8, !tbaa !17
  %674 = add i64 %673, 1
  %675 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %672, i64 noundef %674) #3
  %676 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %675, i32 0, i32 2
  store float %671, ptr %676, align 8, !tbaa !31
  %677 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %678 = load i32, ptr %48, align 4, !tbaa !29
  %679 = sext i32 %678 to i64
  %680 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %679) #3
  %681 = getelementptr inbounds %"struct.std::pair", ptr %680, i32 0, i32 0
  %682 = load i32, ptr %681, align 4, !tbaa !33
  %683 = sext i32 %682 to i64
  %684 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %677, i64 noundef %683) #3
  %685 = load i64, ptr %684, align 8, !tbaa !17
  %686 = load ptr, ptr %10, align 8, !tbaa !5
  %687 = load i64, ptr %24, align 8, !tbaa !17
  %688 = add i64 %687, 1
  %689 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %686, i64 noundef %688) #3
  %690 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %689, i32 0, i32 0
  store i64 %685, ptr %690, align 8, !tbaa !35
  %691 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %692 = load i32, ptr %48, align 4, !tbaa !29
  %693 = sext i32 %692 to i64
  %694 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %693) #3
  %695 = getelementptr inbounds %"struct.std::pair", ptr %694, i32 0, i32 1
  %696 = load i32, ptr %695, align 4, !tbaa !36
  %697 = sext i32 %696 to i64
  %698 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %691, i64 noundef %697) #3
  %699 = load i64, ptr %698, align 8, !tbaa !17
  %700 = load ptr, ptr %10, align 8, !tbaa !5
  %701 = load i64, ptr %24, align 8, !tbaa !17
  %702 = add i64 %701, 1
  %703 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %700, i64 noundef %702) #3
  %704 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %703, i32 0, i32 1
  store i64 %699, ptr %704, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #3
  %705 = load i32, ptr %42, align 4, !tbaa !29
  %706 = sext i32 %705 to i64
  %707 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %706) #3
  %708 = load i64, ptr %43, align 8, !tbaa !17
  %709 = add i64 %708, 2
  %710 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %707, i64 noundef %709) #3
  %711 = load i32, ptr %710, align 4, !tbaa !29
  store i32 %711, ptr %49, align 4, !tbaa !29
  %712 = load i32, ptr %49, align 4, !tbaa !29
  %713 = sext i32 %712 to i64
  %714 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %27, i64 noundef %713) #3
  %715 = load float, ptr %714, align 4, !tbaa !9
  %716 = load ptr, ptr %10, align 8, !tbaa !5
  %717 = load i64, ptr %24, align 8, !tbaa !17
  %718 = add i64 %717, 2
  %719 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %716, i64 noundef %718) #3
  %720 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %719, i32 0, i32 2
  store float %715, ptr %720, align 8, !tbaa !31
  %721 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %722 = load i32, ptr %49, align 4, !tbaa !29
  %723 = sext i32 %722 to i64
  %724 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %723) #3
  %725 = getelementptr inbounds %"struct.std::pair", ptr %724, i32 0, i32 0
  %726 = load i32, ptr %725, align 4, !tbaa !33
  %727 = sext i32 %726 to i64
  %728 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %721, i64 noundef %727) #3
  %729 = load i64, ptr %728, align 8, !tbaa !17
  %730 = load ptr, ptr %10, align 8, !tbaa !5
  %731 = load i64, ptr %24, align 8, !tbaa !17
  %732 = add i64 %731, 2
  %733 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %730, i64 noundef %732) #3
  %734 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %733, i32 0, i32 0
  store i64 %729, ptr %734, align 8, !tbaa !35
  %735 = getelementptr inbounds %"struct.cgp::cube_parameters", ptr %25, i32 0, i32 0
  %736 = load i32, ptr %49, align 4, !tbaa !29
  %737 = sext i32 %736 to i64
  %738 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %737) #3
  %739 = getelementptr inbounds %"struct.std::pair", ptr %738, i32 0, i32 1
  %740 = load i32, ptr %739, align 4, !tbaa !36
  %741 = sext i32 %740 to i64
  %742 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %735, i64 noundef %741) #3
  %743 = load i64, ptr %742, align 8, !tbaa !17
  %744 = load ptr, ptr %10, align 8, !tbaa !5
  %745 = load i64, ptr %24, align 8, !tbaa !17
  %746 = add i64 %745, 2
  %747 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %744, i64 noundef %746) #3
  %748 = getelementptr inbounds %"struct.cgp::marching_cube_relative_coordinates", ptr %747, i32 0, i32 1
  store i64 %743, ptr %748, align 8, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #3
  br label %749

749:                                              ; preds = %620, %590
  %750 = load i64, ptr %24, align 8, !tbaa !17
  %751 = add i64 %750, 3
  store i64 %751, ptr %24, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #3
  br label %752

752:                                              ; preds = %749
  %753 = load i64, ptr %43, align 8, !tbaa !17
  %754 = add i64 %753, 3
  store i64 %754, ptr %43, align 8, !tbaa !17
  br label %542, !llvm.loop !38

755:                                              ; preds = %550
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #3
  br label %756

756:                                              ; preds = %755, %258, %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #3
  br label %757

757:                                              ; preds = %756
  %758 = load i64, ptr %36, align 8, !tbaa !17
  %759 = add i64 %758, 1
  store i64 %759, ptr %36, align 8, !tbaa !17
  br label %175, !llvm.loop !39

760:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  br label %761

761:                                              ; preds = %760
  %762 = load i64, ptr %34, align 8, !tbaa !17
  %763 = add i64 %762, 1
  store i64 %763, ptr %34, align 8, !tbaa !17
  br label %164, !llvm.loop !40

764:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #3
  br label %765

765:                                              ; preds = %764
  %766 = load i64, ptr %31, align 8, !tbaa !17
  %767 = add i64 %766, 1
  store i64 %767, ptr %31, align 8, !tbaa !17
  br label %141, !llvm.loop !41

768:                                              ; preds = %146
  %769 = load i64, ptr %24, align 8, !tbaa !17
  store i32 1, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 144, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 192, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #3
  ret i64 %769

770:                                              ; preds = %155, %151, %147
  %771 = load ptr, ptr %11, align 8
  %772 = load i32, ptr %12, align 4
  %773 = insertvalue { ptr, i32 } poison, ptr %771, 0
  %774 = insertvalue { ptr, i32 } %773, i32 %772, 1
  resume { ptr, i32 } %774
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(96), ptr noundef nonnull align 4 dereferenceable(32)) #2

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #3

declare void @_ZN3cgp26marching_cube_lut_triTableEv(ptr dead_on_unwind writable sret(%"struct.std::array.36") align 4) #4

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

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #3

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #3

declare void @_ZN3cgp28marching_cube_lut_edge_orderEv(ptr dead_on_unwind writable sret(%"struct.std::array.38") align 4) #4

declare void @_ZN3cgp27marching_cube_lut_edgeTableEv(ptr dead_on_unwind writable sret(%"struct.std::array.39") align 4) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cgp15cube_parametersC2Ev(ptr noundef nonnull align 8 dereferenceable(192)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEC2Ev(ptr noundef nonnull align 4 dereferenceable(144)) unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64), i64 noundef) #2 align 2

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

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

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

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

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

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

!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 = !{!"float", !7, i64 0}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = !{!13, !16, i64 24}
!13 = !{!"_ZTSN3cgp22spatial_domain_grid_3DE", !14, i64 0, !14, i64 12, !15, i64 24}
!14 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !10, i64 0, !10, i64 4, !10, i64 8}
!15 = !{!"_ZTSN3cgp14numarray_stackIiLi3EEE", !16, i64 0, !16, i64 4, !16, i64 8}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!13, !16, i64 28}
!20 = !{!13, !16, i64 32}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!25, !25, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = distinct !{!26, !22}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!16, !16, i64 0}
!30 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!31 = !{!32, !10, i64 16}
!32 = !{!"_ZTSN3cgp34marching_cube_relative_coordinatesE", !18, i64 0, !18, i64 8, !10, i64 16}
!33 = !{!34, !16, i64 0}
!34 = !{!"_ZTSSt4pairIiiE", !16, i64 0, !16, i64 4}
!35 = !{!32, !18, i64 0}
!36 = !{!34, !16, i64 4}
!37 = !{!32, !18, i64 8}
!38 = distinct !{!38, !22}
!39 = distinct !{!39, !22}
!40 = distinct !{!40, !22}
!41 = distinct !{!41, !22}


; 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"

%"struct.std::array.36" = type { [256 x %"struct.std::array.37"] }
%"struct.std::array.37" = type { [16 x i32] }
%"struct.std::array.38" = type { [12 x %"struct.std::pair"] }
%"struct.std::pair" = type { i32, i32 }
%"struct.std::array.39" = type { [256 x i32] }
%"struct.cgp::numarray_stack.18" = type { float, float, float }
%"struct.cgp::cube_parameters" = type { %"struct.std::array.40", %"struct.std::array.35", %"struct.std::array" }
%"struct.std::array.40" = type { [8 x i64] }
%"struct.std::array.35" = type { [8 x float] }
%"struct.std::array" = type { [8 x %"struct.cgp::numarray_stack.18"] }
%"struct.std::array.41" = type { [12 x %"struct.cgp::numarray_stack.18"] }
%"struct.std::array.42" = type { [12 x float] }

@_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable = external hidden global %"struct.std::array.36", align 4
@_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable = external hidden global i64, align 8
@_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order = external hidden global %"struct.std::array.38", align 4
@_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order = external hidden global i64, align 8
@_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable = external hidden global %"struct.std::array.39", align 4
@_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable = external hidden global i64, align 8

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(36) %2, float noundef %3, ptr noundef %4) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.cgp::numarray_stack.18", align 8
  %7 = alloca %"struct.cgp::numarray_stack.18", align 8
  %8 = alloca %"struct.cgp::cube_parameters", align 8
  %9 = alloca %"struct.std::array.41", align 4
  %10 = alloca %"struct.std::array.42", align 4
  %11 = alloca %"struct.std::array.40", align 8
  %12 = load atomic i8, ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable acquire, align 8
  %13 = icmp eq i8 %12, 0
  br i1 %13, label %14, label %19, !prof !5

14:                                               ; preds = %5
  %15 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable) #8
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %19, label %16

16:                                               ; preds = %14
  invoke void @_ZN3cgp26marching_cube_lut_triTableEv(ptr dead_on_unwind nonnull writable sret(%"struct.std::array.36") align 4 @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable)
          to label %17 unwind label %462

17:                                               ; preds = %16
  %18 = tail call ptr @llvm.invariant.start.p0(i64 16384, ptr nonnull @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable)
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable) #8
  br label %19

19:                                               ; preds = %17, %14, %5
  %20 = load atomic i8, ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order acquire, align 8
  %21 = icmp eq i8 %20, 0
  br i1 %21, label %22, label %27, !prof !5

22:                                               ; preds = %19
  %23 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order) #8
  %.not210 = icmp eq i32 %23, 0
  br i1 %.not210, label %27, label %24

24:                                               ; preds = %22
  invoke void @_ZN3cgp28marching_cube_lut_edge_orderEv(ptr dead_on_unwind nonnull writable sret(%"struct.std::array.38") align 4 @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order)
          to label %25 unwind label %464

25:                                               ; preds = %24
  %26 = tail call ptr @llvm.invariant.start.p0(i64 96, ptr nonnull @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order)
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order) #8
  br label %27

27:                                               ; preds = %25, %22, %19
  %28 = load atomic i8, ptr @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable acquire, align 8
  %29 = icmp eq i8 %28, 0
  br i1 %29, label %30, label %35, !prof !5

30:                                               ; preds = %27
  %31 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable) #8
  %.not211 = icmp eq i32 %31, 0
  br i1 %.not211, label %35, label %32

32:                                               ; preds = %30
  invoke void @_ZN3cgp27marching_cube_lut_edgeTableEv(ptr dead_on_unwind nonnull writable sret(%"struct.std::array.39") align 4 @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable)
          to label %33 unwind label %466

33:                                               ; preds = %32
  %34 = tail call ptr @llvm.invariant.start.p0(i64 1024, ptr nonnull @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable)
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable) #8
  br label %35

35:                                               ; preds = %33, %30, %27
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #8
  %36 = getelementptr inbounds i8, ptr %2, i64 12
  %37 = tail call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %36, float noundef 2.000000e+00)
  %.fca.0.extract158 = extractvalue { <2 x float>, float } %37, 0
  %.fca.1.extract159 = extractvalue { <2 x float>, float } %37, 1
  store <2 x float> %.fca.0.extract158, ptr %7, align 8
  %.sroa.2161.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store float %.fca.1.extract159, ptr %.sroa.2161.0..sroa_idx, align 8
  %38 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %.fca.0.extract = extractvalue { <2 x float>, float } %38, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %38, 1
  store <2 x float> %.fca.0.extract, ptr %6, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  %39 = getelementptr inbounds i8, ptr %2, i64 24
  %40 = load i32, ptr %39, align 4, !tbaa !6
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds i8, ptr %2, i64 28
  %43 = load i32, ptr %42, align 4, !tbaa !14
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i8, ptr %2, i64 32
  %46 = load i32, ptr %45, align 4, !tbaa !15
  %47 = sext i32 %46 to i64
  %48 = uitofp i64 %41 to float
  %49 = fadd float %48, -1.000000e+00
  %50 = fdiv float 1.000000e+00, %49
  %51 = uitofp i64 %44 to float
  %52 = fadd float %51, -1.000000e+00
  %53 = fdiv float 1.000000e+00, %52
  %54 = uitofp i64 %47 to float
  %55 = fadd float %54, -1.000000e+00
  %56 = fdiv float 1.000000e+00, %55
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %8) #8
  call void @_ZN3cgp15cube_parametersC2Ev(ptr noundef nonnull align 8 dereferenceable(192) %8)
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %9) #8
  call void @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEC2Ev(ptr noundef nonnull align 4 dereferenceable(144) %9)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #8
  store i64 0, ptr %11, align 8, !tbaa !16
  %57 = getelementptr inbounds i8, ptr %11, i64 8
  store i64 1, ptr %57, align 8, !tbaa !16
  %58 = getelementptr inbounds i8, ptr %11, i64 16
  %59 = add nsw i64 %41, 1
  store i64 %59, ptr %58, align 8, !tbaa !16
  %60 = getelementptr inbounds i8, ptr %11, i64 24
  store i64 %41, ptr %60, align 8, !tbaa !16
  %61 = getelementptr inbounds i8, ptr %11, i64 32
  %62 = mul nsw i64 %44, %41
  store i64 %62, ptr %61, align 8, !tbaa !16
  %63 = getelementptr inbounds i8, ptr %11, i64 40
  %64 = add nsw i64 %62, 1
  store i64 %64, ptr %63, align 8, !tbaa !16
  %65 = getelementptr inbounds i8, ptr %11, i64 48
  %66 = add nsw i64 %62, %59
  store i64 %66, ptr %65, align 8, !tbaa !16
  %67 = getelementptr inbounds i8, ptr %11, i64 56
  %68 = add nsw i64 %62, %41
  store i64 %68, ptr %67, align 8, !tbaa !16
  %69 = add nsw i64 %47, -1
  %.not253 = icmp eq i64 %69, 0
  br i1 %.not253, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %35
  %70 = add nsw i64 %44, -1
  %.not254 = icmp eq i64 %70, 0
  %71 = add nsw i64 %41, -1
  %72 = getelementptr inbounds i8, ptr %8, i64 64
  %73 = getelementptr inbounds i8, ptr %8, i64 96
  %.not226 = icmp eq ptr %4, null
  %.not255 = icmp eq i64 %71, 0
  %or.cond = select i1 %.not254, i1 true, i1 %.not255
  br i1 %or.cond, label %._crit_edge, label %.lr.ph243.us.us

.lr.ph243.us.us:                                  ; preds = %.lr.ph, %._crit_edge244.split.us.us.us
  %.0190247.us.us = phi i64 [ %.4.us.us.us, %._crit_edge244.split.us.us.us ], [ 0, %.lr.ph ]
  %.0195246.us.us = phi i64 [ %461, %._crit_edge244.split.us.us.us ], [ 0, %.lr.ph ]
  %74 = uitofp i64 %.0195246.us.us to float
  %75 = fmul float %56, %74
  %76 = mul i64 %.0195246.us.us, %44
  %77 = fadd float %56, %75
  br label %.lr.ph238.us.us.us

.lr.ph238.us.us.us:                               ; preds = %._crit_edge.us.us.us, %.lr.ph243.us.us
  %.1241.us.us.us = phi i64 [ %.0190247.us.us, %.lr.ph243.us.us ], [ %.4.us.us.us, %._crit_edge.us.us.us ]
  %.0205240.us.us.us = phi i64 [ 0, %.lr.ph243.us.us ], [ %460, %._crit_edge.us.us.us ]
  %78 = uitofp i64 %.0205240.us.us.us to float
  %79 = fmul float %53, %78
  %80 = add i64 %.0205240.us.us.us, %76
  %81 = mul i64 %80, %41
  %82 = fadd float %53, %79
  br label %.preheader227.us.us.us.preheader

.preheader227.us.us.us.preheader:                 ; preds = %.loopexit.us.us.us, %.lr.ph238.us.us.us
  %.2237.us.us.us = phi i64 [ %.1241.us.us.us, %.lr.ph238.us.us.us ], [ %.4.us.us.us, %.loopexit.us.us.us ]
  %.0206236.us.us.us = phi i64 [ 0, %.lr.ph238.us.us.us ], [ %459, %.loopexit.us.us.us ]
  %83 = add i64 %.0206236.us.us.us, %81
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 0) #8
  %85 = load i64, ptr %84, align 8, !tbaa !16
  %86 = add i64 %83, %85
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 0) #8
  store i64 %86, ptr %87, align 8, !tbaa !16
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 1) #8
  %89 = load i64, ptr %88, align 8, !tbaa !16
  %90 = add i64 %83, %89
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 1) #8
  store i64 %90, ptr %91, align 8, !tbaa !16
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 2) #8
  %93 = load i64, ptr %92, align 8, !tbaa !16
  %94 = add i64 %83, %93
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 2) #8
  store i64 %94, ptr %95, align 8, !tbaa !16
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 3) #8
  %97 = load i64, ptr %96, align 8, !tbaa !16
  %98 = add i64 %83, %97
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 3) #8
  store i64 %98, ptr %99, align 8, !tbaa !16
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 4) #8
  %101 = load i64, ptr %100, align 8, !tbaa !16
  %102 = add i64 %83, %101
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 4) #8
  store i64 %102, ptr %103, align 8, !tbaa !16
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 5) #8
  %105 = load i64, ptr %104, align 8, !tbaa !16
  %106 = add i64 %83, %105
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 5) #8
  store i64 %106, ptr %107, align 8, !tbaa !16
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 6) #8
  %109 = load i64, ptr %108, align 8, !tbaa !16
  %110 = add i64 %83, %109
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 6) #8
  store i64 %110, ptr %111, align 8, !tbaa !16
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %11, i64 noundef 7) #8
  %113 = load i64, ptr %112, align 8, !tbaa !16
  %114 = add i64 %83, %113
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 7) #8
  store i64 %114, ptr %115, align 8, !tbaa !16
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 0) #8
  %117 = load i64, ptr %116, align 8, !tbaa !16
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %117) #8
  %119 = load float, ptr %118, align 4, !tbaa !18
  %120 = fsub float %119, %3
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 0) #8
  store float %120, ptr %121, align 4, !tbaa !18
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 1) #8
  %123 = load i64, ptr %122, align 8, !tbaa !16
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %123) #8
  %125 = load float, ptr %124, align 4, !tbaa !18
  %126 = fsub float %125, %3
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 1) #8
  store float %126, ptr %127, align 4, !tbaa !18
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 2) #8
  %129 = load i64, ptr %128, align 8, !tbaa !16
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %129) #8
  %131 = load float, ptr %130, align 4, !tbaa !18
  %132 = fsub float %131, %3
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 2) #8
  store float %132, ptr %133, align 4, !tbaa !18
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 3) #8
  %135 = load i64, ptr %134, align 8, !tbaa !16
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %135) #8
  %137 = load float, ptr %136, align 4, !tbaa !18
  %138 = fsub float %137, %3
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 3) #8
  store float %138, ptr %139, align 4, !tbaa !18
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 4) #8
  %141 = load i64, ptr %140, align 8, !tbaa !16
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %141) #8
  %143 = load float, ptr %142, align 4, !tbaa !18
  %144 = fsub float %143, %3
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 4) #8
  store float %144, ptr %145, align 4, !tbaa !18
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 5) #8
  %147 = load i64, ptr %146, align 8, !tbaa !16
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %147) #8
  %149 = load float, ptr %148, align 4, !tbaa !18
  %150 = fsub float %149, %3
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 5) #8
  store float %150, ptr %151, align 4, !tbaa !18
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 6) #8
  %153 = load i64, ptr %152, align 8, !tbaa !16
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %153) #8
  %155 = load float, ptr %154, align 4, !tbaa !18
  %156 = fsub float %155, %3
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 6) #8
  store float %156, ptr %157, align 4, !tbaa !18
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef 7) #8
  %159 = load i64, ptr %158, align 8, !tbaa !16
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %159) #8
  %161 = load float, ptr %160, align 4, !tbaa !18
  %162 = fsub float %161, %3
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 7) #8
  store float %162, ptr %163, align 4, !tbaa !18
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 0) #8
  %165 = load float, ptr %164, align 4, !tbaa !18
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 0) #8
  %167 = load float, ptr %166, align 4, !tbaa !18
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 1) #8
  %169 = load float, ptr %168, align 4, !tbaa !18
  %170 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 1) #8
  %171 = load float, ptr %170, align 4, !tbaa !18
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 2) #8
  %173 = load float, ptr %172, align 4, !tbaa !18
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 2) #8
  %175 = load float, ptr %174, align 4, !tbaa !18
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 3) #8
  %177 = load float, ptr %176, align 4, !tbaa !18
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 3) #8
  %179 = load float, ptr %178, align 4, !tbaa !18
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 4) #8
  %181 = load float, ptr %180, align 4, !tbaa !18
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 4) #8
  %183 = load float, ptr %182, align 4, !tbaa !18
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 5) #8
  %185 = load float, ptr %184, align 4, !tbaa !18
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 5) #8
  %187 = load float, ptr %186, align 4, !tbaa !18
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 6) #8
  %189 = load float, ptr %188, align 4, !tbaa !18
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 6) #8
  %191 = load float, ptr %190, align 4, !tbaa !18
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 7) #8
  %193 = load float, ptr %192, align 4, !tbaa !18
  %194 = insertelement <8 x float> poison, float %193, i64 0
  %195 = insertelement <8 x float> %194, float %189, i64 1
  %196 = insertelement <8 x float> %195, float %185, i64 2
  %197 = insertelement <8 x float> %196, float %181, i64 3
  %198 = insertelement <8 x float> %197, float %177, i64 4
  %199 = insertelement <8 x float> %198, float %173, i64 5
  %200 = insertelement <8 x float> %199, float %169, i64 6
  %201 = insertelement <8 x float> %200, float %165, i64 7
  %.fr = freeze <8 x float> %201
  %202 = fcmp oge <8 x float> %.fr, zeroinitializer
  %203 = bitcast <8 x i1> %202 to i8
  %204 = icmp ne i8 %203, 0
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 7) #8
  %206 = load float, ptr %205, align 4, !tbaa !18
  %207 = insertelement <8 x float> poison, float %206, i64 0
  %208 = insertelement <8 x float> %207, float %191, i64 1
  %209 = insertelement <8 x float> %208, float %187, i64 2
  %210 = insertelement <8 x float> %209, float %183, i64 3
  %211 = insertelement <8 x float> %210, float %179, i64 4
  %212 = insertelement <8 x float> %211, float %175, i64 5
  %213 = insertelement <8 x float> %212, float %171, i64 6
  %214 = insertelement <8 x float> %213, float %167, i64 7
  %.fr260 = freeze <8 x float> %214
  %215 = fcmp olt <8 x float> %.fr260, zeroinitializer
  %216 = bitcast <8 x i1> %215 to i8
  %217 = icmp ne i8 %216, 0
  %218 = and i1 %204, %217
  br i1 %218, label %219, label %.loopexit.us.us.us

219:                                              ; preds = %.preheader227.us.us.us.preheader
  %220 = uitofp i64 %.0206236.us.us.us to float
  %221 = fmul float %50, %220
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 0) #8
  %223 = load float, ptr %222, align 4, !tbaa !18
  %224 = fcmp olt float %223, 0.000000e+00
  %.0197.us.us.us = zext i1 %224 to i32
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 1) #8
  %226 = load float, ptr %225, align 4, !tbaa !18
  %227 = fcmp olt float %226, 0.000000e+00
  %228 = or disjoint i32 %.0197.us.us.us, 2
  %.1198.us.us.us = select i1 %227, i32 %228, i32 %.0197.us.us.us
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 2) #8
  %230 = load float, ptr %229, align 4, !tbaa !18
  %231 = fcmp olt float %230, 0.000000e+00
  %232 = or disjoint i32 %.1198.us.us.us, 4
  %.2199.us.us.us = select i1 %231, i32 %232, i32 %.1198.us.us.us
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 3) #8
  %234 = load float, ptr %233, align 4, !tbaa !18
  %235 = fcmp olt float %234, 0.000000e+00
  %236 = or disjoint i32 %.2199.us.us.us, 8
  %.3200.us.us.us = select i1 %235, i32 %236, i32 %.2199.us.us.us
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 4) #8
  %238 = load float, ptr %237, align 4, !tbaa !18
  %239 = fcmp olt float %238, 0.000000e+00
  %240 = or i32 %.3200.us.us.us, 16
  %.4201.us.us.us = select i1 %239, i32 %240, i32 %.3200.us.us.us
  %241 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 5) #8
  %242 = load float, ptr %241, align 4, !tbaa !18
  %243 = fcmp olt float %242, 0.000000e+00
  %244 = or i32 %.4201.us.us.us, 32
  %.5.us.us.us = select i1 %243, i32 %244, i32 %.4201.us.us.us
  %245 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 6) #8
  %246 = load float, ptr %245, align 4, !tbaa !18
  %247 = fcmp olt float %246, 0.000000e+00
  %248 = or i32 %.5.us.us.us, 64
  %.6.us.us.us = select i1 %247, i32 %248, i32 %.5.us.us.us
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %72, i64 noundef 7) #8
  %250 = load float, ptr %249, align 4, !tbaa !18
  %251 = fcmp olt float %250, 0.000000e+00
  %252 = or i32 %.6.us.us.us, 128
  %.7.us.us.us = select i1 %251, i32 %252, i32 %.6.us.us.us
  %253 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 0) #8
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %253, float noundef %221, float noundef %79, float noundef %75, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %254 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 1) #8
  %255 = fadd float %50, %221
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %254, float noundef %255, float noundef %79, float noundef %75, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %256 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 2) #8
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %256, float noundef %255, float noundef %82, float noundef %75, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %257 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 3) #8
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %257, float noundef %221, float noundef %82, float noundef %75, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %258 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 4) #8
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %258, float noundef %221, float noundef %79, float noundef %77, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %259 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 5) #8
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %259, float noundef %255, float noundef %79, float noundef %77, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %260 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 6) #8
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %260, float noundef %255, float noundef %82, float noundef %77, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %261 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96) %73, i64 noundef 7) #8
  call void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12) %261, float noundef %221, float noundef %82, float noundef %77, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %262 = zext nneg i32 %.7.us.us.us to i64
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %264 = load i32, ptr %263, align 4, !tbaa !19
  %265 = and i32 %264, 1
  %.not213.us.us.us = icmp eq i32 %265, 0
  br i1 %.not213.us.us.us, label %269, label %266

266:                                              ; preds = %219
  %267 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 0) #8
  %268 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 0) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %267, ptr noundef nonnull align 4 dereferenceable(4) %268, i32 noundef 0, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %269

269:                                              ; preds = %266, %219
  %270 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %271 = load i32, ptr %270, align 4, !tbaa !19
  %272 = and i32 %271, 2
  %.not214.us.us.us = icmp eq i32 %272, 0
  br i1 %.not214.us.us.us, label %276, label %273

273:                                              ; preds = %269
  %274 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 1) #8
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 1) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %274, ptr noundef nonnull align 4 dereferenceable(4) %275, i32 noundef 1, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %276

276:                                              ; preds = %273, %269
  %277 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %278 = load i32, ptr %277, align 4, !tbaa !19
  %279 = and i32 %278, 4
  %.not215.us.us.us = icmp eq i32 %279, 0
  br i1 %.not215.us.us.us, label %283, label %280

280:                                              ; preds = %276
  %281 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 2) #8
  %282 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 2) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %281, ptr noundef nonnull align 4 dereferenceable(4) %282, i32 noundef 2, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %283

283:                                              ; preds = %280, %276
  %284 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %285 = load i32, ptr %284, align 4, !tbaa !19
  %286 = and i32 %285, 8
  %.not216.us.us.us = icmp eq i32 %286, 0
  br i1 %.not216.us.us.us, label %290, label %287

287:                                              ; preds = %283
  %288 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 3) #8
  %289 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 3) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %288, ptr noundef nonnull align 4 dereferenceable(4) %289, i32 noundef 3, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %290

290:                                              ; preds = %287, %283
  %291 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %292 = load i32, ptr %291, align 4, !tbaa !19
  %293 = and i32 %292, 16
  %.not217.us.us.us = icmp eq i32 %293, 0
  br i1 %.not217.us.us.us, label %297, label %294

294:                                              ; preds = %290
  %295 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 4) #8
  %296 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 4) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %295, ptr noundef nonnull align 4 dereferenceable(4) %296, i32 noundef 4, i32 noundef 5, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %297

297:                                              ; preds = %294, %290
  %298 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %299 = load i32, ptr %298, align 4, !tbaa !19
  %300 = and i32 %299, 32
  %.not218.us.us.us = icmp eq i32 %300, 0
  br i1 %.not218.us.us.us, label %304, label %301

301:                                              ; preds = %297
  %302 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 5) #8
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 5) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %302, ptr noundef nonnull align 4 dereferenceable(4) %303, i32 noundef 5, i32 noundef 6, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %304

304:                                              ; preds = %301, %297
  %305 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %306 = load i32, ptr %305, align 4, !tbaa !19
  %307 = and i32 %306, 64
  %.not219.us.us.us = icmp eq i32 %307, 0
  br i1 %.not219.us.us.us, label %311, label %308

308:                                              ; preds = %304
  %309 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 6) #8
  %310 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 6) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %309, ptr noundef nonnull align 4 dereferenceable(4) %310, i32 noundef 6, i32 noundef 7, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %311

311:                                              ; preds = %308, %304
  %312 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %313 = load i32, ptr %312, align 4, !tbaa !19
  %314 = and i32 %313, 128
  %.not220.us.us.us = icmp eq i32 %314, 0
  br i1 %.not220.us.us.us, label %318, label %315

315:                                              ; preds = %311
  %316 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 7) #8
  %317 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 7) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %316, ptr noundef nonnull align 4 dereferenceable(4) %317, i32 noundef 7, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %318

318:                                              ; preds = %315, %311
  %319 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %320 = load i32, ptr %319, align 4, !tbaa !19
  %321 = and i32 %320, 256
  %.not221.us.us.us = icmp eq i32 %321, 0
  br i1 %.not221.us.us.us, label %325, label %322

322:                                              ; preds = %318
  %323 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 8) #8
  %324 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 8) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %323, ptr noundef nonnull align 4 dereferenceable(4) %324, i32 noundef 0, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %325

325:                                              ; preds = %322, %318
  %326 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %327 = load i32, ptr %326, align 4, !tbaa !19
  %328 = and i32 %327, 512
  %.not222.us.us.us = icmp eq i32 %328, 0
  br i1 %.not222.us.us.us, label %332, label %329

329:                                              ; preds = %325
  %330 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 9) #8
  %331 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 9) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %330, ptr noundef nonnull align 4 dereferenceable(4) %331, i32 noundef 1, i32 noundef 5, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %332

332:                                              ; preds = %329, %325
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %334 = load i32, ptr %333, align 4, !tbaa !19
  %335 = and i32 %334, 1024
  %.not223.us.us.us = icmp eq i32 %335, 0
  br i1 %.not223.us.us.us, label %339, label %336

336:                                              ; preds = %332
  %337 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 10) #8
  %338 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 10) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %337, ptr noundef nonnull align 4 dereferenceable(4) %338, i32 noundef 2, i32 noundef 6, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %339

339:                                              ; preds = %336, %332
  %340 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, i64 noundef %262) #8
  %341 = load i32, ptr %340, align 4, !tbaa !19
  %342 = and i32 %341, 2048
  %.not224.us.us.us = icmp eq i32 %342, 0
  br i1 %.not224.us.us.us, label %346, label %343

343:                                              ; preds = %339
  %344 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef 11) #8
  %345 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef 11) #8
  call void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12) %344, ptr noundef nonnull align 4 dereferenceable(4) %345, i32 noundef 3, i32 noundef 7, ptr noundef nonnull align 4 dereferenceable(96) %73, ptr noundef nonnull align 4 dereferenceable(32) %72)
  br label %346

346:                                              ; preds = %343, %339
  %347 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %348 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %347, i64 noundef 0) #8
  %349 = load i32, ptr %348, align 4, !tbaa !19
  %.not225233.us.us.us = icmp eq i32 %349, -1
  br i1 %.not225233.us.us.us, label %.loopexit.us.us.us, label %.lr.ph.us.us.us

.lr.ph.us.us.us:                                  ; preds = %346, %454
  %.3235.us.us.us = phi i64 [ %368, %454 ], [ %.2237.us.us.us, %346 ]
  %.0196234.us.us.us = phi i64 [ %455, %454 ], [ 0, %346 ]
  %350 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %351 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %350, i64 noundef %.0196234.us.us.us) #8
  %352 = load i32, ptr %351, align 4, !tbaa !19
  %353 = sext i32 %352 to i64
  %354 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef %353) #8
  %355 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %356 = add i64 %.0196234.us.us.us, 1
  %357 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %355, i64 noundef %356) #8
  %358 = load i32, ptr %357, align 4, !tbaa !19
  %359 = sext i32 %358 to i64
  %360 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef %359) #8
  %361 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %362 = add i64 %.0196234.us.us.us, 2
  %363 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %361, i64 noundef %362) #8
  %364 = load i32, ptr %363, align 4, !tbaa !19
  %365 = sext i32 %364 to i64
  %366 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144) %9, i64 noundef %365) #8
  %367 = call noundef i64 @_ZNKSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #8
  %368 = add i64 %.3235.us.us.us, 3
  %369 = icmp ult i64 %367, %368
  br i1 %369, label %370, label %374

370:                                              ; preds = %.lr.ph.us.us.us
  %371 = uitofp i64 %368 to double
  %372 = fmul double %371, 1.500000e+00
  %373 = fptoui double %372 to i64
  call void @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %373)
  br label %374

374:                                              ; preds = %370, %.lr.ph.us.us.us
  %375 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.3235.us.us.us) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %375, ptr noundef nonnull align 4 dereferenceable(12) %354, i64 12, i1 false), !tbaa.struct !20
  %376 = add i64 %.3235.us.us.us, 1
  %377 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %376) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %377, ptr noundef nonnull align 4 dereferenceable(12) %360, i64 12, i1 false), !tbaa.struct !20
  %378 = add i64 %.3235.us.us.us, 2
  %379 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %378) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %379, ptr noundef nonnull align 4 dereferenceable(12) %366, i64 12, i1 false), !tbaa.struct !20
  br i1 %.not226, label %454, label %380

380:                                              ; preds = %374
  %381 = call noundef i64 @_ZNKSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %382 = icmp ult i64 %381, %368
  br i1 %382, label %383, label %387

383:                                              ; preds = %380
  %384 = uitofp i64 %368 to double
  %385 = fmul double %384, 1.500000e+00
  %386 = fptoui double %385 to i64
  call void @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %386)
  br label %387

387:                                              ; preds = %383, %380
  %388 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %389 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %388, i64 noundef %.0196234.us.us.us) #8
  %390 = load i32, ptr %389, align 4, !tbaa !19
  %391 = sext i32 %390 to i64
  %392 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef %391) #8
  %393 = load float, ptr %392, align 4, !tbaa !18
  %394 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.3235.us.us.us) #8
  %395 = getelementptr inbounds i8, ptr %394, i64 16
  store float %393, ptr %395, align 8, !tbaa !21
  %396 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %391) #8
  %397 = load i32, ptr %396, align 4, !tbaa !23
  %398 = sext i32 %397 to i64
  %399 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef %398) #8
  %400 = load i64, ptr %399, align 8, !tbaa !16
  %401 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.3235.us.us.us) #8
  store i64 %400, ptr %401, align 8, !tbaa !25
  %402 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %391) #8
  %403 = getelementptr inbounds i8, ptr %402, i64 4
  %404 = load i32, ptr %403, align 4, !tbaa !26
  %405 = sext i32 %404 to i64
  %406 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef %405) #8
  %407 = load i64, ptr %406, align 8, !tbaa !16
  %408 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.3235.us.us.us) #8
  %409 = getelementptr inbounds i8, ptr %408, i64 8
  store i64 %407, ptr %409, align 8, !tbaa !27
  %410 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %411 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %410, i64 noundef %356) #8
  %412 = load i32, ptr %411, align 4, !tbaa !19
  %413 = sext i32 %412 to i64
  %414 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef %413) #8
  %415 = load float, ptr %414, align 4, !tbaa !18
  %416 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %376) #8
  %417 = getelementptr inbounds i8, ptr %416, i64 16
  store float %415, ptr %417, align 8, !tbaa !21
  %418 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %413) #8
  %419 = load i32, ptr %418, align 4, !tbaa !23
  %420 = sext i32 %419 to i64
  %421 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef %420) #8
  %422 = load i64, ptr %421, align 8, !tbaa !16
  %423 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %376) #8
  store i64 %422, ptr %423, align 8, !tbaa !25
  %424 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %413) #8
  %425 = getelementptr inbounds i8, ptr %424, i64 4
  %426 = load i32, ptr %425, align 4, !tbaa !26
  %427 = sext i32 %426 to i64
  %428 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef %427) #8
  %429 = load i64, ptr %428, align 8, !tbaa !16
  %430 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %376) #8
  %431 = getelementptr inbounds i8, ptr %430, i64 8
  store i64 %429, ptr %431, align 8, !tbaa !27
  %432 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %433 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %432, i64 noundef %362) #8
  %434 = load i32, ptr %433, align 4, !tbaa !19
  %435 = sext i32 %434 to i64
  %436 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48) %10, i64 noundef %435) #8
  %437 = load float, ptr %436, align 4, !tbaa !18
  %438 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %378) #8
  %439 = getelementptr inbounds i8, ptr %438, i64 16
  store float %437, ptr %439, align 8, !tbaa !21
  %440 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %435) #8
  %441 = load i32, ptr %440, align 4, !tbaa !23
  %442 = sext i32 %441 to i64
  %443 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef %442) #8
  %444 = load i64, ptr %443, align 8, !tbaa !16
  %445 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %378) #8
  store i64 %444, ptr %445, align 8, !tbaa !25
  %446 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt5arrayISt4pairIiiELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(96) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, i64 noundef %435) #8
  %447 = getelementptr inbounds i8, ptr %446, i64 4
  %448 = load i32, ptr %447, align 4, !tbaa !26
  %449 = sext i32 %448 to i64
  %450 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm8EEixEm(ptr noundef nonnull align 8 dereferenceable(64) %8, i64 noundef %449) #8
  %451 = load i64, ptr %450, align 8, !tbaa !16
  %452 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %378) #8
  %453 = getelementptr inbounds i8, ptr %452, i64 8
  store i64 %451, ptr %453, align 8, !tbaa !27
  br label %454

454:                                              ; preds = %387, %374
  %455 = add i64 %.0196234.us.us.us, 3
  %456 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384) @_ZZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, i64 noundef %262) #8
  %457 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %456, i64 noundef %455) #8
  %458 = load i32, ptr %457, align 4, !tbaa !19
  %.not225.us.us.us = icmp eq i32 %458, -1
  br i1 %.not225.us.us.us, label %.loopexit.us.us.us, label %.lr.ph.us.us.us, !llvm.loop !28

.loopexit.us.us.us:                               ; preds = %454, %346, %.preheader227.us.us.us.preheader
  %.4.us.us.us = phi i64 [ %.2237.us.us.us, %.preheader227.us.us.us.preheader ], [ %.2237.us.us.us, %346 ], [ %368, %454 ]
  %459 = add nuw i64 %.0206236.us.us.us, 1
  %exitcond.not = icmp eq i64 %459, %71
  br i1 %exitcond.not, label %._crit_edge.us.us.us, label %.preheader227.us.us.us.preheader, !llvm.loop !30

._crit_edge.us.us.us:                             ; preds = %.loopexit.us.us.us
  %460 = add nuw i64 %.0205240.us.us.us, 1
  %exitcond258.not = icmp eq i64 %460, %70
  br i1 %exitcond258.not, label %._crit_edge244.split.us.us.us, label %.lr.ph238.us.us.us, !llvm.loop !31

._crit_edge244.split.us.us.us:                    ; preds = %._crit_edge.us.us.us
  %461 = add nuw i64 %.0195246.us.us, 1
  %exitcond259.not = icmp eq i64 %461, %69
  br i1 %exitcond259.not, label %._crit_edge, label %.lr.ph243.us.us, !llvm.loop !32

._crit_edge:                                      ; preds = %._crit_edge244.split.us.us.us, %.lr.ph, %35
  %.0190.lcssa = phi i64 [ 0, %35 ], [ 0, %.lr.ph ], [ %.4.us.us.us, %._crit_edge244.split.us.us.us ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  ret i64 %.0190.lcssa

462:                                              ; preds = %16
  %463 = landingpad { ptr, i32 }
          cleanup
  br label %468

464:                                              ; preds = %24
  %465 = landingpad { ptr, i32 }
          cleanup
  br label %468

466:                                              ; preds = %32
  %467 = landingpad { ptr, i32 }
          cleanup
  br label %468

468:                                              ; preds = %466, %464, %462
  %_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable.sink = phi ptr [ @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable, %466 ], [ @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE14lut_edge_order, %464 ], [ @_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE8triTable, %462 ]
  %.pn = phi { ptr, i32 } [ %467, %466 ], [ %465, %464 ], [ %463, %462 ]
  tail call void @__cxa_guard_abort(ptr nonnull %_ZGVZN3cgp13marching_cubeERSt6vectorINS_14numarray_stackIfLi3EEESaIS2_EERKS0_IfSaIfEERKNS_22spatial_domain_grid_3DEfPS0_INS_34marching_cube_relative_coordinatesESaISD_EEE9edgeTable.sink) #8
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3cgp34marching_cube_relative_coordinatesESaIS1_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 4 dereferenceable(12) ptr @_ZNSt6vectorIN3cgp14numarray_stackIfLi3EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp13fill_positionERNS_14numarray_stackIfLi3EEEfffRKS1_S4_(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp28interpolate_position_on_edgeERNS_14numarray_stackIfLi3EEERfiiRKSt5arrayIS1_Lm8EERKS4_IfLm8EE(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(96), ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #3

declare void @_ZN3cgp26marching_cube_lut_triTableEv(ptr dead_on_unwind writable sret(%"struct.std::array.36") align 4) local_unnamed_addr #4

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

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #3

declare void @_ZN3cgp28marching_cube_lut_edge_orderEv(ptr dead_on_unwind writable sret(%"struct.std::array.38") align 4) local_unnamed_addr #4

declare void @_ZN3cgp27marching_cube_lut_edgeTableEv(ptr dead_on_unwind writable sret(%"struct.std::array.39") align 4) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cgp15cube_parametersC2Ev(ptr noundef nonnull align 8 dereferenceable(192)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEC2Ev(ptr noundef nonnull align 4 dereferenceable(144)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIfSaIfEEixEm(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 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm8EEixEm(ptr noundef nonnull align 4 dereferenceable(96), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm256EEixEm(ptr noundef nonnull align 4 dereferenceable(1024), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt5arrayIN3cgp14numarray_stackIfLi3EEELm12EEixEm(ptr noundef nonnull align 4 dereferenceable(144), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIfLm12EEixEm(ptr noundef nonnull align 4 dereferenceable(48), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZNKSt5arrayIS_IiLm16EELm256EEixEm(ptr noundef nonnull align 4 dereferenceable(16384), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIiLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { nofree nounwind }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !13, i64 24}
!7 = !{!"_ZTSN3cgp22spatial_domain_grid_3DE", !8, i64 0, !8, i64 12, !12, i64 24}
!8 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !9, i64 0, !9, i64 4, !9, i64 8}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN3cgp14numarray_stackIiLi3EEE", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !10, i64 0}
!14 = !{!7, !13, i64 28}
!15 = !{!7, !13, i64 32}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !10, i64 0}
!18 = !{!9, !9, i64 0}
!19 = !{!13, !13, i64 0}
!20 = !{i64 0, i64 4, !18, i64 4, i64 4, !18, i64 8, i64 4, !18}
!21 = !{!22, !9, i64 16}
!22 = !{!"_ZTSN3cgp34marching_cube_relative_coordinatesE", !17, i64 0, !17, i64 8, !9, i64 16}
!23 = !{!24, !13, i64 0}
!24 = !{!"_ZTSSt4pairIiiE", !13, i64 0, !13, i64 4}
!25 = !{!22, !17, i64 0}
!26 = !{!24, !13, i64 4}
!27 = !{!22, !17, i64 8}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !29}
!32 = distinct !{!32, !29}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass