; 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.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.671 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.702 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.703 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.704 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.705 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.706 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.707 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.708 = external hidden unnamed_addr constant [33 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: nounwind
declare float @cosf(float noundef) #3

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_mat3_textrans() #5 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [3 x [3 x float]], align 16
  %3 = alloca [3 x [3 x float]], align 16
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.test_status_t, align 8
  %11 = alloca %struct.test_status_t, align 8
  call void @llvm.lifetime.start.p0(i64 36, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 2.000000e+00, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store float 3.000000e+00, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store float 0x3FE921FB60000000, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store float 1.000000e+01, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 2.000000e+01, ptr %8, align 4, !tbaa !5
  %12 = load float, ptr %4, align 4, !tbaa !5
  %13 = load float, ptr %5, align 4, !tbaa !5
  %14 = load float, ptr %6, align 4, !tbaa !5
  %15 = load float, ptr %7, align 4, !tbaa !5
  %16 = load float, ptr %8, align 4, !tbaa !5
  %17 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 0
  call void @glm_mat3_textrans(float noundef %12, float noundef %13, float noundef %14, float noundef %15, float noundef %16, ptr noundef %17)
  br label %18

18:                                               ; preds = %0
  %19 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 0
  %20 = getelementptr inbounds [3 x float], ptr %19, i64 0, i64 0
  %21 = load float, ptr %20, align 16, !tbaa !5
  %22 = load float, ptr %6, align 4, !tbaa !5
  %23 = call float @cosf(float noundef %22) #6
  %24 = load float, ptr %4, align 4, !tbaa !5
  %25 = fmul float %23, %24
  %26 = call zeroext i1 @test_eq(float noundef %21, float noundef %25)
  br i1 %26, label %32, label %27

27:                                               ; preds = %18
  %28 = load ptr, ptr @stderr, align 8, !tbaa !9
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str, ptr noundef @.str.671, i32 noundef 337, ptr noundef @.str.702) #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 %9, align 4
  br label %143

32:                                               ; preds = %18
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  br label %35

35:                                               ; preds = %34
  %36 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 0
  %37 = getelementptr inbounds [3 x float], ptr %36, i64 0, i64 1
  %38 = load float, ptr %37, align 4, !tbaa !5
  %39 = load float, ptr %6, align 4, !tbaa !5
  %40 = call float @sinf(float noundef %39) #6
  %41 = fneg float %40
  %42 = load float, ptr %5, align 4, !tbaa !5
  %43 = fmul float %41, %42
  %44 = call zeroext i1 @test_eq(float noundef %38, float noundef %43)
  br i1 %44, label %50, label %45

45:                                               ; preds = %35
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str, ptr noundef @.str.671, i32 noundef 338, ptr noundef @.str.703) #6
  %48 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %48, align 8, !tbaa !11
  %49 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %49, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %143

50:                                               ; preds = %35
  br label %51

51:                                               ; preds = %50
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  %54 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 1
  %55 = getelementptr inbounds [3 x float], ptr %54, i64 0, i64 0
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = load float, ptr %6, align 4, !tbaa !5
  %58 = call float @sinf(float noundef %57) #6
  %59 = load float, ptr %4, align 4, !tbaa !5
  %60 = fmul float %58, %59
  %61 = call zeroext i1 @test_eq(float noundef %56, float noundef %60)
  br i1 %61, label %67, label %62

62:                                               ; preds = %53
  %63 = load ptr, ptr @stderr, align 8, !tbaa !9
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str, ptr noundef @.str.671, i32 noundef 339, ptr noundef @.str.704) #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 %9, align 4
  br label %143

67:                                               ; preds = %53
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  br label %70

70:                                               ; preds = %69
  %71 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 1
  %72 = getelementptr inbounds [3 x float], ptr %71, i64 0, i64 1
  %73 = load float, ptr %72, align 4, !tbaa !5
  %74 = load float, ptr %6, align 4, !tbaa !5
  %75 = call float @cosf(float noundef %74) #6
  %76 = load float, ptr %5, align 4, !tbaa !5
  %77 = fmul float %75, %76
  %78 = call zeroext i1 @test_eq(float noundef %73, float noundef %77)
  br i1 %78, label %84, label %79

79:                                               ; preds = %70
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str, ptr noundef @.str.671, i32 noundef 340, ptr noundef @.str.705) #6
  %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 0, ptr %83, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %143

84:                                               ; preds = %70
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  %88 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 2
  %89 = getelementptr inbounds [3 x float], ptr %88, i64 0, i64 0
  %90 = load float, ptr %89, align 8, !tbaa !5
  %91 = load float, ptr %7, align 4, !tbaa !5
  %92 = call zeroext i1 @test_eq(float noundef %90, float noundef %91)
  br i1 %92, label %98, label %93

93:                                               ; preds = %87
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str, ptr noundef @.str.671, i32 noundef 341, ptr noundef @.str.706) #6
  %96 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %96, align 8, !tbaa !11
  %97 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %97, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %143

98:                                               ; preds = %87
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99
  br label %101

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

107:                                              ; preds = %101
  %108 = load ptr, ptr @stderr, align 8, !tbaa !9
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str, ptr noundef @.str.671, i32 noundef 342, ptr noundef @.str.707) #6
  %110 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %110, align 8, !tbaa !11
  %111 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %111, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %143

112:                                              ; preds = %101
  br label %113

113:                                              ; preds = %112
  br label %114

114:                                              ; preds = %113
  %115 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 0
  call void @glm_mat3_textrans(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, ptr noundef %115)
  %116 = getelementptr inbounds [3 x [3 x float]], ptr %3, i64 0, i64 0
  call void @glm_mat3_identity(ptr noundef %116)
  br label %117

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %118 = getelementptr inbounds [3 x [3 x float]], ptr %2, i64 0, i64 0
  %119 = getelementptr inbounds [3 x [3 x float]], ptr %3, i64 0, i64 0
  %120 = call { ptr, i32 } @test_assert_mat3_eq(ptr noundef %118, ptr noundef %119)
  %121 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 0
  %122 = extractvalue { ptr, i32 } %120, 0
  store ptr %122, ptr %121, align 8
  %123 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 1
  %124 = extractvalue { ptr, i32 } %120, 1
  store i32 %124, ptr %123, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  %125 = getelementptr inbounds %struct.test_status_t, ptr %10, i32 0, i32 1
  %126 = load i32, ptr %125, align 8, !tbaa !14
  %127 = icmp ne i32 %126, 1
  br i1 %127, label %128, label %135

128:                                              ; preds = %117
  %129 = load ptr, ptr @stderr, align 8, !tbaa !9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.13, ptr noundef @.str.671, i32 noundef 347, ptr noundef @.str.708) #6
  %131 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %132 = getelementptr inbounds %struct.test_status_t, ptr %10, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8, !tbaa !11
  store ptr %133, ptr %131, align 8, !tbaa !11
  %134 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %134, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %136

135:                                              ; preds = %117
  store i32 0, ptr %9, align 4
  br label %136

136:                                              ; preds = %135, %128
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  %137 = load i32, ptr %9, align 4
  switch i32 %137, label %143 [
    i32 0, label %138
  ]

138:                                              ; preds = %136
  br label %139

139:                                              ; preds = %138
  br label %140

140:                                              ; preds = %139
  %141 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %141, align 8, !tbaa !11
  %142 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %142, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %143

143:                                              ; preds = %140, %136, %107, %93, %79, %62, %45, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  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 36, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %2) #6
  %144 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %144
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat3_textrans(float noundef, float noundef, float noundef, float 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"test_status_t", !10, i64 0, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{i64 0, i64 8, !9, i64 8, i64 4, !16}
!16 = !{!13, !13, 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 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.671 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.702 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.703 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.704 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.705 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.706 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.707 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.708 = external hidden unnamed_addr constant [33 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: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) local_unnamed_addr #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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat3_identity(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_mat3_textrans() local_unnamed_addr #4 {
  %1 = alloca [3 x [3 x float]], align 16
  %2 = alloca [3 x [3 x float]], align 16
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %2) #5
  call void @glm_mat3_textrans(float noundef 2.000000e+00, float noundef 3.000000e+00, float noundef 0x3FE921FB60000000, float noundef 1.000000e+01, float noundef 2.000000e+01, ptr noundef nonnull %1)
  %3 = load float, ptr %1, align 16, !tbaa !5
  %4 = call zeroext i1 @test_eq(float noundef %3, float noundef 0x3FF6A09E60000000)
  br i1 %4, label %8, label %5

5:                                                ; preds = %0
  %6 = load ptr, ptr @stderr, align 8, !tbaa !9
  %7 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef nonnull @.str.671, i32 noundef 337, ptr noundef nonnull @.str.702) #6
  br label %51

8:                                                ; preds = %0
  %9 = getelementptr inbounds i8, ptr %1, i64 4
  %10 = load float, ptr %9, align 4, !tbaa !5
  %11 = call zeroext i1 @test_eq(float noundef %10, float noundef 0xC000F876C0000000)
  br i1 %11, label %15, label %12

12:                                               ; preds = %8
  %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.671, i32 noundef 338, ptr noundef nonnull @.str.703) #6
  br label %51

15:                                               ; preds = %8
  %16 = getelementptr inbounds i8, ptr %1, i64 12
  %17 = load float, ptr %16, align 4, !tbaa !5
  %18 = call zeroext i1 @test_eq(float noundef %17, float noundef 0x3FF6A09E60000000)
  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.671, i32 noundef 339, ptr noundef nonnull @.str.704) #6
  br label %51

22:                                               ; preds = %15
  %23 = getelementptr inbounds i8, ptr %1, i64 16
  %24 = load float, ptr %23, align 16, !tbaa !5
  %25 = call zeroext i1 @test_eq(float noundef %24, float noundef 0x4000F876C0000000)
  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.671, i32 noundef 340, ptr noundef nonnull @.str.705) #6
  br label %51

29:                                               ; preds = %22
  %30 = getelementptr inbounds i8, ptr %1, i64 24
  %31 = load float, ptr %30, align 8, !tbaa !5
  %32 = call zeroext i1 @test_eq(float noundef %31, float noundef 1.000000e+01)
  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.671, i32 noundef 341, ptr noundef nonnull @.str.706) #6
  br label %51

36:                                               ; preds = %29
  %37 = getelementptr inbounds i8, ptr %1, i64 28
  %38 = load float, ptr %37, align 4, !tbaa !5
  %39 = call zeroext i1 @test_eq(float noundef %38, float noundef 2.000000e+01)
  br i1 %39, label %43, label %40

40:                                               ; preds = %36
  %41 = load ptr, ptr @stderr, align 8, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str, ptr noundef nonnull @.str.671, i32 noundef 342, ptr noundef nonnull @.str.707) #6
  br label %51

43:                                               ; preds = %36
  call void @glm_mat3_textrans(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, ptr noundef nonnull %1)
  call void @glm_mat3_identity(ptr noundef nonnull %2)
  %44 = call { ptr, i32 } @test_assert_mat3_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #5
  %45 = extractvalue { ptr, i32 } %44, 1
  %.not = icmp eq i32 %45, 1
  br i1 %.not, label %50, label %46

46:                                               ; preds = %43
  %47 = extractvalue { ptr, i32 } %44, 0
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.671, i32 noundef 347, ptr noundef nonnull @.str.708) #6
  br label %50

50:                                               ; preds = %43, %46
  %spec.select = phi ptr [ null, %43 ], [ %47, %46 ]
  %spec.select18 = zext i1 %.not to i32
  br label %51

51:                                               ; preds = %50, %40, %33, %26, %19, %12, %5
  %.sroa.017.1 = phi ptr [ null, %40 ], [ null, %33 ], [ null, %26 ], [ null, %19 ], [ null, %12 ], [ null, %5 ], [ %spec.select, %50 ]
  %.sroa.9.1 = phi i32 [ 0, %40 ], [ 0, %33 ], [ 0, %26 ], [ 0, %19 ], [ 0, %12 ], [ 0, %5 ], [ %spec.select18, %50 ]
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %1) #5
  %.fca.0.insert = insertvalue { ptr, i32 } poison, ptr %.sroa.017.1, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.9.1, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

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