; 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.63 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.870 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.895 = external hidden unnamed_addr constant [66 x i8], align 1
@__const.test_glm_rotate_make.v1 = external hidden unnamed_addr constant [4 x float], align 16

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_rotate_make() #5 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [3 x float], align 4
  %5 = alloca i32, align 4
  %6 = alloca [3 x float], align 4
  %7 = alloca [3 x float], align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #6
  call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 64, i1 false)
  %8 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 0
  %9 = getelementptr inbounds [4 x float], ptr %8, i32 0, i32 0
  store float 1.000000e+00, ptr %9, align 16
  %10 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 1
  %11 = getelementptr inbounds [4 x float], ptr %10, i32 0, i32 1
  store float 1.000000e+00, ptr %11, align 4
  %12 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 2
  %13 = getelementptr inbounds [4 x float], ptr %12, i32 0, i32 2
  store float 1.000000e+00, ptr %13, align 8
  %14 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 3
  %15 = getelementptr inbounds [4 x float], ptr %14, i32 0, i32 3
  store float 1.000000e+00, ptr %15, align 4
  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_rotate_make.v1, i64 16, i1 false)
  %16 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 0.000000e+00, ptr %4, align 4, !tbaa !5
  %17 = getelementptr inbounds float, ptr %4, i64 1
  store float 1.000000e+00, ptr %17, align 4, !tbaa !5
  %18 = getelementptr inbounds float, ptr %4, i64 2
  store float 0.000000e+00, ptr %18, align 4, !tbaa !5
  %19 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
  call void @glm_rotate_make(ptr noundef %16, float noundef 0x3FF921FB60000000, ptr noundef %19)
  %20 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %21 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %22 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %20, ptr noundef %21, ptr noundef %22)
  br label %23

23:                                               ; preds = %0
  %24 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %25 = load float, ptr %24, align 16, !tbaa !5
  %26 = call zeroext i1 @test_eq(float noundef %25, float noundef 0.000000e+00)
  br i1 %26, label %32, label %27

27:                                               ; preds = %23
  %28 = load ptr, ptr @stderr, align 8, !tbaa !9
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 362, ptr noundef @.str.27) #6
  %30 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %30, align 8, !tbaa !11
  %31 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %31, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %147

32:                                               ; preds = %23
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  br label %35

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

39:                                               ; preds = %35
  %40 = load ptr, ptr @stderr, align 8, !tbaa !9
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 363, ptr noundef @.str.28) #6
  %42 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %42, align 8, !tbaa !11
  %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 %5, align 4
  br label %147

44:                                               ; preds = %35
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  br label %47

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

51:                                               ; preds = %47
  %52 = load ptr, ptr @stderr, align 8, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 364, ptr noundef @.str.177) #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 %5, align 4
  br label %147

56:                                               ; preds = %47
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  %59 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 1.000000e+00, ptr %6, align 4, !tbaa !5
  %60 = getelementptr inbounds float, ptr %6, i64 1
  store float 0.000000e+00, ptr %60, align 4, !tbaa !5
  %61 = getelementptr inbounds float, ptr %6, i64 2
  store float 0.000000e+00, ptr %61, align 4, !tbaa !5
  %62 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_rotate_make(ptr noundef %59, float noundef 0x3FF921FB60000000, ptr noundef %62)
  %63 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %64 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %65 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %63, ptr noundef %64, ptr noundef %65)
  br label %66

66:                                               ; preds = %58
  %67 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %68 = load float, ptr %67, align 16, !tbaa !5
  %69 = call zeroext i1 @test_eq(float noundef %68, float noundef 0.000000e+00)
  br i1 %69, label %75, label %70

70:                                               ; preds = %66
  %71 = load ptr, ptr @stderr, align 8, !tbaa !9
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 370, ptr noundef @.str.27) #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 %147

75:                                               ; preds = %66
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
  %80 = load float, ptr %79, align 4, !tbaa !5
  %81 = call zeroext i1 @test_eq(float noundef %80, float noundef 1.000000e+00)
  br i1 %81, label %87, label %82

82:                                               ; preds = %78
  %83 = load ptr, ptr @stderr, align 8, !tbaa !9
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 371, ptr noundef @.str.63) #6
  %85 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %85, align 8, !tbaa !11
  %86 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %86, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %147

87:                                               ; preds = %78
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89
  %91 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
  %92 = load float, ptr %91, align 8, !tbaa !5
  %93 = call zeroext i1 @test_eq(float noundef %92, float noundef 0.000000e+00)
  br i1 %93, label %99, label %94

94:                                               ; preds = %90
  %95 = load ptr, ptr @stderr, align 8, !tbaa !9
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 372, ptr noundef @.str.154) #6
  %97 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %97, align 8, !tbaa !11
  %98 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %98, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %147

99:                                               ; preds = %90
  br label %100

100:                                              ; preds = %99
  br label %101

101:                                              ; preds = %100
  %102 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 1.000000e+00, ptr %7, align 4, !tbaa !5
  %103 = getelementptr inbounds float, ptr %7, i64 1
  store float 0.000000e+00, ptr %103, align 4, !tbaa !5
  %104 = getelementptr inbounds float, ptr %7, i64 2
  store float 0.000000e+00, ptr %104, align 4, !tbaa !5
  %105 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  call void @glm_rotate_make(ptr noundef %102, float noundef 0x3FF921FB60000000, ptr noundef %105)
  %106 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %107 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %108 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %106, ptr noundef %107, ptr noundef %108)
  br label %109

109:                                              ; preds = %101
  %110 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %111 = load float, ptr %110, align 16, !tbaa !5
  %112 = call zeroext i1 @test_eq(float noundef %111, float noundef 0.000000e+00)
  br i1 %112, label %118, label %113

113:                                              ; preds = %109
  %114 = load ptr, ptr @stderr, align 8, !tbaa !9
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 378, ptr noundef @.str.27) #6
  %116 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %116, align 8, !tbaa !11
  %117 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %117, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %147

118:                                              ; preds = %109
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  br label %121

121:                                              ; preds = %120
  %122 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 1
  %123 = load float, ptr %122, align 4, !tbaa !5
  %124 = call zeroext i1 @test_eq(float noundef %123, float noundef 0.000000e+00)
  br i1 %124, label %130, label %125

125:                                              ; preds = %121
  %126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 379, ptr noundef @.str.28) #6
  %128 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %128, align 8, !tbaa !11
  %129 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %129, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %147

130:                                              ; preds = %121
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  %134 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 2
  %135 = load float, ptr %134, align 8, !tbaa !5
  %136 = call zeroext i1 @test_eq(float noundef %135, float noundef 1.000000e+00)
  br i1 %136, label %142, label %137

137:                                              ; preds = %133
  %138 = load ptr, ptr @stderr, align 8, !tbaa !9
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 380, ptr noundef @.str.870) #6
  %140 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %140, align 8, !tbaa !11
  %141 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %141, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %147

142:                                              ; preds = %133
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  %145 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %145, align 8, !tbaa !11
  %146 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %146, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %147

147:                                              ; preds = %144, %137, %125, %113, %94, %82, %70, %51, %39, %27
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #6
  %148 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %148
}

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 nounwind willreturn memory(argmem: write) }
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.63 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.870 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.895 = external hidden unnamed_addr constant [66 x i8], align 1
@__const.test_glm_rotate_make.v1 = external hidden unnamed_addr constant [4 x float], align 16

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_rotate_make() local_unnamed_addr #5 {
  %1 = alloca [4 x [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
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %1, i8 0, i64 64, i1 false)
  store float 1.000000e+00, ptr %1, align 16
  %6 = getelementptr inbounds i8, ptr %1, i64 20
  store float 1.000000e+00, ptr %6, align 4
  %7 = getelementptr inbounds i8, ptr %1, i64 40
  store float 1.000000e+00, ptr %7, align 8
  %8 = getelementptr inbounds i8, ptr %1, i64 60
  store float 1.000000e+00, ptr %8, align 4
  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_rotate_make.v1, i64 16, i1 false)
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %3, i64 8
  store float 0.000000e+00, ptr %9, align 8, !tbaa !5
  call void @glm_rotate_make(ptr noundef nonnull %1, float noundef 0x3FF921FB60000000, ptr noundef nonnull %3)
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %2)
  %10 = load float, ptr %2, align 16, !tbaa !5
  %11 = call zeroext i1 @test_eq(float noundef %10, float noundef 0.000000e+00)
  br i1 %11, label %15, label %12

12:                                               ; preds = %0
  %13 = load ptr, ptr @stderr, align 8, !tbaa !9
  %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 362, ptr noundef nonnull @.str.27) #7
  br label %67

15:                                               ; preds = %0
  %16 = getelementptr inbounds i8, ptr %2, i64 4
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = call zeroext i1 @test_eq(float noundef %17, float noundef 0.000000e+00)
  br i1 %18, label %22, label %19

19:                                               ; preds = %15
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 363, ptr noundef nonnull @.str.28) #7
  br label %67

22:                                               ; preds = %15
  %23 = getelementptr inbounds i8, ptr %2, i64 8
  %24 = load float, ptr %23, align 8, !tbaa !5
  %25 = call zeroext i1 @test_eq(float noundef %24, float noundef -1.000000e+00)
  br i1 %25, label %29, label %26

26:                                               ; preds = %22
  %27 = load ptr, ptr @stderr, align 8, !tbaa !9
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 364, ptr noundef nonnull @.str.177) #7
  br label %67

29:                                               ; preds = %22
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %4, i64 8
  store float 0.000000e+00, ptr %30, align 8, !tbaa !5
  call void @glm_rotate_make(ptr noundef nonnull %1, float noundef 0x3FF921FB60000000, ptr noundef nonnull %4)
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %2)
  %31 = load float, ptr %2, align 16, !tbaa !5
  %32 = call zeroext i1 @test_eq(float noundef %31, float noundef 0.000000e+00)
  br i1 %32, label %36, label %33

33:                                               ; preds = %29
  %34 = load ptr, ptr @stderr, align 8, !tbaa !9
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 370, ptr noundef nonnull @.str.27) #7
  br label %67

36:                                               ; preds = %29
  %37 = load float, ptr %16, align 4, !tbaa !5
  %38 = call zeroext i1 @test_eq(float noundef %37, float noundef 1.000000e+00)
  br i1 %38, label %42, label %39

39:                                               ; preds = %36
  %40 = load ptr, ptr @stderr, align 8, !tbaa !9
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 371, ptr noundef nonnull @.str.63) #7
  br label %67

42:                                               ; preds = %36
  %43 = load float, ptr %23, align 8, !tbaa !5
  %44 = call zeroext i1 @test_eq(float noundef %43, float noundef 0.000000e+00)
  br i1 %44, label %48, label %45

45:                                               ; preds = %42
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 372, ptr noundef nonnull @.str.154) #7
  br label %67

48:                                               ; preds = %42
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %5, i64 8
  store float 0.000000e+00, ptr %49, align 8, !tbaa !5
  call void @glm_rotate_make(ptr noundef nonnull %1, float noundef 0x3FF921FB60000000, ptr noundef nonnull %5)
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %2)
  %50 = load float, ptr %2, align 16, !tbaa !5
  %51 = call zeroext i1 @test_eq(float noundef %50, float noundef 0.000000e+00)
  br i1 %51, label %55, label %52

52:                                               ; preds = %48
  %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.895, i32 noundef 378, ptr noundef nonnull @.str.27) #7
  br label %67

55:                                               ; preds = %48
  %56 = load float, ptr %16, align 4, !tbaa !5
  %57 = call zeroext i1 @test_eq(float noundef %56, float noundef 0.000000e+00)
  br i1 %57, label %61, label %58

58:                                               ; preds = %55
  %59 = load ptr, ptr @stderr, align 8, !tbaa !9
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 379, ptr noundef nonnull @.str.28) #7
  br label %67

61:                                               ; preds = %55
  %62 = load float, ptr %23, align 8, !tbaa !5
  %63 = call zeroext i1 @test_eq(float noundef %62, float noundef 1.000000e+00)
  br i1 %63, label %67, label %64

64:                                               ; preds = %61
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 380, ptr noundef nonnull @.str.870) #7
  br label %67

67:                                               ; preds = %61, %64, %58, %52, %45, %39, %33, %26, %19, %12
  %.sroa.11.0 = phi i32 [ 0, %64 ], [ 0, %58 ], [ 0, %52 ], [ 0, %45 ], [ 0, %39 ], [ 0, %33 ], [ 0, %26 ], [ 0, %19 ], [ 0, %12 ], [ 1, %61 ]
  call void @llvm.lifetime.end.p0(i64 16, 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.11.0, 1
  ret { ptr, i32 } %.fca.1.insert
}

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 nounwind willreturn memory(argmem: write) }
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