; LLVM IR from TheAlgorithms/C-Plus-Plus :: graph (bidirectional_dijkstra)

; 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.12" = type { i8 }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.17" = type { i8 }
%"class.std::vector.20" = 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.21" = type { i8 }
%"struct.std::pair" = type { i64, i64 }
%"struct.std::pair.24" = type { i32, i64 }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }
%"struct.std::pair.27" = type { i32, i32 }
%"struct.std::pair.29" = type <{ i64, i32, [4 x i8] }>
%"struct.std::_Bit_reference" = type { ptr, i64 }

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

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

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

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

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

54:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @_ZNSaISt6vectorImSaImEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  invoke void @_ZNSt6vectorIS_ImSaImEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 2, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %55 unwind label %96

55:                                               ; preds = %54
  call void @_ZNSt15__new_allocatorISt6vectorImSaImEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @_ZNSaISt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEC2EmRKS8_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %56 unwind label %101

56:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorISt14priority_queueISt4pairImmESt6vectorIS2_SaIS2_EESt7greaterIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #5
  %57 = load i64, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  invoke void @_ZNSt6vectorImSaImEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %57, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %58 unwind label %105

58:                                               ; preds = %56
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #5
  %59 = load i64, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %22, i64 noundef %59, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %60 unwind label %109

60:                                               ; preds = %58
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  %61 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !11
  %62 = invoke { i32, i64 } @_ZSt9make_pairIiRmESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %63 unwind label %113

63:                                               ; preds = %60
  %64 = getelementptr inbounds { i32, i64 }, ptr %25, i32 0, i32 0
  %65 = extractvalue { i32, i64 } %62, 0
  store i32 %65, ptr %64, align 8
  %66 = getelementptr inbounds { i32, i64 }, ptr %25, i32 0, i32 1
  %67 = extractvalue { i32, i64 } %62, 1
  store i64 %67, ptr %66, align 8
  invoke void @_ZNSt4pairImmEC2IimTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %68 unwind label %113

68:                                               ; preds = %63
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %61, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %69 unwind label %113

69:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  %70 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  %71 = load i64, ptr %8, align 8, !tbaa !9
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %71) #5
  store i64 0, ptr %72, align 8, !tbaa !9
  %73 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !11
  %74 = invoke { i32, i64 } @_ZSt9make_pairIiRmESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %75 unwind label %117

75:                                               ; preds = %69
  %76 = getelementptr inbounds { i32, i64 }, ptr %28, i32 0, i32 0
  %77 = extractvalue { i32, i64 } %74, 0
  store i32 %77, ptr %76, align 8
  %78 = getelementptr inbounds { i32, i64 }, ptr %28, i32 0, i32 1
  %79 = extractvalue { i32, i64 } %74, 1
  store i64 %79, ptr %78, align 8
  invoke void @_ZNSt4pairImmEC2IimTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %80 unwind label %117

80:                                               ; preds = %75
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %73, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %81 unwind label %117

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  %83 = load i64, ptr %9, align 8, !tbaa !9
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %83) #5
  store i64 0, ptr %84, align 8, !tbaa !9
  br label %85

85:                                               ; preds = %348, %81
  br label %86

86:                                               ; preds = %85
  %87 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  %88 = invoke noundef i64 @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(25) %87)
          to label %89 unwind label %121

89:                                               ; preds = %86
  %90 = icmp eq i64 %88, 0
  br i1 %90, label %91, label %125

91:                                               ; preds = %89
  br label %355

92:                                               ; preds = %4
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %15, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %16, align 4
  br label %100

96:                                               ; preds = %54
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %15, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %16, align 4
  call void @_ZNSt15__new_allocatorISt6vectorImSaImEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %100

100:                                              ; preds = %96, %92
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  br label %362

101:                                              ; preds = %55
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %15, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %16, align 4
  call void @_ZNSt15__new_allocatorISt14priority_queueISt4pairImmESt6vectorIS2_SaIS2_EESt7greaterIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  br label %361

105:                                              ; preds = %56
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %15, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %16, align 4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  br label %360

109:                                              ; preds = %58
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %15, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  br label %359

113:                                              ; preds = %68, %63, %60
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %15, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %358

117:                                              ; preds = %80, %75, %69
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %15, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #5
  br label %358

121:                                              ; preds = %86
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %15, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %16, align 4
  br label %358

125:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %126 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  %127 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %126)
          to label %128 unwind label %150

128:                                              ; preds = %125
  %129 = getelementptr inbounds %"struct.std::pair", ptr %127, i32 0, i32 1
  %130 = load i64, ptr %129, align 8, !tbaa !13
  store i64 %130, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %131 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  %132 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %131)
          to label %133 unwind label %154

133:                                              ; preds = %128
  %134 = getelementptr inbounds %"struct.std::pair", ptr %132, i32 0, i32 0
  %135 = load i64, ptr %134, align 8, !tbaa !15
  store i64 %135, ptr %31, align 8, !tbaa !9
  %136 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %136)
          to label %137 unwind label %154

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = load i64, ptr %30, align 8, !tbaa !9
  %140 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairImmESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %139) #5
  store ptr %140, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %141 = load ptr, ptr %32, align 8, !tbaa !5
  %142 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %141) #5
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %33, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %144 = load ptr, ptr %32, align 8, !tbaa !5
  %145 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %144) #5
  %146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %34, i32 0, i32 0
  store ptr %145, ptr %146, align 8
  br label %147

147:                                              ; preds = %204, %137
  %148 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairImmESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  br i1 %148, label %158, label %149

149:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %207

150:                                              ; preds = %125
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %15, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %16, align 4
  br label %354

154:                                              ; preds = %318, %252, %247, %244, %229, %207, %133, %128
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %15, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %16, align 4
  br label %353

158:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %159 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  invoke void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE18_ConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKS_IS3_S4_E(ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(16) %159)
          to label %160 unwind label %195

160:                                              ; preds = %158
  %161 = load i64, ptr %31, align 8, !tbaa !9
  %162 = getelementptr inbounds %"struct.std::pair.27", ptr %35, i32 0, i32 1
  %163 = load i32, ptr %162, align 4, !tbaa !16
  %164 = sext i32 %163 to i64
  %165 = add i64 %161, %164
  %166 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  %167 = getelementptr inbounds %"struct.std::pair.27", ptr %35, i32 0, i32 0
  %168 = load i32, ptr %167, align 4, !tbaa !18
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %169) #5
  %171 = load i64, ptr %170, align 8, !tbaa !9
  %172 = icmp ult i64 %165, %171
  br i1 %172, label %173, label %203

173:                                              ; preds = %160
  %174 = load i64, ptr %31, align 8, !tbaa !9
  %175 = getelementptr inbounds %"struct.std::pair.27", ptr %35, i32 0, i32 1
  %176 = load i32, ptr %175, align 4, !tbaa !16
  %177 = sext i32 %176 to i64
  %178 = add i64 %174, %177
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  %180 = getelementptr inbounds %"struct.std::pair.27", ptr %35, i32 0, i32 0
  %181 = load i32, ptr %180, align 4, !tbaa !18
  %182 = sext i32 %181 to i64
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %182) #5
  store i64 %178, ptr %183, align 8, !tbaa !9
  %184 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #5
  %185 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 0) #5
  %186 = getelementptr inbounds %"struct.std::pair.27", ptr %35, i32 0, i32 0
  %187 = load i32, ptr %186, align 4, !tbaa !18
  %188 = sext i32 %187 to i64
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %188) #5
  %190 = getelementptr inbounds %"struct.std::pair.27", ptr %35, i32 0, i32 0
  %191 = invoke { i64, i32 } @_ZSt9make_pairIRmRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef nonnull align 4 dereferenceable(4) %190)
          to label %192 unwind label %199

192:                                              ; preds = %173
  store { i64, i32 } %191, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %38, i64 12, i1 false)
  invoke void @_ZNSt4pairImmEC2ImiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(12) %37)
          to label %193 unwind label %199

193:                                              ; preds = %192
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %184, ptr noundef nonnull align 8 dereferenceable(16) %36)
          to label %194 unwind label %199

194:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #5
  br label %203

195:                                              ; preds = %158
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %15, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %16, align 4
  br label %206

199:                                              ; preds = %193, %192, %173
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %15, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #5
  br label %206

203:                                              ; preds = %194, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %204

204:                                              ; preds = %203
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  br label %147

206:                                              ; preds = %199, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %353

207:                                              ; preds = %149
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %208 unwind label %154

208:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #5
  %209 = load i64, ptr %30, align 8, !tbaa !9
  %210 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %22, i64 noundef %209)
          to label %211 unwind label %222

211:                                              ; preds = %208
  %212 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 0
  %213 = extractvalue { ptr, i64 } %210, 0
  store ptr %213, ptr %212, align 8
  %214 = getelementptr inbounds { ptr, i64 }, ptr %39, i32 0, i32 1
  %215 = extractvalue { ptr, i64 } %210, 1
  store i64 %215, ptr %214, align 8
  %216 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %39) #5
  %217 = zext i1 %216 to i32
  %218 = icmp eq i32 %217, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #5
  br i1 %218, label %219, label %226

219:                                              ; preds = %211
  %220 = call noundef i64 @_ZN5graph22bidirectional_dijkstra22Shortest_Path_DistanceERKSt6vectorImSaImEERKS1_IS3_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %11)
  %221 = trunc i64 %220 to i32
  store i32 %221, ptr %5, align 4
  store i32 1, ptr %40, align 4
  br label %346

222:                                              ; preds = %208
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %15, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #5
  br label %353

226:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #5
  %227 = load i64, ptr %30, align 8, !tbaa !9
  %228 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %22, i64 noundef %227)
          to label %229 unwind label %240

229:                                              ; preds = %226
  %230 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %231 = extractvalue { ptr, i64 } %228, 0
  store ptr %231, ptr %230, align 8
  %232 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %233 = extractvalue { ptr, i64 } %228, 1
  store i64 %233, ptr %232, align 8
  %234 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %41, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  %235 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  %236 = invoke noundef i64 @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(25) %235)
          to label %237 unwind label %154

237:                                              ; preds = %229
  %238 = icmp eq i64 %236, 0
  br i1 %238, label %239, label %244

239:                                              ; preds = %237
  store i32 3, ptr %40, align 4
  br label %346

240:                                              ; preds = %226
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %15, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #5
  br label %353

244:                                              ; preds = %237
  %245 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  %246 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %245)
          to label %247 unwind label %154

247:                                              ; preds = %244
  %248 = getelementptr inbounds %"struct.std::pair", ptr %246, i32 0, i32 1
  %249 = load i64, ptr %248, align 8, !tbaa !13
  store i64 %249, ptr %30, align 8, !tbaa !9
  %250 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  %251 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %250)
          to label %252 unwind label %154

252:                                              ; preds = %247
  %253 = getelementptr inbounds %"struct.std::pair", ptr %251, i32 0, i32 0
  %254 = load i64, ptr %253, align 8, !tbaa !15
  store i64 %254, ptr %31, align 8, !tbaa !9
  %255 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %255)
          to label %256 unwind label %154

256:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %257 = load ptr, ptr %7, align 8, !tbaa !5
  %258 = load i64, ptr %30, align 8, !tbaa !9
  %259 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairImmESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %257, i64 noundef %258) #5
  store ptr %259, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %260 = load ptr, ptr %42, align 8, !tbaa !5
  %261 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %260) #5
  %262 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %43, i32 0, i32 0
  store ptr %261, ptr %262, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  %263 = load ptr, ptr %42, align 8, !tbaa !5
  %264 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %263) #5
  %265 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.26", ptr %44, i32 0, i32 0
  store ptr %264, ptr %265, align 8
  br label %266

266:                                              ; preds = %315, %256
  %267 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairImmESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #5
  br i1 %267, label %269, label %268

268:                                              ; preds = %266
  store i32 6, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %318

269:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  %270 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #5
  invoke void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE18_ConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKS_IS3_S4_E(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(16) %270)
          to label %271 unwind label %306

271:                                              ; preds = %269
  %272 = load i64, ptr %31, align 8, !tbaa !9
  %273 = getelementptr inbounds %"struct.std::pair.27", ptr %45, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !16
  %275 = sext i32 %274 to i64
  %276 = add i64 %272, %275
  %277 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  %278 = getelementptr inbounds %"struct.std::pair.27", ptr %45, i32 0, i32 0
  %279 = load i32, ptr %278, align 4, !tbaa !18
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %277, i64 noundef %280) #5
  %282 = load i64, ptr %281, align 8, !tbaa !9
  %283 = icmp ult i64 %276, %282
  br i1 %283, label %284, label %314

284:                                              ; preds = %271
  %285 = load i64, ptr %31, align 8, !tbaa !9
  %286 = getelementptr inbounds %"struct.std::pair.27", ptr %45, i32 0, i32 1
  %287 = load i32, ptr %286, align 4, !tbaa !16
  %288 = sext i32 %287 to i64
  %289 = add i64 %285, %288
  %290 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  %291 = getelementptr inbounds %"struct.std::pair.27", ptr %45, i32 0, i32 0
  %292 = load i32, ptr %291, align 4, !tbaa !18
  %293 = sext i32 %292 to i64
  %294 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %290, i64 noundef %293) #5
  store i64 %289, ptr %294, align 8, !tbaa !9
  %295 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #5
  %296 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  %297 = getelementptr inbounds %"struct.std::pair.27", ptr %45, i32 0, i32 0
  %298 = load i32, ptr %297, align 4, !tbaa !18
  %299 = sext i32 %298 to i64
  %300 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %296, i64 noundef %299) #5
  %301 = getelementptr inbounds %"struct.std::pair.27", ptr %45, i32 0, i32 0
  %302 = invoke { i64, i32 } @_ZSt9make_pairIRmRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8) %300, ptr noundef nonnull align 4 dereferenceable(4) %301)
          to label %303 unwind label %310

303:                                              ; preds = %284
  store { i64, i32 } %302, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 8 %48, i64 12, i1 false)
  invoke void @_ZNSt4pairImmEC2ImiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(12) %47)
          to label %304 unwind label %310

304:                                              ; preds = %303
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %295, ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %305 unwind label %310

305:                                              ; preds = %304
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #5
  br label %314

306:                                              ; preds = %269
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %15, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %16, align 4
  br label %317

310:                                              ; preds = %304, %303, %284
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %15, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #5
  br label %317

314:                                              ; preds = %305, %271
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %315

315:                                              ; preds = %314
  %316 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #5
  br label %266

317:                                              ; preds = %310, %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %353

318:                                              ; preds = %268
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %319 unwind label %154

319:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #5
  %320 = load i64, ptr %30, align 8, !tbaa !9
  %321 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %22, i64 noundef %320)
          to label %322 unwind label %333

322:                                              ; preds = %319
  %323 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 0
  %324 = extractvalue { ptr, i64 } %321, 0
  store ptr %324, ptr %323, align 8
  %325 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 1
  %326 = extractvalue { ptr, i64 } %321, 1
  store i64 %326, ptr %325, align 8
  %327 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %49) #5
  %328 = zext i1 %327 to i32
  %329 = icmp eq i32 %328, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #5
  br i1 %329, label %330, label %337

330:                                              ; preds = %322
  %331 = call noundef i64 @_ZN5graph22bidirectional_dijkstra22Shortest_Path_DistanceERKSt6vectorImSaImEERKS1_IS3_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %11)
  %332 = trunc i64 %331 to i32
  store i32 %332, ptr %5, align 4
  store i32 1, ptr %40, align 4
  br label %346

333:                                              ; preds = %319
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %15, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #5
  br label %353

337:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #5
  %338 = load i64, ptr %30, align 8, !tbaa !9
  %339 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %22, i64 noundef %338)
          to label %340 unwind label %349

340:                                              ; preds = %337
  %341 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 0
  %342 = extractvalue { ptr, i64 } %339, 0
  store ptr %342, ptr %341, align 8
  %343 = getelementptr inbounds { ptr, i64 }, ptr %50, i32 0, i32 1
  %344 = extractvalue { ptr, i64 } %339, 1
  store i64 %344, ptr %343, align 8
  %345 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %50, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #5
  store i32 0, ptr %40, align 4
  br label %346

346:                                              ; preds = %340, %330, %239, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  %347 = load i32, ptr %40, align 4
  switch i32 %347, label %356 [
    i32 0, label %348
    i32 3, label %355
  ]

348:                                              ; preds = %346
  br label %85, !llvm.loop !19

349:                                              ; preds = %337
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %15, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #5
  br label %353

353:                                              ; preds = %349, %333, %317, %240, %222, %206, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %354

354:                                              ; preds = %353, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %358

355:                                              ; preds = %346, %91
  store i32 -1, ptr %5, align 4
  store i32 1, ptr %40, align 4
  br label %356

356:                                              ; preds = %355, %346
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @_ZNSt6vectorIS_ImSaImEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %357 = load i32, ptr %5, align 4
  ret i32 %357

358:                                              ; preds = %354, %121, %117, %113
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #5
  br label %359

359:                                              ; preds = %358, %109
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #5
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  br label %360

360:                                              ; preds = %359, %105
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %361

361:                                              ; preds = %360, %101
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @_ZNSt6vectorIS_ImSaImEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %362

362:                                              ; preds = %361, %100
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %363

363:                                              ; preds = %362
  %364 = load ptr, ptr %15, align 8
  %365 = load i32, ptr %16, align 4
  %366 = insertvalue { ptr, i32 } poison, ptr %364, 0
  %367 = insertvalue { ptr, i32 } %366, i32 %365, 1
  resume { ptr, i32 } %367
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorImSaImEEC2EmRKmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), 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 @_ZNSaISt6vectorImSaImEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairImmEC2IimTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE18_ConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKS_IS3_S4_E(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_ZSt9make_pairIRmRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #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 void @_ZNSt4pairImmEC2ImiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #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 zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 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) #0 align 2

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

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

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

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

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"_ZTSSt4pairImmE", !10, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 0}
!16 = !{!17, !12, i64 4}
!17 = !{!"_ZTSSt4pairIiiE", !12, i64 0, !12, i64 4}
!18 = !{!17, !12, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<unsigned long>, std::allocator<std::vector<unsigned long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.12" = type { i8 }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>, std::allocator<std::priority_queue<std::pair<unsigned long, unsigned long>, std::vector<std::pair<unsigned long, unsigned long>>, std::greater<std::pair<unsigned long, unsigned long>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.17" = type { i8 }
%"class.std::vector.20" = 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.21" = type { i8 }
%"struct.std::pair" = type { i64, i64 }
%"struct.std::pair.24" = type { i32, i64 }
%"class.__gnu_cxx::__normal_iterator.26" = type { ptr }
%"struct.std::pair.27" = type { i32, i32 }
%"struct.std::pair.29" = type <{ i64, i32, [4 x i8] }>
%"struct.std::_Bit_reference" = type { ptr, i64 }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5graph22bidirectional_dijkstra10BidijkstraEPSt6vectorIS1_ISt4pairImmESaIS3_EESaIS5_EES8_mm(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca %"class.std::vector.10", align 8
  %8 = alloca %"class.std::vector.5", align 8
  %9 = alloca i64, align 8
  %10 = alloca %"class.std::allocator.7", align 1
  %11 = alloca %"class.std::allocator.12", align 1
  %12 = alloca %"class.std::vector.15", align 8
  %13 = alloca %"class.std::allocator.17", align 1
  %14 = alloca %"class.std::vector.5", align 8
  %15 = alloca %"class.std::allocator.7", align 1
  %16 = alloca %"class.std::vector.20", align 8
  %17 = alloca %"class.std::allocator.21", align 1
  %18 = alloca %"struct.std::pair", align 8
  %19 = alloca %"struct.std::pair.24", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"struct.std::pair", align 8
  %22 = alloca %"struct.std::pair.24", align 8
  %23 = alloca i32, align 4
  %24 = alloca i64, align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %27 = alloca %"struct.std::pair.27", align 4
  %28 = alloca %"struct.std::pair", align 8
  %29 = alloca %"struct.std::pair.29", align 8
  %30 = alloca %"struct.std::_Bit_reference", align 8
  %31 = alloca %"struct.std::_Bit_reference", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.26", align 8
  %34 = alloca %"struct.std::pair.27", align 4
  %35 = alloca %"struct.std::pair", align 8
  %36 = alloca %"struct.std::pair.29", align 8
  %37 = alloca %"struct.std::_Bit_reference", align 8
  %38 = alloca %"struct.std::_Bit_reference", align 8
  store i64 %2, ptr %5, align 8, !tbaa !5
  store i64 %3, ptr %6, align 8, !tbaa !5
  %39 = tail call noundef i64 @_ZNKSt6vectorIS_ISt4pairImmESaIS1_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  store i64 9223372036854775807, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #4
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt6vectorImSaImEEC2EmRKmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %39, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %40 unwind label %74

40:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #4
  call void @_ZNSaISt6vectorImSaImEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  invoke void @_ZNSt6vectorIS_ImSaImEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %41 unwind label %76

41:                                               ; preds = %40
  call void @_ZNSt15__new_allocatorISt6vectorImSaImEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #4
  call void @_ZNSaISt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  invoke void @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEC2EmRKS8_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %42 unwind label %79

42:                                               ; preds = %41
  call void @_ZNSt15__new_allocatorISt14priority_queueISt4pairImmESt6vectorIS2_SaIS2_EESt7greaterIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #4
  call void @_ZNSaImEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  invoke void @_ZNSt6vectorImSaImEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %43 unwind label %81

43:                                               ; preds = %42
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #4
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %16, i64 noundef %39, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %44 unwind label %83

44:                                               ; preds = %43
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  %45 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  %46 = invoke { i32, i64 } @_ZSt9make_pairIiRmESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %47 unwind label %85

47:                                               ; preds = %44
  %48 = extractvalue { i32, i64 } %46, 0
  store i32 %48, ptr %19, align 8
  %49 = getelementptr inbounds i8, ptr %19, i64 8
  %50 = extractvalue { i32, i64 } %46, 1
  store i64 %50, ptr %49, align 8
  call void @_ZNSt4pairImmEC2IimTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %19)
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %45, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %51 unwind label %85

51:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #4
  %52 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #4
  %53 = load i64, ptr %5, align 8, !tbaa !5
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %53) #4
  store i64 0, ptr %54, align 8, !tbaa !5
  %55 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #4
  store i32 0, ptr %23, align 4, !tbaa !9
  %56 = invoke { i32, i64 } @_ZSt9make_pairIiRmESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %57 unwind label %87

57:                                               ; preds = %51
  %58 = extractvalue { i32, i64 } %56, 0
  store i32 %58, ptr %22, align 8
  %59 = getelementptr inbounds i8, ptr %22, i64 8
  %60 = extractvalue { i32, i64 } %56, 1
  store i64 %60, ptr %59, align 8
  call void @_ZNSt4pairImmEC2IimTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %22)
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %55, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %61 unwind label %87

61:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #4
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #4
  %63 = load i64, ptr %6, align 8, !tbaa !5
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %63) #4
  store i64 0, ptr %64, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #4
  %66 = call noundef i64 @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(25) %65)
  %67 = icmp eq i64 %66, 0
  br i1 %67, label %.loopexit, label %.lr.ph49

.lr.ph49:                                         ; preds = %61
  %68 = getelementptr inbounds i8, ptr %27, i64 4
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  %69 = getelementptr inbounds i8, ptr %30, i64 8
  %70 = getelementptr inbounds i8, ptr %31, i64 8
  %71 = getelementptr inbounds i8, ptr %34, i64 4
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  %72 = getelementptr inbounds i8, ptr %37, i64 8
  %73 = getelementptr inbounds i8, ptr %38, i64 8
  br label %89

74:                                               ; preds = %4
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %40
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorImSaImEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #4
  br label %231

79:                                               ; preds = %41
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt14priority_queueISt4pairImmESt6vectorIS2_SaIS2_EESt7greaterIS2_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  br label %230

81:                                               ; preds = %42
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorImED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  br label %229

83:                                               ; preds = %43
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  br label %228

85:                                               ; preds = %47, %44
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #4
  br label %227

87:                                               ; preds = %57, %51
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #4
  br label %227

89:                                               ; preds = %.lr.ph49, %217
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  %90 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #4
  %91 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %90)
  %92 = getelementptr inbounds i8, ptr %91, i64 8
  %93 = load i64, ptr %92, align 8, !tbaa !11
  store i64 %93, ptr %24, align 8, !tbaa !5
  %94 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #4
  %95 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %94)
  %96 = load i64, ptr %95, align 8, !tbaa !13
  %97 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #4
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %97)
          to label %98 unwind label %104

98:                                               ; preds = %89
  %99 = load i64, ptr %24, align 8, !tbaa !5
  %100 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairImmESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %99) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  %101 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #4
  store ptr %101, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #4
  %102 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #4
  store ptr %102, ptr %26, align 8
  %103 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairImmESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #4
  br i1 %103, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %134, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %137 unwind label %104

104:                                              ; preds = %._crit_edge47, %158, %._crit_edge, %89
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %226

.lr.ph:                                           ; preds = %98, %134
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #4
  %106 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #4
  call void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE18_ConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKS_IS3_S4_E(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(16) %106)
  %107 = load i32, ptr %68, align 4, !tbaa !14
  %108 = sext i32 %107 to i64
  %109 = add i64 %96, %108
  %110 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #4
  %111 = load i32, ptr %27, align 4, !tbaa !16
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112) #4
  %114 = load i64, ptr %113, align 8, !tbaa !5
  %115 = icmp ult i64 %109, %114
  br i1 %115, label %116, label %134

116:                                              ; preds = %.lr.ph
  %117 = load i32, ptr %68, align 4, !tbaa !14
  %118 = sext i32 %117 to i64
  %119 = add i64 %96, %118
  %120 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #4
  %121 = load i32, ptr %27, align 4, !tbaa !16
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %122) #4
  store i64 %119, ptr %123, align 8, !tbaa !5
  %124 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #4
  %125 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #4
  %126 = load i32, ptr %27, align 4, !tbaa !16
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %127) #4
  %129 = invoke { i64, i32 } @_ZSt9make_pairIRmRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %130 unwind label %132

130:                                              ; preds = %116
  %.fca.0.extract2 = extractvalue { i64, i32 } %129, 0
  %.fca.1.extract3 = extractvalue { i64, i32 } %129, 1
  store i64 %.fca.0.extract2, ptr %29, align 8
  store i32 %.fca.1.extract3, ptr %.sroa.25.0..sroa_idx, align 8
  call void @_ZNSt4pairImmEC2ImiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(12) %29)
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %124, ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %131 unwind label %132

131:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #4
  br label %134

132:                                              ; preds = %130, %116
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  br label %226

134:                                              ; preds = %131, %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #4
  %136 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairImmESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #4
  br i1 %136, label %.lr.ph, label %._crit_edge

137:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #4
  %138 = load i64, ptr %24, align 8, !tbaa !5
  %139 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %16, i64 noundef %138)
          to label %140 unwind label %144

140:                                              ; preds = %137
  %141 = extractvalue { ptr, i64 } %139, 0
  store ptr %141, ptr %30, align 8
  %142 = extractvalue { ptr, i64 } %139, 1
  store i64 %142, ptr %69, align 8
  %143 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #4
  br i1 %143, label %.thread, label %146

144:                                              ; preds = %137
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #4
  br label %226

146:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #4
  %147 = load i64, ptr %24, align 8, !tbaa !5
  %148 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %16, i64 noundef %147)
          to label %149 unwind label %156

149:                                              ; preds = %146
  %150 = extractvalue { ptr, i64 } %148, 0
  store ptr %150, ptr %31, align 8
  %151 = extractvalue { ptr, i64 } %148, 1
  store i64 %151, ptr %70, align 8
  %152 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %31, i1 noundef zeroext true) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #4
  %153 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #4
  %154 = call noundef i64 @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(25) %153)
  %155 = icmp eq i64 %154, 0
  br i1 %155, label %.thread42, label %158

.thread42:                                        ; preds = %149
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  br label %.loopexit

156:                                              ; preds = %146
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #4
  br label %226

158:                                              ; preds = %149
  %159 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #4
  %160 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %159)
  %161 = getelementptr inbounds i8, ptr %160, i64 8
  %162 = load i64, ptr %161, align 8, !tbaa !11
  store i64 %162, ptr %24, align 8, !tbaa !5
  %163 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #4
  %164 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %163)
  %165 = load i64, ptr %164, align 8, !tbaa !13
  %166 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #4
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %166)
          to label %167 unwind label %104

167:                                              ; preds = %158
  %168 = load i64, ptr %24, align 8, !tbaa !5
  %169 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt4pairImmESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %168) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #4
  %170 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %169) #4
  store ptr %170, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #4
  %171 = call ptr @_ZNSt6vectorISt4pairImmESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %169) #4
  store ptr %171, ptr %33, align 8
  %172 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairImmESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  br i1 %172, label %.lr.ph46, label %._crit_edge47

._crit_edge47:                                    ; preds = %201, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #4
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %204 unwind label %104

.lr.ph46:                                         ; preds = %167, %201
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #4
  %173 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #4
  call void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE18_ConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKS_IS3_S4_E(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(16) %173)
  %174 = load i32, ptr %71, align 4, !tbaa !14
  %175 = sext i32 %174 to i64
  %176 = add i64 %165, %175
  %177 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #4
  %178 = load i32, ptr %34, align 4, !tbaa !16
  %179 = sext i32 %178 to i64
  %180 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %177, i64 noundef %179) #4
  %181 = load i64, ptr %180, align 8, !tbaa !5
  %182 = icmp ult i64 %176, %181
  br i1 %182, label %183, label %201

183:                                              ; preds = %.lr.ph46
  %184 = load i32, ptr %71, align 4, !tbaa !14
  %185 = sext i32 %184 to i64
  %186 = add i64 %165, %185
  %187 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #4
  %188 = load i32, ptr %34, align 4, !tbaa !16
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %189) #4
  store i64 %186, ptr %190, align 8, !tbaa !5
  %191 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #4
  %192 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ImSaImEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #4
  %193 = load i32, ptr %34, align 4, !tbaa !16
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %194) #4
  %196 = invoke { i64, i32 } @_ZSt9make_pairIRmRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %197 unwind label %199

197:                                              ; preds = %183
  %.fca.0.extract = extractvalue { i64, i32 } %196, 0
  %.fca.1.extract = extractvalue { i64, i32 } %196, 1
  store i64 %.fca.0.extract, ptr %36, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZNSt4pairImmEC2ImiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(12) %36)
  invoke void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %191, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %198 unwind label %199

198:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #4
  br label %201

199:                                              ; preds = %197, %183
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #4
  br label %226

201:                                              ; preds = %198, %.lr.ph46
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #4
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #4
  %203 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairImmESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  br i1 %203, label %.lr.ph46, label %._crit_edge47

204:                                              ; preds = %._crit_edge47
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #4
  %205 = load i64, ptr %24, align 8, !tbaa !5
  %206 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %16, i64 noundef %205)
          to label %207 unwind label %211

207:                                              ; preds = %204
  %208 = extractvalue { ptr, i64 } %206, 0
  store ptr %208, ptr %37, align 8
  %209 = extractvalue { ptr, i64 } %206, 1
  store i64 %209, ptr %72, align 8
  %210 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %37) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #4
  br i1 %210, label %.thread, label %213

211:                                              ; preds = %204
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #4
  br label %226

213:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #4
  %214 = load i64, ptr %24, align 8, !tbaa !5
  %215 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %16, i64 noundef %214)
          to label %217 unwind label %224

.thread:                                          ; preds = %207, %140
  %216 = call noundef i64 @_ZN5graph22bidirectional_dijkstra22Shortest_Path_DistanceERKSt6vectorImSaImEERKS1_IS3_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %7)
  %.1.ph = trunc i64 %216 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  br label %.loopexit

217:                                              ; preds = %213
  %218 = extractvalue { ptr, i64 } %215, 0
  store ptr %218, ptr %38, align 8
  %219 = extractvalue { ptr, i64 } %215, 1
  store i64 %219, ptr %73, align 8
  %220 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %38, i1 noundef zeroext true) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  %221 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #4
  %222 = call noundef i64 @_ZNKSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(25) %221)
  %223 = icmp eq i64 %222, 0
  br i1 %223, label %.loopexit, label %89

224:                                              ; preds = %213
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #4
  br label %226

226:                                              ; preds = %224, %211, %199, %156, %144, %132, %104
  %.pn33 = phi { ptr, i32 } [ %133, %132 ], [ %200, %199 ], [ %225, %224 ], [ %212, %211 ], [ %105, %104 ], [ %157, %156 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  br label %227

.loopexit:                                        ; preds = %217, %61, %.thread42, %.thread
  %.2 = phi i32 [ %.1.ph, %.thread ], [ -1, %.thread42 ], [ -1, %61 ], [ -1, %217 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #4
  call void @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @_ZNSt6vectorIS_ImSaImEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  ret i32 %.2

227:                                              ; preds = %226, %87, %85
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %226 ], [ %88, %87 ], [ %86, %85 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #4
  br label %228

228:                                              ; preds = %227, %83
  %.pn33.pn.pn = phi { ptr, i32 } [ %.pn33.pn, %227 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #4
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  br label %229

229:                                              ; preds = %228, %81
  %.pn33.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn, %228 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #4
  call void @_ZNSt6vectorISt14priority_queueISt4pairImmES_IS2_SaIS2_EESt7greaterIS2_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  br label %230

230:                                              ; preds = %229, %79
  %.pn33.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn.pn, %229 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  call void @_ZNSt6vectorIS_ImSaImEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  br label %231

231:                                              ; preds = %230, %78
  %.pn33.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn.pn.pn, %230 ], [ %.pn, %78 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  resume { ptr, i32 } %.pn33.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorImSaImEEC2EmRKmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8), 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 @_ZNSaISt6vectorImSaImEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairImmEC2IimTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairImmESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairImmESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(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 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairImmESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2ImmTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE18_ConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE26_ImplicitlyConvertiblePairIS3_S4_EEEbE4typeELb1EEERKS_IS3_S4_E(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairImmEC2ImiTnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairIS3_S4_EEclsr6_PCCFPIS3_S4_EE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS_IS3_S4_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_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 zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 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 #0 align 2

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

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

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

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

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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 = !{!"long", !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, !6, i64 8}
!12 = !{!"_ZTSSt4pairImmE", !6, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 0}
!14 = !{!15, !10, i64 4}
!15 = !{!"_ZTSSt4pairIiiE", !10, i64 0, !10, i64 4}
!16 = !{!15, !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass