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

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

%"class.jet::Size2" = type { i64, i64 }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.jet::Vector" = type { double, double }
%"class.jet::PointParallelHashGridSearcher2" = type { %"class.jet::PointNeighborSearcher2", double, %"class.jet::Point", %"class.std::vector", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0" }
%"class.jet::PointNeighborSearcher2" = type { %"class.jet::Serializable" }
%"class.jet::Serializable" = type { ptr }
%"class.jet::Point" = type { i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<jet::Vector<double, 2>, std::allocator<jet::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; 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 uwtable
declare dso_local void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet30PointParallelHashGridSearcher211deserializeERKSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) unnamed_addr #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.jet::Size2", align 8
  %7 = alloca %"class.std::initializer_list", align 8
  %8 = alloca [2 x i64], align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.jet::Vector", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  %23 = call noundef ptr @_ZN3jet3fbs33GetPointParallelHashGridSearcher2EPKv(ptr noundef %22)
  store ptr %23, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher210resolutionEv(ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @_ZN3jet8fbsToJetERKNS_3fbs5Size2E(ptr dead_on_unwind writable sret(%"class.jet::Size2") align 8 %6, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %26 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #4
  %27 = getelementptr inbounds %"class.jet::Size2", ptr %6, i32 0, i32 0
  %28 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %28, ptr %8, align 8, !tbaa !12
  %29 = getelementptr inbounds i64, ptr %8, i64 1
  %30 = getelementptr inbounds %"class.jet::Size2", ptr %6, i32 0, i32 1
  %31 = load i64, ptr %30, align 8, !tbaa !13
  store i64 %31, ptr %29, align 8, !tbaa !12
  %32 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 0
  store ptr %8, ptr %32, align 8, !tbaa !14
  %33 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 1
  store i64 2, ptr %33, align 8, !tbaa !16
  call void @_ZN3jet5PointIlLm2EE3setImEEvRKSt16initializer_listIT_E(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = call noundef double @_ZNK3jet3fbs30PointParallelHashGridSearcher211gridSpacingEv(ptr noundef nonnull align 1 dereferenceable(1) %34)
  %36 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 1
  store double %35, ptr %36, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher26pointsEv(ptr noundef nonnull align 1 dereferenceable(1) %37)
  store ptr %38, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 3
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = call noundef i32 @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %40)
  %42 = zext i32 %41 to i64
  call void @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %42)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !31
  br label %43

43:                                               ; preds = %58, %2
  %44 = load i32, ptr %10, align 4, !tbaa !31
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = call noundef i32 @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %45)
  %47 = icmp ult i32 %44, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %61

49:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = load i32, ptr %10, align 4, !tbaa !31
  %52 = call noundef ptr @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %50, i32 noundef %51)
  call void @_ZN3jet8fbsToJetERKNS_3fbs8Vector2DE(ptr dead_on_unwind writable sret(%"class.jet::Vector") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %52)
  %53 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 3
  %54 = load i32, ptr %10, align 4, !tbaa !31
  %55 = zext i32 %54 to i64
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %55) #4
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet6VectorIdLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  br label %58

58:                                               ; preds = %49
  %59 = load i32, ptr %10, align 4, !tbaa !31
  %60 = add i32 %59, 1
  store i32 %60, ptr %10, align 4, !tbaa !31
  br label %43, !llvm.loop !33

61:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher24keysEv(ptr noundef nonnull align 1 dereferenceable(1) %62)
  store ptr %63, ptr %12, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 4
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %65)
  %67 = zext i32 %66 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %67)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !31
  br label %68

68:                                               ; preds = %82, %61
  %69 = load i32, ptr %13, align 4, !tbaa !31
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %70)
  %72 = icmp ult i32 %69, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %85

74:                                               ; preds = %68
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = load i32, ptr %13, align 4, !tbaa !31
  %77 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %75, i32 noundef %76)
  %78 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 4
  %79 = load i32, ptr %13, align 4, !tbaa !31
  %80 = zext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %80) #4
  store i64 %77, ptr %81, align 8, !tbaa !12
  br label %82

82:                                               ; preds = %74
  %83 = load i32, ptr %13, align 4, !tbaa !31
  %84 = add i32 %83, 1
  store i32 %84, ptr %13, align 4, !tbaa !31
  br label %68, !llvm.loop !35

85:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher215startIndexTableEv(ptr noundef nonnull align 1 dereferenceable(1) %86)
  store ptr %87, ptr %14, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 5
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %89)
  %91 = zext i32 %90 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %91)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !31
  br label %92

92:                                               ; preds = %106, %85
  %93 = load i32, ptr %15, align 4, !tbaa !31
  %94 = load ptr, ptr %14, align 8, !tbaa !5
  %95 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %94)
  %96 = icmp ult i32 %93, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %109

98:                                               ; preds = %92
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load i32, ptr %15, align 4, !tbaa !31
  %101 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %99, i32 noundef %100)
  %102 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 5
  %103 = load i32, ptr %15, align 4, !tbaa !31
  %104 = zext i32 %103 to i64
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104) #4
  store i64 %101, ptr %105, align 8, !tbaa !12
  br label %106

106:                                              ; preds = %98
  %107 = load i32, ptr %15, align 4, !tbaa !31
  %108 = add i32 %107, 1
  store i32 %108, ptr %15, align 4, !tbaa !31
  br label %92, !llvm.loop !36

109:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher213endIndexTableEv(ptr noundef nonnull align 1 dereferenceable(1) %110)
  store ptr %111, ptr %16, align 8, !tbaa !5
  %112 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 6
  %113 = load ptr, ptr %16, align 8, !tbaa !5
  %114 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %113)
  %115 = zext i32 %114 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %115)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !31
  br label %116

116:                                              ; preds = %130, %109
  %117 = load i32, ptr %17, align 4, !tbaa !31
  %118 = load ptr, ptr %16, align 8, !tbaa !5
  %119 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %118)
  %120 = icmp ult i32 %117, %119
  br i1 %120, label %122, label %121

121:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %133

122:                                              ; preds = %116
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  %124 = load i32, ptr %17, align 4, !tbaa !31
  %125 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %123, i32 noundef %124)
  %126 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 6
  %127 = load i32, ptr %17, align 4, !tbaa !31
  %128 = zext i32 %127 to i64
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #4
  store i64 %125, ptr %129, align 8, !tbaa !12
  br label %130

130:                                              ; preds = %122
  %131 = load i32, ptr %17, align 4, !tbaa !31
  %132 = add i32 %131, 1
  store i32 %132, ptr %17, align 4, !tbaa !31
  br label %116, !llvm.loop !37

133:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher213sortedIndicesEv(ptr noundef nonnull align 1 dereferenceable(1) %134)
  store ptr %135, ptr %18, align 8, !tbaa !5
  %136 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 7
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %137)
  %139 = zext i32 %138 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef %139)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !31
  br label %140

140:                                              ; preds = %154, %133
  %141 = load i32, ptr %19, align 4, !tbaa !31
  %142 = load ptr, ptr %18, align 8, !tbaa !5
  %143 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %142)
  %144 = icmp ult i32 %141, %143
  br i1 %144, label %146, label %145

145:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %157

146:                                              ; preds = %140
  %147 = load ptr, ptr %18, align 8, !tbaa !5
  %148 = load i32, ptr %19, align 4, !tbaa !31
  %149 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %147, i32 noundef %148)
  %150 = getelementptr inbounds %"class.jet::PointParallelHashGridSearcher2", ptr %20, i32 0, i32 7
  %151 = load i32, ptr %19, align 4, !tbaa !31
  %152 = zext i32 %151 to i64
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %152) #4
  store i64 %149, ptr %153, align 8, !tbaa !12
  br label %154

154:                                              ; preds = %146
  %155 = load i32, ptr %19, align 4, !tbaa !31
  %156 = add i32 %155, 1
  store i32 %156, ptr %19, align 4, !tbaa !31
  br label %140, !llvm.loop !38

157:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3jet3fbs33GetPointParallelHashGridSearcher2EPKv(ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3jet8fbsToJetERKNS_3fbs5Size2E(ptr dead_on_unwind noalias writable sret(%"class.jet::Size2") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK3jet3fbs30PointParallelHashGridSearcher211gridSpacingEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3jet8fbsToJetERKNS_3fbs8Vector2DE(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE3GetEj(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #1 align 2

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

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

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

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

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

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


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

%"class.jet::Size2" = type { i64, i64 }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.jet::Vector" = type { double, double }

; 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 uwtable
declare dso_local void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3jet30PointParallelHashGridSearcher211deserializeERKSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) unnamed_addr #1 align 2 {
  %3 = alloca %"class.jet::Size2", align 16
  %4 = alloca %"class.std::initializer_list", align 8
  %5 = alloca [2 x i64], align 16
  %6 = alloca %"class.jet::Vector", align 8
  %7 = tail call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %8 = tail call noundef ptr @_ZN3jet3fbs33GetPointParallelHashGridSearcher2EPKv(ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  %9 = tail call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher210resolutionEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @_ZN3jet8fbsToJetERKNS_3fbs5Size2E(ptr dead_on_unwind nonnull writable sret(%"class.jet::Size2") align 8 %3, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  %11 = load <2 x i64>, ptr %3, align 16, !tbaa !5
  store <2 x i64> %11, ptr %5, align 16, !tbaa !5
  store ptr %5, ptr %4, align 8, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %4, i64 8
  store i64 2, ptr %12, align 8, !tbaa !12
  call void @_ZN3jet5PointIlLm2EE3setImEEvRKSt16initializer_listIT_E(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  %13 = call noundef double @_ZNK3jet3fbs30PointParallelHashGridSearcher211gridSpacingEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  store double %13, ptr %14, align 8, !tbaa !13
  %15 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher26pointsEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  %16 = getelementptr inbounds i8, ptr %0, i64 32
  %17 = call noundef i32 @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %15)
  %18 = zext i32 %17 to i64
  call void @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %18)
  %19 = call noundef i32 @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %15)
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %2
  %20 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher24keysEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  %21 = getelementptr inbounds i8, ptr %0, i64 56
  %22 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  %23 = zext i32 %22 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %23)
  %24 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  %.not64 = icmp eq i32 %24, 0
  br i1 %.not64, label %._crit_edge51, label %.lr.ph50

.lr.ph:                                           ; preds = %2, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %25 = trunc nuw i64 %indvars.iv to i32
  %26 = call noundef ptr @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %15, i32 noundef %25)
  call void @_ZN3jet8fbsToJetERKNS_3fbs8Vector2DE(ptr dead_on_unwind nonnull writable sret(%"class.jet::Vector") align 8 %6, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN3jet6VectorIdLm2EEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv) #4
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3jet6VectorIdLm2EEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = call noundef i32 @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %15)
  %30 = zext i32 %29 to i64
  %31 = icmp ult i64 %indvars.iv.next, %30
  br i1 %31, label %.lr.ph, label %._crit_edge, !llvm.loop !27

._crit_edge51:                                    ; preds = %.lr.ph50, %._crit_edge
  %32 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher215startIndexTableEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  %33 = getelementptr inbounds i8, ptr %0, i64 80
  %34 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %32)
  %35 = zext i32 %34 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35)
  %36 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %32)
  %.not65 = icmp eq i32 %36, 0
  br i1 %.not65, label %._crit_edge55, label %.lr.ph54

.lr.ph50:                                         ; preds = %._crit_edge, %.lr.ph50
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %.lr.ph50 ], [ 0, %._crit_edge ]
  %37 = trunc nuw i64 %indvars.iv69 to i32
  %38 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef %37)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv69) #4
  store i64 %38, ptr %39, align 8, !tbaa !5
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %40 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  %41 = zext i32 %40 to i64
  %42 = icmp ult i64 %indvars.iv.next70, %41
  br i1 %42, label %.lr.ph50, label %._crit_edge51, !llvm.loop !29

._crit_edge55:                                    ; preds = %.lr.ph54, %._crit_edge51
  %43 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher213endIndexTableEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  %44 = getelementptr inbounds i8, ptr %0, i64 104
  %45 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %43)
  %46 = zext i32 %45 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %46)
  %47 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %43)
  %.not66 = icmp eq i32 %47, 0
  br i1 %.not66, label %._crit_edge59, label %.lr.ph58

.lr.ph54:                                         ; preds = %._crit_edge51, %.lr.ph54
  %indvars.iv72 = phi i64 [ %indvars.iv.next73, %.lr.ph54 ], [ 0, %._crit_edge51 ]
  %48 = trunc nuw i64 %indvars.iv72 to i32
  %49 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %32, i32 noundef %48)
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %indvars.iv72) #4
  store i64 %49, ptr %50, align 8, !tbaa !5
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %51 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %32)
  %52 = zext i32 %51 to i64
  %53 = icmp ult i64 %indvars.iv.next73, %52
  br i1 %53, label %.lr.ph54, label %._crit_edge55, !llvm.loop !30

._crit_edge59:                                    ; preds = %.lr.ph58, %._crit_edge55
  %54 = call noundef ptr @_ZNK3jet3fbs30PointParallelHashGridSearcher213sortedIndicesEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  %55 = getelementptr inbounds i8, ptr %0, i64 128
  %56 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %54)
  %57 = zext i32 %56 to i64
  call void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %57)
  %58 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %54)
  %.not67 = icmp eq i32 %58, 0
  br i1 %.not67, label %._crit_edge63, label %.lr.ph62

.lr.ph58:                                         ; preds = %._crit_edge55, %.lr.ph58
  %indvars.iv75 = phi i64 [ %indvars.iv.next76, %.lr.ph58 ], [ 0, %._crit_edge55 ]
  %59 = trunc nuw i64 %indvars.iv75 to i32
  %60 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %43, i32 noundef %59)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %indvars.iv75) #4
  store i64 %60, ptr %61, align 8, !tbaa !5
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %62 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %43)
  %63 = zext i32 %62 to i64
  %64 = icmp ult i64 %indvars.iv.next76, %63
  br i1 %64, label %.lr.ph58, label %._crit_edge59, !llvm.loop !31

._crit_edge63:                                    ; preds = %.lr.ph62, %._crit_edge59
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  ret void

.lr.ph62:                                         ; preds = %._crit_edge59, %.lr.ph62
  %indvars.iv78 = phi i64 [ %indvars.iv.next79, %.lr.ph62 ], [ 0, %._crit_edge59 ]
  %65 = trunc nuw i64 %indvars.iv78 to i32
  %66 = call noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4) %54, i32 noundef %65)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %indvars.iv78) #4
  store i64 %66, ptr %67, align 8, !tbaa !5
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %68 = call noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4) %54)
  %69 = zext i32 %68 to i64
  %70 = icmp ult i64 %indvars.iv.next79, %69
  br i1 %70, label %.lr.ph62, label %._crit_edge63, !llvm.loop !32
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN3jet3fbs33GetPointParallelHashGridSearcher2EPKv(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3jet8fbsToJetERKNS_3fbs5Size2E(ptr dead_on_unwind noalias writable sret(%"class.jet::Size2") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3jet8fbsToJetERKNS_3fbs8Vector2DE(ptr dead_on_unwind noalias writable sret(%"class.jet::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK11flatbuffers6VectorIPKN3jet3fbs8Vector2DEE3GetEj(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11flatbuffers6VectorImE4sizeEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK11flatbuffers6VectorImE3GetEj(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listImE", !11, i64 0, !6, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !17, i64 8}
!14 = !{!"_ZTSN3jet30PointParallelHashGridSearcher2E", !15, i64 0, !17, i64 8, !18, i64 16, !19, i64 32, !23, i64 56, !23, i64 80, !23, i64 104, !23, i64 128}
!15 = !{!"_ZTSN3jet22PointNeighborSearcher2E", !16, i64 0}
!16 = !{!"_ZTSN3jet12SerializableE"}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTSN3jet5PointIlLm2EEE", !6, i64 0, !6, i64 8}
!19 = !{!"_ZTSSt6vectorIN3jet6VectorIdLm2EEESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3jet6VectorIdLm2EEESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!23 = !{!"_ZTSSt6vectorImSaImEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseImSaImEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = distinct !{!30, !28}
!31 = distinct !{!31, !28}
!32 = distinct !{!32, !28}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass