; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/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 = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, i8, i8, i8 }
%"struct.glm::vec.7" = type { %union.anon.8 }
%union.anon.8 = type { %struct.anon.9 }
%struct.anon.9 = type { i8, i8, i8, i8 }
%"struct.glm::vec.12" = type { %union.anon.13 }
%union.anon.13 = type { %struct.anon.14 }
%struct.anon.14 = type { i16, i16, i16, i16 }
%"struct.glm::vec.17" = type { %union.anon.18 }
%union.anon.18 = type { %struct.anon.19 }
%struct.anon.19 = type { i16, i16, i16, 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.2", 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.7", 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.12", 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.17", 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 %"struct.glm::vec", ptr %2, i32 0, i32 0
  %28 = getelementptr inbounds %union.anon, ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 0
  %30 = extractvalue { <2 x float>, <2 x float> } %26, 0
  store <2 x float> %30, ptr %29, align 4
  %31 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %28, i32 0, i32 1
  %32 = extractvalue { <2 x float>, <2 x float> } %26, 1
  store <2 x float> %32, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  %33 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 0
  %34 = getelementptr inbounds %struct.anon, ptr %33, 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
  %35 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %35, ptr %5, align 4, !tbaa !9
  %36 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %37 = zext i1 %36 to i64
  %38 = select i1 %36, i32 0, i32 1
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = add nsw i32 %39, %38
  store i32 %40, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %41 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 0
  %42 = getelementptr inbounds %struct.anon, ptr %41, i32 0, i32 1
  %43 = load float, ptr %42, align 4, !tbaa !11
  %44 = fcmp olt float %43, 5.000000e-01
  %45 = zext i1 %44 to i64
  %46 = select i1 %44, i32 0, i32 1
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = add nsw i32 %47, %46
  store i32 %48, ptr %1, align 4, !tbaa !5
  %49 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 0
  %50 = getelementptr inbounds %struct.anon, ptr %49, i32 0, i32 2
  %51 = load float, ptr %50, align 4, !tbaa !11
  %52 = fcmp ogt float %51, 5.000000e-01
  %53 = zext i1 %52 to i64
  %54 = select i1 %52, i32 0, i32 1
  %55 = load i32, ptr %1, align 4, !tbaa !5
  %56 = add nsw i32 %55, %54
  store i32 %56, ptr %1, align 4, !tbaa !5
  %57 = getelementptr inbounds %"struct.glm::vec", ptr %2, i32 0, i32 0
  %58 = getelementptr inbounds %struct.anon, ptr %57, 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
  %59 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %59, ptr %7, align 4, !tbaa !9
  %60 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %61 = zext i1 %60 to i64
  %62 = select i1 %60, i32 0, i32 1
  %63 = load i32, ptr %1, align 4, !tbaa !5
  %64 = add nsw i32 %63, %62
  store i32 %64, 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)
  %65 = 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)
  %66 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 0
  %67 = getelementptr inbounds %union.anon, ptr %66, i32 0, i32 0
  %68 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 0
  %69 = extractvalue { <2 x float>, <2 x float> } %65, 0
  store <2 x float> %69, ptr %68, align 4
  %70 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 1
  %71 = extractvalue { <2 x float>, <2 x float> } %65, 1
  store <2 x float> %71, ptr %70, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %72 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 0
  %73 = getelementptr inbounds %struct.anon, ptr %72, 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
  %74 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %74, ptr %11, align 4, !tbaa !9
  %75 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %73, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %76 = zext i1 %75 to i64
  %77 = select i1 %75, i32 0, i32 1
  %78 = load i32, ptr %1, align 4, !tbaa !5
  %79 = add nsw i32 %78, %77
  store i32 %79, 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
  %80 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 0
  %81 = getelementptr inbounds %struct.anon, ptr %80, i32 0, i32 1
  %82 = load float, ptr %81, align 4, !tbaa !11
  %83 = fcmp olt float %82, 0.000000e+00
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, i32 0, i32 1
  %86 = load i32, ptr %1, align 4, !tbaa !5
  %87 = add nsw i32 %86, %85
  store i32 %87, ptr %1, align 4, !tbaa !5
  %88 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 0
  %89 = getelementptr inbounds %struct.anon, ptr %88, i32 0, i32 2
  %90 = load float, ptr %89, align 4, !tbaa !11
  %91 = fcmp ogt float %90, 0.000000e+00
  %92 = zext i1 %91 to i64
  %93 = select i1 %91, i32 0, i32 1
  %94 = load i32, ptr %1, align 4, !tbaa !5
  %95 = add nsw i32 %94, %93
  store i32 %95, ptr %1, align 4, !tbaa !5
  %96 = getelementptr inbounds %"struct.glm::vec", ptr %8, i32 0, i32 0
  %97 = getelementptr inbounds %struct.anon, ptr %96, 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
  %98 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %98, ptr %13, align 4, !tbaa !9
  %99 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %97, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %100 = zext i1 %99 to i64
  %101 = select i1 %99, i32 0, i32 1
  %102 = load i32, ptr %1, align 4, !tbaa !5
  %103 = add nsw i32 %102, %101
  store i32 %103, 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
  %104 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3minEv() #6
  %105 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #6
  %106 = zext i16 %105 to i32
  %107 = ashr i32 %106, 1
  %108 = add nsw i32 %107, 0
  %109 = call noundef zeroext i16 @_ZNSt14numeric_limitsItE3maxEv() #6
  %110 = zext i16 %109 to i32
  %111 = ashr i32 %110, 1
  %112 = add nsw i32 %111, 1
  %113 = 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 %104, i32 noundef %108, i32 noundef %112, i16 noundef zeroext %113)
  %114 = 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)
  %115 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 0
  %116 = getelementptr inbounds %union.anon, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %116, i32 0, i32 0
  %118 = extractvalue { <2 x float>, <2 x float> } %114, 0
  store <2 x float> %118, ptr %117, align 4
  %119 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %116, i32 0, i32 1
  %120 = extractvalue { <2 x float>, <2 x float> } %114, 1
  store <2 x float> %120, ptr %119, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  %121 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 0
  %122 = getelementptr inbounds %struct.anon, ptr %121, 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
  %123 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %123, ptr %17, align 4, !tbaa !9
  %124 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %122, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %125 = zext i1 %124 to i64
  %126 = select i1 %124, i32 0, i32 1
  %127 = load i32, ptr %1, align 4, !tbaa !5
  %128 = add nsw i32 %127, %126
  store i32 %128, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  %129 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 0
  %130 = getelementptr inbounds %struct.anon, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !11
  %132 = fcmp olt float %131, 5.000000e-01
  %133 = zext i1 %132 to i64
  %134 = select i1 %132, i32 0, i32 1
  %135 = load i32, ptr %1, align 4, !tbaa !5
  %136 = add nsw i32 %135, %134
  store i32 %136, ptr %1, align 4, !tbaa !5
  %137 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 0
  %138 = getelementptr inbounds %struct.anon, ptr %137, i32 0, i32 2
  %139 = load float, ptr %138, align 4, !tbaa !11
  %140 = fcmp ogt float %139, 5.000000e-01
  %141 = zext i1 %140 to i64
  %142 = select i1 %140, i32 0, i32 1
  %143 = load i32, ptr %1, align 4, !tbaa !5
  %144 = add nsw i32 %143, %142
  store i32 %144, ptr %1, align 4, !tbaa !5
  %145 = getelementptr inbounds %"struct.glm::vec", ptr %14, i32 0, i32 0
  %146 = getelementptr inbounds %struct.anon, ptr %145, 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
  %147 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %147, ptr %19, align 4, !tbaa !9
  %148 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %146, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %149 = zext i1 %148 to i64
  %150 = select i1 %148, i32 0, i32 1
  %151 = load i32, ptr %1, align 4, !tbaa !5
  %152 = add nsw i32 %151, %150
  store i32 %152, 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
  %153 = call noundef signext i16 @_ZNSt14numeric_limitsIsE3minEv() #6
  %154 = call noundef signext i16 @_ZNSt14numeric_limitsIsE3maxEv() #6
  call void @_ZN3glm3vecILi4EsLNS_9qualifierE0EEC2Essss(ptr noundef nonnull align 2 dereferenceable(8) %21, i16 noundef signext %153, i16 noundef signext -1, i16 noundef signext 0, i16 noundef signext %154)
  %155 = 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)
  %156 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 0
  %157 = getelementptr inbounds %union.anon, ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %157, i32 0, i32 0
  %159 = extractvalue { <2 x float>, <2 x float> } %155, 0
  store <2 x float> %159, ptr %158, align 4
  %160 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %157, i32 0, i32 1
  %161 = extractvalue { <2 x float>, <2 x float> } %155, 1
  store <2 x float> %161, ptr %160, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %162 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 0
  %163 = getelementptr inbounds %struct.anon, ptr %162, 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
  %164 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %164, ptr %23, 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) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %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 %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  %170 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 0
  %171 = getelementptr inbounds %struct.anon, ptr %170, i32 0, i32 1
  %172 = load float, ptr %171, align 4, !tbaa !11
  %173 = fcmp olt float %172, 0.000000e+00
  %174 = zext i1 %173 to i64
  %175 = select i1 %173, i32 0, i32 1
  %176 = load i32, ptr %1, align 4, !tbaa !5
  %177 = add nsw i32 %176, %175
  store i32 %177, ptr %1, align 4, !tbaa !5
  %178 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 0
  %179 = getelementptr inbounds %struct.anon, ptr %178, i32 0, i32 2
  %180 = load float, ptr %179, align 4, !tbaa !11
  %181 = fcmp ogt float %180, 0.000000e+00
  %182 = zext i1 %181 to i64
  %183 = select i1 %181, i32 0, i32 1
  %184 = load i32, ptr %1, align 4, !tbaa !5
  %185 = add nsw i32 %184, %183
  store i32 %185, ptr %1, align 4, !tbaa !5
  %186 = getelementptr inbounds %"struct.glm::vec", ptr %20, i32 0, i32 0
  %187 = getelementptr inbounds %struct.anon, ptr %186, 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
  %188 = call noundef float @_ZN3glm7epsilonIfEET_v()
  store float %188, ptr %25, align 4, !tbaa !9
  %189 = call noundef zeroext i1 @_ZN3glm12epsilonEqualIfEEbRKT_S3_S3_(ptr noundef nonnull align 4 dereferenceable(4) %187, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
  %190 = zext i1 %189 to i64
  %191 = select i1 %189, i32 0, i32 1
  %192 = load i32, ptr %1, align 4, !tbaa !5
  %193 = add nsw i32 %192, %191
  store i32 %193, 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
  %194 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret i32 %194
}

; 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 = type { %struct.anon }
%struct.anon = type { float, float, float, float }
%"struct.glm::vec.2" = type { %union.anon.3 }
%union.anon.3 = type { %struct.anon.4 }
%struct.anon.4 = type { i8, i8, i8, i8 }
%"struct.glm::vec.7" = type { %union.anon.8 }
%union.anon.8 = type { %struct.anon.9 }
%struct.anon.9 = type { i8, i8, i8, i8 }
%"struct.glm::vec.12" = type { %union.anon.13 }
%union.anon.13 = type { %struct.anon.14 }
%struct.anon.14 = type { i16, i16, i16, i16 }
%"struct.glm::vec.17" = type { %union.anon.18 }
%union.anon.18 = type { %struct.anon.19 }
%struct.anon.19 = type { i16, i16, i16, 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.2", 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.7", 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.12", 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.17", 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