; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/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 { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.glm::vec.17" = type { %union.anon.18 }
%union.anon.18 = type { %struct.anon.19 }
%struct.anon.19 = type { i8, i8, i8, i8 }
%"struct.glm::vec" = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon.1 }
%struct.anon.1 = type { float, float, float }

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

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

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

; Function Attrs: 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: 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: 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: mustprogress uwtable
define dso_local noundef i32 @_Z15test_quat_slerpv() #4 {
  %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.17", align 1
  %9 = alloca %"struct.glm::qua", align 4
  %10 = alloca %"struct.glm::vec.17", 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.17", align 1
  %18 = alloca %"struct.glm::qua", align 4
  %19 = alloca %"struct.glm::qua", align 4
  %20 = alloca %"struct.glm::vec.17", align 1
  %21 = alloca %"struct.glm::qua", align 4
  %22 = alloca %"struct.glm::qua", align 4
  %23 = alloca %"struct.glm::vec.17", 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) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store float 0x3F1A36E2E0000000, ptr %2, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %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) #5
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  %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) #5
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  %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 %"struct.glm::qua", ptr %7, i32 0, i32 0
  %43 = getelementptr inbounds %union.anon, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %43, i32 0, i32 0
  %45 = extractvalue { <2 x float>, <2 x float> } %41, 0
  store <2 x float> %45, ptr %44, align 4
  %46 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %43, i32 0, i32 1
  %47 = extractvalue { <2 x float>, <2 x float> } %41, 1
  store <2 x float> %47, ptr %46, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %48 = 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)
  %49 = getelementptr inbounds %"struct.glm::vec.17", ptr %8, i32 0, i32 0
  %50 = getelementptr inbounds %union.anon.18, ptr %49, i32 0, i32 0
  store i32 %48, ptr %50, align 1
  %51 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %8)
  %52 = zext i1 %51 to i64
  %53 = select i1 %51, i32 0, i32 1
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = add nsw i32 %54, %53
  store i32 %55, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %56 = 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)
  %57 = getelementptr inbounds %"struct.glm::qua", ptr %9, i32 0, i32 0
  %58 = getelementptr inbounds %union.anon, ptr %57, i32 0, i32 0
  %59 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %58, i32 0, i32 0
  %60 = extractvalue { <2 x float>, <2 x float> } %56, 0
  store <2 x float> %60, ptr %59, align 4
  %61 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %58, i32 0, i32 1
  %62 = extractvalue { <2 x float>, <2 x float> } %56, 1
  store <2 x float> %62, ptr %61, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %63 = 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)
  %64 = getelementptr inbounds %"struct.glm::vec.17", ptr %10, i32 0, i32 0
  %65 = getelementptr inbounds %union.anon.18, ptr %64, i32 0, i32 0
  store i32 %63, ptr %65, align 1
  %66 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %10)
  %67 = zext i1 %66 to i64
  %68 = select i1 %66, i32 0, i32 1
  %69 = load i32, ptr %1, align 4, !tbaa !5
  %70 = add nsw i32 %69, %68
  store i32 %70, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %71 = 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)
  %72 = getelementptr inbounds %"struct.glm::qua", ptr %11, i32 0, i32 0
  %73 = getelementptr inbounds %union.anon, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %73, i32 0, i32 0
  %75 = extractvalue { <2 x float>, <2 x float> } %71, 0
  store <2 x float> %75, ptr %74, align 4
  %76 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %73, i32 0, i32 1
  %77 = extractvalue { <2 x float>, <2 x float> } %71, 1
  store <2 x float> %77, ptr %76, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %78 = 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)
  %79 = getelementptr inbounds %"struct.glm::qua", ptr %12, i32 0, i32 0
  %80 = getelementptr inbounds %union.anon, ptr %79, i32 0, i32 0
  %81 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %80, i32 0, i32 0
  %82 = extractvalue { <2 x float>, <2 x float> } %78, 0
  store <2 x float> %82, ptr %81, align 4
  %83 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %80, i32 0, i32 1
  %84 = extractvalue { <2 x float>, <2 x float> } %78, 1
  store <2 x float> %84, ptr %83, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %85 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %86 = getelementptr inbounds %"struct.glm::qua", ptr %14, i32 0, i32 0
  %87 = getelementptr inbounds %union.anon, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %87, i32 0, i32 0
  %89 = extractvalue { <2 x float>, <2 x float> } %85, 0
  store <2 x float> %89, ptr %88, align 4
  %90 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %87, i32 0, i32 1
  %91 = extractvalue { <2 x float>, <2 x float> } %85, 1
  store <2 x float> %91, ptr %90, align 4
  %92 = 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)
  %93 = getelementptr inbounds %"struct.glm::qua", ptr %13, i32 0, i32 0
  %94 = getelementptr inbounds %union.anon, ptr %93, i32 0, i32 0
  %95 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %94, i32 0, i32 0
  %96 = extractvalue { <2 x float>, <2 x float> } %92, 0
  store <2 x float> %96, ptr %95, align 4
  %97 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %94, i32 0, i32 1
  %98 = extractvalue { <2 x float>, <2 x float> } %92, 1
  store <2 x float> %98, ptr %97, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %99 = call noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %13)
  store float %99, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %100 = call noundef float @_ZN3glm2piIfEET_v()
  %101 = fmul float %100, 2.500000e-01
  store float %101, ptr %16, align 4, !tbaa !9
  %102 = 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)
  %103 = zext i1 %102 to i64
  %104 = select i1 %102, i32 0, i32 1
  %105 = load i32, ptr %1, align 4, !tbaa !5
  %106 = add nsw i32 %105, %104
  store i32 %106, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %107 = 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)
  %108 = getelementptr inbounds %"struct.glm::vec.17", ptr %17, i32 0, i32 0
  %109 = getelementptr inbounds %union.anon.18, ptr %108, i32 0, i32 0
  store i32 %107, ptr %109, align 1
  %110 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %17)
  %111 = zext i1 %110 to i64
  %112 = select i1 %110, i32 0, i32 1
  %113 = load i32, ptr %1, align 4, !tbaa !5
  %114 = add nsw i32 %113, %112
  store i32 %114, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #5
  %115 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %116 = getelementptr inbounds %"struct.glm::qua", ptr %19, i32 0, i32 0
  %117 = getelementptr inbounds %union.anon, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %117, i32 0, i32 0
  %119 = extractvalue { <2 x float>, <2 x float> } %115, 0
  store <2 x float> %119, ptr %118, align 4
  %120 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %117, i32 0, i32 1
  %121 = extractvalue { <2 x float>, <2 x float> } %115, 1
  store <2 x float> %121, ptr %120, align 4
  %122 = 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)
  %123 = getelementptr inbounds %"struct.glm::qua", ptr %18, i32 0, i32 0
  %124 = getelementptr inbounds %union.anon, ptr %123, i32 0, i32 0
  %125 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %124, i32 0, i32 0
  %126 = extractvalue { <2 x float>, <2 x float> } %122, 0
  store <2 x float> %126, ptr %125, align 4
  %127 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %124, i32 0, i32 1
  %128 = extractvalue { <2 x float>, <2 x float> } %122, 1
  store <2 x float> %128, ptr %127, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %129 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %130 = getelementptr inbounds %"struct.glm::qua", ptr %21, i32 0, i32 0
  %131 = getelementptr inbounds %union.anon, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %131, i32 0, i32 0
  %133 = extractvalue { <2 x float>, <2 x float> } %129, 0
  store <2 x float> %133, ptr %132, align 4
  %134 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %131, i32 0, i32 1
  %135 = extractvalue { <2 x float>, <2 x float> } %129, 1
  store <2 x float> %135, ptr %134, align 4
  %136 = 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)
  %137 = getelementptr inbounds %"struct.glm::vec.17", ptr %20, i32 0, i32 0
  %138 = getelementptr inbounds %union.anon.18, ptr %137, i32 0, i32 0
  store i32 %136, ptr %138, align 1
  %139 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %20)
  %140 = zext i1 %139 to i64
  %141 = select i1 %139, i32 0, i32 1
  %142 = load i32, ptr %1, align 4, !tbaa !5
  %143 = add nsw i32 %142, %141
  store i32 %143, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  %144 = 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)
  %145 = getelementptr inbounds %"struct.glm::qua", ptr %22, i32 0, i32 0
  %146 = getelementptr inbounds %union.anon, ptr %145, i32 0, i32 0
  %147 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %146, i32 0, i32 0
  %148 = extractvalue { <2 x float>, <2 x float> } %144, 0
  store <2 x float> %148, ptr %147, align 4
  %149 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %146, i32 0, i32 1
  %150 = extractvalue { <2 x float>, <2 x float> } %144, 1
  store <2 x float> %150, ptr %149, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %151 = 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)
  %152 = getelementptr inbounds %"struct.glm::vec.17", ptr %23, i32 0, i32 0
  %153 = getelementptr inbounds %union.anon.18, ptr %152, i32 0, i32 0
  store i32 %151, ptr %153, align 1
  %154 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %23)
  %155 = zext i1 %154 to i64
  %156 = select i1 %154, i32 0, i32 1
  %157 = load i32, ptr %1, align 4, !tbaa !5
  %158 = add nsw i32 %157, %156
  store i32 %158, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  %159 = call { <2 x float>, <2 x float> } @_ZN3glmngIfLNS_9qualifierE0EEENS_3quaIT_XT0_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %160 = getelementptr inbounds %"struct.glm::qua", ptr %25, i32 0, i32 0
  %161 = getelementptr inbounds %union.anon, ptr %160, i32 0, i32 0
  %162 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %161, i32 0, i32 0
  %163 = extractvalue { <2 x float>, <2 x float> } %159, 0
  store <2 x float> %163, ptr %162, align 4
  %164 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %161, i32 0, i32 1
  %165 = extractvalue { <2 x float>, <2 x float> } %159, 1
  store <2 x float> %165, ptr %164, align 4
  %166 = 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)
  %167 = getelementptr inbounds %"struct.glm::qua", ptr %24, i32 0, i32 0
  %168 = getelementptr inbounds %union.anon, ptr %167, i32 0, i32 0
  %169 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %168, i32 0, i32 0
  %170 = extractvalue { <2 x float>, <2 x float> } %166, 0
  store <2 x float> %170, ptr %169, align 4
  %171 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %168, i32 0, i32 1
  %172 = extractvalue { <2 x float>, <2 x float> } %166, 1
  store <2 x float> %172, ptr %171, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %173 = call noundef float @_ZN3glm5angleIfLNS_9qualifierE0EEET_RKNS_3quaIS2_XT0_EEE(ptr noundef nonnull align 4 dereferenceable(16) %24)
  store float %173, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %174 = call noundef float @_ZN3glm2piIfEET_v()
  %175 = fmul float %174, 2.500000e-01
  store float %175, ptr %27, align 4, !tbaa !9
  %176 = 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)
  %177 = zext i1 %176 to i64
  %178 = select i1 %176, i32 0, i32 1
  %179 = load i32, ptr %1, align 4, !tbaa !5
  %180 = add nsw i32 %179, %178
  store i32 %180, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store float 0x3FB99999A0000000, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #5
  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)
  %181 = 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)
  %182 = getelementptr inbounds %"struct.glm::qua", ptr %29, i32 0, i32 0
  %183 = getelementptr inbounds %union.anon, ptr %182, i32 0, i32 0
  %184 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %183, i32 0, i32 0
  %185 = extractvalue { <2 x float>, <2 x float> } %181, 0
  store <2 x float> %185, ptr %184, align 4
  %186 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %183, i32 0, i32 1
  %187 = extractvalue { <2 x float>, <2 x float> } %181, 1
  store <2 x float> %187, ptr %186, align 4
  %188 = 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)
  %189 = getelementptr inbounds %"struct.glm::qua", ptr %28, i32 0, i32 0
  %190 = getelementptr inbounds %union.anon, ptr %189, i32 0, i32 0
  %191 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %190, i32 0, i32 0
  %192 = extractvalue { <2 x float>, <2 x float> } %188, 0
  store <2 x float> %192, ptr %191, align 4
  %193 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %190, i32 0, i32 1
  %194 = extractvalue { <2 x float>, <2 x float> } %188, 1
  store <2 x float> %194, ptr %193, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  call void @_ZN3glm3quaIfLNS_9qualifierE0EEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %32, float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #5
  %195 = 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)
  %196 = getelementptr inbounds %"struct.glm::qua", ptr %33, i32 0, i32 0
  %197 = getelementptr inbounds %union.anon, ptr %196, i32 0, i32 0
  %198 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %197, i32 0, i32 0
  %199 = extractvalue { <2 x float>, <2 x float> } %195, 0
  store <2 x float> %199, ptr %198, align 4
  %200 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %197, i32 0, i32 1
  %201 = extractvalue { <2 x float>, <2 x float> } %195, 1
  store <2 x float> %201, ptr %200, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %202 = 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)
  %203 = call noundef float @_ZSt3powff(float noundef %202, float noundef 2.000000e+00)
  store float %203, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store float 1.000000e+00, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store float 0x3F847AE140000000, ptr %36, align 4, !tbaa !9
  %204 = 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)
  %205 = zext i1 %204 to i64
  %206 = select i1 %204, i32 0, i32 1
  %207 = load i32, ptr %1, align 4, !tbaa !5
  %208 = add nsw i32 %207, %206
  store i32 %208, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  %209 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  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 %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret i32 %209
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}


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

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

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

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

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

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

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"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