; 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.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.787 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.869 = external hidden unnamed_addr constant [28 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: alwaysinline nounwind uwtable
declare hidden void @glm_quat(ptr noundef, float noundef, float noundef, float noundef, float noundef) #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_rad(float noundef) #3

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_quat_for() #5 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x float], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [3 x float], align 4
  %5 = alloca [3 x float], align 4
  %6 = alloca %struct.test_status_t, align 8
  %7 = alloca %struct.test_status_t, align 8
  %8 = alloca i32, align 4
  %9 = alloca [3 x float], align 4
  %10 = alloca [3 x float], align 4
  %11 = alloca %struct.test_status_t, align 8
  %12 = alloca %struct.test_status_t, align 8
  %13 = alloca [3 x float], align 4
  %14 = alloca [3 x float], align 4
  %15 = alloca %struct.test_status_t, align 8
  %16 = alloca %struct.test_status_t, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %17 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %18 = call float @glm_rad(float noundef 9.000000e+01)
  call void @glm_quat(ptr noundef %17, float noundef %18, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  store float -1.000000e+00, ptr %4, align 4, !tbaa !5
  %19 = getelementptr inbounds float, ptr %4, i64 1
  store float 0.000000e+00, ptr %19, align 4, !tbaa !5
  %20 = getelementptr inbounds float, ptr %4, i64 2
  store float 0.000000e+00, ptr %20, align 4, !tbaa !5
  %21 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
  store float 0.000000e+00, ptr %5, align 4, !tbaa !5
  %22 = getelementptr inbounds float, ptr %5, i64 1
  store float 1.000000e+00, ptr %22, align 4, !tbaa !5
  %23 = getelementptr inbounds float, ptr %5, i64 2
  store float 0.000000e+00, ptr %23, align 4, !tbaa !5
  %24 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  %25 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  call void @glm_quat_for(ptr noundef %21, ptr noundef %24, ptr noundef %25)
  br label %26

26:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  %27 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %28 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %29 = call { ptr, i32 } @test_assert_quat_eq(ptr noundef %27, ptr noundef %28)
  %30 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 0
  %31 = extractvalue { ptr, i32 } %29, 0
  store ptr %31, ptr %30, align 8
  %32 = getelementptr inbounds { ptr, i32 }, ptr %7, i32 0, i32 1
  %33 = extractvalue { ptr, i32 } %29, 1
  store i32 %33, ptr %32, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  %34 = getelementptr inbounds %struct.test_status_t, ptr %6, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !14
  %36 = icmp ne i32 %35, 1
  br i1 %36, label %37, label %44

37:                                               ; preds = %26
  %38 = load ptr, ptr @stderr, align 8, !tbaa !10
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 854, ptr noundef @.str.869) #6
  %40 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %41 = getelementptr inbounds %struct.test_status_t, ptr %6, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !16
  store ptr %42, ptr %40, align 8, !tbaa !16
  %43 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %43, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %45

44:                                               ; preds = %26
  store i32 0, ptr %8, align 4
  br label %45

45:                                               ; preds = %44, %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  %46 = load i32, ptr %8, align 4
  switch i32 %46, label %118 [
    i32 0, label %47
  ]

47:                                               ; preds = %45
  br label %48

48:                                               ; preds = %47
  br label %49

49:                                               ; preds = %48
  %50 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %51 = call float @glm_rad(float noundef 9.000000e+01)
  call void @glm_quat(ptr noundef %50, float noundef %51, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store float 0.000000e+00, ptr %9, align 4, !tbaa !5
  %52 = getelementptr inbounds float, ptr %9, i64 1
  store float 1.000000e+00, ptr %52, align 4, !tbaa !5
  %53 = getelementptr inbounds float, ptr %9, i64 2
  store float 0.000000e+00, ptr %53, align 4, !tbaa !5
  %54 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
  store float 0.000000e+00, ptr %10, align 4, !tbaa !5
  %55 = getelementptr inbounds float, ptr %10, i64 1
  store float 0.000000e+00, ptr %55, align 4, !tbaa !5
  %56 = getelementptr inbounds float, ptr %10, i64 2
  store float 1.000000e+00, ptr %56, align 4, !tbaa !5
  %57 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
  %58 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  call void @glm_quat_for(ptr noundef %54, ptr noundef %57, ptr noundef %58)
  br label %59

59:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %60 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %61 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %62 = call { ptr, i32 } @test_assert_quat_eq(ptr noundef %60, ptr noundef %61)
  %63 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 0
  %64 = extractvalue { ptr, i32 } %62, 0
  store ptr %64, ptr %63, align 8
  %65 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 1
  %66 = extractvalue { ptr, i32 } %62, 1
  store i32 %66, ptr %65, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  %67 = getelementptr inbounds %struct.test_status_t, ptr %11, i32 0, i32 1
  %68 = load i32, ptr %67, align 8, !tbaa !14
  %69 = icmp ne i32 %68, 1
  br i1 %69, label %70, label %77

70:                                               ; preds = %59
  %71 = load ptr, ptr @stderr, align 8, !tbaa !10
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 858, ptr noundef @.str.869) #6
  %73 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %74 = getelementptr inbounds %struct.test_status_t, ptr %11, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8, !tbaa !16
  store ptr %75, ptr %73, align 8, !tbaa !16
  %76 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %76, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %78

77:                                               ; preds = %59
  store i32 0, ptr %8, align 4
  br label %78

78:                                               ; preds = %77, %70
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  %79 = load i32, ptr %8, align 4
  switch i32 %79, label %118 [
    i32 0, label %80
  ]

80:                                               ; preds = %78
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  %83 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %84 = call float @glm_rad(float noundef 1.800000e+02)
  call void @glm_quat(ptr noundef %83, float noundef %84, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store float 0.000000e+00, ptr %13, align 4, !tbaa !5
  %85 = getelementptr inbounds float, ptr %13, i64 1
  store float 0.000000e+00, ptr %85, align 4, !tbaa !5
  %86 = getelementptr inbounds float, ptr %13, i64 2
  store float 1.000000e+00, ptr %86, align 4, !tbaa !5
  %87 = getelementptr inbounds [3 x float], ptr %13, i64 0, i64 0
  store float 0.000000e+00, ptr %14, align 4, !tbaa !5
  %88 = getelementptr inbounds float, ptr %14, i64 1
  store float -1.000000e+00, ptr %88, align 4, !tbaa !5
  %89 = getelementptr inbounds float, ptr %14, i64 2
  store float 0.000000e+00, ptr %89, align 4, !tbaa !5
  %90 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
  %91 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  call void @glm_quat_for(ptr noundef %87, ptr noundef %90, ptr noundef %91)
  br label %92

92:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %93 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %94 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %95 = call { ptr, i32 } @test_assert_quat_eq(ptr noundef %93, ptr noundef %94)
  %96 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 0
  %97 = extractvalue { ptr, i32 } %95, 0
  store ptr %97, ptr %96, align 8
  %98 = getelementptr inbounds { ptr, i32 }, ptr %16, 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 %15, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  %100 = getelementptr inbounds %struct.test_status_t, ptr %15, 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 = %92
  %104 = load ptr, ptr @stderr, align 8, !tbaa !10
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 862, ptr noundef @.str.869) #6
  %106 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %107 = getelementptr inbounds %struct.test_status_t, ptr %15, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !16
  store ptr %108, ptr %106, align 8, !tbaa !16
  %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 %8, align 4
  br label %111

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

111:                                              ; preds = %110, %103
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  %112 = load i32, ptr %8, 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 !16
  %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 %8, align 4
  br label %118

118:                                              ; preds = %115, %111, %78, %45
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  %119 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %119
}

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

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 = { 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 #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 = { 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 = !{i64 0, i64 8, !10, i64 8, i64 4, !12}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"test_status_t", !11, i64 0, !13, i64 8}
!16 = !{!15, !11, 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.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.787 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.869 = external hidden unnamed_addr constant [28 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_rad(float noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_quat_for() local_unnamed_addr #4 {
  %1 = alloca [4 x float], align 16
  %2 = alloca [4 x float], align 16
  %3 = alloca [3 x float], align 8
  %4 = alloca [3 x float], align 8
  %5 = alloca [3 x float], align 8
  %6 = alloca [3 x float], align 8
  %7 = alloca [3 x float], align 8
  %8 = alloca [3 x float], align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  %9 = tail call float @glm_rad(float noundef 9.000000e+01)
  call void @glm_quat(ptr noundef nonnull %1, float noundef %9, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  store <2 x float> <float -1.000000e+00, float 0.000000e+00>, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %3, i64 8
  store float 0.000000e+00, ptr %10, align 8, !tbaa !5
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %4, i64 8
  store float 0.000000e+00, ptr %11, align 8, !tbaa !5
  call void @glm_quat_for(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %2)
  %12 = call { ptr, i32 } @test_assert_quat_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #5
  %13 = extractvalue { ptr, i32 } %12, 1
  %.not = icmp eq i32 %13, 1
  br i1 %.not, label %.critedge, label %14

14:                                               ; preds = %0
  %15 = extractvalue { ptr, i32 } %12, 0
  %16 = load ptr, ptr @stderr, align 8, !tbaa !9
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 854, ptr noundef nonnull @.str.869) #6
  br label %38

.critedge:                                        ; preds = %0
  %18 = call float @glm_rad(float noundef 9.000000e+01)
  call void @glm_quat(ptr noundef nonnull %2, float noundef %18, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %5, i64 8
  store float 0.000000e+00, ptr %19, align 8, !tbaa !5
  store <2 x float> zeroinitializer, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %6, i64 8
  store float 1.000000e+00, ptr %20, align 8, !tbaa !5
  call void @glm_quat_for(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %1)
  %21 = call { ptr, i32 } @test_assert_quat_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #5
  %22 = extractvalue { ptr, i32 } %21, 1
  %.not21 = icmp eq i32 %22, 1
  br i1 %.not21, label %27, label %23

23:                                               ; preds = %.critedge
  %24 = extractvalue { ptr, i32 } %21, 0
  %25 = load ptr, ptr @stderr, align 8, !tbaa !9
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 858, ptr noundef nonnull @.str.869) #6
  br label %38

27:                                               ; preds = %.critedge
  %28 = call float @glm_rad(float noundef 1.800000e+02)
  call void @glm_quat(ptr noundef nonnull %2, float noundef %28, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  store <2 x float> zeroinitializer, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %7, i64 8
  store float 1.000000e+00, ptr %29, align 8, !tbaa !5
  store <2 x float> <float 0.000000e+00, float -1.000000e+00>, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %8, i64 8
  store float 0.000000e+00, ptr %30, align 8, !tbaa !5
  call void @glm_quat_for(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %1)
  %31 = call { ptr, i32 } @test_assert_quat_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #5
  %32 = extractvalue { ptr, i32 } %31, 1
  %.not22 = icmp eq i32 %32, 1
  br i1 %.not22, label %37, label %33

33:                                               ; preds = %27
  %34 = extractvalue { ptr, i32 } %31, 0
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 862, ptr noundef nonnull @.str.869) #6
  br label %37

37:                                               ; preds = %27, %33
  %spec.select = phi ptr [ %34, %33 ], [ null, %27 ]
  %spec.select23 = zext i1 %.not22 to i32
  br label %38

38:                                               ; preds = %23, %37, %14
  %.sroa.019.3 = phi ptr [ %24, %23 ], [ %15, %14 ], [ %spec.select, %37 ]
  %.sroa.520.3 = phi i32 [ 0, %23 ], [ 0, %14 ], [ %spec.select23, %37 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #5
  %.fca.0.insert = insertvalue { ptr, i32 } poison, ptr %.sroa.019.3, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.520.3, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

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