; 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.1 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [28 x i8], align 1
@__const.test_glm_vec2_mods.v1 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v2 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v5 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v6 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v7 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v8 = external hidden unnamed_addr constant [2 x float], align 4
@.str.92 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [28 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec2_mods() #4 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [2 x float], align 4
  %3 = alloca [2 x float], align 4
  %4 = alloca [2 x float], align 4
  %5 = alloca [2 x float], align 4
  %6 = alloca [2 x float], align 4
  %7 = alloca [2 x float], align 4
  %8 = alloca %struct.test_status_t, align 8
  %9 = alloca %struct.test_status_t, align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.test_status_t, align 8
  %12 = alloca %struct.test_status_t, align 8
  %13 = alloca [2 x float], align 4
  %14 = alloca [2 x float], align 4
  %15 = alloca %struct.test_status_t, align 8
  %16 = alloca %struct.test_status_t, align 8
  %17 = alloca %struct.test_status_t, align 8
  %18 = alloca %struct.test_status_t, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.test_glm_vec2_mods.v1, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.test_glm_vec2_mods.v2, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.test_glm_vec2_mods.v5, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 @__const.test_glm_vec2_mods.v6, i64 8, i1 false)
  %19 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %20 = getelementptr inbounds [2 x float], ptr %4, i64 0, i64 0
  call void @glm_vec2_mods(ptr noundef %19, float noundef 1.000000e+00, ptr noundef %20)
  %21 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0
  %22 = getelementptr inbounds [2 x float], ptr %5, i64 0, i64 0
  call void @glm_vec2_mods(ptr noundef %21, float noundef 1.000000e+00, ptr noundef %22)
  br label %23

23:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  %24 = getelementptr inbounds [2 x float], ptr %4, i64 0, i64 0
  %25 = getelementptr inbounds [2 x float], ptr %6, i64 0, i64 0
  %26 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef %24, ptr noundef %25)
  %27 = getelementptr inbounds { ptr, i32 }, ptr %9, i32 0, i32 0
  %28 = extractvalue { ptr, i32 } %26, 0
  store ptr %28, ptr %27, align 8
  %29 = getelementptr inbounds { ptr, i32 }, ptr %9, i32 0, i32 1
  %30 = extractvalue { ptr, i32 } %26, 1
  store i32 %30, ptr %29, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  %31 = getelementptr inbounds %struct.test_status_t, ptr %8, i32 0, i32 1
  %32 = load i32, ptr %31, align 8, !tbaa !12
  %33 = icmp ne i32 %32, 1
  br i1 %33, label %34, label %41

34:                                               ; preds = %23
  %35 = load ptr, ptr @stderr, align 8, !tbaa !6
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 725, ptr noundef @.str.90) #6
  %37 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %38 = getelementptr inbounds %struct.test_status_t, ptr %8, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !14
  store ptr %39, ptr %37, align 8, !tbaa !14
  %40 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %40, align 8, !tbaa !12
  store i32 1, ptr %10, align 4
  br label %42

41:                                               ; preds = %23
  store i32 0, ptr %10, align 4
  br label %42

42:                                               ; preds = %41, %34
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  %43 = load i32, ptr %10, align 4
  switch i32 %43, label %126 [
    i32 0, label %44
  ]

44:                                               ; preds = %42
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %48 = getelementptr inbounds [2 x float], ptr %5, i64 0, i64 0
  %49 = getelementptr inbounds [2 x float], ptr %7, i64 0, i64 0
  %50 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef %48, ptr noundef %49)
  %51 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 0
  %52 = extractvalue { ptr, i32 } %50, 0
  store ptr %52, ptr %51, align 8
  %53 = getelementptr inbounds { ptr, i32 }, ptr %12, i32 0, i32 1
  %54 = extractvalue { ptr, i32 } %50, 1
  store i32 %54, ptr %53, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %12, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  %55 = getelementptr inbounds %struct.test_status_t, ptr %11, i32 0, i32 1
  %56 = load i32, ptr %55, align 8, !tbaa !12
  %57 = icmp ne i32 %56, 1
  br i1 %57, label %58, label %65

58:                                               ; preds = %47
  %59 = load ptr, ptr @stderr, align 8, !tbaa !6
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 726, ptr noundef @.str.91) #6
  %61 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %62 = getelementptr inbounds %struct.test_status_t, ptr %11, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8, !tbaa !14
  store ptr %63, ptr %61, align 8, !tbaa !14
  %64 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %64, align 8, !tbaa !12
  store i32 1, ptr %10, align 4
  br label %66

65:                                               ; preds = %47
  store i32 0, ptr %10, align 4
  br label %66

66:                                               ; preds = %65, %58
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  %67 = load i32, ptr %10, align 4
  switch i32 %67, label %126 [
    i32 0, label %68
  ]

68:                                               ; preds = %66
  br label %69

69:                                               ; preds = %68
  br label %70

70:                                               ; preds = %69
  %71 = getelementptr inbounds [2 x float], ptr %2, i64 0, i64 0
  %72 = getelementptr inbounds [2 x float], ptr %4, i64 0, i64 0
  call void @glm_vec2_mods(ptr noundef %71, float noundef 2.000000e+00, ptr noundef %72)
  %73 = getelementptr inbounds [2 x float], ptr %3, i64 0, i64 0
  %74 = getelementptr inbounds [2 x float], ptr %5, i64 0, i64 0
  call void @glm_vec2_mods(ptr noundef %73, float noundef 2.000000e+00, ptr noundef %74)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 @__const.test_glm_vec2_mods.v7, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 @__const.test_glm_vec2_mods.v8, i64 8, i1 false)
  br label %75

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %76 = getelementptr inbounds [2 x float], ptr %4, i64 0, i64 0
  %77 = getelementptr inbounds [2 x float], ptr %13, i64 0, i64 0
  %78 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef %76, ptr noundef %77)
  %79 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 0
  %80 = extractvalue { ptr, i32 } %78, 0
  store ptr %80, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 1
  %82 = extractvalue { ptr, i32 } %78, 1
  store i32 %82, ptr %81, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  %83 = getelementptr inbounds %struct.test_status_t, ptr %15, i32 0, i32 1
  %84 = load i32, ptr %83, align 8, !tbaa !12
  %85 = icmp ne i32 %84, 1
  br i1 %85, label %86, label %93

86:                                               ; preds = %75
  %87 = load ptr, ptr @stderr, align 8, !tbaa !6
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 734, ptr noundef @.str.92) #6
  %89 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %90 = getelementptr inbounds %struct.test_status_t, ptr %15, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !14
  store ptr %91, ptr %89, align 8, !tbaa !14
  %92 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %92, align 8, !tbaa !12
  store i32 1, ptr %10, align 4
  br label %94

93:                                               ; preds = %75
  store i32 0, ptr %10, align 4
  br label %94

94:                                               ; preds = %93, %86
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  %95 = load i32, ptr %10, align 4
  switch i32 %95, label %125 [
    i32 0, label %96
  ]

96:                                               ; preds = %94
  br label %97

97:                                               ; preds = %96
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %100 = getelementptr inbounds [2 x float], ptr %5, i64 0, i64 0
  %101 = getelementptr inbounds [2 x float], ptr %14, i64 0, i64 0
  %102 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef %100, ptr noundef %101)
  %103 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 0
  %104 = extractvalue { ptr, i32 } %102, 0
  store ptr %104, ptr %103, align 8
  %105 = getelementptr inbounds { ptr, i32 }, ptr %18, i32 0, i32 1
  %106 = extractvalue { ptr, i32 } %102, 1
  store i32 %106, ptr %105, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  %107 = getelementptr inbounds %struct.test_status_t, ptr %17, i32 0, i32 1
  %108 = load i32, ptr %107, align 8, !tbaa !12
  %109 = icmp ne i32 %108, 1
  br i1 %109, label %110, label %117

110:                                              ; preds = %99
  %111 = load ptr, ptr @stderr, align 8, !tbaa !6
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 735, ptr noundef @.str.93) #6
  %113 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %114 = getelementptr inbounds %struct.test_status_t, ptr %17, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !14
  store ptr %115, ptr %113, align 8, !tbaa !14
  %116 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %116, align 8, !tbaa !12
  store i32 1, ptr %10, align 4
  br label %118

117:                                              ; preds = %99
  store i32 0, ptr %10, align 4
  br label %118

118:                                              ; preds = %117, %110
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  %119 = load i32, ptr %10, align 4
  switch i32 %119, label %125 [
    i32 0, label %120
  ]

120:                                              ; preds = %118
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  %123 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %123, align 8, !tbaa !14
  %124 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %124, align 8, !tbaa !12
  store i32 1, ptr %10, align 4
  br label %125

125:                                              ; preds = %122, %118, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %126

126:                                              ; preds = %125, %66, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  %127 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %127
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 8, !6, i64 8, i64 4, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !11, i64 8}
!13 = !{!"test_status_t", !7, i64 0, !11, i64 8}
!14 = !{!13, !7, 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.1 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [28 x i8], align 1
@__const.test_glm_vec2_mods.v1 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v2 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v5 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v6 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v7 = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_glm_vec2_mods.v8 = external hidden unnamed_addr constant [2 x float], align 4
@.str.92 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [28 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

declare { ptr, i32 } @test_assert_vec2_eq(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_vec2_mods() local_unnamed_addr #3 {
  %1 = alloca [2 x float], align 8
  %2 = alloca [2 x float], align 8
  %3 = alloca [2 x float], align 4
  %4 = alloca [2 x float], align 4
  %5 = alloca [2 x float], align 8
  %6 = alloca [2 x float], align 8
  %7 = alloca [2 x float], align 8
  %8 = alloca [2 x float], align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  %9 = load i64, ptr @__const.test_glm_vec2_mods.v1, align 4
  store i64 %9, ptr %1, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %10 = load i64, ptr @__const.test_glm_vec2_mods.v2, align 4
  store i64 %10, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %11 = load i64, ptr @__const.test_glm_vec2_mods.v5, align 4
  store i64 %11, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %12 = load i64, ptr @__const.test_glm_vec2_mods.v6, align 4
  store i64 %12, ptr %6, align 8
  call void @glm_vec2_mods(ptr noundef nonnull %1, float noundef 1.000000e+00, ptr noundef nonnull %3)
  call void @glm_vec2_mods(ptr noundef nonnull %2, float noundef 1.000000e+00, ptr noundef nonnull %4)
  %13 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef nonnull %3, ptr noundef nonnull %5) #5
  %14 = extractvalue { ptr, i32 } %13, 1
  %.not = icmp eq i32 %14, 1
  br i1 %.not, label %.critedge, label %15

15:                                               ; preds = %0
  %16 = extractvalue { ptr, i32 } %13, 0
  %17 = load ptr, ptr @stderr, align 8, !tbaa !5
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 725, ptr noundef nonnull @.str.90) #6
  br label %43

.critedge:                                        ; preds = %0
  %19 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef nonnull %4, ptr noundef nonnull %6) #5
  %20 = extractvalue { ptr, i32 } %19, 1
  %.not29 = icmp eq i32 %20, 1
  br i1 %.not29, label %25, label %21

21:                                               ; preds = %.critedge
  %22 = extractvalue { ptr, i32 } %19, 0
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 726, ptr noundef nonnull @.str.91) #6
  br label %43

25:                                               ; preds = %.critedge
  call void @glm_vec2_mods(ptr noundef nonnull %1, float noundef 2.000000e+00, ptr noundef nonnull %3)
  call void @glm_vec2_mods(ptr noundef nonnull %2, float noundef 2.000000e+00, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %26 = load i64, ptr @__const.test_glm_vec2_mods.v7, align 4
  store i64 %26, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %27 = load i64, ptr @__const.test_glm_vec2_mods.v8, align 4
  store i64 %27, ptr %8, align 8
  %28 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef nonnull %3, ptr noundef nonnull %7) #5
  %29 = extractvalue { ptr, i32 } %28, 1
  %.not30 = icmp eq i32 %29, 1
  br i1 %.not30, label %34, label %30

30:                                               ; preds = %25
  %31 = extractvalue { ptr, i32 } %28, 0
  %32 = load ptr, ptr @stderr, align 8, !tbaa !5
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 734, ptr noundef nonnull @.str.92) #6
  br label %42

34:                                               ; preds = %25
  %35 = call { ptr, i32 } @test_assert_vec2_eq(ptr noundef nonnull %4, ptr noundef nonnull %8) #5
  %36 = extractvalue { ptr, i32 } %35, 1
  %.not31 = icmp eq i32 %36, 1
  br i1 %.not31, label %41, label %37

37:                                               ; preds = %34
  %38 = extractvalue { ptr, i32 } %35, 0
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 735, ptr noundef nonnull @.str.93) #6
  br label %41

41:                                               ; preds = %34, %37
  %spec.select = phi ptr [ %38, %37 ], [ null, %34 ]
  %spec.select32 = zext i1 %.not31 to i32
  br label %42

42:                                               ; preds = %30, %41
  %.sroa.027.4 = phi ptr [ %31, %30 ], [ %spec.select, %41 ]
  %.sroa.628.4 = phi i32 [ 0, %30 ], [ %spec.select32, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %43

43:                                               ; preds = %21, %15, %42
  %.sroa.027.5 = phi ptr [ %.sroa.027.4, %42 ], [ %22, %21 ], [ %16, %15 ]
  %.sroa.628.5 = phi i32 [ %.sroa.628.4, %42 ], [ 0, %21 ], [ 0, %15 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  %.fca.0.insert = insertvalue { ptr, i32 } poison, ptr %.sroa.027.5, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.628.5, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 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 #4 = { 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


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