; LLVM IR from jpvt/Computer_Graphics :: Assignment #3/third_party/glm/test/gtx/gtx_component_wise.ll (ZN13compNormalize3runEv)

; 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::vec" = type { %union.anon, %union.anon.0, %union.anon.1, %union.anon.2 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%union.anon.2 = type { float }
%"struct.glm::vec.3" = type { %union.anon.4, %union.anon.5, %union.anon.6, %union.anon.7 }
%union.anon.4 = type { i8 }
%union.anon.5 = type { i8 }
%union.anon.6 = type { i8 }
%union.anon.7 = type { i8 }
%"struct.glm::vec.8" = type { %union.anon.9, %union.anon.10, %union.anon.11, %union.anon.12 }
%union.anon.9 = type { i8 }
%union.anon.10 = type { i8 }
%union.anon.11 = type { i8 }
%union.anon.12 = type { i8 }
%"struct.glm::vec.13" = type { %union.anon.14, %union.anon.15, %union.anon.16, %union.anon.17 }
%union.anon.14 = type { i16 }
%union.anon.15 = type { i16 }
%union.anon.16 = type { i16 }
%union.anon.17 = type { i16 }
%"struct.glm::vec.18" = type { %union.anon.19, %union.anon.20, %union.anon.21, %union.anon.22 }
%union.anon.19 = type { i16 }
%union.anon.20 = type { i16 }
%union.anon.21 = type { i16 }
%union.anon.22 = type { i16 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN13compNormalize3runEv() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %"struct.glm::vec", align 4
  %3 = alloca %"struct.glm::vec.3", align 1
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca %"struct.glm::vec", align 4
  %9 = alloca %"struct.glm::vec.8", align 1
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca %"struct.glm::vec", align 4
  %15 = alloca %"struct.glm::vec.13", align 2
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca %"struct.glm::vec", align 4
  %21 = alloca %"struct.glm::vec.18", align 2
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = 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 16, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @_ZN3glm3vecILi4EhLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4) %3, i32 noundef 0, i32 noundef 127, i32 noundef 128, i32 noundef 255)
  %26 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EhLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %27 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 0
  %28 = extractvalue { <2 x float>, <2 x float> } %26, 0
  store <2 x float> %28, ptr %27, align 4
  %29 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %2, i32 0, i32 1
  %30 = extractvalue { <2 x float>, <2 x float> } %26, 1
  store <2 x float> %30, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  %31 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 0.000000e+00, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %32 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %32, ptr %5, align 4, !tbaa !9
  %33 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %34 = zext i1 %33 to i64
  %35 = select i1 %33, i32 0, i32 1
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = add nsw i32 %36, %35
  store i32 %37, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %38 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 1
  %39 = load float, ptr %38, align 4, !tbaa !11
  %40 = fcmp olt float %39, 5.000000e-01
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, i32 0, i32 1
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = add nsw i32 %43, %42
  store i32 %44, ptr %1, align 4, !tbaa !5
  %45 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 2
  %46 = load float, ptr %45, align 4, !tbaa !11
  %47 = fcmp ogt float %46, 5.000000e-01
  %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
  %52 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store float 1.000000e+00, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %53 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %53, ptr %7, align 4, !tbaa !9
  %54 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %55 = zext i1 %54 to i64
  %56 = select i1 %54, i32 0, i32 1
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = add nsw i32 %57, %56
  store i32 %58, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @_ZN3glm3vecILi4EaLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4) %9, i32 noundef -128, i32 noundef -1, i32 noundef 0, i32 noundef 127)
  %59 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EaLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 1 dereferenceable(4) %9)
  %60 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 0
  %61 = extractvalue { <2 x float>, <2 x float> } %59, 0
  store <2 x float> %61, ptr %60, align 4
  %62 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 1
  %63 = extractvalue { <2 x float>, <2 x float> } %59, 1
  store <2 x float> %63, ptr %62, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %64 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store float -1.000000e+00, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %65 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %65, ptr %11, align 4, !tbaa !9
  %66 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %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 %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %71 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 1
  %72 = load float, ptr %71, align 4, !tbaa !11
  %73 = fcmp olt float %72, 0.000000e+00
  %74 = zext i1 %73 to i64
  %75 = select i1 %73, i32 0, i32 1
  %76 = load i32, ptr %1, align 4, !tbaa !5
  %77 = add nsw i32 %76, %75
  store i32 %77, ptr %1, align 4, !tbaa !5
  %78 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 2
  %79 = load float, ptr %78, align 4, !tbaa !11
  %80 = fcmp ogt float %79, 0.000000e+00
  %81 = zext i1 %80 to i64
  %82 = select i1 %80, i32 0, i32 1
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = add nsw i32 %83, %82
  store i32 %84, ptr %1, align 4, !tbaa !5
  %85 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store float 1.000000e+00, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %86 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %86, ptr %13, align 4, !tbaa !9
  %87 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %88 = zext i1 %87 to i64
  %89 = select i1 %87, i32 0, i32 1
  %90 = load i32, ptr %1, align 4, !tbaa !5
  %91 = add nsw i32 %90, %89
  store i32 %91, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %92 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3minEv() #6
  %93 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #6
  %94 = zext i16 %93 to i32
  %95 = ashr i32 %94, 1
  %96 = add nsw i32 %95, 0
  %97 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #6
  %98 = zext i16 %97 to i32
  %99 = ashr i32 %98, 1
  %100 = add nsw i32 %99, 1
  %101 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #6
  call void @_ZN3glm3vecILi4EtLNS_9qualifierE0EEC2ItiitEET_T0_T1_T2_(ptr noundef nonnull align 2 dereferenceable(8) %15, i16 noundef zeroext %92, i32 noundef %96, i32 noundef %100, i16 noundef zeroext %101)
  %102 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EtLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 2 dereferenceable(8) %15)
  %103 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %14, 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 %14, 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 8, ptr %15) #6
  %107 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store float 0.000000e+00, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %108 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %108, ptr %17, align 4, !tbaa !9
  %109 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %107, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %110 = zext i1 %109 to i64
  %111 = select i1 %109, i32 0, i32 1
  %112 = load i32, ptr %1, align 4, !tbaa !5
  %113 = add nsw i32 %112, %111
  store i32 %113, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  %114 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 1
  %115 = load float, ptr %114, align 4, !tbaa !11
  %116 = fcmp olt float %115, 5.000000e-01
  %117 = zext i1 %116 to i64
  %118 = select i1 %116, i32 0, i32 1
  %119 = load i32, ptr %1, align 4, !tbaa !5
  %120 = add nsw i32 %119, %118
  store i32 %120, ptr %1, align 4, !tbaa !5
  %121 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 2
  %122 = load float, ptr %121, align 4, !tbaa !11
  %123 = fcmp ogt float %122, 5.000000e-01
  %124 = zext i1 %123 to i64
  %125 = select i1 %123, i32 0, i32 1
  %126 = load i32, ptr %1, align 4, !tbaa !5
  %127 = add nsw i32 %126, %125
  store i32 %127, ptr %1, align 4, !tbaa !5
  %128 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store float 1.000000e+00, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %129 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %129, ptr %19, align 4, !tbaa !9
  %130 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %128, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %131 = zext i1 %130 to i64
  %132 = select i1 %130, i32 0, i32 1
  %133 = load i32, ptr %1, align 4, !tbaa !5
  %134 = add nsw i32 %133, %132
  store i32 %134, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %135 = call noundef signext i16 @_ZNSt14numeric_limitsIsE3minEv() #6
  %136 = call noundef signext i16 @_ZNSt14numeric_limitsIsE3maxEv() #6
  call void @_ZN3glm3vecILi4EsLNS_9qualifierE0EEC2Essss(ptr noundef nonnull align 2 dereferenceable(8) %21, i16 noundef signext %135, i16 noundef signext -1, i16 noundef signext 0, i16 noundef signext %136)
  %137 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EsLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 2 dereferenceable(8) %21)
  %138 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 0
  %139 = extractvalue { <2 x float>, <2 x float> } %137, 0
  store <2 x float> %139, ptr %138, align 4
  %140 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 1
  %141 = extractvalue { <2 x float>, <2 x float> } %137, 1
  store <2 x float> %141, ptr %140, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %142 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store float -1.000000e+00, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %143 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %143, ptr %23, align 4, !tbaa !9
  %144 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %142, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %145 = zext i1 %144 to i64
  %146 = select i1 %144, i32 0, i32 1
  %147 = load i32, ptr %1, align 4, !tbaa !5
  %148 = add nsw i32 %147, %146
  store i32 %148, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  %149 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 1
  %150 = load float, ptr %149, align 4, !tbaa !11
  %151 = fcmp olt float %150, 0.000000e+00
  %152 = zext i1 %151 to i64
  %153 = select i1 %151, i32 0, i32 1
  %154 = load i32, ptr %1, align 4, !tbaa !5
  %155 = add nsw i32 %154, %153
  store i32 %155, ptr %1, align 4, !tbaa !5
  %156 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 2
  %157 = load float, ptr %156, align 4, !tbaa !11
  %158 = fcmp ogt float %157, 0.000000e+00
  %159 = zext i1 %158 to i64
  %160 = select i1 %158, i32 0, i32 1
  %161 = load i32, ptr %1, align 4, !tbaa !5
  %162 = add nsw i32 %161, %160
  store i32 %162, ptr %1, align 4, !tbaa !5
  %163 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store float 1.000000e+00, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %164 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %164, ptr %25, align 4, !tbaa !9
  %165 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %163, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
  %166 = zext i1 %165 to i64
  %167 = select i1 %165, i32 0, i32 1
  %168 = load i32, ptr %1, align 4, !tbaa !5
  %169 = add nsw i32 %168, %167
  store i32 %169, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  %170 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %170
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EhLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EaLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNSt14numeric_limitsItE3minEv() #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EtLNS_9qualifierE0EEC2ItiitEET_T0_T1_T2_(ptr noundef nonnull align 2 dereferenceable(8), i16 noundef zeroext, i32 noundef, i32 noundef, i16 noundef zeroext) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i16 @_ZNSt14numeric_limitsIsE3minEv() #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i16 @_ZNSt14numeric_limitsIsE3maxEv() #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EsLNS_9qualifierE0EEC2Essss(ptr noundef nonnull align 2 dereferenceable(8), i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext) unnamed_addr #3 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #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}
!11 = !{!7, !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::vec" = type { %union.anon, %union.anon.0, %union.anon.1, %union.anon.2 }
%union.anon = type { float }
%union.anon.0 = type { float }
%union.anon.1 = type { float }
%union.anon.2 = type { float }
%"struct.glm::vec.3" = type { %union.anon.4, %union.anon.5, %union.anon.6, %union.anon.7 }
%union.anon.4 = type { i8 }
%union.anon.5 = type { i8 }
%union.anon.6 = type { i8 }
%union.anon.7 = type { i8 }
%"struct.glm::vec.8" = type { %union.anon.9, %union.anon.10, %union.anon.11, %union.anon.12 }
%union.anon.9 = type { i8 }
%union.anon.10 = type { i8 }
%union.anon.11 = type { i8 }
%union.anon.12 = type { i8 }
%"struct.glm::vec.13" = type { %union.anon.14, %union.anon.15, %union.anon.16, %union.anon.17 }
%union.anon.14 = type { i16 }
%union.anon.15 = type { i16 }
%union.anon.16 = type { i16 }
%union.anon.17 = type { i16 }
%"struct.glm::vec.18" = type { %union.anon.19, %union.anon.20, %union.anon.21, %union.anon.22 }
%union.anon.19 = type { i16 }
%union.anon.20 = type { i16 }
%union.anon.21 = type { i16 }
%union.anon.22 = type { i16 }

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 17) i32 @_ZN13compNormalize3runEv() local_unnamed_addr #0 {
  %1 = alloca %"struct.glm::vec", align 8
  %2 = alloca %"struct.glm::vec.3", align 1
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.glm::vec", align 8
  %8 = alloca %"struct.glm::vec.8", align 1
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %"struct.glm::vec", align 8
  %14 = alloca %"struct.glm::vec.13", align 2
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca %"struct.glm::vec", align 8
  %20 = alloca %"struct.glm::vec.18", align 2
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @_ZN3glm3vecILi4EhLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4) %2, i32 noundef 0, i32 noundef 127, i32 noundef 128, i32 noundef 255)
  %25 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EhLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 1 dereferenceable(4) %2)
  %26 = extractvalue { <2 x float>, <2 x float> } %25, 0
  store <2 x float> %26, ptr %1, align 8
  %27 = getelementptr inbounds i8, ptr %1, i64 8
  %28 = extractvalue { <2 x float>, <2 x float> } %25, 1
  store <2 x float> %28, ptr %27, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store float 0.000000e+00, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  %29 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %29, ptr %4, align 4, !tbaa !5
  %30 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  %31 = getelementptr inbounds i8, ptr %1, i64 4
  %32 = load <2 x float>, ptr %31, align 4, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %1, i64 12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store float 1.000000e+00, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %34 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %34, ptr %6, align 4, !tbaa !5
  %35 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  call void @_ZN3glm3vecILi4EaLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4) %8, i32 noundef -128, i32 noundef -1, i32 noundef 0, i32 noundef 127)
  %36 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EaLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 1 dereferenceable(4) %8)
  %37 = extractvalue { <2 x float>, <2 x float> } %36, 0
  store <2 x float> %37, ptr %7, align 8
  %38 = getelementptr inbounds i8, ptr %7, i64 8
  %39 = extractvalue { <2 x float>, <2 x float> } %36, 1
  store <2 x float> %39, ptr %38, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store float -1.000000e+00, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %40 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %40, ptr %10, align 4, !tbaa !5
  %41 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %42 = getelementptr inbounds i8, ptr %7, i64 4
  %43 = load <2 x float>, ptr %42, align 4, !tbaa !9
  %44 = shufflevector <2 x float> %32, <2 x float> %43, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %45 = fcmp uge <4 x float> %44, <float 5.000000e-01, float 5.000000e-01, float 0.000000e+00, float 0.000000e+00>
  %46 = fcmp ule <4 x float> %44, <float 5.000000e-01, float 5.000000e-01, float 0.000000e+00, float 0.000000e+00>
  %47 = shufflevector <4 x i1> %45, <4 x i1> %46, <4 x i32> <i32 0, i32 5, i32 2, i32 7>
  %48 = getelementptr inbounds i8, ptr %7, i64 12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store float 1.000000e+00, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  %49 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %49, ptr %12, align 4, !tbaa !5
  %50 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %51 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3minEv() #7
  %52 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #7
  %53 = lshr i16 %52, 1
  %54 = zext nneg i16 %53 to i32
  %55 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #7
  %56 = lshr i16 %55, 1
  %narrow = add nuw i16 %56, 1
  %57 = zext i16 %narrow to i32
  %58 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #7
  call void @_ZN3glm3vecILi4EtLNS_9qualifierE0EEC2ItiitEET_T0_T1_T2_(ptr noundef nonnull align 2 dereferenceable(8) %14, i16 noundef zeroext %51, i32 noundef %54, i32 noundef %57, i16 noundef zeroext %58)
  %59 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EtLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 2 dereferenceable(8) %14)
  %60 = extractvalue { <2 x float>, <2 x float> } %59, 0
  store <2 x float> %60, ptr %13, align 8
  %61 = getelementptr inbounds i8, ptr %13, i64 8
  %62 = extractvalue { <2 x float>, <2 x float> } %59, 1
  store <2 x float> %62, ptr %61, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store float 0.000000e+00, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  %63 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %63, ptr %16, align 4, !tbaa !5
  %64 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  %65 = getelementptr inbounds i8, ptr %13, i64 4
  %66 = load <2 x float>, ptr %65, align 4, !tbaa !9
  %67 = getelementptr inbounds i8, ptr %13, i64 12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  store float 1.000000e+00, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  %68 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %68, ptr %18, align 4, !tbaa !5
  %69 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %67, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %70 = call noundef signext i16 @_ZNSt14numeric_limitsIsE3minEv() #7
  %71 = call noundef signext i16 @_ZNSt14numeric_limitsIsE3maxEv() #7
  call void @_ZN3glm3vecILi4EsLNS_9qualifierE0EEC2Essss(ptr noundef nonnull align 2 dereferenceable(8) %20, i16 noundef signext %70, i16 noundef signext -1, i16 noundef signext 0, i16 noundef signext %71)
  %72 = call { <2 x float>, <2 x float> } @_ZN3glm13compNormalizeIfLi4EsLNS_9qualifierE0EEENS_3vecIXT0_ET_XT2_EEERKNS2_IXT0_ET1_XT2_EEE(ptr noundef nonnull align 2 dereferenceable(8) %20)
  %73 = extractvalue { <2 x float>, <2 x float> } %72, 0
  store <2 x float> %73, ptr %19, align 8
  %74 = getelementptr inbounds i8, ptr %19, i64 8
  %75 = extractvalue { <2 x float>, <2 x float> } %72, 1
  store <2 x float> %75, ptr %74, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  store float -1.000000e+00, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #7
  %76 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %76, ptr %22, align 4, !tbaa !5
  %77 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  %78 = getelementptr inbounds i8, ptr %19, i64 4
  %79 = load <2 x float>, ptr %78, align 4, !tbaa !9
  %80 = shufflevector <2 x float> %66, <2 x float> %79, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %81 = fcmp uge <4 x float> %80, <float 5.000000e-01, float 5.000000e-01, float 0.000000e+00, float 0.000000e+00>
  %82 = fcmp ule <4 x float> %80, <float 5.000000e-01, float 5.000000e-01, float 0.000000e+00, float 0.000000e+00>
  %83 = shufflevector <4 x i1> %81, <4 x i1> %82, <4 x i32> <i32 0, i32 5, i32 2, i32 7>
  %84 = getelementptr inbounds i8, ptr %19, i64 12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #7
  store float 1.000000e+00, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #7
  %85 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %85, ptr %24, align 4, !tbaa !5
  %86 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %84, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %87 = insertelement <8 x i1> poison, i1 %30, i64 0
  %88 = insertelement <8 x i1> %87, i1 %35, i64 1
  %89 = insertelement <8 x i1> %88, i1 %41, i64 2
  %90 = insertelement <8 x i1> %89, i1 %50, i64 3
  %91 = insertelement <8 x i1> %90, i1 %64, i64 4
  %92 = insertelement <8 x i1> %91, i1 %69, i64 5
  %93 = insertelement <8 x i1> %92, i1 %77, i64 6
  %94 = insertelement <8 x i1> %93, i1 %86, i64 7
  %95 = xor <8 x i1> %94, <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>
  %96 = bitcast <8 x i1> %95 to i8
  %97 = call range(i8 0, 9) i8 @llvm.ctpop.i8(i8 %96)
  %98 = zext nneg i8 %97 to i32
  %99 = bitcast <4 x i1> %47 to i4
  %100 = call range(i4 0, 5) i4 @llvm.ctpop.i4(i4 %99)
  %101 = zext nneg i4 %100 to i32
  %op.rdx = add nuw nsw i32 %98, %101
  %102 = bitcast <4 x i1> %83 to i4
  %103 = call range(i4 0, 5) i4 @llvm.ctpop.i4(i4 %102)
  %104 = zext nneg i4 %103 to i32
  %op.rdx32 = add nuw nsw i32 %op.rdx, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  ret i32 %op.rdx32
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EhLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EaLNS_9qualifierE0EEC2IiiiiEET_T0_T1_T2_(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNSt14numeric_limitsItE3minEv() local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EtLNS_9qualifierE0EEC2ItiitEET_T0_T1_T2_(ptr noundef nonnull align 2 dereferenceable(8), i16 noundef zeroext, i32 noundef, i32 noundef, i16 noundef zeroext) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i16 @_ZNSt14numeric_limitsIsE3minEv() local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i16 @_ZNSt14numeric_limitsIsE3maxEv() local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3glm3vecILi4EsLNS_9qualifierE0EEC2Essss(ptr noundef nonnull align 2 dereferenceable(8), i16 noundef signext, i16 noundef signext, i16 noundef signext, i16 noundef signext) unnamed_addr #3 align 2

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #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"}
!9 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,VectorCombinePass