; LLVM IR from tangjz/acm-icpc :: codeforces/gym/101955E.ll (Z7seg_queiiiiPSt4pairIiiE)

; 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.std::pair" = type { i32, i32 }

@a = external dso_local global [4 x [100001 x i64]], align 16
@seg = external dso_local global [4 x [200003 x %"struct.std::pair"]], align 16

; 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 nounwind uwtable
declare dso_local noundef i32 @_Z7seg_idxii(i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 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 i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef, i64, i64) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #5 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::pair", align 4
  %13 = alloca %"struct.std::pair", align 4
  %14 = alloca %"struct.std::pair", align 4
  %15 = alloca %"struct.std::pair", align 4
  %16 = alloca %"struct.std::pair", align 4
  %17 = alloca %"struct.std::pair", align 4
  %18 = alloca %"struct.std::pair", align 4
  %19 = alloca %"struct.std::pair", align 4
  %20 = alloca %"struct.std::pair", align 4
  %21 = alloca %"struct.std::pair", align 4
  %22 = alloca %"struct.std::pair", align 4
  %23 = alloca %"struct.std::pair", align 4
  %24 = alloca i32, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !9
  %25 = load i32, ptr %8, align 4, !tbaa !5
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = icmp sle i32 %25, %26
  br i1 %27, label %28, label %80

28:                                               ; preds = %5
  %29 = load i32, ptr %7, align 4, !tbaa !5
  %30 = load i32, ptr %9, align 4, !tbaa !5
  %31 = icmp sle i32 %29, %30
  br i1 %31, label %32, label %80

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = load i32, ptr %7, align 4, !tbaa !5
  %35 = call noundef i32 @_Z7seg_idxii(i32 noundef %33, i32 noundef %34)
  store i32 %35, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %36 = load ptr, ptr %10, align 8, !tbaa !9
  %37 = getelementptr inbounds %"struct.std::pair", ptr %36, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %37, i64 8, i1 false)
  %38 = load i32, ptr %11, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr @seg, i64 0, i64 %39
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %40, i64 8, i1 false)
  %41 = load i64, ptr %13, align 4
  %42 = load i64, ptr %14, align 4
  %43 = call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef @a, i64 %41, i64 %42)
  store i64 %43, ptr %12, align 4
  %44 = load ptr, ptr %10, align 8, !tbaa !9
  %45 = getelementptr inbounds %"struct.std::pair", ptr %44, i64 0
  %46 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %47 = load ptr, ptr %10, align 8, !tbaa !9
  %48 = getelementptr inbounds %"struct.std::pair", ptr %47, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %48, i64 8, i1 false)
  %49 = load i32, ptr %11, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr getelementptr inbounds ([4 x [200003 x %"struct.std::pair"]], ptr @seg, i64 0, i64 1), i64 0, i64 %50
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %51, i64 8, i1 false)
  %52 = load i64, ptr %16, align 4
  %53 = load i64, ptr %17, align 4
  %54 = call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 1), i64 %52, i64 %53)
  store i64 %54, ptr %15, align 4
  %55 = load ptr, ptr %10, align 8, !tbaa !9
  %56 = getelementptr inbounds %"struct.std::pair", ptr %55, i64 1
  %57 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %56, ptr noundef nonnull align 4 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %58 = load ptr, ptr %10, align 8, !tbaa !9
  %59 = getelementptr inbounds %"struct.std::pair", ptr %58, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %59, i64 8, i1 false)
  %60 = load i32, ptr %11, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr getelementptr inbounds ([4 x [200003 x %"struct.std::pair"]], ptr @seg, i64 0, i64 2), i64 0, i64 %61
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %62, i64 8, i1 false)
  %63 = load i64, ptr %19, align 4
  %64 = load i64, ptr %20, align 4
  %65 = call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 2), i64 %63, i64 %64)
  store i64 %65, ptr %18, align 4
  %66 = load ptr, ptr %10, align 8, !tbaa !9
  %67 = getelementptr inbounds %"struct.std::pair", ptr %66, i64 2
  %68 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %67, ptr noundef nonnull align 4 dereferenceable(8) %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %69 = load ptr, ptr %10, align 8, !tbaa !9
  %70 = getelementptr inbounds %"struct.std::pair", ptr %69, i64 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %70, i64 8, i1 false)
  %71 = load i32, ptr %11, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr getelementptr inbounds ([4 x [200003 x %"struct.std::pair"]], ptr @seg, i64 0, i64 3), i64 0, i64 %72
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 8 %73, i64 8, i1 false)
  %74 = load i64, ptr %22, align 4
  %75 = load i64, ptr %23, align 4
  %76 = call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef getelementptr inbounds ([4 x [100001 x i64]], ptr @a, i64 0, i64 3), i64 %74, i64 %75)
  store i64 %76, ptr %21, align 4
  %77 = load ptr, ptr %10, align 8, !tbaa !9
  %78 = getelementptr inbounds %"struct.std::pair", ptr %77, i64 3
  %79 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %106

80:                                               ; preds = %28, %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = add nsw i32 %81, %82
  %84 = ashr i32 %83, 1
  store i32 %84, ptr %24, align 4, !tbaa !5
  %85 = load i32, ptr %8, align 4, !tbaa !5
  %86 = load i32, ptr %24, align 4, !tbaa !5
  %87 = icmp sle i32 %85, %86
  br i1 %87, label %88, label %94

88:                                               ; preds = %80
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = load i32, ptr %24, align 4, !tbaa !5
  %91 = load i32, ptr %8, align 4, !tbaa !5
  %92 = load i32, ptr %9, align 4, !tbaa !5
  %93 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92, ptr noundef %93)
  br label %94

94:                                               ; preds = %88, %80
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = load i32, ptr %24, align 4, !tbaa !5
  %97 = icmp sgt i32 %95, %96
  br i1 %97, label %98, label %105

98:                                               ; preds = %94
  %99 = load i32, ptr %24, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  %101 = load i32, ptr %7, align 4, !tbaa !5
  %102 = load i32, ptr %8, align 4, !tbaa !5
  %103 = load i32, ptr %9, align 4, !tbaa !5
  %104 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, ptr noundef %104)
  br label %105

105:                                              ; preds = %98, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %106

106:                                              ; preds = %105, %32
  ret void
}

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

%"struct.std::pair" = type { i32, i32 }

@a = external dso_local global [4 x [100001 x i64]], align 16
@seg = external dso_local local_unnamed_addr global [4 x [200003 x %"struct.std::pair"]], align 16

; 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 nounwind uwtable
declare dso_local noundef i32 @_Z7seg_idxii(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 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 i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef, i64, i64) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #4 {
  %6 = alloca %"struct.std::pair", align 8
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca %"struct.std::pair", align 8
  %.not44 = icmp sgt i32 %1, %3
  %.not51 = icmp sgt i32 %2, %0
  %or.cond52 = or i1 %.not44, %.not51
  br i1 %or.cond52, label %.lr.ph, label %tailrecurse._crit_edge

.lr.ph:                                           ; preds = %5
  br i1 %.not44, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %tailrecurse.us
  %.tr53.us = phi i32 [ %14, %tailrecurse.us ], [ %0, %.lr.ph ]
  %10 = add nsw i32 %.tr53.us, %1
  %11 = ashr i32 %10, 1
  %.not45.us = icmp slt i32 %11, %2
  br i1 %.not45.us, label %tailrecurse.us, label %12

12:                                               ; preds = %.lr.ph.split.us
  tail call void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef %.tr53.us, i32 noundef %11, i32 noundef %2, i32 noundef %3, ptr noundef %4)
  br label %tailrecurse.us

tailrecurse.us:                                   ; preds = %12, %.lr.ph.split.us
  %13 = icmp slt i32 %11, %3
  %14 = add nsw i32 %11, 1
  br i1 %13, label %.lr.ph.split.us, label %.loopexit

tailrecurse:                                      ; preds = %36
  %15 = add nsw i32 %34, 1
  %.not = icmp slt i32 %15, %2
  br i1 %.not, label %.lr.ph.split, label %tailrecurse._crit_edge

tailrecurse._crit_edge:                           ; preds = %tailrecurse, %5
  %.tr.lcssa = phi i32 [ %0, %5 ], [ %15, %tailrecurse ]
  %16 = tail call noundef i32 @_Z7seg_idxii(i32 noundef %.tr.lcssa, i32 noundef %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %.sroa.010.0.copyload = load i64, ptr %4, align 4
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr @seg, i64 0, i64 %17
  %.sroa.09.0.copyload = load i64, ptr %18, align 8
  %19 = tail call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef nonnull @a, i64 %.sroa.010.0.copyload, i64 %.sroa.09.0.copyload)
  store i64 %19, ptr %6, align 8
  %20 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %21 = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.08.0.copyload = load i64, ptr %21, align 4
  %22 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr getelementptr inbounds (i8, ptr @seg, i64 1600024), i64 0, i64 %17
  %.sroa.07.0.copyload = load i64, ptr %22, align 8
  %23 = call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef nonnull getelementptr inbounds (i8, ptr @a, i64 800008), i64 %.sroa.08.0.copyload, i64 %.sroa.07.0.copyload)
  store i64 %23, ptr %7, align 8
  %24 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %25 = getelementptr inbounds i8, ptr %4, i64 16
  %.sroa.06.0.copyload = load i64, ptr %25, align 4
  %26 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr getelementptr inbounds (i8, ptr @seg, i64 3200048), i64 0, i64 %17
  %.sroa.05.0.copyload = load i64, ptr %26, align 8
  %27 = call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef nonnull getelementptr inbounds (i8, ptr @a, i64 1600016), i64 %.sroa.06.0.copyload, i64 %.sroa.05.0.copyload)
  store i64 %27, ptr %8, align 8
  %28 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %29 = getelementptr inbounds i8, ptr %4, i64 24
  %.sroa.04.0.copyload = load i64, ptr %29, align 4
  %30 = getelementptr inbounds [200003 x %"struct.std::pair"], ptr getelementptr inbounds (i8, ptr @seg, i64 4800072), i64 0, i64 %17
  %.sroa.0.0.copyload = load i64, ptr %30, align 8
  %31 = call i64 @_Z9seg_mergePxSt4pairIiiES1_(ptr noundef nonnull getelementptr inbounds (i8, ptr @a, i64 2400024), i64 %.sroa.04.0.copyload, i64 %.sroa.0.0.copyload)
  store i64 %31, ptr %9, align 8
  %32 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %.loopexit

.lr.ph.split:                                     ; preds = %.lr.ph, %tailrecurse
  %.tr53 = phi i32 [ %15, %tailrecurse ], [ %0, %.lr.ph ]
  %33 = add nsw i32 %.tr53, %1
  %34 = ashr i32 %33, 1
  %.not45 = icmp slt i32 %34, %2
  br i1 %.not45, label %36, label %35

35:                                               ; preds = %.lr.ph.split
  tail call void @_Z7seg_queiiiiPSt4pairIiiE(i32 noundef %.tr53, i32 noundef %34, i32 noundef %2, i32 noundef %3, ptr noundef %4)
  br label %36

36:                                               ; preds = %35, %.lr.ph.split
  %37 = icmp slt i32 %34, %3
  br i1 %37, label %tailrecurse, label %.loopexit

.loopexit:                                        ; preds = %36, %tailrecurse.us, %tailrecurse._crit_edge
  ret void
}

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

!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)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass