; LLVM IR from ShahjalalShohag/code-library :: Geometry/Geometry 3D.ll (Z8reorientSt6vectorIS_I2p3SaIS0_EESaIS2_EE)

; 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<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.6" = type { i8 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<p3, p3>, std::pair<const std::pair<p3, p3>, int>, std::_Select1st<std::pair<const std::pair<p3, p3>, int>>, std::less<std::pair<p3, p3>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<p3, p3>, std::pair<const std::pair<p3, p3>, int>, std::_Select1st<std::pair<const std::pair<p3, p3>, int>>, std::less<std::pair<p3, p3>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.p3 = type { double, double, double }
%"struct.std::pair" = type { %struct.p3, %struct.p3 }
%struct.edge = type { i32, i8 }
%"class.std::vector.22" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.26" = type { i8 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.32" = type { ptr }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8reorientSt6vectorIS_I2p3SaIS0_EESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector.4", align 8
  %7 = alloca %"class.std::allocator.6", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::map", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %struct.p3, align 8
  %16 = alloca %struct.p3, align 8
  %17 = alloca %"struct.std::pair", align 8
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::pair", align 8
  %20 = alloca %struct.edge, align 4
  %21 = alloca %struct.edge, align 4
  %22 = alloca %"struct.std::pair", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::pair", align 8
  %25 = alloca %struct.edge, align 4
  %26 = alloca %struct.edge, align 4
  %27 = alloca %"struct.std::pair", align 8
  %28 = alloca %"class.std::vector.22", align 8
  %29 = alloca i8, align 1
  %30 = alloca %"class.std::allocator.26", align 1
  %31 = alloca %"class.std::vector.22", align 8
  %32 = alloca %"class.std::allocator.26", align 1
  %33 = alloca %"struct.std::_Bit_reference", align 8
  %34 = alloca %"class.std::queue", align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %40 = alloca %struct.edge, align 4
  %41 = alloca %"struct.std::_Bit_reference", align 8
  %42 = alloca %"struct.std::_Bit_reference", align 8
  %43 = alloca %"struct.std::_Bit_reference", align 8
  %44 = alloca %"struct.std::_Bit_reference", align 8
  %45 = alloca i32, align 4
  %46 = alloca %"struct.std::_Bit_reference", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %49 = call noundef i64 @_ZNKSt6vectorIS_I2p3SaIS0_EESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %50 = trunc i64 %49 to i32
  store i32 %50, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %51 = load i32, ptr %5, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @_ZNSaISt6vectorI4edgeSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %52, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %53 unwind label %59

53:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorISt6vectorI4edgeSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #6
  call void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %198, %53
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = load i32, ptr %5, align 4, !tbaa !9
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %63, label %58

58:                                               ; preds = %54
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %201

59:                                               ; preds = %2
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %8, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %9, align 4
  call void @_ZNSt15__new_allocatorISt6vectorI4edgeSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %397

63:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %64 = load i32, ptr %11, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %65) #6
  %67 = call noundef i64 @_ZNKSt6vectorI2p3SaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %68 = trunc i64 %67 to i32
  store i32 %68, ptr %14, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %192, %63
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = icmp slt i32 %70, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %69
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %197

74:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %76) #6
  %78 = load i32, ptr %13, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI2p3SaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %79) #6
  invoke void @_ZN2p3C2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %80)
          to label %81 unwind label %115

81:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %83) #6
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = srem i32 %86, %87
  %89 = sext i32 %88 to i64
  %90 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI2p3SaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %89) #6
  invoke void @_ZN2p3C2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %91 unwind label %119

91:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #6
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %92 unwind label %123

92:                                               ; preds = %91
  %93 = invoke noundef i64 @_ZNKSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %17)
          to label %94 unwind label %123

94:                                               ; preds = %92
  %95 = icmp ne i64 %93, 0
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  br i1 %95, label %96, label %140

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #6
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %97 unwind label %127

97:                                               ; preds = %96
  %98 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %99 unwind label %127

99:                                               ; preds = %97
  %100 = load i32, ptr %98, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  store i32 %100, ptr %18, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %102) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %104 = getelementptr inbounds %struct.edge, ptr %20, i32 0, i32 0
  %105 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %105, ptr %104, align 4, !tbaa !11
  %106 = getelementptr inbounds %struct.edge, ptr %20, i32 0, i32 1
  store i8 1, ptr %106, align 4, !tbaa !14
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef nonnull align 4 dereferenceable(8) %20)
          to label %107 unwind label %131

107:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %109) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %111 = getelementptr inbounds %struct.edge, ptr %21, i32 0, i32 0
  %112 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %112, ptr %111, align 4, !tbaa !11
  %113 = getelementptr inbounds %struct.edge, ptr %21, i32 0, i32 1
  store i8 1, ptr %113, align 4, !tbaa !14
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %110, ptr noundef nonnull align 4 dereferenceable(8) %21)
          to label %114 unwind label %135

114:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %191

115:                                              ; preds = %74
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %8, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %9, align 4
  br label %196

119:                                              ; preds = %81
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %8, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %9, align 4
  br label %195

123:                                              ; preds = %92, %91
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %8, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  br label %195

127:                                              ; preds = %97, %96
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %8, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  br label %139

131:                                              ; preds = %99
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %8, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %139

135:                                              ; preds = %107
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %8, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %139

139:                                              ; preds = %135, %131, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %195

140:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %141 unwind label %164

141:                                              ; preds = %140
  %142 = invoke noundef i64 @_ZNKSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %143 unwind label %164

143:                                              ; preds = %141
  %144 = icmp ne i64 %142, 0
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  br i1 %144, label %145, label %181

145:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #6
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %146 unwind label %168

146:                                              ; preds = %145
  %147 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %148 unwind label %168

148:                                              ; preds = %146
  %149 = load i32, ptr %147, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #6
  store i32 %149, ptr %23, align 4, !tbaa !9
  %150 = load i32, ptr %11, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %151) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %153 = getelementptr inbounds %struct.edge, ptr %25, i32 0, i32 0
  %154 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %154, ptr %153, align 4, !tbaa !11
  %155 = getelementptr inbounds %struct.edge, ptr %25, i32 0, i32 1
  store i8 0, ptr %155, align 4, !tbaa !14
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef nonnull align 4 dereferenceable(8) %25)
          to label %156 unwind label %172

156:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  %157 = load i32, ptr %23, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %158) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %160 = getelementptr inbounds %struct.edge, ptr %26, i32 0, i32 0
  %161 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %161, ptr %160, align 4, !tbaa !11
  %162 = getelementptr inbounds %struct.edge, ptr %26, i32 0, i32 1
  store i8 0, ptr %162, align 4, !tbaa !14
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %159, ptr noundef nonnull align 4 dereferenceable(8) %26)
          to label %163 unwind label %176

163:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %190

164:                                              ; preds = %141, %140
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %8, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  br label %195

168:                                              ; preds = %146, %145
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %8, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #6
  br label %180

172:                                              ; preds = %148
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %8, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %180

176:                                              ; preds = %156
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %8, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %180

180:                                              ; preds = %176, %172, %168
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %195

181:                                              ; preds = %143
  %182 = load i32, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #6
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %183 unwind label %186

183:                                              ; preds = %181
  %184 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %185 unwind label %186

185:                                              ; preds = %183
  store i32 %182, ptr %184, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  br label %190

186:                                              ; preds = %183, %181
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %8, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  br label %195

190:                                              ; preds = %185, %163
  br label %191

191:                                              ; preds = %190, %114
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  br label %192

192:                                              ; preds = %191
  %193 = load i32, ptr %13, align 4, !tbaa !9
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %13, align 4, !tbaa !9
  br label %69, !llvm.loop !15

195:                                              ; preds = %186, %180, %164, %139, %123, %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br label %196

196:                                              ; preds = %195, %115
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %396

197:                                              ; preds = %73
  br label %198

198:                                              ; preds = %197
  %199 = load i32, ptr %11, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %11, align 4, !tbaa !9
  br label %54, !llvm.loop !17

201:                                              ; preds = %58
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #6
  %202 = load i32, ptr %5, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  store i8 0, ptr %29, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %28, i64 noundef %203, ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %204 unwind label %238

204:                                              ; preds = %201
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #6
  %205 = load i32, ptr %5, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #6
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %206, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %207 unwind label %242

207:                                              ; preds = %204
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  %208 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef 0)
          to label %209 unwind label %246

209:                                              ; preds = %207
  %210 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %211 = extractvalue { ptr, i64 } %208, 0
  store ptr %211, ptr %210, align 8
  %212 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %213 = extractvalue { ptr, i64 } %208, 1
  store i64 %213, ptr %212, align 8
  %214 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %33, i1 noundef zeroext false) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %34) #6
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %34)
          to label %215 unwind label %250

215:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %34, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %216 unwind label %254

216:                                              ; preds = %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %217

217:                                              ; preds = %343, %216
  %218 = invoke noundef zeroext i1 @_ZNKSt5queueIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %34)
          to label %219 unwind label %258

219:                                              ; preds = %217
  %220 = xor i1 %218, true
  br i1 %220, label %221, label %345

221:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %222 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5queueIiSt5dequeIiSaIiEEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %34)
          to label %223 unwind label %262

223:                                              ; preds = %221
  %224 = load i32, ptr %222, align 4, !tbaa !9
  store i32 %224, ptr %36, align 4, !tbaa !9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %34)
          to label %225 unwind label %262

225:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %226 = load i32, ptr %36, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %227) #6
  store ptr %228, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %229 = load ptr, ptr %37, align 8, !tbaa !5
  %230 = call ptr @_ZNSt6vectorI4edgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %229) #6
  %231 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %38, i32 0, i32 0
  store ptr %230, ptr %231, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %232 = load ptr, ptr %37, align 8, !tbaa !5
  %233 = call ptr @_ZNSt6vectorI4edgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %232) #6
  %234 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  store ptr %233, ptr %234, align 8
  br label %235

235:                                              ; preds = %340, %225
  %236 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4edgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #6
  br i1 %236, label %266, label %237

237:                                              ; preds = %235
  store i32 10, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %343

238:                                              ; preds = %201
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %8, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  br label %395

242:                                              ; preds = %204
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %8, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  br label %394

246:                                              ; preds = %207
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %8, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  br label %393

250:                                              ; preds = %209
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %8, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %9, align 4
  br label %392

254:                                              ; preds = %215
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %8, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %391

258:                                              ; preds = %217
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %8, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %9, align 4
  br label %391

262:                                              ; preds = %223, %221
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %8, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %9, align 4
  br label %344

266:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %267 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4edgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %267, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #6
  %268 = getelementptr inbounds %struct.edge, ptr %40, i32 0, i32 0
  %269 = load i32, ptr %268, align 4, !tbaa !11
  %270 = sext i32 %269 to i64
  %271 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %28, i64 noundef %270)
          to label %272 unwind label %318

272:                                              ; preds = %266
  %273 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %274 = extractvalue { ptr, i64 } %271, 0
  store ptr %274, ptr %273, align 8
  %275 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %276 = extractvalue { ptr, i64 } %271, 1
  store i64 %276, ptr %275, align 8
  %277 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #6
  %278 = xor i1 %277, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  br i1 %278, label %279, label %339

279:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  %280 = getelementptr inbounds %struct.edge, ptr %40, i32 0, i32 0
  %281 = load i32, ptr %280, align 4, !tbaa !11
  %282 = sext i32 %281 to i64
  %283 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %28, i64 noundef %282)
          to label %284 unwind label %322

284:                                              ; preds = %279
  %285 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %286 = extractvalue { ptr, i64 } %283, 0
  store ptr %286, ptr %285, align 8
  %287 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %288 = extractvalue { ptr, i64 } %283, 1
  store i64 %288, ptr %287, align 8
  %289 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %42, i1 noundef zeroext true) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #6
  %290 = load i32, ptr %36, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %291)
          to label %293 unwind label %326

293:                                              ; preds = %284
  %294 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %295 = extractvalue { ptr, i64 } %292, 0
  store ptr %295, ptr %294, align 8
  %296 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %297 = extractvalue { ptr, i64 } %292, 1
  store i64 %297, ptr %296, align 8
  %298 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %43) #6
  %299 = zext i1 %298 to i32
  %300 = getelementptr inbounds %struct.edge, ptr %40, i32 0, i32 1
  %301 = load i8, ptr %300, align 4, !tbaa !14, !range !20, !noundef !21
  %302 = trunc i8 %301 to i1
  %303 = zext i1 %302 to i32
  %304 = xor i32 %299, %303
  %305 = icmp ne i32 %304, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  %306 = getelementptr inbounds %struct.edge, ptr %40, i32 0, i32 0
  %307 = load i32, ptr %306, align 4, !tbaa !11
  %308 = sext i32 %307 to i64
  %309 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %308)
          to label %310 unwind label %330

310:                                              ; preds = %293
  %311 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %312 = extractvalue { ptr, i64 } %309, 0
  store ptr %312, ptr %311, align 8
  %313 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %314 = extractvalue { ptr, i64 } %309, 1
  store i64 %314, ptr %313, align 8
  %315 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %44, i1 noundef zeroext %305) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  %316 = getelementptr inbounds %struct.edge, ptr %40, i32 0, i32 0
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %34, ptr noundef nonnull align 4 dereferenceable(4) %316)
          to label %317 unwind label %335

317:                                              ; preds = %310
  br label %339

318:                                              ; preds = %266
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %8, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  br label %342

322:                                              ; preds = %279
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %8, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  br label %342

326:                                              ; preds = %284
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %8, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %9, align 4
  br label %334

330:                                              ; preds = %293
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %8, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  br label %334

334:                                              ; preds = %330, %326
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  br label %342

335:                                              ; preds = %310
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %8, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %9, align 4
  br label %342

339:                                              ; preds = %317, %272
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %340

340:                                              ; preds = %339
  %341 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4edgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #6
  br label %235

342:                                              ; preds = %335, %334, %322, %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %344

343:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %217, !llvm.loop !22

344:                                              ; preds = %342, %262
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %391

345:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  store i32 0, ptr %45, align 4, !tbaa !9
  br label %346

346:                                              ; preds = %386, %345
  %347 = load i32, ptr %45, align 4, !tbaa !9
  %348 = load i32, ptr %5, align 4, !tbaa !9
  %349 = icmp slt i32 %347, %348
  br i1 %349, label %351, label %350

350:                                              ; preds = %346
  store i32 12, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  br label %390

351:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #6
  %352 = load i32, ptr %45, align 4, !tbaa !9
  %353 = sext i32 %352 to i64
  %354 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %353)
          to label %355 unwind label %377

355:                                              ; preds = %351
  %356 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 0
  %357 = extractvalue { ptr, i64 } %354, 0
  store ptr %357, ptr %356, align 8
  %358 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 1
  %359 = extractvalue { ptr, i64 } %354, 1
  store i64 %359, ptr %358, align 8
  %360 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %46) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #6
  br i1 %360, label %361, label %385

361:                                              ; preds = %355
  %362 = load i32, ptr %45, align 4, !tbaa !9
  %363 = sext i32 %362 to i64
  %364 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %363) #6
  %365 = call ptr @_ZNSt6vectorI2p3SaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %364) #6
  %366 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.32", ptr %47, i32 0, i32 0
  store ptr %365, ptr %366, align 8
  %367 = load i32, ptr %45, align 4, !tbaa !9
  %368 = sext i32 %367 to i64
  %369 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %368) #6
  %370 = call ptr @_ZNSt6vectorI2p3SaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %369) #6
  %371 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.32", ptr %48, i32 0, i32 0
  store ptr %370, ptr %371, align 8
  %372 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.32", ptr %47, i32 0, i32 0
  %373 = load ptr, ptr %372, align 8
  %374 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.32", ptr %48, i32 0, i32 0
  %375 = load ptr, ptr %374, align 8
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIP2p3St6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %373, ptr %375)
          to label %376 unwind label %381

376:                                              ; preds = %361
  br label %385

377:                                              ; preds = %351
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %8, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #6
  br label %389

381:                                              ; preds = %361
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %8, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %9, align 4
  br label %389

385:                                              ; preds = %376, %355
  br label %386

386:                                              ; preds = %385
  %387 = load i32, ptr %45, align 4, !tbaa !9
  %388 = add nsw i32 %387, 1
  store i32 %388, ptr %45, align 4, !tbaa !9
  br label %346, !llvm.loop !23

389:                                              ; preds = %381, %377
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  br label %391

390:                                              ; preds = %350
  call void @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  store i32 1, ptr %12, align 4
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %34) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %34) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  call void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #6
  call void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void

391:                                              ; preds = %389, %344, %258, %254
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %34) #6
  br label %392

392:                                              ; preds = %391, %250
  call void @llvm.lifetime.end.p0(i64 80, ptr %34) #6
  br label %393

393:                                              ; preds = %392, %246
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %31) #6
  br label %394

394:                                              ; preds = %393, %242
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #6
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #6
  br label %395

395:                                              ; preds = %394, %238
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  br label %396

396:                                              ; preds = %395, %196
  call void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #6
  call void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %397

397:                                              ; preds = %396, %59
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %398

398:                                              ; preds = %397
  %399 = load ptr, ptr %8, align 8
  %400 = load i32, ptr %9, align 4
  %401 = insertvalue { ptr, i32 } poison, ptr %399, 0
  %402 = insertvalue { ptr, i32 } %401, i32 %400, 1
  resume { ptr, i32 } %402
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorI4edgeSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP4edgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(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(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4edgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; 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 nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIP2p3St6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorI4edgeSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS4edge", !10, i64 0, !13, i64 4}
!13 = !{!"bool", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!13, !13, i64 0}
!19 = !{i64 0, i64 4, !9, i64 4, i64 1, !18}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}


; 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<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<p3>, std::allocator<std::vector<p3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<edge>, std::allocator<std::vector<edge>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.6" = type { i8 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<p3, p3>, std::pair<const std::pair<p3, p3>, int>, std::_Select1st<std::pair<const std::pair<p3, p3>, int>>, std::less<std::pair<p3, p3>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<p3, p3>, std::pair<const std::pair<p3, p3>, int>, std::_Select1st<std::pair<const std::pair<p3, p3>, int>>, std::less<std::pair<p3, p3>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.p3 = type { double, double, double }
%"struct.std::pair" = type { %struct.p3, %struct.p3 }
%struct.edge = type { i32, i8 }
%"class.std::vector.22" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.26" = type { i8 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z8reorientSt6vectorIS_I2p3SaIS0_EESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.4", align 8
  %4 = alloca %"class.std::allocator.6", align 1
  %5 = alloca %"class.std::map", align 8
  %6 = alloca %struct.p3, align 8
  %7 = alloca %struct.p3, align 8
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca %"struct.std::pair", align 8
  %10 = alloca %struct.edge, align 4
  %11 = alloca %struct.edge, align 4
  %12 = alloca %"struct.std::pair", align 8
  %13 = alloca %"struct.std::pair", align 8
  %14 = alloca %struct.edge, align 4
  %15 = alloca %struct.edge, align 4
  %16 = alloca %"struct.std::pair", align 8
  %17 = alloca %"class.std::vector.22", align 8
  %18 = alloca i8, align 1
  %19 = alloca %"class.std::allocator.26", align 1
  %20 = alloca %"class.std::vector.22", align 8
  %21 = alloca %"class.std::allocator.26", align 1
  %22 = alloca %"struct.std::_Bit_reference", align 8
  %23 = alloca %"class.std::queue", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %struct.edge, align 8
  %28 = alloca %"struct.std::_Bit_reference", align 8
  %29 = alloca %"struct.std::_Bit_reference", align 8
  %30 = alloca %"struct.std::_Bit_reference", align 8
  %31 = alloca %"struct.std::_Bit_reference", align 8
  %32 = alloca %"struct.std::_Bit_reference", align 8
  %33 = tail call noundef i64 @_ZNKSt6vectorIS_I2p3SaIS0_EESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  %sext = shl i64 %33, 32
  %34 = ashr exact i64 %sext, 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @_ZNSaISt6vectorI4edgeSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  invoke void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %34, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %35 unwind label %42

35:                                               ; preds = %2
  %36 = trunc i64 %33 to i32
  call void @_ZNSt15__new_allocatorISt6vectorI4edgeSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #5
  call void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.lr.ph75, label %._crit_edge76

.lr.ph75:                                         ; preds = %35
  %38 = getelementptr inbounds i8, ptr %10, i64 4
  %39 = getelementptr inbounds i8, ptr %11, i64 4
  %40 = getelementptr inbounds i8, ptr %14, i64 4
  %41 = getelementptr inbounds i8, ptr %15, i64 4
  %wide.trip.count89 = and i64 %33, 2147483647
  br label %44

._crit_edge76:                                    ; preds = %._crit_edge, %35
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  store i8 0, ptr %18, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #5
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %17, i64 noundef %34, ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %111 unwind label %137

42:                                               ; preds = %2
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorI4edgeSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  br label %215

44:                                               ; preds = %.lr.ph75, %._crit_edge
  %indvars.iv86 = phi i64 [ 0, %.lr.ph75 ], [ %indvars.iv.next87, %._crit_edge ]
  %45 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv86) #5
  %46 = call noundef i64 @_ZNKSt6vectorI2p3SaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  %47 = trunc i64 %46 to i32
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %44
  %49 = and i64 %46, 2147483647
  %50 = trunc nuw nsw i64 %indvars.iv86 to i32
  %51 = trunc nuw nsw i64 %indvars.iv86 to i32
  %52 = trunc nuw nsw i64 %indvars.iv86 to i32
  br label %.lr.ph

._crit_edge:                                      ; preds = %109, %44
  %indvars.iv.next87 = add nuw nsw i64 %indvars.iv86, 1
  %exitcond90.not = icmp eq i64 %indvars.iv.next87, %wide.trip.count89
  br i1 %exitcond90.not, label %._crit_edge76, label %44, !llvm.loop !9

.lr.ph:                                           ; preds = %.lr.ph.preheader, %109
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %109 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  %53 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv86) #5
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI2p3SaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #5
  call void @_ZN2p3C2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %54)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv86) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %56 = icmp eq i64 %indvars.iv.next, %49
  %57 = and i64 %indvars.iv.next, 4294967295
  %58 = select i1 %56, i64 0, i64 %57
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI2p3SaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %58) #5
  call void @_ZN2p3C2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %59)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #5
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %60 unwind label %73

60:                                               ; preds = %.lr.ph
  %61 = invoke noundef i64 @_ZNKSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %62 unwind label %73

62:                                               ; preds = %60
  %.not = icmp eq i64 %61, 0
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  br i1 %.not, label %81, label %63

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %64 unwind label %75

64:                                               ; preds = %63
  %65 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %66 unwind label %75

66:                                               ; preds = %64
  %67 = load i32, ptr %65, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  %68 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv86) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  store i32 %67, ptr %10, align 4, !tbaa !13
  store i8 1, ptr %38, align 4, !tbaa !15
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 4 dereferenceable(8) %10)
          to label %69 unwind label %77

69:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %70 = sext i32 %67 to i64
  %71 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %70) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store i32 %50, ptr %11, align 4, !tbaa !13
  store i8 1, ptr %39, align 4, !tbaa !15
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 4 dereferenceable(8) %11)
          to label %72 unwind label %79

72:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %109

73:                                               ; preds = %60, %.lr.ph
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  br label %110

75:                                               ; preds = %64, %63
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %110

77:                                               ; preds = %66
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %110

79:                                               ; preds = %69
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %110

81:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %82 unwind label %95

82:                                               ; preds = %81
  %83 = invoke noundef i64 @_ZNKSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %84 unwind label %95

84:                                               ; preds = %82
  %.not64 = icmp eq i64 %83, 0
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br i1 %.not64, label %103, label %85

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #5
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %86 unwind label %97

86:                                               ; preds = %85
  %87 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %88 unwind label %97

88:                                               ; preds = %86
  %89 = load i32, ptr %87, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  %90 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv86) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store i32 %89, ptr %14, align 4, !tbaa !13
  store i8 0, ptr %40, align 4, !tbaa !15
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 4 dereferenceable(8) %14)
          to label %91 unwind label %99

91:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  %92 = sext i32 %89 to i64
  %93 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %92) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  store i32 %51, ptr %15, align 4, !tbaa !13
  store i8 0, ptr %41, align 4, !tbaa !15
  invoke void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %93, ptr noundef nonnull align 4 dereferenceable(8) %15)
          to label %94 unwind label %101

94:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %109

95:                                               ; preds = %82, %81
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br label %110

97:                                               ; preds = %86, %85
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  br label %110

99:                                               ; preds = %88
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %110

101:                                              ; preds = %91
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %110

103:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #5
  invoke void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %104 unwind label %107

104:                                              ; preds = %103
  %105 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %106 unwind label %107

106:                                              ; preds = %104
  store i32 %52, ptr %105, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #5
  br label %109

107:                                              ; preds = %104, %103
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #5
  br label %110

109:                                              ; preds = %94, %106, %72
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  %exitcond.not = icmp eq i64 %indvars.iv.next, %49
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

110:                                              ; preds = %97, %99, %101, %75, %77, %79, %107, %95, %73
  %.pn67.pn = phi { ptr, i32 } [ %108, %107 ], [ %96, %95 ], [ %74, %73 ], [ %80, %79 ], [ %78, %77 ], [ %76, %75 ], [ %102, %101 ], [ %100, %99 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %214

111:                                              ; preds = %._crit_edge76
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #5
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %20, i64 noundef %34, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %112 unwind label %139

112:                                              ; preds = %111
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #5
  %113 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %20, i64 noundef 0)
          to label %114 unwind label %141

114:                                              ; preds = %112
  %115 = extractvalue { ptr, i64 } %113, 0
  store ptr %115, ptr %22, align 8
  %116 = getelementptr inbounds i8, ptr %22, i64 8
  %117 = extractvalue { ptr, i64 } %113, 1
  store i64 %117, ptr %116, align 8
  %118 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %22, i1 noundef zeroext false) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %23) #5
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %23)
          to label %119 unwind label %143

119:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #5
  store i32 0, ptr %24, align 4, !tbaa !11
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %120 unwind label %145

120:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  %121 = call noundef zeroext i1 @_ZNKSt5queueIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %23)
  br i1 %121, label %.preheader, label %.lr.ph81

.lr.ph81:                                         ; preds = %120
  %122 = getelementptr inbounds i8, ptr %28, i64 8
  %123 = getelementptr inbounds i8, ptr %29, i64 8
  %124 = getelementptr inbounds i8, ptr %30, i64 8
  %125 = getelementptr inbounds i8, ptr %27, i64 4
  %126 = getelementptr inbounds i8, ptr %31, i64 8
  br label %128

.preheader:                                       ; preds = %._crit_edge79, %120
  br i1 %37, label %.lr.ph83, label %._crit_edge84

.lr.ph83:                                         ; preds = %.preheader
  %127 = getelementptr inbounds i8, ptr %32, i64 8
  %wide.trip.count94 = and i64 %33, 2147483647
  br label %193

128:                                              ; preds = %.lr.ph81, %._crit_edge79
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5queueIiSt5dequeIiSaIiEEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %23)
  %130 = load i32, ptr %129, align 4, !tbaa !11
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %23)
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %131) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #5
  %133 = call ptr @_ZNSt6vectorI4edgeSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #5
  store ptr %133, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #5
  %134 = call ptr @_ZNSt6vectorI4edgeSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %132) #5
  store ptr %134, ptr %26, align 8
  %135 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4edgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  br i1 %135, label %.lr.ph78, label %._crit_edge79

._crit_edge79:                                    ; preds = %189, %128
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #5
  %136 = call noundef zeroext i1 @_ZNKSt5queueIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %23)
  br i1 %136, label %.preheader, label %128, !llvm.loop !17

137:                                              ; preds = %._crit_edge76
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  br label %213

139:                                              ; preds = %111
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  br label %212

141:                                              ; preds = %112
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #5
  br label %211

143:                                              ; preds = %114
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %210

145:                                              ; preds = %119
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  br label %209

.lr.ph78:                                         ; preds = %128, %189
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #5
  %147 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4edgeSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %148 = load i64, ptr %147, align 4
  store i64 %148, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #5
  %sext96 = shl i64 %148, 32
  %149 = ashr exact i64 %sext96, 32
  %150 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %17, i64 noundef %149)
          to label %151 unwind label %178

151:                                              ; preds = %.lr.ph78
  %152 = extractvalue { ptr, i64 } %150, 0
  store ptr %152, ptr %28, align 8
  %153 = extractvalue { ptr, i64 } %150, 1
  store i64 %153, ptr %122, align 8
  %154 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #5
  br i1 %154, label %189, label %155

155:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #5
  %156 = load i32, ptr %27, align 8, !tbaa !13
  %157 = sext i32 %156 to i64
  %158 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %17, i64 noundef %157)
          to label %159 unwind label %180

159:                                              ; preds = %155
  %160 = extractvalue { ptr, i64 } %158, 0
  store ptr %160, ptr %29, align 8
  %161 = extractvalue { ptr, i64 } %158, 1
  store i64 %161, ptr %123, align 8
  %162 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %29, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #5
  %163 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %20, i64 noundef %131)
          to label %164 unwind label %182

164:                                              ; preds = %159
  %165 = extractvalue { ptr, i64 } %163, 0
  store ptr %165, ptr %30, align 8
  %166 = extractvalue { ptr, i64 } %163, 1
  store i64 %166, ptr %124, align 8
  %167 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30) #5
  %168 = load i8, ptr %125, align 4, !tbaa !15, !range !18, !noundef !19
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #5
  %169 = load i32, ptr %27, align 8, !tbaa !13
  %170 = sext i32 %169 to i64
  %171 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %20, i64 noundef %170)
          to label %172 unwind label %184

172:                                              ; preds = %164
  %173 = zext i1 %167 to i8
  %174 = icmp ne i8 %168, %173
  %175 = extractvalue { ptr, i64 } %171, 0
  store ptr %175, ptr %31, align 8
  %176 = extractvalue { ptr, i64 } %171, 1
  store i64 %176, ptr %126, align 8
  %177 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %31, i1 noundef zeroext %174) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #5
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80) %23, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %189 unwind label %187

178:                                              ; preds = %.lr.ph78
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #5
  br label %192

180:                                              ; preds = %155
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #5
  br label %192

182:                                              ; preds = %159
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %186

184:                                              ; preds = %164
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #5
  br label %186

186:                                              ; preds = %184, %182
  %.pn55 = phi { ptr, i32 } [ %185, %184 ], [ %183, %182 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #5
  br label %192

187:                                              ; preds = %172
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %192

189:                                              ; preds = %172, %151
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP4edgeSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %191 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4edgeSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  br i1 %191, label %.lr.ph78, label %._crit_edge79

192:                                              ; preds = %187, %186, %180, %178
  %.pn57 = phi { ptr, i32 } [ %188, %187 ], [ %.pn55, %186 ], [ %181, %180 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #5
  br label %209

._crit_edge84:                                    ; preds = %208, %.preheader
  call void @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %23) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %23) #5
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  call void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  ret void

193:                                              ; preds = %.lr.ph83, %208
  %indvars.iv91 = phi i64 [ 0, %.lr.ph83 ], [ %indvars.iv.next92, %208 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #5
  %194 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %20, i64 noundef %indvars.iv91)
          to label %195 unwind label %204

195:                                              ; preds = %193
  %196 = extractvalue { ptr, i64 } %194, 0
  store ptr %196, ptr %32, align 8
  %197 = extractvalue { ptr, i64 } %194, 1
  store i64 %197, ptr %127, align 8
  %198 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #5
  br i1 %198, label %199, label %208

199:                                              ; preds = %195
  %200 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv91) #5
  %201 = call ptr @_ZNSt6vectorI2p3SaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %200) #5
  %202 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv91) #5
  %203 = call ptr @_ZNSt6vectorI2p3SaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %202) #5
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIP2p3St6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %201, ptr %203)
          to label %208 unwind label %206

204:                                              ; preds = %193
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #5
  br label %209

206:                                              ; preds = %199
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %209

208:                                              ; preds = %195, %199
  %indvars.iv.next92 = add nuw nsw i64 %indvars.iv91, 1
  %exitcond95.not = icmp eq i64 %indvars.iv.next92, %wide.trip.count94
  br i1 %exitcond95.not, label %._crit_edge84, label %193, !llvm.loop !20

209:                                              ; preds = %204, %206, %192, %145
  %.pn57.pn = phi { ptr, i32 } [ %.pn57, %192 ], [ %146, %145 ], [ %207, %206 ], [ %205, %204 ]
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %23) #5
  br label %210

210:                                              ; preds = %209, %143
  %.pn57.pn.pn = phi { ptr, i32 } [ %.pn57.pn, %209 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %23) #5
  br label %211

211:                                              ; preds = %210, %141
  %.pn57.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn, %210 ], [ %142, %141 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #5
  br label %212

212:                                              ; preds = %211, %139
  %.pn57.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn.pn, %211 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  br label %213

213:                                              ; preds = %212, %137
  %.pn57.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn57.pn.pn.pn.pn, %212 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  br label %214

214:                                              ; preds = %213, %110
  %.pn67.pn.pn = phi { ptr, i32 } [ %.pn67.pn, %110 ], [ %.pn57.pn.pn.pn.pn.pn, %213 ]
  call void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #5
  call void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %215

215:                                              ; preds = %214, %42
  %.pn67.pn.pn.pn = phi { ptr, i32 } [ %.pn67.pn.pn, %214 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn67.pn.pn.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorI4edgeSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI2p3SaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairI2p3S0_EC2IRS0_S3_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEEixEOS2_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4edgeSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI4edgeSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIiSt5dequeIiSaIiEEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushERKi(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIP2p3St6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_I2p3SaIS0_EESaIS2_EEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapISt4pairI2p3S1_EiSt4lessIS2_ESaIS0_IKS2_iEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorI4edgeSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { 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 #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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !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 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTS4edge", !12, i64 0, !6, i64 4}
!15 = !{!14, !6, i64 4}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !10}


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