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

; 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.flatbuffers::FlatBufferBuilder" = type { %"class.flatbuffers::vector_downward", %"class.std::vector.15", i8, i8, %"class.std::vector.20", i64, i8, i8, ptr }
%"class.flatbuffers::vector_downward" = type { ptr, i8, i64, i64, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl" }
%"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl" = type { %"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.jet::fbs::Size2" = type { i64, i64 }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.30" = type { ptr }
%"struct.jet::fbs::Vector2D" = type { double, double }
%"struct.flatbuffers::Offset" = type { i32 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.31" = type { ptr }
%"class.std::allocator.2" = type { i8 }
%"struct.flatbuffers::Offset.32" = type { i32 }
%"struct.flatbuffers::Offset.33" = type { i32 }
%"class.jet::PointParallelHashGridSearcher2" = type { %"class.jet::PointNeighborSearcher2", double, %"class.jet::Point", %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0" }
%"class.jet::PointNeighborSearcher2" = type { %"class.jet::Serializable" }
%"class.jet::Serializable" = type { ptr }
%"class.jet::Point" = type { i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet30PointParallelHashGridSearcher29serializeEPSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.flatbuffers::FlatBufferBuilder", align 8
  %6 = alloca %"struct.jet::fbs::Size2", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.25", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.jet::fbs::Vector2D", align 8
  %15 = alloca %"struct.flatbuffers::Offset", align 4
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %19 = alloca %"class.std::allocator.2", align 1
  %20 = alloca %"class.std::vector.0", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %23 = alloca %"class.std::allocator.2", align 1
  %24 = alloca %"class.std::vector.0", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %27 = alloca %"class.std::allocator.2", align 1
  %28 = alloca %"class.std::vector.0", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %31 = alloca %"class.std::allocator.2", align 1
  %32 = alloca %"struct.flatbuffers::Offset.32", align 4
  %33 = alloca %"struct.flatbuffers::Offset.32", align 4
  %34 = alloca %"struct.flatbuffers::Offset.32", align 4
  %35 = alloca %"struct.flatbuffers::Offset.32", align 4
  %36 = alloca %"struct.flatbuffers::Offset.33", align 4
  %37 = alloca %"struct.flatbuffers::Offset", align 4
  %38 = alloca %"struct.flatbuffers::Offset.32", align 4
  %39 = alloca %"struct.flatbuffers::Offset.32", align 4
  %40 = alloca %"struct.flatbuffers::Offset.32", align 4
  %41 = alloca %"struct.flatbuffers::Offset.32", align 4
  %42 = alloca %"struct.flatbuffers::Offset.33", align 4
  %43 = alloca ptr, align 8
  %44 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %45 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 128, ptr %5) #6
  call void @_ZN11flatbuffers17FlatBufferBuilderC2EmPNS_9AllocatorEb(ptr noundef nonnull align 8 dereferenceable(128) %5, i64 noundef 1024, ptr noundef null, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  %46 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 2
  %47 = getelementptr inbounds %"class.jet::Point", ptr %46, i32 0, i32 0
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 2
  %50 = getelementptr inbounds %"class.jet::Point", ptr %49, i32 0, i32 1
  %51 = load i64, ptr %50, align 8, !tbaa !24
  invoke void @_ZN3jet3fbs5Size2C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %48, i64 noundef %51)
          to label %52 unwind label %63

52:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  call void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %53 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 3
  store ptr %53, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.30", ptr %11, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #6
  %59 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.30", ptr %12, i32 0, i32 0
  store ptr %58, ptr %59, align 8
  br label %60

60:                                               ; preds = %72, %52
  %61 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br i1 %61, label %67, label %62

62:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %78

63:                                               ; preds = %2
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %7, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %8, align 4
  br label %238

67:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %68 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  store ptr %68, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN3jet8jetToFbsERKNS_6VectorIdLm2EEE(ptr dead_on_unwind writable sret(%"struct.jet::fbs::Vector2D") align 8 %14, ptr noundef nonnull align 8 dereferenceable(16) %69)
          to label %70 unwind label %74

70:                                               ; preds = %67
  invoke void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %71 unwind label %74

71:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %72

72:                                               ; preds = %71
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %60

74:                                               ; preds = %70, %67
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %237

78:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %79 = call noundef ptr @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %80 = call noundef i64 @_ZNKSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %81 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector2DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %79, i64 noundef %80)
          to label %82 unwind label %178

82:                                               ; preds = %78
  %83 = getelementptr inbounds %"struct.flatbuffers::Offset", ptr %15, i32 0, i32 0
  store i32 %81, ptr %83, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  %84 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 4
  %85 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #6
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %17, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  %87 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 4
  %88 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #6
  %89 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %18, i32 0, i32 0
  store ptr %88, ptr %89, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  %90 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %17, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8
  %92 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %18, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %91, ptr %93, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %94 unwind label %182

94:                                               ; preds = %82
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  %95 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 5
  %96 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #6
  %97 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %21, i32 0, i32 0
  store ptr %96, ptr %97, align 8
  %98 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 5
  %99 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #6
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %22, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %21, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8
  %103 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %22, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr %102, ptr %104, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %105 unwind label %186

105:                                              ; preds = %94
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #6
  %106 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 6
  %107 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #6
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %25, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  %109 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 6
  %110 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #6
  %111 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %26, i32 0, i32 0
  store ptr %110, ptr %111, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %25, i32 0, i32 0
  %113 = load ptr, ptr %112, align 8
  %114 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %26, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %113, ptr %115, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %116 unwind label %190

116:                                              ; preds = %105
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #6
  %117 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 7
  %118 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %117) #6
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %29, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  %120 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 7
  %121 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #6
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %30, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %29, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %30, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr %124, ptr %126, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %127 unwind label %194

127:                                              ; preds = %116
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %128 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %129 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  %130 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %128, i64 noundef %129)
          to label %131 unwind label %198

131:                                              ; preds = %127
  %132 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %32, i32 0, i32 0
  store i32 %130, ptr %132, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %133 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  %134 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  %135 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %133, i64 noundef %134)
          to label %136 unwind label %202

136:                                              ; preds = %131
  %137 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %33, i32 0, i32 0
  store i32 %135, ptr %137, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %138 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %139 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %140 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %138, i64 noundef %139)
          to label %141 unwind label %206

141:                                              ; preds = %136
  %142 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %34, i32 0, i32 0
  store i32 %140, ptr %142, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  %143 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %144 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %145 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %143, i64 noundef %144)
          to label %146 unwind label %210

146:                                              ; preds = %141
  %147 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %35, i32 0, i32 0
  store i32 %145, ptr %147, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %148 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %45, i32 0, i32 1
  %149 = load double, ptr %148, align 8, !tbaa !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %15, i64 4, i1 false), !tbaa.struct !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %32, i64 4, i1 false), !tbaa.struct !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %33, i64 4, i1 false), !tbaa.struct !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %34, i64 4, i1 false), !tbaa.struct !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %35, i64 4, i1 false), !tbaa.struct !26
  %150 = getelementptr inbounds %"struct.flatbuffers::Offset", ptr %37, i32 0, i32 0
  %151 = load i32, ptr %150, align 4
  %152 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %38, i32 0, i32 0
  %153 = load i32, ptr %152, align 4
  %154 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %39, i32 0, i32 0
  %155 = load i32, ptr %154, align 4
  %156 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %40, i32 0, i32 0
  %157 = load i32, ptr %156, align 4
  %158 = getelementptr inbounds %"struct.flatbuffers::Offset.32", ptr %41, i32 0, i32 0
  %159 = load i32, ptr %158, align 4
  %160 = invoke i32 @_ZN3jet3fbs36CreatePointParallelHashGridSearcher2ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size2ENS1_6OffsetINS1_6VectorIPKNS0_8Vector2DEEEEENS7_INS8_ImEEEESF_SF_SF_(ptr noundef nonnull align 8 dereferenceable(128) %5, double noundef %149, ptr noundef %6, i32 %151, i32 %153, i32 %155, i32 %157, i32 %159)
          to label %161 unwind label %214

161:                                              ; preds = %146
  %162 = getelementptr inbounds %"struct.flatbuffers::Offset.33", ptr %36, i32 0, i32 0
  store i32 %160, ptr %162, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %36, i64 4, i1 false), !tbaa.struct !26
  %163 = getelementptr inbounds %"struct.flatbuffers::Offset.33", ptr %42, i32 0, i32 0
  %164 = load i32, ptr %163, align 4
  invoke void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs30PointParallelHashGridSearcher2EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128) %5, i32 %164, ptr noundef null)
          to label %165 unwind label %214

165:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %166 = invoke noundef ptr @_ZNK11flatbuffers17FlatBufferBuilder16GetBufferPointerEv(ptr noundef nonnull align 8 dereferenceable(128) %5)
          to label %167 unwind label %218

167:                                              ; preds = %165
  store ptr %166, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  %168 = invoke noundef i32 @_ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(128) %5)
          to label %169 unwind label %222

169:                                              ; preds = %167
  %170 = zext i32 %168 to i64
  store i64 %170, ptr %44, align 8, !tbaa !29
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = load i64, ptr %44, align 8, !tbaa !29
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %172)
          to label %173 unwind label %222

173:                                              ; preds = %169
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %174) #6
  %176 = load ptr, ptr %43, align 8, !tbaa !5
  %177 = load i64, ptr %44, align 8, !tbaa !29
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %175, ptr align 1 %176, i64 %177, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @_ZN11flatbuffers17FlatBufferBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %5) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %5) #6
  ret void

178:                                              ; preds = %78
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %7, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %8, align 4
  br label %236

182:                                              ; preds = %82
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %7, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %8, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %235

186:                                              ; preds = %94
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %7, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %8, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  br label %234

190:                                              ; preds = %105
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %7, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %8, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %233

194:                                              ; preds = %116
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %7, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %8, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  br label %232

198:                                              ; preds = %127
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %7, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %8, align 4
  br label %231

202:                                              ; preds = %131
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %7, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %8, align 4
  br label %230

206:                                              ; preds = %136
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %7, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %8, align 4
  br label %229

210:                                              ; preds = %141
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %7, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %8, align 4
  br label %228

214:                                              ; preds = %161, %146
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %7, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %8, align 4
  br label %227

218:                                              ; preds = %165
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %7, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %8, align 4
  br label %226

222:                                              ; preds = %169, %167
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %7, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  br label %226

226:                                              ; preds = %222, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %227

227:                                              ; preds = %226, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %228

228:                                              ; preds = %227, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %229

229:                                              ; preds = %228, %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  br label %230

230:                                              ; preds = %229, %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %231

231:                                              ; preds = %230, %198
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  br label %232

232:                                              ; preds = %231, %194
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  br label %233

233:                                              ; preds = %232, %190
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %234

234:                                              ; preds = %233, %186
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  br label %235

235:                                              ; preds = %234, %182
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br label %236

236:                                              ; preds = %235, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %237

237:                                              ; preds = %236, %74
  call void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  br label %238

238:                                              ; preds = %237, %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @_ZN11flatbuffers17FlatBufferBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %5) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %5) #6
  br label %239

239:                                              ; preds = %238
  %240 = load ptr, ptr %7, align 8
  %241 = load i32, ptr %8, align 4
  %242 = insertvalue { ptr, i32 } poison, ptr %240, 0
  %243 = insertvalue { ptr, i32 } %242, i32 %241, 1
  resume { ptr, i32 } %243
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11flatbuffers17FlatBufferBuilderC2EmPNS_9AllocatorEb(ptr noundef nonnull align 8 dereferenceable(128), i64 noundef, ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet3fbs5Size2C2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3jet8jetToFbsERKNS_6VectorIdLm2EEE(ptr dead_on_unwind noalias writable sret(%"struct.jet::fbs::Vector2D") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector2DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i64 noundef) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i64 noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3jet3fbs36CreatePointParallelHashGridSearcher2ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size2ENS1_6OffsetINS1_6VectorIPKNS0_8Vector2DEEEEENS7_INS8_ImEEEESF_SF_SF_(ptr noundef nonnull align 8 dereferenceable(128), double noundef, ptr noundef, i32, i32, i32, i32, i32) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs30PointParallelHashGridSearcher2EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128), i32, ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK11flatbuffers17FlatBufferBuilder16GetBufferPointerEv(ptr noundef nonnull align 8 dereferenceable(128)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(128)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11flatbuffers17FlatBufferBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !15, i64 16}
!10 = !{!"_ZTSN3jet30PointParallelHashGridSearcher2E", !11, i64 0, !13, i64 8, !14, i64 16, !16, i64 32, !20, i64 56, !20, i64 80, !20, i64 104, !20, i64 128}
!11 = !{!"_ZTSN3jet22PointNeighborSearcher2E", !12, i64 0}
!12 = !{!"_ZTSN3jet12SerializableE"}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTSN3jet5PointIlLm2EEE", !15, i64 0, !15, i64 8}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorImSaImEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseImSaImEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!10, !15, i64 24}
!25 = !{!10, !13, i64 8}
!26 = !{i64 0, i64 4, !27}
!27 = !{!28, !28, i64 0}
!28 = !{!"int", !7, i64 0}
!29 = !{!15, !15, i64 0}


; 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.flatbuffers::FlatBufferBuilder" = type { %"class.flatbuffers::vector_downward", %"class.std::vector.15", i8, i8, %"class.std::vector.20", i64, i8, i8, ptr }
%"class.flatbuffers::vector_downward" = type { ptr, i8, i64, i64, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl" }
%"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl" = type { %"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<flatbuffers::FlatBufferBuilder::FieldLoc, std::allocator<flatbuffers::FlatBufferBuilder::FieldLoc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.jet::fbs::Size2" = type { i64, i64 }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::fbs::Vector2D, std::allocator<jet::fbs::Vector2D>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.30" = type { ptr }
%"struct.jet::fbs::Vector2D" = type { double, double }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet30PointParallelHashGridSearcher29serializeEPSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.flatbuffers::FlatBufferBuilder", align 8
  %4 = alloca %"struct.jet::fbs::Size2", align 8
  %5 = alloca %"class.std::vector.25", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %8 = alloca %"struct.jet::fbs::Vector2D", align 8
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca %"class.std::allocator.2", align 1
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.std::allocator.2", align 1
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::vector.0", align 8
  %16 = alloca %"class.std::allocator.2", align 1
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #6
  call void @_ZN11flatbuffers17FlatBufferBuilderC2EmPNS_9AllocatorEb(ptr noundef nonnull align 8 dereferenceable(128) %3, i64 noundef 1024, ptr noundef null, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load i64, ptr %17, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = load i64, ptr %19, align 8, !tbaa !23
  invoke void @_ZN3jet3fbs5Size2C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %18, i64 noundef %20)
          to label %21 unwind label %29

21:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %23 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  store ptr %23, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %24 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  store ptr %24, ptr %7, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %25, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %33, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %26 = call noundef ptr @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %27 = call noundef i64 @_ZNKSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %28 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector2DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %26, i64 noundef %27)
          to label %38 unwind label %82

29:                                               ; preds = %2
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %112

.lr.ph:                                           ; preds = %21, %33
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  invoke void @_ZN3jet8jetToFbsERKNS_6VectorIdLm2EEE(ptr dead_on_unwind nonnull writable sret(%"struct.jet::fbs::Vector2D") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %32 unwind label %36

32:                                               ; preds = %.lr.ph
  invoke void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %33 unwind label %36

33:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %35, label %.lr.ph, label %._crit_edge

36:                                               ; preds = %32, %.lr.ph
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %111

38:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %39 = getelementptr inbounds i8, ptr %0, i64 56
  %40 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr %40, ptr %41, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %42 unwind label %84

42:                                               ; preds = %38
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %43 = getelementptr inbounds i8, ptr %0, i64 80
  %44 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %45 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %44, ptr %45, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %46 unwind label %86

46:                                               ; preds = %42
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  %47 = getelementptr inbounds i8, ptr %0, i64 104
  %48 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #6
  %49 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr %48, ptr %49, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %50 unwind label %88

50:                                               ; preds = %46
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  %51 = getelementptr inbounds i8, ptr %0, i64 128
  %52 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  %53 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr %52, ptr %53, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %54 unwind label %90

54:                                               ; preds = %50
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  %55 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %56 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %57 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %55, i64 noundef %56)
          to label %58 unwind label %92

58:                                               ; preds = %54
  %59 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %60 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %61 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %59, i64 noundef %60)
          to label %62 unwind label %94

62:                                               ; preds = %58
  %63 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %64 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %65 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %63, i64 noundef %64)
          to label %66 unwind label %96

66:                                               ; preds = %62
  %67 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %68 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %69 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %67, i64 noundef %68)
          to label %70 unwind label %98

70:                                               ; preds = %66
  %71 = getelementptr inbounds i8, ptr %0, i64 8
  %72 = load double, ptr %71, align 8, !tbaa !24
  %73 = invoke i32 @_ZN3jet3fbs36CreatePointParallelHashGridSearcher2ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size2ENS1_6OffsetINS1_6VectorIPKNS0_8Vector2DEEEEENS7_INS8_ImEEEESF_SF_SF_(ptr noundef nonnull align 8 dereferenceable(128) %3, double noundef %72, ptr noundef nonnull %4, i32 %28, i32 %57, i32 %61, i32 %65, i32 %69)
          to label %74 unwind label %100

74:                                               ; preds = %70
  invoke void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs30PointParallelHashGridSearcher2EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128) %3, i32 %73, ptr noundef null)
          to label %75 unwind label %100

75:                                               ; preds = %74
  %76 = invoke noundef ptr @_ZNK11flatbuffers17FlatBufferBuilder16GetBufferPointerEv(ptr noundef nonnull align 8 dereferenceable(128) %3)
          to label %77 unwind label %102

77:                                               ; preds = %75
  %78 = call noundef i32 @_ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(128) %3)
  %79 = zext i32 %78 to i64
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %79)
          to label %80 unwind label %104

80:                                               ; preds = %77
  %81 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %81, ptr align 1 %76, i64 %79, i1 false)
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN11flatbuffers17FlatBufferBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %3) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #6
  ret void

82:                                               ; preds = %._crit_edge
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %111

84:                                               ; preds = %38
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %110

86:                                               ; preds = %42
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %109

88:                                               ; preds = %46
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %108

90:                                               ; preds = %50
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  br label %107

92:                                               ; preds = %54
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %106

94:                                               ; preds = %58
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %106

96:                                               ; preds = %62
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %106

98:                                               ; preds = %66
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %106

100:                                              ; preds = %74, %70
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %106

102:                                              ; preds = %75
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %106

104:                                              ; preds = %77
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %106

106:                                              ; preds = %94, %98, %102, %104, %100, %96, %92
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %93, %92 ], [ %95, %94 ], [ %97, %96 ], [ %99, %98 ], [ %101, %100 ], [ %105, %104 ], [ %103, %102 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %107

107:                                              ; preds = %106, %90
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %106 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %108

108:                                              ; preds = %107, %88
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %107 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %109

109:                                              ; preds = %108, %86
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %108 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %110

110:                                              ; preds = %109, %84
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %109 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %111

111:                                              ; preds = %82, %110, %36
  %.pn53 = phi { ptr, i32 } [ %37, %36 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %110 ], [ %83, %82 ]
  call void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %112

112:                                              ; preds = %111, %29
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %111 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN11flatbuffers17FlatBufferBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %3) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn53.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11flatbuffers17FlatBufferBuilderC2EmPNS_9AllocatorEb(ptr noundef nonnull align 8 dereferenceable(128), i64 noundef, ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3jet3fbs5Size2C2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3jet8jetToFbsERKNS_6VectorIdLm2EEE(ptr dead_on_unwind noalias writable sret(%"struct.jet::fbs::Vector2D") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector2DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3jet3fbs36CreatePointParallelHashGridSearcher2ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size2ENS1_6OffsetINS1_6VectorIPKNS0_8Vector2DEEEEENS7_INS8_ImEEEESF_SF_SF_(ptr noundef nonnull align 8 dereferenceable(128), double noundef, ptr noundef, i32, i32, i32, i32, i32) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs30PointParallelHashGridSearcher2EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128), i32, ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11flatbuffers17FlatBufferBuilderD2Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !13, i64 16}
!6 = !{!"_ZTSN3jet30PointParallelHashGridSearcher2E", !7, i64 0, !9, i64 8, !12, i64 16, !14, i64 32, !19, i64 56, !19, i64 80, !19, i64 104, !19, i64 128}
!7 = !{!"_ZTSN3jet22PointNeighborSearcher2E", !8, i64 0}
!8 = !{!"_ZTSN3jet12SerializableE"}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN3jet5PointIlLm2EEE", !13, i64 0, !13, i64 8}
!13 = !{!"long", !10, i64 0}
!14 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !10, i64 0}
!19 = !{!"_ZTSSt6vectorImSaImEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseImSaImEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!6, !13, i64 24}
!24 = !{!6, !9, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass