; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Collision/Shape (TaperedCylinderShape)

; 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::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"struct.JPH::AssertLastParam" = type { i8 }
%"class.JPH::Mat44" = type { [4 x %"class.JPH::Vec4"] }
%"class.JPH::Vec4" = type { %union.anon.6 }
%union.anon.6 = type { <4 x float> }
%"class.JPH::CollideSoftBodyVertexIterator" = type { %"class.JPH::StridedPtr", %"class.JPH::StridedPtr.7", %"class.JPH::StridedPtr.9", %"class.JPH::StridedPtr.11", %"class.JPH::StridedPtr.13" }
%"class.JPH::StridedPtr" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.7" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.9" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.11" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.13" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }

@.str.8 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [106 x i8], align 1

; 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: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH20TaperedCylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(64), double, double) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH20TaperedCylinderShape9GetScaledENS_4Vec3ERfS2_S2_S2_S2_(ptr noundef nonnull align 8 dereferenceable(64), double, double, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden { double, double } @_ZN3JPHL22sCalculateSideNormalXZENS_4Vec3E(double, double) #5

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden { double, double } @_ZN3JPHL20sCalculateSideNormalENS_4Vec3Effff(double, double, float noundef, float noundef, float noundef, float noundef) #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH20TaperedCylinderShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3ERKNS_29CollideSoftBodyVertexIteratorEji(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, double %2, double %3, ptr noundef nonnull align 8 dereferenceable(80) %4, i32 noundef %5, i32 noundef %6) unnamed_addr #2 align 2 {
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"struct.JPH::AssertLastParam", align 1
  %16 = alloca %"class.JPH::Mat44", align 16
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Vec3", align 16
  %25 = alloca %"class.JPH::CollideSoftBodyVertexIterator", align 8
  %26 = alloca %"class.JPH::CollideSoftBodyVertexIterator", align 8
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", 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 float, align 4
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %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 float, align 4
  %51 = alloca %"class.JPH::Vec3", align 16
  %52 = alloca %"class.JPH::Vec3", align 16
  %53 = alloca %"class.JPH::Vec3", align 16
  %54 = alloca float, align 4
  %55 = alloca %"class.JPH::Vec3", align 16
  %56 = alloca i8, align 1
  %57 = alloca i8, align 1
  %58 = alloca %"class.JPH::Vec3", align 16
  %59 = alloca %"class.JPH::Vec3", align 16
  %60 = alloca %"class.JPH::Vec3", align 16
  %61 = alloca %"class.JPH::Vec3", align 16
  %62 = alloca %"class.JPH::Vec3", align 16
  %63 = alloca %"class.JPH::Vec3", align 16
  %64 = alloca %"class.JPH::Vec3", align 16
  %65 = alloca %"class.JPH::Vec3", align 16
  %66 = alloca %"class.JPH::Vec3", align 16
  %67 = alloca %"class.JPH::Vec3", align 16
  %68 = alloca %"class.JPH::Vec3", align 16
  %69 = alloca %"class.JPH::Vec3", align 16
  %70 = alloca %"class.JPH::Plane", align 16
  %71 = alloca %"class.JPH::Vec3", align 16
  %72 = alloca %"class.JPH::Vec3", align 16
  %73 = alloca float, align 4
  %74 = alloca %"class.JPH::Vec3", align 16
  %75 = alloca %"class.JPH::Plane", align 16
  %76 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  store double %2, ptr %76, align 16
  %77 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  store double %3, ptr %77, align 8
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  store i32 %6, ptr %13, align 4, !tbaa !9
  %78 = load ptr, ptr %9, align 8
  br label %79

79:                                               ; preds = %7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !11
  %80 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %81 = load double, ptr %80, align 16
  %82 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %83 = load double, ptr %82, align 8
  %84 = call noundef zeroext i1 @_ZNK3JPH20TaperedCylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(64) %78, double %81, double %83)
  br i1 %84, label %88, label %85

85:                                               ; preds = %79
  %86 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 404)
  br i1 %86, label %87, label %88

87:                                               ; preds = %85
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !13
  br label %88

88:                                               ; preds = %87, %85, %79
  br label %89

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #8
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind writable sret(%"class.JPH::Mat44") align 16 %16, ptr noundef nonnull align 16 dereferenceable(64) %90)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !11
  %91 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %92 = load double, ptr %91, align 16
  %93 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %94 = load double, ptr %93, align 8
  call void @_ZNK3JPH20TaperedCylinderShape9GetScaledENS_4Vec3ERfS2_S2_S2_S2_(ptr noundef nonnull align 8 dereferenceable(64) %78, double %92, double %94, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %95 = load float, ptr %17, align 4, !tbaa !14
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %23, float noundef 0.000000e+00, float noundef %95, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %96 = load float, ptr %18, align 4, !tbaa !14
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %24, float noundef 0.000000e+00, float noundef %96, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 80, ptr %25) #8
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %97, i64 80, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 80, ptr %26) #8
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZNK3JPH29CollideSoftBodyVertexIteratorplEi(ptr dead_on_unwind writable sret(%"class.JPH::CollideSoftBodyVertexIterator") align 8 %26, ptr noundef nonnull align 8 dereferenceable(80) %98, i32 noundef %99)
  br label %100

100:                                              ; preds = %401, %89
  %101 = call noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIteratorneERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull align 8 dereferenceable(80) %26)
  br i1 %101, label %103, label %102

102:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr %25) #8
  br label %403

103:                                              ; preds = %100
  %104 = call noundef float @_ZNK3JPH29CollideSoftBodyVertexIterator10GetInvMassEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
  %105 = fcmp ogt float %104, 0.000000e+00
  br i1 %105, label %106, label %400

106:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %107 = call { double, double } @_ZNK3JPH29CollideSoftBodyVertexIterator11GetPositionEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
  %108 = getelementptr inbounds %"class.JPH::Vec3", ptr %28, i32 0, i32 0
  %109 = getelementptr inbounds %union.anon, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 0
  %111 = extractvalue { double, double } %107, 0
  store double %111, ptr %110, align 16
  %112 = getelementptr inbounds { double, double }, ptr %109, i32 0, i32 1
  %113 = extractvalue { double, double } %107, 1
  store double %113, ptr %112, align 8
  %114 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %115 = load double, ptr %114, align 16
  %116 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %117 = load double, ptr %116, align 8
  %118 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %16, double %115, double %117)
  %119 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i32 0, i32 0
  %120 = getelementptr inbounds %union.anon, ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds { double, double }, ptr %120, i32 0, i32 0
  %122 = extractvalue { double, double } %118, 0
  store double %122, ptr %121, align 16
  %123 = getelementptr inbounds { double, double }, ptr %120, i32 0, i32 1
  %124 = extractvalue { double, double } %118, 1
  store double %124, ptr %123, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %30, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !11
  %125 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %126 = load double, ptr %125, align 16
  %127 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %128 = load double, ptr %127, align 8
  %129 = call { double, double } @_ZN3JPHL22sCalculateSideNormalXZENS_4Vec3E(double %126, double %128)
  %130 = getelementptr inbounds %"class.JPH::Vec3", ptr %29, i32 0, i32 0
  %131 = getelementptr inbounds %union.anon, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds { double, double }, ptr %131, i32 0, i32 0
  %133 = extractvalue { double, double } %129, 0
  store double %133, ptr %132, align 16
  %134 = getelementptr inbounds { double, double }, ptr %131, i32 0, i32 1
  %135 = extractvalue { double, double } %129, 1
  store double %135, ptr %134, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 16 %29, i64 16, i1 false), !tbaa.struct !11
  %136 = load float, ptr %17, align 4, !tbaa !14
  %137 = load float, ptr %18, align 4, !tbaa !14
  %138 = load float, ptr %19, align 4, !tbaa !14
  %139 = load float, ptr %20, align 4, !tbaa !14
  %140 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %141 = load double, ptr %140, align 16
  %142 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %143 = load double, ptr %142, align 8
  %144 = call { double, double } @_ZN3JPHL20sCalculateSideNormalENS_4Vec3Effff(double %141, double %143, float noundef %136, float noundef %137, float noundef %138, float noundef %139)
  %145 = getelementptr inbounds %"class.JPH::Vec3", ptr %31, i32 0, i32 0
  %146 = getelementptr inbounds %union.anon, ptr %145, i32 0, i32 0
  %147 = getelementptr inbounds { double, double }, ptr %146, i32 0, i32 0
  %148 = extractvalue { double, double } %144, 0
  store double %148, ptr %147, align 16
  %149 = getelementptr inbounds { double, double }, ptr %146, i32 0, i32 1
  %150 = extractvalue { double, double } %144, 1
  store double %150, ptr %149, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #8
  %151 = load float, ptr %19, align 4, !tbaa !14
  %152 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %29, float noundef %151)
  %153 = getelementptr inbounds %"class.JPH::Vec3", ptr %34, i32 0, i32 0
  %154 = getelementptr inbounds %union.anon, ptr %153, i32 0, i32 0
  %155 = getelementptr inbounds { double, double }, ptr %154, i32 0, i32 0
  %156 = extractvalue { double, double } %152, 0
  store double %156, ptr %155, align 16
  %157 = getelementptr inbounds { double, double }, ptr %154, i32 0, i32 1
  %158 = extractvalue { double, double } %152, 1
  store double %158, ptr %157, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %35, ptr align 16 %23, i64 16, i1 false), !tbaa.struct !11
  %159 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %160 = load double, ptr %159, align 16
  %161 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %162 = load double, ptr %161, align 8
  %163 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %34, double %160, double %162)
  %164 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %165 = getelementptr inbounds %union.anon, ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds { double, double }, ptr %165, i32 0, i32 0
  %167 = extractvalue { double, double } %163, 0
  store double %167, ptr %166, align 16
  %168 = getelementptr inbounds { double, double }, ptr %165, i32 0, i32 1
  %169 = extractvalue { double, double } %163, 1
  store double %169, ptr %168, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !11
  %170 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %171 = load double, ptr %170, align 16
  %172 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %173 = load double, ptr %172, align 8
  %174 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %33, double %171, double %173)
  %175 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i32 0, i32 0
  %176 = getelementptr inbounds %union.anon, ptr %175, i32 0, i32 0
  %177 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 0
  %178 = extractvalue { double, double } %174, 0
  store double %178, ptr %177, align 16
  %179 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 1
  %180 = extractvalue { double, double } %174, 1
  store double %180, ptr %179, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %39, ptr align 16 %31, i64 16, i1 false), !tbaa.struct !11
  %181 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %182 = load double, ptr %181, align 16
  %183 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %184 = load double, ptr %183, align 8
  %185 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %37, double %182, double %184)
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  store float %185, ptr %36, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %186 = load float, ptr %17, align 4, !tbaa !14
  %187 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %27)
  %188 = fsub float %186, %187
  store float %188, ptr %40, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  %189 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %27)
  %190 = load float, ptr %18, align 4, !tbaa !14
  %191 = fsub float %189, %190
  store float %191, ptr %41, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
  %193 = load float, ptr %192, align 4, !tbaa !14
  store float %193, ptr %42, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #8
  %194 = load float, ptr %36, align 4, !tbaa !14
  %195 = fcmp olt float %194, 0.000000e+00
  br i1 %195, label %199, label %196

196:                                              ; preds = %106
  %197 = load float, ptr %42, align 4, !tbaa !14
  %198 = fcmp olt float %197, 0.000000e+00
  br i1 %198, label %199, label %350

199:                                              ; preds = %196, %106
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #8
  %200 = load float, ptr %20, align 4, !tbaa !14
  %201 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %29, float noundef %200)
  %202 = getelementptr inbounds %"class.JPH::Vec3", ptr %46, i32 0, i32 0
  %203 = getelementptr inbounds %union.anon, ptr %202, i32 0, i32 0
  %204 = getelementptr inbounds { double, double }, ptr %203, i32 0, i32 0
  %205 = extractvalue { double, double } %201, 0
  store double %205, ptr %204, align 16
  %206 = getelementptr inbounds { double, double }, ptr %203, i32 0, i32 1
  %207 = extractvalue { double, double } %201, 1
  store double %207, ptr %206, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %47, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !11
  %208 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 0
  %209 = load double, ptr %208, align 16
  %210 = getelementptr inbounds { double, double }, ptr %47, i32 0, i32 1
  %211 = load double, ptr %210, align 8
  %212 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %46, double %209, double %211)
  %213 = getelementptr inbounds %"class.JPH::Vec3", ptr %45, i32 0, i32 0
  %214 = getelementptr inbounds %union.anon, ptr %213, i32 0, i32 0
  %215 = getelementptr inbounds { double, double }, ptr %214, i32 0, i32 0
  %216 = extractvalue { double, double } %212, 0
  store double %216, ptr %215, align 16
  %217 = getelementptr inbounds { double, double }, ptr %214, i32 0, i32 1
  %218 = extractvalue { double, double } %212, 1
  store double %218, ptr %217, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %45, i64 16, i1 false), !tbaa.struct !11
  %219 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 0
  %220 = load double, ptr %219, align 16
  %221 = getelementptr inbounds { double, double }, ptr %49, i32 0, i32 1
  %222 = load double, ptr %221, align 8
  %223 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %33, double %220, double %222)
  %224 = getelementptr inbounds %"class.JPH::Vec3", ptr %48, i32 0, i32 0
  %225 = getelementptr inbounds %union.anon, ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds { double, double }, ptr %225, i32 0, i32 0
  %227 = extractvalue { double, double } %223, 0
  store double %227, ptr %226, align 16
  %228 = getelementptr inbounds { double, double }, ptr %225, i32 0, i32 1
  %229 = extractvalue { double, double } %223, 1
  store double %229, ptr %228, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %52, ptr align 16 %45, i64 16, i1 false), !tbaa.struct !11
  %230 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 0
  %231 = load double, ptr %230, align 16
  %232 = getelementptr inbounds { double, double }, ptr %52, i32 0, i32 1
  %233 = load double, ptr %232, align 8
  %234 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %27, double %231, double %233)
  %235 = getelementptr inbounds %"class.JPH::Vec3", ptr %51, i32 0, i32 0
  %236 = getelementptr inbounds %union.anon, ptr %235, i32 0, i32 0
  %237 = getelementptr inbounds { double, double }, ptr %236, i32 0, i32 0
  %238 = extractvalue { double, double } %234, 0
  store double %238, ptr %237, align 16
  %239 = getelementptr inbounds { double, double }, ptr %236, i32 0, i32 1
  %240 = extractvalue { double, double } %234, 1
  store double %240, ptr %239, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %53, ptr align 16 %48, i64 16, i1 false), !tbaa.struct !11
  %241 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 0
  %242 = load double, ptr %241, align 16
  %243 = getelementptr inbounds { double, double }, ptr %53, i32 0, i32 1
  %244 = load double, ptr %243, align 8
  %245 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %51, double %242, double %244)
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #8
  store float %245, ptr %50, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %55, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !11
  %246 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 0
  %247 = load double, ptr %246, align 16
  %248 = getelementptr inbounds { double, double }, ptr %55, i32 0, i32 1
  %249 = load double, ptr %248, align 8
  %250 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %29, double %247, double %249)
  store float %250, ptr %54, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #8
  %251 = load float, ptr %54, align 4, !tbaa !14
  %252 = load float, ptr %19, align 4, !tbaa !14
  %253 = fcmp ole float %251, %252
  %254 = zext i1 %253 to i8
  store i8 %254, ptr %56, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #8
  %255 = load float, ptr %54, align 4, !tbaa !14
  %256 = load float, ptr %20, align 4, !tbaa !14
  %257 = fcmp ole float %255, %256
  %258 = zext i1 %257 to i8
  store i8 %258, ptr %57, align 1, !tbaa !17
  %259 = load float, ptr %50, align 4, !tbaa !14
  %260 = call noundef float @_ZNK3JPH4Vec38LengthSqEv(ptr noundef nonnull align 16 dereferenceable(16) %48)
  %261 = fcmp oge float %259, %260
  br i1 %261, label %262, label %295

262:                                              ; preds = %199
  %263 = load i8, ptr %56, align 1, !tbaa !17, !range !19, !noundef !20
  %264 = trunc i8 %263 to i1
  br i1 %264, label %295, label %265

265:                                              ; preds = %262
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %60, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !11
  %266 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 0
  %267 = load double, ptr %266, align 16
  %268 = getelementptr inbounds { double, double }, ptr %60, i32 0, i32 1
  %269 = load double, ptr %268, align 8
  %270 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %27, double %267, double %269)
  %271 = getelementptr inbounds %"class.JPH::Vec3", ptr %59, i32 0, i32 0
  %272 = getelementptr inbounds %union.anon, ptr %271, i32 0, i32 0
  %273 = getelementptr inbounds { double, double }, ptr %272, i32 0, i32 0
  %274 = extractvalue { double, double } %270, 0
  store double %274, ptr %273, align 16
  %275 = getelementptr inbounds { double, double }, ptr %272, i32 0, i32 1
  %276 = extractvalue { double, double } %270, 1
  store double %276, ptr %275, align 8
  %277 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %278 = getelementptr inbounds %"class.JPH::Vec3", ptr %61, i32 0, i32 0
  %279 = getelementptr inbounds %union.anon, ptr %278, i32 0, i32 0
  %280 = getelementptr inbounds { double, double }, ptr %279, i32 0, i32 0
  %281 = extractvalue { double, double } %277, 0
  store double %281, ptr %280, align 16
  %282 = getelementptr inbounds { double, double }, ptr %279, i32 0, i32 1
  %283 = extractvalue { double, double } %277, 1
  store double %283, ptr %282, align 8
  %284 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %285 = load double, ptr %284, align 16
  %286 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %287 = load double, ptr %286, align 8
  %288 = call { double, double } @_ZNK3JPH4Vec312NormalizedOrES0_(ptr noundef nonnull align 16 dereferenceable(16) %59, double %285, double %287)
  %289 = getelementptr inbounds %"class.JPH::Vec3", ptr %58, i32 0, i32 0
  %290 = getelementptr inbounds %union.anon, ptr %289, i32 0, i32 0
  %291 = getelementptr inbounds { double, double }, ptr %290, i32 0, i32 0
  %292 = extractvalue { double, double } %288, 0
  store double %292, ptr %291, align 16
  %293 = getelementptr inbounds { double, double }, ptr %290, i32 0, i32 1
  %294 = extractvalue { double, double } %288, 1
  store double %294, ptr %293, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %58, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #8
  br label %349

295:                                              ; preds = %262, %199
  %296 = load float, ptr %50, align 4, !tbaa !14
  %297 = fcmp olt float %296, 0.000000e+00
  br i1 %297, label %298, label %331

298:                                              ; preds = %295
  %299 = load i8, ptr %57, align 1, !tbaa !17, !range !19, !noundef !20
  %300 = trunc i8 %299 to i1
  br i1 %300, label %331, label %301

301:                                              ; preds = %298
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %45, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %63) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %64, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !11
  %302 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 0
  %303 = load double, ptr %302, align 16
  %304 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 1
  %305 = load double, ptr %304, align 8
  %306 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %27, double %303, double %305)
  %307 = getelementptr inbounds %"class.JPH::Vec3", ptr %63, i32 0, i32 0
  %308 = getelementptr inbounds %union.anon, ptr %307, i32 0, i32 0
  %309 = getelementptr inbounds { double, double }, ptr %308, i32 0, i32 0
  %310 = extractvalue { double, double } %306, 0
  store double %310, ptr %309, align 16
  %311 = getelementptr inbounds { double, double }, ptr %308, i32 0, i32 1
  %312 = extractvalue { double, double } %306, 1
  store double %312, ptr %311, align 8
  %313 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %314 = getelementptr inbounds %"class.JPH::Vec3", ptr %65, i32 0, i32 0
  %315 = getelementptr inbounds %union.anon, ptr %314, i32 0, i32 0
  %316 = getelementptr inbounds { double, double }, ptr %315, i32 0, i32 0
  %317 = extractvalue { double, double } %313, 0
  store double %317, ptr %316, align 16
  %318 = getelementptr inbounds { double, double }, ptr %315, i32 0, i32 1
  %319 = extractvalue { double, double } %313, 1
  store double %319, ptr %318, align 8
  %320 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 0
  %321 = load double, ptr %320, align 16
  %322 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 1
  %323 = load double, ptr %322, align 8
  %324 = call { double, double } @_ZNK3JPH4Vec312NormalizedOrES0_(ptr noundef nonnull align 16 dereferenceable(16) %63, double %321, double %323)
  %325 = getelementptr inbounds %"class.JPH::Vec3", ptr %62, i32 0, i32 0
  %326 = getelementptr inbounds %union.anon, ptr %325, i32 0, i32 0
  %327 = getelementptr inbounds { double, double }, ptr %326, i32 0, i32 0
  %328 = extractvalue { double, double } %324, 0
  store double %328, ptr %327, align 16
  %329 = getelementptr inbounds { double, double }, ptr %326, i32 0, i32 1
  %330 = extractvalue { double, double } %324, 1
  store double %330, ptr %329, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %62, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #8
  br label %348

331:                                              ; preds = %298, %295
  %332 = load float, ptr %40, align 4, !tbaa !14
  %333 = fcmp olt float %332, 0.000000e+00
  br i1 %333, label %334, label %338

334:                                              ; preds = %331
  %335 = load i8, ptr %56, align 1, !tbaa !17, !range !19, !noundef !20
  %336 = trunc i8 %335 to i1
  br i1 %336, label %337, label %338

337:                                              ; preds = %334
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %23, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %66) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %66, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %66, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #8
  br label %347

338:                                              ; preds = %334, %331
  %339 = load float, ptr %41, align 4, !tbaa !14
  %340 = fcmp olt float %339, 0.000000e+00
  br i1 %340, label %341, label %345

341:                                              ; preds = %338
  %342 = load i8, ptr %57, align 1, !tbaa !17, !range !19, !noundef !20
  %343 = trunc i8 %342 to i1
  br i1 %343, label %344, label %345

344:                                              ; preds = %341
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %67) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %67, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %67, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %67) #8
  br label %346

345:                                              ; preds = %341, %338
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %31, i64 16, i1 false), !tbaa.struct !11
  br label %346

346:                                              ; preds = %345, %344
  br label %347

347:                                              ; preds = %346, %337
  br label %348

348:                                              ; preds = %347, %301
  br label %349

349:                                              ; preds = %348, %265
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #8
  br label %363

350:                                              ; preds = %196
  %351 = load float, ptr %36, align 4, !tbaa !14
  %352 = load float, ptr %42, align 4, !tbaa !14
  %353 = fcmp olt float %351, %352
  br i1 %353, label %354, label %355

354:                                              ; preds = %350
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %31, i64 16, i1 false), !tbaa.struct !11
  br label %362

355:                                              ; preds = %350
  %356 = load float, ptr %40, align 4, !tbaa !14
  %357 = load float, ptr %41, align 4, !tbaa !14
  %358 = fcmp olt float %356, %357
  br i1 %358, label %359, label %360

359:                                              ; preds = %355
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %23, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %68) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %68, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %68, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  br label %361

360:                                              ; preds = %355
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %69) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %69, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %69, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #8
  br label %361

361:                                              ; preds = %360, %359
  br label %362

362:                                              ; preds = %361, %354
  br label %363

363:                                              ; preds = %362, %349
  call void @llvm.lifetime.start.p0(i64 16, ptr %70) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %71, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %72, ptr align 16 %44, i64 16, i1 false), !tbaa.struct !11
  %364 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 0
  %365 = load double, ptr %364, align 16
  %366 = getelementptr inbounds { double, double }, ptr %71, i32 0, i32 1
  %367 = load double, ptr %366, align 8
  %368 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 0
  %369 = load double, ptr %368, align 16
  %370 = getelementptr inbounds { double, double }, ptr %72, i32 0, i32 1
  %371 = load double, ptr %370, align 8
  %372 = call { double, double } @_ZN3JPH5Plane19sFromPointAndNormalENS_4Vec3ES1_(double %365, double %367, double %369, double %371)
  %373 = getelementptr inbounds %"class.JPH::Plane", ptr %70, i32 0, i32 0
  %374 = getelementptr inbounds %"class.JPH::Vec4", ptr %373, i32 0, i32 0
  %375 = getelementptr inbounds %union.anon.6, ptr %374, i32 0, i32 0
  %376 = getelementptr inbounds { double, double }, ptr %375, i32 0, i32 0
  %377 = extractvalue { double, double } %372, 0
  store double %377, ptr %376, align 16
  %378 = getelementptr inbounds { double, double }, ptr %375, i32 0, i32 1
  %379 = extractvalue { double, double } %372, 1
  store double %379, ptr %378, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %74, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !11
  %380 = getelementptr inbounds { double, double }, ptr %74, i32 0, i32 0
  %381 = load double, ptr %380, align 16
  %382 = getelementptr inbounds { double, double }, ptr %74, i32 0, i32 1
  %383 = load double, ptr %382, align 8
  %384 = call noundef float @_ZNK3JPH5Plane14SignedDistanceENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16) %70, double %381, double %383)
  %385 = fneg float %384
  store float %385, ptr %73, align 4, !tbaa !14
  %386 = load float, ptr %73, align 4, !tbaa !14
  %387 = call noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIterator17UpdatePenetrationEf(ptr noundef nonnull align 8 dereferenceable(80) %25, float noundef %386)
  br i1 %387, label %388, label %399

388:                                              ; preds = %363
  call void @llvm.lifetime.start.p0(i64 16, ptr %75) #8
  %389 = load ptr, ptr %10, align 8, !tbaa !5
  %390 = call { double, double } @_ZNK3JPH5Plane14GetTransformedERKNS_5Mat44E(ptr noundef nonnull align 16 dereferenceable(16) %70, ptr noundef nonnull align 16 dereferenceable(64) %389)
  %391 = getelementptr inbounds %"class.JPH::Plane", ptr %75, i32 0, i32 0
  %392 = getelementptr inbounds %"class.JPH::Vec4", ptr %391, i32 0, i32 0
  %393 = getelementptr inbounds %union.anon.6, ptr %392, i32 0, i32 0
  %394 = getelementptr inbounds { double, double }, ptr %393, i32 0, i32 0
  %395 = extractvalue { double, double } %390, 0
  store double %395, ptr %394, align 16
  %396 = getelementptr inbounds { double, double }, ptr %393, i32 0, i32 1
  %397 = extractvalue { double, double } %390, 1
  store double %397, ptr %396, align 8
  %398 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZNK3JPH29CollideSoftBodyVertexIterator12SetCollisionERKNS_5PlaneEi(ptr noundef nonnull align 8 dereferenceable(80) %25, ptr noundef nonnull align 16 dereferenceable(16) %75, i32 noundef %398)
  call void @llvm.lifetime.end.p0(i64 16, ptr %75) #8
  br label %399

399:                                              ; preds = %388, %363
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %400

400:                                              ; preds = %399, %103
  br label %401

401:                                              ; preds = %400
  %402 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN3JPH29CollideSoftBodyVertexIteratorppEv(ptr noundef nonnull align 8 dereferenceable(80) %25)
  br label %100, !llvm.loop !21

403:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #8
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH29CollideSoftBodyVertexIteratorplEi(ptr dead_on_unwind noalias writable sret(%"class.JPH::CollideSoftBodyVertexIterator") align 8, ptr noundef nonnull align 8 dereferenceable(80), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIteratorneERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH29CollideSoftBodyVertexIterator10GetInvMassEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH29CollideSoftBodyVertexIterator11GetPositionEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIterator17UpdatePenetrationEf(ptr noundef nonnull align 8 dereferenceable(80), float noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN3JPH29CollideSoftBodyVertexIteratorppEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 #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 = !{!"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 = !{i64 2157861271}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{i64 0, i64 8, !5, i64 8, i64 4, !9, i64 16, i64 8, !5, i64 24, i64 4, !9, i64 32, i64 8, !5, i64 40, i64 4, !9, i64 48, i64 8, !5, i64 56, i64 4, !9, i64 64, i64 8, !5, i64 72, i64 4, !9}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; 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.6 }
%union.anon.6 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.JPH::CollideSoftBodyVertexIterator" = type { %"class.JPH::StridedPtr", %"class.JPH::StridedPtr.7", %"class.JPH::StridedPtr.9", %"class.JPH::StridedPtr.11", %"class.JPH::StridedPtr.13" }
%"class.JPH::StridedPtr" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.7" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.9" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.11" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::StridedPtr.13" = type <{ ptr, i32, [4 x i8] }>
%"class.JPH::Plane" = type { %"class.JPH::Vec4" }

@.str.8 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [106 x i8], align 1

; 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: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH20TaperedCylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(64), double, double) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH20TaperedCylinderShape9GetScaledENS_4Vec3ERfS2_S2_S2_S2_(ptr noundef nonnull align 8 dereferenceable(64), double, double, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden { double, double } @_ZN3JPHL22sCalculateSideNormalXZENS_4Vec3E(double, double) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden { double, double } @_ZN3JPHL20sCalculateSideNormalENS_4Vec3Effff(double, double, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) 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 #6 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #1 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 #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3JPH20TaperedCylinderShape23CollideSoftBodyVerticesERKNS_5Mat44ENS_4Vec3ERKNS_29CollideSoftBodyVertexIteratorEji(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %1, double %2, double %3, ptr noundef nonnull align 8 dereferenceable(80) %4, i32 noundef %5, i32 noundef %6) unnamed_addr #2 align 2 {
  %8 = alloca %"class.JPH::Mat44", align 16
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::CollideSoftBodyVertexIterator", align 8
  %17 = alloca %"class.JPH::CollideSoftBodyVertexIterator", align 8
  %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 float, align 4
  %24 = alloca float, align 4
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Plane", align 16
  %35 = alloca %"class.JPH::Plane", align 16
  %36 = tail call noundef zeroext i1 @_ZNK3JPH20TaperedCylinderShape12IsValidScaleENS_4Vec3E(ptr noundef nonnull align 8 dereferenceable(64) %0, double %2, double %3)
  br i1 %36, label %40, label %37

37:                                               ; preds = %7
  %38 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, i32 noundef 404)
  br i1 %38, label %39, label %40

39:                                               ; preds = %37
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #8, !srcloc !5
  br label %40

40:                                               ; preds = %7, %37, %39
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #8
  call void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind nonnull writable sret(%"class.JPH::Mat44") align 16 %8, ptr noundef nonnull align 16 dereferenceable(64) %1)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  call void @_ZNK3JPH20TaperedCylinderShape9GetScaledENS_4Vec3ERfS2_S2_S2_S2_(ptr noundef nonnull align 8 dereferenceable(64) %0, double %2, double %3, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %41 = load float, ptr %9, align 4, !tbaa !6
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %14, float noundef 0.000000e+00, float noundef %41, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  %42 = load float, ptr %10, align 4, !tbaa !6
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef 0.000000e+00, float noundef %42, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %16) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %16, ptr noundef nonnull align 8 dereferenceable(80) %4, i64 80, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %17) #8
  call void @_ZNK3JPH29CollideSoftBodyVertexIteratorplEi(ptr dead_on_unwind nonnull writable sret(%"class.JPH::CollideSoftBodyVertexIterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(80) %4, i32 noundef %5)
  %43 = call noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIteratorneERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %16, ptr noundef nonnull align 8 dereferenceable(80) %17)
  br i1 %43, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %40
  %44 = getelementptr inbounds i8, ptr %18, i64 8
  %45 = getelementptr inbounds i8, ptr %19, i64 8
  %46 = getelementptr inbounds i8, ptr %21, i64 8
  %.sroa.279.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  %47 = getelementptr inbounds i8, ptr %20, i64 8
  %48 = getelementptr inbounds i8, ptr %22, i64 8
  %.sroa.13.0..sroa_idx68 = getelementptr inbounds i8, ptr %15, i64 8
  %.sroa.11.0..sroa_idx49 = getelementptr inbounds i8, ptr %33, i64 8
  %.sroa.11.0..sroa_idx47 = getelementptr inbounds i8, ptr %32, i64 8
  %49 = getelementptr inbounds i8, ptr %25, i64 8
  %50 = getelementptr inbounds i8, ptr %26, i64 8
  %51 = getelementptr inbounds i8, ptr %27, i64 8
  %52 = getelementptr inbounds i8, ptr %28, i64 8
  %53 = getelementptr inbounds i8, ptr %29, i64 8
  %.sroa.11.0..sroa_idx41 = getelementptr inbounds i8, ptr %31, i64 8
  %.sroa.11.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  %54 = getelementptr inbounds i8, ptr %34, i64 8
  %55 = getelementptr inbounds i8, ptr %35, i64 8
  br label %56

._crit_edge:                                      ; preds = %187, %40
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  ret void

56:                                               ; preds = %.lr.ph, %187
  %57 = call noundef float @_ZNK3JPH29CollideSoftBodyVertexIterator10GetInvMassEv(ptr noundef nonnull align 8 dereferenceable(80) %16)
  %58 = fcmp ogt float %57, 0.000000e+00
  br i1 %58, label %59, label %187

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #8
  %60 = call { double, double } @_ZNK3JPH29CollideSoftBodyVertexIterator11GetPositionEv(ptr noundef nonnull align 8 dereferenceable(80) %16)
  %61 = extractvalue { double, double } %60, 0
  %62 = extractvalue { double, double } %60, 1
  %63 = call { double, double } @_ZNK3JPH5Mat44mlENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(64) %8, double %61, double %62)
  %64 = extractvalue { double, double } %63, 0
  store double %64, ptr %18, align 16
  %65 = extractvalue { double, double } %63, 1
  store double %65, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #8
  %66 = call { double, double } @_ZN3JPHL22sCalculateSideNormalXZENS_4Vec3E(double %64, double %65)
  %67 = extractvalue { double, double } %66, 0
  store double %67, ptr %19, align 16
  %68 = extractvalue { double, double } %66, 1
  store double %68, ptr %45, align 8
  %69 = load float, ptr %9, align 4, !tbaa !6
  %70 = load float, ptr %10, align 4, !tbaa !6
  %71 = load float, ptr %11, align 4, !tbaa !6
  %72 = load float, ptr %12, align 4, !tbaa !6
  %73 = call { double, double } @_ZN3JPHL20sCalculateSideNormalENS_4Vec3Effff(double %67, double %68, float noundef %69, float noundef %70, float noundef %71, float noundef %72)
  %74 = extractvalue { double, double } %73, 0
  %75 = extractvalue { double, double } %73, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  %76 = load float, ptr %11, align 4, !tbaa !6
  %77 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef %76)
  %78 = extractvalue { double, double } %77, 0
  store double %78, ptr %21, align 16
  %79 = extractvalue { double, double } %77, 1
  store double %79, ptr %46, align 8
  %.sroa.078.0.copyload = load double, ptr %14, align 16
  %.sroa.279.0.copyload = load double, ptr %.sroa.279.0..sroa_idx, align 8, !tbaa !15
  %80 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %21, double %.sroa.078.0.copyload, double %.sroa.279.0.copyload)
  %81 = extractvalue { double, double } %80, 0
  store double %81, ptr %20, align 16
  %82 = extractvalue { double, double } %80, 1
  store double %82, ptr %47, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #8
  %.sroa.074.0.copyload = load double, ptr %18, align 16
  %.sroa.275.0.copyload = load double, ptr %44, align 8, !tbaa !15
  %83 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %20, double %.sroa.074.0.copyload, double %.sroa.275.0.copyload)
  %84 = extractvalue { double, double } %83, 0
  store double %84, ptr %22, align 16
  %85 = extractvalue { double, double } %83, 1
  store double %85, ptr %48, align 8
  %86 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %22, double %74, double %75)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #8
  %87 = load float, ptr %9, align 4, !tbaa !6
  %88 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  %89 = fsub float %87, %88
  store float %89, ptr %23, align 4, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #8
  %90 = call noundef float @_ZNK3JPH4Vec34GetYEv(ptr noundef nonnull align 16 dereferenceable(16) %18)
  %91 = load float, ptr %10, align 4, !tbaa !6
  %92 = fsub float %90, %91
  store float %92, ptr %24, align 4, !tbaa !6
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %94 = load float, ptr %93, align 4, !tbaa !6
  %95 = fcmp olt float %86, 0.000000e+00
  %96 = fcmp olt float %94, 0.000000e+00
  %or.cond = select i1 %95, i1 true, i1 %96
  br i1 %or.cond, label %97, label %160

97:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #8
  %98 = load float, ptr %12, align 4, !tbaa !6
  %99 = call { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef %98)
  %100 = extractvalue { double, double } %99, 0
  store double %100, ptr %25, align 16
  %101 = extractvalue { double, double } %99, 1
  store double %101, ptr %49, align 8
  %.sroa.032.0.copyload = load double, ptr %15, align 16
  %.sroa.233.0.copyload = load double, ptr %.sroa.13.0..sroa_idx68, align 8, !tbaa !15
  %102 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %25, double %.sroa.032.0.copyload, double %.sroa.233.0.copyload)
  %103 = extractvalue { double, double } %102, 0
  %104 = extractvalue { double, double } %102, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #8
  %105 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %20, double %103, double %104)
  %106 = extractvalue { double, double } %105, 0
  store double %106, ptr %26, align 16
  %107 = extractvalue { double, double } %105, 1
  store double %107, ptr %50, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #8
  %108 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %18, double %103, double %104)
  %109 = extractvalue { double, double } %108, 0
  store double %109, ptr %27, align 16
  %110 = extractvalue { double, double } %108, 1
  store double %110, ptr %51, align 8
  %.sroa.024.0.copyload = load double, ptr %26, align 16
  %.sroa.225.0.copyload = load double, ptr %50, align 8, !tbaa !15
  %111 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %27, double %.sroa.024.0.copyload, double %.sroa.225.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #8
  %.sroa.020.0.copyload = load double, ptr %18, align 16
  %.sroa.221.0.copyload = load double, ptr %44, align 8, !tbaa !15
  %112 = call noundef float @_ZNK3JPH4Vec33DotES0_(ptr noundef nonnull align 16 dereferenceable(16) %19, double %.sroa.020.0.copyload, double %.sroa.221.0.copyload)
  %113 = load float, ptr %11, align 4, !tbaa !6
  %114 = fcmp ole float %112, %113
  %115 = load float, ptr %12, align 4, !tbaa !6
  %116 = fcmp ole float %112, %115
  %117 = call noundef float @_ZNK3JPH4Vec38LengthSqEv(ptr noundef nonnull align 16 dereferenceable(16) %26)
  %118 = fcmp ult float %111, %117
  %brmerge = select i1 %118, i1 true, i1 %114
  br i1 %brmerge, label %132, label %119

119:                                              ; preds = %97
  %120 = load <2 x double>, ptr %20, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #8
  %121 = extractelement <2 x double> %120, i64 0
  %122 = extractelement <2 x double> %120, i64 1
  %123 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %18, double %121, double %122)
  %124 = extractvalue { double, double } %123, 0
  store double %124, ptr %28, align 16
  %125 = extractvalue { double, double } %123, 1
  store double %125, ptr %52, align 8
  %126 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %127 = extractvalue { double, double } %126, 0
  %128 = extractvalue { double, double } %126, 1
  %129 = call { double, double } @_ZNK3JPH4Vec312NormalizedOrES0_(ptr noundef nonnull align 16 dereferenceable(16) %28, double %127, double %128)
  %130 = extractvalue { double, double } %129, 0
  %131 = extractvalue { double, double } %129, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #8
  br label %158

132:                                              ; preds = %97
  %133 = fcmp uge float %111, 0.000000e+00
  %brmerge101 = select i1 %133, i1 true, i1 %116
  br i1 %brmerge101, label %146, label %134

134:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #8
  %135 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %18, double %103, double %104)
  %136 = extractvalue { double, double } %135, 0
  store double %136, ptr %29, align 16
  %137 = extractvalue { double, double } %135, 1
  store double %137, ptr %53, align 8
  %138 = call { double, double } @_ZN3JPH4Vec36sAxisYEv()
  %139 = extractvalue { double, double } %138, 0
  %140 = extractvalue { double, double } %138, 1
  %141 = call { double, double } @_ZNK3JPH4Vec312NormalizedOrES0_(ptr noundef nonnull align 16 dereferenceable(16) %29, double %139, double %140)
  %142 = extractvalue { double, double } %141, 0
  %143 = extractvalue { double, double } %141, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #8
  %144 = insertelement <2 x double> poison, double %103, i64 0
  %145 = insertelement <2 x double> %144, double %104, i64 1
  br label %158

146:                                              ; preds = %132
  %147 = load float, ptr %23, align 4, !tbaa !6
  %148 = fcmp olt float %147, 0.000000e+00
  %brmerge104.not = select i1 %148, i1 %114, i1 false
  br i1 %brmerge104.not, label %149, label %151

149:                                              ; preds = %146
  %150 = load <2 x double>, ptr %14, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %30, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %.sroa.035.0.copyload = load double, ptr %30, align 16
  %.sroa.11.0.copyload = load double, ptr %.sroa.11.0..sroa_idx, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #8
  br label %158

151:                                              ; preds = %146
  %152 = load float, ptr %24, align 4, !tbaa !6
  %153 = fcmp olt float %152, 0.000000e+00
  %brmerge107.not = select i1 %153, i1 %116, i1 false
  br i1 %brmerge107.not, label %154, label %156

154:                                              ; preds = %151
  %155 = load <2 x double>, ptr %15, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %31, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %.sroa.035.0.copyload36 = load double, ptr %31, align 16
  %.sroa.11.0.copyload42 = load double, ptr %.sroa.11.0..sroa_idx41, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #8
  br label %158

156:                                              ; preds = %151
  %157 = load <2 x double>, ptr %20, align 16
  br label %158

158:                                              ; preds = %134, %154, %156, %149, %119
  %.sroa.035.0 = phi double [ %.sroa.035.0.copyload, %149 ], [ %.sroa.035.0.copyload36, %154 ], [ %74, %156 ], [ %142, %134 ], [ %130, %119 ]
  %.sroa.11.0 = phi double [ %.sroa.11.0.copyload, %149 ], [ %.sroa.11.0.copyload42, %154 ], [ %75, %156 ], [ %143, %134 ], [ %131, %119 ]
  %159 = phi <2 x double> [ %150, %149 ], [ %155, %154 ], [ %157, %156 ], [ %145, %134 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  br label %172

160:                                              ; preds = %59
  %161 = fcmp olt float %86, %94
  br i1 %161, label %162, label %164

162:                                              ; preds = %160
  %163 = load <2 x double>, ptr %20, align 16
  br label %172

164:                                              ; preds = %160
  %165 = load float, ptr %23, align 4, !tbaa !6
  %166 = load float, ptr %24, align 4, !tbaa !6
  %167 = fcmp olt float %165, %166
  br i1 %167, label %168, label %170

168:                                              ; preds = %164
  %169 = load <2 x double>, ptr %14, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %32, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %.sroa.035.0.copyload39 = load double, ptr %32, align 16
  %.sroa.11.0.copyload48 = load double, ptr %.sroa.11.0..sroa_idx47, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #8
  br label %172

170:                                              ; preds = %164
  %171 = load <2 x double>, ptr %15, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #8
  call void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef 0.000000e+00, float noundef -1.000000e+00, float noundef 0.000000e+00)
  %.sroa.035.0.copyload40 = load double, ptr %33, align 16
  %.sroa.11.0.copyload50 = load double, ptr %.sroa.11.0..sroa_idx49, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #8
  br label %172

172:                                              ; preds = %162, %170, %168, %158
  %.sroa.035.1 = phi double [ %.sroa.035.0, %158 ], [ %74, %162 ], [ %.sroa.035.0.copyload39, %168 ], [ %.sroa.035.0.copyload40, %170 ]
  %.sroa.11.1 = phi double [ %.sroa.11.0, %158 ], [ %75, %162 ], [ %.sroa.11.0.copyload48, %168 ], [ %.sroa.11.0.copyload50, %170 ]
  %173 = phi <2 x double> [ %159, %158 ], [ %163, %162 ], [ %169, %168 ], [ %171, %170 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #8
  %174 = extractelement <2 x double> %173, i64 0
  %175 = extractelement <2 x double> %173, i64 1
  %176 = call { double, double } @_ZN3JPH5Plane19sFromPointAndNormalENS_4Vec3ES1_(double %174, double %175, double %.sroa.035.1, double %.sroa.11.1)
  %177 = extractvalue { double, double } %176, 0
  store double %177, ptr %34, align 16
  %178 = extractvalue { double, double } %176, 1
  store double %178, ptr %54, align 8
  %.sroa.0.0.copyload = load double, ptr %18, align 16
  %.sroa.2.0.copyload = load double, ptr %44, align 8, !tbaa !15
  %179 = call noundef float @_ZNK3JPH5Plane14SignedDistanceENS_4Vec3E(ptr noundef nonnull align 16 dereferenceable(16) %34, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %180 = fneg float %179
  %181 = call noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIterator17UpdatePenetrationEf(ptr noundef nonnull align 8 dereferenceable(80) %16, float noundef %180)
  br i1 %181, label %182, label %186

182:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #8
  %183 = call { double, double } @_ZNK3JPH5Plane14GetTransformedERKNS_5Mat44E(ptr noundef nonnull align 16 dereferenceable(16) %34, ptr noundef nonnull align 16 dereferenceable(64) %1)
  %184 = extractvalue { double, double } %183, 0
  store double %184, ptr %35, align 16
  %185 = extractvalue { double, double } %183, 1
  store double %185, ptr %55, align 8
  call void @_ZNK3JPH29CollideSoftBodyVertexIterator12SetCollisionERKNS_5PlaneEi(ptr noundef nonnull align 8 dereferenceable(80) %16, ptr noundef nonnull align 16 dereferenceable(16) %35, i32 noundef %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #8
  br label %186

186:                                              ; preds = %182, %172
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #8
  br label %187

187:                                              ; preds = %56, %186
  %188 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN3JPH29CollideSoftBodyVertexIteratorppEv(ptr noundef nonnull align 8 dereferenceable(80) %16)
  %189 = call noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIteratorneERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %16, ptr noundef nonnull align 8 dereferenceable(80) %17)
  br i1 %189, label %56, label %._crit_edge, !llvm.loop !16
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZNK3JPH5Mat4427InversedRotationTranslationEv(ptr dead_on_unwind noalias writable sret(%"class.JPH::Mat44") align 16, ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3JPH29CollideSoftBodyVertexIteratorplEi(ptr dead_on_unwind noalias writable sret(%"class.JPH::CollideSoftBodyVertexIterator") align 8, ptr noundef nonnull align 8 dereferenceable(80), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIteratorneERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH29CollideSoftBodyVertexIterator10GetInvMassEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH29CollideSoftBodyVertexIterator11GetPositionEv(ptr noundef nonnull align 8 dereferenceable(80)) 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 #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3JPH29CollideSoftBodyVertexIterator17UpdatePenetrationEf(ptr noundef nonnull align 8 dereferenceable(80), float noundef) local_unnamed_addr #2 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 #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 = !{i64 2157861271}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{i64 0, i64 8, !11, i64 8, i64 4, !13, i64 16, i64 8, !11, i64 24, i64 4, !13, i64 32, i64 8, !11, i64 40, i64 4, !13, i64 48, i64 8, !11, i64 56, i64 4, !13, i64 64, i64 8, !11, i64 72, i64 4, !13}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass