; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (point_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.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::Size2" = type { i64, i64 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = 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" = type { ptr }
%"struct.jet::fbs::Vector2D" = type { 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::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_Vector_impl" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_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::PointHashGridSearcher2" = type { %"class.jet::PointNeighborSearcher2", double, %"class.jet::Point", %"class.std::vector", %"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 }
%"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 @_ZNK3jet22PointHashGridSearcher29serializeEPSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(80) %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.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::Vector2D", 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 16, ptr %6) #6
  %35 = getelementptr inbounds %"class.jet::PointHashGridSearcher2", 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::PointHashGridSearcher2", 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
  invoke void @_ZN3jet3fbs5Size2C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %37, i64 noundef %40)
          to label %41 unwind label %52

41:                                               ; 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
  %42 = getelementptr inbounds %"class.jet::PointHashGridSearcher2", ptr %34, i32 0, i32 3
  store ptr %42, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %45 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #6
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  br label %49

49:                                               ; preds = %61, %41
  %50 = 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 %50, label %56, label %51

51:                                               ; preds = %49
  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 %67

52:                                               ; preds = %2
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  br label %172

56:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %57 = 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 %57, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %58 = 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) %58)
          to label %59 unwind label %63

59:                                               ; preds = %56
  invoke void @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %60 unwind label %63

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

61:                                               ; preds = %60
  %62 = 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 %49

63:                                               ; preds = %59, %56
  %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
  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 %171

67:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %68 = call noundef ptr @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %69 = call noundef i64 @_ZNKSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %70 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector2DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %68, i64 noundef %69)
          to label %71 unwind label %83

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

80:                                               ; preds = %111, %71
  %81 = 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 %81, label %87, label %82

82:                                               ; preds = %80
  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 %122

83:                                               ; preds = %67
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  br label %170

87:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %88 = 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 %88, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #6
  %89 = load ptr, ptr %20, align 8, !tbaa !5
  %90 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #6
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %22, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  %92 = load ptr, ptr %20, align 8, !tbaa !5
  %93 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %92) #6
  %94 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %23, i32 0, i32 0
  store ptr %93, ptr %94, 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
  %95 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %22, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8
  %97 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.34", ptr %23, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8
  invoke void @_ZNSt6vectorImSaImEEC2IN9__gnu_cxx17__normal_iteratorIPKmS1_EEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr %96, ptr %98, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %99 unwind label %113

99:                                               ; preds = %87
  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
  %100 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %101 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %102 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef %100, i64 noundef %101)
          to label %103 unwind label %117

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

108:                                              ; preds = %103
  %109 = getelementptr inbounds %"struct.flatbuffers::Offset.35", ptr %25, i32 0, i32 0
  store i32 %107, ptr %109, align 4
  invoke void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %110 unwind label %117

110:                                              ; preds = %108
  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 %111

111:                                              ; preds = %110
  %112 = 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 %80

113:                                              ; preds = %87
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %7, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, 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 %121

117:                                              ; preds = %108, %103, %99
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %7, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, 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 %121

121:                                              ; preds = %117, %113
  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 %169

122:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %123 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorINS_6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEEEENS2_INS_6VectorIT_EEEERKSt6vectorIS8_SaIS8_EE(ptr noundef nonnull align 8 dereferenceable(128) %5, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %124 unwind label %150

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

133:                                              ; preds = %124
  %134 = getelementptr inbounds %"struct.flatbuffers::Offset.38", ptr %28, i32 0, i32 0
  store i32 %132, ptr %134, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %28, i64 4, i1 false), !tbaa.struct !26
  %135 = getelementptr inbounds %"struct.flatbuffers::Offset.38", ptr %31, i32 0, i32 0
  %136 = load i32, ptr %135, align 4
  invoke void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher2EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128) %5, i32 %136, ptr noundef null)
          to label %137 unwind label %154

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %138 = invoke noundef ptr @_ZNK11flatbuffers17FlatBufferBuilder16GetBufferPointerEv(ptr noundef nonnull align 8 dereferenceable(128) %5)
          to label %139 unwind label %158

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

141:                                              ; preds = %139
  %142 = zext i32 %140 to i64
  store i64 %142, ptr %33, align 8, !tbaa !29
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = load i64, ptr %33, align 8, !tbaa !29
  invoke void @_ZNSt6vectorIhSaIhEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %144)
          to label %145 unwind label %162

145:                                              ; preds = %141
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #6
  %148 = load ptr, ptr %32, align 8, !tbaa !5
  %149 = load i64, ptr %33, align 8, !tbaa !29
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %147, ptr align 1 %148, i64 %149, 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 @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_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 @_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

150:                                              ; preds = %122
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %7, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %8, align 4
  br label %168

154:                                              ; preds = %133, %124
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %7, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %8, align 4
  br label %167

158:                                              ; preds = %137
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %7, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %8, align 4
  br label %166

162:                                              ; preds = %141, %139
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %7, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %166

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %167

167:                                              ; preds = %166, %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %168

168:                                              ; preds = %167, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %169

169:                                              ; preds = %168, %121
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br label %170

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

171:                                              ; preds = %170, %63
  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 %172

172:                                              ; preds = %171, %52
  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 %173

173:                                              ; preds = %172
  %174 = load ptr, ptr %7, align 8
  %175 = load i32, ptr %8, align 4
  %176 = insertvalue { ptr, i32 } poison, ptr %174, 0
  %177 = insertvalue { ptr, i32 } %176, i32 %175, 1
  resume { ptr, i32 } %177
}

; 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 void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_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 @_ZN3jet3fbs34CreatePointHashGridSearcherBucket2ERN11flatbuffers17FlatBufferBuilderENS1_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 @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_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_6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEEEENS2_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 @_ZN3jet3fbs28CreatePointHashGridSearcher2ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size2ENS1_6OffsetINS1_6VectorIPKNS0_8Vector2DEEEEENS7_INS8_INS7_INS0_28PointHashGridSearcherBucket2EEEEEEE(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 @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher2EEEvNS_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 @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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 = !{!"_ZTSN3jet22PointHashGridSearcher2E", !11, i64 0, !13, i64 8, !14, i64 16, !16, i64 32, !20, i64 56}
!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 = !{!"_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, !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.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::Size2" = type { i64, i64 }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = 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" = type { ptr }
%"struct.jet::fbs::Vector2D" = type { 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::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_Vector_impl" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>, std::allocator<flatbuffers::Offset<jet::fbs::PointHashGridSearcherBucket2>>>::_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 @_ZNK3jet22PointHashGridSearcher29serializeEPSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(80) %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.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::Vector2D", 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 16, 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
  invoke void @_ZN3jet3fbs5Size2C2Emm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %16, i64 noundef %18)
          to label %19 unwind label %27

19:                                               ; 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
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %21 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %21, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %22 = call ptr @_ZNKSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %22, ptr %7, align 8
  %23 = 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 %23, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %31, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %24 = call noundef ptr @_ZNSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %25 = call noundef i64 @_ZNKSt6vectorIN3jet3fbs8Vector2DESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %26 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder21CreateVectorOfStructsIN3jet3fbs8Vector2DEEENS_6OffsetINS_6VectorIPKT_EEEES9_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %24, i64 noundef %25)
          to label %36 unwind label %42

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %84

.lr.ph:                                           ; preds = %19, %31
  %29 = 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) %29)
          to label %30 unwind label %34

30:                                               ; 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 %31 unwind label %34

31:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3jet6VectorIdLm2EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %33 = 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 %33, label %.lr.ph, label %._crit_edge

34:                                               ; preds = %30, %.lr.ph
  %35 = 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 %83

36:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %37 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %38 = call ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  store ptr %38, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %39 = call ptr @_ZNKSt6vectorIS_ImSaImEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  store ptr %39, ptr %11, align 8
  %40 = 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 %40, label %.lr.ph41, label %._crit_edge42

._crit_edge42:                                    ; preds = %54, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %41 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorINS_6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEEEENS2_INS_6VectorIT_EEEERKSt6vectorIS8_SaIS8_EE(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %62 unwind label %74

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

.lr.ph41:                                         ; preds = %36, %54
  %44 = 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
  %45 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #6
  %46 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #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 %45, ptr %46, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %47 unwind label %57

47:                                               ; 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
  %48 = call noundef ptr @_ZNSt6vectorImSaImEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %49 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %50 = invoke i32 @_ZN11flatbuffers17FlatBufferBuilder12CreateVectorImEENS_6OffsetINS_6VectorIT_EEEEPKS4_m(ptr noundef nonnull align 8 dereferenceable(128) %3, ptr noundef %48, i64 noundef %49)
          to label %51 unwind label %59

51:                                               ; preds = %47
  %52 = invoke i32 @_ZN3jet3fbs34CreatePointHashGridSearcherBucket2ERN11flatbuffers17FlatBufferBuilderENS1_6OffsetINS1_6VectorImEEEE(ptr noundef nonnull align 8 dereferenceable(128) %3, i32 %50)
          to label %53 unwind label %59

53:                                               ; preds = %51
  store i32 %52, ptr %14, align 4
  invoke void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %54 unwind label %59

54:                                               ; preds = %53
  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
  %55 = 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
  %56 = 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 %56, label %.lr.ph41, label %._crit_edge42

57:                                               ; preds = %.lr.ph41
  %58 = 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 %61

59:                                               ; preds = %53, %51, %47
  %60 = 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 %61

61:                                               ; preds = %59, %57
  %.pn33 = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  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 %82

62:                                               ; preds = %._crit_edge42
  %63 = getelementptr inbounds i8, ptr %0, i64 8
  %64 = load double, ptr %63, align 8, !tbaa !24
  %65 = invoke i32 @_ZN3jet3fbs28CreatePointHashGridSearcher2ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size2ENS1_6OffsetINS1_6VectorIPKNS0_8Vector2DEEEEENS7_INS8_INS7_INS0_28PointHashGridSearcherBucket2EEEEEEE(ptr noundef nonnull align 8 dereferenceable(128) %3, double noundef %64, ptr noundef nonnull %4, i32 %26, i32 %41)
          to label %66 unwind label %76

66:                                               ; preds = %62
  invoke void @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher2EEEvNS_6OffsetIT_EEPKc(ptr noundef nonnull align 8 dereferenceable(128) %3, i32 %65, ptr noundef null)
          to label %67 unwind label %76

67:                                               ; preds = %66
  %68 = invoke noundef ptr @_ZNK11flatbuffers17FlatBufferBuilder16GetBufferPointerEv(ptr noundef nonnull align 8 dereferenceable(128) %3)
          to label %69 unwind label %78

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

72:                                               ; preds = %69
  %73 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %73, ptr align 1 %68, i64 %71, i1 false)
  call void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_EED2Ev(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

74:                                               ; preds = %._crit_edge42
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %82

76:                                               ; preds = %66, %62
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %82

78:                                               ; preds = %67
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

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

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

83:                                               ; preds = %42, %82, %34
  %.pn37 = phi { ptr, i32 } [ %35, %34 ], [ %.pn33.pn, %82 ], [ %43, %42 ]
  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 %84

84:                                               ; preds = %83, %27
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %83 ], [ %28, %27 ]
  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 } %.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 @_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 void @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_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 @_ZN3jet3fbs34CreatePointHashGridSearcherBucket2ERN11flatbuffers17FlatBufferBuilderENS1_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 @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_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_6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEEEENS2_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 @_ZN3jet3fbs28CreatePointHashGridSearcher2ERN11flatbuffers17FlatBufferBuilderEdPKNS0_5Size2ENS1_6OffsetINS1_6VectorIPKNS0_8Vector2DEEEEENS7_INS8_INS7_INS0_28PointHashGridSearcherBucket2EEEEEEE(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 @_ZN11flatbuffers17FlatBufferBuilder6FinishIN3jet3fbs22PointHashGridSearcher2EEEvNS_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 @_ZNSt6vectorIN11flatbuffers6OffsetIN3jet3fbs28PointHashGridSearcherBucket2EEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = !{!"_ZTSN3jet22PointHashGridSearcher2E", !7, i64 0, !9, i64 8, !12, i64 16, !14, i64 32, !19, i64 56}
!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 = !{!"_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, !9, i64 8}


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