; LLVM IR from generalized-intelligence/GAAS :: deprecated/software/SLAM/ygz_slam_ros/Thirdparty/fast/src (nonmax_3x3)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"struct.fast::fast_xy" = type { i16, i16 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4fast15fast_nonmax_3x3ERKSt6vectorINS_7fast_xyESaIS1_EERKS0_IiSaIiEERS7_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"struct.fast::fast_xy", align 2
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #4
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  call void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %29)
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #4
  %32 = icmp ult i64 %31, 1
  br i1 %32, label %33, label %34

33:                                               ; preds = %3
  br label %504

34:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #4
  %37 = getelementptr inbounds %"struct.fast::fast_xy", ptr %36, i32 0, i32 1
  %38 = load i16, ptr %37, align 2, !tbaa !9
  %39 = sext i16 %38 to i32
  store i32 %39, ptr %7, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #4
  %40 = load i32, ptr %7, align 4, !tbaa !12
  %41 = add nsw i32 %40, 1
  %42 = sext i32 %41 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 -1, ptr %9, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %42, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %43 unwind label %51

43:                                               ; preds = %34
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 -1, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !12
  br label %44

44:                                               ; preds = %83, %43
  %45 = load i32, ptr %14, align 4, !tbaa !12
  %46 = zext i32 %45 to i64
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #4
  %49 = icmp ult i64 %46, %48
  br i1 %49, label %55, label %50

50:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %86

51:                                               ; preds = %34
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %11, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %505

55:                                               ; preds = %44
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = load i32, ptr %14, align 4, !tbaa !12
  %58 = zext i32 %57 to i64
  %59 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %58) #4
  %60 = getelementptr inbounds %"struct.fast::fast_xy", ptr %59, i32 0, i32 1
  %61 = load i16, ptr %60, align 2, !tbaa !9
  %62 = sext i16 %61 to i32
  %63 = load i32, ptr %13, align 4, !tbaa !12
  %64 = icmp ne i32 %62, %63
  br i1 %64, label %65, label %82

65:                                               ; preds = %55
  %66 = load i32, ptr %14, align 4, !tbaa !12
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = load i32, ptr %14, align 4, !tbaa !12
  %69 = zext i32 %68 to i64
  %70 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #4
  %71 = getelementptr inbounds %"struct.fast::fast_xy", ptr %70, i32 0, i32 1
  %72 = load i16, ptr %71, align 2, !tbaa !9
  %73 = sext i16 %72 to i64
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %73) #4
  store i32 %66, ptr %74, align 4, !tbaa !12
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = load i32, ptr %14, align 4, !tbaa !12
  %77 = zext i32 %76 to i64
  %78 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %77) #4
  %79 = getelementptr inbounds %"struct.fast::fast_xy", ptr %78, i32 0, i32 1
  %80 = load i16, ptr %79, align 2, !tbaa !9
  %81 = sext i16 %80 to i32
  store i32 %81, ptr %13, align 4, !tbaa !12
  br label %82

82:                                               ; preds = %65, %55
  br label %83

83:                                               ; preds = %82
  %84 = load i32, ptr %14, align 4, !tbaa !12
  %85 = add i32 %84, 1
  store i32 %85, ptr %14, align 4, !tbaa !12
  br label %44, !llvm.loop !14

86:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #4
  %89 = trunc i64 %88 to i32
  store i32 %89, ptr %17, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !12
  br label %90

90:                                               ; preds = %496, %86
  %91 = load i32, ptr %18, align 4, !tbaa !12
  %92 = load i32, ptr %17, align 4, !tbaa !12
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %503

95:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = load i32, ptr %18, align 4, !tbaa !12
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %98) #4
  %100 = load i32, ptr %99, align 4, !tbaa !12
  store i32 %100, ptr %20, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = load i32, ptr %18, align 4, !tbaa !12
  %103 = sext i32 %102 to i64
  %104 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %103) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %21, ptr align 2 %104, i64 4, i1 false), !tbaa.struct !16
  %105 = load i32, ptr %18, align 4, !tbaa !12
  %106 = icmp sgt i32 %105, 0
  br i1 %106, label %107, label %145

107:                                              ; preds = %95
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = load i32, ptr %18, align 4, !tbaa !12
  %110 = sub nsw i32 %109, 1
  %111 = sext i32 %110 to i64
  %112 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %111) #4
  %113 = getelementptr inbounds %"struct.fast::fast_xy", ptr %112, i32 0, i32 0
  %114 = load i16, ptr %113, align 2, !tbaa !18
  %115 = sext i16 %114 to i32
  %116 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %117 = load i16, ptr %116, align 2, !tbaa !18
  %118 = sext i16 %117 to i32
  %119 = sub nsw i32 %118, 1
  %120 = icmp eq i32 %115, %119
  br i1 %120, label %121, label %144

121:                                              ; preds = %107
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = load i32, ptr %18, align 4, !tbaa !12
  %124 = sub nsw i32 %123, 1
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %125) #4
  %127 = getelementptr inbounds %"struct.fast::fast_xy", ptr %126, i32 0, i32 1
  %128 = load i16, ptr %127, align 2, !tbaa !9
  %129 = sext i16 %128 to i32
  %130 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %131 = load i16, ptr %130, align 2, !tbaa !9
  %132 = sext i16 %131 to i32
  %133 = icmp eq i32 %129, %132
  br i1 %133, label %134, label %144

134:                                              ; preds = %121
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = load i32, ptr %18, align 4, !tbaa !12
  %137 = sub nsw i32 %136, 1
  %138 = sext i32 %137 to i64
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %138) #4
  %140 = load i32, ptr %139, align 4, !tbaa !12
  %141 = load i32, ptr %20, align 4, !tbaa !12
  %142 = icmp sge i32 %140, %141
  br i1 %142, label %143, label %144

143:                                              ; preds = %134
  store i32 7, ptr %19, align 4
  br label %493

144:                                              ; preds = %134, %121, %107
  br label %145

145:                                              ; preds = %144, %95
  %146 = load i32, ptr %18, align 4, !tbaa !12
  %147 = load i32, ptr %17, align 4, !tbaa !12
  %148 = sub nsw i32 %147, 1
  %149 = icmp slt i32 %146, %148
  br i1 %149, label %150, label %188

150:                                              ; preds = %145
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = load i32, ptr %18, align 4, !tbaa !12
  %153 = add nsw i32 %152, 1
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %151, i64 noundef %154) #4
  %156 = getelementptr inbounds %"struct.fast::fast_xy", ptr %155, i32 0, i32 0
  %157 = load i16, ptr %156, align 2, !tbaa !18
  %158 = sext i16 %157 to i32
  %159 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %160 = load i16, ptr %159, align 2, !tbaa !18
  %161 = sext i16 %160 to i32
  %162 = add nsw i32 %161, 1
  %163 = icmp eq i32 %158, %162
  br i1 %163, label %164, label %187

164:                                              ; preds = %150
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = load i32, ptr %18, align 4, !tbaa !12
  %167 = add nsw i32 %166, 1
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %168) #4
  %170 = getelementptr inbounds %"struct.fast::fast_xy", ptr %169, i32 0, i32 1
  %171 = load i16, ptr %170, align 2, !tbaa !9
  %172 = sext i16 %171 to i32
  %173 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %174 = load i16, ptr %173, align 2, !tbaa !9
  %175 = sext i16 %174 to i32
  %176 = icmp eq i32 %172, %175
  br i1 %176, label %177, label %187

177:                                              ; preds = %164
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  %179 = load i32, ptr %18, align 4, !tbaa !12
  %180 = add nsw i32 %179, 1
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %181) #4
  %183 = load i32, ptr %182, align 4, !tbaa !12
  %184 = load i32, ptr %20, align 4, !tbaa !12
  %185 = icmp sge i32 %183, %184
  br i1 %185, label %186, label %187

186:                                              ; preds = %177
  store i32 7, ptr %19, align 4
  br label %493

187:                                              ; preds = %177, %164, %150
  br label %188

188:                                              ; preds = %187, %145
  %189 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %190 = load i16, ptr %189, align 2, !tbaa !9
  %191 = sext i16 %190 to i32
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %331

193:                                              ; preds = %188
  %194 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %195 = load i16, ptr %194, align 2, !tbaa !9
  %196 = sext i16 %195 to i32
  %197 = sub nsw i32 %196, 1
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %198) #4
  %200 = load i32, ptr %199, align 4, !tbaa !12
  %201 = icmp ne i32 %200, -1
  br i1 %201, label %202, label %331

202:                                              ; preds = %193
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = load i32, ptr %15, align 4, !tbaa !12
  %205 = sext i32 %204 to i64
  %206 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %205) #4
  %207 = getelementptr inbounds %"struct.fast::fast_xy", ptr %206, i32 0, i32 1
  %208 = load i16, ptr %207, align 2, !tbaa !9
  %209 = sext i16 %208 to i32
  %210 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %211 = load i16, ptr %210, align 2, !tbaa !9
  %212 = sext i16 %211 to i32
  %213 = sub nsw i32 %212, 1
  %214 = icmp slt i32 %209, %213
  br i1 %214, label %215, label %223

215:                                              ; preds = %202
  %216 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %217 = load i16, ptr %216, align 2, !tbaa !9
  %218 = sext i16 %217 to i32
  %219 = sub nsw i32 %218, 1
  %220 = sext i32 %219 to i64
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %220) #4
  %222 = load i32, ptr %221, align 4, !tbaa !12
  store i32 %222, ptr %15, align 4, !tbaa !12
  br label %223

223:                                              ; preds = %215, %202
  br label %224

224:                                              ; preds = %252, %223
  %225 = load ptr, ptr %4, align 8, !tbaa !5
  %226 = load i32, ptr %15, align 4, !tbaa !12
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %225, i64 noundef %227) #4
  %229 = getelementptr inbounds %"struct.fast::fast_xy", ptr %228, i32 0, i32 1
  %230 = load i16, ptr %229, align 2, !tbaa !9
  %231 = sext i16 %230 to i32
  %232 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %233 = load i16, ptr %232, align 2, !tbaa !9
  %234 = sext i16 %233 to i32
  %235 = icmp slt i32 %231, %234
  br i1 %235, label %236, label %249

236:                                              ; preds = %224
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = load i32, ptr %15, align 4, !tbaa !12
  %239 = sext i32 %238 to i64
  %240 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %237, i64 noundef %239) #4
  %241 = getelementptr inbounds %"struct.fast::fast_xy", ptr %240, i32 0, i32 0
  %242 = load i16, ptr %241, align 2, !tbaa !18
  %243 = sext i16 %242 to i32
  %244 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %245 = load i16, ptr %244, align 2, !tbaa !18
  %246 = sext i16 %245 to i32
  %247 = sub nsw i32 %246, 1
  %248 = icmp slt i32 %243, %247
  br label %249

249:                                              ; preds = %236, %224
  %250 = phi i1 [ false, %224 ], [ %248, %236 ]
  br i1 %250, label %251, label %255

251:                                              ; preds = %249
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %15, align 4, !tbaa !12
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %15, align 4, !tbaa !12
  br label %224, !llvm.loop !19

255:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %256 = load i32, ptr %15, align 4, !tbaa !12
  store i32 %256, ptr %22, align 4, !tbaa !12
  br label %257

257:                                              ; preds = %325, %255
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = load i32, ptr %22, align 4, !tbaa !12
  %260 = sext i32 %259 to i64
  %261 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %258, i64 noundef %260) #4
  %262 = getelementptr inbounds %"struct.fast::fast_xy", ptr %261, i32 0, i32 1
  %263 = load i16, ptr %262, align 2, !tbaa !9
  %264 = sext i16 %263 to i32
  %265 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %266 = load i16, ptr %265, align 2, !tbaa !9
  %267 = sext i16 %266 to i32
  %268 = icmp slt i32 %264, %267
  br i1 %268, label %269, label %282

269:                                              ; preds = %257
  %270 = load ptr, ptr %4, align 8, !tbaa !5
  %271 = load i32, ptr %22, align 4, !tbaa !12
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %270, i64 noundef %272) #4
  %274 = getelementptr inbounds %"struct.fast::fast_xy", ptr %273, i32 0, i32 0
  %275 = load i16, ptr %274, align 2, !tbaa !18
  %276 = sext i16 %275 to i32
  %277 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %278 = load i16, ptr %277, align 2, !tbaa !18
  %279 = sext i16 %278 to i32
  %280 = add nsw i32 %279, 1
  %281 = icmp sle i32 %276, %280
  br label %282

282:                                              ; preds = %269, %257
  %283 = phi i1 [ false, %257 ], [ %281, %269 ]
  br i1 %283, label %285, label %284

284:                                              ; preds = %282
  store i32 11, ptr %19, align 4
  br label %328

285:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %286 = load ptr, ptr %4, align 8, !tbaa !5
  %287 = load i32, ptr %22, align 4, !tbaa !12
  %288 = sext i32 %287 to i64
  %289 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %286, i64 noundef %288) #4
  %290 = getelementptr inbounds %"struct.fast::fast_xy", ptr %289, i32 0, i32 0
  %291 = load i16, ptr %290, align 2, !tbaa !18
  %292 = sext i16 %291 to i32
  store i32 %292, ptr %23, align 4, !tbaa !12
  %293 = load i32, ptr %23, align 4, !tbaa !12
  %294 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %295 = load i16, ptr %294, align 2, !tbaa !18
  %296 = sext i16 %295 to i32
  %297 = sub nsw i32 %296, 1
  %298 = icmp eq i32 %293, %297
  br i1 %298, label %312, label %299

299:                                              ; preds = %285
  %300 = load i32, ptr %23, align 4, !tbaa !12
  %301 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %302 = load i16, ptr %301, align 2, !tbaa !18
  %303 = sext i16 %302 to i32
  %304 = icmp eq i32 %300, %303
  br i1 %304, label %312, label %305

305:                                              ; preds = %299
  %306 = load i32, ptr %23, align 4, !tbaa !12
  %307 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %308 = load i16, ptr %307, align 2, !tbaa !18
  %309 = sext i16 %308 to i32
  %310 = add nsw i32 %309, 1
  %311 = icmp eq i32 %306, %310
  br i1 %311, label %312, label %321

312:                                              ; preds = %305, %299, %285
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = load i32, ptr %22, align 4, !tbaa !12
  %315 = sext i32 %314 to i64
  %316 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %313, i64 noundef %315) #4
  %317 = load i32, ptr %316, align 4, !tbaa !12
  %318 = load i32, ptr %20, align 4, !tbaa !12
  %319 = icmp sge i32 %317, %318
  br i1 %319, label %320, label %321

320:                                              ; preds = %312
  store i32 14, ptr %19, align 4
  br label %322

321:                                              ; preds = %312, %305
  store i32 0, ptr %19, align 4
  br label %322

322:                                              ; preds = %321, %320
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  %323 = load i32, ptr %19, align 4
  switch i32 %323, label %328 [
    i32 0, label %324
  ]

324:                                              ; preds = %322
  br label %325

325:                                              ; preds = %324
  %326 = load i32, ptr %22, align 4, !tbaa !12
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %22, align 4, !tbaa !12
  br label %257, !llvm.loop !20

328:                                              ; preds = %322, %284
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  %329 = load i32, ptr %19, align 4
  switch i32 %329, label %493 [
    i32 11, label %330
    i32 14, label %492
  ]

330:                                              ; preds = %328
  br label %331

331:                                              ; preds = %330, %193, %188
  %332 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %333 = load i16, ptr %332, align 2, !tbaa !9
  %334 = sext i16 %333 to i32
  %335 = load i32, ptr %7, align 4, !tbaa !12
  %336 = icmp ne i32 %334, %335
  br i1 %336, label %337, label %489

337:                                              ; preds = %331
  %338 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %339 = load i16, ptr %338, align 2, !tbaa !9
  %340 = sext i16 %339 to i32
  %341 = add nsw i32 %340, 1
  %342 = sext i32 %341 to i64
  %343 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %342) #4
  %344 = load i32, ptr %343, align 4, !tbaa !12
  %345 = icmp ne i32 %344, -1
  br i1 %345, label %346, label %489

346:                                              ; preds = %337
  %347 = load i32, ptr %16, align 4, !tbaa !12
  %348 = load i32, ptr %17, align 4, !tbaa !12
  %349 = icmp slt i32 %347, %348
  br i1 %349, label %350, label %489

350:                                              ; preds = %346
  %351 = load ptr, ptr %4, align 8, !tbaa !5
  %352 = load i32, ptr %16, align 4, !tbaa !12
  %353 = sext i32 %352 to i64
  %354 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %351, i64 noundef %353) #4
  %355 = getelementptr inbounds %"struct.fast::fast_xy", ptr %354, i32 0, i32 1
  %356 = load i16, ptr %355, align 2, !tbaa !9
  %357 = sext i16 %356 to i32
  %358 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %359 = load i16, ptr %358, align 2, !tbaa !9
  %360 = sext i16 %359 to i32
  %361 = add nsw i32 %360, 1
  %362 = icmp slt i32 %357, %361
  br i1 %362, label %363, label %371

363:                                              ; preds = %350
  %364 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %365 = load i16, ptr %364, align 2, !tbaa !9
  %366 = sext i16 %365 to i32
  %367 = add nsw i32 %366, 1
  %368 = sext i32 %367 to i64
  %369 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %368) #4
  %370 = load i32, ptr %369, align 4, !tbaa !12
  store i32 %370, ptr %16, align 4, !tbaa !12
  br label %371

371:                                              ; preds = %363, %350
  br label %372

372:                                              ; preds = %405, %371
  %373 = load i32, ptr %16, align 4, !tbaa !12
  %374 = load i32, ptr %17, align 4, !tbaa !12
  %375 = icmp slt i32 %373, %374
  br i1 %375, label %376, label %402

376:                                              ; preds = %372
  %377 = load ptr, ptr %4, align 8, !tbaa !5
  %378 = load i32, ptr %16, align 4, !tbaa !12
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %377, i64 noundef %379) #4
  %381 = getelementptr inbounds %"struct.fast::fast_xy", ptr %380, i32 0, i32 1
  %382 = load i16, ptr %381, align 2, !tbaa !9
  %383 = sext i16 %382 to i32
  %384 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %385 = load i16, ptr %384, align 2, !tbaa !9
  %386 = sext i16 %385 to i32
  %387 = add nsw i32 %386, 1
  %388 = icmp eq i32 %383, %387
  br i1 %388, label %389, label %402

389:                                              ; preds = %376
  %390 = load ptr, ptr %4, align 8, !tbaa !5
  %391 = load i32, ptr %16, align 4, !tbaa !12
  %392 = sext i32 %391 to i64
  %393 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %390, i64 noundef %392) #4
  %394 = getelementptr inbounds %"struct.fast::fast_xy", ptr %393, i32 0, i32 0
  %395 = load i16, ptr %394, align 2, !tbaa !18
  %396 = sext i16 %395 to i32
  %397 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %398 = load i16, ptr %397, align 2, !tbaa !18
  %399 = sext i16 %398 to i32
  %400 = sub nsw i32 %399, 1
  %401 = icmp slt i32 %396, %400
  br label %402

402:                                              ; preds = %389, %376, %372
  %403 = phi i1 [ false, %376 ], [ false, %372 ], [ %401, %389 ]
  br i1 %403, label %404, label %408

404:                                              ; preds = %402
  br label %405

405:                                              ; preds = %404
  %406 = load i32, ptr %16, align 4, !tbaa !12
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr %16, align 4, !tbaa !12
  br label %372, !llvm.loop !21

408:                                              ; preds = %402
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %409 = load i32, ptr %16, align 4, !tbaa !12
  store i32 %409, ptr %24, align 4, !tbaa !12
  br label %410

410:                                              ; preds = %483, %408
  %411 = load i32, ptr %24, align 4, !tbaa !12
  %412 = load i32, ptr %17, align 4, !tbaa !12
  %413 = icmp slt i32 %411, %412
  br i1 %413, label %414, label %440

414:                                              ; preds = %410
  %415 = load ptr, ptr %4, align 8, !tbaa !5
  %416 = load i32, ptr %24, align 4, !tbaa !12
  %417 = sext i32 %416 to i64
  %418 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %415, i64 noundef %417) #4
  %419 = getelementptr inbounds %"struct.fast::fast_xy", ptr %418, i32 0, i32 1
  %420 = load i16, ptr %419, align 2, !tbaa !9
  %421 = sext i16 %420 to i32
  %422 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 1
  %423 = load i16, ptr %422, align 2, !tbaa !9
  %424 = sext i16 %423 to i32
  %425 = add nsw i32 %424, 1
  %426 = icmp eq i32 %421, %425
  br i1 %426, label %427, label %440

427:                                              ; preds = %414
  %428 = load ptr, ptr %4, align 8, !tbaa !5
  %429 = load i32, ptr %24, align 4, !tbaa !12
  %430 = sext i32 %429 to i64
  %431 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %428, i64 noundef %430) #4
  %432 = getelementptr inbounds %"struct.fast::fast_xy", ptr %431, i32 0, i32 0
  %433 = load i16, ptr %432, align 2, !tbaa !18
  %434 = sext i16 %433 to i32
  %435 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %436 = load i16, ptr %435, align 2, !tbaa !18
  %437 = sext i16 %436 to i32
  %438 = add nsw i32 %437, 1
  %439 = icmp sle i32 %434, %438
  br label %440

440:                                              ; preds = %427, %414, %410
  %441 = phi i1 [ false, %414 ], [ false, %410 ], [ %439, %427 ]
  br i1 %441, label %443, label %442

442:                                              ; preds = %440
  store i32 18, ptr %19, align 4
  br label %486

443:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %444 = load ptr, ptr %4, align 8, !tbaa !5
  %445 = load i32, ptr %24, align 4, !tbaa !12
  %446 = sext i32 %445 to i64
  %447 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %444, i64 noundef %446) #4
  %448 = getelementptr inbounds %"struct.fast::fast_xy", ptr %447, i32 0, i32 0
  %449 = load i16, ptr %448, align 2, !tbaa !18
  %450 = sext i16 %449 to i32
  store i32 %450, ptr %25, align 4, !tbaa !12
  %451 = load i32, ptr %25, align 4, !tbaa !12
  %452 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %453 = load i16, ptr %452, align 2, !tbaa !18
  %454 = sext i16 %453 to i32
  %455 = sub nsw i32 %454, 1
  %456 = icmp eq i32 %451, %455
  br i1 %456, label %470, label %457

457:                                              ; preds = %443
  %458 = load i32, ptr %25, align 4, !tbaa !12
  %459 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %460 = load i16, ptr %459, align 2, !tbaa !18
  %461 = sext i16 %460 to i32
  %462 = icmp eq i32 %458, %461
  br i1 %462, label %470, label %463

463:                                              ; preds = %457
  %464 = load i32, ptr %25, align 4, !tbaa !12
  %465 = getelementptr inbounds %"struct.fast::fast_xy", ptr %21, i32 0, i32 0
  %466 = load i16, ptr %465, align 2, !tbaa !18
  %467 = sext i16 %466 to i32
  %468 = add nsw i32 %467, 1
  %469 = icmp eq i32 %464, %468
  br i1 %469, label %470, label %479

470:                                              ; preds = %463, %457, %443
  %471 = load ptr, ptr %5, align 8, !tbaa !5
  %472 = load i32, ptr %24, align 4, !tbaa !12
  %473 = sext i32 %472 to i64
  %474 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %471, i64 noundef %473) #4
  %475 = load i32, ptr %474, align 4, !tbaa !12
  %476 = load i32, ptr %20, align 4, !tbaa !12
  %477 = icmp sge i32 %475, %476
  br i1 %477, label %478, label %479

478:                                              ; preds = %470
  store i32 14, ptr %19, align 4
  br label %480

479:                                              ; preds = %470, %463
  store i32 0, ptr %19, align 4
  br label %480

480:                                              ; preds = %479, %478
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  %481 = load i32, ptr %19, align 4
  switch i32 %481, label %486 [
    i32 0, label %482
  ]

482:                                              ; preds = %480
  br label %483

483:                                              ; preds = %482
  %484 = load i32, ptr %24, align 4, !tbaa !12
  %485 = add nsw i32 %484, 1
  store i32 %485, ptr %24, align 4, !tbaa !12
  br label %410, !llvm.loop !22

486:                                              ; preds = %480, %442
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  %487 = load i32, ptr %19, align 4
  switch i32 %487, label %493 [
    i32 18, label %488
    i32 14, label %492
  ]

488:                                              ; preds = %486
  br label %489

489:                                              ; preds = %488, %346, %337, %331
  %490 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %490, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %491 unwind label %499

491:                                              ; preds = %489
  br label %492

492:                                              ; preds = %491, %486, %328
  store i32 0, ptr %19, align 4
  br label %493

493:                                              ; preds = %492, %486, %328, %186, %143
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  %494 = load i32, ptr %19, align 4
  switch i32 %494, label %511 [
    i32 0, label %495
    i32 7, label %496
  ]

495:                                              ; preds = %493
  br label %496

496:                                              ; preds = %495, %493
  %497 = load i32, ptr %18, align 4, !tbaa !12
  %498 = add nsw i32 %497, 1
  store i32 %498, ptr %18, align 4, !tbaa !12
  br label %90, !llvm.loop !23

499:                                              ; preds = %489
  %500 = landingpad { ptr, i32 }
          cleanup
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %11, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %505

503:                                              ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %504

504:                                              ; preds = %503, %33
  ret void

505:                                              ; preds = %499, %51
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %506

506:                                              ; preds = %505
  %507 = load ptr, ptr %11, align 8
  %508 = load i32, ptr %12, align 4
  %509 = insertvalue { ptr, i32 } poison, ptr %507, 0
  %510 = insertvalue { ptr, i32 } %509, i32 %508, 1
  resume { ptr, i32 } %510

511:                                              ; preds = %493
  unreachable
}

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; 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) #3

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

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

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

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 2}
!10 = !{!"_ZTSN4fast7fast_xyE", !11, i64 0, !11, i64 2}
!11 = !{!"short", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{i64 0, i64 2, !17, i64 2, i64 2, !17}
!17 = !{!11, !11, i64 0}
!18 = !{!10, !11, i64 0}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4fast15fast_nonmax_3x3ERKSt6vectorINS_7fast_xyESaIS1_EERKS0_IiSaIiEERS7_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca i32, align 4
  tail call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %8 = tail call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  tail call void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %8)
  %9 = tail call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %10 = icmp eq i64 %9, 0
  br i1 %10, label %225, label %11

11:                                               ; preds = %3
  %12 = tail call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %13 = getelementptr inbounds i8, ptr %12, i64 2
  %14 = load i16, ptr %13, align 2, !tbaa !5
  %15 = sext i16 %14 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
  %16 = add nsw i64 %15, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  store i32 -1, ptr %5, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %16, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %17 unwind label %24

17:                                               ; preds = %11
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  %18 = call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %.not201 = icmp eq i64 %18, 0
  br i1 %.not201, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %41, %17
  %19 = call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %20 = trunc i64 %19 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  store i32 0, ptr %7, align 4, !tbaa !10
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph199, label %._crit_edge200

.lr.ph199:                                        ; preds = %._crit_edge
  %22 = add nsw i32 %20, -1
  %23 = and i64 %19, 2147483647
  br label %46

24:                                               ; preds = %11
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  br label %226

.lr.ph:                                           ; preds = %17, %41
  %26 = phi i64 [ %43, %41 ], [ 0, %17 ]
  %.0119173 = phi i32 [ %.1, %41 ], [ -1, %17 ]
  %.0120172 = phi i32 [ %42, %41 ], [ 0, %17 ]
  %27 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %26) #3
  %28 = getelementptr inbounds i8, ptr %27, i64 2
  %29 = load i16, ptr %28, align 2, !tbaa !5
  %30 = sext i16 %29 to i32
  %.not155 = icmp eq i32 %.0119173, %30
  br i1 %.not155, label %41, label %31

31:                                               ; preds = %.lr.ph
  %32 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %26) #3
  %33 = getelementptr inbounds i8, ptr %32, i64 2
  %34 = load i16, ptr %33, align 2, !tbaa !5
  %35 = sext i16 %34 to i64
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %35) #3
  store i32 %.0120172, ptr %36, align 4, !tbaa !10
  %37 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %26) #3
  %38 = getelementptr inbounds i8, ptr %37, i64 2
  %39 = load i16, ptr %38, align 2, !tbaa !5
  %40 = sext i16 %39 to i32
  br label %41

41:                                               ; preds = %.lr.ph, %31
  %.1 = phi i32 [ %40, %31 ], [ %.0119173, %.lr.ph ]
  %42 = add i32 %.0120172, 1
  %43 = zext i32 %42 to i64
  %44 = call noundef i64 @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  %45 = icmp ugt i64 %44, %43
  br i1 %45, label %.lr.ph, label %._crit_edge, !llvm.loop !12

._crit_edge200:                                   ; preds = %.critedge3, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
  br label %225

46:                                               ; preds = %.lr.ph199, %.critedge3
  %.0121197 = phi i32 [ 0, %.lr.ph199 ], [ %.5, %.critedge3 ]
  %.0127195 = phi i32 [ 0, %.lr.ph199 ], [ %.5132, %.critedge3 ]
  %storemerge194 = phi i32 [ 0, %.lr.ph199 ], [ %221, %.critedge3 ]
  %47 = sext i32 %storemerge194 to i64
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %47) #3
  %49 = load i32, ptr %48, align 4, !tbaa !10
  %50 = load i32, ptr %7, align 4, !tbaa !10
  %51 = sext i32 %50 to i64
  %52 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %51) #3
  %.sroa.0.0.copyload = load i16, ptr %52, align 2, !tbaa !14
  %.sroa.16.0..sroa_idx = getelementptr inbounds i8, ptr %52, i64 2
  %.sroa.16.0.copyload = load i16, ptr %.sroa.16.0..sroa_idx, align 2, !tbaa !14
  %53 = load i32, ptr %7, align 4, !tbaa !10
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %55, label %76

55:                                               ; preds = %46
  %56 = add nsw i32 %53, -1
  %57 = zext nneg i32 %56 to i64
  %58 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %57) #3
  %59 = load i16, ptr %58, align 2, !tbaa !15
  %60 = sext i16 %59 to i32
  %61 = sext i16 %.sroa.0.0.copyload to i32
  %62 = add nsw i32 %61, -1
  %63 = icmp eq i32 %62, %60
  %.pre218 = load i32, ptr %7, align 4, !tbaa !10
  br i1 %63, label %64, label %76

64:                                               ; preds = %55
  %65 = add nsw i32 %.pre218, -1
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %66) #3
  %68 = getelementptr inbounds i8, ptr %67, i64 2
  %69 = load i16, ptr %68, align 2, !tbaa !5
  %70 = icmp eq i16 %69, %.sroa.16.0.copyload
  %.pre219 = load i32, ptr %7, align 4, !tbaa !10
  br i1 %70, label %71, label %76

71:                                               ; preds = %64
  %72 = add nsw i32 %.pre219, -1
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %73) #3
  %75 = load i32, ptr %74, align 4, !tbaa !10
  %.not = icmp slt i32 %75, %49
  br i1 %.not, label %._crit_edge217, label %.critedge3

._crit_edge217:                                   ; preds = %71
  %.pre = load i32, ptr %7, align 4, !tbaa !10
  br label %76

76:                                               ; preds = %._crit_edge217, %55, %64, %46
  %77 = phi i32 [ %.pre, %._crit_edge217 ], [ %.pre218, %55 ], [ %.pre219, %64 ], [ %53, %46 ]
  %78 = icmp slt i32 %77, %22
  br i1 %78, label %79, label %102

79:                                               ; preds = %76
  %80 = add nsw i32 %77, 1
  %81 = sext i32 %80 to i64
  %82 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %81) #3
  %83 = load i16, ptr %82, align 2, !tbaa !15
  %84 = sext i16 %83 to i32
  %85 = sext i16 %.sroa.0.0.copyload to i32
  %86 = add nsw i32 %85, 1
  %87 = icmp eq i32 %86, %84
  br i1 %87, label %88, label %102

88:                                               ; preds = %79
  %89 = load i32, ptr %7, align 4, !tbaa !10
  %90 = add nsw i32 %89, 1
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %91) #3
  %93 = getelementptr inbounds i8, ptr %92, i64 2
  %94 = load i16, ptr %93, align 2, !tbaa !5
  %95 = icmp eq i16 %94, %.sroa.16.0.copyload
  br i1 %95, label %96, label %102

96:                                               ; preds = %88
  %97 = load i32, ptr %7, align 4, !tbaa !10
  %98 = add nsw i32 %97, 1
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %99) #3
  %101 = load i32, ptr %100, align 4, !tbaa !10
  %.not144 = icmp slt i32 %101, %49
  br i1 %.not144, label %102, label %.critedge3

102:                                              ; preds = %79, %88, %96, %76
  %103 = sext i16 %.sroa.16.0.copyload to i32
  %.not145 = icmp eq i16 %.sroa.16.0.copyload, 0
  br i1 %.not145, label %.critedge3.thread, label %104

104:                                              ; preds = %102
  %105 = add nsw i32 %103, -1
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %106) #3
  %108 = load i32, ptr %107, align 4, !tbaa !10
  %.not146 = icmp eq i32 %108, -1
  br i1 %.not146, label %.critedge3.thread, label %109

109:                                              ; preds = %104
  %110 = sext i32 %.0121197 to i64
  %111 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %110) #3
  %112 = getelementptr inbounds i8, ptr %111, i64 2
  %113 = load i16, ptr %112, align 2, !tbaa !5
  %114 = sext i16 %113 to i32
  %115 = icmp sgt i32 %105, %114
  br i1 %115, label %116, label %119

116:                                              ; preds = %109
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %106) #3
  %118 = load i32, ptr %117, align 4, !tbaa !10
  %.pre220 = sext i32 %118 to i64
  br label %119

119:                                              ; preds = %116, %109
  %.pre-phi = phi i64 [ %.pre220, %116 ], [ %110, %109 ]
  %.1122 = phi i32 [ %118, %116 ], [ %.0121197, %109 ]
  %120 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.pre-phi) #3
  %121 = getelementptr inbounds i8, ptr %120, i64 2
  %122 = load i16, ptr %121, align 2, !tbaa !5
  %123 = icmp slt i16 %122, %.sroa.16.0.copyload
  br i1 %123, label %.lr.ph176, label %.critedge

.lr.ph176:                                        ; preds = %119
  %124 = sext i16 %.sroa.0.0.copyload to i32
  %125 = add nsw i32 %124, -1
  br label %126

126:                                              ; preds = %.lr.ph176, %131
  %indvars.iv = phi i64 [ %.pre-phi, %.lr.ph176 ], [ %indvars.iv.next, %131 ]
  %127 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #3
  %128 = load i16, ptr %127, align 2, !tbaa !15
  %129 = sext i16 %128 to i32
  %130 = icmp sgt i32 %125, %129
  br i1 %130, label %131, label %.critedge.loopexit

131:                                              ; preds = %126
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %132 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv.next) #3
  %133 = getelementptr inbounds i8, ptr %132, i64 2
  %134 = load i16, ptr %133, align 2, !tbaa !5
  %135 = icmp slt i16 %134, %.sroa.16.0.copyload
  br i1 %135, label %126, label %.critedge.loopexit, !llvm.loop !16

.critedge.loopexit:                               ; preds = %131, %126
  %.2.lcssa.ph.in = phi i64 [ %indvars.iv, %126 ], [ %indvars.iv.next, %131 ]
  %.2.lcssa.ph = trunc i64 %.2.lcssa.ph.in to i32
  %sext = shl i64 %.2.lcssa.ph.in, 32
  %.pre221 = ashr exact i64 %sext, 32
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %119
  %.pre-phi222 = phi i64 [ %.pre221, %.critedge.loopexit ], [ %.pre-phi, %119 ]
  %.2.lcssa = phi i32 [ %.2.lcssa.ph, %.critedge.loopexit ], [ %.1122, %119 ]
  %136 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.pre-phi222) #3
  %137 = getelementptr inbounds i8, ptr %136, i64 2
  %138 = load i16, ptr %137, align 2, !tbaa !5
  %139 = icmp slt i16 %138, %.sroa.16.0.copyload
  br i1 %139, label %.lr.ph180, label %.critedge3.thread

.lr.ph180:                                        ; preds = %.critedge
  %140 = sext i16 %.sroa.0.0.copyload to i32
  %141 = add nsw i32 %140, 1
  %142 = add nsw i32 %140, -1
  br label %143

143:                                              ; preds = %.lr.ph180, %157
  %indvars.iv204 = phi i64 [ %.pre-phi222, %.lr.ph180 ], [ %indvars.iv.next205, %157 ]
  %144 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv204) #3
  %145 = load i16, ptr %144, align 2, !tbaa !15
  %146 = sext i16 %145 to i32
  %.not147 = icmp slt i32 %141, %146
  br i1 %.not147, label %.critedge3.thread, label %147

147:                                              ; preds = %143
  %148 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv204) #3
  %149 = load i16, ptr %148, align 2, !tbaa !15
  %150 = sext i16 %149 to i32
  %151 = icmp eq i32 %142, %150
  %152 = icmp eq i16 %149, %.sroa.0.0.copyload
  %or.cond = select i1 %151, i1 true, i1 %152
  %153 = icmp eq i32 %141, %150
  %or.cond156 = or i1 %153, %or.cond
  br i1 %or.cond156, label %154, label %157

154:                                              ; preds = %147
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv204) #3
  %156 = load i32, ptr %155, align 4, !tbaa !10
  %.not148 = icmp slt i32 %156, %49
  br i1 %.not148, label %157, label %.critedge3

157:                                              ; preds = %154, %147
  %indvars.iv.next205 = add nsw i64 %indvars.iv204, 1
  %158 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv.next205) #3
  %159 = getelementptr inbounds i8, ptr %158, i64 2
  %160 = load i16, ptr %159, align 2, !tbaa !5
  %161 = icmp slt i16 %160, %.sroa.16.0.copyload
  br i1 %161, label %143, label %.critedge3.thread, !llvm.loop !17

.critedge3.thread:                                ; preds = %157, %143, %.critedge, %104, %102
  %.3 = phi i32 [ %.0121197, %104 ], [ %.0121197, %102 ], [ %.2.lcssa, %.critedge ], [ %.2.lcssa, %143 ], [ %.2.lcssa, %157 ]
  %.not149 = icmp eq i16 %.sroa.16.0.copyload, %14
  br i1 %.not149, label %.critedge7.thread, label %162

162:                                              ; preds = %.critedge3.thread
  %163 = add nsw i32 %103, 1
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %164) #3
  %166 = load i32, ptr %165, align 4, !tbaa !10
  %.not150 = icmp ne i32 %166, -1
  %167 = icmp slt i32 %.0127195, %20
  %or.cond157 = select i1 %.not150, i1 %167, i1 false
  br i1 %or.cond157, label %168, label %.critedge7.thread

168:                                              ; preds = %162
  %169 = sext i32 %.0127195 to i64
  %170 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %169) #3
  %171 = getelementptr inbounds i8, ptr %170, i64 2
  %172 = load i16, ptr %171, align 2, !tbaa !5
  %.not151 = icmp slt i16 %.sroa.16.0.copyload, %172
  br i1 %.not151, label %176, label %173

173:                                              ; preds = %168
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %164) #3
  %175 = load i32, ptr %174, align 4, !tbaa !10
  br label %176

176:                                              ; preds = %173, %168
  %.1128 = phi i32 [ %175, %173 ], [ %.0127195, %168 ]
  %177 = icmp slt i32 %.1128, %20
  br i1 %177, label %.lr.ph184, label %.critedge5

.lr.ph184:                                        ; preds = %176
  %178 = sext i16 %.sroa.0.0.copyload to i32
  %179 = add nsw i32 %178, -1
  %180 = sext i32 %.1128 to i64
  br label %181

181:                                              ; preds = %.lr.ph184, %192
  %indvars.iv208 = phi i64 [ %180, %.lr.ph184 ], [ %indvars.iv.next209, %192 ]
  %182 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv208) #3
  %183 = getelementptr inbounds i8, ptr %182, i64 2
  %184 = load i16, ptr %183, align 2, !tbaa !5
  %185 = sext i16 %184 to i32
  %186 = icmp eq i32 %163, %185
  br i1 %186, label %187, label %.critedge5.loopexit

187:                                              ; preds = %181
  %188 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv208) #3
  %189 = load i16, ptr %188, align 2, !tbaa !15
  %190 = sext i16 %189 to i32
  %191 = icmp sgt i32 %179, %190
  br i1 %191, label %192, label %.critedge5.loopexit

192:                                              ; preds = %187
  %indvars.iv.next209 = add nsw i64 %indvars.iv208, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next209, %23
  br i1 %exitcond.not, label %.critedge7.thread, label %181, !llvm.loop !18

.critedge5.loopexit:                              ; preds = %181, %187
  %193 = trunc nsw i64 %indvars.iv208 to i32
  br label %.critedge5

.critedge5:                                       ; preds = %.critedge5.loopexit, %176
  %.2129.lcssa = phi i32 [ %.1128, %176 ], [ %193, %.critedge5.loopexit ]
  %194 = icmp slt i32 %.2129.lcssa, %20
  br i1 %194, label %.lr.ph191, label %.critedge7.thread

.lr.ph191:                                        ; preds = %.critedge5
  %195 = sext i16 %.sroa.0.0.copyload to i32
  %196 = add nsw i32 %195, 1
  %197 = add nsw i32 %195, -1
  %198 = sext i32 %.2129.lcssa to i64
  br label %199

199:                                              ; preds = %.lr.ph191, %219
  %indvars.iv212 = phi i64 [ %198, %.lr.ph191 ], [ %indvars.iv.next213, %219 ]
  %200 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv212) #3
  %201 = getelementptr inbounds i8, ptr %200, i64 2
  %202 = load i16, ptr %201, align 2, !tbaa !5
  %203 = sext i16 %202 to i32
  %204 = icmp eq i32 %163, %203
  br i1 %204, label %205, label %.critedge7.thread

205:                                              ; preds = %199
  %206 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv212) #3
  %207 = load i16, ptr %206, align 2, !tbaa !15
  %208 = sext i16 %207 to i32
  %.not152 = icmp slt i32 %196, %208
  br i1 %.not152, label %.critedge7.thread, label %209

209:                                              ; preds = %205
  %210 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv212) #3
  %211 = load i16, ptr %210, align 2, !tbaa !15
  %212 = sext i16 %211 to i32
  %213 = icmp eq i32 %197, %212
  %214 = icmp eq i16 %211, %.sroa.0.0.copyload
  %or.cond158 = select i1 %213, i1 true, i1 %214
  %215 = icmp eq i32 %196, %212
  %or.cond159 = or i1 %215, %or.cond158
  br i1 %or.cond159, label %216, label %219

216:                                              ; preds = %209
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv212) #3
  %218 = load i32, ptr %217, align 4, !tbaa !10
  %.not153 = icmp slt i32 %218, %49
  br i1 %.not153, label %219, label %.critedge3

219:                                              ; preds = %216, %209
  %indvars.iv.next213 = add nsw i64 %indvars.iv212, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next213 to i32
  %exitcond216.not = icmp eq i32 %lftr.wideiv, %20
  br i1 %exitcond216.not, label %.critedge7.thread, label %199, !llvm.loop !19

.critedge7.thread:                                ; preds = %192, %199, %219, %205, %.critedge5, %162, %.critedge3.thread
  %.3130 = phi i32 [ %.0127195, %162 ], [ %.0127195, %.critedge3.thread ], [ %.2129.lcssa, %.critedge5 ], [ %.2129.lcssa, %205 ], [ %.2129.lcssa, %219 ], [ %.2129.lcssa, %199 ], [ %20, %192 ]
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %.critedge3 unwind label %223

.critedge3:                                       ; preds = %154, %216, %.critedge7.thread, %96, %71
  %.5132 = phi i32 [ %.0127195, %71 ], [ %.0127195, %96 ], [ %.3130, %.critedge7.thread ], [ %.2129.lcssa, %216 ], [ %.0127195, %154 ]
  %.5 = phi i32 [ %.0121197, %71 ], [ %.0121197, %96 ], [ %.3, %.critedge7.thread ], [ %.3, %216 ], [ %.2.lcssa, %154 ]
  %220 = load i32, ptr %7, align 4, !tbaa !10
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %7, align 4, !tbaa !10
  %222 = icmp slt i32 %221, %20
  br i1 %222, label %46, label %._crit_edge200, !llvm.loop !20

223:                                              ; preds = %.critedge7.thread
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  br label %226

225:                                              ; preds = %3, %._crit_edge200
  ret void

226:                                              ; preds = %223, %24
  %.pn = phi { ptr, i32 } [ %224, %223 ], [ %25, %24 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 2 dereferenceable(4) ptr @_ZNKSt6vectorIN4fast7fast_xyESaIS1_EEixEm(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 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(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 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

attributes #0 = { 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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, !7, i64 2}
!6 = !{!"_ZTSN4fast7fast_xyE", !7, i64 0, !7, i64 2}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}


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