; 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.961 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.985 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.986 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.987 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.988 = external hidden unnamed_addr constant [33 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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #3

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_rad(float noundef) #5

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

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_camera_decomp() #6 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x [4 x float]], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.test_status_t, align 8
  %11 = 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 16, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store float 0x3FE90624E0000000, ptr %5, align 4, !tbaa !5
  %12 = call float @glm_rad(float noundef 0x4048FDF3C0000000)
  store float %12, ptr %6, align 4, !tbaa !5
  store float 0x3FB99999A0000000, ptr %7, align 4, !tbaa !5
  store float 1.000000e+02, ptr %8, align 4, !tbaa !5
  %13 = load float, ptr %6, align 4, !tbaa !5
  %14 = load float, ptr %5, align 4, !tbaa !5
  %15 = load float, ptr %7, align 4, !tbaa !5
  %16 = load float, ptr %8, align 4, !tbaa !5
  %17 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  call void @glm_perspective(float noundef %13, float noundef %14, float noundef %15, float noundef %16, ptr noundef %17)
  br label %18

18:                                               ; preds = %0
  %19 = load float, ptr %5, align 4, !tbaa !5
  %20 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %21 = call float @glm_persp_aspect(ptr noundef %20)
  %22 = fsub float %19, %21
  %23 = call float @llvm.fabs.f32(float %22)
  %24 = fcmp olt float %23, 0x3EE4F8B580000000
  br i1 %24, label %30, label %25

25:                                               ; preds = %18
  %26 = load ptr, ptr @stderr, align 8, !tbaa !9
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 98, ptr noundef @.str.985) #7
  %28 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %28, align 8, !tbaa !11
  %29 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %29, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %109

30:                                               ; preds = %18
  br label %31

31:                                               ; preds = %30
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32
  %34 = load float, ptr %6, align 4, !tbaa !5
  %35 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %36 = call float @glm_persp_fovy(ptr noundef %35)
  %37 = fsub float %34, %36
  %38 = call float @llvm.fabs.f32(float %37)
  %39 = fcmp olt float %38, 0x3EE4F8B580000000
  br i1 %39, label %45, label %40

40:                                               ; preds = %33
  %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 99, ptr noundef @.str.986) #7
  %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 %9, align 4
  br label %109

45:                                               ; preds = %33
  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 = call float @glm_persp_fovy(ptr noundef %49)
  %51 = call float @glm_deg(float noundef %50)
  %52 = fsub float 0x4048FDF3C0000000, %51
  %53 = call float @llvm.fabs.f32(float %52)
  %54 = fcmp olt float %53, 0x3EE4F8B580000000
  br i1 %54, label %60, label %55

55:                                               ; preds = %48
  %56 = load ptr, ptr @stderr, align 8, !tbaa !9
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str, ptr noundef @.str.961, i32 noundef 100, ptr noundef @.str.987) #7
  %58 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %58, align 8, !tbaa !11
  %59 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %59, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %109

60:                                               ; preds = %48
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  %63 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %64 = load float, ptr %6, align 4, !tbaa !5
  %65 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  call void @glm_persp_sizes(ptr noundef %63, float noundef %64, ptr noundef %65)
  %66 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %67 = load float, ptr %66, align 16, !tbaa !5
  %68 = fneg float %67
  %69 = fmul float %68, 5.000000e-01
  %70 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %71 = load float, ptr %70, align 16, !tbaa !5
  %72 = fmul float %71, 5.000000e-01
  %73 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %74 = load float, ptr %73, align 4, !tbaa !5
  %75 = fneg float %74
  %76 = fmul float %75, 5.000000e-01
  %77 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = fmul float %78, 5.000000e-01
  %80 = load float, ptr %7, align 4, !tbaa !5
  %81 = load float, ptr %8, align 4, !tbaa !5
  %82 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  call void @glm_frustum(float noundef %69, float noundef %72, float noundef %76, float noundef %79, float noundef %80, float noundef %81, ptr noundef %82)
  br label %83

83:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  %84 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %85 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 0
  %86 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef %84, ptr noundef %85)
  %87 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 0
  %88 = extractvalue { ptr, i32 } %86, 0
  store ptr %88, ptr %87, align 8
  %89 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 1
  %90 = extractvalue { ptr, i32 } %86, 1
  store i32 %90, ptr %89, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  %91 = getelementptr inbounds %struct.test_status_t, ptr %10, i32 0, i32 1
  %92 = load i32, ptr %91, align 8, !tbaa !14
  %93 = icmp ne i32 %92, 1
  br i1 %93, label %94, label %101

94:                                               ; preds = %83
  %95 = load ptr, ptr @stderr, align 8, !tbaa !9
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.13, ptr noundef @.str.961, i32 noundef 112, ptr noundef @.str.988) #7
  %97 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  %98 = getelementptr inbounds %struct.test_status_t, ptr %10, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  store ptr %99, ptr %97, align 8, !tbaa !11
  %100 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %100, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %102

101:                                              ; preds = %83
  store i32 0, ptr %9, align 4
  br label %102

102:                                              ; preds = %101, %94
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  %103 = load i32, ptr %9, align 4
  switch i32 %103, label %109 [
    i32 0, label %104
  ]

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  %107 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %107, align 8, !tbaa !11
  %108 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %108, align 8, !tbaa !14
  store i32 1, ptr %9, align 4
  br label %109

109:                                              ; preds = %106, %102, %55, %40, %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #7
  %110 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %110
}

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

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_deg(float noundef) #5

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_persp_sizes(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"="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 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.961 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.985 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.986 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.987 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.988 = external hidden unnamed_addr constant [33 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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_rad(float noundef) local_unnamed_addr #4

; 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 #4

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_camera_decomp() 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 float], align 16
  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 16, ptr nonnull %3) #6
  %4 = tail call float @glm_rad(float noundef 0x4048FDF3C0000000)
  call void @glm_perspective(float noundef %4, float noundef 0x3FE90624E0000000, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02, ptr noundef nonnull %1)
  %5 = call float @glm_persp_aspect(ptr noundef nonnull %1)
  %6 = fsub float 0x3FE90624E0000000, %5
  %7 = call float @llvm.fabs.f32(float %6)
  %8 = fcmp olt float %7, 0x3EE4F8B580000000
  br i1 %8, label %12, label %9

9:                                                ; preds = %0
  %10 = load ptr, ptr @stderr, align 8, !tbaa !5
  %11 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 98, ptr noundef nonnull @.str.985) #7
  br label %44

12:                                               ; preds = %0
  %13 = call float @glm_persp_fovy(ptr noundef nonnull %1)
  %14 = fsub float %4, %13
  %15 = call float @llvm.fabs.f32(float %14)
  %16 = fcmp olt float %15, 0x3EE4F8B580000000
  br i1 %16, label %20, label %17

17:                                               ; preds = %12
  %18 = load ptr, ptr @stderr, align 8, !tbaa !5
  %19 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 99, ptr noundef nonnull @.str.986) #7
  br label %44

20:                                               ; preds = %12
  %21 = call float @glm_persp_fovy(ptr noundef nonnull %1)
  %22 = call float @glm_deg(float noundef %21)
  %23 = fsub float 0x4048FDF3C0000000, %22
  %24 = call float @llvm.fabs.f32(float %23)
  %25 = fcmp olt float %24, 0x3EE4F8B580000000
  br i1 %25, label %29, label %26

26:                                               ; preds = %20
  %27 = load ptr, ptr @stderr, align 8, !tbaa !5
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef nonnull @.str, ptr noundef nonnull @.str.961, i32 noundef 100, ptr noundef nonnull @.str.987) #7
  br label %44

29:                                               ; preds = %20
  call void @glm_persp_sizes(ptr noundef nonnull %1, float noundef %4, ptr noundef nonnull %3)
  %30 = load float, ptr %3, align 16, !tbaa !9
  %31 = fmul float %30, -5.000000e-01
  %32 = fmul float %30, 5.000000e-01
  %33 = getelementptr inbounds i8, ptr %3, i64 4
  %34 = load float, ptr %33, align 4, !tbaa !9
  %35 = fmul float %34, -5.000000e-01
  %36 = fmul float %34, 5.000000e-01
  call void @glm_frustum(float noundef %31, float noundef %32, float noundef %35, float noundef %36, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02, ptr noundef nonnull %2)
  %37 = call { ptr, i32 } @test_assert_mat4_eq(ptr noundef nonnull %1, ptr noundef nonnull %2) #6
  %38 = extractvalue { ptr, i32 } %37, 1
  %.not = icmp eq i32 %38, 1
  br i1 %.not, label %43, label %39

39:                                               ; preds = %29
  %40 = extractvalue { ptr, i32 } %37, 0
  %41 = load ptr, ptr @stderr, align 8, !tbaa !5
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.961, i32 noundef 112, ptr noundef nonnull @.str.988) #7
  br label %43

43:                                               ; preds = %29, %39
  %spec.select = phi ptr [ null, %29 ], [ %40, %39 ]
  %spec.select13 = zext i1 %.not to i32
  br label %44

44:                                               ; preds = %43, %26, %17, %9
  %.sroa.011.1 = phi ptr [ null, %26 ], [ null, %17 ], [ null, %9 ], [ %spec.select, %43 ]
  %.sroa.612.1 = phi i32 [ 0, %26 ], [ 0, %17 ], [ 0, %9 ], [ %spec.select13, %43 ]
  call void @llvm.lifetime.end.p0(i64 16, 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.011.1, 0
  %.fca.1.insert = insertvalue { ptr, i32 } %.fca.0.insert, i32 %.sroa.612.1, 1
  ret { ptr, i32 } %.fca.1.insert
}

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

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden float @glm_deg(float noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_persp_sizes(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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"="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 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}


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