; LLVM IR from mtsamis/box2d-optimized :: src/collision/b2_collision.ll (Z19b2ClipSegmentToLineP12b2ClipVertexPKS_RK6b2Vec2fi)

; 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.b2Vec2 = type { float, float }
%struct.b2ClipVertex = type { %struct.b2Vec2, %union.b2ContactID }
%union.b2ContactID = type { i32 }
%struct.b2ContactFeature = type { i8, i8, i8, i8 }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@__PRETTY_FUNCTION__._Z19b2ClipSegmentToLineP12b2ClipVertexPKS_RK6b2Vec2fi = external hidden unnamed_addr constant [94 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: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmlfRK6b2Vec2(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z19b2ClipSegmentToLineP12b2ClipVertexPKS_RK6b2Vec2fi(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %3, i32 noundef %4) #4 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca %struct.b2Vec2, align 4
  %16 = alloca %struct.b2Vec2, align 4
  %17 = alloca %struct.b2Vec2, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store float %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.b2ClipVertex, ptr %19, i64 0
  %21 = getelementptr inbounds %struct.b2ClipVertex, ptr %20, i32 0, i32 0
  %22 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %21)
  %23 = load float, ptr %9, align 4, !tbaa !9
  %24 = fsub float %22, %23
  store float %24, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.b2ClipVertex, ptr %26, i64 1
  %28 = getelementptr inbounds %struct.b2ClipVertex, ptr %27, i32 0, i32 0
  %29 = call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %28)
  %30 = load float, ptr %9, align 4, !tbaa !9
  %31 = fsub float %29, %30
  store float %31, ptr %13, align 4, !tbaa !9
  %32 = load float, ptr %12, align 4, !tbaa !9
  %33 = fcmp ole float %32, 0.000000e+00
  br i1 %33, label %34, label %42

34:                                               ; preds = %5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.b2ClipVertex, ptr %35, i64 0
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = load i32, ptr %11, align 4, !tbaa !11
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %11, align 4, !tbaa !11
  %40 = sext i32 %38 to i64
  %41 = getelementptr inbounds %struct.b2ClipVertex, ptr %37, i64 %40
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %36, i64 12, i1 false), !tbaa.struct !13
  br label %42

42:                                               ; preds = %34, %5
  %43 = load float, ptr %13, align 4, !tbaa !9
  %44 = fcmp ole float %43, 0.000000e+00
  br i1 %44, label %45, label %53

45:                                               ; preds = %42
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.b2ClipVertex, ptr %46, i64 1
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load i32, ptr %11, align 4, !tbaa !11
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %11, align 4, !tbaa !11
  %51 = sext i32 %49 to i64
  %52 = getelementptr inbounds %struct.b2ClipVertex, ptr %48, i64 %51
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %47, i64 12, i1 false), !tbaa.struct !13
  br label %53

53:                                               ; preds = %45, %42
  %54 = load float, ptr %12, align 4, !tbaa !9
  %55 = load float, ptr %13, align 4, !tbaa !9
  %56 = fmul float %54, %55
  %57 = fcmp olt float %56, 0.000000e+00
  br i1 %57, label %58, label %121

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %59 = load float, ptr %12, align 4, !tbaa !9
  %60 = load float, ptr %12, align 4, !tbaa !9
  %61 = load float, ptr %13, align 4, !tbaa !9
  %62 = fsub float %60, %61
  %63 = fdiv float %59, %62
  store float %63, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.b2ClipVertex, ptr %64, i64 0
  %66 = getelementptr inbounds %struct.b2ClipVertex, ptr %65, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %67 = load float, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.b2ClipVertex, ptr %68, i64 1
  %70 = getelementptr inbounds %struct.b2ClipVertex, ptr %69, i32 0, i32 0
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.b2ClipVertex, ptr %71, i64 0
  %73 = getelementptr inbounds %struct.b2ClipVertex, ptr %72, i32 0, i32 0
  %74 = call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %70, ptr noundef nonnull align 4 dereferenceable(8) %73)
  store <2 x float> %74, ptr %17, align 4
  %75 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %67, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %75, ptr %16, align 4
  %76 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %66, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %76, ptr %15, align 4
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = load i32, ptr %11, align 4, !tbaa !11
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds %struct.b2ClipVertex, ptr %77, i64 %79
  %81 = getelementptr inbounds %struct.b2ClipVertex, ptr %80, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  %82 = load i32, ptr %10, align 4, !tbaa !11
  %83 = trunc i32 %82 to i8
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = load i32, ptr %11, align 4, !tbaa !11
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds %struct.b2ClipVertex, ptr %84, i64 %86
  %88 = getelementptr inbounds %struct.b2ClipVertex, ptr %87, i32 0, i32 1
  %89 = getelementptr inbounds %struct.b2ContactFeature, ptr %88, i32 0, i32 0
  store i8 %83, ptr %89, align 4, !tbaa !14
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.b2ClipVertex, ptr %90, i64 0
  %92 = getelementptr inbounds %struct.b2ClipVertex, ptr %91, i32 0, i32 1
  %93 = getelementptr inbounds %struct.b2ContactFeature, ptr %92, i32 0, i32 1
  %94 = load i8, ptr %93, align 1, !tbaa !14
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = load i32, ptr %11, align 4, !tbaa !11
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds %struct.b2ClipVertex, ptr %95, i64 %97
  %99 = getelementptr inbounds %struct.b2ClipVertex, ptr %98, i32 0, i32 1
  %100 = getelementptr inbounds %struct.b2ContactFeature, ptr %99, i32 0, i32 1
  store i8 %94, ptr %100, align 1, !tbaa !14
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = load i32, ptr %11, align 4, !tbaa !11
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds %struct.b2ClipVertex, ptr %101, i64 %103
  %105 = getelementptr inbounds %struct.b2ClipVertex, ptr %104, i32 0, i32 1
  %106 = getelementptr inbounds %struct.b2ContactFeature, ptr %105, i32 0, i32 2
  store i8 0, ptr %106, align 2, !tbaa !14
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = load i32, ptr %11, align 4, !tbaa !11
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds %struct.b2ClipVertex, ptr %107, i64 %109
  %111 = getelementptr inbounds %struct.b2ClipVertex, ptr %110, i32 0, i32 1
  %112 = getelementptr inbounds %struct.b2ContactFeature, ptr %111, i32 0, i32 3
  store i8 1, ptr %112, align 1, !tbaa !14
  %113 = load i32, ptr %11, align 4, !tbaa !11
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %11, align 4, !tbaa !11
  %115 = load i32, ptr %11, align 4, !tbaa !11
  %116 = icmp eq i32 %115, 2
  br i1 %116, label %117, label %118

117:                                              ; preds = %58
  br label %120

118:                                              ; preds = %58
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 233, ptr noundef @__PRETTY_FUNCTION__._Z19b2ClipSegmentToLineP12b2ClipVertexPKS_RK6b2Vec2fi) #7
  unreachable

119:                                              ; No predecessors!
  br label %120

120:                                              ; preds = %119, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %121

121:                                              ; preds = %120, %53
  %122 = load i32, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret i32 %122
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress 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 = { mustprogress 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 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !14}
!14 = !{!7, !7, i64 0}
!15 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}


; 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.b2Vec2 = type { float, float }
%struct.b2ClipVertex = type { %struct.b2Vec2, %union.b2ContactID }
%union.b2ContactID = type { i32 }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@__PRETTY_FUNCTION__._Z19b2ClipSegmentToLineP12b2ClipVertexPKS_RK6b2Vec2fi = external hidden unnamed_addr constant [94 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: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZmlfRK6b2Vec2(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_Z19b2ClipSegmentToLineP12b2ClipVertexPKS_RK6b2Vec2fi(ptr nocapture noundef writeonly %0, ptr noundef nonnull %1, ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %3, i32 noundef %4) local_unnamed_addr #4 {
  %6 = alloca %struct.b2Vec2, align 8
  %7 = alloca %struct.b2Vec2, align 8
  %8 = tail call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %1)
  %9 = fsub float %8, %3
  %10 = getelementptr inbounds i8, ptr %1, i64 12
  %11 = tail call noundef float @_Z5b2DotRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %12 = fsub float %11, %3
  %13 = fcmp ugt float %9, 0.000000e+00
  br i1 %13, label %15, label %14

14:                                               ; preds = %5
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, i64 12, i1 false), !tbaa.struct !5
  br label %15

15:                                               ; preds = %14, %5
  %.0 = phi i32 [ 1, %14 ], [ 0, %5 ]
  %16 = fcmp ugt float %12, 0.000000e+00
  br i1 %16, label %21, label %17

17:                                               ; preds = %15
  %18 = add nuw nsw i32 %.0, 1
  %19 = zext nneg i32 %.0 to i64
  %20 = getelementptr inbounds %struct.b2ClipVertex, ptr %0, i64 %19
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %10, i64 12, i1 false), !tbaa.struct !5
  br label %21

21:                                               ; preds = %17, %15
  %.1 = phi i32 [ %18, %17 ], [ %.0, %15 ]
  %22 = fmul float %9, %12
  %23 = fcmp olt float %22, 0.000000e+00
  br i1 %23, label %24, label %41

24:                                               ; preds = %21
  %25 = fsub float %9, %12
  %26 = fdiv float %9, %25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %27 = tail call <2 x float> @_ZmiRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %1)
  store <2 x float> %27, ptr %7, align 8
  %28 = call <2 x float> @_ZmlfRK6b2Vec2(float noundef %26, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %28, ptr %6, align 8
  %29 = call <2 x float> @_ZplRK6b2Vec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %6)
  %30 = zext nneg i32 %.1 to i64
  %31 = getelementptr inbounds %struct.b2ClipVertex, ptr %0, i64 %30
  store <2 x float> %29, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %32 = trunc i32 %4 to i8
  %33 = getelementptr inbounds i8, ptr %31, i64 8
  store i8 %32, ptr %33, align 4, !tbaa !10
  %34 = getelementptr inbounds i8, ptr %1, i64 9
  %35 = load i8, ptr %34, align 1, !tbaa !10
  %36 = getelementptr inbounds i8, ptr %31, i64 9
  store i8 %35, ptr %36, align 1, !tbaa !10
  %37 = getelementptr inbounds i8, ptr %31, i64 10
  store i8 0, ptr %37, align 2, !tbaa !10
  %38 = getelementptr inbounds i8, ptr %31, i64 11
  store i8 1, ptr %38, align 1, !tbaa !10
  %39 = icmp eq i32 %.1, 1
  br i1 %39, label %41, label %40

40:                                               ; preds = %24
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 233, ptr noundef nonnull @__PRETTY_FUNCTION__._Z19b2ClipSegmentToLineP12b2ClipVertexPKS_RK6b2Vec2fi) #7
  unreachable

41:                                               ; preds = %24, %21
  %.2 = phi i32 [ %.1, %21 ], [ 2, %24 ]
  ret i32 %.2
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress 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 = { mustprogress 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 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!8, !8, i64 0}


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