; LLVM IR from atlantis13579/Riemann :: Src/RigidBodyDynamics (MassParameters)

; 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.Maths::TVector3" = type { float, float, float }
%"class.Maths::Matrix3" = type { [3 x [3 x float]] }
%"struct.Riemann::MassParameters" = type { float, float, %"class.Maths::Matrix3", %"class.Maths::TVector3", %"class.Maths::TAABB3" }
%"class.Maths::TAABB3" = type { %"class.Maths::TVector3", %"class.Maths::TVector3" }
%"struct.Maths::Transform" = type { %"class.Maths::TVector3", %"class.Maths::Quaternion" }
%"class.Maths::Quaternion" = type { float, float, float, float }

@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN7Riemann30ComputeCompositeMassParametersERKSt6vectorIPKN5Maths9TransformESaIS4_EERKS0_IPKNS_14MassParametersESaISB_EERS9_ = external hidden unnamed_addr constant [148 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3aSERKS0_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Maths8TVector3IfE4ZeroEv(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix34ZeroEv() #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Maths6TAABB3IfE8SetEmptyEv(ptr noundef nonnull align 4 dereferenceable(24)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEmlEf(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), float noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Maths8TVector3IfEpLERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(24) ptr @_ZN5Maths6TAABB3IfE11EncapsulateERKNS_8TVector3IfEE(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEdvEf(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), float noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5MathsmlIfEENS_8TVector3IT_EES2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEmiERKS1_(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Maths7Matrix3C2ERKNS_8TVector3IfEES4_S4_b(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), i1 noundef zeroext) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5Maths10Quaternion17ToRotationMatrix3Ev(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix39TransposeEv(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix3plERKS0_(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix3mlEf(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36), float noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3pLERKS0_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Riemann30ComputeCompositeMassParametersERKSt6vectorIPKN5Maths9TransformESaIS4_EERKS0_IPKNS_14MassParametersESaISB_EERS9_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(80) %2) #5 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.Maths::TVector3", align 4
  %8 = alloca %"class.Maths::TVector3", align 4
  %9 = alloca %"class.Maths::TVector3", align 4
  %10 = alloca i64, align 8
  %11 = alloca %"class.Maths::TVector3", align 4
  %12 = alloca %"class.Maths::TVector3", align 4
  %13 = alloca %"class.Maths::TVector3", align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %"class.Maths::TVector3", align 4
  %17 = alloca i64, align 8
  %18 = alloca %"class.Maths::TVector3", align 4
  %19 = alloca %"class.Maths::TVector3", align 4
  %20 = alloca %"class.Maths::TVector3", align 4
  %21 = alloca %"class.Maths::TVector3", align 4
  %22 = alloca %"class.Maths::Matrix3", align 4
  %23 = alloca %"class.Maths::TVector3", align 4
  %24 = alloca %"class.Maths::TVector3", align 4
  %25 = alloca %"class.Maths::TVector3", align 4
  %26 = alloca %"class.Maths::Matrix3", align 4
  %27 = alloca %"class.Maths::Matrix3", align 4
  %28 = alloca %"class.Maths::Matrix3", align 4
  %29 = alloca %"class.Maths::Matrix3", align 4
  %30 = alloca %"class.Maths::Matrix3", align 4
  %31 = alloca %"class.Maths::Matrix3", align 4
  %32 = alloca %"class.Maths::Matrix3", align 4
  %33 = alloca %"class.Maths::Matrix3", align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call noundef i64 @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %38 = icmp eq i64 %35, %37
  br i1 %38, label %39, label %40

39:                                               ; preds = %3
  br label %42

40:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 59, ptr noundef @__PRETTY_FUNCTION__._ZN7Riemann30ComputeCompositeMassParametersERKSt6vectorIPKN5Maths9TransformESaIS4_EERKS0_IPKNS_14MassParametersESaISB_EERS9_) #7
  unreachable

41:                                               ; No predecessors!
  br label %42

42:                                               ; preds = %41, %39
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = call noundef i64 @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  %45 = icmp eq i64 %44, 1
  br i1 %45, label %46, label %90

46:                                               ; preds = %42
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 0) #6
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %49, i32 0, i32 1
  %51 = load float, ptr %50, align 4, !tbaa !9
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %52, i32 0, i32 1
  store float %51, ptr %53, align 4, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef 0) #6
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %56, i32 0, i32 0
  %58 = load float, ptr %57, align 4, !tbaa !15
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %59, i32 0, i32 0
  store float %58, ptr %60, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #6
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef 0) #6
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.Maths::Transform", ptr %63, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #6
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef 0) #6
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.Maths::Transform", ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 0) #6
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %71, i32 0, i32 3
  call void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %8, ptr noundef nonnull align 4 dereferenceable(16) %68, ptr noundef nonnull align 4 dereferenceable(12) %72)
  call void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %7, ptr noundef nonnull align 4 dereferenceable(12) %64, ptr noundef nonnull align 4 dereferenceable(12) %8)
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %73, i32 0, i32 3
  %75 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #6
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef 0) #6
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %78, i32 0, i32 2
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %80, i32 0, i32 2
  %82 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3aSERKS0_(ptr noundef nonnull align 4 dereferenceable(36) %81, ptr noundef nonnull align 4 dereferenceable(36) %79)
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef 0) #6
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %85, i32 0, i32 4
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %87, i32 0, i32 4
  %89 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN5Maths6TAABB3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(24) %88, ptr noundef nonnull align 4 dereferenceable(24) %86)
  br label %257

90:                                               ; preds = %42
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %91, i32 0, i32 0
  store float 0.000000e+00, ptr %92, align 4, !tbaa !15
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %93, i32 0, i32 1
  store float 0.000000e+00, ptr %94, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #6
  call void @_ZN5Maths8TVector3IfE4ZeroEv(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %9)
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %95, i32 0, i32 3
  %97 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %96, ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #6
  %98 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix34ZeroEv()
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %99, i32 0, i32 2
  %101 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3aSERKS0_(ptr noundef nonnull align 4 dereferenceable(36) %100, ptr noundef nonnull align 4 dereferenceable(36) %98)
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %102, i32 0, i32 4
  call void @_ZN5Maths6TAABB3IfE8SetEmptyEv(ptr noundef nonnull align 4 dereferenceable(24) %103)
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = call noundef zeroext i1 @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %104) #6
  br i1 %105, label %106, label %107

106:                                              ; preds = %90
  br label %257

107:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !16
  br label %108

108:                                              ; preds = %166, %107
  %109 = load i64, ptr %10, align 8, !tbaa !16
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %110) #6
  %112 = icmp ult i64 %109, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %169

114:                                              ; preds = %108
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = load i64, ptr %10, align 8, !tbaa !16
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef %116) #6
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %118, i32 0, i32 0
  %120 = load float, ptr %119, align 4, !tbaa !15
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 4, !tbaa !15
  %124 = fadd float %123, %120
  store float %124, ptr %122, align 4, !tbaa !15
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = load i64, ptr %10, align 8, !tbaa !16
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %126) #6
  %128 = load ptr, ptr %127, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %128, i32 0, i32 1
  %130 = load float, ptr %129, align 4, !tbaa !9
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %131, i32 0, i32 1
  %133 = load float, ptr %132, align 4, !tbaa !9
  %134 = fadd float %133, %130
  store float %134, ptr %132, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #6
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = load i64, ptr %10, align 8, !tbaa !16
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %136) #6
  %138 = load ptr, ptr %137, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.Maths::Transform", ptr %138, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #6
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = load i64, ptr %10, align 8, !tbaa !16
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %140, i64 noundef %141) #6
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.Maths::Transform", ptr %143, i32 0, i32 1
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = load i64, ptr %10, align 8, !tbaa !16
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %146) #6
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %148, i32 0, i32 3
  call void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %13, ptr noundef nonnull align 4 dereferenceable(16) %144, ptr noundef nonnull align 4 dereferenceable(12) %149)
  call void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %12, ptr noundef nonnull align 4 dereferenceable(12) %139, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = load i64, ptr %10, align 8, !tbaa !16
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %151) #6
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %153, i32 0, i32 0
  %155 = load float, ptr %154, align 4, !tbaa !15
  call void @_ZNK5Maths8TVector3IfEmlEf(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %11, ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef %155)
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %156, i32 0, i32 3
  call void @_ZN5Maths8TVector3IfEpLERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %157, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #6
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %158, i32 0, i32 4
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = load i64, ptr %10, align 8, !tbaa !16
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %161) #6
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.Maths::Transform", ptr %163, i32 0, i32 0
  %165 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN5Maths6TAABB3IfE11EncapsulateERKNS_8TVector3IfEE(ptr noundef nonnull align 4 dereferenceable(24) %159, ptr noundef nonnull align 4 dereferenceable(12) %164)
  br label %166

166:                                              ; preds = %114
  %167 = load i64, ptr %10, align 8, !tbaa !16
  %168 = add i64 %167, 1
  store i64 %168, ptr %10, align 8, !tbaa !16
  br label %108, !llvm.loop !18

169:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 0x3F50624DE0000000, ptr %14, align 4, !tbaa !20
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %170, i32 0, i32 0
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %171)
  %173 = load float, ptr %172, align 4, !tbaa !20
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %174, i32 0, i32 0
  store float %173, ptr %175, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store float 0x3F50624DE0000000, ptr %15, align 4, !tbaa !20
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %176, i32 0, i32 1
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %177)
  %179 = load float, ptr %178, align 4, !tbaa !20
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %180, i32 0, i32 1
  store float %179, ptr %181, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #6
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %182, i32 0, i32 3
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %184, i32 0, i32 0
  %186 = load float, ptr %185, align 4, !tbaa !15
  call void @_ZNK5Maths8TVector3IfEdvEf(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %16, ptr noundef nonnull align 4 dereferenceable(12) %183, float noundef %186)
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %187, i32 0, i32 3
  %189 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %188, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 0, ptr %17, align 8, !tbaa !16
  br label %190

190:                                              ; preds = %254, %169
  %191 = load i64, ptr %17, align 8, !tbaa !16
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %192) #6
  %194 = icmp ult i64 %191, %193
  br i1 %194, label %196, label %195

195:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %257

196:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #6
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = load i64, ptr %17, align 8, !tbaa !16
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %197, i64 noundef %198) #6
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %200, i32 0, i32 0
  %202 = load float, ptr %201, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #6
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = load i64, ptr %17, align 8, !tbaa !16
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %204) #6
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.Maths::Transform", ptr %206, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #6
  %208 = load ptr, ptr %4, align 8, !tbaa !5
  %209 = load i64, ptr %17, align 8, !tbaa !16
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %208, i64 noundef %209) #6
  %211 = load ptr, ptr %210, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.Maths::Transform", ptr %211, i32 0, i32 1
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = load i64, ptr %17, align 8, !tbaa !16
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %213, i64 noundef %214) #6
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %216, i32 0, i32 3
  call void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %21, ptr noundef nonnull align 4 dereferenceable(16) %212, ptr noundef nonnull align 4 dereferenceable(12) %217)
  call void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %20, ptr noundef nonnull align 4 dereferenceable(12) %207, ptr noundef nonnull align 4 dereferenceable(12) %21)
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %218, i32 0, i32 3
  call void @_ZNK5Maths8TVector3IfEmiERKS1_(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %19, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %219)
  call void @_ZN5MathsmlIfEENS_8TVector3IT_EES2_RKS3_(ptr dead_on_unwind writable sret(%"class.Maths::TVector3") align 4 %18, float noundef %202, ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #6
  %220 = getelementptr inbounds %"class.Maths::TVector3", ptr %18, i32 0, i32 2
  %221 = load float, ptr %220, align 4, !tbaa !21
  %222 = fneg float %221
  %223 = getelementptr inbounds %"class.Maths::TVector3", ptr %18, i32 0, i32 1
  %224 = load float, ptr %223, align 4, !tbaa !22
  call void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef 0.000000e+00, float noundef %222, float noundef %224)
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #6
  %225 = getelementptr inbounds %"class.Maths::TVector3", ptr %18, i32 0, i32 2
  %226 = load float, ptr %225, align 4, !tbaa !21
  %227 = getelementptr inbounds %"class.Maths::TVector3", ptr %18, i32 0, i32 0
  %228 = load float, ptr %227, align 4, !tbaa !23
  %229 = fneg float %228
  call void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %24, float noundef %226, float noundef 0.000000e+00, float noundef %229)
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #6
  %230 = getelementptr inbounds %"class.Maths::TVector3", ptr %18, i32 0, i32 1
  %231 = load float, ptr %230, align 4, !tbaa !22
  %232 = fneg float %231
  %233 = getelementptr inbounds %"class.Maths::TVector3", ptr %18, i32 0, i32 0
  %234 = load float, ptr %233, align 4, !tbaa !23
  call void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef %232, float noundef %234, float noundef 0.000000e+00)
  call void @_ZN5Maths7Matrix3C2ERKNS_8TVector3IfEES4_S4_b(ptr noundef nonnull align 4 dereferenceable(36) %22, ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(12) %25, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %26) #6
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = load i64, ptr %17, align 8, !tbaa !16
  %237 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %235, i64 noundef %236) #6
  %238 = load ptr, ptr %237, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.Maths::Transform", ptr %238, i32 0, i32 1
  call void @_ZNK5Maths10Quaternion17ToRotationMatrix3Ev(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %26, ptr noundef nonnull align 4 dereferenceable(16) %239)
  call void @llvm.lifetime.start.p0(i64 36, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %29) #6
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = load i64, ptr %17, align 8, !tbaa !16
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %240, i64 noundef %241) #6
  %243 = load ptr, ptr %242, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %243, i32 0, i32 2
  call void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %29, ptr noundef nonnull align 4 dereferenceable(36) %26, ptr noundef nonnull align 4 dereferenceable(36) %244)
  call void @llvm.lifetime.start.p0(i64 36, ptr %30) #6
  call void @_ZNK5Maths7Matrix39TransposeEv(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %30, ptr noundef nonnull align 4 dereferenceable(36) %26)
  call void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %28, ptr noundef nonnull align 4 dereferenceable(36) %29, ptr noundef nonnull align 4 dereferenceable(36) %30)
  call void @llvm.lifetime.start.p0(i64 36, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %32) #6
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  %246 = load i64, ptr %17, align 8, !tbaa !16
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %245, i64 noundef %246) #6
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %248, i32 0, i32 0
  %250 = load float, ptr %249, align 4, !tbaa !15
  call void @_ZNK5Maths7Matrix3mlEf(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %32, ptr noundef nonnull align 4 dereferenceable(36) %22, float noundef %250)
  call void @llvm.lifetime.start.p0(i64 36, ptr %33) #6
  call void @_ZNK5Maths7Matrix39TransposeEv(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %33, ptr noundef nonnull align 4 dereferenceable(36) %22)
  call void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %31, ptr noundef nonnull align 4 dereferenceable(36) %32, ptr noundef nonnull align 4 dereferenceable(36) %33)
  call void @_ZNK5Maths7Matrix3plERKS0_(ptr dead_on_unwind writable sret(%"class.Maths::Matrix3") align 4 %27, ptr noundef nonnull align 4 dereferenceable(36) %28, ptr noundef nonnull align 4 dereferenceable(36) %31)
  %251 = load ptr, ptr %6, align 8, !tbaa !5
  %252 = getelementptr inbounds %"struct.Riemann::MassParameters", ptr %251, i32 0, i32 2
  %253 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3pLERKS0_(ptr noundef nonnull align 4 dereferenceable(36) %252, ptr noundef nonnull align 4 dereferenceable(36) %27)
  call void @llvm.lifetime.end.p0(i64 36, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #6
  br label %254

254:                                              ; preds = %196
  %255 = load i64, ptr %17, align 8, !tbaa !16
  %256 = add i64 %255, 1
  store i64 %256, ptr %17, align 8, !tbaa !16
  br label %190, !llvm.loop !24

257:                                              ; preds = %195, %106, %46
  ret void
}

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

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

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

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

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

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 = { 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 = { nounwind }
attributes #7 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"_ZTSN7Riemann14MassParametersE", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 44, !14, i64 56}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTSN5Maths7Matrix3E", !7, i64 0}
!13 = !{!"_ZTSN5Maths8TVector3IfEE", !11, i64 0, !11, i64 4, !11, i64 8}
!14 = !{!"_ZTSN5Maths6TAABB3IfEE", !13, i64 0, !13, i64 12}
!15 = !{!10, !11, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!11, !11, i64 0}
!21 = !{!13, !11, i64 8}
!22 = !{!13, !11, i64 4}
!23 = !{!13, !11, i64 0}
!24 = distinct !{!24, !19}


; 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.Maths::TVector3" = type { float, float, float }
%"class.Maths::Matrix3" = type { [3 x [3 x float]] }

@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN7Riemann30ComputeCompositeMassParametersERKSt6vectorIPKN5Maths9TransformESaIS4_EERKS0_IPKNS_14MassParametersESaISB_EERS9_ = external hidden unnamed_addr constant [148 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3aSERKS0_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Maths8TVector3IfE4ZeroEv(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix34ZeroEv() local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Maths6TAABB3IfE8SetEmptyEv(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEmlEf(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Maths8TVector3IfEpLERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(24) ptr @_ZN5Maths6TAABB3IfE11EncapsulateERKNS_8TVector3IfEE(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEdvEf(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5MathsmlIfEENS_8TVector3IT_EES2_RKS3_(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths8TVector3IfEmiERKS1_(ptr dead_on_unwind noalias writable sret(%"class.Maths::TVector3") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Maths7Matrix3C2ERKNS_8TVector3IfEES4_S4_b(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), i1 noundef zeroext) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5Maths10Quaternion17ToRotationMatrix3Ev(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix39TransposeEv(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix3plERKS0_(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Maths7Matrix3mlEf(ptr dead_on_unwind noalias writable sret(%"class.Maths::Matrix3") align 4, ptr noundef nonnull align 4 dereferenceable(36), float noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3pLERKS0_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Riemann30ComputeCompositeMassParametersERKSt6vectorIPKN5Maths9TransformESaIS4_EERKS0_IPKNS_14MassParametersESaISB_EERS9_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(80) %2) local_unnamed_addr #5 {
  %4 = alloca %"class.Maths::TVector3", align 4
  %5 = alloca %"class.Maths::TVector3", align 4
  %6 = alloca %"class.Maths::TVector3", align 4
  %7 = alloca %"class.Maths::TVector3", align 4
  %8 = alloca %"class.Maths::TVector3", align 4
  %9 = alloca %"class.Maths::TVector3", align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca %"class.Maths::TVector3", align 4
  %13 = alloca %"class.Maths::TVector3", align 4
  %14 = alloca %"class.Maths::TVector3", align 4
  %15 = alloca %"class.Maths::TVector3", align 4
  %16 = alloca %"class.Maths::TVector3", align 4
  %17 = alloca %"class.Maths::Matrix3", align 4
  %18 = alloca %"class.Maths::TVector3", align 4
  %19 = alloca %"class.Maths::TVector3", align 4
  %20 = alloca %"class.Maths::TVector3", align 4
  %21 = alloca %"class.Maths::Matrix3", align 4
  %22 = alloca %"class.Maths::Matrix3", align 4
  %23 = alloca %"class.Maths::Matrix3", align 4
  %24 = alloca %"class.Maths::Matrix3", align 4
  %25 = alloca %"class.Maths::Matrix3", align 4
  %26 = alloca %"class.Maths::Matrix3", align 4
  %27 = alloca %"class.Maths::Matrix3", align 4
  %28 = alloca %"class.Maths::Matrix3", align 4
  %29 = tail call noundef i64 @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %30 = tail call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %31 = icmp eq i64 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 59, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7Riemann30ComputeCompositeMassParametersERKSt6vectorIPKN5Maths9TransformESaIS4_EERKS0_IPKNS_14MassParametersESaISB_EERS9_) #7
  unreachable

33:                                               ; preds = %3
  %34 = tail call noundef i64 @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  %35 = icmp eq i64 %34, 1
  br i1 %35, label %36, label %65

36:                                               ; preds = %33
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 4
  %40 = load float, ptr %39, align 4, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %2, i64 4
  store float %40, ptr %41, align 4, !tbaa !9
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = load float, ptr %43, align 4, !tbaa !15
  store float %44, ptr %2, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #6
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #6
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #6
  %48 = load ptr, ptr %47, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i64 12
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 44
  call void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %5, ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(12) %52)
  call void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %4, ptr noundef nonnull align 4 dereferenceable(12) %46, ptr noundef nonnull align 4 dereferenceable(12) %5)
  %53 = getelementptr inbounds i8, ptr %2, i64 44
  %54 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %53, ptr noundef nonnull align 4 dereferenceable(12) %4)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  %58 = getelementptr inbounds i8, ptr %2, i64 8
  %59 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3aSERKS0_(ptr noundef nonnull align 4 dereferenceable(36) %58, ptr noundef nonnull align 4 dereferenceable(36) %57)
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 56
  %63 = getelementptr inbounds i8, ptr %2, i64 56
  %64 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN5Maths6TAABB3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(24) %63, ptr noundef nonnull align 4 dereferenceable(24) %62)
  br label %.loopexit

65:                                               ; preds = %33
  %66 = getelementptr inbounds i8, ptr %2, i64 4
  store <2 x float> zeroinitializer, ptr %2, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  call void @_ZN5Maths8TVector3IfE4ZeroEv(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %6)
  %67 = getelementptr inbounds i8, ptr %2, i64 44
  %68 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %67, ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  %69 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix34ZeroEv()
  %70 = getelementptr inbounds i8, ptr %2, i64 8
  %71 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3aSERKS0_(ptr noundef nonnull align 4 dereferenceable(36) %70, ptr noundef nonnull align 4 dereferenceable(36) %69)
  %72 = getelementptr inbounds i8, ptr %2, i64 56
  call void @_ZN5Maths6TAABB3IfE8SetEmptyEv(ptr noundef nonnull align 4 dereferenceable(24) %72)
  %73 = call noundef zeroext i1 @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br i1 %73, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %65
  %74 = call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not = icmp eq i64 %74, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store float 0x3F50624DE0000000, ptr %10, align 4, !tbaa !16
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %76 = load float, ptr %75, align 4, !tbaa !16
  store float %76, ptr %2, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store float 0x3F50624DE0000000, ptr %11, align 4, !tbaa !16
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %66)
  %78 = load float, ptr %77, align 4, !tbaa !16
  store float %78, ptr %66, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #6
  %79 = load float, ptr %2, align 4, !tbaa !15
  call void @_ZNK5Maths8TVector3IfEdvEf(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %12, ptr noundef nonnull align 4 dereferenceable(12) %67, float noundef %79)
  %80 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN5Maths8TVector3IfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %67, ptr noundef nonnull align 4 dereferenceable(12) %12)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  %81 = call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not72 = icmp eq i64 %81, 0
  br i1 %.not72, label %.loopexit, label %.lr.ph71

.lr.ph71:                                         ; preds = %._crit_edge
  %82 = getelementptr inbounds i8, ptr %13, i64 8
  %83 = getelementptr inbounds i8, ptr %13, i64 4
  br label %112

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.06768 = phi i64 [ %109, %.lr.ph ], [ 0, %.preheader ]
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06768) #6
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = load float, ptr %85, align 4, !tbaa !15
  %87 = load float, ptr %2, align 4, !tbaa !15
  %88 = fadd float %86, %87
  store float %88, ptr %2, align 4, !tbaa !15
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06768) #6
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 4
  %92 = load float, ptr %91, align 4, !tbaa !9
  %93 = load float, ptr %66, align 4, !tbaa !9
  %94 = fadd float %92, %93
  store float %94, ptr %66, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.06768) #6
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.06768) #6
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %98, i64 12
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06768) #6
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i64 44
  call void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %99, ptr noundef nonnull align 4 dereferenceable(12) %102)
  call void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %8, ptr noundef nonnull align 4 dereferenceable(12) %96, ptr noundef nonnull align 4 dereferenceable(12) %9)
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06768) #6
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = load float, ptr %104, align 4, !tbaa !15
  call void @_ZNK5Maths8TVector3IfEmlEf(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %7, ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef %105)
  call void @_ZN5Maths8TVector3IfEpLERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %67, ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.06768) #6
  %107 = load ptr, ptr %106, align 8, !tbaa !5
  %108 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN5Maths6TAABB3IfE11EncapsulateERKNS_8TVector3IfEE(ptr noundef nonnull align 4 dereferenceable(24) %72, ptr noundef nonnull align 4 dereferenceable(12) %107)
  %109 = add nuw i64 %.06768, 1
  %110 = call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %111 = icmp ult i64 %109, %110
  br i1 %111, label %.lr.ph, label %._crit_edge, !llvm.loop !17

112:                                              ; preds = %.lr.ph71, %112
  %.069 = phi i64 [ 0, %.lr.ph71 ], [ %143, %112 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #6
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.069) #6
  %114 = load ptr, ptr %113, align 8, !tbaa !5
  %115 = load float, ptr %114, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #6
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.069) #6
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #6
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.069) #6
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %119, i64 12
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.069) #6
  %122 = load ptr, ptr %121, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 44
  call void @_ZNK5Maths10QuaternionmlERKNS_8TVector3IfEE(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %16, ptr noundef nonnull align 4 dereferenceable(16) %120, ptr noundef nonnull align 4 dereferenceable(12) %123)
  call void @_ZNK5Maths8TVector3IfEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %15, ptr noundef nonnull align 4 dereferenceable(12) %117, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @_ZNK5Maths8TVector3IfEmiERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %14, ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %67)
  call void @_ZN5MathsmlIfEENS_8TVector3IT_EES2_RKS3_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::TVector3") align 4 %13, float noundef %115, ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #6
  %124 = load float, ptr %82, align 4, !tbaa !19
  %125 = fneg float %124
  %126 = load float, ptr %83, align 4, !tbaa !20
  call void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %18, float noundef 0.000000e+00, float noundef %125, float noundef %126)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #6
  %127 = load float, ptr %82, align 4, !tbaa !19
  %128 = load float, ptr %13, align 4, !tbaa !21
  %129 = fneg float %128
  call void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %19, float noundef %127, float noundef 0.000000e+00, float noundef %129)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #6
  %130 = load float, ptr %83, align 4, !tbaa !20
  %131 = fneg float %130
  %132 = load float, ptr %13, align 4, !tbaa !21
  call void @_ZN5Maths8TVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %20, float noundef %131, float noundef %132, float noundef 0.000000e+00)
  call void @_ZN5Maths7Matrix3C2ERKNS_8TVector3IfEES4_S4_b(ptr noundef nonnull align 4 dereferenceable(36) %17, ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %20, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %21) #6
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN5Maths9TransformESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %.069) #6
  %134 = load ptr, ptr %133, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i64 12
  call void @_ZNK5Maths10Quaternion17ToRotationMatrix3Ev(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %21, ptr noundef nonnull align 4 dereferenceable(16) %135)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %24) #6
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.069) #6
  %137 = load ptr, ptr %136, align 8, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %137, i64 8
  call void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %24, ptr noundef nonnull align 4 dereferenceable(36) %21, ptr noundef nonnull align 4 dereferenceable(36) %138)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %25) #6
  call void @_ZNK5Maths7Matrix39TransposeEv(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %25, ptr noundef nonnull align 4 dereferenceable(36) %21)
  call void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %23, ptr noundef nonnull align 4 dereferenceable(36) %24, ptr noundef nonnull align 4 dereferenceable(36) %25)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %27) #6
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.069) #6
  %140 = load ptr, ptr %139, align 8, !tbaa !5
  %141 = load float, ptr %140, align 4, !tbaa !15
  call void @_ZNK5Maths7Matrix3mlEf(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %27, ptr noundef nonnull align 4 dereferenceable(36) %17, float noundef %141)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %28) #6
  call void @_ZNK5Maths7Matrix39TransposeEv(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %28, ptr noundef nonnull align 4 dereferenceable(36) %17)
  call void @_ZNK5Maths7Matrix3mlERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %26, ptr noundef nonnull align 4 dereferenceable(36) %27, ptr noundef nonnull align 4 dereferenceable(36) %28)
  call void @_ZNK5Maths7Matrix3plERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Maths::Matrix3") align 4 %22, ptr noundef nonnull align 4 dereferenceable(36) %23, ptr noundef nonnull align 4 dereferenceable(36) %26)
  %142 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZN5Maths7Matrix3pLERKS0_(ptr noundef nonnull align 4 dereferenceable(36) %70, ptr noundef nonnull align 4 dereferenceable(36) %22)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  %143 = add nuw i64 %.069, 1
  %144 = call noundef i64 @_ZNKSt6vectorIPKN7Riemann14MassParametersESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %145 = icmp ult i64 %143, %144
  br i1 %145, label %112, label %.loopexit, !llvm.loop !22

.loopexit:                                        ; preds = %112, %._crit_edge, %65, %36
  ret void
}

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

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

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

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

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

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 = { 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 = { nounwind }
attributes #7 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"_ZTSN7Riemann14MassParametersE", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 44, !14, i64 56}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTSN5Maths7Matrix3E", !7, i64 0}
!13 = !{!"_ZTSN5Maths8TVector3IfEE", !11, i64 0, !11, i64 4, !11, i64 8}
!14 = !{!"_ZTSN5Maths6TAABB3IfEE", !13, i64 0, !13, i64 12}
!15 = !{!10, !11, i64 0}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!13, !11, i64 8}
!20 = !{!13, !11, i64 4}
!21 = !{!13, !11, i64 0}
!22 = distinct !{!22, !18}


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