; LLVM IR from erincatto/box2d :: src (dynamic_tree)

; 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.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2Vec2 = type { float, float }
%struct.b2DynamicTree = type { ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i32 }
%struct.b2TreeNode = type { %struct.b2AABB, i64, %union.anon, %union.anon.0, i16, i16 }
%union.anon = type { i64 }
%union.anon.0 = type { i32 }

@b2_lengthUnitsPerMeter = external global float, align 4
@.str = external hidden unnamed_addr constant [60 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [60 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @b2DynamicTree_CreateProxy(ptr noundef %0, <2 x float> %1, <2 x float> %2, i64 noundef %3, i64 noundef %4) #1 {
  %6 = alloca %struct.b2AABB, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  store <2 x float> %1, ptr %13, align 4
  %14 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  store <2 x float> %2, ptr %14, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  store i64 %4, ptr %9, align 8, !tbaa !9
  br label %15

15:                                               ; preds = %5
  %16 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %17 = fmul float 1.000000e+05, %16
  %18 = fneg float %17
  %19 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 0
  %20 = getelementptr inbounds %struct.b2Vec2, ptr %19, i32 0, i32 0
  %21 = load float, ptr %20, align 4, !tbaa !13
  %22 = fcmp olt float %18, %21
  br i1 %22, label %23, label %30

23:                                               ; preds = %15
  %24 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 0
  %25 = getelementptr inbounds %struct.b2Vec2, ptr %24, i32 0, i32 0
  %26 = load float, ptr %25, align 4, !tbaa !13
  %27 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %28 = fmul float 1.000000e+05, %27
  %29 = fcmp olt float %26, %28
  br i1 %29, label %34, label %30

30:                                               ; preds = %23, %15
  %31 = call i32 @b2InternalAssertFcn(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 772)
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %34

33:                                               ; preds = %30
  call void @llvm.trap()
  br label %34

34:                                               ; preds = %33, %30, %23
  br label %35

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  %37 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %38 = fmul float 1.000000e+05, %37
  %39 = fneg float %38
  %40 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 0
  %41 = getelementptr inbounds %struct.b2Vec2, ptr %40, i32 0, i32 1
  %42 = load float, ptr %41, align 4, !tbaa !16
  %43 = fcmp olt float %39, %42
  br i1 %43, label %44, label %51

44:                                               ; preds = %36
  %45 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 0
  %46 = getelementptr inbounds %struct.b2Vec2, ptr %45, i32 0, i32 1
  %47 = load float, ptr %46, align 4, !tbaa !16
  %48 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %49 = fmul float 1.000000e+05, %48
  %50 = fcmp olt float %47, %49
  br i1 %50, label %55, label %51

51:                                               ; preds = %44, %36
  %52 = call i32 @b2InternalAssertFcn(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 773)
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %51
  call void @llvm.trap()
  br label %55

55:                                               ; preds = %54, %51, %44
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  %58 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %59 = fmul float 1.000000e+05, %58
  %60 = fneg float %59
  %61 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 1
  %62 = getelementptr inbounds %struct.b2Vec2, ptr %61, i32 0, i32 0
  %63 = load float, ptr %62, align 4, !tbaa !17
  %64 = fcmp olt float %60, %63
  br i1 %64, label %65, label %72

65:                                               ; preds = %57
  %66 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 1
  %67 = getelementptr inbounds %struct.b2Vec2, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 4, !tbaa !17
  %69 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %70 = fmul float 1.000000e+05, %69
  %71 = fcmp olt float %68, %70
  br i1 %71, label %76, label %72

72:                                               ; preds = %65, %57
  %73 = call i32 @b2InternalAssertFcn(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 774)
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %72
  call void @llvm.trap()
  br label %76

76:                                               ; preds = %75, %72, %65
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  %79 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %80 = fmul float 1.000000e+05, %79
  %81 = fneg float %80
  %82 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 1
  %83 = getelementptr inbounds %struct.b2Vec2, ptr %82, i32 0, i32 1
  %84 = load float, ptr %83, align 4, !tbaa !18
  %85 = fcmp olt float %81, %84
  br i1 %85, label %86, label %93

86:                                               ; preds = %78
  %87 = getelementptr inbounds %struct.b2AABB, ptr %6, i32 0, i32 1
  %88 = getelementptr inbounds %struct.b2Vec2, ptr %87, i32 0, i32 1
  %89 = load float, ptr %88, align 4, !tbaa !18
  %90 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !11
  %91 = fmul float 1.000000e+05, %90
  %92 = fcmp olt float %89, %91
  br i1 %92, label %97, label %93

93:                                               ; preds = %86, %78
  %94 = call i32 @b2InternalAssertFcn(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 775)
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %97

96:                                               ; preds = %93
  call void @llvm.trap()
  br label %97

97:                                               ; preds = %96, %93, %86
  br label %98

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = call i32 @b2AllocateNode(ptr noundef %99)
  store i32 %100, ptr %10, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.b2DynamicTree, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !21
  %104 = load i32, ptr %10, align 4, !tbaa !19
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %struct.b2TreeNode, ptr %103, i64 %105
  store ptr %106, ptr %11, align 8, !tbaa !5
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.b2TreeNode, ptr %107, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %108, ptr align 4 %6, i64 16, i1 false), !tbaa.struct !23
  %109 = load i64, ptr %9, align 8, !tbaa !9
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.b2TreeNode, ptr %110, i32 0, i32 2
  store i64 %109, ptr %111, align 8, !tbaa !24
  %112 = load i64, ptr %8, align 8, !tbaa !9
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.b2TreeNode, ptr %113, i32 0, i32 1
  store i64 %112, ptr %114, align 8, !tbaa !25
  %115 = load ptr, ptr %11, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.b2TreeNode, ptr %115, i32 0, i32 4
  store i16 0, ptr %116, align 4, !tbaa !28
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.b2TreeNode, ptr %117, i32 0, i32 5
  store i16 5, ptr %118, align 2, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 1, ptr %12, align 1, !tbaa !30
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = load i32, ptr %10, align 4, !tbaa !19
  %121 = load i8, ptr %12, align 1, !tbaa !30, !range !32, !noundef !33
  %122 = trunc i8 %121 to i1
  call void @b2InsertLeaf(ptr noundef %119, i32 noundef %120, i1 noundef zeroext %122)
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.b2DynamicTree, ptr %123, i32 0, i32 5
  %125 = load i32, ptr %124, align 8, !tbaa !34
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %124, align 8, !tbaa !34
  %127 = load i32, ptr %10, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  ret i32 %127
}

declare i32 @b2InternalAssertFcn(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #3

; Function Attrs: nounwind uwtable
declare hidden i32 @b2AllocateNode(ptr noundef) #4

; 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) #5

; Function Attrs: nounwind uwtable
declare hidden void @b2InsertLeaf(ptr noundef, i32 noundef, i1 noundef zeroext) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { cold noreturn nounwind memory(inaccessiblemem: write) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"b2AABB", !15, i64 0, !15, i64 8}
!15 = !{!"b2Vec2", !12, i64 0, !12, i64 4}
!16 = !{!14, !12, i64 4}
!17 = !{!14, !12, i64 8}
!18 = !{!14, !12, i64 12}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!22, !6, i64 0}
!22 = !{!"b2DynamicTree", !6, i64 0, !20, i64 8, !20, i64 12, !20, i64 16, !20, i64 20, !20, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !20, i64 64}
!23 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 4, !11, i64 12, i64 4, !11}
!24 = !{!7, !7, i64 0}
!25 = !{!26, !10, i64 16}
!26 = !{!"b2TreeNode", !14, i64 0, !10, i64 16, !7, i64 24, !7, i64 32, !27, i64 36, !27, i64 38}
!27 = !{!"short", !7, i64 0}
!28 = !{!26, !27, i64 36}
!29 = !{!26, !27, i64 38}
!30 = !{!31, !31, i64 0}
!31 = !{!"_Bool", !7, i64 0}
!32 = !{i8 0, i8 2}
!33 = !{}
!34 = !{!22, !20, i64 24}


; 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"

%struct.b2TreeNode = type { %struct.b2AABB, i64, %union.anon, %union.anon.0, i16, i16 }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2Vec2 = type { float, float }
%union.anon = type { i64 }
%union.anon.0 = type { i32 }

@b2_lengthUnitsPerMeter = external local_unnamed_addr global float, align 4
@.str = external hidden unnamed_addr constant [60 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [60 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @b2DynamicTree_CreateProxy(ptr noundef %0, <2 x float> %1, <2 x float> %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #0 {
  %6 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !5
  %7 = fmul float %6, 1.000000e+05
  %8 = fneg float %7
  %.sroa.0.0.vec.extract = extractelement <2 x float> %1, i64 0
  %9 = fcmp ogt float %.sroa.0.0.vec.extract, %8
  %10 = fcmp olt float %.sroa.0.0.vec.extract, %7
  %or.cond = and i1 %9, %10
  br i1 %or.cond, label %14, label %11

11:                                               ; preds = %5
  %12 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 772) #4
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %._crit_edge, label %13

._crit_edge:                                      ; preds = %11
  %.pre = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !5
  %.pre32 = fmul float %.pre, 1.000000e+05
  %.pre33 = fneg float %.pre32
  br label %14

13:                                               ; preds = %11
  tail call void @llvm.trap()
  unreachable

14:                                               ; preds = %._crit_edge, %5
  %.pre-phi34 = phi float [ %.pre33, %._crit_edge ], [ %8, %5 ]
  %.pre-phi = phi float [ %.pre32, %._crit_edge ], [ %7, %5 ]
  %.sroa.0.4.vec.extract = extractelement <2 x float> %1, i64 1
  %15 = fcmp ogt float %.sroa.0.4.vec.extract, %.pre-phi34
  %16 = fcmp olt float %.sroa.0.4.vec.extract, %.pre-phi
  %or.cond25 = and i1 %15, %16
  br i1 %or.cond25, label %20, label %17

17:                                               ; preds = %14
  %18 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 773) #4
  %.not22 = icmp eq i32 %18, 0
  br i1 %.not22, label %._crit_edge28, label %19

._crit_edge28:                                    ; preds = %17
  %.pre29 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !5
  %.pre35 = fmul float %.pre29, 1.000000e+05
  %.pre37 = fneg float %.pre35
  br label %20

19:                                               ; preds = %17
  tail call void @llvm.trap()
  unreachable

20:                                               ; preds = %._crit_edge28, %14
  %.pre-phi38 = phi float [ %.pre37, %._crit_edge28 ], [ %.pre-phi34, %14 ]
  %.pre-phi36 = phi float [ %.pre35, %._crit_edge28 ], [ %.pre-phi, %14 ]
  %.sroa.6.8.vec.extract = extractelement <2 x float> %2, i64 0
  %21 = fcmp ogt float %.sroa.6.8.vec.extract, %.pre-phi38
  %22 = fcmp olt float %.sroa.6.8.vec.extract, %.pre-phi36
  %or.cond26 = and i1 %21, %22
  br i1 %or.cond26, label %26, label %23

23:                                               ; preds = %20
  %24 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 774) #4
  %.not23 = icmp eq i32 %24, 0
  br i1 %.not23, label %._crit_edge30, label %25

._crit_edge30:                                    ; preds = %23
  %.pre31 = load float, ptr @b2_lengthUnitsPerMeter, align 4, !tbaa !5
  %.pre39 = fmul float %.pre31, 1.000000e+05
  %.pre41 = fneg float %.pre39
  br label %26

25:                                               ; preds = %23
  tail call void @llvm.trap()
  unreachable

26:                                               ; preds = %._crit_edge30, %20
  %.pre-phi42 = phi float [ %.pre41, %._crit_edge30 ], [ %.pre-phi38, %20 ]
  %.pre-phi40 = phi float [ %.pre39, %._crit_edge30 ], [ %.pre-phi36, %20 ]
  %.sroa.6.12.vec.extract = extractelement <2 x float> %2, i64 1
  %27 = fcmp ogt float %.sroa.6.12.vec.extract, %.pre-phi42
  %28 = fcmp olt float %.sroa.6.12.vec.extract, %.pre-phi40
  %or.cond27 = and i1 %27, %28
  br i1 %or.cond27, label %32, label %29

29:                                               ; preds = %26
  %30 = tail call i32 @b2InternalAssertFcn(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 775) #4
  %.not24 = icmp eq i32 %30, 0
  br i1 %.not24, label %32, label %31

31:                                               ; preds = %29
  tail call void @llvm.trap()
  unreachable

32:                                               ; preds = %26, %29
  %33 = tail call i32 @b2AllocateNode(ptr noundef %0)
  %34 = load ptr, ptr %0, align 8, !tbaa !9
  %35 = sext i32 %33 to i64
  %36 = getelementptr inbounds %struct.b2TreeNode, ptr %34, i64 %35
  store <2 x float> %1, ptr %36, align 8
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  store <2 x float> %2, ptr %.sroa.6.0..sroa_idx, align 8
  %37 = getelementptr inbounds i8, ptr %36, i64 24
  store i64 %4, ptr %37, align 8, !tbaa !13
  %38 = getelementptr inbounds i8, ptr %36, i64 16
  store i64 %3, ptr %38, align 8, !tbaa !14
  %39 = getelementptr inbounds i8, ptr %36, i64 36
  store i16 0, ptr %39, align 4, !tbaa !20
  %40 = getelementptr inbounds i8, ptr %36, i64 38
  store i16 5, ptr %40, align 2, !tbaa !21
  tail call void @b2InsertLeaf(ptr noundef nonnull %0, i32 noundef %33, i1 noundef zeroext true)
  %41 = getelementptr inbounds i8, ptr %0, i64 24
  %42 = load i32, ptr %41, align 8, !tbaa !22
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %41, align 8, !tbaa !22
  ret i32 %33
}

declare i32 @b2InternalAssertFcn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write)
declare void @llvm.trap() #2

; Function Attrs: nounwind uwtable
declare hidden i32 @b2AllocateNode(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @b2InsertLeaf(ptr noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #0

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 #1 = { "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 = { cold noreturn nounwind memory(inaccessiblemem: write) }
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 = { 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, !11, i64 0}
!10 = !{!"b2DynamicTree", !11, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !18, i64 16}
!15 = !{!"b2TreeNode", !16, i64 0, !18, i64 16, !7, i64 24, !7, i64 32, !19, i64 36, !19, i64 38}
!16 = !{!"b2AABB", !17, i64 0, !17, i64 8}
!17 = !{!"b2Vec2", !6, i64 0, !6, i64 4}
!18 = !{!"long", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!15, !19, i64 36}
!21 = !{!15, !19, i64 38}
!22 = !{!10, !12, i64 24}


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