; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtx/gtx_quaternion.ll (Z17test_quat_fastMixv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.glm::qua" = type { float, float, float, float }
%"struct.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z17test_quat_fastMixv() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::qua", align 4
  %3 = alloca float, align 4
  %4 = alloca %"struct.glm::vec", align 4
  %5 = alloca %"struct.glm::qua", align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.glm::vec", align 4
  %8 = alloca %"struct.glm::qua", align 4
  %9 = alloca float, align 4
  %10 = alloca %"struct.glm::qua", align 4
  %11 = alloca float, align 4
  %12 = alloca %"struct.glm::vec", align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store float 0.000000e+00, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %4, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %17 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(12) %4)
  %18 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 0
  %19 = extractvalue { <2 x float>, <2 x float> } %17, 0
  store <2 x float> %19, ptr %18, align 4
  %20 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 1
  %21 = extractvalue { <2 x float>, <2 x float> } %17, 1
  store <2 x float> %21, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %22 = call noundef float @_ZN3glm2piIfEET_v()
  %23 = fmul float %22, 5.000000e-01
  store float %23, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %24 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %25 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %26 = extractvalue { <2 x float>, <2 x float> } %24, 0
  store <2 x float> %26, ptr %25, align 4
  %27 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %28 = extractvalue { <2 x float>, <2 x float> } %24, 1
  store <2 x float> %28, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store float 5.000000e-01, ptr %9, align 4, !tbaa !9
  %29 = call { <2 x float>, <2 x float> } @_ZN3glm7fastMixIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_RKS3_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %30 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 0
  %31 = extractvalue { <2 x float>, <2 x float> } %29, 0
  store <2 x float> %31, ptr %30, align 4
  %32 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 1
  %33 = extractvalue { <2 x float>, <2 x float> } %29, 1
  store <2 x float> %33, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %34 = call noundef float @_ZN3glm2piIfEET_v()
  %35 = fmul float %34, 2.500000e-01
  store float %35, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %12, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %36 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %37 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 0
  %38 = extractvalue { <2 x float>, <2 x float> } %36, 0
  store <2 x float> %38, ptr %37, align 4
  %39 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 1
  %40 = extractvalue { <2 x float>, <2 x float> } %36, 1
  store <2 x float> %40, ptr %39, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %41 = getelementptr inbounds %"struct.glm::qua", ptr %8, i32 0, i32 0
  %42 = getelementptr inbounds %"struct.glm::qua", ptr %10, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store float 0x3F847AE140000000, ptr %13, align 4, !tbaa !9
  %43 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %44 = zext i1 %43 to i64
  %45 = select i1 %43, i32 0, i32 1
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = add nsw i32 %46, %45
  store i32 %47, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  %48 = getelementptr inbounds %"struct.glm::qua", ptr %8, i32 0, i32 1
  %49 = getelementptr inbounds %"struct.glm::qua", ptr %10, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store float 0x3F847AE140000000, ptr %14, align 4, !tbaa !9
  %50 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %51 = zext i1 %50 to i64
  %52 = select i1 %50, i32 0, i32 1
  %53 = load i32, ptr %1, align 4, !tbaa !5
  %54 = add nsw i32 %53, %52
  store i32 %54, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %55 = getelementptr inbounds %"struct.glm::qua", ptr %8, i32 0, i32 2
  %56 = getelementptr inbounds %"struct.glm::qua", ptr %10, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store float 0x3F847AE140000000, ptr %15, align 4, !tbaa !9
  %57 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %58 = zext i1 %57 to i64
  %59 = select i1 %57, i32 0, i32 1
  %60 = load i32, ptr %1, align 4, !tbaa !5
  %61 = add nsw i32 %60, %59
  store i32 %61, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %62 = getelementptr inbounds %"struct.glm::qua", ptr %8, i32 0, i32 3
  %63 = getelementptr inbounds %"struct.glm::qua", ptr %10, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store float 0x3F847AE140000000, ptr %16, align 4, !tbaa !9
  %64 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %63, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %65 = zext i1 %64 to i64
  %66 = select i1 %64, i32 0, i32 1
  %67 = load i32, ptr %1, align 4, !tbaa !5
  %68 = add nsw i32 %67, %66
  store i32 %68, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  %69 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret i32 %69
}

; 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 { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #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 float @_ZN3glm2piIfEET_v() #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm7fastMixIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_RKS3_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.glm::qua" = type { float, float, float, float }
%"struct.glm::vec" = type { %union.anon, %union.anon.0, %union.anon.1 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 5) i32 @_Z17test_quat_fastMixv() local_unnamed_addr #0 {
  %1 = alloca %"struct.glm::qua", align 8
  %2 = alloca float, align 4
  %3 = alloca %"struct.glm::vec", align 4
  %4 = alloca %"struct.glm::qua", align 8
  %5 = alloca float, align 4
  %6 = alloca %"struct.glm::vec", align 4
  %7 = alloca %"struct.glm::qua", align 8
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::qua", align 8
  %10 = alloca float, align 4
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  store float 0.000000e+00, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %3, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %16 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(12) %3)
  %17 = extractvalue { <2 x float>, <2 x float> } %16, 0
  store <2 x float> %17, ptr %1, align 8
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = extractvalue { <2 x float>, <2 x float> } %16, 1
  store <2 x float> %19, ptr %18, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %20 = call noundef float @_ZN3glm2piIfEET_v()
  %21 = fmul float %20, 5.000000e-01
  store float %21, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %6, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %22 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  %23 = extractvalue { <2 x float>, <2 x float> } %22, 0
  store <2 x float> %23, ptr %4, align 8
  %24 = getelementptr inbounds i8, ptr %4, i64 8
  %25 = extractvalue { <2 x float>, <2 x float> } %22, 1
  store <2 x float> %25, ptr %24, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store float 5.000000e-01, ptr %8, align 4, !tbaa !5
  %26 = call { <2 x float>, <2 x float> } @_ZN3glm7fastMixIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_RKS3_(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %27 = extractvalue { <2 x float>, <2 x float> } %26, 0
  store <2 x float> %27, ptr %7, align 8
  %28 = getelementptr inbounds i8, ptr %7, i64 8
  %29 = extractvalue { <2 x float>, <2 x float> } %26, 1
  store <2 x float> %29, ptr %28, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %30 = call noundef float @_ZN3glm2piIfEET_v()
  %31 = fmul float %30, 2.500000e-01
  store float %31, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %11, i32 noundef 0, i32 noundef 0, i32 noundef 1)
  %32 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(12) %11)
  %33 = extractvalue { <2 x float>, <2 x float> } %32, 0
  store <2 x float> %33, ptr %9, align 8
  %34 = getelementptr inbounds i8, ptr %9, i64 8
  %35 = extractvalue { <2 x float>, <2 x float> } %32, 1
  store <2 x float> %35, ptr %34, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store float 0x3F847AE140000000, ptr %12, align 4, !tbaa !5
  %36 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %not. = xor i1 %36, true
  %37 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  %38 = getelementptr inbounds i8, ptr %7, i64 4
  %39 = getelementptr inbounds i8, ptr %9, i64 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store float 0x3F847AE140000000, ptr %13, align 4, !tbaa !5
  %40 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %not.5 = xor i1 %40, true
  %41 = zext i1 %not.5 to i32
  %42 = add nuw nsw i32 %41, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  store float 0x3F847AE140000000, ptr %14, align 4, !tbaa !5
  %43 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %not.6 = xor i1 %43, true
  %44 = zext i1 %not.6 to i32
  %45 = add nuw nsw i32 %42, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  %46 = getelementptr inbounds i8, ptr %7, i64 12
  %47 = getelementptr inbounds i8, ptr %9, i64 12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  store float 0x3F847AE140000000, ptr %15, align 4, !tbaa !5
  %48 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %not.7 = xor i1 %48, true
  %49 = zext i1 %not.7 to i32
  %50 = add nuw nsw i32 %45, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #5
  ret i32 %50
}

; 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 { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) 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 float @_ZN3glm2piIfEET_v() local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm7fastMixIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_RKS3_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { 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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass