; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtc/gtc_quaternion.ll (Z19test_quat_normalizev)

; 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 { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.glm::vec" = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon.1 }
%struct.anon.1 = type { float, float, float }

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3glm2piIfEET_v() #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 #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16)) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z19test_quat_normalizev() #4 {
  %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 float, align 4
  %8 = alloca float, align 4
  %9 = alloca %"struct.glm::qua", align 4
  %10 = alloca float, align 4
  %11 = alloca %"struct.glm::vec", align 4
  %12 = alloca %"struct.glm::qua", align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %"struct.glm::qua", align 4
  %17 = alloca float, align 4
  %18 = alloca %"struct.glm::vec", align 4
  %19 = alloca %"struct.glm::qua", align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = 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
  %23 = call noundef float @_ZN3glm2piIfEET_v()
  %24 = fmul float %23, 2.500000e-01
  store float %24, 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)
  %25 = 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)
  %26 = getelementptr inbounds %"struct.glm::qua", ptr %2, i32 0, i32 0
  %27 = getelementptr inbounds %union.anon, ptr %26, i32 0, i32 0
  %28 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 0
  %29 = extractvalue { <2 x float>, <2 x float> } %25, 0
  store <2 x float> %29, ptr %28, align 4
  %30 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 1
  %31 = extractvalue { <2 x float>, <2 x float> } %25, 1
  store <2 x float> %31, ptr %30, 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
  %32 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %33 = getelementptr inbounds %"struct.glm::qua", ptr %5, i32 0, i32 0
  %34 = getelementptr inbounds %union.anon, ptr %33, i32 0, i32 0
  %35 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 0
  %36 = extractvalue { <2 x float>, <2 x float> } %32, 0
  store <2 x float> %36, ptr %35, align 4
  %37 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 1
  %38 = extractvalue { <2 x float>, <2 x float> } %32, 1
  store <2 x float> %38, ptr %37, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %39 = call noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %5)
  store float %39, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store float 1.000000e+00, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store float 0x3EB0C6F7A0000000, ptr %8, align 4, !tbaa !9
  %40 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, i32 0, i32 1
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = add nsw i32 %43, %42
  store i32 %44, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #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.start.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %45 = call noundef float @_ZN3glm2piIfEET_v()
  %46 = fmul float %45, 2.500000e-01
  store float %46, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %11, i32 noundef 0, i32 noundef 0, i32 noundef 2)
  %47 = 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)
  %48 = getelementptr inbounds %"struct.glm::qua", ptr %9, i32 0, i32 0
  %49 = getelementptr inbounds %union.anon, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 0
  %51 = extractvalue { <2 x float>, <2 x float> } %47, 0
  store <2 x float> %51, ptr %50, align 4
  %52 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 1
  %53 = extractvalue { <2 x float>, <2 x float> } %47, 1
  store <2 x float> %53, ptr %52, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %54 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %55 = getelementptr inbounds %"struct.glm::qua", ptr %12, i32 0, i32 0
  %56 = getelementptr inbounds %union.anon, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 0
  %58 = extractvalue { <2 x float>, <2 x float> } %54, 0
  store <2 x float> %58, ptr %57, align 4
  %59 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 1
  %60 = extractvalue { <2 x float>, <2 x float> } %54, 1
  store <2 x float> %60, ptr %59, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %61 = call noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %12)
  store float %61, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store float 1.000000e+00, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store float 0x3EB0C6F7A0000000, ptr %15, align 4, !tbaa !9
  %62 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %63 = zext i1 %62 to i64
  %64 = select i1 %62, i32 0, i32 1
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = add nsw i32 %65, %64
  store i32 %66, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %67 = call noundef float @_ZN3glm2piIfEET_v()
  %68 = fmul float %67, 2.500000e-01
  store float %68, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #5
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2IiiiEET_T0_T1_(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef 1, i32 noundef 2, i32 noundef 3)
  %69 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %70 = getelementptr inbounds %"struct.glm::qua", ptr %16, i32 0, i32 0
  %71 = getelementptr inbounds %union.anon, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %71, i32 0, i32 0
  %73 = extractvalue { <2 x float>, <2 x float> } %69, 0
  store <2 x float> %73, ptr %72, align 4
  %74 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %71, i32 0, i32 1
  %75 = extractvalue { <2 x float>, <2 x float> } %69, 1
  store <2 x float> %75, ptr %74, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %76 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %77 = getelementptr inbounds %"struct.glm::qua", ptr %19, i32 0, i32 0
  %78 = getelementptr inbounds %union.anon, ptr %77, i32 0, i32 0
  %79 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 0
  %80 = extractvalue { <2 x float>, <2 x float> } %76, 0
  store <2 x float> %80, ptr %79, align 4
  %81 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 1
  %82 = extractvalue { <2 x float>, <2 x float> } %76, 1
  store <2 x float> %82, ptr %81, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %83 = call noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %19)
  store float %83, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store float 1.000000e+00, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store float 0x3EB0C6F7A0000000, ptr %22, align 4, !tbaa !9
  %84 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %85 = zext i1 %84 to i64
  %86 = select i1 %84, i32 0, i32 1
  %87 = load i32, ptr %1, align 4, !tbaa !5
  %88 = add nsw i32 %87, %86
  store i32 %88, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  %89 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret i32 %89
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.glm::vec" = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon.1 }
%struct.anon.1 = type { float, float, float }

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

; Function Attrs: 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 #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3glm2piIfEET_v() 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 #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_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 #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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,TailCallElimPass