; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtc/gtc_quaternion.ll (Z15test_quat_slerpv)

; 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.11" = type { %union.anon.12, %union.anon.13, %union.anon.14, %union.anon.15 }
%union.anon.12 = type { i8 }
%union.anon.13 = type { i8 }
%union.anon.14 = type { i8 }
%union.anon.15 = type { i8 }
%"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 }

@__const._Z15test_quat_slerpv.id = external hidden unnamed_addr constant %"struct.glm::qua", align 4
@__const._Z15test_quat_slerpv.Y180rot = external hidden unnamed_addr constant %"struct.glm::qua", align 4
@__const._Z15test_quat_slerpv.a = external hidden unnamed_addr constant %"struct.glm::qua", align 4

; 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: 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 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: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16)) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z15test_quat_slerpv() #5 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca float, align 4
  %4 = alloca %"struct.glm::qua", align 4
  %5 = alloca %"struct.glm::qua", align 4
  %6 = alloca %"struct.glm::qua", align 4
  %7 = alloca %"struct.glm::qua", align 4
  %8 = alloca %"struct.glm::vec.11", align 1
  %9 = alloca %"struct.glm::qua", align 4
  %10 = alloca %"struct.glm::vec.11", align 1
  %11 = alloca %"struct.glm::qua", align 4
  %12 = alloca %"struct.glm::qua", align 4
  %13 = alloca %"struct.glm::qua", align 4
  %14 = alloca %"struct.glm::qua", align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca %"struct.glm::vec.11", align 1
  %18 = alloca %"struct.glm::qua", align 4
  %19 = alloca %"struct.glm::qua", align 4
  %20 = alloca %"struct.glm::vec.11", align 1
  %21 = alloca %"struct.glm::qua", align 4
  %22 = alloca %"struct.glm::qua", align 4
  %23 = alloca %"struct.glm::vec.11", align 1
  %24 = alloca %"struct.glm::qua", align 4
  %25 = alloca %"struct.glm::qua", align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca %"struct.glm::qua", align 4
  %29 = alloca %"struct.glm::qua", align 4
  %30 = alloca float, align 4
  %31 = alloca %"struct.glm::vec", align 4
  %32 = alloca %"struct.glm::qua", align 4
  %33 = alloca %"struct.glm::qua", align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store float 0x3F1A36E2E0000000, ptr %2, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %37 = call noundef float @_ZSt4sqrtf(float noundef 2.000000e+00)
  %38 = fdiv float %37, 2.000000e+00
  store float %38, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const._Z15test_quat_slerpv.id, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  %39 = load float, ptr %3, align 4, !tbaa !9
  %40 = load float, ptr %3, align 4, !tbaa !9
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %39, float noundef 0.000000e+00, float noundef %40, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const._Z15test_quat_slerpv.Y180rot, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  %41 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 0.000000e+00)
  %42 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, 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 %7, i32 0, i32 1
  %45 = extractvalue { <2 x float>, <2 x float> } %41, 1
  store <2 x float> %45, ptr %44, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %46 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 0x3F1A36E2E0000000)
  store i32 %46, ptr %8, align 1
  %47 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %8)
  %48 = zext i1 %47 to i64
  %49 = select i1 %47, i32 0, i32 1
  %50 = load i32, ptr %1, align 4, !tbaa !5
  %51 = add nsw i32 %50, %49
  store i32 %51, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  %52 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 1.000000e+00)
  %53 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 0
  %54 = extractvalue { <2 x float>, <2 x float> } %52, 0
  store <2 x float> %54, ptr %53, align 4
  %55 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 1
  %56 = extractvalue { <2 x float>, <2 x float> } %52, 1
  store <2 x float> %56, ptr %55, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %57 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0x3F1A36E2E0000000)
  store i32 %57, ptr %10, align 1
  %58 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %10)
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, i32 0, i32 1
  %61 = load i32, ptr %1, align 4, !tbaa !5
  %62 = add nsw i32 %61, %60
  store i32 %62, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %63 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 5.000000e-01)
  %64 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  %65 = extractvalue { <2 x float>, <2 x float> } %63, 0
  store <2 x float> %65, ptr %64, align 4
  %66 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  %67 = extractvalue { <2 x float>, <2 x float> } %63, 1
  store <2 x float> %67, ptr %66, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %68 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 5.000000e-01)
  %69 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %70 = extractvalue { <2 x float>, <2 x float> } %68, 0
  store <2 x float> %70, ptr %69, align 4
  %71 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %72 = extractvalue { <2 x float>, <2 x float> } %68, 1
  store <2 x float> %72, ptr %71, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %73 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %74 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %14, i32 0, i32 0
  %75 = extractvalue { <2 x float>, <2 x float> } %73, 0
  store <2 x float> %75, ptr %74, align 4
  %76 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %14, i32 0, i32 1
  %77 = extractvalue { <2 x float>, <2 x float> } %73, 1
  store <2 x float> %77, ptr %76, align 4
  %78 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef 5.000000e-01)
  %79 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 0
  %80 = extractvalue { <2 x float>, <2 x float> } %78, 0
  store <2 x float> %80, ptr %79, align 4
  %81 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 1
  %82 = extractvalue { <2 x float>, <2 x float> } %78, 1
  store <2 x float> %82, ptr %81, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %83 = call noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %13)
  store float %83, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %84 = call noundef float @_ZN3glm2piIfEET_v()
  %85 = fmul float %84, 2.500000e-01
  store float %85, ptr %16, align 4, !tbaa !9
  %86 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %87 = zext i1 %86 to i64
  %88 = select i1 %86, i32 0, i32 1
  %89 = load i32, ptr %1, align 4, !tbaa !5
  %90 = add nsw i32 %89, %88
  store i32 %90, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %91 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef 0x3F1A36E2E0000000)
  store i32 %91, ptr %17, align 1
  %92 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %17)
  %93 = zext i1 %92 to i64
  %94 = select i1 %92, i32 0, i32 1
  %95 = load i32, ptr %1, align 4, !tbaa !5
  %96 = add nsw i32 %95, %94
  store i32 %96, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %97 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %98 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 0
  %99 = extractvalue { <2 x float>, <2 x float> } %97, 0
  store <2 x float> %99, ptr %98, align 4
  %100 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %19, i32 0, i32 1
  %101 = extractvalue { <2 x float>, <2 x float> } %97, 1
  store <2 x float> %101, ptr %100, align 4
  %102 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 5.000000e-01)
  %103 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 0
  %104 = extractvalue { <2 x float>, <2 x float> } %102, 0
  store <2 x float> %104, ptr %103, align 4
  %105 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 1
  %106 = extractvalue { <2 x float>, <2 x float> } %102, 1
  store <2 x float> %106, ptr %105, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %107 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %108 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 0
  %109 = extractvalue { <2 x float>, <2 x float> } %107, 0
  store <2 x float> %109, ptr %108, align 4
  %110 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %21, i32 0, i32 1
  %111 = extractvalue { <2 x float>, <2 x float> } %107, 1
  store <2 x float> %111, ptr %110, align 4
  %112 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 0x3F1A36E2E0000000)
  store i32 %112, ptr %20, align 1
  %113 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %20)
  %114 = zext i1 %113 to i64
  %115 = select i1 %113, i32 0, i32 1
  %116 = load i32, ptr %1, align 4, !tbaa !5
  %117 = add nsw i32 %116, %115
  store i32 %117, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %118 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 5.000000e-01)
  %119 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %22, i32 0, i32 0
  %120 = extractvalue { <2 x float>, <2 x float> } %118, 0
  store <2 x float> %120, ptr %119, align 4
  %121 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %22, i32 0, i32 1
  %122 = extractvalue { <2 x float>, <2 x float> } %118, 1
  store <2 x float> %122, ptr %121, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %123 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef 0x3F1A36E2E0000000)
  store i32 %123, ptr %23, align 1
  %124 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %23)
  %125 = zext i1 %124 to i64
  %126 = select i1 %124, i32 0, i32 1
  %127 = load i32, ptr %1, align 4, !tbaa !5
  %128 = add nsw i32 %127, %126
  store i32 %128, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  %129 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %130 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 0
  %131 = extractvalue { <2 x float>, <2 x float> } %129, 0
  store <2 x float> %131, ptr %130, align 4
  %132 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %25, i32 0, i32 1
  %133 = extractvalue { <2 x float>, <2 x float> } %129, 1
  store <2 x float> %133, ptr %132, align 4
  %134 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef 5.000000e-01)
  %135 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 0
  %136 = extractvalue { <2 x float>, <2 x float> } %134, 0
  store <2 x float> %136, ptr %135, align 4
  %137 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %24, i32 0, i32 1
  %138 = extractvalue { <2 x float>, <2 x float> } %134, 1
  store <2 x float> %138, ptr %137, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %139 = call noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %24)
  store float %139, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %140 = call noundef float @_ZN3glm2piIfEET_v()
  %141 = fmul float %140, 2.500000e-01
  store float %141, ptr %27, align 4, !tbaa !9
  %142 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %143 = zext i1 %142 to i64
  %144 = select i1 %142, i32 0, i32 1
  %145 = load i32, ptr %1, align 4, !tbaa !5
  %146 = add nsw i32 %145, %144
  store i32 %146, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store float 0x3FB99999A0000000, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #6
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %31, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %147 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(12) %31)
  %148 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 0
  %149 = extractvalue { <2 x float>, <2 x float> } %147, 0
  store <2 x float> %149, ptr %148, align 4
  %150 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %29, i32 0, i32 1
  %151 = extractvalue { <2 x float>, <2 x float> } %147, 1
  store <2 x float> %151, ptr %150, align 4
  %152 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %29, float noundef 5.000000e-01)
  %153 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 0
  %154 = extractvalue { <2 x float>, <2 x float> } %152, 0
  store <2 x float> %154, ptr %153, align 4
  %155 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 1
  %156 = extractvalue { <2 x float>, <2 x float> } %152, 1
  store <2 x float> %156, ptr %155, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 @__const._Z15test_quat_slerpv.a, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  %157 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 5.000000e-01)
  %158 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %33, i32 0, i32 0
  %159 = extractvalue { <2 x float>, <2 x float> } %157, 0
  store <2 x float> %159, ptr %158, align 4
  %160 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %33, i32 0, i32 1
  %161 = extractvalue { <2 x float>, <2 x float> } %157, 1
  store <2 x float> %161, ptr %160, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %162 = call noundef float @_ZN3glm3dotIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %33)
  %163 = call noundef float @_ZSt3powff(float noundef %162, float noundef 2.000000e+00)
  store float %163, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store float 1.000000e+00, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store float 0x3F847AE140000000, ptr %36, align 4, !tbaa !9
  %164 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
  %165 = zext i1 %164 to i64
  %166 = select i1 %164, i32 0, i32 1
  %167 = load i32, ptr %1, align 4, !tbaa !5
  %168 = add nsw i32 %167, %166
  store i32 %168, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #6
  %169 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %169
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3powff(float noundef, float noundef) #2

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { 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.11" = type { %union.anon.12, %union.anon.13, %union.anon.14, %union.anon.15 }
%union.anon.12 = type { i8 }
%union.anon.13 = type { i8 }
%union.anon.14 = type { i8 }
%union.anon.15 = type { i8 }
%"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 }

@__const._Z15test_quat_slerpv.id = external hidden unnamed_addr constant %"struct.glm::qua", align 4
@__const._Z15test_quat_slerpv.a = external hidden unnamed_addr constant %"struct.glm::qua", align 4

; 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: 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 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: inlinehint mustprogress uwtable
declare dso_local noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress 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) #4

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 9) i32 @_Z15test_quat_slerpv() local_unnamed_addr #5 {
  %1 = alloca float, align 4
  %2 = alloca %"struct.glm::qua", align 4
  %3 = alloca %"struct.glm::qua", align 4
  %4 = alloca %"struct.glm::qua", align 8
  %5 = alloca %"struct.glm::vec.11", align 4
  %6 = alloca %"struct.glm::qua", align 8
  %7 = alloca %"struct.glm::vec.11", align 4
  %8 = alloca %"struct.glm::qua", align 8
  %9 = alloca %"struct.glm::qua", align 8
  %10 = alloca %"struct.glm::qua", align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %"struct.glm::vec.11", align 4
  %14 = alloca %"struct.glm::qua", align 8
  %15 = alloca %"struct.glm::qua", align 8
  %16 = alloca %"struct.glm::vec.11", align 4
  %17 = alloca %"struct.glm::qua", align 8
  %18 = alloca %"struct.glm::qua", align 8
  %19 = alloca %"struct.glm::vec.11", align 4
  %20 = alloca %"struct.glm::qua", align 8
  %21 = alloca %"struct.glm::qua", align 8
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca %"struct.glm::qua", align 8
  %25 = alloca float, align 4
  %26 = alloca %"struct.glm::vec", align 4
  %27 = alloca %"struct.glm::qua", align 4
  %28 = alloca %"struct.glm::qua", align 8
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  store float 0x3F1A36E2E0000000, ptr %1, align 4, !tbaa !5
  %32 = tail call noundef float @_ZSt4sqrtf(float noundef 2.000000e+00)
  %33 = fmul float %32, 5.000000e-01
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) @__const._Z15test_quat_slerpv.id, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef %33, float noundef 0.000000e+00, float noundef %33, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %34 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef 0.000000e+00)
  %35 = extractvalue { <2 x float>, <2 x float> } %34, 0
  store <2 x float> %35, ptr %4, align 8
  %36 = getelementptr inbounds i8, ptr %4, i64 8
  %37 = extractvalue { <2 x float>, <2 x float> } %34, 1
  store <2 x float> %37, ptr %36, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %38 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0x3F1A36E2E0000000)
  store i32 %38, ptr %5, align 4
  %39 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %40 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef 1.000000e+00)
  %41 = extractvalue { <2 x float>, <2 x float> } %40, 0
  store <2 x float> %41, ptr %6, align 8
  %42 = getelementptr inbounds i8, ptr %6, i64 8
  %43 = extractvalue { <2 x float>, <2 x float> } %40, 1
  store <2 x float> %43, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %44 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 0x3F1A36E2E0000000)
  store i32 %44, ptr %7, align 4
  %45 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %46 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef 5.000000e-01)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %47 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef 5.000000e-01)
  %48 = extractvalue { <2 x float>, <2 x float> } %47, 0
  store <2 x float> %48, ptr %8, align 8
  %49 = getelementptr inbounds i8, ptr %8, i64 8
  %50 = extractvalue { <2 x float>, <2 x float> } %47, 1
  store <2 x float> %50, ptr %49, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  %51 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %52 = extractvalue { <2 x float>, <2 x float> } %51, 0
  store <2 x float> %52, ptr %10, align 8
  %53 = getelementptr inbounds i8, ptr %10, i64 8
  %54 = extractvalue { <2 x float>, <2 x float> } %51, 1
  store <2 x float> %54, ptr %53, align 8
  %55 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 5.000000e-01)
  %56 = extractvalue { <2 x float>, <2 x float> } %55, 0
  store <2 x float> %56, ptr %9, align 8
  %57 = getelementptr inbounds i8, ptr %9, 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.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %59 = call noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %9)
  store float %59, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  %60 = call noundef float @_ZN3glm2piIfEET_v()
  %61 = fmul float %60, 2.500000e-01
  store float %61, ptr %12, align 4, !tbaa !5
  %62 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %63 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0x3F1A36E2E0000000)
  store i32 %63, ptr %13, align 4
  %64 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %13)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  %65 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %66 = extractvalue { <2 x float>, <2 x float> } %65, 0
  store <2 x float> %66, ptr %15, align 8
  %67 = getelementptr inbounds i8, ptr %15, i64 8
  %68 = extractvalue { <2 x float>, <2 x float> } %65, 1
  store <2 x float> %68, ptr %67, align 8
  %69 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef 5.000000e-01)
  %70 = extractvalue { <2 x float>, <2 x float> } %69, 0
  store <2 x float> %70, ptr %14, align 8
  %71 = getelementptr inbounds i8, ptr %14, i64 8
  %72 = extractvalue { <2 x float>, <2 x float> } %69, 1
  store <2 x float> %72, ptr %71, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  %73 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %14)
  %74 = extractvalue { <2 x float>, <2 x float> } %73, 0
  store <2 x float> %74, ptr %17, align 8
  %75 = getelementptr inbounds i8, ptr %17, i64 8
  %76 = extractvalue { <2 x float>, <2 x float> } %73, 1
  store <2 x float> %76, ptr %75, align 8
  %77 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %17, float noundef 0x3F1A36E2E0000000)
  store i32 %77, ptr %16, align 4
  %78 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %16)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  %79 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef 5.000000e-01)
  %80 = extractvalue { <2 x float>, <2 x float> } %79, 0
  store <2 x float> %80, ptr %18, align 8
  %81 = getelementptr inbounds i8, ptr %18, i64 8
  %82 = extractvalue { <2 x float>, <2 x float> } %79, 1
  store <2 x float> %82, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #7
  %83 = call i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef 0x3F1A36E2E0000000)
  store i32 %83, ptr %19, align 4
  %84 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %19)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  %85 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %86 = extractvalue { <2 x float>, <2 x float> } %85, 0
  store <2 x float> %86, ptr %21, align 8
  %87 = getelementptr inbounds i8, ptr %21, i64 8
  %88 = extractvalue { <2 x float>, <2 x float> } %85, 1
  store <2 x float> %88, ptr %87, align 8
  %89 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef 5.000000e-01)
  %90 = extractvalue { <2 x float>, <2 x float> } %89, 0
  store <2 x float> %90, ptr %20, align 8
  %91 = getelementptr inbounds i8, ptr %20, i64 8
  %92 = extractvalue { <2 x float>, <2 x float> } %89, 1
  store <2 x float> %92, ptr %91, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #7
  %93 = call noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %20)
  store float %93, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #7
  %94 = call noundef float @_ZN3glm2piIfEET_v()
  %95 = fmul float %94, 2.500000e-01
  store float %95, ptr %23, align 4, !tbaa !5
  %96 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #7
  store float 0x3FB99999A0000000, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #7
  call void @_ZN3glm3vecILi3EfLNS_9qualifierE0EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %26, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %97 = call { <2 x float>, <2 x float> } @_ZN3glm9angleAxisIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS3_RKNS_3vecILi3ES3_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(12) %26)
  %98 = extractvalue { <2 x float>, <2 x float> } %97, 0
  store <2 x float> %98, ptr %24, align 8
  %99 = getelementptr inbounds i8, ptr %24, i64 8
  %100 = extractvalue { <2 x float>, <2 x float> } %97, 1
  store <2 x float> %100, ptr %99, align 8
  %101 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %24, float noundef 5.000000e-01)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(16) @__const._Z15test_quat_slerpv.a, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #7
  %102 = call { <2 x float>, <2 x float> } @_ZN3glm5slerpIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_S6_S3_(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef 5.000000e-01)
  %103 = extractvalue { <2 x float>, <2 x float> } %102, 0
  store <2 x float> %103, ptr %28, align 8
  %104 = getelementptr inbounds i8, ptr %28, i64 8
  %105 = extractvalue { <2 x float>, <2 x float> } %102, 1
  store <2 x float> %105, ptr %104, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #7
  %106 = call noundef float @_ZN3glm3dotIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEES6_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %28)
  %107 = call noundef float @_ZSt3powff(float noundef %106, float noundef 2.000000e+00)
  store float %107, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #7
  store float 1.000000e+00, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #7
  store float 0x3F847AE140000000, ptr %31, align 4, !tbaa !5
  %108 = call noundef zeroext i1 @_ZN3glm5equalIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %109 = insertelement <8 x i1> poison, i1 %45, i64 0
  %110 = insertelement <8 x i1> %109, i1 %39, i64 1
  %111 = insertelement <8 x i1> %110, i1 %62, i64 2
  %112 = insertelement <8 x i1> %111, i1 %64, i64 3
  %113 = insertelement <8 x i1> %112, i1 %78, i64 4
  %114 = insertelement <8 x i1> %113, i1 %84, i64 5
  %115 = insertelement <8 x i1> %114, i1 %96, i64 6
  %116 = insertelement <8 x i1> %115, i1 %108, i64 7
  %117 = xor <8 x i1> %116, <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>
  %118 = bitcast <8 x i1> %117 to i8
  %119 = call range(i8 0, 9) i8 @llvm.ctpop.i8(i8 %118)
  %120 = zext nneg i8 %119 to i32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 %120
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i32 @_ZN3glm5equalIfLNS_9qualifierE0EEENS_3vecILi4EbXT0_EEERKNS_3quaIT_XT0_EEES8_S5_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3powff(float noundef, float noundef) local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.ctpop.i8(i8) #6

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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass