; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Vehicle (VehicleCollisionTester)

; 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.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.29 }
%union.anon.29 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::WheelSettings" = type <{ %"class.JPH::SerializableObject", %"class.JPH::RefTarget.25", [4 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", %"class.JPH::Vec3", float, float, float, %"class.JPH::SpringSettings", float, float, i8, [15 x i8] }>
%"class.JPH::SerializableObject" = type { ptr }
%"class.JPH::RefTarget.25" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::SpringSettings" = type { i8, %union.anon.26, float }
%union.anon.26 = type { float }

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404)) #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) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH5ClampIfEET_S1_S1_S1_(float noundef, float noundef, float noundef) #5

declare void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(408), i32 noundef, double, double, double, double) #6

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisYEv() #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisXEv() #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH34VehicleCollisionTesterCastCylinder24PredictContactPropertiesERNS_13PhysicsSystemERKNS_17VehicleConstraintEjNS_4Vec3ES6_RKNS_6BodyIDERPNS_4BodyERNS_10SubShapeIDERS6_SF_Rf(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 16 dereferenceable(1172) %1, ptr noundef nonnull align 16 dereferenceable(408) %2, i32 noundef %3, double %4, double %5, double %6, double %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 16 dereferenceable(16) %11, ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) %13) unnamed_addr #1 align 2 {
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca float, align 4
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca %"class.JPH::Mat44", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca %"class.JPH::Vec3", align 16
  %45 = alloca %"class.JPH::Vec3", align 16
  %46 = alloca %"class.JPH::Vec3", align 16
  %47 = alloca %"class.JPH::Vec3", align 16
  %48 = alloca %"class.JPH::Vec3", align 16
  %49 = alloca %"class.JPH::Vec3", align 16
  %50 = alloca %"class.JPH::Vec3", align 16
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::Vec3", align 16
  %54 = alloca %"class.JPH::Vec3", align 16
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  store double %4, ptr %56, align 16
  %57 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  store double %5, ptr %57, align 8
  %58 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  store double %6, ptr %58, align 16
  %59 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  store double %7, ptr %59, align 8
  store ptr %0, ptr %17, align 8, !tbaa !5
  store ptr %1, ptr %18, align 8, !tbaa !5
  store ptr %2, ptr %19, align 8, !tbaa !5
  store i32 %3, ptr %20, align 4, !tbaa !9
  store ptr %8, ptr %21, align 8, !tbaa !5
  store ptr %9, ptr %22, align 8, !tbaa !5
  store ptr %10, ptr %23, align 8, !tbaa !5
  store ptr %11, ptr %24, align 8, !tbaa !5
  store ptr %12, ptr %25, align 8, !tbaa !5
  store ptr %13, ptr %26, align 8, !tbaa !5
  %60 = load ptr, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %61 = load ptr, ptr %19, align 8, !tbaa !5
  %62 = load i32, ptr %20, align 4, !tbaa !9
  %63 = call noundef ptr @_ZNK3JPH17VehicleConstraint8GetWheelEj(ptr noundef nonnull align 16 dereferenceable(408) %61, i32 noundef %62)
  %64 = call noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404) %63)
  store ptr %64, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  %65 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %65, i64 16, i1 false), !tbaa.struct !11
  %66 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %67 = load double, ptr %66, align 16
  %68 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %69 = load double, ptr %68, align 8
  %70 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %16, double %67, double %69)
  store float %70, ptr %28, align 4, !tbaa !13
  %71 = load float, ptr %28, align 4, !tbaa !13
  %72 = fcmp olt float %71, 0xBEB0C6F7A0000000
  br i1 %72, label %73, label %231

73:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %74 = load ptr, ptr %27, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %74, i32 0, i32 14
  %76 = load float, ptr %75, align 4, !tbaa !15
  %77 = fmul float 5.000000e-01, %76
  store float %77, ptr %30, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %78 = load ptr, ptr %27, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %78, i32 0, i32 13
  %80 = load float, ptr %79, align 8, !tbaa !25
  store float %80, ptr %31, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #9
  %81 = load ptr, ptr %19, align 8, !tbaa !5
  %82 = load i32, ptr %20, align 4, !tbaa !9
  %83 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %84 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %85 = getelementptr inbounds %union.anon, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds { double, double }, ptr %85, i32 0, i32 0
  %87 = extractvalue { double, double } %83, 0
  store double %87, ptr %86, align 16
  %88 = getelementptr inbounds { double, double }, ptr %85, i32 0, i32 1
  %89 = extractvalue { double, double } %83, 1
  store double %89, ptr %88, align 8
  %90 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %91 = getelementptr inbounds %"class.JPH::Vec3", ptr %34, i32 0, i32 0
  %92 = getelementptr inbounds %union.anon, ptr %91, i32 0, i32 0
  %93 = getelementptr inbounds { double, double }, ptr %92, i32 0, i32 0
  %94 = extractvalue { double, double } %90, 0
  store double %94, ptr %93, align 16
  %95 = getelementptr inbounds { double, double }, ptr %92, i32 0, i32 1
  %96 = extractvalue { double, double } %90, 1
  store double %96, ptr %95, align 8
  %97 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %98 = load double, ptr %97, align 16
  %99 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %100 = load double, ptr %99, align 8
  %101 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %102 = load double, ptr %101, align 16
  %103 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %104 = load double, ptr %103, align 8
  call void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %32, ptr noundef nonnull align 16 dereferenceable(408) %81, i32 noundef %82, double %98, double %100, double %102, double %104)
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #9
  %105 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %105, i64 16, i1 false), !tbaa.struct !11
  %106 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %107 = load double, ptr %106, align 16
  %108 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %109 = load double, ptr %108, align 8
  %110 = call { double, double } @_ZNK3JPH5Mat4421Multiply3x3TransposedENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %32, double %107, double %109)
  %111 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i32 0, i32 0
  %112 = getelementptr inbounds %union.anon, ptr %111, i32 0, i32 0
  %113 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 0
  %114 = extractvalue { double, double } %110, 0
  store double %114, ptr %113, align 16
  %115 = getelementptr inbounds { double, double }, ptr %112, i32 0, i32 1
  %116 = extractvalue { double, double } %110, 1
  store double %116, ptr %115, align 8
  %117 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %36)
  %118 = getelementptr inbounds %"class.JPH::Vec3", ptr %35, i32 0, i32 0
  %119 = getelementptr inbounds %union.anon, ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 0
  %121 = extractvalue { double, double } %117, 0
  store double %121, ptr %120, align 16
  %122 = getelementptr inbounds { double, double }, ptr %119, i32 0, i32 1
  %123 = extractvalue { double, double } %117, 1
  store double %123, ptr %122, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %124 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %35)
  store float %124, ptr %38, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  %125 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %35)
  store float %125, ptr %39, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %126 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %35)
  store float %126, ptr %40, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %127 = load float, ptr %38, align 4, !tbaa !13
  %128 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %127)
  %129 = load float, ptr %40, align 4, !tbaa !13
  %130 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %129)
  %131 = fadd float %128, %130
  %132 = call noundef float @_ZSt4sqrtf(float noundef %131)
  store float %132, ptr %41, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #9
  %133 = load float, ptr %41, align 4, !tbaa !13
  %134 = fcmp ogt float %133, 0.000000e+00
  br i1 %134, label %135, label %150

135:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #9
  %136 = load float, ptr %31, align 4, !tbaa !13
  %137 = load float, ptr %38, align 4, !tbaa !13
  %138 = fmul float %136, %137
  %139 = load float, ptr %41, align 4, !tbaa !13
  %140 = fdiv float %138, %139
  %141 = load float, ptr %39, align 4, !tbaa !13
  %142 = call noundef float @_ZN3JPH4SignIfEET_S1_(float noundef %141)
  %143 = load float, ptr %30, align 4, !tbaa !13
  %144 = fmul float %142, %143
  %145 = load float, ptr %31, align 4, !tbaa !13
  %146 = load float, ptr %40, align 4, !tbaa !13
  %147 = fmul float %145, %146
  %148 = load float, ptr %41, align 4, !tbaa !13
  %149 = fdiv float %147, %148
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %43, float noundef %140, float noundef %144, float noundef %149)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #9
  br label %155

150:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #9
  %151 = load float, ptr %39, align 4, !tbaa !13
  %152 = call noundef float @_ZN3JPH4SignIfEET_S1_(float noundef %151)
  %153 = load float, ptr %30, align 4, !tbaa !13
  %154 = fmul float %152, %153
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %44, float noundef 0.000000e+00, float noundef %154, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 %44, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #9
  br label %155

155:                                              ; preds = %150, %135
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %46, ptr align 16 %42, i64 16, i1 false), !tbaa.struct !11
  %156 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 0
  %157 = load double, ptr %156, align 16
  %158 = getelementptr inbounds { double, double }, ptr %46, i32 0, i32 1
  %159 = load double, ptr %158, align 8
  %160 = call { double, double } @_ZNK3JPH5Mat4411Multiply3x3ENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %32, double %157, double %159)
  %161 = getelementptr inbounds %"class.JPH::Vec3", ptr %45, i32 0, i32 0
  %162 = getelementptr inbounds %union.anon, ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds { double, double }, ptr %162, i32 0, i32 0
  %164 = extractvalue { double, double } %160, 0
  store double %164, ptr %163, align 16
  %165 = getelementptr inbounds { double, double }, ptr %162, i32 0, i32 1
  %166 = extractvalue { double, double } %160, 1
  store double %166, ptr %165, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %42, ptr align 16 %45, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 %42, i64 16, i1 false), !tbaa.struct !11
  %167 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %168 = load double, ptr %167, align 16
  %169 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %170 = load double, ptr %169, align 8
  %171 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %168, double %170)
  %172 = getelementptr inbounds %"class.JPH::Vec3", ptr %47, i32 0, i32 0
  %173 = getelementptr inbounds %union.anon, ptr %172, i32 0, i32 0
  %174 = getelementptr inbounds { double, double }, ptr %173, i32 0, i32 0
  %175 = extractvalue { double, double } %171, 0
  store double %175, ptr %174, align 16
  %176 = getelementptr inbounds { double, double }, ptr %173, i32 0, i32 1
  %177 = extractvalue { double, double } %171, 1
  store double %177, ptr %176, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #9
  %178 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %50, ptr align 16 %47, i64 16, i1 false), !tbaa.struct !11
  %179 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %180 = load double, ptr %179, align 16
  %181 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %182 = load double, ptr %181, align 8
  %183 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %178, double %180, double %182)
  %184 = getelementptr inbounds %"class.JPH::Vec3", ptr %49, i32 0, i32 0
  %185 = getelementptr inbounds %union.anon, ptr %184, i32 0, i32 0
  %186 = getelementptr inbounds { double, double }, ptr %185, i32 0, i32 0
  %187 = extractvalue { double, double } %183, 0
  store double %187, ptr %186, align 16
  %188 = getelementptr inbounds { double, double }, ptr %185, i32 0, i32 1
  %189 = extractvalue { double, double } %183, 1
  store double %189, ptr %188, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #9
  %190 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %53, ptr align 16 %190, i64 16, i1 false), !tbaa.struct !11
  %191 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 0
  %192 = load double, ptr %191, align 16
  %193 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 1
  %194 = load double, ptr %193, align 8
  %195 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %49, double %192, double %194)
  %196 = load float, ptr %28, align 4, !tbaa !13
  %197 = fdiv float %195, %196
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 16 %16, i64 16, i1 false), !tbaa.struct !11
  %198 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %199 = load double, ptr %198, align 16
  %200 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %201 = load double, ptr %200, align 8
  %202 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %197, double %199, double %201)
  %203 = getelementptr inbounds %"class.JPH::Vec3", ptr %52, i32 0, i32 0
  %204 = getelementptr inbounds %union.anon, ptr %203, i32 0, i32 0
  %205 = getelementptr inbounds { double, double }, ptr %204, i32 0, i32 0
  %206 = extractvalue { double, double } %202, 0
  store double %206, ptr %205, align 16
  %207 = getelementptr inbounds { double, double }, ptr %204, i32 0, i32 1
  %208 = extractvalue { double, double } %202, 1
  store double %208, ptr %207, align 8
  %209 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %210 = load double, ptr %209, align 16
  %211 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %212 = load double, ptr %211, align 8
  %213 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %47, double %210, double %212)
  %214 = getelementptr inbounds %"class.JPH::Vec3", ptr %51, i32 0, i32 0
  %215 = getelementptr inbounds %union.anon, ptr %214, i32 0, i32 0
  %216 = getelementptr inbounds { double, double }, ptr %215, i32 0, i32 0
  %217 = extractvalue { double, double } %213, 0
  store double %217, ptr %216, align 16
  %218 = getelementptr inbounds { double, double }, ptr %215, i32 0, i32 1
  %219 = extractvalue { double, double } %213, 1
  store double %219, ptr %218, align 8
  %220 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %220, ptr align 16 %51, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %55, ptr align 16 %16, i64 16, i1 false), !tbaa.struct !11
  %221 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %222 = load double, ptr %221, align 16
  %223 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %224 = load double, ptr %223, align 8
  %225 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %49, double %222, double %224)
  %226 = load ptr, ptr %27, align 8, !tbaa !5
  %227 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %226, i32 0, i32 10
  %228 = load float, ptr %227, align 4, !tbaa !26
  %229 = call noundef float @_ZN3JPH5ClampIfEET_S1_S1_S1_(float noundef %225, float noundef 0.000000e+00, float noundef %228)
  %230 = load ptr, ptr %26, align 8, !tbaa !5
  store float %229, ptr %230, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %236

231:                                              ; preds = %14
  %232 = load ptr, ptr %27, align 8, !tbaa !5
  %233 = getelementptr inbounds %"class.JPH::WheelSettings", ptr %232, i32 0, i32 10
  %234 = load float, ptr %233, align 4, !tbaa !26
  %235 = load ptr, ptr %26, align 8, !tbaa !5
  store float %234, ptr %235, align 4, !tbaa !13
  br label %236

236:                                              ; preds = %231, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4421Multiply3x3TransposedENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), double, double) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16)) #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16)) #7 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16)) #4 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #8

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH4SignIfEET_S1_(float noundef) #4

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4411Multiply3x3ENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), double, double) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline 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 #5 = { alwaysinline 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 #6 = { "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 #7 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !14, i64 140}
!16 = !{!"_ZTSN3JPH13WheelSettingsE", !17, i64 0, !18, i64 8, !21, i64 16, !21, i64 32, !21, i64 48, !21, i64 64, !21, i64 80, !21, i64 96, !14, i64 112, !14, i64 116, !14, i64 120, !22, i64 124, !14, i64 136, !14, i64 140, !24, i64 144}
!17 = !{!"_ZTSN3JPH18SerializableObjectE"}
!18 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !19, i64 0}
!19 = !{!"_ZTSSt6atomicIjE", !20, i64 0}
!20 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!21 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!22 = !{!"_ZTSN3JPH14SpringSettingsE", !23, i64 0, !7, i64 4, !14, i64 8}
!23 = !{!"_ZTSN3JPH11ESpringModeE", !7, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{!16, !14, i64 136}
!26 = !{!16, !14, i64 116}


; 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.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.29 }
%union.anon.29 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }

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

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

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

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZN3JPH5ClampIfEET_S1_S1_S1_(float noundef, float noundef, float noundef) local_unnamed_addr #4

declare void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(408), i32 noundef, double, double, double, double) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisYEv() local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisXEv() local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH34VehicleCollisionTesterCastCylinder24PredictContactPropertiesERNS_13PhysicsSystemERKNS_17VehicleConstraintEjNS_4Vec3ES6_RKNS_6BodyIDERPNS_4BodyERNS_10SubShapeIDERS6_SF_Rf(ptr nocapture noundef nonnull readnone align 8 dereferenceable(48) %0, ptr nocapture noundef nonnull readnone align 16 dereferenceable(1172) %1, ptr noundef nonnull align 16 dereferenceable(408) %2, i32 noundef %3, double %4, double %5, double %6, double %7, ptr nocapture noundef nonnull readnone align 4 dereferenceable(4) %8, ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %9, ptr nocapture noundef nonnull readnone align 4 dereferenceable(4) %10, ptr noundef nonnull align 16 dereferenceable(16) %11, ptr nocapture noundef nonnull readonly align 16 dereferenceable(16) %12, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %13) unnamed_addr #1 align 2 {
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Mat44", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  store double %4, ptr %15, align 16
  %24 = getelementptr inbounds i8, ptr %15, i64 8
  store double %5, ptr %24, align 8
  store double %6, ptr %16, align 16
  %25 = getelementptr inbounds i8, ptr %16, i64 8
  store double %7, ptr %25, align 8
  %26 = tail call noundef ptr @_ZNK3JPH17VehicleConstraint8GetWheelEj(ptr noundef nonnull align 16 dereferenceable(408) %2, i32 noundef %3)
  %27 = tail call noundef ptr @_ZNK3JPH5Wheel11GetSettingsEv(ptr noundef nonnull align 16 dereferenceable(404) %26)
  %.sroa.038.0.copyload = load double, ptr %12, align 16
  %.sroa.239.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.239.0.copyload = load double, ptr %.sroa.239.0..sroa_idx, align 8, !tbaa !5
  %28 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %16, double %.sroa.038.0.copyload, double %.sroa.239.0.copyload)
  %29 = fcmp olt float %28, 0xBEB0C6F7A0000000
  br i1 %29, label %30, label %97

30:                                               ; preds = %14
  %31 = getelementptr inbounds i8, ptr %27, i64 140
  %32 = load float, ptr %31, align 4, !tbaa !8
  %33 = fmul float %32, 5.000000e-01
  %34 = getelementptr inbounds i8, ptr %27, i64 136
  %35 = load float, ptr %34, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #8
  %36 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %37 = extractvalue { double, double } %36, 0
  %38 = extractvalue { double, double } %36, 1
  %39 = call { double, double } @_ZN3JPH4Vec36sAxisXEv()
  %40 = extractvalue { double, double } %39, 0
  %41 = extractvalue { double, double } %39, 1
  call void @_ZNK3JPH17VehicleConstraint22GetWheelWorldTransformEjNS_4Vec3ES1_(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %17, ptr noundef nonnull align 16 dereferenceable(408) %2, i32 noundef %3, double %37, double %38, double %40, double %41)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #8
  %.sroa.028.0.copyload = load double, ptr %12, align 16
  %.sroa.229.0.copyload = load double, ptr %.sroa.239.0..sroa_idx, align 8, !tbaa !5
  %42 = call { double, double } @_ZNK3JPH5Mat4421Multiply3x3TransposedENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %17, double %.sroa.028.0.copyload, double %.sroa.229.0.copyload)
  %43 = extractvalue { double, double } %42, 0
  store double %43, ptr %19, align 16
  %44 = getelementptr inbounds i8, ptr %19, i64 8
  %45 = extractvalue { double, double } %42, 1
  store double %45, ptr %44, align 8
  %46 = call { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16) %19)
  %47 = extractvalue { double, double } %46, 0
  store double %47, ptr %18, align 16
  %48 = getelementptr inbounds i8, ptr %18, i64 8
  %49 = extractvalue { double, double } %46, 1
  store double %49, ptr %48, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  %50 = call noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  %51 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  %52 = call noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  %53 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %50)
  %54 = call noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef %52)
  %55 = fadd float %53, %54
  %56 = call noundef float @_ZSt4sqrtf(float noundef %55)
  %57 = fcmp ogt float %56, 0.000000e+00
  br i1 %57, label %58, label %66

58:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #8
  %59 = fmul float %35, %50
  %60 = fdiv float %59, %56
  %61 = call noundef float @_ZN3JPH4SignIfEET_S1_(float noundef %51)
  %62 = fmul float %33, %61
  %63 = fmul float %35, %52
  %64 = fdiv float %63, %56
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %20, float noundef %60, float noundef %62, float noundef %64)
  %65 = load <2 x double>, ptr %20, align 16
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  br label %70

66:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  %67 = call noundef float @_ZN3JPH4SignIfEET_S1_(float noundef %51)
  %68 = fmul float %33, %67
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %21, float noundef 0.000000e+00, float noundef %68, float noundef 0.000000e+00)
  %69 = load <2 x double>, ptr %21, align 16
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  br label %70

70:                                               ; preds = %66, %58
  %71 = phi <2 x double> [ %65, %58 ], [ %69, %66 ]
  %72 = extractelement <2 x double> %71, i64 0
  %73 = extractelement <2 x double> %71, i64 1
  %74 = call { double, double } @_ZNK3JPH5Mat4411Multiply3x3ENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %17, double %72, double %73)
  %75 = extractvalue { double, double } %74, 0
  %76 = extractvalue { double, double } %74, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #8
  %77 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %15, double %75, double %76)
  %78 = extractvalue { double, double } %77, 0
  store double %78, ptr %22, align 16
  %79 = getelementptr inbounds i8, ptr %22, i64 8
  %80 = extractvalue { double, double } %77, 1
  store double %80, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #8
  %81 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %78, double %80)
  %82 = extractvalue { double, double } %81, 0
  store double %82, ptr %23, align 16
  %83 = getelementptr inbounds i8, ptr %23, i64 8
  %84 = extractvalue { double, double } %81, 1
  store double %84, ptr %83, align 8
  %.sroa.03.0.copyload = load double, ptr %12, align 16
  %.sroa.24.0.copyload = load double, ptr %.sroa.239.0..sroa_idx, align 8, !tbaa !5
  %85 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %23, double %.sroa.03.0.copyload, double %.sroa.24.0.copyload)
  %86 = fdiv float %85, %28
  %.sroa.01.0.copyload = load double, ptr %16, align 16
  %.sroa.22.0.copyload = load double, ptr %25, align 8, !tbaa !5
  %87 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %86, double %.sroa.01.0.copyload, double %.sroa.22.0.copyload)
  %88 = extractvalue { double, double } %87, 0
  %89 = extractvalue { double, double } %87, 1
  %90 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %22, double %88, double %89)
  %91 = extractvalue { double, double } %90, 0
  %92 = extractvalue { double, double } %90, 1
  store double %91, ptr %11, align 16
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  store double %92, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !5
  %.sroa.0.0.copyload = load double, ptr %16, align 16
  %.sroa.2.0.copyload = load double, ptr %25, align 8, !tbaa !5
  %93 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %23, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %94 = getelementptr inbounds i8, ptr %27, i64 116
  %95 = load float, ptr %94, align 4, !tbaa !21
  %96 = call noundef float @_ZN3JPH5ClampIfEET_S1_S1_S1_(float noundef %93, float noundef 0.000000e+00, float noundef %95)
  store float %96, ptr %13, align 4, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #8
  br label %100

97:                                               ; preds = %14
  %98 = getelementptr inbounds i8, ptr %27, i64 116
  %99 = load float, ptr %98, align 4, !tbaa !21
  store float %99, ptr %13, align 4, !tbaa !22
  br label %100

100:                                              ; preds = %97, %70
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4421Multiply3x3TransposedENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), double, double) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3ngEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetXEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec34GetZEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #7

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH6SquareIfEET_S1_(float noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3JPH4SignIfEET_S1_(float noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH5Mat4411Multiply3x3ENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64), double, double) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !16, i64 140}
!9 = !{!"_ZTSN3JPH13WheelSettingsE", !10, i64 0, !11, i64 8, !15, i64 16, !15, i64 32, !15, i64 48, !15, i64 64, !15, i64 80, !15, i64 96, !16, i64 112, !16, i64 116, !16, i64 120, !17, i64 124, !16, i64 136, !16, i64 140, !19, i64 144}
!10 = !{!"_ZTSN3JPH18SerializableObjectE"}
!11 = !{!"_ZTSN3JPH9RefTargetINS_13WheelSettingsEEE", !12, i64 0}
!12 = !{!"_ZTSSt6atomicIjE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIjE", !14, i64 0}
!14 = !{!"int", !6, i64 0}
!15 = !{!"_ZTSN3JPH4Vec3E", !6, i64 0}
!16 = !{!"float", !6, i64 0}
!17 = !{!"_ZTSN3JPH14SpringSettingsE", !18, i64 0, !6, i64 4, !16, i64 8}
!18 = !{!"_ZTSN3JPH11ESpringModeE", !6, i64 0}
!19 = !{!"bool", !6, i64 0}
!20 = !{!9, !16, i64 136}
!21 = !{!9, !16, i64 116}
!22 = !{!16, !16, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass