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

; 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.b2PlaneResult = type { %struct.b2Plane, i8 }
%struct.b2Plane = type { %struct.b2Vec2, float }
%struct.b2Vec2 = type { float, float }
%struct.b2Transform = type { %struct.b2Vec2, %struct.b2Rot }
%struct.b2Rot = type { float, float }
%struct.b2Capsule = type { %struct.b2Vec2, %struct.b2Vec2, float }
%struct.b2Shape = type { i32, i32, i32, i32, i32, i32, float, float, float, float, float, i32, %struct.b2AABB, %struct.b2AABB, %struct.b2Vec2, i32, %struct.b2Filter, ptr, i32, %union.anon.0, i16, i8, i8, i8, i8, i8 }
%struct.b2AABB = type { %struct.b2Vec2, %struct.b2Vec2 }
%struct.b2Filter = type { i64, i64, i32 }
%union.anon.0 = type { %struct.b2Polygon }
%struct.b2Polygon = type { [8 x %struct.b2Vec2], [8 x %struct.b2Vec2], %struct.b2Vec2, float, i32 }
%struct.b2ChainSegment = type { %struct.b2Vec2, %struct.b2Segment, %struct.b2Vec2, i32 }
%struct.b2Segment = type { %struct.b2Vec2, %struct.b2Vec2 }

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @b2InvTransformPoint(<2 x float>, <2 x float>, <2 x float>) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @b2RotateVector(<2 x float>, <2 x float>) #3

; Function Attrs: nounwind uwtable
define dso_local { <2 x float>, i64 } @b2CollideMover(ptr noundef %0, <2 x float> %1, <2 x float> %2, ptr noundef %3) #4 {
  %5 = alloca %struct.b2PlaneResult, align 4
  %6 = alloca %struct.b2Transform, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.b2Capsule, align 4
  %10 = alloca %struct.b2Vec2, align 4
  %11 = alloca %struct.b2Vec2, align 4
  %12 = alloca %struct.b2PlaneResult, align 4
  %13 = alloca %struct.b2PlaneResult, align 4
  %14 = alloca %struct.b2PlaneResult, align 4
  %15 = alloca %struct.b2PlaneResult, align 4
  %16 = alloca %struct.b2PlaneResult, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.b2Vec2, align 4
  %19 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  store <2 x float> %1, ptr %19, align 4
  %20 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  store <2 x float> %2, ptr %20, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20, ptr %9) #6
  %21 = getelementptr inbounds %struct.b2Capsule, ptr %9, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.b2Capsule, ptr %22, i32 0, i32 0
  %24 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  %25 = load <2 x float>, ptr %24, align 4
  %26 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  %27 = load <2 x float>, ptr %26, align 4
  %28 = load <2 x float>, ptr %23, align 4
  %29 = call <2 x float> @b2InvTransformPoint(<2 x float> %25, <2 x float> %27, <2 x float> %28)
  store <2 x float> %29, ptr %10, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %30 = getelementptr inbounds %struct.b2Capsule, ptr %9, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.b2Capsule, ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 0
  %34 = load <2 x float>, ptr %33, align 4
  %35 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %6, i32 0, i32 1
  %36 = load <2 x float>, ptr %35, align 4
  %37 = load <2 x float>, ptr %32, align 4
  %38 = call <2 x float> @b2InvTransformPoint(<2 x float> %34, <2 x float> %36, <2 x float> %37)
  store <2 x float> %38, ptr %11, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.b2Capsule, ptr %39, i32 0, i32 2
  %41 = load float, ptr %40, align 4, !tbaa !12
  %42 = getelementptr inbounds %struct.b2Capsule, ptr %9, i32 0, i32 2
  store float %41, ptr %42, align 4, !tbaa !12
  call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 16, i1 false)
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.b2Shape, ptr %43, i32 0, i32 5
  %45 = load i32, ptr %44, align 4, !tbaa !15
  switch i32 %45, label %87 [
    i32 1, label %46
    i32 0, label %54
    i32 3, label %62
    i32 2, label %70
    i32 4, label %78
  ]

46:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.b2Shape, ptr %47, i32 0, i32 19
  %49 = call { <2 x float>, i64 } @b2CollideMoverAndCapsule(ptr noundef %48, ptr noundef %9)
  %50 = getelementptr inbounds { <2 x float>, i64 }, ptr %12, i32 0, i32 0
  %51 = extractvalue { <2 x float>, i64 } %49, 0
  store <2 x float> %51, ptr %50, align 4
  %52 = getelementptr inbounds { <2 x float>, i64 }, ptr %12, i32 0, i32 1
  %53 = extractvalue { <2 x float>, i64 } %49, 1
  store i64 %53, ptr %52, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %12, i64 16, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  br label %88

54:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.b2Shape, ptr %55, i32 0, i32 19
  %57 = call { <2 x float>, i64 } @b2CollideMoverAndCircle(ptr noundef %56, ptr noundef %9)
  %58 = getelementptr inbounds { <2 x float>, i64 }, ptr %13, i32 0, i32 0
  %59 = extractvalue { <2 x float>, i64 } %57, 0
  store <2 x float> %59, ptr %58, align 4
  %60 = getelementptr inbounds { <2 x float>, i64 }, ptr %13, i32 0, i32 1
  %61 = extractvalue { <2 x float>, i64 } %57, 1
  store i64 %61, ptr %60, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %13, i64 16, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %88

62:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.b2Shape, ptr %63, i32 0, i32 19
  %65 = call { <2 x float>, i64 } @b2CollideMoverAndPolygon(ptr noundef %64, ptr noundef %9)
  %66 = getelementptr inbounds { <2 x float>, i64 }, ptr %14, i32 0, i32 0
  %67 = extractvalue { <2 x float>, i64 } %65, 0
  store <2 x float> %67, ptr %66, align 4
  %68 = getelementptr inbounds { <2 x float>, i64 }, ptr %14, i32 0, i32 1
  %69 = extractvalue { <2 x float>, i64 } %65, 1
  store i64 %69, ptr %68, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %14, i64 16, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %88

70:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.b2Shape, ptr %71, i32 0, i32 19
  %73 = call { <2 x float>, i64 } @b2CollideMoverAndSegment(ptr noundef %72, ptr noundef %9)
  %74 = getelementptr inbounds { <2 x float>, i64 }, ptr %15, i32 0, i32 0
  %75 = extractvalue { <2 x float>, i64 } %73, 0
  store <2 x float> %75, ptr %74, align 4
  %76 = getelementptr inbounds { <2 x float>, i64 }, ptr %15, i32 0, i32 1
  %77 = extractvalue { <2 x float>, i64 } %73, 1
  store i64 %77, ptr %76, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %88

78:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.b2Shape, ptr %79, i32 0, i32 19
  %81 = getelementptr inbounds %struct.b2ChainSegment, ptr %80, i32 0, i32 1
  %82 = call { <2 x float>, i64 } @b2CollideMoverAndSegment(ptr noundef %81, ptr noundef %9)
  %83 = getelementptr inbounds { <2 x float>, i64 }, ptr %16, i32 0, i32 0
  %84 = extractvalue { <2 x float>, i64 } %82, 0
  store <2 x float> %84, ptr %83, align 4
  %85 = getelementptr inbounds { <2 x float>, i64 }, ptr %16, i32 0, i32 1
  %86 = extractvalue { <2 x float>, i64 } %82, 1
  store i64 %86, ptr %85, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %16, i64 16, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %88

87:                                               ; preds = %4
  store i32 1, ptr %17, align 4
  br label %104

88:                                               ; preds = %78, %70, %62, %54, %46
  %89 = getelementptr inbounds %struct.b2PlaneResult, ptr %5, i32 0, i32 1
  %90 = load i8, ptr %89, align 4, !tbaa !25, !range !28, !noundef !29
  %91 = trunc i8 %90 to i1
  %92 = zext i1 %91 to i32
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %95

94:                                               ; preds = %88
  store i32 1, ptr %17, align 4
  br label %104

95:                                               ; preds = %88
  %96 = getelementptr inbounds %struct.b2PlaneResult, ptr %5, i32 0, i32 0
  %97 = getelementptr inbounds %struct.b2Plane, ptr %96, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %98 = getelementptr inbounds %struct.b2Transform, ptr %6, i32 0, i32 1
  %99 = getelementptr inbounds %struct.b2PlaneResult, ptr %5, i32 0, i32 0
  %100 = getelementptr inbounds %struct.b2Plane, ptr %99, i32 0, i32 0
  %101 = load <2 x float>, ptr %98, align 4
  %102 = load <2 x float>, ptr %100, align 4
  %103 = call <2 x float> @b2RotateVector(<2 x float> %101, <2 x float> %102)
  store <2 x float> %103, ptr %18, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %97, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  store i32 1, ptr %17, align 4
  br label %104

104:                                              ; preds = %95, %94, %87
  call void @llvm.lifetime.end.p0(i64 20, ptr %9) #6
  %105 = load { <2 x float>, i64 }, ptr %5, align 4
  ret { <2 x float>, i64 } %105
}

declare { <2 x float>, i64 } @b2CollideMoverAndCapsule(ptr noundef, ptr noundef) #5

declare { <2 x float>, i64 } @b2CollideMoverAndCircle(ptr noundef, ptr noundef) #5

declare { <2 x float>, i64 } @b2CollideMoverAndPolygon(ptr noundef, ptr noundef) #5

declare { <2 x float>, i64 } @b2CollideMoverAndSegment(ptr noundef, ptr noundef) #5

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint 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 #4 = { 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 #5 = { "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 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i64 0, i64 4, !10, i64 4, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !11, i64 16}
!13 = !{!"b2Capsule", !14, i64 0, !14, i64 8, !11, i64 16}
!14 = !{!"b2Vec2", !11, i64 0, !11, i64 4}
!15 = !{!16, !17, i64 20}
!16 = !{!"b2Shape", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !17, i64 44, !18, i64 48, !18, i64 64, !14, i64 80, !17, i64 88, !19, i64 96, !6, i64 120, !17, i64 128, !7, i64 132, !21, i64 276, !22, i64 278, !22, i64 279, !22, i64 280, !22, i64 281, !22, i64 282}
!17 = !{!"int", !7, i64 0}
!18 = !{!"b2AABB", !14, i64 0, !14, i64 8}
!19 = !{!"b2Filter", !20, i64 0, !20, i64 8, !17, i64 16}
!20 = !{!"long", !7, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!"_Bool", !7, i64 0}
!23 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10, i64 12, i64 1, !24}
!24 = !{!22, !22, i64 0}
!25 = !{!26, !22, i64 12}
!26 = !{!"b2PlaneResult", !27, i64 0, !22, i64 12}
!27 = !{!"b2Plane", !14, i64 0, !11, i64 8}
!28 = !{i8 0, i8 2}
!29 = !{}


; 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.b2Capsule = type { %struct.b2Vec2, %struct.b2Vec2, float }
%struct.b2Vec2 = type { float, float }

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @b2InvTransformPoint(<2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @b2RotateVector(<2 x float>, <2 x float>) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local { <2 x float>, i64 } @b2CollideMover(ptr noundef %0, <2 x float> %1, <2 x float> %2, ptr nocapture noundef readonly %3) local_unnamed_addr #2 {
  %5 = alloca %struct.b2Capsule, align 8
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #4
  %6 = load <2 x float>, ptr %3, align 4
  %7 = tail call <2 x float> @b2InvTransformPoint(<2 x float> %1, <2 x float> %2, <2 x float> %6)
  store <2 x float> %7, ptr %5, align 8
  %8 = getelementptr inbounds i8, ptr %5, i64 8
  %9 = getelementptr inbounds i8, ptr %3, i64 8
  %10 = load <2 x float>, ptr %9, align 4
  %11 = tail call <2 x float> @b2InvTransformPoint(<2 x float> %1, <2 x float> %2, <2 x float> %10)
  store <2 x float> %11, ptr %8, align 8
  %12 = getelementptr inbounds i8, ptr %3, i64 16
  %13 = load float, ptr %12, align 4, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %5, i64 16
  store float %13, ptr %14, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 20
  %16 = load i32, ptr %15, align 4, !tbaa !11
  switch i32 %16, label %37 [
    i32 1, label %17
    i32 0, label %20
    i32 3, label %23
    i32 2, label %26
    i32 4, label %29
  ]

17:                                               ; preds = %4
  %18 = getelementptr inbounds i8, ptr %0, i64 132
  %19 = call { <2 x float>, i64 } @b2CollideMoverAndCapsule(ptr noundef nonnull %18, ptr noundef nonnull %5) #4
  br label %32

20:                                               ; preds = %4
  %21 = getelementptr inbounds i8, ptr %0, i64 132
  %22 = call { <2 x float>, i64 } @b2CollideMoverAndCircle(ptr noundef nonnull %21, ptr noundef nonnull %5) #4
  br label %32

23:                                               ; preds = %4
  %24 = getelementptr inbounds i8, ptr %0, i64 132
  %25 = call { <2 x float>, i64 } @b2CollideMoverAndPolygon(ptr noundef nonnull %24, ptr noundef nonnull %5) #4
  br label %32

26:                                               ; preds = %4
  %27 = getelementptr inbounds i8, ptr %0, i64 132
  %28 = call { <2 x float>, i64 } @b2CollideMoverAndSegment(ptr noundef nonnull %27, ptr noundef nonnull %5) #4
  br label %32

29:                                               ; preds = %4
  %30 = getelementptr inbounds i8, ptr %0, i64 140
  %31 = call { <2 x float>, i64 } @b2CollideMoverAndSegment(ptr noundef nonnull %30, ptr noundef nonnull %5) #4
  br label %32

32:                                               ; preds = %29, %26, %23, %20, %17
  %.pn = phi { <2 x float>, i64 } [ %31, %29 ], [ %28, %26 ], [ %25, %23 ], [ %22, %20 ], [ %19, %17 ]
  %.sroa.9.0 = extractvalue { <2 x float>, i64 } %.pn, 1
  %.sroa.024.0 = extractvalue { <2 x float>, i64 } %.pn, 0
  %33 = and i64 %.sroa.9.0, 4294967296
  %34 = icmp eq i64 %33, 0
  br i1 %34, label %37, label %35

35:                                               ; preds = %32
  %36 = call <2 x float> @b2RotateVector(<2 x float> %2, <2 x float> %.sroa.024.0)
  br label %37

37:                                               ; preds = %32, %4, %35
  %.sroa.024.1 = phi <2 x float> [ %36, %35 ], [ zeroinitializer, %4 ], [ %.sroa.024.0, %32 ]
  %.sroa.9.1 = phi i64 [ %.sroa.9.0, %35 ], [ 0, %4 ], [ %.sroa.9.0, %32 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #4
  %.fca.0.insert = insertvalue { <2 x float>, i64 } poison, <2 x float> %.sroa.024.1, 0
  %.fca.1.insert = insertvalue { <2 x float>, i64 } %.fca.0.insert, i64 %.sroa.9.1, 1
  ret { <2 x float>, i64 } %.fca.1.insert
}

declare { <2 x float>, i64 } @b2CollideMoverAndCapsule(ptr noundef, ptr noundef) local_unnamed_addr #3

declare { <2 x float>, i64 } @b2CollideMoverAndCircle(ptr noundef, ptr noundef) local_unnamed_addr #3

declare { <2 x float>, i64 } @b2CollideMoverAndPolygon(ptr noundef, ptr noundef) local_unnamed_addr #3

declare { <2 x float>, i64 } @b2CollideMoverAndSegment(ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { 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 #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 }

!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, !8, i64 16}
!6 = !{!"b2Capsule", !7, i64 0, !7, i64 8, !8, i64 16}
!7 = !{!"b2Vec2", !8, i64 0, !8, i64 4}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!12, !13, i64 20}
!12 = !{!"b2Shape", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !13, i64 44, !14, i64 48, !14, i64 64, !7, i64 80, !13, i64 88, !15, i64 96, !17, i64 120, !13, i64 128, !9, i64 132, !18, i64 276, !19, i64 278, !19, i64 279, !19, i64 280, !19, i64 281, !19, i64 282}
!13 = !{!"int", !9, i64 0}
!14 = !{!"b2AABB", !7, i64 0, !7, i64 8}
!15 = !{!"b2Filter", !16, i64 0, !16, i64 8, !13, i64 16}
!16 = !{!"long", !9, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!"short", !9, i64 0}
!19 = !{!"_Bool", !9, i64 0}


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