; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/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 { 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: 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 { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 0
  %27 = extractvalue { <2 x float>, <2 x float> } %25, 0
  store <2 x float> %27, ptr %26, align 4
  %28 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 1
  %29 = extractvalue { <2 x float>, <2 x float> } %25, 1
  store <2 x float> %29, ptr %28, 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
  %30 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %31 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %32 = extractvalue { <2 x float>, <2 x float> } %30, 0
  store <2 x float> %32, ptr %31, align 4
  %33 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %34 = extractvalue { <2 x float>, <2 x float> } %30, 1
  store <2 x float> %34, ptr %33, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %35 = call noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %5)
  store float %35, 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
  %36 = 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)
  %37 = zext i1 %36 to i64
  %38 = select i1 %36, i32 0, i32 1
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = add nsw i32 %39, %38
  store i32 %40, 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
  %41 = call noundef float @_ZN3glm2piIfEET_v()
  %42 = fmul float %41, 2.500000e-01
  store float %42, 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)
  %43 = 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)
  %44 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 0
  %45 = extractvalue { <2 x float>, <2 x float> } %43, 0
  store <2 x float> %45, ptr %44, align 4
  %46 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 1
  %47 = extractvalue { <2 x float>, <2 x float> } %43, 1
  store <2 x float> %47, ptr %46, 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
  %48 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %49 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %50 = extractvalue { <2 x float>, <2 x float> } %48, 0
  store <2 x float> %50, ptr %49, align 4
  %51 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %52 = extractvalue { <2 x float>, <2 x float> } %48, 1
  store <2 x float> %52, ptr %51, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %53 = call noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %12)
  store float %53, 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
  %54 = 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)
  %55 = zext i1 %54 to i64
  %56 = select i1 %54, i32 0, i32 1
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = add nsw i32 %57, %56
  store i32 %58, 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
  %59 = call noundef float @_ZN3glm2piIfEET_v()
  %60 = fmul float %59, 2.500000e-01
  store float %60, 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)
  %61 = 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)
  %62 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %63 = extractvalue { <2 x float>, <2 x float> } %61, 0
  store <2 x float> %63, ptr %62, align 4
  %64 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %65 = extractvalue { <2 x float>, <2 x float> } %61, 1
  store <2 x float> %65, ptr %64, 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
  %66 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %16)
  %67 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 0
  %68 = extractvalue { <2 x float>, <2 x float> } %66, 0
  store <2 x float> %68, ptr %67, align 4
  %69 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 1
  %70 = extractvalue { <2 x float>, <2 x float> } %66, 1
  store <2 x float> %70, ptr %69, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %71 = call noundef float @_ZN3glm6lengthIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %19)
  store float %71, 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
  %72 = 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)
  %73 = zext i1 %72 to i64
  %74 = select i1 %72, i32 0, i32 1
  %75 = load i32, ptr %1, align 4, !tbaa !5
  %76 = add nsw i32 %75, %74
  store i32 %76, 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
  %77 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret i32 %77
}

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 { 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 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