; LLVM IR from recp/cglm :: test/src (tests)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.test_status_t = type { ptr, i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.895 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.922 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.923 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.924 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.925 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.926 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.927 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.928 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.929 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.930 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.931 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.932 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.933 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.934 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.935 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_decompose() #6 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x [4 x float]], align 16
  %4 = alloca [4 x [4 x float]], align 16
  %5 = alloca [4 x float], align 16
  %6 = alloca [3 x float], align 4
  %7 = alloca [3 x float], align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.test_status_t, align 8
  %10 = alloca %struct.test_status_t, align 8
  %11 = alloca [3 x float], align 4
  %12 = alloca %struct.test_status_t, align 8
  %13 = alloca %struct.test_status_t, align 8
  %14 = alloca [3 x float], align 4
  %15 = alloca %struct.test_status_t, align 8
  %16 = alloca %struct.test_status_t, align 8
  %17 = alloca [3 x float], align 4
  %18 = alloca [3 x float], align 4
  %19 = alloca [3 x float], align 4
  %20 = alloca %struct.test_status_t, align 8
  %21 = alloca %struct.test_status_t, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #7
  %22 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 7.000000e+00, ptr %7, align 4, !tbaa !5
  %23 = getelementptr inbounds float, ptr %7, i64 1
  store float 8.000000e+00, ptr %23, align 4, !tbaa !5
  %24 = getelementptr inbounds float, ptr %7, i64 2
  store float 9.000000e+00, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  call void @glm_scale_make(ptr noundef %22, ptr noundef %25)
  %26 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %27 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %28 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %29 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_decompose(ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29)
  br label %30

30:                                               ; preds = %0
  %31 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  %32 = load float, ptr %31, align 4, !tbaa !5
  %33 = call zeroext i1 @test_eq(float noundef %32, float noundef 7.000000e+00)
  br i1 %33, label %39, label %34

34:                                               ; preds = %30
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 587, ptr noundef @.str.924) #7
  %37 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %37, align 8, !tbaa !11
  %38 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %38, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

39:                                               ; preds = %30
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40
  br label %42

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

46:                                               ; preds = %42
  %47 = load ptr, ptr @stderr, align 8, !tbaa !9
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 588, ptr noundef @.str.925) #7
  %49 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %49, align 8, !tbaa !11
  %50 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %50, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

51:                                               ; preds = %42
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  %55 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = call zeroext i1 @test_eq(float noundef %56, float noundef 9.000000e+00)
  br i1 %57, label %63, label %58

58:                                               ; preds = %54
  %59 = load ptr, ptr @stderr, align 8, !tbaa !9
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 589, ptr noundef @.str.926) #7
  %61 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %61, align 8, !tbaa !11
  %62 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %62, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

63:                                               ; preds = %54
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %67 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %68 = call { ptr, i32 } @test_assert_mat4_eq_identity(ptr noundef %67)
  %69 = getelementptr inbounds { ptr, i32 }, ptr %10, i32 0, i32 0
  %70 = extractvalue { ptr, i32 } %68, 0
  store ptr %70, ptr %69, align 8
  %71 = getelementptr inbounds { ptr, i32 }, ptr %10, i32 0, i32 1
  %72 = extractvalue { ptr, i32 } %68, 1
  store i32 %72, ptr %71, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  %73 = getelementptr inbounds %struct.test_status_t, ptr %9, i32 0, i32 1
  %74 = load i32, ptr %73, align 8, !tbaa !14
  %75 = icmp ne i32 %74, 1
  br i1 %75, label %76, label %83

76:                                               ; preds = %66
  %77 = load ptr, ptr @stderr, align 8, !tbaa !9
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.13, ptr noundef @.str.895, i32 noundef 590, ptr noundef @.str.922) #7
  %79 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %80 = getelementptr inbounds %struct.test_status_t, ptr %9, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !11
  store ptr %81, ptr %79, align 8, !tbaa !11
  %82 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %82, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %84

83:                                               ; preds = %66
  store i32 0, ptr %8, align 4
  br label %84

84:                                               ; preds = %83, %76
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  %85 = load i32, ptr %8, align 4
  switch i32 %85, label %353 [
    i32 0, label %86
  ]

86:                                               ; preds = %84
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  %89 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 7.000000e+00, ptr %11, align 4, !tbaa !5
  %90 = getelementptr inbounds float, ptr %11, i64 1
  store float 8.000000e+00, ptr %90, align 4, !tbaa !5
  %91 = getelementptr inbounds float, ptr %11, i64 2
  store float 9.000000e+00, ptr %91, align 4, !tbaa !5
  %92 = getelementptr inbounds [3 x float], ptr %11, i64 0, i64 0
  call void @glm_scale(ptr noundef %89, ptr noundef %92)
  %93 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %94 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %95 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %96 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_decompose(ptr noundef %93, ptr noundef %94, ptr noundef %95, ptr noundef %96)
  br label %97

97:                                               ; preds = %88
  %98 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  %99 = load float, ptr %98, align 4, !tbaa !5
  %100 = call zeroext i1 @test_eq(float noundef %99, float noundef 4.900000e+01)
  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.895, i32 noundef 595, ptr noundef @.str.927) #7
  %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 %8, align 4
  br label %353

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 %6, i64 0, i64 1
  %111 = load float, ptr %110, align 4, !tbaa !5
  %112 = call zeroext i1 @test_eq(float noundef %111, float noundef 6.400000e+01)
  br i1 %112, label %118, label %113

113:                                              ; preds = %109
  %114 = load ptr, ptr @stderr, align 8, !tbaa !9
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 596, ptr noundef @.str.928) #7
  %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 %8, align 4
  br label %353

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 %6, i64 0, i64 2
  %123 = load float, ptr %122, align 4, !tbaa !5
  %124 = call zeroext i1 @test_eq(float noundef %123, float noundef 8.100000e+01)
  br i1 %124, label %130, label %125

125:                                              ; preds = %121
  %126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 597, ptr noundef @.str.929) #7
  %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 %8, align 4
  br label %353

130:                                              ; preds = %121
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  %134 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %135 = call { ptr, i32 } @test_assert_mat4_eq_identity(ptr noundef %134)
  %136 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 0
  %137 = extractvalue { ptr, i32 } %135, 0
  store ptr %137, ptr %136, align 8
  %138 = getelementptr inbounds { ptr, i32 }, ptr %13, i32 0, i32 1
  %139 = extractvalue { ptr, i32 } %135, 1
  store i32 %139, ptr %138, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %13, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  %140 = getelementptr inbounds %struct.test_status_t, ptr %12, i32 0, i32 1
  %141 = load i32, ptr %140, align 8, !tbaa !14
  %142 = icmp ne i32 %141, 1
  br i1 %142, label %143, label %150

143:                                              ; preds = %133
  %144 = load ptr, ptr @stderr, align 8, !tbaa !9
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.13, ptr noundef @.str.895, i32 noundef 598, ptr noundef @.str.922) #7
  %146 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %147 = getelementptr inbounds %struct.test_status_t, ptr %12, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8, !tbaa !11
  store ptr %148, ptr %146, align 8, !tbaa !11
  %149 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %149, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %151

150:                                              ; preds = %133
  store i32 0, ptr %8, align 4
  br label %151

151:                                              ; preds = %150, %143
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  %152 = load i32, ptr %8, align 4
  switch i32 %152, label %353 [
    i32 0, label %153
  ]

153:                                              ; preds = %151
  br label %154

154:                                              ; preds = %153
  br label %155

155:                                              ; preds = %154
  %156 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 2.300000e+01, ptr %14, align 4, !tbaa !5
  %157 = getelementptr inbounds float, ptr %14, i64 1
  store float 4.500000e+01, ptr %157, align 4, !tbaa !5
  %158 = getelementptr inbounds float, ptr %14, i64 2
  store float 6.600000e+01, ptr %158, align 4, !tbaa !5
  %159 = getelementptr inbounds [3 x float], ptr %14, i64 0, i64 0
  call void @glm_rotate(ptr noundef %156, float noundef 0x3FE921FB60000000, ptr noundef %159)
  br label %160

160:                                              ; preds = %155
  %161 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  %162 = load float, ptr %161, align 4, !tbaa !5
  %163 = call zeroext i1 @test_eq(float noundef %162, float noundef 4.900000e+01)
  br i1 %163, label %169, label %164

164:                                              ; preds = %160
  %165 = load ptr, ptr @stderr, align 8, !tbaa !9
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 601, ptr noundef @.str.927) #7
  %167 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %167, align 8, !tbaa !11
  %168 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %168, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

169:                                              ; preds = %160
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  %173 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1
  %174 = load float, ptr %173, align 4, !tbaa !5
  %175 = call zeroext i1 @test_eq(float noundef %174, float noundef 6.400000e+01)
  br i1 %175, label %181, label %176

176:                                              ; preds = %172
  %177 = load ptr, ptr @stderr, align 8, !tbaa !9
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 602, ptr noundef @.str.928) #7
  %179 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %179, align 8, !tbaa !11
  %180 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %180, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

181:                                              ; preds = %172
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182
  br label %184

184:                                              ; preds = %183
  %185 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2
  %186 = load float, ptr %185, align 4, !tbaa !5
  %187 = call zeroext i1 @test_eq(float noundef %186, float noundef 8.100000e+01)
  br i1 %187, label %193, label %188

188:                                              ; preds = %184
  %189 = load ptr, ptr @stderr, align 8, !tbaa !9
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 603, ptr noundef @.str.929) #7
  %191 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %191, align 8, !tbaa !11
  %192 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %192, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

193:                                              ; preds = %184
  br label %194

194:                                              ; preds = %193
  br label %195

195:                                              ; preds = %194
  %196 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %197 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %198 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %199 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_decompose(ptr noundef %196, ptr noundef %197, ptr noundef %198, ptr noundef %199)
  %200 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_mat4_identity(ptr noundef %200)
  %201 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %202 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %203 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_mat4_mul(ptr noundef %201, ptr noundef %202, ptr noundef %203)
  %204 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %205 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_scale(ptr noundef %204, ptr noundef %205)
  br label %206

206:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  %207 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %208 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %209 = call { ptr, i32 } @test_assert_mat4_eq2(ptr noundef %207, ptr noundef %208, float noundef 0x3EE4F8B580000000)
  %210 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 0
  %211 = extractvalue { ptr, i32 } %209, 0
  store ptr %211, ptr %210, align 8
  %212 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 1
  %213 = extractvalue { ptr, i32 } %209, 1
  store i32 %213, ptr %212, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  %214 = getelementptr inbounds %struct.test_status_t, ptr %15, i32 0, i32 1
  %215 = load i32, ptr %214, align 8, !tbaa !14
  %216 = icmp ne i32 %215, 1
  br i1 %216, label %217, label %224

217:                                              ; preds = %206
  %218 = load ptr, ptr @stderr, align 8, !tbaa !9
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.13, ptr noundef @.str.895, i32 noundef 610, ptr noundef @.str.923) #7
  %220 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %221 = getelementptr inbounds %struct.test_status_t, ptr %15, i32 0, i32 0
  %222 = load ptr, ptr %221, align 8, !tbaa !11
  store ptr %222, ptr %220, align 8, !tbaa !11
  %223 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %223, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %225

224:                                              ; preds = %206
  store i32 0, ptr %8, align 4
  br label %225

225:                                              ; preds = %224, %217
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  %226 = load i32, ptr %8, align 4
  switch i32 %226, label %353 [
    i32 0, label %227
  ]

227:                                              ; preds = %225
  br label %228

228:                                              ; preds = %227
  br label %229

229:                                              ; preds = %228
  %230 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_mat4_identity(ptr noundef %230)
  %231 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 5.600000e+01, ptr %17, align 4, !tbaa !5
  %232 = getelementptr inbounds float, ptr %17, i64 1
  store float 1.300000e+01, ptr %232, align 4, !tbaa !5
  %233 = getelementptr inbounds float, ptr %17, i64 2
  store float 9.000000e+01, ptr %233, align 4, !tbaa !5
  %234 = getelementptr inbounds [3 x float], ptr %17, i64 0, i64 0
  call void @glm_translate(ptr noundef %231, ptr noundef %234)
  %235 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 2.300000e+01, ptr %18, align 4, !tbaa !5
  %236 = getelementptr inbounds float, ptr %18, i64 1
  store float 4.500000e+01, ptr %236, align 4, !tbaa !5
  %237 = getelementptr inbounds float, ptr %18, i64 2
  store float 6.600000e+01, ptr %237, align 4, !tbaa !5
  %238 = getelementptr inbounds [3 x float], ptr %18, i64 0, i64 0
  call void @glm_rotate(ptr noundef %235, float noundef 0x3FE921FB60000000, ptr noundef %238)
  %239 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 1.200000e+01, ptr %19, align 4, !tbaa !5
  %240 = getelementptr inbounds float, ptr %19, i64 1
  store float 3.400000e+01, ptr %240, align 4, !tbaa !5
  %241 = getelementptr inbounds float, ptr %19, i64 2
  store float 2.300000e+01, ptr %241, align 4, !tbaa !5
  %242 = getelementptr inbounds [3 x float], ptr %19, i64 0, i64 0
  call void @glm_scale(ptr noundef %239, ptr noundef %242)
  %243 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %244 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %245 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %246 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_decompose(ptr noundef %243, ptr noundef %244, ptr noundef %245, ptr noundef %246)
  br label %247

247:                                              ; preds = %229
  %248 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %249 = load float, ptr %248, align 16, !tbaa !5
  %250 = call zeroext i1 @test_eq(float noundef %249, float noundef 5.600000e+01)
  br i1 %250, label %256, label %251

251:                                              ; preds = %247
  %252 = load ptr, ptr @stderr, align 8, !tbaa !9
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 619, ptr noundef @.str.930) #7
  %254 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %254, align 8, !tbaa !11
  %255 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %255, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

256:                                              ; preds = %247
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258
  %260 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %261 = load float, ptr %260, align 4, !tbaa !5
  %262 = call zeroext i1 @test_eq(float noundef %261, float noundef 1.300000e+01)
  br i1 %262, label %268, label %263

263:                                              ; preds = %259
  %264 = load ptr, ptr @stderr, align 8, !tbaa !9
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %264, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 620, ptr noundef @.str.931) #7
  %266 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %266, align 8, !tbaa !11
  %267 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %267, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

268:                                              ; preds = %259
  br label %269

269:                                              ; preds = %268
  br label %270

270:                                              ; preds = %269
  br label %271

271:                                              ; preds = %270
  %272 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %273 = load float, ptr %272, align 8, !tbaa !5
  %274 = call zeroext i1 @test_eq(float noundef %273, float noundef 9.000000e+01)
  br i1 %274, label %280, label %275

275:                                              ; preds = %271
  %276 = load ptr, ptr @stderr, align 8, !tbaa !9
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %276, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 621, ptr noundef @.str.932) #7
  %278 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %278, align 8, !tbaa !11
  %279 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %279, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

280:                                              ; preds = %271
  br label %281

281:                                              ; preds = %280
  br label %282

282:                                              ; preds = %281
  br label %283

283:                                              ; preds = %282
  %284 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  %285 = load float, ptr %284, align 4, !tbaa !5
  %286 = call zeroext i1 @test_eq(float noundef %285, float noundef 1.200000e+01)
  br i1 %286, label %292, label %287

287:                                              ; preds = %283
  %288 = load ptr, ptr @stderr, align 8, !tbaa !9
  %289 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %288, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 623, ptr noundef @.str.933) #7
  %290 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %290, align 8, !tbaa !11
  %291 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %291, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

292:                                              ; preds = %283
  br label %293

293:                                              ; preds = %292
  br label %294

294:                                              ; preds = %293
  br label %295

295:                                              ; preds = %294
  %296 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 1
  %297 = load float, ptr %296, align 4, !tbaa !5
  %298 = call zeroext i1 @test_eq(float noundef %297, float noundef 3.400000e+01)
  br i1 %298, label %304, label %299

299:                                              ; preds = %295
  %300 = load ptr, ptr @stderr, align 8, !tbaa !9
  %301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %300, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 624, ptr noundef @.str.934) #7
  %302 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %302, align 8, !tbaa !11
  %303 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %303, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

304:                                              ; preds = %295
  br label %305

305:                                              ; preds = %304
  br label %306

306:                                              ; preds = %305
  br label %307

307:                                              ; preds = %306
  %308 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 2
  %309 = load float, ptr %308, align 4, !tbaa !5
  %310 = call zeroext i1 @test_eq(float noundef %309, float noundef 2.300000e+01)
  br i1 %310, label %316, label %311

311:                                              ; preds = %307
  %312 = load ptr, ptr @stderr, align 8, !tbaa !9
  %313 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %312, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 625, ptr noundef @.str.935) #7
  %314 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %314, align 8, !tbaa !11
  %315 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %315, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

316:                                              ; preds = %307
  br label %317

317:                                              ; preds = %316
  br label %318

318:                                              ; preds = %317
  %319 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_mat4_identity(ptr noundef %319)
  %320 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %321 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  call void @glm_translate(ptr noundef %320, ptr noundef %321)
  %322 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %323 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 0
  %324 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_mat4_mul(ptr noundef %322, ptr noundef %323, ptr noundef %324)
  %325 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %326 = getelementptr inbounds [3 x float], ptr %6, i64 0, i64 0
  call void @glm_scale(ptr noundef %325, ptr noundef %326)
  br label %327

327:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  %328 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %329 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %330 = call { ptr, i32 } @test_assert_mat4_eq2(ptr noundef %328, ptr noundef %329, float noundef 0x3EE4F8B580000000)
  %331 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 0
  %332 = extractvalue { ptr, i32 } %330, 0
  store ptr %332, ptr %331, align 8
  %333 = getelementptr inbounds { ptr, i32 }, ptr %21, i32 0, i32 1
  %334 = extractvalue { ptr, i32 } %330, 1
  store i32 %334, ptr %333, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  %335 = getelementptr inbounds %struct.test_status_t, ptr %20, i32 0, i32 1
  %336 = load i32, ptr %335, align 8, !tbaa !14
  %337 = icmp ne i32 %336, 1
  br i1 %337, label %338, label %345

338:                                              ; preds = %327
  %339 = load ptr, ptr @stderr, align 8, !tbaa !9
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %339, ptr noundef @.str.13, ptr noundef @.str.895, i32 noundef 631, ptr noundef @.str.923) #7
  %341 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %342 = getelementptr inbounds %struct.test_status_t, ptr %20, i32 0, i32 0
  %343 = load ptr, ptr %342, align 8, !tbaa !11
  store ptr %343, ptr %341, align 8, !tbaa !11
  %344 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %344, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %346

345:                                              ; preds = %327
  store i32 0, ptr %8, align 4
  br label %346

346:                                              ; preds = %345, %338
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  %347 = load i32, ptr %8, align 4
  switch i32 %347, label %353 [
    i32 0, label %348
  ]

348:                                              ; preds = %346
  br label %349

349:                                              ; preds = %348
  br label %350

350:                                              ; preds = %349
  %351 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %351, align 8, !tbaa !11
  %352 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %352, align 8, !tbaa !14
  store i32 1, ptr %8, align 4
  br label %353

353:                                              ; preds = %350, %346, %311, %299, %287, %275, %263, %251, %225, %188, %176, %164, %151, %125, %113, %101, %84, %58, %46, %34
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #7
  %354 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %354
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { alwaysinline nounwind uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

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


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.895 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.922 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.923 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.924 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.925 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.926 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.927 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.928 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.929 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.930 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.931 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.932 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.933 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.934 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.935 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_decompose() local_unnamed_addr #5 {
  %1 = alloca [4 x [4 x float]], align 16
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x [4 x float]], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [3 x float], align 4
  %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
  %11 = alloca [3 x float], align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  store <2 x float> <float 7.000000e+00, float 8.000000e+00>, ptr %6, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %6, i64 8
  store float 9.000000e+00, ptr %12, align 8, !tbaa !5
  call void @glm_scale_make(ptr noundef nonnull %1, ptr noundef nonnull %6)
  call void @glm_decompose(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %5)
  %13 = load float, ptr %5, align 4, !tbaa !5
  %14 = call zeroext i1 @test_eq(float noundef %13, float noundef 7.000000e+00)
  br i1 %14, label %18, label %15

15:                                               ; preds = %0
  %16 = load ptr, ptr @stderr, align 8, !tbaa !9
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 587, ptr noundef nonnull @.str.924) #7
  br label %139

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

22:                                               ; preds = %18
  %23 = load ptr, ptr @stderr, align 8, !tbaa !9
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 588, ptr noundef nonnull @.str.925) #7
  br label %139

25:                                               ; preds = %18
  %26 = getelementptr inbounds i8, ptr %5, i64 8
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = call zeroext i1 @test_eq(float noundef %27, float noundef 9.000000e+00)
  br i1 %28, label %32, label %29

29:                                               ; preds = %25
  %30 = load ptr, ptr @stderr, align 8, !tbaa !9
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 589, ptr noundef nonnull @.str.926) #7
  br label %139

32:                                               ; preds = %25
  %33 = call { ptr, i32 } @test_assert_mat4_eq_identity(ptr noundef nonnull %3) #6
  %34 = extractvalue { ptr, i32 } %33, 1
  %.not = icmp eq i32 %34, 1
  br i1 %.not, label %.critedge, label %35

35:                                               ; preds = %32
  %36 = extractvalue { ptr, i32 } %33, 0
  %37 = load ptr, ptr @stderr, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.895, i32 noundef 590, ptr noundef nonnull @.str.922) #7
  br label %139

.critedge:                                        ; preds = %32
  store <2 x float> <float 7.000000e+00, float 8.000000e+00>, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %7, i64 8
  store float 9.000000e+00, ptr %39, align 8, !tbaa !5
  call void @glm_scale(ptr noundef nonnull %1, ptr noundef nonnull %7)
  call void @glm_decompose(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %5)
  %40 = load float, ptr %5, align 4, !tbaa !5
  %41 = call zeroext i1 @test_eq(float noundef %40, float noundef 4.900000e+01)
  br i1 %41, label %45, label %42

42:                                               ; preds = %.critedge
  %43 = load ptr, ptr @stderr, align 8, !tbaa !9
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 595, ptr noundef nonnull @.str.927) #7
  br label %139

45:                                               ; preds = %.critedge
  %46 = load float, ptr %19, align 4, !tbaa !5
  %47 = call zeroext i1 @test_eq(float noundef %46, float noundef 6.400000e+01)
  br i1 %47, label %51, label %48

48:                                               ; preds = %45
  %49 = load ptr, ptr @stderr, align 8, !tbaa !9
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 596, ptr noundef nonnull @.str.928) #7
  br label %139

51:                                               ; preds = %45
  %52 = load float, ptr %26, align 4, !tbaa !5
  %53 = call zeroext i1 @test_eq(float noundef %52, float noundef 8.100000e+01)
  br i1 %53, label %57, label %54

54:                                               ; preds = %51
  %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.895, i32 noundef 597, ptr noundef nonnull @.str.929) #7
  br label %139

57:                                               ; preds = %51
  %58 = call { ptr, i32 } @test_assert_mat4_eq_identity(ptr noundef nonnull %3) #6
  %59 = extractvalue { ptr, i32 } %58, 1
  %.not28 = icmp eq i32 %59, 1
  br i1 %.not28, label %64, label %60

60:                                               ; preds = %57
  %61 = extractvalue { ptr, i32 } %58, 0
  %62 = load ptr, ptr @stderr, align 8, !tbaa !9
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.895, i32 noundef 598, ptr noundef nonnull @.str.922) #7
  br label %139

64:                                               ; preds = %57
  store <2 x float> <float 2.300000e+01, float 4.500000e+01>, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %8, i64 8
  store float 6.600000e+01, ptr %65, align 8, !tbaa !5
  call void @glm_rotate(ptr noundef nonnull %1, float noundef 0x3FE921FB60000000, ptr noundef nonnull %8)
  %66 = load float, ptr %5, align 4, !tbaa !5
  %67 = call zeroext i1 @test_eq(float noundef %66, float noundef 4.900000e+01)
  br i1 %67, label %71, label %68

68:                                               ; preds = %64
  %69 = load ptr, ptr @stderr, align 8, !tbaa !9
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 601, ptr noundef nonnull @.str.927) #7
  br label %139

71:                                               ; preds = %64
  %72 = load float, ptr %19, align 4, !tbaa !5
  %73 = call zeroext i1 @test_eq(float noundef %72, float noundef 6.400000e+01)
  br i1 %73, label %77, label %74

74:                                               ; preds = %71
  %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.895, i32 noundef 602, ptr noundef nonnull @.str.928) #7
  br label %139

77:                                               ; preds = %71
  %78 = load float, ptr %26, align 4, !tbaa !5
  %79 = call zeroext i1 @test_eq(float noundef %78, float noundef 8.100000e+01)
  br i1 %79, label %83, label %80

80:                                               ; preds = %77
  %81 = load ptr, ptr @stderr, align 8, !tbaa !9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 603, ptr noundef nonnull @.str.929) #7
  br label %139

83:                                               ; preds = %77
  call void @glm_decompose(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %5)
  call void @glm_mat4_identity(ptr noundef nonnull %2)
  call void @glm_mat4_mul(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %2)
  call void @glm_scale(ptr noundef nonnull %2, ptr noundef nonnull %5)
  %84 = call { ptr, i32 } @test_assert_mat4_eq2(ptr noundef nonnull %1, ptr noundef nonnull %2, float noundef 0x3EE4F8B580000000) #6
  %85 = extractvalue { ptr, i32 } %84, 1
  %.not29 = icmp eq i32 %85, 1
  br i1 %.not29, label %90, label %86

86:                                               ; preds = %83
  %87 = extractvalue { ptr, i32 } %84, 0
  %88 = load ptr, ptr @stderr, align 8, !tbaa !9
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.895, i32 noundef 610, ptr noundef nonnull @.str.923) #7
  br label %139

90:                                               ; preds = %83
  call void @glm_mat4_identity(ptr noundef nonnull %1)
  store <2 x float> <float 5.600000e+01, float 1.300000e+01>, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %9, i64 8
  store float 9.000000e+01, ptr %91, align 8, !tbaa !5
  call void @glm_translate(ptr noundef nonnull %1, ptr noundef nonnull %9)
  store <2 x float> <float 2.300000e+01, float 4.500000e+01>, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %10, i64 8
  store float 6.600000e+01, ptr %92, align 8, !tbaa !5
  call void @glm_rotate(ptr noundef nonnull %1, float noundef 0x3FE921FB60000000, ptr noundef nonnull %10)
  store <2 x float> <float 1.200000e+01, float 3.400000e+01>, ptr %11, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %11, i64 8
  store float 2.300000e+01, ptr %93, align 8, !tbaa !5
  call void @glm_scale(ptr noundef nonnull %1, ptr noundef nonnull %11)
  call void @glm_decompose(ptr noundef nonnull %1, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %5)
  %94 = load float, ptr %4, align 16, !tbaa !5
  %95 = call zeroext i1 @test_eq(float noundef %94, float noundef 5.600000e+01)
  br i1 %95, label %99, label %96

96:                                               ; preds = %90
  %97 = load ptr, ptr @stderr, align 8, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 619, ptr noundef nonnull @.str.930) #7
  br label %139

99:                                               ; preds = %90
  %100 = getelementptr inbounds i8, ptr %4, i64 4
  %101 = load float, ptr %100, align 4, !tbaa !5
  %102 = call zeroext i1 @test_eq(float noundef %101, float noundef 1.300000e+01)
  br i1 %102, label %106, label %103

103:                                              ; preds = %99
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 620, ptr noundef nonnull @.str.931) #7
  br label %139

106:                                              ; preds = %99
  %107 = getelementptr inbounds i8, ptr %4, i64 8
  %108 = load float, ptr %107, align 8, !tbaa !5
  %109 = call zeroext i1 @test_eq(float noundef %108, float noundef 9.000000e+01)
  br i1 %109, label %113, label %110

110:                                              ; preds = %106
  %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.895, i32 noundef 621, ptr noundef nonnull @.str.932) #7
  br label %139

113:                                              ; preds = %106
  %114 = load float, ptr %5, align 4, !tbaa !5
  %115 = call zeroext i1 @test_eq(float noundef %114, float noundef 1.200000e+01)
  br i1 %115, label %119, label %116

116:                                              ; preds = %113
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 623, ptr noundef nonnull @.str.933) #7
  br label %139

119:                                              ; preds = %113
  %120 = load float, ptr %19, align 4, !tbaa !5
  %121 = call zeroext i1 @test_eq(float noundef %120, float noundef 3.400000e+01)
  br i1 %121, label %125, label %122

122:                                              ; preds = %119
  %123 = load ptr, ptr @stderr, align 8, !tbaa !9
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 624, ptr noundef nonnull @.str.934) #7
  br label %139

125:                                              ; preds = %119
  %126 = load float, ptr %26, align 4, !tbaa !5
  %127 = call zeroext i1 @test_eq(float noundef %126, float noundef 2.300000e+01)
  br i1 %127, label %131, label %128

128:                                              ; preds = %125
  %129 = load ptr, ptr @stderr, align 8, !tbaa !9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 625, ptr noundef nonnull @.str.935) #7
  br label %139

131:                                              ; preds = %125
  call void @glm_mat4_identity(ptr noundef nonnull %2)
  call void @glm_translate(ptr noundef nonnull %2, ptr noundef nonnull %4)
  call void @glm_mat4_mul(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %2)
  call void @glm_scale(ptr noundef nonnull %2, ptr noundef nonnull %5)
  %132 = call { ptr, i32 } @test_assert_mat4_eq2(ptr noundef nonnull %1, ptr noundef nonnull %2, float noundef 0x3EE4F8B580000000) #6
  %133 = extractvalue { ptr, i32 } %132, 1
  %.not30 = icmp eq i32 %133, 1
  br i1 %.not30, label %138, label %134

134:                                              ; preds = %131
  %135 = extractvalue { ptr, i32 } %132, 0
  %136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.895, i32 noundef 631, ptr noundef nonnull @.str.923) #7
  br label %138

138:                                              ; preds = %131, %134
  %spec.select = phi ptr [ %135, %134 ], [ null, %131 ]
  %spec.select31 = zext i1 %.not30 to i32
  br label %139

139:                                              ; preds = %86, %60, %138, %35, %128, %122, %116, %110, %103, %96, %80, %74, %68, %54, %48, %42, %29, %22, %15
  %.sroa.027.4 = phi ptr [ null, %128 ], [ null, %122 ], [ null, %116 ], [ null, %110 ], [ null, %103 ], [ null, %96 ], [ %87, %86 ], [ null, %80 ], [ null, %74 ], [ null, %68 ], [ %61, %60 ], [ null, %54 ], [ null, %48 ], [ null, %42 ], [ %36, %35 ], [ null, %29 ], [ null, %22 ], [ null, %15 ], [ %spec.select, %138 ]
  %.sroa.21.4 = phi i32 [ 0, %128 ], [ 0, %122 ], [ 0, %116 ], [ 0, %110 ], [ 0, %103 ], [ 0, %96 ], [ 0, %86 ], [ 0, %80 ], [ 0, %74 ], [ 0, %68 ], [ 0, %60 ], [ 0, %54 ], [ 0, %48 ], [ 0, %42 ], [ 0, %35 ], [ 0, %29 ], [ 0, %22 ], [ 0, %15 ], [ %spec.select31, %138 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #6
  %.fca.0.insert = insertvalue { ptr, i32 } poison, ptr %.sroa.027.4, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.21.4, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { alwaysinline nounwind uwtable "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { cold nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass