; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (fmm_level_set_solver3)

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

%"class.jet::Vector" = type { double, double, double }
%"class.jet::Size3" = type { i64, i64, i64 }
%"class.jet::Array.0" = type { %"class.jet::Size3", %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.39 = type { ptr, ptr, ptr, ptr }
%class.anon.40 = type { ptr }
%"class.std::priority_queue.41" = type { %"class.std::vector.10", %class.anon.40 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.42 = type { ptr, ptr, ptr }
%"class.jet::Point" = type { i64, i64, i64 }

@_ZL8kUnknown = external hidden constant i8, align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, i64 noundef) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef %4, ptr noundef %5) #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.jet::Size3", align 8
  %14 = alloca %"class.jet::Vector", align 8
  %15 = alloca %"class.jet::Array.0", align 8
  %16 = alloca %class.anon.39, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %class.anon.40, align 8
  %20 = alloca %"class.std::priority_queue.41", align 8
  %21 = alloca %"class.std::vector.10", align 8
  %22 = alloca %class.anon.42, align 8
  %23 = alloca %"class.jet::Point", align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca %"class.jet::Vector", align 8
  %29 = alloca %"class.jet::Vector", align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca %"class.jet::Point", align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca %"class.jet::Point", align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca %"class.jet::Point", align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca %"class.jet::Point", align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca %"class.jet::Point", align 8
  %47 = alloca double, align 8
  %48 = alloca double, align 8
  %49 = alloca %"class.jet::Point", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store double %4, ptr %11, align 8, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  %50 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK3jet18ConstArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind writable sret(%"class.jet::Size3") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %51)
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN3jetdvIdEENS_6VectorIT_Lm3EEES2_RKS3_(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %14, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(24) %52)
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #7
  call void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 1 dereferenceable(1) @_ZL8kUnknown)
  %53 = getelementptr inbounds %class.anon.39, ptr %16, i32 0, i32 0
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %54, ptr %53, align 8, !tbaa !5
  %55 = getelementptr inbounds %class.anon.39, ptr %16, i32 0, i32 1
  store ptr %15, ptr %55, align 8, !tbaa !5
  %56 = getelementptr inbounds %class.anon.39, ptr %16, i32 0, i32 2
  store ptr %5, ptr %56, align 8, !tbaa !5
  %57 = getelementptr inbounds %class.anon.39, ptr %16, i32 0, i32 3
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %58, ptr %57, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef byval(%class.anon.39) align 8 %16)
          to label %59 unwind label %92

59:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %60 = getelementptr inbounds %class.anon.40, ptr %19, i32 0, i32 0
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %61, ptr %60, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #7
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1EC2ERKSH_OS5_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %62 unwind label %96

62:                                               ; preds = %59
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  %63 = getelementptr inbounds %class.anon.42, ptr %22, i32 0, i32 0
  store ptr %15, ptr %63, align 8, !tbaa !5
  %64 = getelementptr inbounds %class.anon.42, ptr %22, i32 0, i32 1
  store ptr %20, ptr %64, align 8, !tbaa !5
  %65 = getelementptr inbounds %class.anon.42, ptr %22, i32 0, i32 2
  store ptr %13, ptr %65, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef byval(%class.anon.42) align 8 %22)
          to label %66 unwind label %100

66:                                               ; preds = %62
  br label %67

67:                                               ; preds = %611, %66
  %68 = invoke noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %69 unwind label %100

69:                                               ; preds = %67
  %70 = xor i1 %68, true
  br i1 %70, label %71, label %616

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  %72 = invoke noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3topEv"(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %73 unwind label %104

73:                                               ; preds = %71
  invoke void @_ZN3jet5PointImLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %74 unwind label %104

74:                                               ; preds = %73
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3popEv"(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %75 unwind label %104

75:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %76 = getelementptr inbounds %"class.jet::Point", ptr %23, i32 0, i32 0
  %77 = load i64, ptr %76, align 8, !tbaa !11
  store i64 %77, ptr %24, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %78 = getelementptr inbounds %"class.jet::Point", ptr %23, i32 0, i32 1
  %79 = load i64, ptr %78, align 8, !tbaa !15
  store i64 %79, ptr %25, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %80 = getelementptr inbounds %"class.jet::Point", ptr %23, i32 0, i32 2
  %81 = load i64, ptr %80, align 8, !tbaa !16
  store i64 %81, ptr %26, align 8, !tbaa !14
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load i64, ptr %24, align 8, !tbaa !14
  %84 = load i64, ptr %25, align 8, !tbaa !14
  %85 = load i64, ptr %26, align 8, !tbaa !14
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3jet18ConstArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %82, i64 noundef %83, i64 noundef %84, i64 noundef %85)
          to label %87 unwind label %108

87:                                               ; preds = %75
  %88 = load double, ptr %86, align 8, !tbaa !9
  %89 = load double, ptr %11, align 8, !tbaa !9
  %90 = fcmp ogt double %88, %89
  br i1 %90, label %91, label %112

91:                                               ; preds = %87
  store i32 3, ptr %27, align 4
  br label %609

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

96:                                               ; preds = %59
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %17, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %18, align 4
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  br label %618

100:                                              ; preds = %67, %62
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %17, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %18, align 4
  br label %617

104:                                              ; preds = %74, %73, %71
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %17, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %18, align 4
  br label %615

108:                                              ; preds = %75
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %17, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %18, align 4
  br label %614

112:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = load i64, ptr %24, align 8, !tbaa !14
  %116 = load i64, ptr %25, align 8, !tbaa !14
  %117 = load i64, ptr %26, align 8, !tbaa !14
  invoke void @_ZN3jet9gradient3ERKNS_18ConstArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEEmmm(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %29, ptr noundef nonnull align 8 dereferenceable(32) %113, ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %115, i64 noundef %116, i64 noundef %117)
          to label %118 unwind label %143

118:                                              ; preds = %112
  invoke void @_ZNK3jet6VectorIdLm3EE10normalizedEv(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %28, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %119 unwind label %143

119:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store double 0.000000e+00, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  store double 0.000000e+00, ptr %31, align 8, !tbaa !9
  %120 = load i64, ptr %24, align 8, !tbaa !14
  %121 = icmp ugt i64 %120, 0
  br i1 %121, label %122, label %203

122:                                              ; preds = %119
  %123 = load i64, ptr %24, align 8, !tbaa !14
  %124 = sub i64 %123, 1
  %125 = load i64, ptr %25, align 8, !tbaa !14
  %126 = load i64, ptr %26, align 8, !tbaa !14
  %127 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %124, i64 noundef %125, i64 noundef %126)
          to label %128 unwind label %147

128:                                              ; preds = %122
  %129 = load i8, ptr %127, align 1, !tbaa !17
  %130 = sext i8 %129 to i32
  %131 = icmp eq i32 %130, 1
  br i1 %131, label %132, label %174

132:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %133 = getelementptr inbounds %"class.jet::Vector", ptr %28, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  store double 0.000000e+00, ptr %33, align 8, !tbaa !9
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %135 unwind label %151

135:                                              ; preds = %132
  %136 = load double, ptr %134, align 8, !tbaa !9
  %137 = getelementptr inbounds %"class.jet::Vector", ptr %14, i32 0, i32 0
  %138 = load double, ptr %137, align 8, !tbaa !18
  %139 = fmul double %136, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  store double %139, ptr %32, align 8, !tbaa !9
  %140 = load double, ptr %32, align 8, !tbaa !9
  %141 = fcmp olt double %140, 0x3CB0000000000000
  br i1 %141, label %142, label %155

142:                                              ; preds = %135
  store double 1.000000e+00, ptr %32, align 8, !tbaa !9
  br label %155

143:                                              ; preds = %118, %112
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %17, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  br label %613

147:                                              ; preds = %603, %595, %576, %566, %521, %496, %486, %442, %420, %410, %365, %340, %330, %286, %264, %254, %209, %184, %174, %122
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %17, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %18, align 4
  br label %612

151:                                              ; preds = %132
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %17, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %173

155:                                              ; preds = %142, %135
  %156 = load double, ptr %32, align 8, !tbaa !9
  %157 = load i64, ptr %24, align 8, !tbaa !14
  %158 = sub i64 %157, 1
  %159 = load i64, ptr %25, align 8, !tbaa !14
  %160 = load i64, ptr %26, align 8, !tbaa !14
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %158, i64 noundef %159, i64 noundef %160)
          to label %162 unwind label %169

162:                                              ; preds = %155
  %163 = load double, ptr %161, align 8, !tbaa !9
  %164 = load double, ptr %30, align 8, !tbaa !9
  %165 = call double @llvm.fmuladd.f64(double %156, double %163, double %164)
  store double %165, ptr %30, align 8, !tbaa !9
  %166 = load double, ptr %32, align 8, !tbaa !9
  %167 = load double, ptr %31, align 8, !tbaa !9
  %168 = fadd double %167, %166
  store double %168, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %202

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

173:                                              ; preds = %169, %151
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %612

174:                                              ; preds = %128
  %175 = load i64, ptr %24, align 8, !tbaa !14
  %176 = sub i64 %175, 1
  %177 = load i64, ptr %25, align 8, !tbaa !14
  %178 = load i64, ptr %26, align 8, !tbaa !14
  %179 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %176, i64 noundef %177, i64 noundef %178)
          to label %180 unwind label %147

180:                                              ; preds = %174
  %181 = load i8, ptr %179, align 1, !tbaa !17
  %182 = sext i8 %181 to i32
  %183 = icmp eq i32 %182, 0
  br i1 %183, label %184, label %201

184:                                              ; preds = %180
  %185 = load i64, ptr %24, align 8, !tbaa !14
  %186 = sub i64 %185, 1
  %187 = load i64, ptr %25, align 8, !tbaa !14
  %188 = load i64, ptr %26, align 8, !tbaa !14
  %189 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %186, i64 noundef %187, i64 noundef %188)
          to label %190 unwind label %147

190:                                              ; preds = %184
  store i8 2, ptr %189, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #7
  %191 = load i64, ptr %24, align 8, !tbaa !14
  %192 = sub i64 %191, 1
  %193 = load i64, ptr %25, align 8, !tbaa !14
  %194 = load i64, ptr %26, align 8, !tbaa !14
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %192, i64 noundef %193, i64 noundef %194)
          to label %195 unwind label %197

195:                                              ; preds = %190
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %196 unwind label %197

196:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  br label %201

197:                                              ; preds = %195, %190
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %17, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  br label %612

201:                                              ; preds = %196, %180
  br label %202

202:                                              ; preds = %201, %162
  br label %203

203:                                              ; preds = %202, %119
  %204 = load i64, ptr %24, align 8, !tbaa !14
  %205 = add i64 %204, 1
  %206 = getelementptr inbounds %"class.jet::Size3", ptr %13, i32 0, i32 0
  %207 = load i64, ptr %206, align 8, !tbaa !20
  %208 = icmp ult i64 %205, %207
  br i1 %208, label %209, label %283

209:                                              ; preds = %203
  %210 = load i64, ptr %24, align 8, !tbaa !14
  %211 = add i64 %210, 1
  %212 = load i64, ptr %25, align 8, !tbaa !14
  %213 = load i64, ptr %26, align 8, !tbaa !14
  %214 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %211, i64 noundef %212, i64 noundef %213)
          to label %215 unwind label %147

215:                                              ; preds = %209
  %216 = load i8, ptr %214, align 1, !tbaa !17
  %217 = sext i8 %216 to i32
  %218 = icmp eq i32 %217, 1
  br i1 %218, label %219, label %254

219:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %220 = getelementptr inbounds %"class.jet::Vector", ptr %28, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  store double 0.000000e+00, ptr %36, align 8, !tbaa !9
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %222 unwind label %231

222:                                              ; preds = %219
  %223 = load double, ptr %221, align 8, !tbaa !9
  %224 = fneg double %223
  %225 = getelementptr inbounds %"class.jet::Vector", ptr %14, i32 0, i32 0
  %226 = load double, ptr %225, align 8, !tbaa !18
  %227 = fmul double %224, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  store double %227, ptr %35, align 8, !tbaa !9
  %228 = load double, ptr %35, align 8, !tbaa !9
  %229 = fcmp olt double %228, 0x3CB0000000000000
  br i1 %229, label %230, label %235

230:                                              ; preds = %222
  store double 1.000000e+00, ptr %35, align 8, !tbaa !9
  br label %235

231:                                              ; preds = %219
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %17, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %253

235:                                              ; preds = %230, %222
  %236 = load double, ptr %35, align 8, !tbaa !9
  %237 = load i64, ptr %24, align 8, !tbaa !14
  %238 = add i64 %237, 1
  %239 = load i64, ptr %25, align 8, !tbaa !14
  %240 = load i64, ptr %26, align 8, !tbaa !14
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %238, i64 noundef %239, i64 noundef %240)
          to label %242 unwind label %249

242:                                              ; preds = %235
  %243 = load double, ptr %241, align 8, !tbaa !9
  %244 = load double, ptr %30, align 8, !tbaa !9
  %245 = call double @llvm.fmuladd.f64(double %236, double %243, double %244)
  store double %245, ptr %30, align 8, !tbaa !9
  %246 = load double, ptr %35, align 8, !tbaa !9
  %247 = load double, ptr %31, align 8, !tbaa !9
  %248 = fadd double %247, %246
  store double %248, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %282

249:                                              ; preds = %235
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %17, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %18, align 4
  br label %253

253:                                              ; preds = %249, %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %612

254:                                              ; preds = %215
  %255 = load i64, ptr %24, align 8, !tbaa !14
  %256 = add i64 %255, 1
  %257 = load i64, ptr %25, align 8, !tbaa !14
  %258 = load i64, ptr %26, align 8, !tbaa !14
  %259 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %256, i64 noundef %257, i64 noundef %258)
          to label %260 unwind label %147

260:                                              ; preds = %254
  %261 = load i8, ptr %259, align 1, !tbaa !17
  %262 = sext i8 %261 to i32
  %263 = icmp eq i32 %262, 0
  br i1 %263, label %264, label %281

264:                                              ; preds = %260
  %265 = load i64, ptr %24, align 8, !tbaa !14
  %266 = add i64 %265, 1
  %267 = load i64, ptr %25, align 8, !tbaa !14
  %268 = load i64, ptr %26, align 8, !tbaa !14
  %269 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %266, i64 noundef %267, i64 noundef %268)
          to label %270 unwind label %147

270:                                              ; preds = %264
  store i8 2, ptr %269, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #7
  %271 = load i64, ptr %24, align 8, !tbaa !14
  %272 = add i64 %271, 1
  %273 = load i64, ptr %25, align 8, !tbaa !14
  %274 = load i64, ptr %26, align 8, !tbaa !14
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %272, i64 noundef %273, i64 noundef %274)
          to label %275 unwind label %277

275:                                              ; preds = %270
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %276 unwind label %277

276:                                              ; preds = %275
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  br label %281

277:                                              ; preds = %275, %270
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %17, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  br label %612

281:                                              ; preds = %276, %260
  br label %282

282:                                              ; preds = %281, %242
  br label %283

283:                                              ; preds = %282, %203
  %284 = load i64, ptr %25, align 8, !tbaa !14
  %285 = icmp ugt i64 %284, 0
  br i1 %285, label %286, label %359

286:                                              ; preds = %283
  %287 = load i64, ptr %24, align 8, !tbaa !14
  %288 = load i64, ptr %25, align 8, !tbaa !14
  %289 = sub i64 %288, 1
  %290 = load i64, ptr %26, align 8, !tbaa !14
  %291 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %287, i64 noundef %289, i64 noundef %290)
          to label %292 unwind label %147

292:                                              ; preds = %286
  %293 = load i8, ptr %291, align 1, !tbaa !17
  %294 = sext i8 %293 to i32
  %295 = icmp eq i32 %294, 1
  br i1 %295, label %296, label %330

296:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %297 = getelementptr inbounds %"class.jet::Vector", ptr %28, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  store double 0.000000e+00, ptr %39, align 8, !tbaa !9
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %299 unwind label %307

299:                                              ; preds = %296
  %300 = load double, ptr %298, align 8, !tbaa !9
  %301 = getelementptr inbounds %"class.jet::Vector", ptr %14, i32 0, i32 1
  %302 = load double, ptr %301, align 8, !tbaa !22
  %303 = fmul double %300, %302
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  store double %303, ptr %38, align 8, !tbaa !9
  %304 = load double, ptr %38, align 8, !tbaa !9
  %305 = fcmp olt double %304, 0x3CB0000000000000
  br i1 %305, label %306, label %311

306:                                              ; preds = %299
  store double 1.000000e+00, ptr %38, align 8, !tbaa !9
  br label %311

307:                                              ; preds = %296
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %17, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  br label %329

311:                                              ; preds = %306, %299
  %312 = load double, ptr %38, align 8, !tbaa !9
  %313 = load i64, ptr %24, align 8, !tbaa !14
  %314 = load i64, ptr %25, align 8, !tbaa !14
  %315 = sub i64 %314, 1
  %316 = load i64, ptr %26, align 8, !tbaa !14
  %317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %313, i64 noundef %315, i64 noundef %316)
          to label %318 unwind label %325

318:                                              ; preds = %311
  %319 = load double, ptr %317, align 8, !tbaa !9
  %320 = load double, ptr %30, align 8, !tbaa !9
  %321 = call double @llvm.fmuladd.f64(double %312, double %319, double %320)
  store double %321, ptr %30, align 8, !tbaa !9
  %322 = load double, ptr %38, align 8, !tbaa !9
  %323 = load double, ptr %31, align 8, !tbaa !9
  %324 = fadd double %323, %322
  store double %324, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %358

325:                                              ; preds = %311
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %17, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %18, align 4
  br label %329

329:                                              ; preds = %325, %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %612

330:                                              ; preds = %292
  %331 = load i64, ptr %24, align 8, !tbaa !14
  %332 = load i64, ptr %25, align 8, !tbaa !14
  %333 = sub i64 %332, 1
  %334 = load i64, ptr %26, align 8, !tbaa !14
  %335 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %331, i64 noundef %333, i64 noundef %334)
          to label %336 unwind label %147

336:                                              ; preds = %330
  %337 = load i8, ptr %335, align 1, !tbaa !17
  %338 = sext i8 %337 to i32
  %339 = icmp eq i32 %338, 0
  br i1 %339, label %340, label %357

340:                                              ; preds = %336
  %341 = load i64, ptr %24, align 8, !tbaa !14
  %342 = load i64, ptr %25, align 8, !tbaa !14
  %343 = sub i64 %342, 1
  %344 = load i64, ptr %26, align 8, !tbaa !14
  %345 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %341, i64 noundef %343, i64 noundef %344)
          to label %346 unwind label %147

346:                                              ; preds = %340
  store i8 2, ptr %345, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #7
  %347 = load i64, ptr %24, align 8, !tbaa !14
  %348 = load i64, ptr %25, align 8, !tbaa !14
  %349 = sub i64 %348, 1
  %350 = load i64, ptr %26, align 8, !tbaa !14
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %347, i64 noundef %349, i64 noundef %350)
          to label %351 unwind label %353

351:                                              ; preds = %346
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %40)
          to label %352 unwind label %353

352:                                              ; preds = %351
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #7
  br label %357

353:                                              ; preds = %351, %346
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %17, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #7
  br label %612

357:                                              ; preds = %352, %336
  br label %358

358:                                              ; preds = %357, %318
  br label %359

359:                                              ; preds = %358, %283
  %360 = load i64, ptr %25, align 8, !tbaa !14
  %361 = add i64 %360, 1
  %362 = getelementptr inbounds %"class.jet::Size3", ptr %13, i32 0, i32 1
  %363 = load i64, ptr %362, align 8, !tbaa !23
  %364 = icmp ult i64 %361, %363
  br i1 %364, label %365, label %439

365:                                              ; preds = %359
  %366 = load i64, ptr %24, align 8, !tbaa !14
  %367 = load i64, ptr %25, align 8, !tbaa !14
  %368 = add i64 %367, 1
  %369 = load i64, ptr %26, align 8, !tbaa !14
  %370 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %366, i64 noundef %368, i64 noundef %369)
          to label %371 unwind label %147

371:                                              ; preds = %365
  %372 = load i8, ptr %370, align 1, !tbaa !17
  %373 = sext i8 %372 to i32
  %374 = icmp eq i32 %373, 1
  br i1 %374, label %375, label %410

375:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %376 = getelementptr inbounds %"class.jet::Vector", ptr %28, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  store double 0.000000e+00, ptr %42, align 8, !tbaa !9
  %377 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %376, ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %378 unwind label %387

378:                                              ; preds = %375
  %379 = load double, ptr %377, align 8, !tbaa !9
  %380 = fneg double %379
  %381 = getelementptr inbounds %"class.jet::Vector", ptr %14, i32 0, i32 1
  %382 = load double, ptr %381, align 8, !tbaa !22
  %383 = fmul double %380, %382
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  store double %383, ptr %41, align 8, !tbaa !9
  %384 = load double, ptr %41, align 8, !tbaa !9
  %385 = fcmp olt double %384, 0x3CB0000000000000
  br i1 %385, label %386, label %391

386:                                              ; preds = %378
  store double 1.000000e+00, ptr %41, align 8, !tbaa !9
  br label %391

387:                                              ; preds = %375
  %388 = landingpad { ptr, i32 }
          cleanup
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %17, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br label %409

391:                                              ; preds = %386, %378
  %392 = load double, ptr %41, align 8, !tbaa !9
  %393 = load i64, ptr %24, align 8, !tbaa !14
  %394 = load i64, ptr %25, align 8, !tbaa !14
  %395 = add i64 %394, 1
  %396 = load i64, ptr %26, align 8, !tbaa !14
  %397 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %393, i64 noundef %395, i64 noundef %396)
          to label %398 unwind label %405

398:                                              ; preds = %391
  %399 = load double, ptr %397, align 8, !tbaa !9
  %400 = load double, ptr %30, align 8, !tbaa !9
  %401 = call double @llvm.fmuladd.f64(double %392, double %399, double %400)
  store double %401, ptr %30, align 8, !tbaa !9
  %402 = load double, ptr %41, align 8, !tbaa !9
  %403 = load double, ptr %31, align 8, !tbaa !9
  %404 = fadd double %403, %402
  store double %404, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %438

405:                                              ; preds = %391
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %17, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %18, align 4
  br label %409

409:                                              ; preds = %405, %387
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  br label %612

410:                                              ; preds = %371
  %411 = load i64, ptr %24, align 8, !tbaa !14
  %412 = load i64, ptr %25, align 8, !tbaa !14
  %413 = add i64 %412, 1
  %414 = load i64, ptr %26, align 8, !tbaa !14
  %415 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %411, i64 noundef %413, i64 noundef %414)
          to label %416 unwind label %147

416:                                              ; preds = %410
  %417 = load i8, ptr %415, align 1, !tbaa !17
  %418 = sext i8 %417 to i32
  %419 = icmp eq i32 %418, 0
  br i1 %419, label %420, label %437

420:                                              ; preds = %416
  %421 = load i64, ptr %24, align 8, !tbaa !14
  %422 = load i64, ptr %25, align 8, !tbaa !14
  %423 = add i64 %422, 1
  %424 = load i64, ptr %26, align 8, !tbaa !14
  %425 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %421, i64 noundef %423, i64 noundef %424)
          to label %426 unwind label %147

426:                                              ; preds = %420
  store i8 2, ptr %425, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #7
  %427 = load i64, ptr %24, align 8, !tbaa !14
  %428 = load i64, ptr %25, align 8, !tbaa !14
  %429 = add i64 %428, 1
  %430 = load i64, ptr %26, align 8, !tbaa !14
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %427, i64 noundef %429, i64 noundef %430)
          to label %431 unwind label %433

431:                                              ; preds = %426
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %432 unwind label %433

432:                                              ; preds = %431
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #7
  br label %437

433:                                              ; preds = %431, %426
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %17, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #7
  br label %612

437:                                              ; preds = %432, %416
  br label %438

438:                                              ; preds = %437, %398
  br label %439

439:                                              ; preds = %438, %359
  %440 = load i64, ptr %26, align 8, !tbaa !14
  %441 = icmp ugt i64 %440, 0
  br i1 %441, label %442, label %515

442:                                              ; preds = %439
  %443 = load i64, ptr %24, align 8, !tbaa !14
  %444 = load i64, ptr %25, align 8, !tbaa !14
  %445 = load i64, ptr %26, align 8, !tbaa !14
  %446 = sub i64 %445, 1
  %447 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %443, i64 noundef %444, i64 noundef %446)
          to label %448 unwind label %147

448:                                              ; preds = %442
  %449 = load i8, ptr %447, align 1, !tbaa !17
  %450 = sext i8 %449 to i32
  %451 = icmp eq i32 %450, 1
  br i1 %451, label %452, label %486

452:                                              ; preds = %448
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %453 = getelementptr inbounds %"class.jet::Vector", ptr %28, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  store double 0.000000e+00, ptr %45, align 8, !tbaa !9
  %454 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %453, ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %455 unwind label %463

455:                                              ; preds = %452
  %456 = load double, ptr %454, align 8, !tbaa !9
  %457 = getelementptr inbounds %"class.jet::Vector", ptr %14, i32 0, i32 2
  %458 = load double, ptr %457, align 8, !tbaa !24
  %459 = fmul double %456, %458
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  store double %459, ptr %44, align 8, !tbaa !9
  %460 = load double, ptr %44, align 8, !tbaa !9
  %461 = fcmp olt double %460, 0x3CB0000000000000
  br i1 %461, label %462, label %467

462:                                              ; preds = %455
  store double 1.000000e+00, ptr %44, align 8, !tbaa !9
  br label %467

463:                                              ; preds = %452
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %17, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  br label %485

467:                                              ; preds = %462, %455
  %468 = load double, ptr %44, align 8, !tbaa !9
  %469 = load i64, ptr %24, align 8, !tbaa !14
  %470 = load i64, ptr %25, align 8, !tbaa !14
  %471 = load i64, ptr %26, align 8, !tbaa !14
  %472 = sub i64 %471, 1
  %473 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %469, i64 noundef %470, i64 noundef %472)
          to label %474 unwind label %481

474:                                              ; preds = %467
  %475 = load double, ptr %473, align 8, !tbaa !9
  %476 = load double, ptr %30, align 8, !tbaa !9
  %477 = call double @llvm.fmuladd.f64(double %468, double %475, double %476)
  store double %477, ptr %30, align 8, !tbaa !9
  %478 = load double, ptr %44, align 8, !tbaa !9
  %479 = load double, ptr %31, align 8, !tbaa !9
  %480 = fadd double %479, %478
  store double %480, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %514

481:                                              ; preds = %467
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %17, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %18, align 4
  br label %485

485:                                              ; preds = %481, %463
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %612

486:                                              ; preds = %448
  %487 = load i64, ptr %24, align 8, !tbaa !14
  %488 = load i64, ptr %25, align 8, !tbaa !14
  %489 = load i64, ptr %26, align 8, !tbaa !14
  %490 = sub i64 %489, 1
  %491 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %487, i64 noundef %488, i64 noundef %490)
          to label %492 unwind label %147

492:                                              ; preds = %486
  %493 = load i8, ptr %491, align 1, !tbaa !17
  %494 = sext i8 %493 to i32
  %495 = icmp eq i32 %494, 0
  br i1 %495, label %496, label %513

496:                                              ; preds = %492
  %497 = load i64, ptr %24, align 8, !tbaa !14
  %498 = load i64, ptr %25, align 8, !tbaa !14
  %499 = load i64, ptr %26, align 8, !tbaa !14
  %500 = sub i64 %499, 1
  %501 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %497, i64 noundef %498, i64 noundef %500)
          to label %502 unwind label %147

502:                                              ; preds = %496
  store i8 2, ptr %501, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #7
  %503 = load i64, ptr %24, align 8, !tbaa !14
  %504 = load i64, ptr %25, align 8, !tbaa !14
  %505 = load i64, ptr %26, align 8, !tbaa !14
  %506 = sub i64 %505, 1
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %503, i64 noundef %504, i64 noundef %506)
          to label %507 unwind label %509

507:                                              ; preds = %502
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %46)
          to label %508 unwind label %509

508:                                              ; preds = %507
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #7
  br label %513

509:                                              ; preds = %507, %502
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %17, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #7
  br label %612

513:                                              ; preds = %508, %492
  br label %514

514:                                              ; preds = %513, %474
  br label %515

515:                                              ; preds = %514, %439
  %516 = load i64, ptr %26, align 8, !tbaa !14
  %517 = add i64 %516, 1
  %518 = getelementptr inbounds %"class.jet::Size3", ptr %13, i32 0, i32 2
  %519 = load i64, ptr %518, align 8, !tbaa !25
  %520 = icmp ult i64 %517, %519
  br i1 %520, label %521, label %595

521:                                              ; preds = %515
  %522 = load i64, ptr %24, align 8, !tbaa !14
  %523 = load i64, ptr %25, align 8, !tbaa !14
  %524 = load i64, ptr %26, align 8, !tbaa !14
  %525 = add i64 %524, 1
  %526 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %522, i64 noundef %523, i64 noundef %525)
          to label %527 unwind label %147

527:                                              ; preds = %521
  %528 = load i8, ptr %526, align 1, !tbaa !17
  %529 = sext i8 %528 to i32
  %530 = icmp eq i32 %529, 1
  br i1 %530, label %531, label %566

531:                                              ; preds = %527
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %532 = getelementptr inbounds %"class.jet::Vector", ptr %28, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  store double 0.000000e+00, ptr %48, align 8, !tbaa !9
  %533 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %532, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %534 unwind label %543

534:                                              ; preds = %531
  %535 = load double, ptr %533, align 8, !tbaa !9
  %536 = fneg double %535
  %537 = getelementptr inbounds %"class.jet::Vector", ptr %14, i32 0, i32 2
  %538 = load double, ptr %537, align 8, !tbaa !24
  %539 = fmul double %536, %538
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  store double %539, ptr %47, align 8, !tbaa !9
  %540 = load double, ptr %47, align 8, !tbaa !9
  %541 = fcmp olt double %540, 0x3CB0000000000000
  br i1 %541, label %542, label %547

542:                                              ; preds = %534
  store double 1.000000e+00, ptr %47, align 8, !tbaa !9
  br label %547

543:                                              ; preds = %531
  %544 = landingpad { ptr, i32 }
          cleanup
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %17, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %565

547:                                              ; preds = %542, %534
  %548 = load double, ptr %47, align 8, !tbaa !9
  %549 = load i64, ptr %24, align 8, !tbaa !14
  %550 = load i64, ptr %25, align 8, !tbaa !14
  %551 = load i64, ptr %26, align 8, !tbaa !14
  %552 = add i64 %551, 1
  %553 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %549, i64 noundef %550, i64 noundef %552)
          to label %554 unwind label %561

554:                                              ; preds = %547
  %555 = load double, ptr %553, align 8, !tbaa !9
  %556 = load double, ptr %30, align 8, !tbaa !9
  %557 = call double @llvm.fmuladd.f64(double %548, double %555, double %556)
  store double %557, ptr %30, align 8, !tbaa !9
  %558 = load double, ptr %47, align 8, !tbaa !9
  %559 = load double, ptr %31, align 8, !tbaa !9
  %560 = fadd double %559, %558
  store double %560, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %594

561:                                              ; preds = %547
  %562 = landingpad { ptr, i32 }
          cleanup
  %563 = extractvalue { ptr, i32 } %562, 0
  store ptr %563, ptr %17, align 8
  %564 = extractvalue { ptr, i32 } %562, 1
  store i32 %564, ptr %18, align 4
  br label %565

565:                                              ; preds = %561, %543
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %612

566:                                              ; preds = %527
  %567 = load i64, ptr %24, align 8, !tbaa !14
  %568 = load i64, ptr %25, align 8, !tbaa !14
  %569 = load i64, ptr %26, align 8, !tbaa !14
  %570 = add i64 %569, 1
  %571 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %567, i64 noundef %568, i64 noundef %570)
          to label %572 unwind label %147

572:                                              ; preds = %566
  %573 = load i8, ptr %571, align 1, !tbaa !17
  %574 = sext i8 %573 to i32
  %575 = icmp eq i32 %574, 0
  br i1 %575, label %576, label %593

576:                                              ; preds = %572
  %577 = load i64, ptr %24, align 8, !tbaa !14
  %578 = load i64, ptr %25, align 8, !tbaa !14
  %579 = load i64, ptr %26, align 8, !tbaa !14
  %580 = add i64 %579, 1
  %581 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %577, i64 noundef %578, i64 noundef %580)
          to label %582 unwind label %147

582:                                              ; preds = %576
  store i8 2, ptr %581, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #7
  %583 = load i64, ptr %24, align 8, !tbaa !14
  %584 = load i64, ptr %25, align 8, !tbaa !14
  %585 = load i64, ptr %26, align 8, !tbaa !14
  %586 = add i64 %585, 1
  invoke void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %583, i64 noundef %584, i64 noundef %586)
          to label %587 unwind label %589

587:                                              ; preds = %582
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %588 unwind label %589

588:                                              ; preds = %587
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  br label %593

589:                                              ; preds = %587, %582
  %590 = landingpad { ptr, i32 }
          cleanup
  %591 = extractvalue { ptr, i32 } %590, 0
  store ptr %591, ptr %17, align 8
  %592 = extractvalue { ptr, i32 } %590, 1
  store i32 %592, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #7
  br label %612

593:                                              ; preds = %588, %572
  br label %594

594:                                              ; preds = %593, %554
  br label %595

595:                                              ; preds = %594, %515
  %596 = load double, ptr %30, align 8, !tbaa !9
  %597 = load double, ptr %31, align 8, !tbaa !9
  %598 = fdiv double %596, %597
  %599 = load i64, ptr %24, align 8, !tbaa !14
  %600 = load i64, ptr %25, align 8, !tbaa !14
  %601 = load i64, ptr %26, align 8, !tbaa !14
  %602 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %599, i64 noundef %600, i64 noundef %601)
          to label %603 unwind label %147

603:                                              ; preds = %595
  store double %598, ptr %602, align 8, !tbaa !9
  %604 = load i64, ptr %24, align 8, !tbaa !14
  %605 = load i64, ptr %25, align 8, !tbaa !14
  %606 = load i64, ptr %26, align 8, !tbaa !14
  %607 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %15, i64 noundef %604, i64 noundef %605, i64 noundef %606)
          to label %608 unwind label %147

608:                                              ; preds = %603
  store i8 1, ptr %607, align 1, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  store i32 0, ptr %27, align 4
  br label %609

609:                                              ; preds = %608, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  %610 = load i32, ptr %27, align 4
  switch i32 %610, label %625 [
    i32 0, label %611
    i32 3, label %616
  ]

611:                                              ; preds = %609
  br label %67, !llvm.loop !26

612:                                              ; preds = %589, %565, %509, %485, %433, %409, %353, %329, %277, %253, %197, %173, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %613

613:                                              ; preds = %612, %143
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  br label %614

614:                                              ; preds = %613, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %615

615:                                              ; preds = %614, %104
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %617

616:                                              ; preds = %609, %69
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  ret void

617:                                              ; preds = %615, %100
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %618

618:                                              ; preds = %617, %96
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %619

619:                                              ; preds = %618, %92
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  br label %620

620:                                              ; preds = %619
  %621 = load ptr, ptr %17, align 8
  %622 = load i32, ptr %18, align 4
  %623 = insertvalue { ptr, i32 } poison, ptr %621, 0
  %624 = insertvalue { ptr, i32 } %623, i32 %622, 1
  resume { ptr, i32 } %624

625:                                              ; preds = %609
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet18ConstArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind noalias writable sret(%"class.jet::Size3") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.39) align 8) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1EC2ERKSH_OS5_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.42) align 8) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3topEv"(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3popEv"(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

declare void @_ZN3jet9gradient3ERKNS_18ConstArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEEmmm(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN3jet5PointImLm3EEE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!12, !13, i64 16}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !10, i64 0}
!19 = !{!"_ZTSN3jet6VectorIdLm3EEE", !10, i64 0, !10, i64 8, !10, i64 16}
!20 = !{!21, !13, i64 0}
!21 = !{!"_ZTSN3jet5Size3E", !13, i64 0, !13, i64 8, !13, i64 16}
!22 = !{!19, !10, i64 8}
!23 = !{!21, !13, i64 8}
!24 = !{!19, !10, i64 16}
!25 = !{!21, !13, i64 16}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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

%"class.jet::Vector" = type { double, double, double }
%"class.jet::Size3" = type { i64, i64, i64 }
%"class.jet::Array.0" = type { %"class.jet::Size3", %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.39 = type { ptr, ptr, ptr, ptr }
%class.anon.40 = type { ptr }
%"class.std::priority_queue.41" = type { %"class.std::vector.10", %class.anon.40 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Point<unsigned long, 3>, std::allocator<jet::Point<unsigned long, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.42 = type { ptr, ptr, ptr }
%"class.jet::Point" = type { i64, i64, i64 }

@_ZL8kUnknown = external hidden constant i8, align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES4_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef %4, ptr noundef %5) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.jet::Size3", align 8
  %8 = alloca %"class.jet::Vector", align 8
  %9 = alloca %"class.jet::Array.0", align 8
  %10 = alloca %class.anon.39, align 8
  %11 = alloca %class.anon.40, align 8
  %12 = alloca %"class.std::priority_queue.41", align 8
  %13 = alloca %"class.std::vector.10", align 8
  %14 = alloca %class.anon.42, align 8
  %15 = alloca %"class.jet::Point", align 8
  %16 = alloca %"class.jet::Vector", align 8
  %17 = alloca %"class.jet::Vector", align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.jet::Point", align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.jet::Point", align 8
  %22 = alloca double, align 8
  %23 = alloca %"class.jet::Point", align 8
  %24 = alloca double, align 8
  %25 = alloca %"class.jet::Point", align 8
  %26 = alloca double, align 8
  %27 = alloca %"class.jet::Point", align 8
  %28 = alloca double, align 8
  %29 = alloca %"class.jet::Point", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNK3jet18ConstArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size3") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN3jetdvIdEENS_6VectorIT_Lm3EEES2_RKS3_(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %8, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #7
  call void @_ZN3jet5ArrayIcLm3EEC2ERKNS_5Size3ERKc(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 1 dereferenceable(1) @_ZL8kUnknown)
  store ptr %2, ptr %10, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %9, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %5, ptr %31, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %10, i64 24
  store ptr %1, ptr %32, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull byval(%class.anon.39) align 8 %10)
          to label %33 unwind label %55

33:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  store ptr %2, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %13, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1EC2ERKSH_OS5_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %34 unwind label %57

34:                                               ; preds = %33
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  store ptr %9, ptr %14, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %12, ptr %35, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %14, i64 16
  store ptr %7, ptr %36, align 8, !tbaa !5
  invoke void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull byval(%class.anon.42) align 8 %14)
          to label %.preheader unwind label %59

.preheader:                                       ; preds = %34
  %37 = call noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32) %12)
  br i1 %37, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %38 = getelementptr inbounds i8, ptr %15, i64 8
  %39 = getelementptr inbounds i8, ptr %15, i64 16
  %40 = getelementptr inbounds i8, ptr %16, i64 8
  %41 = getelementptr inbounds i8, ptr %8, i64 8
  %42 = getelementptr inbounds i8, ptr %7, i64 8
  %43 = getelementptr inbounds i8, ptr %16, i64 16
  %44 = getelementptr inbounds i8, ptr %8, i64 16
  %45 = getelementptr inbounds i8, ptr %7, i64 16
  br label %46

46:                                               ; preds = %.lr.ph, %225
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  %47 = call noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3topEv"(ptr noundef nonnull align 8 dereferenceable(32) %12)
  call void @_ZN3jet5PointImLm3EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %47)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3popEv"(ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %48 unwind label %61

48:                                               ; preds = %46
  %49 = load i64, ptr %15, align 8, !tbaa !9
  %50 = load i64, ptr %38, align 8, !tbaa !12
  %51 = load i64, ptr %39, align 8, !tbaa !13
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3jet18ConstArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %49, i64 noundef %50, i64 noundef %51)
  %53 = load double, ptr %52, align 8, !tbaa !14
  %54 = fcmp ogt double %53, %4
  br i1 %54, label %.thread, label %63

.thread:                                          ; preds = %48
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %.loopexit

55:                                               ; preds = %6
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %234

57:                                               ; preds = %33
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3jet5PointImLm3EEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  br label %233

59:                                               ; preds = %34
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %232

61:                                               ; preds = %46
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %231

63:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  invoke void @_ZN3jet9gradient3ERKNS_18ConstArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEEmmm(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %49, i64 noundef %50, i64 noundef %51)
          to label %64 unwind label %80

64:                                               ; preds = %63
  invoke void @_ZNK3jet6VectorIdLm3EE10normalizedEv(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %65 unwind label %80

65:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  %.not = icmp eq i64 %49, 0
  br i1 %.not, label %91, label %66

66:                                               ; preds = %65
  %67 = add i64 %49, -1
  %68 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %67, i64 noundef %50, i64 noundef %51)
  %69 = load i8, ptr %68, align 1, !tbaa !16
  %70 = icmp eq i8 %69, 1
  br i1 %70, label %71, label %82

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !14
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %73 = load double, ptr %72, align 8, !tbaa !14
  %74 = load double, ptr %8, align 8, !tbaa !17
  %75 = fmul double %73, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  %76 = fcmp olt double %75, 0x3CB0000000000000
  %.0156 = select i1 %76, double 1.000000e+00, double %75
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %67, i64 noundef %50, i64 noundef %51)
  %78 = load double, ptr %77, align 8, !tbaa !14
  %79 = call double @llvm.fmuladd.f64(double %.0156, double %78, double 0.000000e+00)
  br label %91

80:                                               ; preds = %64, %63
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br label %230

82:                                               ; preds = %66
  %83 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %67, i64 noundef %50, i64 noundef %51)
  %84 = load i8, ptr %83, align 1, !tbaa !16
  %85 = icmp eq i8 %84, 0
  br i1 %85, label %86, label %91

86:                                               ; preds = %82
  %87 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %67, i64 noundef %50, i64 noundef %51)
  store i8 2, ptr %87, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %67, i64 noundef %50, i64 noundef %51)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %88 unwind label %89

88:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br label %91

89:                                               ; preds = %86
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  br label %230

91:                                               ; preds = %71, %88, %82, %65
  %.0158 = phi double [ %79, %71 ], [ 0.000000e+00, %88 ], [ 0.000000e+00, %82 ], [ 0.000000e+00, %65 ]
  %.0157 = phi double [ %.0156, %71 ], [ 0.000000e+00, %88 ], [ 0.000000e+00, %82 ], [ 0.000000e+00, %65 ]
  %92 = add i64 %49, 1
  %93 = load i64, ptr %7, align 8, !tbaa !19
  %94 = icmp ult i64 %92, %93
  br i1 %94, label %95, label %119

95:                                               ; preds = %91
  %96 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %92, i64 noundef %50, i64 noundef %51)
  %97 = load i8, ptr %96, align 1, !tbaa !16
  %98 = icmp eq i8 %97, 1
  br i1 %98, label %99, label %110

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  store double 0.000000e+00, ptr %20, align 8, !tbaa !14
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %101 = load double, ptr %100, align 8, !tbaa !14
  %102 = fneg double %101
  %103 = load double, ptr %8, align 8, !tbaa !17
  %104 = fmul double %103, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  %105 = fcmp olt double %104, 0x3CB0000000000000
  %.0155 = select i1 %105, double 1.000000e+00, double %104
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %92, i64 noundef %50, i64 noundef %51)
  %107 = load double, ptr %106, align 8, !tbaa !14
  %108 = call double @llvm.fmuladd.f64(double %.0155, double %107, double %.0158)
  %109 = fadd double %.0157, %.0155
  br label %119

110:                                              ; preds = %95
  %111 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %92, i64 noundef %50, i64 noundef %51)
  %112 = load i8, ptr %111, align 1, !tbaa !16
  %113 = icmp eq i8 %112, 0
  br i1 %113, label %114, label %119

114:                                              ; preds = %110
  %115 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %92, i64 noundef %50, i64 noundef %51)
  store i8 2, ptr %115, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #7
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %92, i64 noundef %50, i64 noundef %51)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %116 unwind label %117

116:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  br label %119

117:                                              ; preds = %114
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #7
  br label %230

119:                                              ; preds = %99, %116, %110, %91
  %.1159 = phi double [ %108, %99 ], [ %.0158, %116 ], [ %.0158, %110 ], [ %.0158, %91 ]
  %.1 = phi double [ %109, %99 ], [ %.0157, %116 ], [ %.0157, %110 ], [ %.0157, %91 ]
  %.not189 = icmp eq i64 %50, 0
  br i1 %.not189, label %144, label %120

120:                                              ; preds = %119
  %121 = add i64 %50, -1
  %122 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %121, i64 noundef %51)
  %123 = load i8, ptr %122, align 1, !tbaa !16
  %124 = icmp eq i8 %123, 1
  br i1 %124, label %125, label %135

125:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  store double 0.000000e+00, ptr %22, align 8, !tbaa !14
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %127 = load double, ptr %126, align 8, !tbaa !14
  %128 = load double, ptr %41, align 8, !tbaa !21
  %129 = fmul double %127, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  %130 = fcmp olt double %129, 0x3CB0000000000000
  %.0154 = select i1 %130, double 1.000000e+00, double %129
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %49, i64 noundef %121, i64 noundef %51)
  %132 = load double, ptr %131, align 8, !tbaa !14
  %133 = call double @llvm.fmuladd.f64(double %.0154, double %132, double %.1159)
  %134 = fadd double %.1, %.0154
  br label %144

135:                                              ; preds = %120
  %136 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %121, i64 noundef %51)
  %137 = load i8, ptr %136, align 1, !tbaa !16
  %138 = icmp eq i8 %137, 0
  br i1 %138, label %139, label %144

139:                                              ; preds = %135
  %140 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %121, i64 noundef %51)
  store i8 2, ptr %140, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #7
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %49, i64 noundef %121, i64 noundef %51)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %141 unwind label %142

141:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  br label %144

142:                                              ; preds = %139
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  br label %230

144:                                              ; preds = %125, %141, %135, %119
  %.2160 = phi double [ %133, %125 ], [ %.1159, %141 ], [ %.1159, %135 ], [ %.1159, %119 ]
  %.2 = phi double [ %134, %125 ], [ %.1, %141 ], [ %.1, %135 ], [ %.1, %119 ]
  %145 = add i64 %50, 1
  %146 = load i64, ptr %42, align 8, !tbaa !22
  %147 = icmp ult i64 %145, %146
  br i1 %147, label %148, label %172

148:                                              ; preds = %144
  %149 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %145, i64 noundef %51)
  %150 = load i8, ptr %149, align 1, !tbaa !16
  %151 = icmp eq i8 %150, 1
  br i1 %151, label %152, label %163

152:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  store double 0.000000e+00, ptr %24, align 8, !tbaa !14
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %154 = load double, ptr %153, align 8, !tbaa !14
  %155 = fneg double %154
  %156 = load double, ptr %41, align 8, !tbaa !21
  %157 = fmul double %156, %155
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  %158 = fcmp olt double %157, 0x3CB0000000000000
  %.0153 = select i1 %158, double 1.000000e+00, double %157
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %49, i64 noundef %145, i64 noundef %51)
  %160 = load double, ptr %159, align 8, !tbaa !14
  %161 = call double @llvm.fmuladd.f64(double %.0153, double %160, double %.2160)
  %162 = fadd double %.2, %.0153
  br label %172

163:                                              ; preds = %148
  %164 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %145, i64 noundef %51)
  %165 = load i8, ptr %164, align 1, !tbaa !16
  %166 = icmp eq i8 %165, 0
  br i1 %166, label %167, label %172

167:                                              ; preds = %163
  %168 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %145, i64 noundef %51)
  store i8 2, ptr %168, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #7
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %49, i64 noundef %145, i64 noundef %51)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %169 unwind label %170

169:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  br label %172

170:                                              ; preds = %167
  %171 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  br label %230

172:                                              ; preds = %152, %169, %163, %144
  %.3161 = phi double [ %161, %152 ], [ %.2160, %169 ], [ %.2160, %163 ], [ %.2160, %144 ]
  %.3 = phi double [ %162, %152 ], [ %.2, %169 ], [ %.2, %163 ], [ %.2, %144 ]
  %.not190 = icmp eq i64 %51, 0
  br i1 %.not190, label %197, label %173

173:                                              ; preds = %172
  %174 = add i64 %51, -1
  %175 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %50, i64 noundef %174)
  %176 = load i8, ptr %175, align 1, !tbaa !16
  %177 = icmp eq i8 %176, 1
  br i1 %177, label %178, label %188

178:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  store double 0.000000e+00, ptr %26, align 8, !tbaa !14
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %180 = load double, ptr %179, align 8, !tbaa !14
  %181 = load double, ptr %44, align 8, !tbaa !23
  %182 = fmul double %180, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  %183 = fcmp olt double %182, 0x3CB0000000000000
  %.0152 = select i1 %183, double 1.000000e+00, double %182
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %49, i64 noundef %50, i64 noundef %174)
  %185 = load double, ptr %184, align 8, !tbaa !14
  %186 = call double @llvm.fmuladd.f64(double %.0152, double %185, double %.3161)
  %187 = fadd double %.3, %.0152
  br label %197

188:                                              ; preds = %173
  %189 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %50, i64 noundef %174)
  %190 = load i8, ptr %189, align 1, !tbaa !16
  %191 = icmp eq i8 %190, 0
  br i1 %191, label %192, label %197

192:                                              ; preds = %188
  %193 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %50, i64 noundef %174)
  store i8 2, ptr %193, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #7
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %49, i64 noundef %50, i64 noundef %174)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %194 unwind label %195

194:                                              ; preds = %192
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #7
  br label %197

195:                                              ; preds = %192
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #7
  br label %230

197:                                              ; preds = %178, %194, %188, %172
  %.4162 = phi double [ %186, %178 ], [ %.3161, %194 ], [ %.3161, %188 ], [ %.3161, %172 ]
  %.4 = phi double [ %187, %178 ], [ %.3, %194 ], [ %.3, %188 ], [ %.3, %172 ]
  %198 = add i64 %51, 1
  %199 = load i64, ptr %45, align 8, !tbaa !24
  %200 = icmp ult i64 %198, %199
  br i1 %200, label %201, label %225

201:                                              ; preds = %197
  %202 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %50, i64 noundef %198)
  %203 = load i8, ptr %202, align 1, !tbaa !16
  %204 = icmp eq i8 %203, 1
  br i1 %204, label %205, label %216

205:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  store double 0.000000e+00, ptr %28, align 8, !tbaa !14
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %207 = load double, ptr %206, align 8, !tbaa !14
  %208 = fneg double %207
  %209 = load double, ptr %44, align 8, !tbaa !23
  %210 = fmul double %209, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  %211 = fcmp olt double %210, 0x3CB0000000000000
  %.0 = select i1 %211, double 1.000000e+00, double %210
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %49, i64 noundef %50, i64 noundef %198)
  %213 = load double, ptr %212, align 8, !tbaa !14
  %214 = call double @llvm.fmuladd.f64(double %.0, double %213, double %.4162)
  %215 = fadd double %.4, %.0
  br label %225

216:                                              ; preds = %201
  %217 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %50, i64 noundef %198)
  %218 = load i8, ptr %217, align 1, !tbaa !16
  %219 = icmp eq i8 %218, 0
  br i1 %219, label %220, label %225

220:                                              ; preds = %216
  %221 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %50, i64 noundef %198)
  store i8 2, ptr %221, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #7
  call void @_ZN3jet5PointImLm3EEC2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %49, i64 noundef %50, i64 noundef %198)
  invoke void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %222 unwind label %223

222:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  br label %225

223:                                              ; preds = %220
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  br label %230

225:                                              ; preds = %197, %216, %222, %205
  %.5163 = phi double [ %214, %205 ], [ %.4162, %222 ], [ %.4162, %216 ], [ %.4162, %197 ]
  %.5 = phi double [ %215, %205 ], [ %.4, %222 ], [ %.4, %216 ], [ %.4, %197 ]
  %226 = fdiv double %.5163, %.5
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3jet13ArrayAccessorIdLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %49, i64 noundef %50, i64 noundef %51)
  store double %226, ptr %227, align 8, !tbaa !14
  %228 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3jet5ArrayIcLm3EEclEmmm(ptr noundef nonnull align 8 dereferenceable(48) %9, i64 noundef %49, i64 noundef %50, i64 noundef %51)
  store i8 1, ptr %228, align 1, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  %229 = call noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32) %12)
  br i1 %229, label %.loopexit, label %46

230:                                              ; preds = %89, %117, %142, %170, %195, %223, %80
  %.pn.pn = phi { ptr, i32 } [ %81, %80 ], [ %224, %223 ], [ %196, %195 ], [ %171, %170 ], [ %143, %142 ], [ %118, %117 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %231

231:                                              ; preds = %230, %61
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %230 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %232

.loopexit:                                        ; preds = %225, %.preheader, %.thread
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  ret void

232:                                              ; preds = %231, %59
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %231 ], [ %60, %59 ]
  call void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  br label %233

233:                                              ; preds = %232, %57
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %232 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %234

234:                                              ; preds = %233, %55
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %233 ], [ %56, %55 ]
  call void @_ZN3jet5ArrayIcLm3EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3jet18ConstArrayAccessorIdLm3EE4sizeEv(ptr dead_on_unwind noalias writable sret(%"class.jet::Size3") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE20parallelForEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.39) align 8) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1EC2ERKSH_OS5_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNK3jet5ArrayIcLm3EE12forEachIndexIZNS_18FmmLevelSetSolver311extrapolateERKNS_18ConstArrayAccessorIdLm3EEES7_RKNS_6VectorIdLm3EEEdNS_13ArrayAccessorIdLm3EEEE3$_2EEvT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef byval(%class.anon.42) align 8) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E5emptyEv"(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZNKSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3topEv"(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E3popEv"(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

declare void @_ZN3jet9gradient3ERKNS_18ConstArrayAccessorIdLm3EEERKNS_6VectorIdLm3EEEmmm(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1E4pushEOS2_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZNSt14priority_queueIN3jet5PointImLm3EEESt6vectorIS2_SaIS2_EEZNS0_18FmmLevelSetSolver311extrapolateERKNS0_18ConstArrayAccessorIdLm3EEESA_RKNS0_6VectorIdLm3EEEdNS0_13ArrayAccessorIdLm3EEEE3$_1ED2Ev"(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN3jet5PointImLm3EEE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !11, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !15, i64 0}
!18 = !{!"_ZTSN3jet6VectorIdLm3EEE", !15, i64 0, !15, i64 8, !15, i64 16}
!19 = !{!20, !11, i64 0}
!20 = !{!"_ZTSN3jet5Size3E", !11, i64 0, !11, i64 8, !11, i64 16}
!21 = !{!18, !15, i64 8}
!22 = !{!20, !11, i64 8}
!23 = !{!18, !15, i64 16}
!24 = !{!20, !11, i64 16}


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