; 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.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
@.str.154 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_vec4_scale_as.v1 = external hidden unnamed_addr constant [4 x float], align 16
@.str.319 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.320 = external hidden unnamed_addr constant [29 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: 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

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec4_scale_as() #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 float, align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_glm_vec4_scale_as.v1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 7.000000e+00, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %7 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %8 = load float, ptr %4, align 4, !tbaa !5
  %9 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  call void @glm_vec4_scale_as(ptr noundef %7, float noundef %8, ptr noundef %9)
  %10 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %11 = load float, ptr %10, align 16, !tbaa !5
  %12 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %13 = load float, ptr %12, align 16, !tbaa !5
  %14 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 1
  %15 = load float, ptr %14, align 4, !tbaa !5
  %16 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 1
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = fmul float %15, %17
  %19 = call float @llvm.fmuladd.f32(float %11, float %13, float %18)
  %20 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 2
  %21 = load float, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 2
  %23 = load float, ptr %22, align 8, !tbaa !5
  %24 = call float @llvm.fmuladd.f32(float %21, float %23, float %19)
  %25 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 3
  %26 = load float, ptr %25, align 4, !tbaa !5
  %27 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 3
  %28 = load float, ptr %27, align 4, !tbaa !5
  %29 = call float @llvm.fmuladd.f32(float %26, float %28, float %24)
  %30 = call float @sqrtf(float noundef %29) #6
  store float %30, ptr %5, align 4, !tbaa !5
  %31 = load float, ptr %5, align 4, !tbaa !5
  %32 = fcmp olt float %31, 0x3E80000000000000
  br i1 %32, label %33, label %84

33:                                               ; preds = %0
  br label %34

34:                                               ; preds = %33
  %35 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %36 = load float, ptr %35, align 16, !tbaa !5
  %37 = call zeroext i1 @test_eq(float noundef %36, float noundef 0.000000e+00)
  br i1 %37, label %43, label %38

38:                                               ; preds = %34
  %39 = load ptr, ptr @stderr, align 8, !tbaa !9
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 414, ptr noundef @.str.27) #6
  %41 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %41, align 8, !tbaa !11
  %42 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %42, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

43:                                               ; preds = %34
  br label %44

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  %47 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 1
  %48 = load float, ptr %47, align 4, !tbaa !5
  %49 = call zeroext i1 @test_eq(float noundef %48, float noundef 0.000000e+00)
  br i1 %49, label %55, label %50

50:                                               ; preds = %46
  %51 = load ptr, ptr @stderr, align 8, !tbaa !9
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 415, ptr noundef @.str.28) #6
  %53 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %53, align 8, !tbaa !11
  %54 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %54, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

55:                                               ; preds = %46
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  %59 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 2
  %60 = load float, ptr %59, align 8, !tbaa !5
  %61 = call zeroext i1 @test_eq(float noundef %60, float noundef 0.000000e+00)
  br i1 %61, label %67, label %62

62:                                               ; preds = %58
  %63 = load ptr, ptr @stderr, align 8, !tbaa !9
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 416, ptr noundef @.str.154) #6
  %65 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %65, align 8, !tbaa !11
  %66 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %66, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

67:                                               ; preds = %58
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  br label %70

70:                                               ; preds = %69
  %71 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 3
  %72 = load float, ptr %71, align 4, !tbaa !5
  %73 = call zeroext i1 @test_eq(float noundef %72, float noundef 0.000000e+00)
  br i1 %73, label %79, label %74

74:                                               ; preds = %70
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 417, ptr noundef @.str.319) #6
  %77 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %77, align 8, !tbaa !11
  %78 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %78, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

79:                                               ; preds = %70
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  %82 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %82, align 8, !tbaa !11
  %83 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %83, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

84:                                               ; preds = %0
  %85 = load float, ptr %4, align 4, !tbaa !5
  %86 = load float, ptr %5, align 4, !tbaa !5
  %87 = fdiv float %85, %86
  store float %87, ptr %5, align 4, !tbaa !5
  br label %88

88:                                               ; preds = %84
  %89 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 0
  %90 = load float, ptr %89, align 16, !tbaa !5
  %91 = load float, ptr %5, align 4, !tbaa !5
  %92 = fmul float %90, %91
  %93 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %94 = load float, ptr %93, align 16, !tbaa !5
  %95 = call zeroext i1 @test_eq(float noundef %92, float noundef %94)
  br i1 %95, label %101, label %96

96:                                               ; preds = %88
  %97 = load ptr, ptr @stderr, align 8, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 424, ptr noundef @.str.29) #6
  %99 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %99, align 8, !tbaa !11
  %100 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %100, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

101:                                              ; preds = %88
  br label %102

102:                                              ; preds = %101
  br label %103

103:                                              ; preds = %102
  br label %104

104:                                              ; preds = %103
  %105 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 1
  %106 = load float, ptr %105, align 4, !tbaa !5
  %107 = load float, ptr %5, align 4, !tbaa !5
  %108 = fmul float %106, %107
  %109 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
  %110 = load float, ptr %109, align 4, !tbaa !5
  %111 = call zeroext i1 @test_eq(float noundef %108, float noundef %110)
  br i1 %111, label %117, label %112

112:                                              ; preds = %104
  %113 = load ptr, ptr @stderr, align 8, !tbaa !9
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 425, ptr noundef @.str.30) #6
  %115 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %115, align 8, !tbaa !11
  %116 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %116, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

117:                                              ; preds = %104
  br label %118

118:                                              ; preds = %117
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  %121 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 2
  %122 = load float, ptr %121, align 8, !tbaa !5
  %123 = load float, ptr %5, align 4, !tbaa !5
  %124 = fmul float %122, %123
  %125 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
  %126 = load float, ptr %125, align 8, !tbaa !5
  %127 = call zeroext i1 @test_eq(float noundef %124, float noundef %126)
  br i1 %127, label %133, label %128

128:                                              ; preds = %120
  %129 = load ptr, ptr @stderr, align 8, !tbaa !9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 426, ptr noundef @.str.155) #6
  %131 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %131, align 8, !tbaa !11
  %132 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %132, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

133:                                              ; preds = %120
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135
  %137 = getelementptr inbounds [4 x float], ptr %2, i64 0, i64 3
  %138 = load float, ptr %137, align 4, !tbaa !5
  %139 = load float, ptr %5, align 4, !tbaa !5
  %140 = fmul float %138, %139
  %141 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 3
  %142 = load float, ptr %141, align 4, !tbaa !5
  %143 = call zeroext i1 @test_eq(float noundef %140, float noundef %142)
  br i1 %143, label %149, label %144

144:                                              ; preds = %136
  %145 = load ptr, ptr @stderr, align 8, !tbaa !9
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str, ptr noundef @.str.296, i32 noundef 427, ptr noundef @.str.320) #6
  %147 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %147, align 8, !tbaa !11
  %148 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %148, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

149:                                              ; preds = %136
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  %152 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %152, align 8, !tbaa !11
  %153 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %153, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %154

154:                                              ; preds = %151, %144, %128, %112, %96, %81, %74, %62, %50, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, 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
  %155 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %155
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec4_scale_as(ptr noundef, float 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 = { 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 = { 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.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
@.str.154 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_vec4_scale_as.v1 = external hidden unnamed_addr constant [4 x float], align 16
@.str.319 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.320 = external hidden unnamed_addr constant [29 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: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) local_unnamed_addr #2

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

; 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.fmuladd.f32(float, float, float) #4

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec4_scale_as() local_unnamed_addr #5 {
  %1 = alloca [4 x float], align 16
  %2 = alloca [4 x float], align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %1, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_vec4_scale_as.v1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  call void @glm_vec4_scale_as(ptr noundef nonnull %1, float noundef 7.000000e+00, ptr noundef nonnull %2)
  %3 = load float, ptr %1, align 16, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %1, i64 4
  %5 = load float, ptr %4, align 4, !tbaa !5
  %6 = fmul float %5, %5
  %7 = call float @llvm.fmuladd.f32(float %3, float %3, float %6)
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load float, ptr %8, align 8, !tbaa !5
  %10 = call float @llvm.fmuladd.f32(float %9, float %9, float %7)
  %11 = getelementptr inbounds i8, ptr %1, i64 12
  %12 = load float, ptr %11, align 4, !tbaa !5
  %13 = call float @llvm.fmuladd.f32(float %12, float %12, float %10)
  %sqrt = call float @llvm.sqrt.f32(float %13)
  %14 = fcmp olt float %sqrt, 0x3E80000000000000
  br i1 %14, label %15, label %38

15:                                               ; preds = %0
  %16 = call zeroext i1 @test_eq(float noundef %3, float noundef 0.000000e+00)
  br i1 %16, label %20, label %17

17:                                               ; preds = %15
  %18 = load ptr, ptr @stderr, align 8, !tbaa !9
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 414, ptr noundef nonnull @.str.27) #8
  br label %73

20:                                               ; preds = %15
  %21 = load float, ptr %4, align 4, !tbaa !5
  %22 = call zeroext i1 @test_eq(float noundef %21, float noundef 0.000000e+00)
  br i1 %22, label %26, label %23

23:                                               ; preds = %20
  %24 = load ptr, ptr @stderr, align 8, !tbaa !9
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 415, ptr noundef nonnull @.str.28) #8
  br label %73

26:                                               ; preds = %20
  %27 = load float, ptr %8, align 8, !tbaa !5
  %28 = call zeroext i1 @test_eq(float noundef %27, float noundef 0.000000e+00)
  br i1 %28, label %32, label %29

29:                                               ; preds = %26
  %30 = load ptr, ptr @stderr, align 8, !tbaa !9
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 416, ptr noundef nonnull @.str.154) #8
  br label %73

32:                                               ; preds = %26
  %33 = load float, ptr %11, align 4, !tbaa !5
  %34 = call zeroext i1 @test_eq(float noundef %33, float noundef 0.000000e+00)
  br i1 %34, label %73, label %35

35:                                               ; preds = %32
  %36 = load ptr, ptr @stderr, align 8, !tbaa !9
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 417, ptr noundef nonnull @.str.319) #8
  br label %73

38:                                               ; preds = %0
  %39 = fdiv float 7.000000e+00, %sqrt
  %40 = fmul float %39, %3
  %41 = load float, ptr %2, align 16, !tbaa !5
  %42 = call zeroext i1 @test_eq(float noundef %40, float noundef %41)
  br i1 %42, label %46, label %43

43:                                               ; preds = %38
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 424, ptr noundef nonnull @.str.29) #8
  br label %73

46:                                               ; preds = %38
  %47 = load float, ptr %4, align 4, !tbaa !5
  %48 = fmul float %39, %47
  %49 = getelementptr inbounds i8, ptr %2, i64 4
  %50 = load float, ptr %49, align 4, !tbaa !5
  %51 = call zeroext i1 @test_eq(float noundef %48, float noundef %50)
  br i1 %51, label %55, label %52

52:                                               ; preds = %46
  %53 = load ptr, ptr @stderr, align 8, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 425, ptr noundef nonnull @.str.30) #8
  br label %73

55:                                               ; preds = %46
  %56 = load float, ptr %8, align 8, !tbaa !5
  %57 = fmul float %39, %56
  %58 = getelementptr inbounds i8, ptr %2, i64 8
  %59 = load float, ptr %58, align 8, !tbaa !5
  %60 = call zeroext i1 @test_eq(float noundef %57, float noundef %59)
  br i1 %60, label %64, label %61

61:                                               ; preds = %55
  %62 = load ptr, ptr @stderr, align 8, !tbaa !9
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 426, ptr noundef nonnull @.str.155) #8
  br label %73

64:                                               ; preds = %55
  %65 = load float, ptr %11, align 4, !tbaa !5
  %66 = fmul float %39, %65
  %67 = getelementptr inbounds i8, ptr %2, i64 12
  %68 = load float, ptr %67, align 4, !tbaa !5
  %69 = call zeroext i1 @test_eq(float noundef %66, float noundef %68)
  br i1 %69, label %73, label %70

70:                                               ; preds = %64
  %71 = load ptr, ptr @stderr, align 8, !tbaa !9
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef nonnull @.str, ptr noundef nonnull @.str.296, i32 noundef 427, ptr noundef nonnull @.str.320) #8
  br label %73

73:                                               ; preds = %64, %32, %70, %61, %52, %43, %35, %29, %23, %17
  %.sroa.11.0 = phi i32 [ 0, %35 ], [ 0, %29 ], [ 0, %23 ], [ 0, %17 ], [ 0, %70 ], [ 0, %61 ], [ 0, %52 ], [ 0, %43 ], [ 1, %32 ], [ 1, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #7
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.11.0, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

; 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 = { mustprogress 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 = { 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 #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,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass