; LLVM IR from paroj/gltut :: glsdk/glutil/source (MousePoles)

; 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::detail::tquat" = type { float, float, float, float }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"struct.glm::detail::tvec4" = type { %union.anon.6 }
%union.anon.6 = type { %struct.anon.7 }
%struct.anon.7 = type { float, float, float, float }
%"class.glutil::ObjectPole" = type { ptr, %"struct.glutil::ObjectData", %"struct.glutil::ObjectData", float, i32, i32, i8, %"struct.glm::detail::tvec2", %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat" }
%"struct.glutil::ObjectData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat" }
%"struct.glm::detail::tvec3" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.2 }
%union.anon.2 = type { %struct.anon.3 }
%struct.anon.3 = type { i32, i32 }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil10ObjectPole18RotateWorldDegreesERKN3glm6detail5tquatIfEEb(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6glutil10ObjectPole17RotateViewDegreesERKN3glm6detail5tquatIfEEb(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i1 noundef zeroext %2) #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca %"struct.glm::detail::tquat", align 4
  %8 = alloca %"struct.glm::detail::tmat4x4", align 4
  %9 = alloca %"struct.glm::detail::tquat", align 4
  %10 = alloca %"struct.glm::detail::tquat", align 4
  %11 = alloca %"struct.glm::detail::tquat", align 4
  %12 = alloca %"struct.glm::detail::tquat", align 4
  %13 = alloca %"struct.glm::detail::tquat", align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %14 = zext i1 %2 to i8
  store i8 %14, ptr %6, align 1, !tbaa !9
  %15 = load ptr, ptr %4, align 8
  %16 = getelementptr inbounds %"class.glutil::ObjectPole", ptr %15, i32 0, i32 6
  %17 = load i8, ptr %16, align 4, !tbaa !11, !range !20, !noundef !21
  %18 = trunc i8 %17 to i1
  br i1 %18, label %20, label %19

19:                                               ; preds = %3
  store i8 0, ptr %6, align 1, !tbaa !9
  br label %20

20:                                               ; preds = %19, %3
  %21 = getelementptr inbounds %"class.glutil::ObjectPole", ptr %15, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !22
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %72

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #5
  %25 = getelementptr inbounds %"class.glutil::ObjectPole", ptr %15, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !22
  %27 = load ptr, ptr %26, align 8, !tbaa !23
  %28 = getelementptr inbounds ptr, ptr %27, i64 2
  %29 = load ptr, ptr %28, align 8
  call void %29(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %8, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %30 = call { <2 x float>, <2 x float> } @_ZN3glm9quat_castIfEENS_6detail5tquatIT_EERKNS1_7tmat4x4IS3_EE(ptr noundef nonnull align 4 dereferenceable(64) %8)
  %31 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, 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 %7, 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.end.p0(i64 64, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %35 = call { <2 x float>, <2 x float> } @_ZN3glm9conjugateIfEENS_6detail5tquatIT_EERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %36 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 0
  %37 = extractvalue { <2 x float>, <2 x float> } %35, 0
  store <2 x float> %37, ptr %36, align 4
  %38 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 1
  %39 = extractvalue { <2 x float>, <2 x float> } %35, 1
  store <2 x float> %39, ptr %38, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = call { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %40)
  %42 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 0
  %43 = extractvalue { <2 x float>, <2 x float> } %41, 0
  store <2 x float> %43, ptr %42, align 4
  %44 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 1
  %45 = extractvalue { <2 x float>, <2 x float> } %41, 1
  store <2 x float> %45, ptr %44, align 4
  %46 = call { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(16) %7)
  %47 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %48 = extractvalue { <2 x float>, <2 x float> } %46, 0
  store <2 x float> %48, ptr %47, align 4
  %49 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %50 = extractvalue { <2 x float>, <2 x float> } %46, 1
  store <2 x float> %50, ptr %49, align 4
  %51 = load i8, ptr %6, align 1, !tbaa !9, !range !20, !noundef !21
  %52 = trunc i8 %51 to i1
  br i1 %52, label %53, label %55

53:                                               ; preds = %24
  %54 = getelementptr inbounds %"class.glutil::ObjectPole", ptr %15, i32 0, i32 9
  br label %58

55:                                               ; preds = %24
  %56 = getelementptr inbounds %"class.glutil::ObjectPole", ptr %15, i32 0, i32 1
  %57 = getelementptr inbounds %"struct.glutil::ObjectData", ptr %56, i32 0, i32 1
  br label %58

58:                                               ; preds = %55, %53
  %59 = phi ptr [ %54, %53 ], [ %57, %55 ]
  %60 = call { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %59)
  %61 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %62 = extractvalue { <2 x float>, <2 x float> } %60, 0
  store <2 x float> %62, ptr %61, align 4
  %63 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %64 = extractvalue { <2 x float>, <2 x float> } %60, 1
  store <2 x float> %64, ptr %63, align 4
  %65 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfEENS_6detail5tquatIT_EERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %66 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 0
  %67 = extractvalue { <2 x float>, <2 x float> } %65, 0
  store <2 x float> %67, ptr %66, align 4
  %68 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 1
  %69 = extractvalue { <2 x float>, <2 x float> } %65, 1
  store <2 x float> %69, ptr %68, align 4
  %70 = getelementptr inbounds %"class.glutil::ObjectPole", ptr %15, i32 0, i32 1
  %71 = getelementptr inbounds %"struct.glutil::ObjectData", ptr %70, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  br label %76

72:                                               ; preds = %20
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = load i8, ptr %6, align 1, !tbaa !9, !range !20, !noundef !21
  %75 = trunc i8 %74 to i1
  call void @_ZN6glutil10ObjectPole18RotateWorldDegreesERKN3glm6detail5tquatIfEEb(ptr noundef nonnull align 8 dereferenceable(112) %15, ptr noundef nonnull align 4 dereferenceable(16) %73, i1 noundef zeroext %75)
  br label %76

76:                                               ; preds = %72, %58
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !10, i64 76}
!12 = !{!"_ZTSN6glutil10ObjectPoleE", !6, i64 0, !13, i64 8, !13, i64 36, !16, i64 64, !17, i64 68, !18, i64 72, !10, i64 76, !19, i64 80, !19, i64 88, !15, i64 96}
!13 = !{!"_ZTSN6glutil10ObjectDataE", !14, i64 0, !15, i64 12}
!14 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!15 = !{!"_ZTSN3glm6detail5tquatIfEE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTSN6glutil12MouseButtonsE", !7, i64 0}
!18 = !{!"_ZTSN6glutil10ObjectPole10RotateModeE", !7, i64 0}
!19 = !{!"_ZTSN3glm6detail5tvec2IiEE", !7, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!12, !6, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !8, i64 0}
!25 = !{i64 0, i64 4, !26, i64 4, i64 4, !26, i64 8, i64 4, !26, i64 12, i64 4, !26}
!26 = !{!16, !16, 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::detail::tquat" = type { float, float, float, float }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"struct.glm::detail::tvec4" = type { %union.anon.6 }
%union.anon.6 = type { %struct.anon.7 }
%struct.anon.7 = type { float, 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6glutil10ObjectPole18RotateWorldDegreesERKN3glm6detail5tquatIfEEb(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6glutil10ObjectPole17RotateViewDegreesERKN3glm6detail5tquatIfEEb(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i1 noundef zeroext %2) local_unnamed_addr #1 align 2 {
  %4 = alloca %"struct.glm::detail::tquat", align 8
  %5 = alloca %"struct.glm::detail::tmat4x4", align 4
  %6 = alloca %"struct.glm::detail::tquat", align 8
  %7 = alloca %"struct.glm::detail::tquat", align 8
  %8 = alloca %"struct.glm::detail::tquat", align 8
  %9 = alloca %"struct.glm::detail::tquat", align 8
  %10 = getelementptr inbounds i8, ptr %0, i64 76
  %11 = load i8, ptr %10, align 4, !tbaa !5, !range !18, !noundef !19
  %12 = trunc nuw i8 %11 to i1
  %narrow = and i1 %12, %2
  %13 = load ptr, ptr %0, align 8, !tbaa !20
  %.not = icmp eq ptr %13, null
  br i1 %.not, label %44, label %14

14:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #4
  %15 = load ptr, ptr %13, align 8, !tbaa !21
  %16 = getelementptr inbounds i8, ptr %15, i64 16
  %17 = load ptr, ptr %16, align 8
  call void %17(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %5, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %18 = call { <2 x float>, <2 x float> } @_ZN3glm9quat_castIfEENS_6detail5tquatIT_EERKNS1_7tmat4x4IS3_EE(ptr noundef nonnull align 4 dereferenceable(64) %5)
  %19 = extractvalue { <2 x float>, <2 x float> } %18, 0
  store <2 x float> %19, ptr %4, align 8
  %20 = getelementptr inbounds i8, ptr %4, i64 8
  %21 = extractvalue { <2 x float>, <2 x float> } %18, 1
  store <2 x float> %21, ptr %20, align 8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %22 = call { <2 x float>, <2 x float> } @_ZN3glm9conjugateIfEENS_6detail5tquatIT_EERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %23 = extractvalue { <2 x float>, <2 x float> } %22, 0
  store <2 x float> %23, ptr %6, align 8
  %24 = getelementptr inbounds i8, ptr %6, 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.start.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  %26 = call { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %1)
  %27 = extractvalue { <2 x float>, <2 x float> } %26, 0
  store <2 x float> %27, ptr %9, align 8
  %28 = getelementptr inbounds i8, ptr %9, i64 8
  %29 = extractvalue { <2 x float>, <2 x float> } %26, 1
  store <2 x float> %29, ptr %28, align 8
  %30 = call { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %4)
  %31 = extractvalue { <2 x float>, <2 x float> } %30, 0
  store <2 x float> %31, ptr %8, align 8
  %32 = getelementptr inbounds i8, ptr %8, i64 8
  %33 = extractvalue { <2 x float>, <2 x float> } %30, 1
  store <2 x float> %33, ptr %32, align 8
  %34 = getelementptr inbounds i8, ptr %0, i64 96
  %35 = getelementptr inbounds i8, ptr %0, i64 20
  %36 = select i1 %narrow, ptr %34, ptr %35
  %37 = call { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %36)
  %38 = extractvalue { <2 x float>, <2 x float> } %37, 0
  store <2 x float> %38, ptr %7, align 8
  %39 = getelementptr inbounds i8, ptr %7, i64 8
  %40 = extractvalue { <2 x float>, <2 x float> } %37, 1
  store <2 x float> %40, ptr %39, align 8
  %41 = call { <2 x float>, <2 x float> } @_ZN3glm9normalizeIfEENS_6detail5tquatIT_EERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %42 = extractvalue { <2 x float>, <2 x float> } %41, 0
  %43 = extractvalue { <2 x float>, <2 x float> } %41, 1
  store <2 x float> %42, ptr %35, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 28
  store <2 x float> %43, ptr %.sroa.4.0..sroa_idx, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  br label %45

44:                                               ; preds = %3
  tail call void @_ZN6glutil10ObjectPole18RotateWorldDegreesERKN3glm6detail5tquatIfEEb(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i1 noundef zeroext %narrow)
  br label %45

45:                                               ; preds = %44, %14
  ret void
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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"="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 #4 = { 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, !16, i64 76}
!6 = !{!"_ZTSN6glutil10ObjectPoleE", !7, i64 0, !10, i64 8, !10, i64 36, !13, i64 64, !14, i64 68, !15, i64 72, !16, i64 76, !17, i64 80, !17, i64 88, !12, i64 96}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN6glutil10ObjectDataE", !11, i64 0, !12, i64 12}
!11 = !{!"_ZTSN3glm6detail5tvec3IfEE", !8, i64 0}
!12 = !{!"_ZTSN3glm6detail5tquatIfEE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!13 = !{!"float", !8, i64 0}
!14 = !{!"_ZTSN6glutil12MouseButtonsE", !8, i64 0}
!15 = !{!"_ZTSN6glutil10ObjectPole10RotateModeE", !8, i64 0}
!16 = !{!"bool", !8, i64 0}
!17 = !{!"_ZTSN3glm6detail5tvec2IiEE", !8, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!6, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !9, i64 0}


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