; LLVM IR from Sonryle/JoePhys :: JoePhys/src/Particle.ll (ZN8Particle16ResolveCollisionEPS_)

; 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.vec2 = type { float, float }
%struct.Particle = type { i8, %struct.vec2, %struct.vec2, float, float, float, %struct.vec2, [2 x %struct.vec2] }

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZN4vec2pLES_(ptr noundef nonnull align 4 dereferenceable(8), <2 x float>) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z6length4vec2(<2 x float>) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zml4vec2f(<2 x float>, float noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z9normalize4vec2(<2 x float>) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Particle16ResolveCollisionEPS_(ptr noundef nonnull align 4 dereferenceable(56) %0, ptr noundef %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct.vec2, align 4
  %8 = alloca %struct.vec2, align 4
  %9 = alloca %struct.vec2, align 4
  %10 = alloca %struct.vec2, align 4
  %11 = alloca float, align 4
  %12 = alloca %struct.vec2, align 4
  %13 = alloca %struct.vec2, align 4
  %14 = alloca %struct.vec2, align 4
  %15 = alloca float, align 4
  %16 = alloca %struct.vec2, align 4
  %17 = alloca %struct.vec2, align 4
  %18 = alloca %struct.vec2, align 4
  %19 = alloca %struct.vec2, align 4
  %20 = alloca %struct.vec2, align 4
  %21 = alloca %struct.vec2, align 4
  %22 = alloca %struct.vec2, align 4
  %23 = alloca %struct.vec2, align 4
  %24 = alloca %struct.vec2, align 4
  %25 = alloca %struct.vec2, align 4
  %26 = alloca %struct.vec2, align 4
  %27 = alloca %struct.vec2, align 4
  %28 = alloca %struct.vec2, align 4
  %29 = alloca %struct.vec2, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca %struct.vec2, align 4
  %33 = alloca %struct.vec2, align 4
  %34 = alloca %struct.vec2, align 4
  %35 = alloca %struct.vec2, align 4
  %36 = alloca %struct.vec2, align 4
  %37 = alloca %struct.vec2, align 4
  %38 = alloca %struct.vec2, align 4
  %39 = alloca %struct.vec2, align 4
  %40 = alloca %struct.vec2, align 4
  %41 = alloca %struct.vec2, align 4
  %42 = alloca %struct.vec2, align 4
  %43 = alloca %struct.vec2, align 4
  %44 = alloca i32, align 4
  %45 = alloca float, align 4
  %46 = alloca %struct.vec2, align 4
  %47 = alloca %struct.vec2, align 4
  %48 = alloca %struct.vec2, align 4
  %49 = alloca %struct.vec2, align 4
  %50 = alloca %struct.vec2, align 4
  %51 = alloca %struct.vec2, align 4
  %52 = alloca %struct.vec2, align 4
  %53 = alloca %struct.vec2, align 4
  %54 = alloca %struct.vec2, align 4
  %55 = alloca %struct.vec2, align 4
  %56 = alloca %struct.vec2, align 4
  %57 = alloca %struct.vec2, align 4
  %58 = alloca float, align 4
  %59 = alloca %struct.vec2, align 4
  %60 = alloca %struct.vec2, align 4
  %61 = alloca %struct.vec2, align 4
  %62 = alloca %struct.vec2, align 4
  %63 = alloca %struct.vec2, align 4
  %64 = alloca %struct.vec2, align 4
  %65 = alloca %struct.vec2, align 4
  %66 = alloca %struct.vec2, align 4
  %67 = alloca %struct.vec2, align 4
  %68 = alloca %struct.vec2, align 4
  %69 = alloca %struct.vec2, align 4
  %70 = alloca %struct.vec2, align 4
  %71 = alloca %struct.vec2, align 4
  %72 = alloca %struct.vec2, align 4
  %73 = alloca %struct.vec2, align 4
  %74 = alloca %struct.vec2, align 4
  %75 = alloca %struct.vec2, align 4
  %76 = alloca %struct.vec2, align 4
  %77 = alloca %struct.vec2, align 4
  %78 = alloca %struct.vec2, align 4
  %79 = alloca %struct.vec2, align 4
  %80 = alloca %struct.vec2, align 4
  %81 = alloca %struct.vec2, align 4
  %82 = alloca %struct.vec2, align 4
  %83 = alloca %struct.vec2, align 4
  %84 = alloca %struct.vec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %85 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store ptr %85, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %86, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.Particle, ptr %87, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %88, i64 8, i1 false), !tbaa.struct !9
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.Particle, ptr %89, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %90, i64 8, i1 false), !tbaa.struct !9
  %91 = load <2 x float>, ptr %9, align 4
  %92 = load <2 x float>, ptr %10, align 4
  %93 = call <2 x float> @_Zmi4vec2S_(<2 x float> %91, <2 x float> %92)
  store <2 x float> %93, ptr %8, align 4
  %94 = load <2 x float>, ptr %8, align 4
  %95 = call <2 x float> @_Z9normalize4vec2(<2 x float> %94)
  store <2 x float> %95, ptr %7, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.Particle, ptr %96, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %97, i64 8, i1 false), !tbaa.struct !9
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.Particle, ptr %98, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %99, i64 8, i1 false), !tbaa.struct !9
  %100 = load <2 x float>, ptr %13, align 4
  %101 = load <2 x float>, ptr %14, align 4
  %102 = call <2 x float> @_Zmi4vec2S_(<2 x float> %100, <2 x float> %101)
  store <2 x float> %102, ptr %12, align 4
  %103 = load <2 x float>, ptr %12, align 4
  %104 = call noundef float @_Z6length4vec2(<2 x float> %103)
  store float %104, ptr %11, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.Particle, ptr %105, i32 0, i32 4
  %107 = load float, ptr %106, align 4, !tbaa !12
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.Particle, ptr %108, i32 0, i32 4
  %110 = load float, ptr %109, align 4, !tbaa !12
  %111 = fadd float %107, %110
  %112 = load float, ptr %11, align 4, !tbaa !10
  %113 = fsub float %111, %112
  store float %113, ptr %15, align 4, !tbaa !10
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.Particle, ptr %114, i32 0, i32 0
  %116 = load i8, ptr %115, align 4, !tbaa !16, !range !17, !noundef !18
  %117 = trunc i8 %116 to i1
  br i1 %117, label %118, label %131

118:                                              ; preds = %2
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.Particle, ptr %119, i32 0, i32 0
  %121 = load i8, ptr %120, align 4, !tbaa !16, !range !17, !noundef !18
  %122 = trunc i8 %121 to i1
  br i1 %122, label %131, label %123

123:                                              ; preds = %118
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !9
  %124 = load float, ptr %15, align 4, !tbaa !10
  %125 = load <2 x float>, ptr %17, align 4
  %126 = call <2 x float> @_Zml4vec2f(<2 x float> %125, float noundef %124)
  store <2 x float> %126, ptr %16, align 4
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.Particle, ptr %127, i32 0, i32 1
  %129 = load <2 x float>, ptr %16, align 4
  %130 = call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %128, <2 x float> %129)
  store <2 x float> %130, ptr %18, align 4
  br label %131

131:                                              ; preds = %123, %118, %2
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.Particle, ptr %132, i32 0, i32 0
  %134 = load i8, ptr %133, align 4, !tbaa !16, !range !17, !noundef !18
  %135 = trunc i8 %134 to i1
  br i1 %135, label %149, label %136

136:                                              ; preds = %131
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.Particle, ptr %137, i32 0, i32 0
  %139 = load i8, ptr %138, align 4, !tbaa !16, !range !17, !noundef !18
  %140 = trunc i8 %139 to i1
  br i1 %140, label %141, label %149

141:                                              ; preds = %136
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !9
  %142 = load float, ptr %15, align 4, !tbaa !10
  %143 = load <2 x float>, ptr %20, align 4
  %144 = call <2 x float> @_Zml4vec2f(<2 x float> %143, float noundef %142)
  store <2 x float> %144, ptr %19, align 4
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.Particle, ptr %145, i32 0, i32 1
  %147 = load <2 x float>, ptr %19, align 4
  %148 = call <2 x float> @_ZN4vec2pLES_(ptr noundef nonnull align 4 dereferenceable(8) %146, <2 x float> %147)
  store <2 x float> %148, ptr %21, align 4
  br label %149

149:                                              ; preds = %141, %136, %131
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.Particle, ptr %150, i32 0, i32 0
  %152 = load i8, ptr %151, align 4, !tbaa !16, !range !17, !noundef !18
  %153 = trunc i8 %152 to i1
  br i1 %153, label %178, label %154

154:                                              ; preds = %149
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.Particle, ptr %155, i32 0, i32 0
  %157 = load i8, ptr %156, align 4, !tbaa !16, !range !17, !noundef !18
  %158 = trunc i8 %157 to i1
  br i1 %158, label %178, label %159

159:                                              ; preds = %154
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !9
  %160 = load float, ptr %15, align 4, !tbaa !10
  %161 = load <2 x float>, ptr %24, align 4
  %162 = call <2 x float> @_Zml4vec2f(<2 x float> %161, float noundef %160)
  store <2 x float> %162, ptr %23, align 4
  %163 = load <2 x float>, ptr %23, align 4
  %164 = call <2 x float> @_Zml4vec2f(<2 x float> %163, float noundef 5.000000e-01)
  store <2 x float> %164, ptr %22, align 4
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.Particle, ptr %165, i32 0, i32 1
  %167 = load <2 x float>, ptr %22, align 4
  %168 = call <2 x float> @_ZN4vec2pLES_(ptr noundef nonnull align 4 dereferenceable(8) %166, <2 x float> %167)
  store <2 x float> %168, ptr %25, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !9
  %169 = load float, ptr %15, align 4, !tbaa !10
  %170 = load <2 x float>, ptr %28, align 4
  %171 = call <2 x float> @_Zml4vec2f(<2 x float> %170, float noundef %169)
  store <2 x float> %171, ptr %27, align 4
  %172 = load <2 x float>, ptr %27, align 4
  %173 = call <2 x float> @_Zml4vec2f(<2 x float> %172, float noundef 5.000000e-01)
  store <2 x float> %173, ptr %26, align 4
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.Particle, ptr %174, i32 0, i32 1
  %176 = load <2 x float>, ptr %26, align 4
  %177 = call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %175, <2 x float> %176)
  store <2 x float> %177, ptr %29, align 4
  br label %178

178:                                              ; preds = %159, %154, %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.Particle, ptr %179, i32 0, i32 3
  %181 = load float, ptr %180, align 4, !tbaa !19
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.Particle, ptr %182, i32 0, i32 3
  %184 = load float, ptr %183, align 4, !tbaa !19
  %185 = fadd float %181, %184
  %186 = fmul float %185, 5.000000e-01
  store float %186, ptr %30, align 4, !tbaa !10
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.Particle, ptr %187, i32 0, i32 0
  %189 = load i8, ptr %188, align 4, !tbaa !16, !range !17, !noundef !18
  %190 = trunc i8 %189 to i1
  br i1 %190, label %223, label %191

191:                                              ; preds = %178
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.Particle, ptr %192, i32 0, i32 0
  %194 = load i8, ptr %193, align 4, !tbaa !16, !range !17, !noundef !18
  %195 = trunc i8 %194 to i1
  br i1 %195, label %196, label %223

196:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %197 = load float, ptr %30, align 4, !tbaa !10
  %198 = fadd float 1.000000e+00, %197
  store float %198, ptr %31, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.Particle, ptr %199, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %200, i64 8, i1 false), !tbaa.struct !9
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.Particle, ptr %201, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %202, i64 8, i1 false), !tbaa.struct !9
  %203 = load <2 x float>, ptr %33, align 4
  %204 = load <2 x float>, ptr %34, align 4
  %205 = call <2 x float> @_Zmi4vec2S_(<2 x float> %203, <2 x float> %204)
  store <2 x float> %205, ptr %32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.Particle, ptr %206, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %207, i64 8, i1 false), !tbaa.struct !9
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.Particle, ptr %208, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %209, i64 8, i1 false), !tbaa.struct !9
  %210 = load <2 x float>, ptr %36, align 4
  %211 = load <2 x float>, ptr %37, align 4
  %212 = call <2 x float> @_Zmi4vec2S_(<2 x float> %210, <2 x float> %211)
  store <2 x float> %212, ptr %35, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %35, i64 8, i1 false), !tbaa.struct !9
  %213 = load <2 x float>, ptr %39, align 4
  %214 = load <2 x float>, ptr %40, align 4
  %215 = call <2 x float> @_Z7project4vec2S_(<2 x float> %213, <2 x float> %214)
  store <2 x float> %215, ptr %38, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %38, i64 8, i1 false), !tbaa.struct !9
  %216 = load float, ptr %31, align 4, !tbaa !10
  %217 = load <2 x float>, ptr %42, align 4
  %218 = call <2 x float> @_Zml4vec2f(<2 x float> %217, float noundef %216)
  store <2 x float> %218, ptr %41, align 4
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.Particle, ptr %219, i32 0, i32 2
  %221 = load <2 x float>, ptr %41, align 4
  %222 = call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %220, <2 x float> %221)
  store <2 x float> %222, ptr %43, align 4
  store i32 1, ptr %44, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %348

223:                                              ; preds = %191, %178
  %224 = load ptr, ptr %5, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.Particle, ptr %224, i32 0, i32 0
  %226 = load i8, ptr %225, align 4, !tbaa !16, !range !17, !noundef !18
  %227 = trunc i8 %226 to i1
  br i1 %227, label %228, label %260

228:                                              ; preds = %223
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.Particle, ptr %229, i32 0, i32 0
  %231 = load i8, ptr %230, align 4, !tbaa !16, !range !17, !noundef !18
  %232 = trunc i8 %231 to i1
  br i1 %232, label %260, label %233

233:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  %234 = load float, ptr %30, align 4, !tbaa !10
  %235 = fadd float 1.000000e+00, %234
  store float %235, ptr %45, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.Particle, ptr %236, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %237, i64 8, i1 false), !tbaa.struct !9
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.Particle, ptr %238, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %239, i64 8, i1 false), !tbaa.struct !9
  %240 = load <2 x float>, ptr %47, align 4
  %241 = load <2 x float>, ptr %48, align 4
  %242 = call <2 x float> @_Zmi4vec2S_(<2 x float> %240, <2 x float> %241)
  store <2 x float> %242, ptr %46, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.Particle, ptr %243, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %244, i64 8, i1 false), !tbaa.struct !9
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.Particle, ptr %245, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %246, i64 8, i1 false), !tbaa.struct !9
  %247 = load <2 x float>, ptr %50, align 4
  %248 = load <2 x float>, ptr %51, align 4
  %249 = call <2 x float> @_Zmi4vec2S_(<2 x float> %247, <2 x float> %248)
  store <2 x float> %249, ptr %49, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %46, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !9
  %250 = load <2 x float>, ptr %53, align 4
  %251 = load <2 x float>, ptr %54, align 4
  %252 = call <2 x float> @_Z7project4vec2S_(<2 x float> %250, <2 x float> %251)
  store <2 x float> %252, ptr %52, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !9
  %253 = load float, ptr %45, align 4, !tbaa !10
  %254 = load <2 x float>, ptr %56, align 4
  %255 = call <2 x float> @_Zml4vec2f(<2 x float> %254, float noundef %253)
  store <2 x float> %255, ptr %55, align 4
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.Particle, ptr %256, i32 0, i32 2
  %258 = load <2 x float>, ptr %55, align 4
  %259 = call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %257, <2 x float> %258)
  store <2 x float> %259, ptr %57, align 4
  store i32 1, ptr %44, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  br label %348

260:                                              ; preds = %228, %223
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.Particle, ptr %261, i32 0, i32 0
  %263 = load i8, ptr %262, align 4, !tbaa !16, !range !17, !noundef !18
  %264 = trunc i8 %263 to i1
  br i1 %264, label %347, label %265

265:                                              ; preds = %260
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.Particle, ptr %266, i32 0, i32 0
  %268 = load i8, ptr %267, align 4, !tbaa !16, !range !17, !noundef !18
  %269 = trunc i8 %268 to i1
  br i1 %269, label %347, label %270

270:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #5
  %271 = load float, ptr %30, align 4, !tbaa !10
  %272 = fadd float 1.000000e+00, %271
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.Particle, ptr %273, i32 0, i32 5
  %275 = load float, ptr %274, align 4, !tbaa !20
  %276 = fmul float %272, %275
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.Particle, ptr %277, i32 0, i32 5
  %279 = load float, ptr %278, align 4, !tbaa !20
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.Particle, ptr %280, i32 0, i32 5
  %282 = load float, ptr %281, align 4, !tbaa !20
  %283 = fadd float %279, %282
  %284 = fdiv float %276, %283
  store float %284, ptr %58, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  %285 = load ptr, ptr %5, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.Particle, ptr %285, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %286, i64 8, i1 false), !tbaa.struct !9
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.Particle, ptr %287, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %288, i64 8, i1 false), !tbaa.struct !9
  %289 = load <2 x float>, ptr %60, align 4
  %290 = load <2 x float>, ptr %61, align 4
  %291 = call <2 x float> @_Zmi4vec2S_(<2 x float> %289, <2 x float> %290)
  store <2 x float> %291, ptr %59, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #5
  %292 = load ptr, ptr %5, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.Particle, ptr %292, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %293, i64 8, i1 false), !tbaa.struct !9
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.Particle, ptr %294, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 4 %295, i64 8, i1 false), !tbaa.struct !9
  %296 = load <2 x float>, ptr %63, align 4
  %297 = load <2 x float>, ptr %64, align 4
  %298 = call <2 x float> @_Zmi4vec2S_(<2 x float> %296, <2 x float> %297)
  store <2 x float> %298, ptr %62, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %59, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 4 %62, i64 8, i1 false), !tbaa.struct !9
  %299 = load <2 x float>, ptr %66, align 4
  %300 = load <2 x float>, ptr %67, align 4
  %301 = call <2 x float> @_Z7project4vec2S_(<2 x float> %299, <2 x float> %300)
  store <2 x float> %301, ptr %65, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %65, i64 8, i1 false), !tbaa.struct !9
  %302 = load float, ptr %58, align 4, !tbaa !10
  %303 = load <2 x float>, ptr %69, align 4
  %304 = call <2 x float> @_Zml4vec2f(<2 x float> %303, float noundef %302)
  store <2 x float> %304, ptr %68, align 4
  %305 = load float, ptr %30, align 4, !tbaa !10
  %306 = fadd float 1.000000e+00, %305
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.Particle, ptr %307, i32 0, i32 5
  %309 = load float, ptr %308, align 4, !tbaa !20
  %310 = fmul float %306, %309
  %311 = load ptr, ptr %5, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.Particle, ptr %311, i32 0, i32 5
  %313 = load float, ptr %312, align 4, !tbaa !20
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.Particle, ptr %314, i32 0, i32 5
  %316 = load float, ptr %315, align 4, !tbaa !20
  %317 = fadd float %313, %316
  %318 = fdiv float %310, %317
  store float %318, ptr %58, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #5
  %319 = load ptr, ptr %6, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.Particle, ptr %319, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 4 %320, i64 8, i1 false), !tbaa.struct !9
  %321 = load ptr, ptr %5, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.Particle, ptr %321, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %322, i64 8, i1 false), !tbaa.struct !9
  %323 = load <2 x float>, ptr %71, align 4
  %324 = load <2 x float>, ptr %72, align 4
  %325 = call <2 x float> @_Zmi4vec2S_(<2 x float> %323, <2 x float> %324)
  store <2 x float> %325, ptr %70, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 %70, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #5
  %326 = load ptr, ptr %6, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.Particle, ptr %326, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 4 %327, i64 8, i1 false), !tbaa.struct !9
  %328 = load ptr, ptr %5, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.Particle, ptr %328, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %329, i64 8, i1 false), !tbaa.struct !9
  %330 = load <2 x float>, ptr %74, align 4
  %331 = load <2 x float>, ptr %75, align 4
  %332 = call <2 x float> @_Zmi4vec2S_(<2 x float> %330, <2 x float> %331)
  store <2 x float> %332, ptr %73, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 %73, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %59, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 %62, i64 8, i1 false), !tbaa.struct !9
  %333 = load <2 x float>, ptr %77, align 4
  %334 = load <2 x float>, ptr %78, align 4
  %335 = call <2 x float> @_Z7project4vec2S_(<2 x float> %333, <2 x float> %334)
  store <2 x float> %335, ptr %76, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %76, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 4 %65, i64 8, i1 false), !tbaa.struct !9
  %336 = load float, ptr %58, align 4, !tbaa !10
  %337 = load <2 x float>, ptr %80, align 4
  %338 = call <2 x float> @_Zml4vec2f(<2 x float> %337, float noundef %336)
  store <2 x float> %338, ptr %79, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %68, i64 8, i1 false), !tbaa.struct !9
  %339 = load ptr, ptr %5, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.Particle, ptr %339, i32 0, i32 2
  %341 = load <2 x float>, ptr %81, align 4
  %342 = call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %340, <2 x float> %341)
  store <2 x float> %342, ptr %82, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 4 %79, i64 8, i1 false), !tbaa.struct !9
  %343 = load ptr, ptr %6, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.Particle, ptr %343, i32 0, i32 2
  %345 = load <2 x float>, ptr %83, align 4
  %346 = call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %344, <2 x float> %345)
  store <2 x float> %346, ptr %84, align 4
  store i32 1, ptr %44, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #5
  br label %348

347:                                              ; preds = %265, %260
  store i32 0, ptr %44, align 4
  br label %348

348:                                              ; preds = %347, %270, %233, %196
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %349 = load i32, ptr %44, align 4
  switch i32 %349, label %351 [
    i32 0, label %350
    i32 1, label %350
  ]

350:                                              ; preds = %348, %348
  ret void

351:                                              ; preds = %348
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zmi4vec2S_(<2 x float>, <2 x float>) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8), <2 x float>) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z7project4vec2S_(<2 x float>, <2 x float>) #1

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 #2 = { inlinehint mustprogress 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress 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 #5 = { 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 = !{i64 0, i64 4, !10, i64 4, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !11, i64 24}
!13 = !{!"_ZTS8Particle", !14, i64 0, !15, i64 4, !15, i64 12, !11, i64 20, !11, i64 24, !11, i64 28, !15, i64 32, !7, i64 40}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS4vec2", !11, i64 0, !11, i64 4}
!16 = !{!13, !14, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!13, !11, i64 20}
!20 = !{!13, !11, i64 28}


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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZN4vec2pLES_(ptr noundef nonnull align 4 dereferenceable(8), <2 x float>) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z6length4vec2(<2 x float>) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zml4vec2f(<2 x float>, float noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z9normalize4vec2(<2 x float>) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Particle16ResolveCollisionEPS_(ptr noundef nonnull align 4 dereferenceable(56) %0, ptr noundef %1) local_unnamed_addr #2 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 4
  %.sroa.083.0.copyload = load <2 x float>, ptr %3, align 4
  %4 = getelementptr inbounds i8, ptr %1, i64 4
  %.sroa.082.0.copyload = load <2 x float>, ptr %4, align 4
  %5 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.083.0.copyload, <2 x float> %.sroa.082.0.copyload)
  %6 = tail call <2 x float> @_Z9normalize4vec2(<2 x float> %5)
  %.sroa.079.0.copyload = load <2 x float>, ptr %3, align 4
  %.sroa.078.0.copyload = load <2 x float>, ptr %4, align 4
  %7 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.079.0.copyload, <2 x float> %.sroa.078.0.copyload)
  %8 = tail call noundef float @_Z6length4vec2(<2 x float> %7)
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load float, ptr %9, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %1, i64 24
  %12 = load float, ptr %11, align 4, !tbaa !5
  %13 = fadd float %10, %12
  %14 = fsub float %13, %8
  %15 = load i8, ptr %0, align 4, !tbaa !12, !range !13, !noundef !14
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %17, label %23

17:                                               ; preds = %2
  %18 = load i8, ptr %1, align 4, !tbaa !12, !range !13, !noundef !14
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %23, label %20

20:                                               ; preds = %17
  %21 = tail call <2 x float> @_Zml4vec2f(<2 x float> %6, float noundef %14)
  %22 = tail call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %4, <2 x float> %21)
  %.pre = load i8, ptr %0, align 4, !tbaa !12, !range !13
  br label %23

23:                                               ; preds = %20, %17, %2
  %24 = phi i8 [ %.pre, %20 ], [ %15, %17 ], [ %15, %2 ]
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %32, label %26

26:                                               ; preds = %23
  %27 = load i8, ptr %1, align 4, !tbaa !12, !range !13, !noundef !14
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %32

29:                                               ; preds = %26
  %30 = tail call <2 x float> @_Zml4vec2f(<2 x float> %6, float noundef %14)
  %31 = tail call <2 x float> @_ZN4vec2pLES_(ptr noundef nonnull align 4 dereferenceable(8) %3, <2 x float> %30)
  %.pre142 = load i8, ptr %0, align 4, !tbaa !12, !range !13
  br label %32

32:                                               ; preds = %29, %26, %23
  %33 = phi i8 [ %.pre142, %29 ], [ %24, %26 ], [ %24, %23 ]
  %34 = trunc nuw i8 %33 to i1
  br i1 %34, label %45, label %35

35:                                               ; preds = %32
  %36 = load i8, ptr %1, align 4, !tbaa !12, !range !13, !noundef !14
  %37 = trunc nuw i8 %36 to i1
  br i1 %37, label %45, label %38

38:                                               ; preds = %35
  %39 = tail call <2 x float> @_Zml4vec2f(<2 x float> %6, float noundef %14)
  %40 = tail call <2 x float> @_Zml4vec2f(<2 x float> %39, float noundef 5.000000e-01)
  %41 = tail call <2 x float> @_ZN4vec2pLES_(ptr noundef nonnull align 4 dereferenceable(8) %3, <2 x float> %40)
  %42 = tail call <2 x float> @_Zml4vec2f(<2 x float> %6, float noundef %14)
  %43 = tail call <2 x float> @_Zml4vec2f(<2 x float> %42, float noundef 5.000000e-01)
  %44 = tail call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %4, <2 x float> %43)
  %.pre143 = load i8, ptr %0, align 4, !tbaa !12, !range !13
  br label %45

45:                                               ; preds = %38, %35, %32
  %46 = phi i8 [ %.pre143, %38 ], [ %33, %35 ], [ %33, %32 ]
  %47 = getelementptr inbounds i8, ptr %0, i64 20
  %48 = load float, ptr %47, align 4, !tbaa !15
  %49 = getelementptr inbounds i8, ptr %1, i64 20
  %50 = load float, ptr %49, align 4, !tbaa !15
  %51 = fadd float %48, %50
  %52 = fmul float %51, 5.000000e-01
  %53 = trunc nuw i8 %46 to i1
  %54 = load i8, ptr %1, align 4, !tbaa !12, !range !13, !noundef !14
  %55 = trunc nuw i8 %54 to i1
  br i1 %53, label %66, label %56

56:                                               ; preds = %45
  %57 = fadd float %52, 1.000000e+00
  br i1 %55, label %58, label %76

58:                                               ; preds = %56
  %59 = getelementptr inbounds i8, ptr %0, i64 12
  %.sroa.053.0.copyload = load <2 x float>, ptr %59, align 4
  %60 = getelementptr inbounds i8, ptr %1, i64 12
  %.sroa.052.0.copyload = load <2 x float>, ptr %60, align 4
  %61 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.053.0.copyload, <2 x float> %.sroa.052.0.copyload)
  %.sroa.050.0.copyload = load <2 x float>, ptr %3, align 4
  %.sroa.049.0.copyload = load <2 x float>, ptr %4, align 4
  %62 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.050.0.copyload, <2 x float> %.sroa.049.0.copyload)
  %63 = tail call <2 x float> @_Z7project4vec2S_(<2 x float> %61, <2 x float> %62)
  %64 = tail call <2 x float> @_Zml4vec2f(<2 x float> %63, float noundef %57)
  %65 = tail call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %59, <2 x float> %64)
  br label %.thread141

66:                                               ; preds = %45
  br i1 %55, label %.thread141, label %67

67:                                               ; preds = %66
  %68 = fadd float %52, 1.000000e+00
  %69 = getelementptr inbounds i8, ptr %1, i64 12
  %.sroa.040.0.copyload = load <2 x float>, ptr %69, align 4
  %70 = getelementptr inbounds i8, ptr %0, i64 12
  %.sroa.039.0.copyload = load <2 x float>, ptr %70, align 4
  %71 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.040.0.copyload, <2 x float> %.sroa.039.0.copyload)
  %.sroa.037.0.copyload = load <2 x float>, ptr %4, align 4
  %.sroa.036.0.copyload = load <2 x float>, ptr %3, align 4
  %72 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.037.0.copyload, <2 x float> %.sroa.036.0.copyload)
  %73 = tail call <2 x float> @_Z7project4vec2S_(<2 x float> %71, <2 x float> %72)
  %74 = tail call <2 x float> @_Zml4vec2f(<2 x float> %73, float noundef %68)
  %75 = tail call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %69, <2 x float> %74)
  br label %.thread141

76:                                               ; preds = %56
  %77 = getelementptr inbounds i8, ptr %1, i64 28
  %78 = load float, ptr %77, align 4, !tbaa !16
  %79 = fmul float %57, %78
  %80 = getelementptr inbounds i8, ptr %0, i64 28
  %81 = load float, ptr %80, align 4, !tbaa !16
  %82 = fadd float %78, %81
  %83 = fdiv float %79, %82
  %84 = getelementptr inbounds i8, ptr %0, i64 12
  %.sroa.026.0.copyload = load <2 x float>, ptr %84, align 4
  %85 = getelementptr inbounds i8, ptr %1, i64 12
  %.sroa.025.0.copyload = load <2 x float>, ptr %85, align 4
  %86 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.026.0.copyload, <2 x float> %.sroa.025.0.copyload)
  %.sroa.022.0.copyload = load <2 x float>, ptr %3, align 4
  %.sroa.021.0.copyload = load <2 x float>, ptr %4, align 4
  %87 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.022.0.copyload, <2 x float> %.sroa.021.0.copyload)
  %88 = tail call <2 x float> @_Z7project4vec2S_(<2 x float> %86, <2 x float> %87)
  %89 = tail call <2 x float> @_Zml4vec2f(<2 x float> %88, float noundef %83)
  %90 = load float, ptr %80, align 4, !tbaa !16
  %91 = fmul float %57, %90
  %92 = load float, ptr %77, align 4, !tbaa !16
  %93 = fadd float %90, %92
  %94 = fdiv float %91, %93
  %.sroa.013.0.copyload = load <2 x float>, ptr %85, align 4
  %.sroa.012.0.copyload = load <2 x float>, ptr %84, align 4
  %95 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.013.0.copyload, <2 x float> %.sroa.012.0.copyload)
  %.sroa.010.0.copyload = load <2 x float>, ptr %4, align 4
  %.sroa.09.0.copyload = load <2 x float>, ptr %3, align 4
  %96 = tail call <2 x float> @_Zmi4vec2S_(<2 x float> %.sroa.010.0.copyload, <2 x float> %.sroa.09.0.copyload)
  %97 = tail call <2 x float> @_Z7project4vec2S_(<2 x float> %95, <2 x float> %96)
  %98 = tail call <2 x float> @_Zml4vec2f(<2 x float> %97, float noundef %94)
  %99 = tail call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %84, <2 x float> %89)
  %100 = tail call <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8) %85, <2 x float> %98)
  br label %.thread141

.thread141:                                       ; preds = %66, %76, %67, %58
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zmi4vec2S_(<2 x float>, <2 x float>) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZN4vec2mIES_(ptr noundef nonnull align 4 dereferenceable(8), <2 x float>) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Z7project4vec2S_(<2 x float>, <2 x float>) local_unnamed_addr #0

attributes #0 = { inlinehint mustprogress 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 #1 = { inlinehint mustprogress 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 #2 = { mustprogress 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" }

!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, !11, i64 24}
!6 = !{!"_ZTS8Particle", !7, i64 0, !10, i64 4, !10, i64 12, !11, i64 20, !11, i64 24, !11, i64 28, !10, i64 32, !8, i64 40}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS4vec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!6, !11, i64 20}
!16 = !{!6, !11, i64 28}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass