; LLVM IR from jdeokkim/ferox :: src (broad_phase)

; 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"

%struct.frAABB_ = type { float, float, float, float }
%struct.frVector2i_ = type { i32, i32 }
%struct.frSpatialHashEntry_ = type { %struct.frVector2i_, %struct.anon.0 }
%struct.anon.0 = type { ptr, i64, i64 }
%struct.frSpatialHash_ = type { ptr, float, float, %struct.anon, ptr }
%struct.anon = type { ptr, i64, i64 }
%struct.stbds_array_header = type { i64, i64, ptr, i64 }

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @frInsertIntoSpatialHash(ptr noundef %0, <2 x float> %1, <2 x float> %2, i32 noundef %3) #2 {
  %5 = alloca %struct.frAABB_, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %struct.frVector2i_, align 4
  %17 = alloca ptr, align 8
  %18 = alloca [1 x %struct.frVector2i_], align 4
  %19 = alloca ptr, align 8
  %20 = alloca %struct.frSpatialHashEntry_, align 8
  %21 = alloca ptr, align 8
  %22 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  store <2 x float> %1, ptr %22, align 4
  %23 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  store <2 x float> %2, ptr %23, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %3, ptr %7, align 4, !tbaa !9
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = icmp eq ptr %24, null
  br i1 %25, label %26, label %27

26:                                               ; preds = %4
  br label %341

27:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.frSpatialHash_, ptr %28, i32 0, i32 2
  %30 = load float, ptr %29, align 4, !tbaa !11
  store float %30, ptr %8, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %31 = getelementptr inbounds %struct.frAABB_, ptr %5, i32 0, i32 0
  %32 = load float, ptr %31, align 4, !tbaa !17
  %33 = load float, ptr %8, align 4, !tbaa !16
  %34 = fmul float %32, %33
  %35 = fptosi float %34 to i32
  store i32 %35, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %36 = getelementptr inbounds %struct.frAABB_, ptr %5, i32 0, i32 1
  %37 = load float, ptr %36, align 4, !tbaa !19
  %38 = load float, ptr %8, align 4, !tbaa !16
  %39 = fmul float %37, %38
  %40 = fptosi float %39 to i32
  store i32 %40, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %41 = getelementptr inbounds %struct.frAABB_, ptr %5, i32 0, i32 0
  %42 = load float, ptr %41, align 4, !tbaa !17
  %43 = getelementptr inbounds %struct.frAABB_, ptr %5, i32 0, i32 2
  %44 = load float, ptr %43, align 4, !tbaa !20
  %45 = fadd float %42, %44
  %46 = load float, ptr %8, align 4, !tbaa !16
  %47 = fmul float %45, %46
  %48 = fptosi float %47 to i32
  store i32 %48, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %49 = getelementptr inbounds %struct.frAABB_, ptr %5, i32 0, i32 1
  %50 = load float, ptr %49, align 4, !tbaa !19
  %51 = getelementptr inbounds %struct.frAABB_, ptr %5, i32 0, i32 3
  %52 = load float, ptr %51, align 4, !tbaa !21
  %53 = fadd float %50, %52
  %54 = load float, ptr %8, align 4, !tbaa !16
  %55 = fmul float %53, %54
  %56 = fptosi float %55 to i32
  store i32 %56, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %57 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %57, ptr %13, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %337, %27
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = load i32, ptr %12, align 4, !tbaa !9
  %61 = icmp sle i32 %59, %60
  br i1 %61, label %63, label %62

62:                                               ; preds = %58
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %340

63:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %64 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %64, ptr %15, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %333, %63
  %66 = load i32, ptr %15, align 4, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = icmp sle i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %336

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %71 = getelementptr inbounds %struct.frVector2i_, ptr %16, i32 0, i32 0
  %72 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %72, ptr %71, align 4, !tbaa !22
  %73 = getelementptr inbounds %struct.frVector2i_, ptr %16, i32 0, i32 1
  %74 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %74, ptr %73, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.frSpatialHash_, ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !26
  %78 = getelementptr inbounds [1 x %struct.frVector2i_], ptr %18, i64 0, i64 0
  %79 = call ptr @stbds_hmget_key(ptr noundef %77, i64 noundef 32, ptr noundef %78, i64 noundef 8, i32 noundef 0)
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.frSpatialHash_, ptr %80, i32 0, i32 0
  store ptr %79, ptr %81, align 8, !tbaa !25
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.frSpatialHash_, ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !25
  %85 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %84, i64 -1
  %86 = getelementptr inbounds %struct.stbds_array_header, ptr %85, i64 -1
  %87 = getelementptr inbounds %struct.stbds_array_header, ptr %86, i32 0, i32 3
  %88 = load i64, ptr %87, align 8, !tbaa !27
  %89 = icmp eq i64 %88, -1
  br i1 %89, label %90, label %91

90:                                               ; preds = %70
  br label %103

91:                                               ; preds = %70
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.frSpatialHash_, ptr %92, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8, !tbaa !25
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.frSpatialHash_, ptr %95, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !25
  %98 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %97, i64 -1
  %99 = getelementptr inbounds %struct.stbds_array_header, ptr %98, i64 -1
  %100 = getelementptr inbounds %struct.stbds_array_header, ptr %99, i32 0, i32 3
  %101 = load i64, ptr %100, align 8, !tbaa !27
  %102 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %94, i64 %101
  br label %103

103:                                              ; preds = %91, %90
  %104 = phi ptr [ null, %90 ], [ %102, %91 ]
  store ptr %104, ptr %17, align 8, !tbaa !5
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = icmp ne ptr %105, null
  br i1 %106, label %107, label %212

107:                                              ; preds = %103
  br label %108

108:                                              ; preds = %107
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %109, i32 0, i32 1
  %111 = getelementptr inbounds %struct.anon.0, ptr %110, i32 0, i32 1
  %112 = load i64, ptr %111, align 8, !tbaa !29
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %113, i32 0, i32 1
  %115 = getelementptr inbounds %struct.anon.0, ptr %114, i32 0, i32 2
  %116 = load i64, ptr %115, align 8, !tbaa !31
  %117 = icmp uge i64 %112, %116
  br i1 %117, label %118, label %194

118:                                              ; preds = %108
  br label %119

119:                                              ; preds = %118
  %120 = load ptr, ptr %17, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %120, i32 0, i32 1
  %122 = getelementptr inbounds %struct.anon.0, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !32
  %124 = icmp eq ptr %123, null
  br i1 %124, label %125, label %144

125:                                              ; preds = %119
  br label %126

126:                                              ; preds = %125
  %127 = load ptr, ptr %17, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds %struct.anon.0, ptr %128, i32 0, i32 1
  store i64 0, ptr %129, align 8, !tbaa !29
  %130 = load ptr, ptr %17, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %130, i32 0, i32 1
  %132 = getelementptr inbounds %struct.anon.0, ptr %131, i32 0, i32 2
  store i64 8, ptr %132, align 8, !tbaa !31
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %133, i32 0, i32 1
  %135 = getelementptr inbounds %struct.anon.0, ptr %134, i32 0, i32 2
  %136 = load i64, ptr %135, align 8, !tbaa !31
  %137 = mul i64 %136, 4
  %138 = call noalias ptr @malloc(i64 noundef %137) #8
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %139, i32 0, i32 1
  %141 = getelementptr inbounds %struct.anon.0, ptr %140, i32 0, i32 0
  store ptr %138, ptr %141, align 8, !tbaa !32
  br label %142

142:                                              ; preds = %126
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143, %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %145, i32 0, i32 1
  %147 = getelementptr inbounds %struct.anon.0, ptr %146, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8, !tbaa !32
  %149 = load ptr, ptr %17, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %149, i32 0, i32 1
  %151 = getelementptr inbounds %struct.anon.0, ptr %150, i32 0, i32 2
  %152 = load i64, ptr %151, align 8, !tbaa !31
  %153 = shl i64 %152, 1
  %154 = mul i64 %153, 4
  %155 = call ptr @realloc(ptr noundef %148, i64 noundef %154) #9
  store ptr %155, ptr %19, align 8, !tbaa !5
  %156 = load ptr, ptr %19, align 8, !tbaa !5
  %157 = icmp ne ptr %156, null
  br i1 %157, label %158, label %191

158:                                              ; preds = %144
  %159 = load ptr, ptr %19, align 8, !tbaa !5
  %160 = load ptr, ptr %17, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %160, i32 0, i32 1
  %162 = getelementptr inbounds %struct.anon.0, ptr %161, i32 0, i32 0
  store ptr %159, ptr %162, align 8, !tbaa !32
  %163 = load ptr, ptr %17, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %163, i32 0, i32 1
  %165 = getelementptr inbounds %struct.anon.0, ptr %164, i32 0, i32 1
  %166 = load i64, ptr %165, align 8, !tbaa !29
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %167, i32 0, i32 1
  %169 = getelementptr inbounds %struct.anon.0, ptr %168, i32 0, i32 2
  %170 = load i64, ptr %169, align 8, !tbaa !31
  %171 = shl i64 %170, 1
  %172 = icmp ugt i64 %166, %171
  br i1 %172, label %173, label %182

173:                                              ; preds = %158
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %174, i32 0, i32 1
  %176 = getelementptr inbounds %struct.anon.0, ptr %175, i32 0, i32 2
  %177 = load i64, ptr %176, align 8, !tbaa !31
  %178 = shl i64 %177, 1
  %179 = load ptr, ptr %17, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %179, i32 0, i32 1
  %181 = getelementptr inbounds %struct.anon.0, ptr %180, i32 0, i32 1
  store i64 %178, ptr %181, align 8, !tbaa !29
  br label %182

182:                                              ; preds = %173, %158
  %183 = load ptr, ptr %17, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %183, i32 0, i32 1
  %185 = getelementptr inbounds %struct.anon.0, ptr %184, i32 0, i32 2
  %186 = load i64, ptr %185, align 8, !tbaa !31
  %187 = shl i64 %186, 1
  %188 = load ptr, ptr %17, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %188, i32 0, i32 1
  %190 = getelementptr inbounds %struct.anon.0, ptr %189, i32 0, i32 2
  store i64 %187, ptr %190, align 8, !tbaa !31
  br label %191

191:                                              ; preds = %182, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192
  br label %194

194:                                              ; preds = %193, %108
  %195 = load i32, ptr %7, align 4, !tbaa !9
  %196 = load ptr, ptr %17, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %196, i32 0, i32 1
  %198 = getelementptr inbounds %struct.anon.0, ptr %197, i32 0, i32 0
  %199 = load ptr, ptr %198, align 8, !tbaa !32
  %200 = load ptr, ptr %17, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %200, i32 0, i32 1
  %202 = getelementptr inbounds %struct.anon.0, ptr %201, i32 0, i32 1
  %203 = load i64, ptr %202, align 8, !tbaa !29
  %204 = getelementptr inbounds i32, ptr %199, i64 %203
  store i32 %195, ptr %204, align 4, !tbaa !9
  %205 = load ptr, ptr %17, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %205, i32 0, i32 1
  %207 = getelementptr inbounds %struct.anon.0, ptr %206, i32 0, i32 1
  %208 = load i64, ptr %207, align 8, !tbaa !29
  %209 = add i64 %208, 1
  store i64 %209, ptr %207, align 8, !tbaa !29
  br label %210

210:                                              ; preds = %194
  br label %211

211:                                              ; preds = %210
  br label %332

212:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  call void @llvm.memset.p0.i64(ptr align 8 %20, i8 0, i64 32, i1 false)
  %213 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %213, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !26
  %214 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  br label %215

215:                                              ; preds = %212
  %216 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %217 = getelementptr inbounds %struct.anon.0, ptr %216, i32 0, i32 1
  store i64 0, ptr %217, align 8, !tbaa !29
  %218 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %219 = getelementptr inbounds %struct.anon.0, ptr %218, i32 0, i32 2
  store i64 8, ptr %219, align 8, !tbaa !31
  %220 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %221 = getelementptr inbounds %struct.anon.0, ptr %220, i32 0, i32 2
  %222 = load i64, ptr %221, align 8, !tbaa !31
  %223 = mul i64 %222, 4
  %224 = call noalias ptr @malloc(i64 noundef %223) #8
  %225 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %226 = getelementptr inbounds %struct.anon.0, ptr %225, i32 0, i32 0
  store ptr %224, ptr %226, align 8, !tbaa !32
  br label %227

227:                                              ; preds = %215
  br label %228

228:                                              ; preds = %227
  br label %229

229:                                              ; preds = %228
  %230 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %231 = getelementptr inbounds %struct.anon.0, ptr %230, i32 0, i32 1
  %232 = load i64, ptr %231, align 8, !tbaa !29
  %233 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %234 = getelementptr inbounds %struct.anon.0, ptr %233, i32 0, i32 2
  %235 = load i64, ptr %234, align 8, !tbaa !31
  %236 = icmp uge i64 %232, %235
  br i1 %236, label %237, label %299

237:                                              ; preds = %229
  br label %238

238:                                              ; preds = %237
  %239 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %240 = getelementptr inbounds %struct.anon.0, ptr %239, i32 0, i32 0
  %241 = load ptr, ptr %240, align 8, !tbaa !32
  %242 = icmp eq ptr %241, null
  br i1 %242, label %243, label %258

243:                                              ; preds = %238
  br label %244

244:                                              ; preds = %243
  %245 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %246 = getelementptr inbounds %struct.anon.0, ptr %245, i32 0, i32 1
  store i64 0, ptr %246, align 8, !tbaa !29
  %247 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %248 = getelementptr inbounds %struct.anon.0, ptr %247, i32 0, i32 2
  store i64 8, ptr %248, align 8, !tbaa !31
  %249 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %250 = getelementptr inbounds %struct.anon.0, ptr %249, i32 0, i32 2
  %251 = load i64, ptr %250, align 8, !tbaa !31
  %252 = mul i64 %251, 4
  %253 = call noalias ptr @malloc(i64 noundef %252) #8
  %254 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %255 = getelementptr inbounds %struct.anon.0, ptr %254, i32 0, i32 0
  store ptr %253, ptr %255, align 8, !tbaa !32
  br label %256

256:                                              ; preds = %244
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257, %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %259 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %260 = getelementptr inbounds %struct.anon.0, ptr %259, i32 0, i32 0
  %261 = load ptr, ptr %260, align 8, !tbaa !32
  %262 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %263 = getelementptr inbounds %struct.anon.0, ptr %262, i32 0, i32 2
  %264 = load i64, ptr %263, align 8, !tbaa !31
  %265 = shl i64 %264, 1
  %266 = mul i64 %265, 4
  %267 = call ptr @realloc(ptr noundef %261, i64 noundef %266) #9
  store ptr %267, ptr %21, align 8, !tbaa !5
  %268 = load ptr, ptr %21, align 8, !tbaa !5
  %269 = icmp ne ptr %268, null
  br i1 %269, label %270, label %296

270:                                              ; preds = %258
  %271 = load ptr, ptr %21, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %273 = getelementptr inbounds %struct.anon.0, ptr %272, i32 0, i32 0
  store ptr %271, ptr %273, align 8, !tbaa !32
  %274 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %275 = getelementptr inbounds %struct.anon.0, ptr %274, i32 0, i32 1
  %276 = load i64, ptr %275, align 8, !tbaa !29
  %277 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %278 = getelementptr inbounds %struct.anon.0, ptr %277, i32 0, i32 2
  %279 = load i64, ptr %278, align 8, !tbaa !31
  %280 = shl i64 %279, 1
  %281 = icmp ugt i64 %276, %280
  br i1 %281, label %282, label %289

282:                                              ; preds = %270
  %283 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %284 = getelementptr inbounds %struct.anon.0, ptr %283, i32 0, i32 2
  %285 = load i64, ptr %284, align 8, !tbaa !31
  %286 = shl i64 %285, 1
  %287 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %288 = getelementptr inbounds %struct.anon.0, ptr %287, i32 0, i32 1
  store i64 %286, ptr %288, align 8, !tbaa !29
  br label %289

289:                                              ; preds = %282, %270
  %290 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %291 = getelementptr inbounds %struct.anon.0, ptr %290, i32 0, i32 2
  %292 = load i64, ptr %291, align 8, !tbaa !31
  %293 = shl i64 %292, 1
  %294 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %295 = getelementptr inbounds %struct.anon.0, ptr %294, i32 0, i32 2
  store i64 %293, ptr %295, align 8, !tbaa !31
  br label %296

296:                                              ; preds = %289, %258
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %297

297:                                              ; preds = %296
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298, %229
  %300 = load i32, ptr %7, align 4, !tbaa !9
  %301 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %302 = getelementptr inbounds %struct.anon.0, ptr %301, i32 0, i32 0
  %303 = load ptr, ptr %302, align 8, !tbaa !32
  %304 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %305 = getelementptr inbounds %struct.anon.0, ptr %304, i32 0, i32 1
  %306 = load i64, ptr %305, align 8, !tbaa !29
  %307 = getelementptr inbounds i32, ptr %303, i64 %306
  store i32 %300, ptr %307, align 4, !tbaa !9
  %308 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 1
  %309 = getelementptr inbounds %struct.anon.0, ptr %308, i32 0, i32 1
  %310 = load i64, ptr %309, align 8, !tbaa !29
  %311 = add i64 %310, 1
  store i64 %311, ptr %309, align 8, !tbaa !29
  br label %312

312:                                              ; preds = %299
  br label %313

313:                                              ; preds = %312
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.frSpatialHash_, ptr %314, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8, !tbaa !25
  %317 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %20, i32 0, i32 0
  %318 = call ptr @stbds_hmput_key(ptr noundef %316, i64 noundef 32, ptr noundef %317, i64 noundef 8, i32 noundef 0)
  %319 = load ptr, ptr %6, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.frSpatialHash_, ptr %319, i32 0, i32 0
  store ptr %318, ptr %320, align 8, !tbaa !25
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.frSpatialHash_, ptr %321, i32 0, i32 0
  %323 = load ptr, ptr %322, align 8, !tbaa !25
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.frSpatialHash_, ptr %324, i32 0, i32 0
  %326 = load ptr, ptr %325, align 8, !tbaa !25
  %327 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %326, i64 -1
  %328 = getelementptr inbounds %struct.stbds_array_header, ptr %327, i64 -1
  %329 = getelementptr inbounds %struct.stbds_array_header, ptr %328, i32 0, i32 3
  %330 = load i64, ptr %329, align 8, !tbaa !27
  %331 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %323, i64 %330
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %331, ptr align 8 %20, i64 32, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  br label %332

332:                                              ; preds = %313, %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %333

333:                                              ; preds = %332
  %334 = load i32, ptr %15, align 4, !tbaa !9
  %335 = add nsw i32 %334, 1
  store i32 %335, ptr %15, align 4, !tbaa !9
  br label %65, !llvm.loop !35

336:                                              ; preds = %69
  br label %337

337:                                              ; preds = %336
  %338 = load i32, ptr %13, align 4, !tbaa !9
  %339 = add nsw i32 %338, 1
  store i32 %339, ptr %13, align 4, !tbaa !9
  br label %58, !llvm.loop !37

340:                                              ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %341

341:                                              ; preds = %340, %26
  ret void
}

declare ptr @stbds_hmget_key(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) #3

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

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

declare ptr @stbds_hmput_key(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(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 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind allocsize(1) "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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }
attributes #9 = { nounwind allocsize(1) }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 12}
!12 = !{!"frSpatialHash_", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !6, i64 40}
!13 = !{!"float", !7, i64 0}
!14 = !{!"", !6, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !13, i64 0}
!18 = !{!"frAABB_", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!19 = !{!18, !13, i64 4}
!20 = !{!18, !13, i64 8}
!21 = !{!18, !13, i64 12}
!22 = !{!23, !10, i64 0}
!23 = !{!"frVector2i_", !10, i64 0, !10, i64 4}
!24 = !{!23, !10, i64 4}
!25 = !{!12, !6, i64 0}
!26 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!27 = !{!28, !15, i64 24}
!28 = !{!"", !15, i64 0, !15, i64 8, !6, i64 16, !15, i64 24}
!29 = !{!30, !15, i64 16}
!30 = !{!"frSpatialHashEntry_", !23, i64 0, !14, i64 8}
!31 = !{!30, !15, i64 24}
!32 = !{!30, !6, i64 8}
!33 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 8, !5, i64 16, i64 8, !34, i64 24, i64 8, !34}
!34 = !{!15, !15, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}


; 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"

%struct.frVector2i_ = type { i32, i32 }
%struct.frSpatialHashEntry_ = type { %struct.frVector2i_, %struct.anon.0 }
%struct.anon.0 = type { ptr, i64, i64 }

; 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @frInsertIntoSpatialHash(ptr noundef %0, <2 x float> %1, <2 x float> %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = alloca [1 x %struct.frVector2i_], align 4
  %6 = alloca %struct.frSpatialHashEntry_, align 8
  %7 = icmp eq ptr %0, null
  br i1 %7, label %.loopexit, label %8

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %0, i64 12
  %10 = load float, ptr %9, align 4, !tbaa !5
  %.sroa.053.0.vec.extract = extractelement <2 x float> %1, i64 0
  %11 = fmul float %.sroa.053.0.vec.extract, %10
  %12 = fptosi float %11 to i32
  %.sroa.053.4.vec.extract = extractelement <2 x float> %1, i64 1
  %13 = fmul float %.sroa.053.4.vec.extract, %10
  %14 = fptosi float %13 to i32
  %15 = fadd <2 x float> %1, %2
  %16 = extractelement <2 x float> %15, i64 0
  %17 = fmul float %16, %10
  %18 = fptosi float %17 to i32
  %19 = fadd <2 x float> %1, %2
  %20 = extractelement <2 x float> %19, i64 1
  %21 = fmul float %20, %10
  %22 = fptosi float %21 to i32
  %.not74 = icmp sgt i32 %14, %22
  br i1 %.not74, label %.loopexit, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %8
  %.not6772 = icmp sgt i32 %12, %18
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 4
  %.sroa.5.0..sroa_idx25 = getelementptr inbounds i8, ptr %6, i64 4
  %23 = getelementptr inbounds i8, ptr %6, i64 8
  %24 = getelementptr inbounds i8, ptr %6, i64 16
  %25 = getelementptr inbounds i8, ptr %6, i64 24
  br i1 %.not6772, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge
  %.075 = phi i32 [ %26, %._crit_edge ], [ %14, %.preheader.lr.ph ]
  br label %27

._crit_edge:                                      ; preds = %64
  %26 = add i32 %.075, 1
  %exitcond77.not = icmp eq i32 %.075, %22
  br i1 %exitcond77.not, label %.loopexit, label %.preheader, !llvm.loop !13

27:                                               ; preds = %.preheader, %64
  %.05973 = phi i32 [ %12, %.preheader ], [ %65, %64 ]
  %28 = load ptr, ptr %0, align 8, !tbaa !15
  store i32 %.05973, ptr %5, align 4, !tbaa !16
  store i32 %.075, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !16
  %29 = call ptr @stbds_hmget_key(ptr noundef %28, i64 noundef 32, ptr noundef nonnull %5, i64 noundef 8, i32 noundef 0) #7
  store ptr %29, ptr %0, align 8, !tbaa !15
  %30 = getelementptr inbounds i8, ptr %29, i64 -40
  %31 = load i64, ptr %30, align 8, !tbaa !18
  %32 = icmp eq i64 %31, -1
  %.not6871 = icmp eq ptr %29, null
  %.not68 = or i1 %.not6871, %32
  br i1 %.not68, label %58, label %33

33:                                               ; preds = %27
  %34 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %29, i64 %31
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = getelementptr inbounds i8, ptr %34, i64 16
  %37 = load i64, ptr %36, align 8, !tbaa !20
  %38 = getelementptr inbounds i8, ptr %34, i64 24
  %39 = load i64, ptr %38, align 8, !tbaa !23
  %.not69 = icmp ult i64 %37, %39
  %.pre79 = load ptr, ptr %35, align 8, !tbaa !24
  br i1 %.not69, label %53, label %40

40:                                               ; preds = %33
  %41 = icmp eq ptr %.pre79, null
  br i1 %41, label %42, label %44

42:                                               ; preds = %40
  store i64 0, ptr %36, align 8, !tbaa !20
  store i64 8, ptr %38, align 8, !tbaa !23
  %43 = call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #8
  store ptr %43, ptr %35, align 8, !tbaa !24
  br label %44

44:                                               ; preds = %42, %40
  %45 = phi i64 [ 8, %42 ], [ %39, %40 ]
  %46 = phi ptr [ %43, %42 ], [ %.pre79, %40 ]
  %47 = shl i64 %45, 3
  %48 = call ptr @realloc(ptr noundef %46, i64 noundef %47) #9
  %.not70 = icmp eq ptr %48, null
  br i1 %.not70, label %._crit_edge78, label %49

._crit_edge78:                                    ; preds = %44
  %.pre = load ptr, ptr %35, align 8, !tbaa !24
  %.pre80 = load i64, ptr %36, align 8, !tbaa !20
  br label %53

49:                                               ; preds = %44
  store ptr %48, ptr %35, align 8, !tbaa !24
  %50 = load i64, ptr %36, align 8, !tbaa !20
  %51 = load i64, ptr %38, align 8, !tbaa !23
  %52 = shl i64 %51, 1
  %spec.select = call i64 @llvm.umin.i64(i64 %50, i64 %52)
  store i64 %52, ptr %38, align 8, !tbaa !23
  br label %53

53:                                               ; preds = %._crit_edge78, %49, %33
  %54 = phi i64 [ %.pre80, %._crit_edge78 ], [ %spec.select, %49 ], [ %37, %33 ]
  %55 = phi ptr [ %.pre, %._crit_edge78 ], [ %48, %49 ], [ %.pre79, %33 ]
  %56 = getelementptr inbounds i32, ptr %55, i64 %54
  store i32 %3, ptr %56, align 4, !tbaa !16
  %57 = add i64 %54, 1
  store i64 %57, ptr %36, align 8, !tbaa !20
  br label %64

58:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  store i32 %.05973, ptr %6, align 8, !tbaa !16
  store i32 %.075, ptr %.sroa.5.0..sroa_idx25, align 4, !tbaa !16
  store i64 8, ptr %25, align 8, !tbaa !23
  %59 = call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #8
  store ptr %59, ptr %23, align 8, !tbaa !24
  store i32 %3, ptr %59, align 4, !tbaa !16
  store i64 1, ptr %24, align 8, !tbaa !20
  %60 = call ptr @stbds_hmput_key(ptr noundef nonnull %29, i64 noundef 32, ptr noundef nonnull %6, i64 noundef 8, i32 noundef 0) #7
  store ptr %60, ptr %0, align 8, !tbaa !15
  %61 = getelementptr inbounds i8, ptr %60, i64 -40
  %62 = load i64, ptr %61, align 8, !tbaa !18
  %63 = getelementptr inbounds %struct.frSpatialHashEntry_, ptr %60, i64 %62
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(32) %6, i64 32, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %64

64:                                               ; preds = %58, %53
  %65 = add i32 %.05973, 1
  %exitcond.not = icmp eq i32 %.05973, %18
  br i1 %exitcond.not, label %._crit_edge, label %27, !llvm.loop !28

.loopexit:                                        ; preds = %._crit_edge, %.preheader.lr.ph, %8, %4
  ret void
}

declare ptr @stbds_hmget_key(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #5

declare ptr @stbds_hmput_key(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }
attributes #9 = { nounwind allocsize(1) }

!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, !10, i64 12}
!6 = !{!"frSpatialHash_", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !7, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16}
!12 = !{!"long", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !8, i64 0}
!18 = !{!19, !12, i64 24}
!19 = !{!"", !12, i64 0, !12, i64 8, !7, i64 16, !12, i64 24}
!20 = !{!21, !12, i64 16}
!21 = !{!"frSpatialHashEntry_", !22, i64 0, !11, i64 8}
!22 = !{!"frVector2i_", !17, i64 0, !17, i64 4}
!23 = !{!21, !12, i64 24}
!24 = !{!21, !7, i64 8}
!25 = !{i64 0, i64 4, !16, i64 4, i64 4, !16, i64 8, i64 8, !26, i64 16, i64 8, !27, i64 24, i64 8, !27}
!26 = !{!7, !7, i64 0}
!27 = !{!12, !12, i64 0}
!28 = distinct !{!28, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,VectorCombinePass