; 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.296 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_vec4_reflect.I1 = external hidden unnamed_addr constant [4 x float], align 16
@__const.test_glm_vec4_reflect.N1 = external hidden unnamed_addr constant [4 x float], align 16
@.str.437 = external hidden unnamed_addr constant [141 x i8], align 1
@__const.test_glm_vec4_reflect.I2 = external hidden unnamed_addr constant [4 x float], align 16
@__const.test_glm_vec4_reflect.N2 = external hidden unnamed_addr constant [4 x float], align 16
@.str.438 = external hidden unnamed_addr constant [127 x i8], align 1
@__const.test_glm_vec4_reflect.N3 = external hidden unnamed_addr constant [4 x float], align 16
@.str.439 = external hidden unnamed_addr constant [146 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: nounwind
declare float @sqrtf(float noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec4_reflect() #4 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x float], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca i32, align 4
  %6 = alloca [4 x float], align 16
  %7 = alloca [4 x float], align 16
  %8 = alloca [4 x float], align 16
  %9 = alloca [4 x float], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_glm_vec4_reflect.I1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test_glm_vec4_reflect.N1, i64 16, i1 false)
  %10 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %11 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %12 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  call void @glm_vec4_reflect(ptr noundef %10, ptr noundef %11, ptr noundef %12)
  br label %13

13:                                               ; preds = %0
  %14 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %15 = load float, ptr %14, align 16, !tbaa !5
  %16 = fsub float %15, 1.000000e+00
  %17 = call float @llvm.fabs.f32(float %16)
  %18 = fcmp olt float %17, 0x3EE4F8B580000000
  br i1 %18, label %19, label %37

19:                                               ; preds = %13
  %20 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 1
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = fsub float %21, 1.000000e+00
  %23 = call float @llvm.fabs.f32(float %22)
  %24 = fcmp olt float %23, 0x3EE4F8B580000000
  br i1 %24, label %25, label %37

25:                                               ; preds = %19
  %26 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 2
  %27 = load float, ptr %26, align 8, !tbaa !5
  %28 = fsub float %27, 0.000000e+00
  %29 = call float @llvm.fabs.f32(float %28)
  %30 = fcmp olt float %29, 0x3EE4F8B580000000
  br i1 %30, label %31, label %37

31:                                               ; preds = %25
  %32 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 3
  %33 = load float, ptr %32, align 4, !tbaa !5
  %34 = fsub float %33, 0.000000e+00
  %35 = call float @llvm.fabs.f32(float %34)
  %36 = fcmp olt float %35, 0x3EE4F8B580000000
  br i1 %36, label %42, label %37

37:                                               ; preds = %31, %25, %19, %13
  %38 = load ptr, ptr @stderr, align 8, !tbaa !9
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 1639, ptr noundef @.str.437) #6
  %40 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %40, align 8, !tbaa !11
  %41 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %41, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %128

42:                                               ; preds = %31
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  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_vec4_reflect.I2, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.test_glm_vec4_reflect.N2, i64 16, i1 false)
  %45 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0
  %46 = getelementptr inbounds [4 x float], ptr %7, i64 0, i64 0
  %47 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  call void @glm_vec4_reflect(ptr noundef %45, ptr noundef %46, ptr noundef %47)
  br label %48

48:                                               ; preds = %44
  %49 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %50 = load float, ptr %49, align 16, !tbaa !5
  %51 = fadd float %50, 1.000000e+00
  %52 = call float @llvm.fabs.f32(float %51)
  %53 = fcmp olt float %52, 0x3EE4F8B580000000
  br i1 %53, label %54, label %70

54:                                               ; preds = %48
  %55 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 1
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = call float @llvm.fabs.f32(float %56)
  %58 = fcmp olt float %57, 0x3EE4F8B580000000
  br i1 %58, label %59, label %70

59:                                               ; preds = %54
  %60 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 2
  %61 = load float, ptr %60, align 8, !tbaa !5
  %62 = call float @llvm.fabs.f32(float %61)
  %63 = fcmp olt float %62, 0x3EE4F8B580000000
  br i1 %63, label %64, label %70

64:                                               ; preds = %59
  %65 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 3
  %66 = load float, ptr %65, align 4, !tbaa !5
  %67 = fsub float %66, 0.000000e+00
  %68 = call float @llvm.fabs.f32(float %67)
  %69 = fcmp olt float %68, 0x3EE4F8B580000000
  br i1 %69, label %75, label %70

70:                                               ; preds = %64, %59, %54, %48
  %71 = load ptr, ptr @stderr, align 8, !tbaa !9
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 1648, ptr noundef @.str.438) #6
  %73 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %73, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %74, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %127

75:                                               ; preds = %64
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %78 = call float @sqrtf(float noundef 2.000000e+00) #6
  %79 = fdiv float %78, 2.000000e+00
  store float %79, ptr %8, align 4, !tbaa !5
  %80 = getelementptr inbounds float, ptr %8, i64 1
  %81 = call float @sqrtf(float noundef 2.000000e+00) #6
  %82 = fneg float %81
  %83 = fdiv float %82, 2.000000e+00
  store float %83, ptr %80, align 4, !tbaa !5
  %84 = getelementptr inbounds float, ptr %8, i64 2
  store float 0.000000e+00, ptr %84, align 4, !tbaa !5
  %85 = getelementptr inbounds float, ptr %8, i64 3
  store float 0.000000e+00, ptr %85, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.test_glm_vec4_reflect.N3, i64 16, i1 false)
  %86 = getelementptr inbounds [4 x float], ptr %8, i64 0, i64 0
  %87 = getelementptr inbounds [4 x float], ptr %9, i64 0, i64 0
  %88 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  call void @glm_vec4_reflect(ptr noundef %86, ptr noundef %87, ptr noundef %88)
  br label %89

89:                                               ; preds = %77
  %90 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %91 = load float, ptr %90, align 16, !tbaa !5
  %92 = call float @sqrtf(float noundef 2.000000e+00) #6
  %93 = fdiv float %92, 2.000000e+00
  %94 = fsub float %91, %93
  %95 = call float @llvm.fabs.f32(float %94)
  %96 = fcmp olt float %95, 0x3EE4F8B580000000
  br i1 %96, label %97, label %116

97:                                               ; preds = %89
  %98 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 1
  %99 = load float, ptr %98, align 4, !tbaa !5
  %100 = call float @sqrtf(float noundef 2.000000e+00) #6
  %101 = fdiv float %100, 2.000000e+00
  %102 = fsub float %99, %101
  %103 = call float @llvm.fabs.f32(float %102)
  %104 = fcmp olt float %103, 0x3EE4F8B580000000
  br i1 %104, label %105, label %116

105:                                              ; preds = %97
  %106 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 2
  %107 = load float, ptr %106, align 8, !tbaa !5
  %108 = call float @llvm.fabs.f32(float %107)
  %109 = fcmp olt float %108, 0x3EE4F8B580000000
  br i1 %109, label %110, label %116

110:                                              ; preds = %105
  %111 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 3
  %112 = load float, ptr %111, align 4, !tbaa !5
  %113 = fsub float %112, 0.000000e+00
  %114 = call float @llvm.fabs.f32(float %113)
  %115 = fcmp olt float %114, 0x3EE4F8B580000000
  br i1 %115, label %121, label %116

116:                                              ; preds = %110, %105, %97, %89
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 1657, ptr noundef @.str.439) #6
  %119 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %119, align 8, !tbaa !11
  %120 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %120, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %126

121:                                              ; preds = %110
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  %124 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %124, align 8, !tbaa !11
  %125 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %125, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %126

126:                                              ; preds = %123, %116
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  br label %127

127:                                              ; preds = %126, %70
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  br label %128

128:                                              ; preds = %127, %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  %129 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %129
}

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

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 = { 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 = { 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 #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
@.str.296 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_vec4_reflect.I1 = external hidden unnamed_addr constant [4 x float], align 16
@__const.test_glm_vec4_reflect.N1 = external hidden unnamed_addr constant [4 x float], align 16
@.str.437 = external hidden unnamed_addr constant [141 x i8], align 1
@__const.test_glm_vec4_reflect.I2 = external hidden unnamed_addr constant [4 x float], align 16
@__const.test_glm_vec4_reflect.N2 = external hidden unnamed_addr constant [4 x float], align 16
@.str.438 = external hidden unnamed_addr constant [127 x i8], align 1
@__const.test_glm_vec4_reflect.N3 = external hidden unnamed_addr constant [4 x float], align 16
@.str.439 = external hidden unnamed_addr constant [146 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: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec4_reflect() local_unnamed_addr #4 {
  %1 = alloca [4 x float], align 16
  %2 = alloca [4 x float], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [4 x float], align 16
  %6 = alloca [4 x float], align 16
  %7 = alloca [4 x float], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_vec4_reflect.I1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_vec4_reflect.N1, i64 16, i1 false)
  call void @glm_vec4_reflect(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %1)
  %8 = load float, ptr %1, align 16, !tbaa !5
  %9 = fadd float %8, -1.000000e+00
  %10 = call float @llvm.fabs.f32(float %9)
  %11 = fcmp olt float %10, 0x3EE4F8B580000000
  br i1 %11, label %12, label %28

12:                                               ; preds = %0
  %13 = getelementptr inbounds i8, ptr %1, i64 4
  %14 = load float, ptr %13, align 4, !tbaa !5
  %15 = fadd float %14, -1.000000e+00
  %16 = call float @llvm.fabs.f32(float %15)
  %17 = fcmp olt float %16, 0x3EE4F8B580000000
  br i1 %17, label %18, label %28

18:                                               ; preds = %12
  %19 = getelementptr inbounds i8, ptr %1, i64 8
  %20 = load float, ptr %19, align 8, !tbaa !5
  %21 = call float @llvm.fabs.f32(float %20)
  %22 = fcmp olt float %21, 0x3EE4F8B580000000
  br i1 %22, label %23, label %28

23:                                               ; preds = %18
  %24 = getelementptr inbounds i8, ptr %1, i64 12
  %25 = load float, ptr %24, align 4, !tbaa !5
  %26 = call float @llvm.fabs.f32(float %25)
  %27 = fcmp olt float %26, 0x3EE4F8B580000000
  br i1 %27, label %31, label %28

28:                                               ; preds = %23, %18, %12, %0
  %29 = load ptr, ptr @stderr, align 8, !tbaa !9
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 1639, ptr noundef nonnull @.str.437) #7
  br label %74

31:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_vec4_reflect.I2, i64 16, i1 false)
  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_vec4_reflect.N2, i64 16, i1 false)
  call void @glm_vec4_reflect(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %1)
  %32 = load float, ptr %1, align 16, !tbaa !5
  %33 = fadd float %32, 1.000000e+00
  %34 = call float @llvm.fabs.f32(float %33)
  %35 = fcmp olt float %34, 0x3EE4F8B580000000
  br i1 %35, label %36, label %48

36:                                               ; preds = %31
  %37 = load float, ptr %13, align 4, !tbaa !5
  %38 = call float @llvm.fabs.f32(float %37)
  %39 = fcmp olt float %38, 0x3EE4F8B580000000
  br i1 %39, label %40, label %48

40:                                               ; preds = %36
  %41 = load float, ptr %19, align 8, !tbaa !5
  %42 = call float @llvm.fabs.f32(float %41)
  %43 = fcmp olt float %42, 0x3EE4F8B580000000
  br i1 %43, label %44, label %48

44:                                               ; preds = %40
  %45 = load float, ptr %24, align 4, !tbaa !5
  %46 = call float @llvm.fabs.f32(float %45)
  %47 = fcmp olt float %46, 0x3EE4F8B580000000
  br i1 %47, label %51, label %48

48:                                               ; preds = %44, %40, %36, %31
  %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.296, i32 noundef 1648, ptr noundef nonnull @.str.438) #7
  br label %73

51:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  store <4 x float> <float 0x3FE6A09E60000000, float 0xBFE6A09E60000000, float 0.000000e+00, float 0.000000e+00>, ptr %6, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %7, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_vec4_reflect.N3, i64 16, i1 false)
  call void @glm_vec4_reflect(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %1)
  %52 = load float, ptr %1, align 16, !tbaa !5
  %53 = fadd float %52, 0xBFE6A09E60000000
  %54 = call float @llvm.fabs.f32(float %53)
  %55 = fcmp olt float %54, 0x3EE4F8B580000000
  br i1 %55, label %56, label %69

56:                                               ; preds = %51
  %57 = load float, ptr %13, align 4, !tbaa !5
  %58 = fadd float %57, 0xBFE6A09E60000000
  %59 = call float @llvm.fabs.f32(float %58)
  %60 = fcmp olt float %59, 0x3EE4F8B580000000
  br i1 %60, label %61, label %69

61:                                               ; preds = %56
  %62 = load float, ptr %19, align 8, !tbaa !5
  %63 = call float @llvm.fabs.f32(float %62)
  %64 = fcmp olt float %63, 0x3EE4F8B580000000
  br i1 %64, label %65, label %69

65:                                               ; preds = %61
  %66 = load float, ptr %24, align 4, !tbaa !5
  %67 = call float @llvm.fabs.f32(float %66)
  %68 = fcmp olt float %67, 0x3EE4F8B580000000
  br i1 %68, label %72, label %69

69:                                               ; preds = %65, %61, %56, %51
  %70 = load ptr, ptr @stderr, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 1657, ptr noundef nonnull @.str.439) #7
  br label %72

72:                                               ; preds = %65, %69
  %.sroa.5.0 = phi i32 [ 0, %69 ], [ 1, %65 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %73

73:                                               ; preds = %72, %48
  %.sroa.5.1 = phi i32 [ %.sroa.5.0, %72 ], [ 0, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %74

74:                                               ; preds = %73, %28
  %.sroa.5.2 = phi i32 [ %.sroa.5.1, %73 ], [ 0, %28 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.5.2, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

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 = { 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 = { 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 #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