; LLVM IR from Dovyski/opengl-demos :: libs/glm-0.9.9.3/test/gtc/gtc_bitfield.ll (ZN4mask10test_uvec4Ev)

; 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.mask::type.0" = type { %"struct.glm::vec", %"struct.glm::vec" }
%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { i32, i32, i32, i32 }
%"struct.glm::vec.3" = type { %union.anon.4 }
%union.anon.4 = type { %struct.anon.5 }
%struct.anon.5 = type { i8, i8, i8, i8 }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4mask10test_uvec4Ev() #1 {
  %1 = alloca [6 x %"struct.mask::type.0"], align 16
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"struct.glm::vec", align 4
  %6 = alloca %"struct.glm::vec.3", align 1
  call void @llvm.lifetime.start.p0(i64 192, ptr %1) #4
  %7 = getelementptr inbounds %"struct.mask::type.0", ptr %1, i32 0, i32 0
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 0)
  %8 = getelementptr inbounds %"struct.mask::type.0", ptr %1, i32 0, i32 1
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 0)
  %9 = getelementptr inbounds %"struct.mask::type.0", ptr %1, i64 1
  %10 = getelementptr inbounds %"struct.mask::type.0", ptr %9, i32 0, i32 0
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 1)
  %11 = getelementptr inbounds %"struct.mask::type.0", ptr %9, i32 0, i32 1
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef 1)
  %12 = getelementptr inbounds %"struct.mask::type.0", ptr %1, i64 2
  %13 = getelementptr inbounds %"struct.mask::type.0", ptr %12, i32 0, i32 0
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef 2)
  %14 = getelementptr inbounds %"struct.mask::type.0", ptr %12, i32 0, i32 1
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef 3)
  %15 = getelementptr inbounds %"struct.mask::type.0", ptr %1, i64 3
  %16 = getelementptr inbounds %"struct.mask::type.0", ptr %15, i32 0, i32 0
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %16, i32 noundef 3)
  %17 = getelementptr inbounds %"struct.mask::type.0", ptr %15, i32 0, i32 1
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef 7)
  %18 = getelementptr inbounds %"struct.mask::type.0", ptr %1, i64 4
  %19 = getelementptr inbounds %"struct.mask::type.0", ptr %18, i32 0, i32 0
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %19, i32 noundef 31)
  %20 = getelementptr inbounds %"struct.mask::type.0", ptr %18, i32 0, i32 1
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %20, i32 noundef 2147483647)
  %21 = getelementptr inbounds %"struct.mask::type.0", ptr %1, i64 5
  %22 = getelementptr inbounds %"struct.mask::type.0", ptr %21, i32 0, i32 0
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %22, i32 noundef 32)
  %23 = getelementptr inbounds %"struct.mask::type.0", ptr %21, i32 0, i32 1
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %23, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 0, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store i64 6, ptr %4, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %51, %0
  %25 = load i64, ptr %3, align 8, !tbaa !9
  %26 = load i64, ptr %4, align 8, !tbaa !9
  %27 = icmp ult i64 %25, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %54

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %30 = load i64, ptr %3, align 8, !tbaa !9
  %31 = getelementptr inbounds [6 x %"struct.mask::type.0"], ptr %1, i64 0, i64 %30
  %32 = getelementptr inbounds %"struct.mask::type.0", ptr %31, i32 0, i32 0
  %33 = call { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %32)
  %34 = getelementptr inbounds %"struct.glm::vec", ptr %5, i32 0, i32 0
  %35 = getelementptr inbounds %union.anon, ptr %34, i32 0, i32 0
  %36 = getelementptr inbounds { i64, i64 }, ptr %35, i32 0, i32 0
  %37 = extractvalue { i64, i64 } %33, 0
  store i64 %37, ptr %36, align 4
  %38 = getelementptr inbounds { i64, i64 }, ptr %35, i32 0, i32 1
  %39 = extractvalue { i64, i64 } %33, 1
  store i64 %39, ptr %38, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %40 = load i64, ptr %3, align 8, !tbaa !9
  %41 = getelementptr inbounds [6 x %"struct.mask::type.0"], ptr %1, i64 0, i64 %40
  %42 = getelementptr inbounds %"struct.mask::type.0", ptr %41, i32 0, i32 1
  %43 = call i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %42, ptr noundef nonnull align 4 dereferenceable(16) %5)
  %44 = getelementptr inbounds %"struct.glm::vec.3", ptr %6, i32 0, i32 0
  %45 = getelementptr inbounds %union.anon.4, ptr %44, i32 0, i32 0
  store i32 %43, ptr %45, align 1
  %46 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %6)
  %47 = zext i1 %46 to i64
  %48 = select i1 %46, i32 0, i32 1
  %49 = load i32, ptr %2, align 4, !tbaa !5
  %50 = add nsw i32 %49, %48
  store i32 %50, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  br label %51

51:                                               ; preds = %29
  %52 = load i64, ptr %3, align 8, !tbaa !9
  %53 = add i64 %52, 1
  store i64 %53, ptr %3, align 8, !tbaa !9
  br label %24, !llvm.loop !11

54:                                               ; preds = %28
  %55 = load i32, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 192, ptr %1) #4
  ret i32 %55
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) #3

; 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 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(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 = { 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 #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 = { 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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; 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.mask::type.0" = type { %"struct.glm::vec", %"struct.glm::vec" }
%"struct.glm::vec" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { i32, i32, i32, i32 }
%"struct.glm::vec.3" = type { %union.anon.4 }
%union.anon.4 = type { %struct.anon.5 }
%struct.anon.5 = type { i8, i8, i8, i8 }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4mask10test_uvec4Ev() local_unnamed_addr #1 {
  %1 = alloca [6 x %"struct.mask::type.0"], align 16
  %2 = alloca %"struct.glm::vec", align 8
  %3 = alloca %"struct.glm::vec.3", align 4
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %1) #4
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef 0)
  %4 = getelementptr inbounds i8, ptr %1, i64 16
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %4, i32 noundef 0)
  %5 = getelementptr inbounds i8, ptr %1, i64 32
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %5, i32 noundef 1)
  %6 = getelementptr inbounds i8, ptr %1, i64 48
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef 1)
  %7 = getelementptr inbounds i8, ptr %1, i64 64
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 2)
  %8 = getelementptr inbounds i8, ptr %1, i64 80
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 3)
  %9 = getelementptr inbounds i8, ptr %1, i64 96
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef 3)
  %10 = getelementptr inbounds i8, ptr %1, i64 112
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 7)
  %11 = getelementptr inbounds i8, ptr %1, i64 128
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef 31)
  %12 = getelementptr inbounds i8, ptr %1, i64 144
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef 2147483647)
  %13 = getelementptr inbounds i8, ptr %1, i64 160
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef 32)
  %14 = getelementptr inbounds i8, ptr %1, i64 176
  call void @_ZN3glm3vecILi4EiLNS_9qualifierE0EEC2Ei(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef -1)
  %15 = getelementptr inbounds i8, ptr %2, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %16 = call { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %17 = extractvalue { i64, i64 } %16, 0
  store i64 %17, ptr %2, align 8
  %18 = extractvalue { i64, i64 } %16, 1
  store i64 %18, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %19 = call i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %2)
  store i32 %19, ptr %3, align 4
  %20 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not. = xor i1 %20, true
  %21 = zext i1 %not. to i32
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %22 = call { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %23 = extractvalue { i64, i64 } %22, 0
  store i64 %23, ptr %2, align 8
  %24 = extractvalue { i64, i64 } %22, 1
  store i64 %24, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %25 = getelementptr inbounds i8, ptr %1, i64 48
  %26 = call i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(16) %2)
  store i32 %26, ptr %3, align 4
  %27 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..1 = xor i1 %27, true
  %28 = zext i1 %not..1 to i32
  %29 = add nuw nsw i32 %21, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %30 = call { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %31 = extractvalue { i64, i64 } %30, 0
  store i64 %31, ptr %2, align 8
  %32 = extractvalue { i64, i64 } %30, 1
  store i64 %32, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %33 = getelementptr inbounds i8, ptr %1, i64 80
  %34 = call i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(16) %2)
  store i32 %34, ptr %3, align 4
  %35 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..2 = xor i1 %35, true
  %36 = zext i1 %not..2 to i32
  %37 = add nuw nsw i32 %29, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %38 = call { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %39 = extractvalue { i64, i64 } %38, 0
  store i64 %39, ptr %2, align 8
  %40 = extractvalue { i64, i64 } %38, 1
  store i64 %40, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %41 = getelementptr inbounds i8, ptr %1, i64 112
  %42 = call i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %41, ptr noundef nonnull align 4 dereferenceable(16) %2)
  store i32 %42, ptr %3, align 4
  %43 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..3 = xor i1 %43, true
  %44 = zext i1 %not..3 to i32
  %45 = add nuw nsw i32 %37, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %46 = call { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %11)
  %47 = extractvalue { i64, i64 } %46, 0
  store i64 %47, ptr %2, align 8
  %48 = extractvalue { i64, i64 } %46, 1
  store i64 %48, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %49 = getelementptr inbounds i8, ptr %1, i64 144
  %50 = call i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(16) %2)
  store i32 %50, ptr %3, align 4
  %51 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..4 = xor i1 %51, true
  %52 = zext i1 %not..4 to i32
  %53 = add nuw nsw i32 %45, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %54 = call { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16) %13)
  %55 = extractvalue { i64, i64 } %54, 0
  store i64 %55, ptr %2, align 8
  %56 = extractvalue { i64, i64 } %54, 1
  store i64 %56, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %57 = getelementptr inbounds i8, ptr %1, i64 176
  %58 = call i32 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16) %57, ptr noundef nonnull align 4 dereferenceable(16) %2)
  store i32 %58, ptr %3, align 4
  %59 = call noundef zeroext i1 @_ZN3glm3allILi4ELNS_9qualifierE0EEEbRKNS_3vecIXT_EbXT0_EEE(ptr noundef nonnull align 1 dereferenceable(4) %3)
  %not..5 = xor i1 %59, true
  %60 = zext i1 %not..5 to i32
  %61 = add nuw nsw i32 %53, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %1) #4
  ret i32 %61
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i64 } @_ZN3glm4maskILi4EiLNS_9qualifierE0EEENS_3vecIXT_ET0_XT1_EEERKS4_(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; 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 @_ZN3glm5equalILi4EiLNS_9qualifierE0EEENS_3vecIXT_EbXT1_EEERKNS2_IXT_ET0_XT1_EEES7_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,ReassociatePass,SROAPass,SimplifyCFGPass