; 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.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.728 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.787 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_quat_rotate.v1 = external hidden unnamed_addr constant [4 x float], align 16
@.str.870 = external hidden unnamed_addr constant [21 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 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

declare { ptr, i32 } @test_assert_mat4_eq(ptr noundef, ptr noundef) #5

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_quat_rotate() #6 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x [4 x float]], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [4 x float], align 16
  %6 = alloca [3 x float], align 4
  %7 = alloca [3 x float], align 4
  %8 = alloca %struct.test_status_t, align 8
  %9 = alloca %struct.test_status_t, align 8
  %10 = alloca i32, align 4
  %11 = alloca [3 x float], align 4
  %12 = alloca [3 x float], align 4
  %13 = alloca %struct.test_status_t, align 8
  %14 = alloca %struct.test_status_t, align 8
  %15 = alloca [3 x float], align 4
  %16 = alloca [3 x float], align 4
  %17 = alloca %struct.test_status_t, align 8
  %18 = alloca %struct.test_status_t, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #7
  call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 64, i1 false)
  %19 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 0
  %20 = getelementptr inbounds [4 x float], ptr %19, i32 0, i32 0
  store float 1.000000e+00, ptr %20, align 16
  %21 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 1
  %22 = getelementptr inbounds [4 x float], ptr %21, i32 0, i32 1
  store float 1.000000e+00, ptr %22, align 4
  %23 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 2
  %24 = getelementptr inbounds [4 x float], ptr %23, i32 0, i32 2
  store float 1.000000e+00, ptr %24, align 8
  %25 = getelementptr inbounds [4 x [4 x float]], ptr %2, i32 0, i32 3
  %26 = getelementptr inbounds [4 x float], ptr %25, i32 0, i32 3
  store float 1.000000e+00, ptr %26, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_glm_quat_rotate.v1, i64 16, i1 false)
  %27 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  store float 0.000000e+00, ptr %6, align 4, !tbaa !5
  %28 = getelementptr inbounds float, ptr %6, i64 1
  store float 1.000000e+00, ptr %28, align 4, !tbaa !5
  %29 = getelementptr inbounds float, ptr %6, i64 2
  store float 0.000000e+00, ptr %29, align 4, !tbaa !5
  %30 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_quatv(ptr noundef %27, float noundef 0x3FF921FB60000000, ptr noundef %30)
  %31 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %32 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %33 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_quat_rotate(ptr noundef %31, ptr noundef %32, ptr noundef %33)
  %34 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  store float 0.000000e+00, ptr %7, align 4, !tbaa !5
  %35 = getelementptr inbounds float, ptr %7, i64 1
  store float 1.000000e+00, ptr %35, align 4, !tbaa !5
  %36 = getelementptr inbounds float, ptr %7, i64 2
  store float 0.000000e+00, ptr %36, align 4, !tbaa !5
  %37 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  call void @glm_rotate_make(ptr noundef %34, float noundef 0x3FF921FB60000000, ptr noundef %37)
  br label %38

38:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %39 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %40 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %41 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef %39, ptr noundef %40)
  %42 = getelementptr inbounds { ptr, i32 }, ptr %9, i32 0, i32 0
  %43 = extractvalue { ptr, i32 } %41, 0
  store ptr %43, ptr %42, align 8
  %44 = getelementptr inbounds { ptr, i32 }, ptr %9, i32 0, i32 1
  %45 = extractvalue { ptr, i32 } %41, 1
  store i32 %45, ptr %44, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  %46 = getelementptr inbounds %struct.test_status_t, ptr %8, i32 0, i32 1
  %47 = load i32, ptr %46, align 8, !tbaa !14
  %48 = icmp ne i32 %47, 1
  br i1 %48, label %49, label %56

49:                                               ; preds = %38
  %50 = load ptr, ptr @stderr, align 8, !tbaa !10
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 974, ptr noundef @.str.728) #7
  %52 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %53 = getelementptr inbounds %struct.test_status_t, ptr %8, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  store ptr %54, ptr %52, align 8, !tbaa !16
  %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 %10, align 4
  br label %57

56:                                               ; preds = %38
  store i32 0, ptr %10, align 4
  br label %57

57:                                               ; preds = %56, %49
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  %58 = load i32, ptr %10, align 4
  switch i32 %58, label %255 [
    i32 0, label %59
  ]

59:                                               ; preds = %57
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  %62 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %63 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %64 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %62, ptr noundef %63, ptr noundef %64)
  br label %65

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

69:                                               ; preds = %65
  %70 = load ptr, ptr @stderr, align 8, !tbaa !10
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 977, ptr noundef @.str.27) #7
  %72 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %72, align 8, !tbaa !16
  %73 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %73, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

74:                                               ; preds = %65
  br label %75

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  br label %77

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

81:                                               ; preds = %77
  %82 = load ptr, ptr @stderr, align 8, !tbaa !10
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 978, ptr noundef @.str.28) #7
  %84 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %84, align 8, !tbaa !16
  %85 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %85, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

86:                                               ; preds = %77
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  br label %89

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

93:                                               ; preds = %89
  %94 = load ptr, ptr @stderr, align 8, !tbaa !10
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 979, ptr noundef @.str.177) #7
  %96 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %96, align 8, !tbaa !16
  %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 %10, align 4
  br label %255

98:                                               ; preds = %89
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99
  %101 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_mat4_identity(ptr noundef %101)
  %102 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_mat4_identity(ptr noundef %102)
  %103 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  store float 1.000000e+00, ptr %11, align 4, !tbaa !5
  %104 = getelementptr inbounds float, ptr %11, i64 1
  store float 0.000000e+00, ptr %104, align 4, !tbaa !5
  %105 = getelementptr inbounds float, ptr %11, i64 2
  store float 0.000000e+00, ptr %105, align 4, !tbaa !5
  %106 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
  call void @glm_quatv(ptr noundef %103, float noundef 0x3FF921FB60000000, ptr noundef %106)
  %107 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %108 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %109 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_quat_rotate(ptr noundef %107, ptr noundef %108, ptr noundef %109)
  %110 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  store float 1.000000e+00, ptr %12, align 4, !tbaa !5
  %111 = getelementptr inbounds float, ptr %12, i64 1
  store float 0.000000e+00, ptr %111, align 4, !tbaa !5
  %112 = getelementptr inbounds float, ptr %12, i64 2
  store float 0.000000e+00, ptr %112, align 4, !tbaa !5
  %113 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0
  call void @glm_rotate(ptr noundef %110, float noundef 0x3FF921FB60000000, ptr noundef %113)
  br label %114

114:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  %115 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %116 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %117 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef %115, ptr noundef %116)
  %118 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 0
  %119 = extractvalue { ptr, i32 } %117, 0
  store ptr %119, ptr %118, align 8
  %120 = getelementptr inbounds { ptr, i32 }, ptr %14, i32 0, i32 1
  %121 = extractvalue { ptr, i32 } %117, 1
  store i32 %121, ptr %120, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %14, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  %122 = getelementptr inbounds %struct.test_status_t, ptr %13, i32 0, i32 1
  %123 = load i32, ptr %122, align 8, !tbaa !14
  %124 = icmp ne i32 %123, 1
  br i1 %124, label %125, label %132

125:                                              ; preds = %114
  %126 = load ptr, ptr @stderr, align 8, !tbaa !10
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 988, ptr noundef @.str.728) #7
  %128 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %129 = getelementptr inbounds %struct.test_status_t, ptr %13, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8, !tbaa !16
  store ptr %130, ptr %128, align 8, !tbaa !16
  %131 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %131, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %133

132:                                              ; preds = %114
  store i32 0, ptr %10, align 4
  br label %133

133:                                              ; preds = %132, %125
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  %134 = load i32, ptr %10, align 4
  switch i32 %134, label %255 [
    i32 0, label %135
  ]

135:                                              ; preds = %133
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136
  %138 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %139 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %140 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %138, ptr noundef %139, ptr noundef %140)
  br label %141

141:                                              ; preds = %137
  %142 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %143 = load float, ptr %142, align 16, !tbaa !5
  %144 = call zeroext i1 @test_eq(float noundef %143, float noundef 0.000000e+00)
  br i1 %144, label %150, label %145

145:                                              ; preds = %141
  %146 = load ptr, ptr @stderr, align 8, !tbaa !10
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 991, ptr noundef @.str.27) #7
  %148 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %148, align 8, !tbaa !16
  %149 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %149, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

150:                                              ; preds = %141
  br label %151

151:                                              ; preds = %150
  br label %152

152:                                              ; preds = %151
  br label %153

153:                                              ; preds = %152
  %154 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %155 = load float, ptr %154, align 4, !tbaa !5
  %156 = call zeroext i1 @test_eq(float noundef %155, float noundef 1.000000e+00)
  br i1 %156, label %162, label %157

157:                                              ; preds = %153
  %158 = load ptr, ptr @stderr, align 8, !tbaa !10
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 992, ptr noundef @.str.63) #7
  %160 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %160, align 8, !tbaa !16
  %161 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %161, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

162:                                              ; preds = %153
  br label %163

163:                                              ; preds = %162
  br label %164

164:                                              ; preds = %163
  br label %165

165:                                              ; preds = %164
  %166 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %167 = load float, ptr %166, align 8, !tbaa !5
  %168 = call zeroext i1 @test_eq(float noundef %167, float noundef 0.000000e+00)
  br i1 %168, label %174, label %169

169:                                              ; preds = %165
  %170 = load ptr, ptr @stderr, align 8, !tbaa !10
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %170, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 993, ptr noundef @.str.154) #7
  %172 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %172, align 8, !tbaa !16
  %173 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %173, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

174:                                              ; preds = %165
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175
  %177 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_mat4_identity(ptr noundef %177)
  %178 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_mat4_identity(ptr noundef %178)
  %179 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  store float 1.000000e+00, ptr %15, align 4, !tbaa !5
  %180 = getelementptr inbounds float, ptr %15, i64 1
  store float 0.000000e+00, ptr %180, align 4, !tbaa !5
  %181 = getelementptr inbounds float, ptr %15, i64 2
  store float 0.000000e+00, ptr %181, align 4, !tbaa !5
  %182 = getelementptr inbounds [3 x float], ptr %15, i64 0, i64 0
  call void @glm_quatv(ptr noundef %179, float noundef 0x3FF921FB60000000, ptr noundef %182)
  %183 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %184 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %185 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_quat_rotate(ptr noundef %183, ptr noundef %184, ptr noundef %185)
  %186 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  store float 1.000000e+00, ptr %16, align 4, !tbaa !5
  %187 = getelementptr inbounds float, ptr %16, i64 1
  store float 0.000000e+00, ptr %187, align 4, !tbaa !5
  %188 = getelementptr inbounds float, ptr %16, i64 2
  store float 0.000000e+00, ptr %188, align 4, !tbaa !5
  %189 = getelementptr inbounds [3 x float], ptr %16, i64 0, i64 0
  call void @glm_rotate(ptr noundef %186, float noundef 0x3FF921FB60000000, ptr noundef %189)
  br label %190

190:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  %191 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %192 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %193 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef %191, ptr noundef %192)
  %194 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 0
  %195 = extractvalue { ptr, i32 } %193, 0
  store ptr %195, ptr %194, align 8
  %196 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 1
  %197 = extractvalue { ptr, i32 } %193, 1
  store i32 %197, ptr %196, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  %198 = getelementptr inbounds %struct.test_status_t, ptr %17, i32 0, i32 1
  %199 = load i32, ptr %198, align 8, !tbaa !14
  %200 = icmp ne i32 %199, 1
  br i1 %200, label %201, label %208

201:                                              ; preds = %190
  %202 = load ptr, ptr @stderr, align 8, !tbaa !10
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef @.str.13, ptr noundef @.str.787, i32 noundef 1002, ptr noundef @.str.728) #7
  %204 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %205 = getelementptr inbounds %struct.test_status_t, ptr %17, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8, !tbaa !16
  store ptr %206, ptr %204, align 8, !tbaa !16
  %207 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %207, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %209

208:                                              ; preds = %190
  store i32 0, ptr %10, align 4
  br label %209

209:                                              ; preds = %208, %201
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  %210 = load i32, ptr %10, align 4
  switch i32 %210, label %255 [
    i32 0, label %211
  ]

211:                                              ; preds = %209
  br label %212

212:                                              ; preds = %211
  br label %213

213:                                              ; preds = %212
  %214 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %215 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %216 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %214, ptr noundef %215, ptr noundef %216)
  br label %217

217:                                              ; preds = %213
  %218 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %219 = load float, ptr %218, align 16, !tbaa !5
  %220 = call zeroext i1 @test_eq(float noundef %219, float noundef 0.000000e+00)
  br i1 %220, label %226, label %221

221:                                              ; preds = %217
  %222 = load ptr, ptr @stderr, align 8, !tbaa !10
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %222, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 1005, ptr noundef @.str.27) #7
  %224 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %224, align 8, !tbaa !16
  %225 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %225, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

226:                                              ; preds = %217
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227
  br label %229

229:                                              ; preds = %228
  %230 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %231 = load float, ptr %230, align 4, !tbaa !5
  %232 = call zeroext i1 @test_eq(float noundef %231, float noundef 0.000000e+00)
  br i1 %232, label %238, label %233

233:                                              ; preds = %229
  %234 = load ptr, ptr @stderr, align 8, !tbaa !10
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 1006, ptr noundef @.str.28) #7
  %236 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %236, align 8, !tbaa !16
  %237 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %237, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

238:                                              ; preds = %229
  br label %239

239:                                              ; preds = %238
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  %242 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %243 = load float, ptr %242, align 8, !tbaa !5
  %244 = call zeroext i1 @test_eq(float noundef %243, float noundef 1.000000e+00)
  br i1 %244, label %250, label %245

245:                                              ; preds = %241
  %246 = load ptr, ptr @stderr, align 8, !tbaa !10
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str, ptr noundef @.str.787, i32 noundef 1007, ptr noundef @.str.870) #7
  %248 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %248, align 8, !tbaa !16
  %249 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %249, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

250:                                              ; preds = %241
  br label %251

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251
  %253 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %253, align 8, !tbaa !16
  %254 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %254, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %255

255:                                              ; preds = %252, %245, %233, %221, %209, %169, %157, %145, %133, %93, %81, %69, %57
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #7
  %256 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %256
}

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_rotate(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 nounwind willreturn memory(argmem: write) }
attributes #5 = { "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 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i64 0, i64 8, !10, i64 8, i64 4, !12}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"test_status_t", !11, i64 0, !13, i64 8}
!16 = !{!15, !11, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 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.728 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.787 = external hidden unnamed_addr constant [64 x i8], align 1
@__const.test_glm_quat_rotate.v1 = external hidden unnamed_addr constant [4 x float], align 16
@.str.870 = external hidden unnamed_addr constant [21 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 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

declare { ptr, i32 } @test_assert_mat4_eq(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat4_identity(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: alwaysinline nounwind uwtable
declare hidden void @glm_quatv(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_quat_rotate() local_unnamed_addr #6 {
  %1 = alloca [4 x [4 x float]], align 16
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [3 x float], align 8
  %6 = alloca [3 x float], align 8
  %7 = alloca [3 x float], align 8
  %8 = alloca [3 x float], align 8
  %9 = alloca [3 x float], align 8
  %10 = alloca [3 x float], align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #7
  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
  %11 = getelementptr inbounds i8, ptr %1, i64 20
  store float 1.000000e+00, ptr %11, align 4
  %12 = getelementptr inbounds i8, ptr %1, i64 40
  store float 1.000000e+00, ptr %12, align 8
  %13 = getelementptr inbounds i8, ptr %1, i64 60
  store float 1.000000e+00, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  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_quat_rotate.v1, i64 16, i1 false)
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %5, i64 8
  store float 0.000000e+00, ptr %14, align 8, !tbaa !5
  call void @glm_quatv(ptr noundef nonnull %3, float noundef 0x3FF921FB60000000, ptr noundef nonnull %5)
  call void @glm_quat_rotate(ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %1)
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %6, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %6, i64 8
  store float 0.000000e+00, ptr %15, align 8, !tbaa !5
  call void @glm_rotate_make(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %6)
  %16 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #7
  %17 = extractvalue { ptr, i32 } %16, 1
  %.not = icmp eq i32 %17, 1
  br i1 %.not, label %.critedge, label %18

18:                                               ; preds = %0
  %19 = extractvalue { ptr, i32 } %16, 0
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 974, ptr noundef nonnull @.str.728) #8
  br label %95

.critedge:                                        ; preds = %0
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %4)
  %22 = load float, ptr %4, align 16, !tbaa !5
  %23 = call zeroext i1 @test_eq(float noundef %22, float noundef 0.000000e+00)
  br i1 %23, label %27, label %24

24:                                               ; preds = %.critedge
  %25 = load ptr, ptr @stderr, align 8, !tbaa !9
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 977, ptr noundef nonnull @.str.27) #8
  br label %95

27:                                               ; preds = %.critedge
  %28 = getelementptr inbounds i8, ptr %4, i64 4
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = call zeroext i1 @test_eq(float noundef %29, float noundef 0.000000e+00)
  br i1 %30, label %34, label %31

31:                                               ; preds = %27
  %32 = load ptr, ptr @stderr, align 8, !tbaa !9
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 978, ptr noundef nonnull @.str.28) #8
  br label %95

34:                                               ; preds = %27
  %35 = getelementptr inbounds i8, ptr %4, i64 8
  %36 = load float, ptr %35, align 8, !tbaa !5
  %37 = call zeroext i1 @test_eq(float noundef %36, float noundef -1.000000e+00)
  br i1 %37, label %41, 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 nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 979, ptr noundef nonnull @.str.177) #8
  br label %95

41:                                               ; preds = %34
  call void @glm_mat4_identity(ptr noundef nonnull %1)
  call void @glm_mat4_identity(ptr noundef nonnull %2)
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %7, i64 8
  store float 0.000000e+00, ptr %42, align 8, !tbaa !5
  call void @glm_quatv(ptr noundef nonnull %3, float noundef 0x3FF921FB60000000, ptr noundef nonnull %7)
  call void @glm_quat_rotate(ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %1)
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %8, i64 8
  store float 0.000000e+00, ptr %43, align 8, !tbaa !5
  call void @glm_rotate(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %8)
  %44 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #7
  %45 = extractvalue { ptr, i32 } %44, 1
  %.not20 = icmp eq i32 %45, 1
  br i1 %.not20, label %50, label %46

46:                                               ; preds = %41
  %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.787, i32 noundef 988, ptr noundef nonnull @.str.728) #8
  br label %95

50:                                               ; preds = %41
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %4)
  %51 = load float, ptr %4, align 16, !tbaa !5
  %52 = call zeroext i1 @test_eq(float noundef %51, float noundef 0.000000e+00)
  br i1 %52, label %56, label %53

53:                                               ; preds = %50
  %54 = load ptr, ptr @stderr, align 8, !tbaa !9
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 991, ptr noundef nonnull @.str.27) #8
  br label %95

56:                                               ; preds = %50
  %57 = load float, ptr %28, align 4, !tbaa !5
  %58 = call zeroext i1 @test_eq(float noundef %57, float noundef 1.000000e+00)
  br i1 %58, label %62, label %59

59:                                               ; preds = %56
  %60 = load ptr, ptr @stderr, align 8, !tbaa !9
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 992, ptr noundef nonnull @.str.63) #8
  br label %95

62:                                               ; preds = %56
  %63 = load float, ptr %35, align 8, !tbaa !5
  %64 = call zeroext i1 @test_eq(float noundef %63, float noundef 0.000000e+00)
  br i1 %64, label %68, label %65

65:                                               ; preds = %62
  %66 = load ptr, ptr @stderr, align 8, !tbaa !9
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 993, ptr noundef nonnull @.str.154) #8
  br label %95

68:                                               ; preds = %62
  call void @glm_mat4_identity(ptr noundef nonnull %1)
  call void @glm_mat4_identity(ptr noundef nonnull %2)
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %9, i64 8
  store float 0.000000e+00, ptr %69, align 8, !tbaa !5
  call void @glm_quatv(ptr noundef nonnull %3, float noundef 0x3FF921FB60000000, ptr noundef nonnull %9)
  call void @glm_quat_rotate(ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %1)
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %10, i64 8
  store float 0.000000e+00, ptr %70, align 8, !tbaa !5
  call void @glm_rotate(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %10)
  %71 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #7
  %72 = extractvalue { ptr, i32 } %71, 1
  %.not21 = icmp eq i32 %72, 1
  br i1 %.not21, label %77, label %73

73:                                               ; preds = %68
  %74 = extractvalue { ptr, i32 } %71, 0
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.787, i32 noundef 1002, ptr noundef nonnull @.str.728) #8
  br label %95

77:                                               ; preds = %68
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %4)
  %78 = load float, ptr %4, align 16, !tbaa !5
  %79 = call zeroext i1 @test_eq(float noundef %78, float noundef 0.000000e+00)
  br i1 %79, label %83, label %80

80:                                               ; preds = %77
  %81 = load ptr, ptr @stderr, align 8, !tbaa !9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 1005, ptr noundef nonnull @.str.27) #8
  br label %95

83:                                               ; preds = %77
  %84 = load float, ptr %28, align 4, !tbaa !5
  %85 = call zeroext i1 @test_eq(float noundef %84, float noundef 0.000000e+00)
  br i1 %85, label %89, label %86

86:                                               ; preds = %83
  %87 = load ptr, ptr @stderr, align 8, !tbaa !9
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 1006, ptr noundef nonnull @.str.28) #8
  br label %95

89:                                               ; preds = %83
  %90 = load float, ptr %35, align 8, !tbaa !5
  %91 = call zeroext i1 @test_eq(float noundef %90, float noundef 1.000000e+00)
  br i1 %91, label %95, label %92

92:                                               ; preds = %89
  %93 = load ptr, ptr @stderr, align 8, !tbaa !9
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str, ptr noundef nonnull @.str.787, i32 noundef 1007, ptr noundef nonnull @.str.870) #8
  br label %95

95:                                               ; preds = %73, %46, %18, %89, %92, %86, %80, %65, %59, %53, %38, %31, %24
  %.sroa.019.3 = phi ptr [ null, %92 ], [ null, %86 ], [ null, %80 ], [ %74, %73 ], [ null, %65 ], [ null, %59 ], [ null, %53 ], [ %47, %46 ], [ null, %38 ], [ null, %31 ], [ null, %24 ], [ %19, %18 ], [ null, %89 ]
  %.sroa.14.3 = phi i32 [ 0, %92 ], [ 0, %86 ], [ 0, %80 ], [ 0, %73 ], [ 0, %65 ], [ 0, %59 ], [ 0, %53 ], [ 0, %46 ], [ 0, %38 ], [ 0, %31 ], [ 0, %24 ], [ 0, %18 ], [ 1, %89 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #7
  %.fca.0.insert = insertvalue { ptr, i32 } poison, ptr %.sroa.019.3, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.14.3, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

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

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 = { "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 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 #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: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass