; LLVM IR from recp/cglm :: test/src (tests)

; 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.test_status_t = type { ptr, i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [29 x i8], align 1
@__const.test_glm_vec2_normalize_to.v1 = external hidden unnamed_addr constant [2 x float], align 4

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

declare { ptr, i32 } @test_assert_vec2_eq(ptr noundef, ptr noundef) #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec2_zero(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #3

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec2_normalize_to() #6 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [2 x float], align 4
  %3 = alloca [2 x float], align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.test_status_t, align 8
  %8 = alloca %struct.test_status_t, align 8
  %9 = alloca [2 x float], align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.test_glm_vec2_normalize_to.v1, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store float 1.000000e+00, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %10 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %11 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0
  call void @glm_vec2_normalize_to(ptr noundef %10, ptr noundef %11)
  %12 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %13 = load float, ptr %12, align 4, !tbaa !5
  %14 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %15 = load float, ptr %14, align 4, !tbaa !5
  %16 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 1
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 1
  %19 = load float, ptr %18, align 4, !tbaa !5
  %20 = fmul float %17, %19
  %21 = call float @llvm.fmuladd.f32(float %13, float %15, float %20)
  %22 = call float @sqrtf(float noundef %21) #7
  store float %22, ptr %5, align 4, !tbaa !5
  %23 = load float, ptr %5, align 4, !tbaa !5
  %24 = fcmp olt float %23, 0x3E80000000000000
  br i1 %24, label %25, label %52

25:                                               ; preds = %0
  br label %26

26:                                               ; preds = %25
  %27 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %28 = load float, ptr %27, align 4, !tbaa !5
  %29 = call zeroext i1 @test_eq(float noundef %28, float noundef 0.000000e+00)
  br i1 %29, label %35, label %30

30:                                               ; preds = %26
  %31 = load ptr, ptr @stderr, align 8, !tbaa !9
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 523, ptr noundef @.str.27) #7
  %33 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %33, align 8, !tbaa !11
  %34 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %34, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %118

35:                                               ; preds = %26
  br label %36

36:                                               ; preds = %35
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  %39 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 1
  %40 = load float, ptr %39, align 4, !tbaa !5
  %41 = call zeroext i1 @test_eq(float noundef %40, float noundef 0.000000e+00)
  br i1 %41, label %47, label %42

42:                                               ; preds = %38
  %43 = load ptr, ptr @stderr, align 8, !tbaa !9
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 524, ptr noundef @.str.28) #7
  %45 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %45, align 8, !tbaa !11
  %46 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %46, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %118

47:                                               ; preds = %38
  br label %48

48:                                               ; preds = %47
  br label %49

49:                                               ; preds = %48
  %50 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %50, align 8, !tbaa !11
  %51 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %51, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %118

52:                                               ; preds = %0
  %53 = load float, ptr %4, align 4, !tbaa !5
  %54 = load float, ptr %5, align 4, !tbaa !5
  %55 = fdiv float %53, %54
  store float %55, ptr %5, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %52
  %57 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %58 = load float, ptr %57, align 4, !tbaa !5
  %59 = load float, ptr %5, align 4, !tbaa !5
  %60 = fmul float %58, %59
  %61 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0
  %62 = load float, ptr %61, align 4, !tbaa !5
  %63 = call zeroext i1 @test_eq(float noundef %60, float noundef %62)
  br i1 %63, label %69, label %64

64:                                               ; preds = %56
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 531, ptr noundef @.str.29) #7
  %67 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %67, align 8, !tbaa !11
  %68 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %68, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %118

69:                                               ; preds = %56
  br label %70

70:                                               ; preds = %69
  br label %71

71:                                               ; preds = %70
  br label %72

72:                                               ; preds = %71
  %73 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 1
  %74 = load float, ptr %73, align 4, !tbaa !5
  %75 = load float, ptr %5, align 4, !tbaa !5
  %76 = fmul float %74, %75
  %77 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 1
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = call zeroext i1 @test_eq(float noundef %76, float noundef %78)
  br i1 %79, label %85, label %80

80:                                               ; preds = %72
  %81 = load ptr, ptr @stderr, align 8, !tbaa !9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 532, ptr noundef @.str.30) #7
  %83 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %83, align 8, !tbaa !11
  %84 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %84, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %118

85:                                               ; preds = %72
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  %88 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  call void @glm_vec2_zero(ptr noundef %88)
  %89 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %90 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0
  call void @glm_vec2_normalize_to(ptr noundef %89, ptr noundef %90)
  br label %91

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  %92 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0
  store float 0.000000e+00, ptr %9, align 4, !tbaa !5
  %93 = getelementptr inbounds float, ptr %9, i64 1
  store float 0.000000e+00, ptr %93, align 4, !tbaa !5
  %94 = getelementptr inbounds [2 x float], ptr %9, i64 0, i64 0
  %95 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef %92, ptr noundef %94)
  %96 = getelementptr inbounds { ptr, i32 }, ptr %8, i32 0, i32 0
  %97 = extractvalue { ptr, i32 } %95, 0
  store ptr %97, ptr %96, align 8
  %98 = getelementptr inbounds { ptr, i32 }, ptr %8, i32 0, i32 1
  %99 = extractvalue { ptr, i32 } %95, 1
  store i32 %99, ptr %98, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %8, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  %100 = getelementptr inbounds %struct.test_status_t, ptr %7, i32 0, i32 1
  %101 = load i32, ptr %100, align 8, !tbaa !14
  %102 = icmp ne i32 %101, 1
  br i1 %102, label %103, label %110

103:                                              ; preds = %91
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 536, ptr noundef @.str.16) #7
  %106 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %107 = getelementptr inbounds %struct.test_status_t, ptr %7, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !11
  store ptr %108, ptr %106, align 8, !tbaa !11
  %109 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %109, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %111

110:                                              ; preds = %91
  store i32 0, ptr %6, align 4
  br label %111

111:                                              ; preds = %110, %103
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  %112 = load i32, ptr %6, align 4
  switch i32 %112, label %118 [
    i32 0, label %113
  ]

113:                                              ; preds = %111
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  %116 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %116, align 8, !tbaa !11
  %117 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %117, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %118

118:                                              ; preds = %115, %111, %80, %64, %49, %42, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %119 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %119
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec2_normalize_to(ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline 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 = { nounwind "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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind 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 #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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"test_status_t", !10, i64 0, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{i64 0, i64 8, !9, i64 8, i64 4, !16}
!16 = !{!13, !13, 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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [29 x i8], align 1
@__const.test_glm_vec2_normalize_to.v1 = external hidden unnamed_addr constant [2 x float], align 4

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

declare { ptr, i32 } @test_assert_vec2_eq(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec2_zero(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec2_normalize_to() local_unnamed_addr #5 {
  %1 = alloca [2 x float], align 8
  %2 = alloca [2 x float], align 4
  %3 = alloca [2 x float], align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %4 = load i64, ptr @__const.test_glm_vec2_normalize_to.v1, align 4
  store i64 %4, ptr %1, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @glm_vec2_normalize_to(ptr noundef nonnull %1, ptr noundef nonnull %2)
  %5 = load float, ptr %1, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 4
  %7 = load float, ptr %6, align 4, !tbaa !5
  %8 = fmul float %7, %7
  %9 = call float @llvm.fmuladd.f32(float %5, float %5, float %8)
  %sqrt = call float @llvm.sqrt.f32(float %9)
  %10 = fcmp olt float %sqrt, 0x3E80000000000000
  br i1 %10, label %11, label %22

11:                                               ; preds = %0
  %12 = call zeroext i1 @test_eq(float noundef %5, float noundef 0.000000e+00)
  br i1 %12, label %16, label %13

13:                                               ; preds = %11
  %14 = load ptr, ptr @stderr, align 8, !tbaa !9
  %15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 523, ptr noundef nonnull @.str.27) #8
  br label %47

16:                                               ; preds = %11
  %17 = load float, ptr %6, align 4, !tbaa !5
  %18 = call zeroext i1 @test_eq(float noundef %17, float noundef 0.000000e+00)
  br i1 %18, label %47, label %19

19:                                               ; preds = %16
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 524, ptr noundef nonnull @.str.28) #8
  br label %47

22:                                               ; preds = %0
  %23 = fdiv float 1.000000e+00, %sqrt
  %24 = fmul float %23, %5
  %25 = load float, ptr %2, align 4, !tbaa !5
  %26 = call zeroext i1 @test_eq(float noundef %24, float noundef %25)
  br i1 %26, label %30, label %27

27:                                               ; preds = %22
  %28 = load ptr, ptr @stderr, align 8, !tbaa !9
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 531, ptr noundef nonnull @.str.29) #8
  br label %47

30:                                               ; preds = %22
  %31 = load float, ptr %6, align 4, !tbaa !5
  %32 = fmul float %23, %31
  %33 = getelementptr inbounds i8, ptr %2, i64 4
  %34 = load float, ptr %33, align 4, !tbaa !5
  %35 = call zeroext i1 @test_eq(float noundef %32, float noundef %34)
  br i1 %35, label %39, label %36

36:                                               ; preds = %30
  %37 = load ptr, ptr @stderr, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 532, ptr noundef nonnull @.str.30) #8
  br label %47

39:                                               ; preds = %30
  call void @glm_vec2_zero(ptr noundef nonnull %1)
  call void @glm_vec2_normalize_to(ptr noundef nonnull %1, ptr noundef nonnull %2)
  store <2 x float> zeroinitializer, ptr %3, align 8, !tbaa !5
  %40 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef nonnull %2, ptr noundef nonnull %3) #7
  %41 = extractvalue { ptr, i32 } %40, 1
  %.not = icmp eq i32 %41, 1
  br i1 %.not, label %46, label %42

42:                                               ; preds = %39
  %43 = extractvalue { ptr, i32 } %40, 0
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 536, ptr noundef nonnull @.str.16) #8
  br label %46

46:                                               ; preds = %39, %42
  %spec.select = phi ptr [ null, %39 ], [ %43, %42 ]
  %spec.select9 = zext i1 %.not to i32
  br label %47

47:                                               ; preds = %46, %16, %36, %27, %19, %13
  %.sroa.07.1 = phi ptr [ null, %19 ], [ null, %13 ], [ null, %36 ], [ null, %27 ], [ null, %16 ], [ %spec.select, %46 ]
  %.sroa.8.1 = phi i32 [ 0, %19 ], [ 0, %13 ], [ 0, %36 ], [ 0, %27 ], [ 1, %16 ], [ %spec.select9, %46 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %.fca.0.insert = insertvalue { ptr, i32 } poison, ptr %.sroa.07.1, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.8.1, 1
  ret { ptr, i32 } %.fca.1.insert
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec2_normalize_to(ptr noundef, ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 #2 = { nofree nounwind "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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 }
attributes #8 = { cold 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass