; LLVM IR from eyangch/competitive-programming :: Codeforces/1304/e.ll (Z3dfsi)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@depth = external dso_local global [100000 x i32], align 16
@up = external dso_local global [100000 x [20 x i32]], align 16
@graph = external dso_local global [100000 x %"class.std::vector"], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsi(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %35, %1
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = icmp slt i32 %10, 20
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %38

13:                                               ; preds = %9
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %15
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = sub nsw i32 %17, 1
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [20 x i32], ptr %16, i64 0, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %22
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = sub nsw i32 %24, 1
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [20 x i32], ptr %23, i64 0, i64 %26
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %30
  %32 = load i32, ptr %3, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [20 x i32], ptr %31, i64 0, i64 %33
  store i32 %28, ptr %34, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %13
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %3, align 4, !tbaa !5
  br label %9, !llvm.loop !9

38:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [100000 x %"class.std::vector"], ptr @graph, i64 0, i64 %40
  store ptr %41, ptr %4, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %42 = load ptr, ptr %4, align 8, !tbaa !11
  %43 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #4
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %5, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %45 = load ptr, ptr %4, align 8, !tbaa !11
  %46 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #4
  %47 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %46, ptr %47, align 8
  br label %48

48:                                               ; preds = %80, %38
  %49 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  br i1 %49, label %51, label %50

50:                                               ; preds = %48
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br label %82

51:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %53 = load i32, ptr %52, align 4, !tbaa !5
  store i32 %53, ptr %8, align 4, !tbaa !5
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = load i32, ptr %2, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %56
  %58 = getelementptr inbounds [20 x i32], ptr %57, i64 0, i64 0
  %59 = load i32, ptr %58, align 16, !tbaa !5
  %60 = icmp eq i32 %54, %59
  br i1 %60, label %61, label %62

61:                                               ; preds = %51
  store i32 6, ptr %7, align 4
  br label %77

62:                                               ; preds = %51
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [100000 x i32], ptr @depth, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  %68 = load i32, ptr %8, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [100000 x i32], ptr @depth, i64 0, i64 %69
  store i32 %67, ptr %70, align 4, !tbaa !5
  %71 = load i32, ptr %2, align 4, !tbaa !5
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %73
  %75 = getelementptr inbounds [20 x i32], ptr %74, i64 0, i64 0
  store i32 %71, ptr %75, align 16, !tbaa !5
  %76 = load i32, ptr %8, align 4, !tbaa !5
  call void @_Z3dfsi(i32 noundef %76)
  store i32 0, ptr %7, align 4
  br label %77

77:                                               ; preds = %62, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %78 = load i32, ptr %7, align 4
  switch i32 %78, label %83 [
    i32 0, label %79
    i32 6, label %80
  ]

79:                                               ; preds = %77
  br label %80

80:                                               ; preds = %79, %77
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br label %48

82:                                               ; preds = %50
  ret void

83:                                               ; preds = %77
  unreachable
}

; 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: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@depth = external dso_local local_unnamed_addr global [100000 x i32], align 16
@up = external dso_local local_unnamed_addr global [100000 x [20 x i32]], align 16
@graph = external dso_local global [100000 x %"class.std::vector"], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z3dfsi(i32 noundef %0) local_unnamed_addr #0 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = sext i32 %0 to i64
  %5 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 0
  %6 = load i32, ptr %5, align 16, !tbaa !5
  %7 = sext i32 %6 to i64
  %8 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %7, i64 0
  %9 = load i32, ptr %8, align 16, !tbaa !5
  %10 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 1
  store i32 %9, ptr %10, align 4, !tbaa !5
  %11 = sext i32 %9 to i64
  %12 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %11, i64 1
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 2
  store i32 %13, ptr %14, align 8, !tbaa !5
  %15 = sext i32 %13 to i64
  %16 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %15, i64 2
  %17 = load i32, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 3
  store i32 %17, ptr %18, align 4, !tbaa !5
  %19 = sext i32 %17 to i64
  %20 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %19, i64 3
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 4
  store i32 %21, ptr %22, align 16, !tbaa !5
  %23 = sext i32 %21 to i64
  %24 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %23, i64 4
  %25 = load i32, ptr %24, align 16, !tbaa !5
  %26 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 5
  store i32 %25, ptr %26, align 4, !tbaa !5
  %27 = sext i32 %25 to i64
  %28 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %27, i64 5
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 6
  store i32 %29, ptr %30, align 8, !tbaa !5
  %31 = sext i32 %29 to i64
  %32 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %31, i64 6
  %33 = load i32, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 7
  store i32 %33, ptr %34, align 4, !tbaa !5
  %35 = sext i32 %33 to i64
  %36 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %35, i64 7
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 8
  store i32 %37, ptr %38, align 16, !tbaa !5
  %39 = sext i32 %37 to i64
  %40 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %39, i64 8
  %41 = load i32, ptr %40, align 16, !tbaa !5
  %42 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 9
  store i32 %41, ptr %42, align 4, !tbaa !5
  %43 = sext i32 %41 to i64
  %44 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %43, i64 9
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 10
  store i32 %45, ptr %46, align 8, !tbaa !5
  %47 = sext i32 %45 to i64
  %48 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %47, i64 10
  %49 = load i32, ptr %48, align 8, !tbaa !5
  %50 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 11
  store i32 %49, ptr %50, align 4, !tbaa !5
  %51 = sext i32 %49 to i64
  %52 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %51, i64 11
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 12
  store i32 %53, ptr %54, align 16, !tbaa !5
  %55 = sext i32 %53 to i64
  %56 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %55, i64 12
  %57 = load i32, ptr %56, align 16, !tbaa !5
  %58 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 13
  store i32 %57, ptr %58, align 4, !tbaa !5
  %59 = sext i32 %57 to i64
  %60 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %59, i64 13
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 14
  store i32 %61, ptr %62, align 8, !tbaa !5
  %63 = sext i32 %61 to i64
  %64 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %63, i64 14
  %65 = load i32, ptr %64, align 8, !tbaa !5
  %66 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 15
  store i32 %65, ptr %66, align 4, !tbaa !5
  %67 = sext i32 %65 to i64
  %68 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %67, i64 15
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 16
  store i32 %69, ptr %70, align 16, !tbaa !5
  %71 = sext i32 %69 to i64
  %72 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %71, i64 16
  %73 = load i32, ptr %72, align 16, !tbaa !5
  %74 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 17
  store i32 %73, ptr %74, align 4, !tbaa !5
  %75 = sext i32 %73 to i64
  %76 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %75, i64 17
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 18
  store i32 %77, ptr %78, align 8, !tbaa !5
  %79 = sext i32 %77 to i64
  %80 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %79, i64 18
  %81 = load i32, ptr %80, align 8, !tbaa !5
  %82 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %4, i64 19
  store i32 %81, ptr %82, align 4, !tbaa !5
  %83 = getelementptr inbounds [100000 x %"class.std::vector"], ptr @graph, i64 0, i64 %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  %84 = tail call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #3
  store ptr %84, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  %85 = tail call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #3
  store ptr %85, ptr %3, align 8
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  br i1 %86, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %87 = getelementptr inbounds [100000 x i32], ptr @depth, i64 0, i64 %4
  br label %88

._crit_edge:                                      ; preds = %99, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret void

88:                                               ; preds = %.lr.ph, %99
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = load i32, ptr %5, align 16, !tbaa !5
  %92 = icmp eq i32 %90, %91
  br i1 %92, label %99, label %93

93:                                               ; preds = %88
  %94 = load i32, ptr %87, align 4, !tbaa !5
  %95 = add nsw i32 %94, 1
  %96 = sext i32 %90 to i64
  %97 = getelementptr inbounds [100000 x i32], ptr @depth, i64 0, i64 %96
  store i32 %95, ptr %97, align 4, !tbaa !5
  %98 = getelementptr inbounds [100000 x [20 x i32]], ptr @up, i64 0, i64 %96
  store i32 %0, ptr %98, align 16, !tbaa !5
  call void @_Z3dfsi(i32 noundef %90)
  br label %99

99:                                               ; preds = %88, %93
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %101 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  br i1 %101, label %88, label %._crit_edge
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass