; 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
@__const.test_glm_frustum.vp = external hidden unnamed_addr constant [4 x float], align 16
@.str.961 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.962 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.963 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.964 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.965 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.966 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.967 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.968 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.969 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.970 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.971 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.972 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.973 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.974 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.975 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.976 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.977 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.978 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.979 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.980 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.981 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.982 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.983 = external hidden unnamed_addr constant [27 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: alwaysinline nounwind uwtable
declare hidden zeroext i1 @glm_vec4_isnan(ptr noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @glm_vec4_isinf(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_project(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_frustum() #4 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca [4 x float], align 16
  %12 = alloca [4 x float], align 16
  %13 = alloca [4 x float], align 16
  %14 = alloca [4 x float], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_glm_frustum.vp, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store float 0x3FB99999A0000000, ptr %8, align 4, !tbaa !5
  store float 1.000000e+02, ptr %9, align 4, !tbaa !5
  store float -1.000000e+02, ptr %4, align 4, !tbaa !5
  store float 1.000000e+02, ptr %5, align 4, !tbaa !5
  store float -1.000000e+02, ptr %7, align 4, !tbaa !5
  store float 1.000000e+02, ptr %6, align 4, !tbaa !5
  %15 = load float, ptr %4, align 4, !tbaa !5
  %16 = load float, ptr %5, align 4, !tbaa !5
  %17 = load float, ptr %7, align 4, !tbaa !5
  %18 = load float, ptr %6, align 4, !tbaa !5
  %19 = load float, ptr %8, align 4, !tbaa !5
  %20 = load float, ptr %9, align 4, !tbaa !5
  %21 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_frustum(float noundef %15, float noundef %16, float noundef %17, float noundef %18, float noundef %19, float noundef %20, ptr noundef %21)
  br label %22

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

27:                                               ; preds = %22
  %28 = load ptr, ptr @stderr, align 8, !tbaa !9
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 24, ptr noundef @.str.962) #5
  %30 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %30, align 8, !tbaa !11
  %31 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %31, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

32:                                               ; preds = %22
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  br label %35

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

40:                                               ; preds = %35
  %41 = load ptr, ptr @stderr, align 8, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 25, ptr noundef @.str.963) #5
  %43 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %43, align 8, !tbaa !11
  %44 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %44, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

45:                                               ; preds = %35
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  br label %48

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

53:                                               ; preds = %48
  %54 = load ptr, ptr @stderr, align 8, !tbaa !9
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 26, ptr noundef @.str.964) #5
  %56 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %56, align 8, !tbaa !11
  %57 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %57, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

58:                                               ; preds = %48
  br label %59

59:                                               ; preds = %58
  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 1
  %63 = getelementptr inbounds [4 x float], ptr %62, i64 0, i64 0
  %64 = load float, ptr %63, align 16, !tbaa !5
  %65 = call zeroext i1 @test_eq(float noundef %64, float noundef 0.000000e+00)
  br i1 %65, label %71, label %66

66:                                               ; preds = %61
  %67 = load ptr, ptr @stderr, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 28, ptr noundef @.str.965) #5
  %69 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %69, align 8, !tbaa !11
  %70 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %70, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

71:                                               ; preds = %61
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  br label %74

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

79:                                               ; preds = %74
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 29, ptr noundef @.str.966) #5
  %82 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %82, align 8, !tbaa !11
  %83 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %83, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

84:                                               ; preds = %74
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  br label %87

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

92:                                               ; preds = %87
  %93 = load ptr, ptr @stderr, align 8, !tbaa !9
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 30, ptr noundef @.str.967) #5
  %95 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %95, align 8, !tbaa !11
  %96 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %96, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

97:                                               ; preds = %87
  br label %98

98:                                               ; preds = %97
  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 2
  %102 = getelementptr inbounds [4 x float], ptr %101, i64 0, i64 3
  %103 = load float, ptr %102, align 4, !tbaa !5
  %104 = call zeroext i1 @test_eq(float noundef %103, float noundef -1.000000e+00)
  br i1 %104, label %110, label %105

105:                                              ; preds = %100
  %106 = load ptr, ptr @stderr, align 8, !tbaa !9
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 32, ptr noundef @.str.968) #5
  %108 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %108, align 8, !tbaa !11
  %109 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %109, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

110:                                              ; preds = %100
  br label %111

111:                                              ; preds = %110
  br label %112

112:                                              ; preds = %111
  br label %113

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

118:                                              ; preds = %113
  %119 = load ptr, ptr @stderr, align 8, !tbaa !9
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 34, ptr noundef @.str.969) #5
  %121 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %121, align 8, !tbaa !11
  %122 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %122, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

123:                                              ; preds = %113
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  %127 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 3
  %128 = getelementptr inbounds [4 x float], ptr %127, i64 0, i64 1
  %129 = load float, ptr %128, align 4, !tbaa !5
  %130 = call zeroext i1 @test_eq(float noundef %129, float noundef 0.000000e+00)
  br i1 %130, label %136, label %131

131:                                              ; preds = %126
  %132 = load ptr, ptr @stderr, align 8, !tbaa !9
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 35, ptr noundef @.str.970) #5
  %134 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %134, align 8, !tbaa !11
  %135 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %135, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

136:                                              ; preds = %126
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  br label %139

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

144:                                              ; preds = %139
  %145 = load ptr, ptr @stderr, align 8, !tbaa !9
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 36, ptr noundef @.str.971) #5
  %147 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %147, align 8, !tbaa !11
  %148 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %148, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %341

149:                                              ; preds = %139
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  store float 1.000000e+00, ptr %11, align 4, !tbaa !5
  %152 = getelementptr inbounds float, ptr %11, i64 1
  store float 2.000000e+01, ptr %152, align 4, !tbaa !5
  %153 = getelementptr inbounds float, ptr %11, i64 2
  %154 = load float, ptr %8, align 4, !tbaa !5
  store float %154, ptr %153, align 4, !tbaa !5
  %155 = getelementptr inbounds float, ptr %11, i64 3
  %156 = getelementptr inbounds float, ptr %11, i64 4
  br label %157

157:                                              ; preds = %157, %151
  %158 = phi ptr [ %155, %151 ], [ %159, %157 ]
  store float 0.000000e+00, ptr %158, align 4, !tbaa !5
  %159 = getelementptr inbounds float, ptr %158, i64 1
  %160 = icmp eq ptr %159, %156
  br i1 %160, label %161, label %157

161:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  store float 1.000000e+00, ptr %12, align 4, !tbaa !5
  %162 = getelementptr inbounds float, ptr %12, i64 1
  store float 2.000000e+01, ptr %162, align 4, !tbaa !5
  %163 = getelementptr inbounds float, ptr %12, i64 2
  %164 = load float, ptr %9, align 4, !tbaa !5
  store float %164, ptr %163, align 4, !tbaa !5
  %165 = getelementptr inbounds float, ptr %12, i64 3
  %166 = getelementptr inbounds float, ptr %12, i64 4
  br label %167

167:                                              ; preds = %167, %161
  %168 = phi ptr [ %165, %161 ], [ %169, %167 ]
  store float 0.000000e+00, ptr %168, align 4, !tbaa !5
  %169 = getelementptr inbounds float, ptr %168, i64 1
  %170 = icmp eq ptr %169, %166
  br i1 %170, label %171, label %167

171:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %172 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %173 = getelementptr inbounds [4 x float], ptr %11, i64 0, i64 0
  %174 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %172, ptr noundef %173, ptr noundef %174)
  %175 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0
  %176 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %177 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %178 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0
  call void @glm_project(ptr noundef %175, ptr noundef %176, ptr noundef %177, ptr noundef %178)
  br label %179

179:                                              ; preds = %171
  %180 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0
  %181 = load float, ptr %180, align 16, !tbaa !5
  %182 = getelementptr inbounds [4 x float], ptr %11, i64 0, i64 0
  %183 = load float, ptr %182, align 16, !tbaa !5
  %184 = fcmp ogt float %181, %183
  br i1 %184, label %190, label %185

185:                                              ; preds = %179
  %186 = load ptr, ptr @stderr, align 8, !tbaa !9
  %187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 46, ptr noundef @.str.972) #5
  %188 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %188, align 8, !tbaa !11
  %189 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %189, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

190:                                              ; preds = %179
  br label %191

191:                                              ; preds = %190
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192
  %194 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 1
  %195 = load float, ptr %194, align 4, !tbaa !5
  %196 = getelementptr inbounds [4 x float], ptr %11, i64 0, i64 1
  %197 = load float, ptr %196, align 4, !tbaa !5
  %198 = fcmp ogt float %195, %197
  br i1 %198, label %204, label %199

199:                                              ; preds = %193
  %200 = load ptr, ptr @stderr, align 8, !tbaa !9
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 47, ptr noundef @.str.973) #5
  %202 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %202, align 8, !tbaa !11
  %203 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %203, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

204:                                              ; preds = %193
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  %207 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %208 = getelementptr inbounds [4 x float], ptr %12, i64 0, i64 0
  %209 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %207, ptr noundef %208, ptr noundef %209)
  %210 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0
  %211 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %212 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %213 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0
  call void @glm_project(ptr noundef %210, ptr noundef %211, ptr noundef %212, ptr noundef %213)
  br label %214

214:                                              ; preds = %206
  %215 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0
  %216 = load float, ptr %215, align 16, !tbaa !5
  %217 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0
  %218 = load float, ptr %217, align 16, !tbaa !5
  %219 = fcmp olt float %216, %218
  br i1 %219, label %225, label %220

220:                                              ; preds = %214
  %221 = load ptr, ptr @stderr, align 8, !tbaa !9
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 52, ptr noundef @.str.974) #5
  %223 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %223, align 8, !tbaa !11
  %224 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %224, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

225:                                              ; preds = %214
  br label %226

226:                                              ; preds = %225
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227
  %229 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 1
  %230 = load float, ptr %229, align 4, !tbaa !5
  %231 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 1
  %232 = load float, ptr %231, align 4, !tbaa !5
  %233 = fcmp olt float %230, %232
  br i1 %233, label %239, label %234

234:                                              ; preds = %228
  %235 = load ptr, ptr @stderr, align 8, !tbaa !9
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 53, ptr noundef @.str.975) #5
  %237 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %237, align 8, !tbaa !11
  %238 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %238, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

239:                                              ; preds = %228
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  br label %242

242:                                              ; preds = %241
  %243 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %244 = getelementptr inbounds [4 x float], ptr %243, i64 0, i64 0
  %245 = call zeroext i1 @glm_vec4_isinf(ptr noundef %244)
  br i1 %245, label %246, label %251

246:                                              ; preds = %242
  %247 = load ptr, ptr @stderr, align 8, !tbaa !9
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 56, ptr noundef @.str.976) #5
  %249 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %249, align 8, !tbaa !11
  %250 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %250, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

251:                                              ; preds = %242
  br label %252

252:                                              ; preds = %251
  br label %253

253:                                              ; preds = %252
  br label %254

254:                                              ; preds = %253
  %255 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 1
  %256 = getelementptr inbounds [4 x float], ptr %255, i64 0, i64 0
  %257 = call zeroext i1 @glm_vec4_isinf(ptr noundef %256)
  br i1 %257, label %258, label %263

258:                                              ; preds = %254
  %259 = load ptr, ptr @stderr, align 8, !tbaa !9
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 57, ptr noundef @.str.977) #5
  %261 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %261, align 8, !tbaa !11
  %262 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %262, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

263:                                              ; preds = %254
  br label %264

264:                                              ; preds = %263
  br label %265

265:                                              ; preds = %264
  br label %266

266:                                              ; preds = %265
  %267 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 2
  %268 = getelementptr inbounds [4 x float], ptr %267, i64 0, i64 0
  %269 = call zeroext i1 @glm_vec4_isinf(ptr noundef %268)
  br i1 %269, label %270, label %275

270:                                              ; preds = %266
  %271 = load ptr, ptr @stderr, align 8, !tbaa !9
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 58, ptr noundef @.str.978) #5
  %273 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %273, align 8, !tbaa !11
  %274 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %274, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

275:                                              ; preds = %266
  br label %276

276:                                              ; preds = %275
  br label %277

277:                                              ; preds = %276
  br label %278

278:                                              ; preds = %277
  %279 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 3
  %280 = getelementptr inbounds [4 x float], ptr %279, i64 0, i64 0
  %281 = call zeroext i1 @glm_vec4_isinf(ptr noundef %280)
  br i1 %281, label %282, label %287

282:                                              ; preds = %278
  %283 = load ptr, ptr @stderr, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 59, ptr noundef @.str.979) #5
  %285 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %285, align 8, !tbaa !11
  %286 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %286, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

287:                                              ; preds = %278
  br label %288

288:                                              ; preds = %287
  br label %289

289:                                              ; preds = %288
  br label %290

290:                                              ; preds = %289
  %291 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %292 = getelementptr inbounds [4 x float], ptr %291, i64 0, i64 0
  %293 = call zeroext i1 @glm_vec4_isnan(ptr noundef %292)
  br i1 %293, label %294, label %299

294:                                              ; preds = %290
  %295 = load ptr, ptr @stderr, align 8, !tbaa !9
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 62, ptr noundef @.str.980) #5
  %297 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %297, align 8, !tbaa !11
  %298 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %298, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

299:                                              ; preds = %290
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  br label %302

302:                                              ; preds = %301
  %303 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 1
  %304 = getelementptr inbounds [4 x float], ptr %303, i64 0, i64 0
  %305 = call zeroext i1 @glm_vec4_isnan(ptr noundef %304)
  br i1 %305, label %306, label %311

306:                                              ; preds = %302
  %307 = load ptr, ptr @stderr, align 8, !tbaa !9
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 63, ptr noundef @.str.981) #5
  %309 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %309, align 8, !tbaa !11
  %310 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %310, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

311:                                              ; preds = %302
  br label %312

312:                                              ; preds = %311
  br label %313

313:                                              ; preds = %312
  br label %314

314:                                              ; preds = %313
  %315 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 2
  %316 = getelementptr inbounds [4 x float], ptr %315, i64 0, i64 0
  %317 = call zeroext i1 @glm_vec4_isnan(ptr noundef %316)
  br i1 %317, label %318, label %323

318:                                              ; preds = %314
  %319 = load ptr, ptr @stderr, align 8, !tbaa !9
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 64, ptr noundef @.str.982) #5
  %321 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %321, align 8, !tbaa !11
  %322 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %322, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

323:                                              ; preds = %314
  br label %324

324:                                              ; preds = %323
  br label %325

325:                                              ; preds = %324
  br label %326

326:                                              ; preds = %325
  %327 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 3
  %328 = getelementptr inbounds [4 x float], ptr %327, i64 0, i64 0
  %329 = call zeroext i1 @glm_vec4_isnan(ptr noundef %328)
  br i1 %329, label %330, label %335

330:                                              ; preds = %326
  %331 = load ptr, ptr @stderr, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 65, ptr noundef @.str.983) #5
  %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 0, ptr %334, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

335:                                              ; preds = %326
  br label %336

336:                                              ; preds = %335
  br label %337

337:                                              ; preds = %336
  %338 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %338, align 8, !tbaa !11
  %339 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %339, align 8, !tbaa !14
  store i32 1, ptr %10, align 4
  br label %340

340:                                              ; preds = %337, %330, %318, %306, %294, %282, %270, %258, %246, %234, %220, %199, %185
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br label %341

341:                                              ; preds = %340, %144, %131, %118, %105, %92, %79, %66, %53, %40, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #5
  %342 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %342
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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
@__const.test_glm_frustum.vp = external hidden unnamed_addr constant [4 x float], align 16
@.str.961 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.962 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.963 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.964 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.965 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.966 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.967 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.968 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.969 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.970 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.971 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.972 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.973 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.974 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.975 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.976 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.977 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.978 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.979 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.980 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.981 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.982 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.983 = external hidden unnamed_addr constant [27 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: alwaysinline nounwind uwtable
declare hidden zeroext i1 @glm_vec4_isnan(ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @glm_vec4_isinf(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_project(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_frustum() local_unnamed_addr #4 {
  %1 = alloca [4 x [4 x float]], align 16
  %2 = alloca [4 x float], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [4 x float], align 16
  %6 = alloca [4 x float], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_frustum.vp, i64 16, i1 false)
  call void @glm_frustum(float noundef -1.000000e+02, float noundef 1.000000e+02, float noundef -1.000000e+02, float noundef 1.000000e+02, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02, ptr noundef nonnull %1)
  %7 = getelementptr inbounds i8, ptr %1, i64 4
  %8 = load float, ptr %7, align 4, !tbaa !5
  %9 = call zeroext i1 @test_eq(float noundef %8, float noundef 0.000000e+00)
  br i1 %9, label %13, label %10

10:                                               ; preds = %0
  %11 = load ptr, ptr @stderr, align 8, !tbaa !9
  %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 24, ptr noundef nonnull @.str.962) #6
  br label %149

13:                                               ; preds = %0
  %14 = getelementptr inbounds i8, ptr %1, i64 8
  %15 = load float, ptr %14, align 8, !tbaa !5
  %16 = call zeroext i1 @test_eq(float noundef %15, float noundef 0.000000e+00)
  br i1 %16, label %20, label %17

17:                                               ; preds = %13
  %18 = load ptr, ptr @stderr, align 8, !tbaa !9
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 25, ptr noundef nonnull @.str.963) #6
  br label %149

20:                                               ; preds = %13
  %21 = getelementptr inbounds i8, ptr %1, i64 12
  %22 = load float, ptr %21, align 4, !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 = %20
  %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.961, i32 noundef 26, ptr noundef nonnull @.str.964) #6
  br label %149

27:                                               ; preds = %20
  %28 = getelementptr inbounds i8, ptr %1, i64 16
  %29 = load float, ptr %28, align 16, !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.961, i32 noundef 28, ptr noundef nonnull @.str.965) #6
  br label %149

34:                                               ; preds = %27
  %35 = getelementptr inbounds i8, ptr %1, i64 24
  %36 = load float, ptr %35, align 8, !tbaa !5
  %37 = call zeroext i1 @test_eq(float noundef %36, float noundef 0.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.961, i32 noundef 29, ptr noundef nonnull @.str.966) #6
  br label %149

41:                                               ; preds = %34
  %42 = getelementptr inbounds i8, ptr %1, i64 28
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = call zeroext i1 @test_eq(float noundef %43, float noundef 0.000000e+00)
  br i1 %44, label %48, label %45

45:                                               ; preds = %41
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 30, ptr noundef nonnull @.str.967) #6
  br label %149

48:                                               ; preds = %41
  %49 = getelementptr inbounds i8, ptr %1, i64 32
  %50 = getelementptr inbounds i8, ptr %1, i64 44
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = call zeroext i1 @test_eq(float noundef %51, float noundef -1.000000e+00)
  br i1 %52, label %56, label %53

53:                                               ; preds = %48
  %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.961, i32 noundef 32, ptr noundef nonnull @.str.968) #6
  br label %149

56:                                               ; preds = %48
  %57 = getelementptr inbounds i8, ptr %1, i64 48
  %58 = load float, ptr %57, align 16, !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 = %56
  %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.961, i32 noundef 34, ptr noundef nonnull @.str.969) #6
  br label %149

63:                                               ; preds = %56
  %64 = getelementptr inbounds i8, ptr %1, i64 52
  %65 = load float, ptr %64, align 4, !tbaa !5
  %66 = call zeroext i1 @test_eq(float noundef %65, float noundef 0.000000e+00)
  br i1 %66, label %70, label %67

67:                                               ; preds = %63
  %68 = load ptr, ptr @stderr, align 8, !tbaa !9
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 35, ptr noundef nonnull @.str.970) #6
  br label %149

70:                                               ; preds = %63
  %71 = getelementptr inbounds i8, ptr %1, i64 60
  %72 = load float, ptr %71, align 4, !tbaa !5
  %73 = call zeroext i1 @test_eq(float noundef %72, float noundef 0.000000e+00)
  br i1 %73, label %77, label %74

74:                                               ; preds = %70
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 36, ptr noundef nonnull @.str.971) #6
  br label %149

77:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  store <4 x float> <float 1.000000e+00, float 2.000000e+01, float 0x3FB99999A0000000, float 0.000000e+00>, ptr %3, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  store <4 x float> <float 1.000000e+00, float 2.000000e+01, float 1.000000e+02, float 0.000000e+00>, ptr %4, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %5)
  call void @glm_project(ptr noundef nonnull %5, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %5)
  %78 = load float, ptr %5, align 16, !tbaa !5
  %79 = load float, ptr %3, align 16, !tbaa !5
  %80 = fcmp ogt float %78, %79
  br i1 %80, label %84, label %81

81:                                               ; preds = %77
  %82 = load ptr, ptr @stderr, align 8, !tbaa !9
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 46, ptr noundef nonnull @.str.972) #6
  br label %148

84:                                               ; preds = %77
  %85 = getelementptr inbounds i8, ptr %3, i64 4
  %86 = getelementptr inbounds i8, ptr %5, i64 4
  %87 = load float, ptr %86, align 4, !tbaa !5
  %88 = load float, ptr %85, align 4, !tbaa !5
  %89 = fcmp ogt float %87, %88
  br i1 %89, label %93, label %90

90:                                               ; preds = %84
  %91 = load ptr, ptr @stderr, align 8, !tbaa !9
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 47, ptr noundef nonnull @.str.973) #6
  br label %148

93:                                               ; preds = %84
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %6)
  call void @glm_project(ptr noundef nonnull %6, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %6)
  %94 = load float, ptr %6, align 16, !tbaa !5
  %95 = load float, ptr %5, align 16, !tbaa !5
  %96 = fcmp olt float %94, %95
  br i1 %96, label %100, label %97

97:                                               ; preds = %93
  %98 = load ptr, ptr @stderr, align 8, !tbaa !9
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 52, ptr noundef nonnull @.str.974) #6
  br label %148

100:                                              ; preds = %93
  %101 = getelementptr inbounds i8, ptr %6, i64 4
  %102 = load float, ptr %101, align 4, !tbaa !5
  %103 = load float, ptr %86, align 4, !tbaa !5
  %104 = fcmp olt float %102, %103
  br i1 %104, label %108, label %105

105:                                              ; preds = %100
  %106 = load ptr, ptr @stderr, align 8, !tbaa !9
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 53, ptr noundef nonnull @.str.975) #6
  br label %148

108:                                              ; preds = %100
  %109 = call zeroext i1 @glm_vec4_isinf(ptr noundef nonnull %1)
  br i1 %109, label %110, label %113

110:                                              ; preds = %108
  %111 = load ptr, ptr @stderr, align 8, !tbaa !9
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 56, ptr noundef nonnull @.str.976) #6
  br label %148

113:                                              ; preds = %108
  %114 = call zeroext i1 @glm_vec4_isinf(ptr noundef nonnull %28)
  br i1 %114, label %115, label %118

115:                                              ; preds = %113
  %116 = load ptr, ptr @stderr, align 8, !tbaa !9
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 57, ptr noundef nonnull @.str.977) #6
  br label %148

118:                                              ; preds = %113
  %119 = call zeroext i1 @glm_vec4_isinf(ptr noundef nonnull %49)
  br i1 %119, label %120, label %123

120:                                              ; preds = %118
  %121 = load ptr, ptr @stderr, align 8, !tbaa !9
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 58, ptr noundef nonnull @.str.978) #6
  br label %148

123:                                              ; preds = %118
  %124 = call zeroext i1 @glm_vec4_isinf(ptr noundef nonnull %57)
  br i1 %124, label %125, label %128

125:                                              ; preds = %123
  %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.961, i32 noundef 59, ptr noundef nonnull @.str.979) #6
  br label %148

128:                                              ; preds = %123
  %129 = call zeroext i1 @glm_vec4_isnan(ptr noundef nonnull %1)
  br i1 %129, label %130, label %133

130:                                              ; preds = %128
  %131 = load ptr, ptr @stderr, align 8, !tbaa !9
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 62, ptr noundef nonnull @.str.980) #6
  br label %148

133:                                              ; preds = %128
  %134 = call zeroext i1 @glm_vec4_isnan(ptr noundef nonnull %28)
  br i1 %134, label %135, label %138

135:                                              ; preds = %133
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 63, ptr noundef nonnull @.str.981) #6
  br label %148

138:                                              ; preds = %133
  %139 = call zeroext i1 @glm_vec4_isnan(ptr noundef nonnull %49)
  br i1 %139, label %140, label %143

140:                                              ; preds = %138
  %141 = load ptr, ptr @stderr, align 8, !tbaa !9
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 64, ptr noundef nonnull @.str.982) #6
  br label %148

143:                                              ; preds = %138
  %144 = call zeroext i1 @glm_vec4_isnan(ptr noundef nonnull %57)
  br i1 %144, label %145, label %148

145:                                              ; preds = %143
  %146 = load ptr, ptr @stderr, align 8, !tbaa !9
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 65, ptr noundef nonnull @.str.983) #6
  br label %148

148:                                              ; preds = %143, %145, %140, %135, %130, %125, %120, %115, %110, %105, %97, %90, %81
  %.sroa.24.0 = phi i32 [ 0, %110 ], [ 0, %115 ], [ 0, %120 ], [ 0, %125 ], [ 0, %130 ], [ 0, %135 ], [ 0, %140 ], [ 0, %145 ], [ 0, %105 ], [ 0, %97 ], [ 0, %90 ], [ 0, %81 ], [ 1, %143 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  br label %149

149:                                              ; preds = %148, %74, %67, %60, %53, %45, %38, %31, %24, %17, %10
  %.sroa.24.1 = phi i32 [ %.sroa.24.0, %148 ], [ 0, %74 ], [ 0, %67 ], [ 0, %60 ], [ 0, %53 ], [ 0, %45 ], [ 0, %38 ], [ 0, %31 ], [ 0, %24 ], [ 0, %17 ], [ 0, %10 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #5
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.24.1, 1
  ret { ptr, i32 } %.fca.1.insert
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_frustum(float noundef, float noundef, float noundef, float noundef, float 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,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass