; 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.64 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [21 x i8], align 1
@__const.test_glm_vec3_rotate.v1 = external hidden unnamed_addr constant [3 x float], align 4
@__const.test_glm_vec3_rotate.v2 = external hidden unnamed_addr constant [3 x float], align 4
@.str.177 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [22 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 uwtable
define dso_local { ptr, i32 } @test_glm_vec3_rotate() #4 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [3 x float], align 4
  %3 = alloca [3 x float], align 4
  %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
  %8 = alloca [3 x float], align 4
  %9 = alloca [3 x float], align 4
  %10 = alloca [3 x float], align 4
  %11 = alloca [3 x float], align 4
  %12 = alloca [3 x float], align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.test_glm_vec3_rotate.v1, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.test_glm_vec3_rotate.v2, i64 12, i1 false)
  %13 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 0
  store float 0.000000e+00, ptr %4, align 4, !tbaa !5
  %14 = getelementptr inbounds float, ptr %4, i64 1
  store float 1.000000e+00, ptr %14, align 4, !tbaa !5
  %15 = getelementptr inbounds float, ptr %4, i64 2
  store float 0.000000e+00, ptr %15, align 4, !tbaa !5
  %16 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %13, float noundef 0x3FF921FB60000000, ptr noundef %16)
  br label %17

17:                                               ; preds = %0
  %18 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 0
  %19 = load float, ptr %18, align 4, !tbaa !5
  %20 = call zeroext i1 @test_eq(float noundef %19, float noundef 0.000000e+00)
  br i1 %20, label %26, label %21

21:                                               ; preds = %17
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 910, ptr noundef @.str.27) #5
  %24 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %24, align 8, !tbaa !11
  %25 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %25, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

26:                                               ; preds = %17
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28
  %30 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 1
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = call zeroext i1 @test_eq(float noundef %31, float noundef 0.000000e+00)
  br i1 %32, label %38, 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 @.str, ptr noundef @.str.119, i32 noundef 911, ptr noundef @.str.28) #5
  %36 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %36, align 8, !tbaa !11
  %37 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %37, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

38:                                               ; preds = %29
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40
  %42 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 2
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = call zeroext i1 @test_eq(float noundef %43, float noundef -1.000000e+00)
  br i1 %44, label %50, label %45

45:                                               ; preds = %41
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 912, ptr noundef @.str.177) #5
  %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 %5, align 4
  br label %335

50:                                               ; preds = %41
  br label %51

51:                                               ; preds = %50
  br label %52

52:                                               ; preds = %51
  %53 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 0
  store float 1.000000e+00, ptr %6, align 4, !tbaa !5
  %54 = getelementptr inbounds float, ptr %6, i64 1
  store float 0.000000e+00, ptr %54, align 4, !tbaa !5
  %55 = getelementptr inbounds float, ptr %6, i64 2
  store float 0.000000e+00, ptr %55, align 4, !tbaa !5
  %56 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %53, float noundef 0x3FF921FB60000000, ptr noundef %56)
  br label %57

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

61:                                               ; preds = %57
  %62 = load ptr, ptr @stderr, align 8, !tbaa !9
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 917, ptr noundef @.str.27) #5
  %64 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %64, align 8, !tbaa !11
  %65 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %65, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

66:                                               ; preds = %57
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  br label %69

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

73:                                               ; preds = %69
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 918, ptr noundef @.str.63) #5
  %76 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %76, align 8, !tbaa !11
  %77 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %77, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

78:                                               ; preds = %69
  br label %79

79:                                               ; preds = %78
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  %82 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 2
  %83 = load float, ptr %82, align 4, !tbaa !5
  %84 = call zeroext i1 @test_eq(float noundef %83, float noundef 0.000000e+00)
  br i1 %84, label %90, label %85

85:                                               ; preds = %81
  %86 = load ptr, ptr @stderr, align 8, !tbaa !9
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 919, ptr noundef @.str.154) #5
  %88 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %88, align 8, !tbaa !11
  %89 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %89, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

90:                                               ; preds = %81
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  %93 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 0
  store float 0.000000e+00, ptr %7, align 4, !tbaa !5
  %94 = getelementptr inbounds float, ptr %7, i64 1
  store float 0.000000e+00, ptr %94, align 4, !tbaa !5
  %95 = getelementptr inbounds float, ptr %7, i64 2
  store float 1.000000e+00, ptr %95, align 4, !tbaa !5
  %96 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %93, float noundef 0x3FF921FB60000000, ptr noundef %96)
  br label %97

97:                                               ; preds = %92
  %98 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 0
  %99 = load float, ptr %98, align 4, !tbaa !5
  %100 = call zeroext i1 @test_eq(float noundef %99, float noundef -1.000000e+00)
  br i1 %100, label %106, label %101

101:                                              ; preds = %97
  %102 = load ptr, ptr @stderr, align 8, !tbaa !9
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 924, ptr noundef @.str.64) #5
  %104 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %104, align 8, !tbaa !11
  %105 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %105, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

106:                                              ; preds = %97
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108
  %110 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 1
  %111 = load float, ptr %110, align 4, !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.119, i32 noundef 925, ptr noundef @.str.28) #5
  %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 %335

118:                                              ; preds = %109
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  br label %121

121:                                              ; preds = %120
  %122 = getelementptr inbounds [3 x float], ptr %2, i64 0, i64 2
  %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.119, i32 noundef 926, ptr noundef @.str.154) #5
  %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 %335

130:                                              ; preds = %121
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131
  %133 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  store float 0.000000e+00, ptr %8, align 4, !tbaa !5
  %134 = getelementptr inbounds float, ptr %8, i64 1
  store float 1.000000e+00, ptr %134, align 4, !tbaa !5
  %135 = getelementptr inbounds float, ptr %8, i64 2
  store float 0.000000e+00, ptr %135, align 4, !tbaa !5
  %136 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %133, float noundef 0x3FF921FB60000000, ptr noundef %136)
  br label %137

137:                                              ; preds = %132
  %138 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  %139 = load float, ptr %138, align 4, !tbaa !5
  %140 = call zeroext i1 @test_eq(float noundef %139, float noundef 1.000000e+00)
  br i1 %140, label %146, label %141

141:                                              ; preds = %137
  %142 = load ptr, ptr @stderr, align 8, !tbaa !9
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %142, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 931, ptr noundef @.str.102) #5
  %144 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %144, align 8, !tbaa !11
  %145 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %145, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

146:                                              ; preds = %137
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  br label %149

149:                                              ; preds = %148
  %150 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
  %151 = load float, ptr %150, align 4, !tbaa !5
  %152 = call zeroext i1 @test_eq(float noundef %151, float noundef 1.000000e+00)
  br i1 %152, label %158, label %153

153:                                              ; preds = %149
  %154 = load ptr, ptr @stderr, align 8, !tbaa !9
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 932, ptr noundef @.str.103) #5
  %156 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %156, align 8, !tbaa !11
  %157 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %157, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

158:                                              ; preds = %149
  br label %159

159:                                              ; preds = %158
  br label %160

160:                                              ; preds = %159
  br label %161

161:                                              ; preds = %160
  %162 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
  %163 = load float, ptr %162, align 4, !tbaa !5
  %164 = call zeroext i1 @test_eq(float noundef %163, float noundef -1.000000e+00)
  br i1 %164, label %170, label %165

165:                                              ; preds = %161
  %166 = load ptr, ptr @stderr, align 8, !tbaa !9
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %166, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 933, ptr noundef @.str.178) #5
  %168 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %168, align 8, !tbaa !11
  %169 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %169, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

170:                                              ; preds = %161
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  %173 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  store float 0.000000e+00, ptr %9, align 4, !tbaa !5
  %174 = getelementptr inbounds float, ptr %9, i64 1
  store float 1.000000e+00, ptr %174, align 4, !tbaa !5
  %175 = getelementptr inbounds float, ptr %9, i64 2
  store float 0.000000e+00, ptr %175, align 4, !tbaa !5
  %176 = getelementptr inbounds [3 x float], ptr %9, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %173, float noundef 0x3FF921FB60000000, ptr noundef %176)
  br label %177

177:                                              ; preds = %172
  %178 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  %179 = load float, ptr %178, align 4, !tbaa !5
  %180 = call zeroext i1 @test_eq(float noundef %179, float noundef -1.000000e+00)
  br i1 %180, label %186, label %181

181:                                              ; preds = %177
  %182 = load ptr, ptr @stderr, align 8, !tbaa !9
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 938, ptr noundef @.str.179) #5
  %184 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %184, align 8, !tbaa !11
  %185 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %185, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

186:                                              ; preds = %177
  br label %187

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %187
  br label %189

189:                                              ; preds = %188
  %190 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
  %191 = load float, ptr %190, align 4, !tbaa !5
  %192 = call zeroext i1 @test_eq(float noundef %191, float noundef 1.000000e+00)
  br i1 %192, label %198, label %193

193:                                              ; preds = %189
  %194 = load ptr, ptr @stderr, align 8, !tbaa !9
  %195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 939, ptr noundef @.str.103) #5
  %196 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %196, align 8, !tbaa !11
  %197 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %197, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

198:                                              ; preds = %189
  br label %199

199:                                              ; preds = %198
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  %202 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
  %203 = load float, ptr %202, align 4, !tbaa !5
  %204 = call zeroext i1 @test_eq(float noundef %203, float noundef -1.000000e+00)
  br i1 %204, label %210, label %205

205:                                              ; preds = %201
  %206 = load ptr, ptr @stderr, align 8, !tbaa !9
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %206, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 940, ptr noundef @.str.178) #5
  %208 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %208, align 8, !tbaa !11
  %209 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %209, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

210:                                              ; preds = %201
  br label %211

211:                                              ; preds = %210
  br label %212

212:                                              ; preds = %211
  %213 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  store float 0.000000e+00, ptr %10, align 4, !tbaa !5
  %214 = getelementptr inbounds float, ptr %10, i64 1
  store float 1.000000e+00, ptr %214, align 4, !tbaa !5
  %215 = getelementptr inbounds float, ptr %10, i64 2
  store float 0.000000e+00, ptr %215, align 4, !tbaa !5
  %216 = getelementptr inbounds [3 x float], ptr %10, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %213, float noundef 0x3FF921FB60000000, ptr noundef %216)
  br label %217

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

221:                                              ; preds = %217
  %222 = load ptr, ptr @stderr, align 8, !tbaa !9
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %222, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 945, ptr noundef @.str.179) #5
  %224 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %224, align 8, !tbaa !11
  %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 %5, align 4
  br label %335

226:                                              ; preds = %217
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227
  br label %229

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

233:                                              ; preds = %229
  %234 = load ptr, ptr @stderr, align 8, !tbaa !9
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 946, ptr noundef @.str.103) #5
  %236 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %236, align 8, !tbaa !11
  %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 %5, align 4
  br label %335

238:                                              ; preds = %229
  br label %239

239:                                              ; preds = %238
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  %242 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
  %243 = load float, ptr %242, align 4, !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 !9
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 947, ptr noundef @.str.180) #5
  %248 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %248, align 8, !tbaa !11
  %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 %5, align 4
  br label %335

250:                                              ; preds = %241
  br label %251

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251
  %253 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  store float 1.000000e+00, ptr %11, align 4, !tbaa !5
  %254 = getelementptr inbounds float, ptr %11, i64 1
  store float 0.000000e+00, ptr %254, align 4, !tbaa !5
  %255 = getelementptr inbounds float, ptr %11, i64 2
  store float 0.000000e+00, ptr %255, align 4, !tbaa !5
  %256 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %253, float noundef 0x3FF921FB60000000, ptr noundef %256)
  br label %257

257:                                              ; preds = %252
  %258 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  %259 = load float, ptr %258, align 4, !tbaa !5
  %260 = call zeroext i1 @test_eq(float noundef %259, float noundef -1.000000e+00)
  br i1 %260, label %266, label %261

261:                                              ; preds = %257
  %262 = load ptr, ptr @stderr, align 8, !tbaa !9
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %262, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 952, ptr noundef @.str.179) #5
  %264 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %264, align 8, !tbaa !11
  %265 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %265, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

266:                                              ; preds = %257
  br label %267

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268
  %270 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
  %271 = load float, ptr %270, align 4, !tbaa !5
  %272 = call zeroext i1 @test_eq(float noundef %271, float noundef -1.000000e+00)
  br i1 %272, label %278, label %273

273:                                              ; preds = %269
  %274 = load ptr, ptr @stderr, align 8, !tbaa !9
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %274, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 953, ptr noundef @.str.181) #5
  %276 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %276, align 8, !tbaa !11
  %277 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %277, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

278:                                              ; preds = %269
  br label %279

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279
  br label %281

281:                                              ; preds = %280
  %282 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
  %283 = load float, ptr %282, align 4, !tbaa !5
  %284 = call zeroext i1 @test_eq(float noundef %283, float noundef 1.000000e+00)
  br i1 %284, label %290, label %285

285:                                              ; preds = %281
  %286 = load ptr, ptr @stderr, align 8, !tbaa !9
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 954, ptr noundef @.str.180) #5
  %288 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %288, align 8, !tbaa !11
  %289 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %289, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

290:                                              ; preds = %281
  br label %291

291:                                              ; preds = %290
  br label %292

292:                                              ; preds = %291
  %293 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  store float 0.000000e+00, ptr %12, align 4, !tbaa !5
  %294 = getelementptr inbounds float, ptr %12, i64 1
  store float 0.000000e+00, ptr %294, align 4, !tbaa !5
  %295 = getelementptr inbounds float, ptr %12, i64 2
  store float 1.000000e+00, ptr %295, align 4, !tbaa !5
  %296 = getelementptr inbounds [3 x float], ptr %12, i64 0, i64 0
  call void @glm_vec3_rotate(ptr noundef %293, float noundef 0x3FF921FB60000000, ptr noundef %296)
  br label %297

297:                                              ; preds = %292
  %298 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 0
  %299 = load float, ptr %298, align 4, !tbaa !5
  %300 = call zeroext i1 @test_eq(float noundef %299, float noundef 1.000000e+00)
  br i1 %300, label %306, label %301

301:                                              ; preds = %297
  %302 = load ptr, ptr @stderr, align 8, !tbaa !9
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %302, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 959, ptr noundef @.str.102) #5
  %304 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %304, align 8, !tbaa !11
  %305 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %305, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

306:                                              ; preds = %297
  br label %307

307:                                              ; preds = %306
  br label %308

308:                                              ; preds = %307
  br label %309

309:                                              ; preds = %308
  %310 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 1
  %311 = load float, ptr %310, align 4, !tbaa !5
  %312 = call zeroext i1 @test_eq(float noundef %311, float noundef -1.000000e+00)
  br i1 %312, label %318, label %313

313:                                              ; preds = %309
  %314 = load ptr, ptr @stderr, align 8, !tbaa !9
  %315 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %314, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 960, ptr noundef @.str.181) #5
  %316 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %316, align 8, !tbaa !11
  %317 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %317, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

318:                                              ; preds = %309
  br label %319

319:                                              ; preds = %318
  br label %320

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %320
  %322 = getelementptr inbounds [3 x float], ptr %3, i64 0, i64 2
  %323 = load float, ptr %322, align 4, !tbaa !5
  %324 = call zeroext i1 @test_eq(float noundef %323, float noundef 1.000000e+00)
  br i1 %324, label %330, label %325

325:                                              ; preds = %321
  %326 = load ptr, ptr @stderr, align 8, !tbaa !9
  %327 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %326, ptr noundef @.str, ptr noundef @.str.119, i32 noundef 961, ptr noundef @.str.180) #5
  %328 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %328, align 8, !tbaa !11
  %329 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %329, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

330:                                              ; preds = %321
  br label %331

331:                                              ; preds = %330
  br label %332

332:                                              ; preds = %331
  %333 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %333, align 8, !tbaa !11
  %334 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %334, align 8, !tbaa !14
  store i32 1, ptr %5, align 4
  br label %335

335:                                              ; preds = %332, %325, %313, %301, %285, %273, %261, %245, %233, %221, %205, %193, %181, %165, %153, %141, %125, %113, %101, %85, %73, %61, %45, %33, %21
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #5
  %336 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %336
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec3_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 = { 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 }

!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.64 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [21 x i8], align 1
@__const.test_glm_vec3_rotate.v1 = external hidden unnamed_addr constant [3 x float], align 4
@__const.test_glm_vec3_rotate.v2 = external hidden unnamed_addr constant [3 x float], align 4
@.str.177 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [22 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: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec3_rotate() local_unnamed_addr #4 {
  %1 = alloca [3 x float], align 4
  %2 = alloca [3 x float], align 4
  %3 = alloca [3 x float], align 8
  %4 = alloca [3 x float], align 8
  %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 12, ptr nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) @__const.test_glm_vec3_rotate.v1, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) @__const.test_glm_vec3_rotate.v2, i64 12, i1 false)
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %3, i64 8
  store float 0.000000e+00, ptr %11, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %1, float noundef 0x3FF921FB60000000, ptr noundef nonnull %3)
  %12 = load float, ptr %1, align 4, !tbaa !5
  %13 = call zeroext i1 @test_eq(float noundef %12, float noundef 0.000000e+00)
  br i1 %13, label %17, label %14

14:                                               ; preds = %0
  %15 = load ptr, ptr @stderr, align 8, !tbaa !9
  %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 910, ptr noundef nonnull @.str.27) #6
  br label %166

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

21:                                               ; preds = %17
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 911, ptr noundef nonnull @.str.28) #6
  br label %166

24:                                               ; preds = %17
  %25 = getelementptr inbounds i8, ptr %1, i64 8
  %26 = load float, ptr %25, align 4, !tbaa !5
  %27 = call zeroext i1 @test_eq(float noundef %26, float noundef -1.000000e+00)
  br i1 %27, label %31, label %28

28:                                               ; preds = %24
  %29 = load ptr, ptr @stderr, align 8, !tbaa !9
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 912, ptr noundef nonnull @.str.177) #6
  br label %166

31:                                               ; preds = %24
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %4, i64 8
  store float 0.000000e+00, ptr %32, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %1, float noundef 0x3FF921FB60000000, ptr noundef nonnull %4)
  %33 = load float, ptr %1, align 4, !tbaa !5
  %34 = call zeroext i1 @test_eq(float noundef %33, float noundef 0.000000e+00)
  br i1 %34, label %38, label %35

35:                                               ; preds = %31
  %36 = load ptr, ptr @stderr, align 8, !tbaa !9
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 917, ptr noundef nonnull @.str.27) #6
  br label %166

38:                                               ; preds = %31
  %39 = load float, ptr %18, align 4, !tbaa !5
  %40 = call zeroext i1 @test_eq(float noundef %39, float noundef 1.000000e+00)
  br i1 %40, label %44, label %41

41:                                               ; preds = %38
  %42 = load ptr, ptr @stderr, align 8, !tbaa !9
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 918, ptr noundef nonnull @.str.63) #6
  br label %166

44:                                               ; preds = %38
  %45 = load float, ptr %25, align 4, !tbaa !5
  %46 = call zeroext i1 @test_eq(float noundef %45, float noundef 0.000000e+00)
  br i1 %46, label %50, label %47

47:                                               ; preds = %44
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 919, ptr noundef nonnull @.str.154) #6
  br label %166

50:                                               ; preds = %44
  store <2 x float> zeroinitializer, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %5, i64 8
  store float 1.000000e+00, ptr %51, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %1, float noundef 0x3FF921FB60000000, ptr noundef nonnull %5)
  %52 = load float, ptr %1, align 4, !tbaa !5
  %53 = call zeroext i1 @test_eq(float noundef %52, float noundef -1.000000e+00)
  br i1 %53, label %57, label %54

54:                                               ; preds = %50
  %55 = load ptr, ptr @stderr, align 8, !tbaa !9
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 924, ptr noundef nonnull @.str.64) #6
  br label %166

57:                                               ; preds = %50
  %58 = load float, ptr %18, align 4, !tbaa !5
  %59 = call zeroext i1 @test_eq(float noundef %58, float noundef 0.000000e+00)
  br i1 %59, label %63, label %60

60:                                               ; preds = %57
  %61 = load ptr, ptr @stderr, align 8, !tbaa !9
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 925, ptr noundef nonnull @.str.28) #6
  br label %166

63:                                               ; preds = %57
  %64 = load float, ptr %25, align 4, !tbaa !5
  %65 = call zeroext i1 @test_eq(float noundef %64, float noundef 0.000000e+00)
  br i1 %65, label %69, label %66

66:                                               ; preds = %63
  %67 = load ptr, ptr @stderr, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 926, ptr noundef nonnull @.str.154) #6
  br label %166

69:                                               ; preds = %63
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %6, i64 8
  store float 0.000000e+00, ptr %70, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %6)
  %71 = load float, ptr %2, align 4, !tbaa !5
  %72 = call zeroext i1 @test_eq(float noundef %71, float noundef 1.000000e+00)
  br i1 %72, label %76, label %73

73:                                               ; preds = %69
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 931, ptr noundef nonnull @.str.102) #6
  br label %166

76:                                               ; preds = %69
  %77 = getelementptr inbounds i8, ptr %2, i64 4
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = call zeroext i1 @test_eq(float noundef %78, float noundef 1.000000e+00)
  br i1 %79, label %83, label %80

80:                                               ; preds = %76
  %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.119, i32 noundef 932, ptr noundef nonnull @.str.103) #6
  br label %166

83:                                               ; preds = %76
  %84 = getelementptr inbounds i8, ptr %2, i64 8
  %85 = load float, ptr %84, align 4, !tbaa !5
  %86 = call zeroext i1 @test_eq(float noundef %85, float noundef -1.000000e+00)
  br i1 %86, label %90, label %87

87:                                               ; preds = %83
  %88 = load ptr, ptr @stderr, align 8, !tbaa !9
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 933, ptr noundef nonnull @.str.178) #6
  br label %166

90:                                               ; preds = %83
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %7, i64 8
  store float 0.000000e+00, ptr %91, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %7)
  %92 = load float, ptr %2, align 4, !tbaa !5
  %93 = call zeroext i1 @test_eq(float noundef %92, float noundef -1.000000e+00)
  br i1 %93, label %97, 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 nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 938, ptr noundef nonnull @.str.179) #6
  br label %166

97:                                               ; preds = %90
  %98 = load float, ptr %77, align 4, !tbaa !5
  %99 = call zeroext i1 @test_eq(float noundef %98, float noundef 1.000000e+00)
  br i1 %99, label %103, label %100

100:                                              ; preds = %97
  %101 = load ptr, ptr @stderr, align 8, !tbaa !9
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 939, ptr noundef nonnull @.str.103) #6
  br label %166

103:                                              ; preds = %97
  %104 = load float, ptr %84, align 4, !tbaa !5
  %105 = call zeroext i1 @test_eq(float noundef %104, float noundef -1.000000e+00)
  br i1 %105, label %109, label %106

106:                                              ; preds = %103
  %107 = load ptr, ptr @stderr, align 8, !tbaa !9
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 940, ptr noundef nonnull @.str.178) #6
  br label %166

109:                                              ; preds = %103
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %8, i64 8
  store float 0.000000e+00, ptr %110, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %8)
  %111 = load float, ptr %2, align 4, !tbaa !5
  %112 = call zeroext i1 @test_eq(float noundef %111, float noundef -1.000000e+00)
  br i1 %112, label %116, 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 nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 945, ptr noundef nonnull @.str.179) #6
  br label %166

116:                                              ; preds = %109
  %117 = load float, ptr %77, align 4, !tbaa !5
  %118 = call zeroext i1 @test_eq(float noundef %117, float noundef 1.000000e+00)
  br i1 %118, label %122, label %119

119:                                              ; preds = %116
  %120 = load ptr, ptr @stderr, align 8, !tbaa !9
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 946, ptr noundef nonnull @.str.103) #6
  br label %166

122:                                              ; preds = %116
  %123 = load float, ptr %84, align 4, !tbaa !5
  %124 = call zeroext i1 @test_eq(float noundef %123, float noundef 1.000000e+00)
  br i1 %124, label %128, label %125

125:                                              ; preds = %122
  %126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 947, ptr noundef nonnull @.str.180) #6
  br label %166

128:                                              ; preds = %122
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %9, i64 8
  store float 0.000000e+00, ptr %129, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %9)
  %130 = load float, ptr %2, align 4, !tbaa !5
  %131 = call zeroext i1 @test_eq(float noundef %130, float noundef -1.000000e+00)
  br i1 %131, label %135, label %132

132:                                              ; preds = %128
  %133 = load ptr, ptr @stderr, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 952, ptr noundef nonnull @.str.179) #6
  br label %166

135:                                              ; preds = %128
  %136 = load float, ptr %77, align 4, !tbaa !5
  %137 = call zeroext i1 @test_eq(float noundef %136, float noundef -1.000000e+00)
  br i1 %137, label %141, label %138

138:                                              ; preds = %135
  %139 = load ptr, ptr @stderr, align 8, !tbaa !9
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 953, ptr noundef nonnull @.str.181) #6
  br label %166

141:                                              ; preds = %135
  %142 = load float, ptr %84, align 4, !tbaa !5
  %143 = call zeroext i1 @test_eq(float noundef %142, float noundef 1.000000e+00)
  br i1 %143, label %147, label %144

144:                                              ; preds = %141
  %145 = load ptr, ptr @stderr, align 8, !tbaa !9
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 954, ptr noundef nonnull @.str.180) #6
  br label %166

147:                                              ; preds = %141
  store <2 x float> zeroinitializer, ptr %10, align 8, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %10, i64 8
  store float 1.000000e+00, ptr %148, align 8, !tbaa !5
  call void @glm_vec3_rotate(ptr noundef nonnull %2, float noundef 0x3FF921FB60000000, ptr noundef nonnull %10)
  %149 = load float, ptr %2, align 4, !tbaa !5
  %150 = call zeroext i1 @test_eq(float noundef %149, float noundef 1.000000e+00)
  br i1 %150, label %154, label %151

151:                                              ; preds = %147
  %152 = load ptr, ptr @stderr, align 8, !tbaa !9
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %152, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 959, ptr noundef nonnull @.str.102) #6
  br label %166

154:                                              ; preds = %147
  %155 = load float, ptr %77, align 4, !tbaa !5
  %156 = call zeroext i1 @test_eq(float noundef %155, float noundef -1.000000e+00)
  br i1 %156, label %160, label %157

157:                                              ; preds = %154
  %158 = load ptr, ptr @stderr, align 8, !tbaa !9
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 960, ptr noundef nonnull @.str.181) #6
  br label %166

160:                                              ; preds = %154
  %161 = load float, ptr %84, align 4, !tbaa !5
  %162 = call zeroext i1 @test_eq(float noundef %161, float noundef 1.000000e+00)
  br i1 %162, label %166, label %163

163:                                              ; preds = %160
  %164 = load ptr, ptr @stderr, align 8, !tbaa !9
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef nonnull @.str, ptr noundef nonnull @.str.119, i32 noundef 961, ptr noundef nonnull @.str.180) #6
  br label %166

166:                                              ; preds = %160, %163, %157, %151, %144, %138, %132, %125, %119, %113, %106, %100, %94, %87, %80, %73, %66, %60, %54, %47, %41, %35, %28, %21, %14
  %.sroa.26.0 = phi i32 [ 0, %163 ], [ 0, %157 ], [ 0, %151 ], [ 0, %144 ], [ 0, %138 ], [ 0, %132 ], [ 0, %125 ], [ 0, %119 ], [ 0, %113 ], [ 0, %106 ], [ 0, %100 ], [ 0, %94 ], [ 0, %87 ], [ 0, %80 ], [ 0, %73 ], [ 0, %66 ], [ 0, %60 ], [ 0, %54 ], [ 0, %47 ], [ 0, %41 ], [ 0, %35 ], [ 0, %28 ], [ 0, %21 ], [ 0, %14 ], [ 1, %160 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #5
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.26.0, 1
  ret { ptr, i32 } %.fca.1.insert
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_vec3_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 = { 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,SLPVectorizerPass,SROAPass,SimplifyCFGPass