; 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
@__const.test_glm_unprojecti.viewport = external hidden unnamed_addr constant [4 x float], align 16
@__const.test_glm_unprojecti.pos = external hidden unnamed_addr constant [3 x float], align 4
@.str.874 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.875 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.876 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.877 = external hidden unnamed_addr constant [38 x i8], align 1

; 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat4_mulN(ptr noundef, i32 noundef, ptr noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_unprojecti() #5 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x [4 x float]], align 16
  %4 = alloca [4 x [4 x float]], align 16
  %5 = alloca [4 x [4 x float]], align 16
  %6 = alloca [4 x float], align 16
  %7 = alloca [3 x float], align 4
  %8 = alloca [3 x float], align 4
  %9 = alloca [3 x float], align 4
  %10 = alloca [3 x float], align 4
  %11 = alloca [3 x float], align 4
  %12 = alloca [3 x float], align 4
  %13 = alloca [3 x ptr], align 8
  %14 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.test_glm_unprojecti.viewport, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 @__const.test_glm_unprojecti.pos, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #6
  %15 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 0.000000e+00, ptr %10, align 4, !tbaa !5
  %16 = getelementptr inbounds float, ptr %10, i64 1
  store float 0.000000e+00, ptr %16, align 4, !tbaa !5
  %17 = getelementptr inbounds float, ptr %10, i64 2
  store float -1.000000e+01, ptr %17, align 4, !tbaa !5
  %18 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
  call void @glm_translate_make(ptr noundef %15, ptr noundef %18)
  store float 0.000000e+00, ptr %11, align 4, !tbaa !5
  %19 = getelementptr inbounds float, ptr %11, i64 1
  store float 0.000000e+00, ptr %19, align 4, !tbaa !5
  %20 = getelementptr inbounds float, ptr %11, i64 2
  store float 0.000000e+00, ptr %20, align 4, !tbaa !5
  %21 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
  %22 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  store float 0.000000e+00, ptr %12, align 4, !tbaa !5
  %23 = getelementptr inbounds float, ptr %12, i64 1
  store float 1.000000e+00, ptr %23, align 4, !tbaa !5
  %24 = getelementptr inbounds float, ptr %12, i64 2
  store float 0.000000e+00, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0
  %26 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_lookat(ptr noundef %21, ptr noundef %22, ptr noundef %25, ptr noundef %26)
  %27 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  call void @glm_perspective_default(float noundef 5.000000e-01, ptr noundef %27)
  store ptr %4, ptr %13, align 8, !tbaa !9
  %28 = getelementptr inbounds ptr, ptr %13, i64 1
  store ptr %3, ptr %28, align 8, !tbaa !9
  %29 = getelementptr inbounds ptr, ptr %13, i64 2
  store ptr %2, ptr %29, align 8, !tbaa !9
  %30 = getelementptr inbounds [3 x ptr], ptr %13, i64 0, i64 0
  %31 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
  call void @glm_mat4_mulN(ptr noundef %30, i32 noundef 3, ptr noundef %31)
  %32 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  %33 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
  %34 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0
  %35 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
  call void @glm_project(ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35)
  %36 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
  %37 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
  call void @glm_mat4_inv(ptr noundef %36, ptr noundef %37)
  %38 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
  %39 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 0
  %40 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0
  %41 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
  call void @glm_unprojecti(ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41)
  br label %42

42:                                               ; preds = %0
  %43 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  %44 = load float, ptr %43, align 4, !tbaa !5
  %45 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
  %46 = load float, ptr %45, align 4, !tbaa !5
  %47 = fsub float %44, %46
  %48 = call float @llvm.fabs.f32(float %47)
  %49 = fpext float %48 to double
  %50 = fcmp olt double %49, 1.000000e-02
  br i1 %50, label %56, label %51

51:                                               ; preds = %42
  %52 = load ptr, ptr @stderr, align 8, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str, ptr noundef @.str.874, i32 noundef 30, ptr noundef @.str.875) #6
  %54 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %54, align 8, !tbaa !11
  %55 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %55, align 8, !tbaa !14
  store i32 1, ptr %14, align 4
  br label %95

56:                                               ; preds = %42
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  br label %59

59:                                               ; preds = %58
  %60 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 1
  %61 = load float, ptr %60, align 4, !tbaa !5
  %62 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 1
  %63 = load float, ptr %62, align 4, !tbaa !5
  %64 = fsub float %61, %63
  %65 = call float @llvm.fabs.f32(float %64)
  %66 = fpext float %65 to double
  %67 = fcmp olt double %66, 1.000000e-02
  br i1 %67, label %73, label %68

68:                                               ; preds = %59
  %69 = load ptr, ptr @stderr, align 8, !tbaa !9
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str, ptr noundef @.str.874, i32 noundef 31, ptr noundef @.str.876) #6
  %71 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %71, align 8, !tbaa !11
  %72 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %72, align 8, !tbaa !14
  store i32 1, ptr %14, align 4
  br label %95

73:                                               ; preds = %59
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  %77 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 2
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 2
  %80 = load float, ptr %79, align 4, !tbaa !5
  %81 = fsub float %78, %80
  %82 = call float @llvm.fabs.f32(float %81)
  %83 = fpext float %82 to double
  %84 = fcmp olt double %83, 1.000000e-02
  br i1 %84, label %90, label %85

85:                                               ; preds = %76
  %86 = load ptr, ptr @stderr, align 8, !tbaa !9
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str, ptr noundef @.str.874, i32 noundef 32, ptr noundef @.str.877) #6
  %88 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %88, align 8, !tbaa !11
  %89 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %89, align 8, !tbaa !14
  store i32 1, ptr %14, align 4
  br label %95

90:                                               ; preds = %76
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  %93 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %93, align 8, !tbaa !11
  %94 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %94, align 8, !tbaa !14
  store i32 1, ptr %14, align 4
  br label %95

95:                                               ; preds = %92, %85, %68, %51
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  %96 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %96
}

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_perspective_default(float noundef, ptr noundef) #4

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

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

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


; 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
@__const.test_glm_unprojecti.viewport = external hidden unnamed_addr constant [4 x float], align 16
@__const.test_glm_unprojecti.pos = external hidden unnamed_addr constant [3 x float], align 4
@.str.874 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.875 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.876 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.877 = external hidden unnamed_addr constant [38 x i8], align 1

; 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 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: 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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat4_mulN(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_unprojecti() local_unnamed_addr #5 {
  %1 = alloca [4 x [4 x float]], align 16
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x [4 x float]], align 16
  %4 = alloca [4 x [4 x float]], align 16
  %5 = alloca [4 x float], align 16
  %6 = alloca [3 x float], align 4
  %7 = alloca [3 x float], align 4
  %8 = alloca [3 x float], align 4
  %9 = alloca [3 x float], align 8
  %10 = alloca [3 x float], align 8
  %11 = alloca [3 x float], align 8
  %12 = alloca [3 x ptr], align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_unprojecti.viewport, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) @__const.test_glm_unprojecti.pos, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  store <2 x float> zeroinitializer, ptr %9, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %9, i64 8
  store float -1.000000e+01, ptr %13, align 8, !tbaa !5
  call void @glm_translate_make(ptr noundef nonnull %1, ptr noundef nonnull %9)
  store <2 x float> zeroinitializer, ptr %10, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %10, i64 8
  store float 0.000000e+00, ptr %14, align 8, !tbaa !5
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %11, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %11, i64 8
  store float 0.000000e+00, ptr %15, align 8, !tbaa !5
  call void @glm_lookat(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %11, ptr noundef nonnull %2)
  call void @glm_perspective_default(float noundef 5.000000e-01, ptr noundef nonnull %3)
  store ptr %3, ptr %12, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %2, ptr %16, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %1, ptr %17, align 8, !tbaa !9
  call void @glm_mat4_mulN(ptr noundef nonnull %12, i32 noundef 3, ptr noundef nonnull %4)
  call void @glm_project(ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %7)
  call void @glm_mat4_inv(ptr noundef nonnull %4, ptr noundef nonnull %4)
  call void @glm_unprojecti(ptr noundef nonnull %7, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %8)
  %18 = load float, ptr %6, align 4, !tbaa !5
  %19 = load float, ptr %8, align 4, !tbaa !5
  %20 = fsub float %18, %19
  %21 = call float @llvm.fabs.f32(float %20)
  %22 = fpext float %21 to double
  %23 = fcmp olt double %22, 1.000000e-02
  br i1 %23, label %27, label %24

24:                                               ; preds = %0
  %25 = load ptr, ptr @stderr, align 8, !tbaa !9
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str, ptr noundef nonnull @.str.874, i32 noundef 30, ptr noundef nonnull @.str.875) #7
  br label %51

27:                                               ; preds = %0
  %28 = getelementptr inbounds i8, ptr %6, i64 4
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %8, i64 4
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = fsub float %29, %31
  %33 = call float @llvm.fabs.f32(float %32)
  %34 = fpext float %33 to double
  %35 = fcmp olt double %34, 1.000000e-02
  br i1 %35, label %39, label %36

36:                                               ; preds = %27
  %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.874, i32 noundef 31, ptr noundef nonnull @.str.876) #7
  br label %51

39:                                               ; preds = %27
  %40 = getelementptr inbounds i8, ptr %6, i64 8
  %41 = load float, ptr %40, align 4, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %8, i64 8
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = fsub float %41, %43
  %45 = call float @llvm.fabs.f32(float %44)
  %46 = fpext float %45 to double
  %47 = fcmp olt double %46, 1.000000e-02
  br i1 %47, label %51, label %48

48:                                               ; preds = %39
  %49 = load ptr, ptr @stderr, align 8, !tbaa !9
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str, ptr noundef nonnull @.str.874, i32 noundef 32, ptr noundef nonnull @.str.877) #7
  br label %51

51:                                               ; preds = %39, %48, %36, %24
  %.sroa.5.0 = phi i32 [ 0, %48 ], [ 0, %36 ], [ 0, %24 ], [ 1, %39 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #6
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.5.0, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_perspective_default(float noundef, ptr noundef) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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 = { nounwind }
attributes #7 = { 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: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass