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

; 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.13", i8, i8, %"class.std::vector.18", i64, i8, i8, ptr }
%"class.flatbuffers::vector_downward" = type { ptr, i8, i64, i64, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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::Size3" = type { i64, i64, i64 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.jet::fbs::Vector3D" = type { double, double, double }
%"struct.flatbuffers::Offset" = type { i32 }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.33" = type { ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.34" = type { ptr }
%"class.std::allocator.7" = type { i8 }
%"struct.flatbuffers::Offset.35" = type { i32 }
%"struct.flatbuffers::Offset.36" = type { i32 }
%"struct.flatbuffers::Offset.37" = type { i32 }
%"struct.flatbuffers::Offset.38" = type { i32 }
%"class.jet::PointHashGridSearcher3" = type { %"class.jet::PointNeighborSearcher3", double, %"class.jet::Point", %"class.std::vector", %"class.std::vector.0" }
%"class.jet::PointNeighborSearcher3" = type { %"class.jet::Serializable" }
%"class.jet::Serializable" = type { ptr }
%"class.jet::Point" = type { i64, i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 3>, std::allocator<jet::Vector<double, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_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 noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet22PointHashGridSearcher39serializeEPSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(88) %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::Size3", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.23", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.jet::fbs::Vector3D", align 8
  %15 = alloca %"struct.flatbuffers::Offset", align 4
  %16 = alloca %"class.std::vector.28", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::vector.5", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.34", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.34", align 8
  %24 = alloca %"class.std::allocator.7", align 1
  %25 = alloca %"struct.flatbuffers::Offset.35", align 4
  %26 = alloca %"struct.flatbuffers::Offset.36", align 4
  %27 = alloca %"struct.flatbuffers::Offset.37", align 4
  %28 = alloca %"struct.flatbuffers::Offset.38", align 4
  %29 = alloca %"struct.flatbuffers::Offset", align 4
  %30 = alloca %"struct.flatbuffers::Offset.37", align 4
  %31 = alloca %"struct.flatbuffers::Offset.38", align 4
  %32 = alloca ptr, align 8
  %33 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %34 = 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 24, ptr %6) #6
  %35 = getelementptr inbounds %"class.jet::PointHashGridSearcher3", ptr %34, i32 0, i32 2
  %36 = getelementptr inbounds %"class.jet::Point", ptr %35, i32 0, i32 0
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.jet::PointHashGridSearcher3", ptr %34, i32 0, i32 2
  %39 = getelementptr inbounds %"class.jet::Point", ptr %38, i32 0, i32 1
  %40 = load i64, ptr %39, align 8, !tbaa !24
  %41 = getelementptr inbounds %"class.jet::PointHashGridSearcher3", ptr %34, i32 0, i32 2
  %42 = getelementptr inbounds %"class.jet::Point", ptr %41, i32 0, i32 2
  %43 = load i64, ptr %42, align 8, !tbaa !25
  invoke void @_ZN3jet3fbs5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %37, i64 noundef %40, i64 noundef %43)
          to label %44 unwind label %55

44:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  call void @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %45 = getelementptr inbounds %"class.jet::PointHashGridSearcher3", ptr %34, i32 0, i32 3
  store ptr %45, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #6
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #6
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  br label %52

52:                                               ; preds = %64, %44
  %53 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3jet6VectorIdLm3EEESt6vectorIS3_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 %53, label %59, label %54

54:                                               ; preds = %52
  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 %70

55:                                               ; preds = %2
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %7, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %8, align 4
  br label %175

59:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %60 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm3EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  store ptr %60, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  %61 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN3jet8jetToFbsERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.jet::fbs::Vector3D") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %61)
          to label %62 unwind label %66

62:                                               ; preds = %59
  invoke void @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %63 unwind label %66

63:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %64

64:                                               ; preds = %63
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm3EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %52

66:                                               ; preds = %62, %59
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %7, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, 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 %174

70:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %71 = call noundef ptr @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %72 = call noundef i64 @_ZNKSt6vectorIN3jet3fbs8Vector3DESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %73 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector3DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %71, i64 noundef %72)
          to label %74 unwind label %86

74:                                               ; preds = %70
  %75 = getelementptr inbounds %"struct.flatbuffers::Offset", ptr %15, i32 0, i32 0
  store i32 %73, ptr %75, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %76 = getelementptr inbounds %"class.jet::PointHashGridSearcher3", ptr %34, i32 0, i32 4
  store ptr %76, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  %78 = call ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #6
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %18, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %80 = load ptr, ptr %17, align 8, !tbaa !5
  %81 = call ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #6
  %82 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %19, i32 0, i32 0
  store ptr %81, ptr %82, align 8
  br label %83

83:                                               ; preds = %114, %74
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %84, label %90, label %85

85:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %125

86:                                               ; preds = %70
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %7, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %8, align 4
  br label %173

90:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  store ptr %91, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #6
  %92 = load ptr, ptr %20, align 8, !tbaa !5
  %93 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %92) #6
  %94 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %22, i32 0, i32 0
  store ptr %93, ptr %94, align 8
  %95 = load ptr, ptr %20, align 8, !tbaa !5
  %96 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #6
  %97 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %23, i32 0, i32 0
  store ptr %96, ptr %97, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  %98 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %22, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %23, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr %99, ptr %101, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %102 unwind label %116

102:                                              ; preds = %90
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %103 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %104 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %105 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %103, i64 noundef %104)
          to label %106 unwind label %120

106:                                              ; preds = %102
  %107 = getelementptr inbounds %"struct.flatbuffers::Offset.36", ptr %26, i32 0, i32 0
  store i32 %105, ptr %107, align 4
  %108 = getelementptr inbounds %"struct.flatbuffers::Offset.36", ptr %26, i32 0, i32 0
  %109 = load i32, ptr %108, align 4
  %110 = invoke i32 @_ZN3jet3fbs34CreatePointHashGridSearcherBucket3ERN11flatbuffers17FlatBufferBuilderENS1_6OffsetINS1_6VectorImEEEE(ptr noundef nonnull align 8 dereferenceable(128) %5, i32 %109)
          to label %111 unwind label %120

111:                                              ; preds = %106
  %112 = getelementptr inbounds %"struct.flatbuffers::Offset.35", ptr %25, i32 0, i32 0
  store i32 %110, ptr %112, align 4
  invoke void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %113 unwind label %120

113:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %114

114:                                              ; preds = %113
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %83

116:                                              ; preds = %90
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %7, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %8, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %124

120:                                              ; preds = %111, %106, %102
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %7, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %124

124:                                              ; preds = %120, %116
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %172

125:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %126 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorINS_6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEEEENS2_INS_6VectorIT_EEEERKSt6vectorIS8_SaIS8_EE(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %127 unwind label %153

127:                                              ; preds = %125
  %128 = getelementptr inbounds %"struct.flatbuffers::Offset.37", ptr %27, i32 0, i32 0
  store i32 %126, ptr %128, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %129 = getelementptr inbounds %"class.jet::PointHashGridSearcher3", ptr %34, i32 0, i32 1
  %130 = load double, ptr %129, align 8, !tbaa !26
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %15, i64 4, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %27, i64 4, i1 false), !tbaa.struct !27
  %131 = getelementptr inbounds %"struct.flatbuffers::Offset", ptr %29, i32 0, i32 0
  %132 = load i32, ptr %131, align 4
  %133 = getelementptr inbounds %"struct.flatbuffers::Offset.37", ptr %30, i32 0, i32 0
  %134 = load i32, ptr %133, align 4
  %135 = invoke i32 @_ZN3jet3fbs28CreatePointHashGridSearcher3ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size3ENS1_6OffsetINS1_6VectorIPKNS0_8Vector3DEEEEENS7_INS8_INS7_INS0_28PointHashGridSearcherBucket3EEEEEEE(ptr noundef nonnull align 8 dereferenceable(128) %5, double noundef %130, ptr noundef %6, i32 %132, i32 %134)
          to label %136 unwind label %157

136:                                              ; preds = %127
  %137 = getelementptr inbounds %"struct.flatbuffers::Offset.38", ptr %28, i32 0, i32 0
  store i32 %135, ptr %137, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %28, i64 4, i1 false), !tbaa.struct !27
  %138 = getelementptr inbounds %"struct.flatbuffers::Offset.38", ptr %31, i32 0, i32 0
  %139 = load i32, ptr %138, align 4
  invoke void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher3EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128) %5, i32 %139, ptr noundef null)
          to label %140 unwind label %157

140:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %141 = invoke noundef ptr @_ZNK11flatbuffers17FlatBufferBuilder16GetBufferPointerEv(ptr noundef nonnull align 8 dereferenceable(128) %5)
          to label %142 unwind label %161

142:                                              ; preds = %140
  store ptr %141, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %143 = invoke noundef i32 @_ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(128) %5)
          to label %144 unwind label %165

144:                                              ; preds = %142
  %145 = zext i32 %143 to i64
  store i64 %145, ptr %33, align 8, !tbaa !30
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = load i64, ptr %33, align 8, !tbaa !30
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %147)
          to label %148 unwind label %165

148:                                              ; preds = %144
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #6
  %151 = load ptr, ptr %32, align 8, !tbaa !5
  %152 = load i64, ptr %33, align 8, !tbaa !30
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %150, ptr align 1 %151, i64 %152, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EED2Ev(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 @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_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 24, 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

153:                                              ; preds = %125
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %7, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %8, align 4
  br label %171

157:                                              ; preds = %136, %127
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %7, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %8, align 4
  br label %170

161:                                              ; preds = %140
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %7, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %8, align 4
  br label %169

165:                                              ; preds = %144, %142
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %7, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %169

169:                                              ; preds = %165, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %170

170:                                              ; preds = %169, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %171

171:                                              ; preds = %170, %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %172

172:                                              ; preds = %171, %124
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br label %173

173:                                              ; preds = %172, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %174

174:                                              ; preds = %173, %66
  call void @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  br label %175

175:                                              ; preds = %174, %55
  call void @llvm.lifetime.end.p0(i64 24, 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 %176

176:                                              ; preds = %175
  %177 = load ptr, ptr %7, align 8
  %178 = load i32, ptr %8, align 4
  %179 = insertvalue { ptr, i32 } poison, ptr %177, 0
  %180 = insertvalue { ptr, i32 } %179, i32 %178, 1
  resume { ptr, i32 } %180
}

; 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 @_ZN3jet3fbs5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN3jet6VectorIdLm3EEESaIS2_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_cxxneIPKN3jet6VectorIdLm3EEESt6vectorIS3_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(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm3EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector3DEEENS_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 @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_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_cxxneIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #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 nounwind uwtable
declare dso_local void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; 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: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; 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 noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3jet3fbs28CreatePointHashGridSearcher3ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size3ENS1_6OffsetINS1_6VectorIPKNS0_8Vector3DEEEEENS7_INS8_INS7_INS0_28PointHashGridSearcherBucket3EEEEEEE(ptr noundef nonnull align 8 dereferenceable(128), double noundef, ptr noundef, 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 @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher3EEEvNS_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 @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_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 = !{!"_ZTSN3jet22PointHashGridSearcher3E", !11, i64 0, !13, i64 8, !14, i64 16, !16, i64 40, !20, i64 64}
!11 = !{!"_ZTSN3jet22PointNeighborSearcher3E", !12, i64 0}
!12 = !{!"_ZTSN3jet12SerializableE"}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTSN3jet5PointIlLm3EEE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIS_ImSaImEESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseISt6vectorImSaImEESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!10, !15, i64 24}
!25 = !{!10, !15, i64 32}
!26 = !{!10, !13, i64 8}
!27 = !{i64 0, i64 4, !28}
!28 = !{!29, !29, i64 0}
!29 = !{!"int", !7, i64 0}
!30 = !{!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.13", i8, i8, %"class.std::vector.18", i64, i8, i8, ptr }
%"class.flatbuffers::vector_downward" = type { ptr, i8, i64, i64, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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::Size3" = type { i64, i64, i64 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::fbs::Vector3D, std::allocator<jet::fbs::Vector3D>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.jet::fbs::Vector3D" = type { double, double, double }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.33" = type { ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.7" = type { i8 }
%"struct.flatbuffers::Offset.35" = type { i32 }

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 noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet22PointHashGridSearcher39serializeEPSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(88) %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::Size3", align 8
  %5 = alloca %"class.std::vector.23", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"struct.jet::fbs::Vector3D", align 8
  %9 = alloca %"class.std::vector.28", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %12 = alloca %"class.std::vector.5", align 8
  %13 = alloca %"class.std::allocator.7", align 1
  %14 = alloca %"struct.flatbuffers::Offset.35", align 4
  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 24, ptr nonnull %4) #6
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  %16 = load i64, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  %18 = load i64, ptr %17, align 8, !tbaa !23
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  %20 = load i64, ptr %19, align 8, !tbaa !24
  invoke void @_ZN3jet3fbs5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %16, 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 @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %23 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm3EEESaIS2_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 @_ZNKSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  store ptr %24, ptr %7, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3jet6VectorIdLm3EEESt6vectorIS3_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 @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %27 = call noundef i64 @_ZNKSt6vectorIN3jet3fbs8Vector3DESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %28 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector3DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %26, i64 noundef %27)
          to label %38 unwind label %44

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

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

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

33:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm3EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3jet6VectorIdLm3EEESt6vectorIS3_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 24, 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 %85

38:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %39 = getelementptr inbounds i8, ptr %0, i64 64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %40 = call ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  store ptr %40, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %41 = call ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  store ptr %41, ptr %11, align 8
  %42 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %42, label %.lr.ph41, label %._crit_edge42

._crit_edge42:                                    ; preds = %56, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %43 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorINS_6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEEEENS2_INS_6VectorIT_EEEERKSt6vectorIS8_SaIS8_EE(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %64 unwind label %76

44:                                               ; preds = %._crit_edge
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %85

.lr.ph41:                                         ; preds = %38, %56
  %46 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  %47 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #6
  %48 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %47, ptr %48, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %49 unwind label %59

49:                                               ; preds = %.lr.ph41
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  %50 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %51 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %52 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %50, i64 noundef %51)
          to label %53 unwind label %61

53:                                               ; preds = %49
  %54 = invoke i32 @_ZN3jet3fbs34CreatePointHashGridSearcherBucket3ERN11flatbuffers17FlatBufferBuilderENS1_6OffsetINS1_6VectorImEEEE(ptr noundef nonnull align 8 dereferenceable(128) %3, i32 %52)
          to label %55 unwind label %61

55:                                               ; preds = %53
  store i32 %54, ptr %14, align 4
  invoke void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %56 unwind label %61

56:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %58, label %.lr.ph41, label %._crit_edge42

59:                                               ; preds = %.lr.ph41
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  br label %63

61:                                               ; preds = %55, %53, %49
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %63

63:                                               ; preds = %61, %59
  %.pn33 = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %84

64:                                               ; preds = %._crit_edge42
  %65 = getelementptr inbounds i8, ptr %0, i64 8
  %66 = load double, ptr %65, align 8, !tbaa !25
  %67 = invoke i32 @_ZN3jet3fbs28CreatePointHashGridSearcher3ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size3ENS1_6OffsetINS1_6VectorIPKNS0_8Vector3DEEEEENS7_INS8_INS7_INS0_28PointHashGridSearcherBucket3EEEEEEE(ptr noundef nonnull align 8 dereferenceable(128) %3, double noundef %66, ptr noundef nonnull %4, i32 %28, i32 %43)
          to label %68 unwind label %78

68:                                               ; preds = %64
  invoke void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher3EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128) %3, i32 %67, ptr noundef null)
          to label %69 unwind label %78

69:                                               ; preds = %68
  %70 = invoke noundef ptr @_ZNK11flatbuffers17FlatBufferBuilder16GetBufferPointerEv(ptr noundef nonnull align 8 dereferenceable(128) %3)
          to label %71 unwind label %80

71:                                               ; preds = %69
  %72 = call noundef i32 @_ZNK11flatbuffers17FlatBufferBuilder7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(128) %3)
  %73 = zext i32 %72 to i64
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %73)
          to label %74 unwind label %82

74:                                               ; preds = %71
  %75 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %75, ptr align 1 %70, i64 %73, i1 false)
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_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 24, 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

76:                                               ; preds = %._crit_edge42
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %84

78:                                               ; preds = %68, %64
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %84

80:                                               ; preds = %69
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %84

82:                                               ; preds = %71
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %84

84:                                               ; preds = %76, %80, %82, %78, %63
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %63 ], [ %77, %76 ], [ %79, %78 ], [ %83, %82 ], [ %81, %80 ]
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %85

85:                                               ; preds = %44, %84, %36
  %.pn37 = phi { ptr, i32 } [ %37, %36 ], [ %.pn33.pn, %84 ], [ %45, %44 ]
  call void @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %86

86:                                               ; preds = %85, %29
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %85 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 24, 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 } %.pn37.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 @_ZN3jet3fbs5Size3C2Emmm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN3jet6VectorIdLm3EEESaIS2_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_cxxneIPKN3jet6VectorIdLm3EEESt6vectorIS3_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(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm3EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector3DEEENS_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 @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_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_cxxneIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) 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 nounwind uwtable
declare dso_local void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

; 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: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; 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 noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt6vectorImSaImEES1_IS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3jet3fbs28CreatePointHashGridSearcher3ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size3ENS1_6OffsetINS1_6VectorIPKNS0_8Vector3DEEEEENS7_INS8_INS7_INS0_28PointHashGridSearcherBucket3EEEEEEE(ptr noundef nonnull align 8 dereferenceable(128), double noundef, ptr noundef, 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 @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher3EEEvNS_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 @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket3EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3jet3fbs8Vector3DESaIS2_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 = !{!"_ZTSN3jet22PointHashGridSearcher3E", !7, i64 0, !9, i64 8, !12, i64 16, !14, i64 40, !19, i64 64}
!7 = !{!"_ZTSN3jet22PointNeighborSearcher3E", !8, i64 0}
!8 = !{!"_ZTSN3jet12SerializableE"}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN3jet5PointIlLm3EEE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"long", !10, i64 0}
!14 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm3EEESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm3EEESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !10, i64 0}
!19 = !{!"_ZTSSt6vectorIS_ImSaImEESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseISt6vectorImSaImEESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt6vectorImSaImEESaIS2_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!6, !13, i64 24}
!24 = !{!6, !13, i64 32}
!25 = !{!6, !9, i64 8}


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