; LLVM IR from ritikbanger/Hacktoberfest2022-DSA :: 17. Graph/Labyrinth.ll (Z3bfsxxxxRSt6vectorIS_IcSaIcEESaIS1_EExRS_IS_IbSaIbEESaIS6_EE)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"struct.std::pair" = type { i64, i64 }

@que = external dso_local global %"class.std::queue", align 8
@vx = external dso_local global %"class.std::vector", align 8
@vy = external dso_local global %"class.std::vector", align 8
@dis = external dso_local global %"class.std::vector", align 8
@c = external dso_local global i64, align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3bfsxxxxRSt6vectorIS_IcSaIcEESaIS1_EExRS_IS_IbSaIbEESaIS6_EE(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #0 {
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.std::_Bit_reference", align 8
  %16 = alloca %"struct.std::_Bit_reference", align 8
  %17 = alloca %"struct.std::_Bit_reference", align 8
  %18 = alloca %"struct.std::pair", align 8
  %19 = alloca i64, align 8
  %20 = alloca %"struct.std::_Bit_reference", align 8
  %21 = alloca %"struct.std::_Bit_reference", align 8
  %22 = alloca %"struct.std::pair", align 8
  %23 = alloca i64, align 8
  %24 = alloca %"struct.std::_Bit_reference", align 8
  %25 = alloca %"struct.std::_Bit_reference", align 8
  %26 = alloca %"struct.std::pair", align 8
  %27 = alloca i64, align 8
  %28 = alloca %"struct.std::_Bit_reference", align 8
  %29 = alloca %"struct.std::_Bit_reference", align 8
  %30 = alloca %"struct.std::pair", align 8
  %31 = alloca i64, align 8
  store i64 %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !5
  store i64 %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !9
  store i64 %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %32 = load ptr, ptr %14, align 8, !tbaa !9
  %33 = load i64, ptr %8, align 8, !tbaa !5
  %34 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %33) #5
  %35 = load i64, ptr %9, align 8, !tbaa !5
  %36 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %34, i64 noundef %35)
  %37 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %38 = extractvalue { ptr, i64 } %36, 0
  store ptr %38, ptr %37, align 8
  %39 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %40 = extractvalue { ptr, i64 } %36, 1
  store i64 %40, ptr %39, align 8
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %15, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  %42 = load i64, ptr %8, align 8, !tbaa !5
  %43 = add nsw i64 %42, 1
  %44 = load i64, ptr %10, align 8, !tbaa !5
  %45 = icmp slt i64 %43, %44
  br i1 %45, label %46, label %157

46:                                               ; preds = %7
  %47 = load ptr, ptr %12, align 8, !tbaa !9
  %48 = load i64, ptr %8, align 8, !tbaa !5
  %49 = add nsw i64 %48, 1
  %50 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %49) #5
  %51 = load i64, ptr %9, align 8, !tbaa !5
  %52 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %51) #5
  %53 = load i8, ptr %52, align 1, !tbaa !11
  %54 = sext i8 %53 to i32
  %55 = icmp eq i32 %54, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  br i1 %55, label %56, label %70

56:                                               ; preds = %46
  %57 = load ptr, ptr %14, align 8, !tbaa !9
  %58 = load i64, ptr %8, align 8, !tbaa !5
  %59 = add nsw i64 %58, 1
  %60 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %59) #5
  %61 = load i64, ptr %9, align 8, !tbaa !5
  %62 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %60, i64 noundef %61)
  %63 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %64 = extractvalue { ptr, i64 } %62, 0
  store ptr %64, ptr %63, align 8
  %65 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %66 = extractvalue { ptr, i64 } %62, 1
  store i64 %66, ptr %65, align 8
  %67 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  %68 = zext i1 %67 to i32
  %69 = icmp eq i32 %68, 0
  br label %70

70:                                               ; preds = %56, %46
  %71 = phi i1 [ false, %46 ], [ %69, %56 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  br i1 %71, label %72, label %114

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  %73 = load ptr, ptr %14, align 8, !tbaa !9
  %74 = load i64, ptr %8, align 8, !tbaa !5
  %75 = add nsw i64 %74, 1
  %76 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %75) #5
  %77 = load i64, ptr %9, align 8, !tbaa !5
  %78 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %76, i64 noundef %77)
  %79 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %80 = extractvalue { ptr, i64 } %78, 0
  store ptr %80, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %82 = extractvalue { ptr, i64 } %78, 1
  store i64 %82, ptr %81, align 8
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %17, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  %84 = load i64, ptr %8, align 8, !tbaa !5
  %85 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %84) #5
  %86 = load i64, ptr %9, align 8, !tbaa !5
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %86) #5
  %88 = load i64, ptr %87, align 8, !tbaa !5
  %89 = add nsw i64 %88, 1
  %90 = load i64, ptr %8, align 8, !tbaa !5
  %91 = add nsw i64 %90, 1
  %92 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %91) #5
  %93 = load i64, ptr %9, align 8, !tbaa !5
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %93) #5
  store i64 %89, ptr %94, align 8, !tbaa !5
  %95 = load i64, ptr %8, align 8, !tbaa !5
  %96 = load i64, ptr %8, align 8, !tbaa !5
  %97 = add nsw i64 %96, 1
  %98 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %97) #5
  %99 = load i64, ptr %9, align 8, !tbaa !5
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %99) #5
  store i64 %95, ptr %100, align 8, !tbaa !5
  %101 = load i64, ptr %9, align 8, !tbaa !5
  %102 = load i64, ptr %8, align 8, !tbaa !5
  %103 = add nsw i64 %102, 1
  %104 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %103) #5
  %105 = load i64, ptr %9, align 8, !tbaa !5
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %105) #5
  store i64 %101, ptr %106, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %107 = load i64, ptr %8, align 8, !tbaa !5
  %108 = add nsw i64 %107, 1
  store i64 %108, ptr %19, align 8, !tbaa !5
  %109 = call { i64, i64 } @_ZSt9make_pairIxRxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %110 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 0
  %111 = extractvalue { i64, i64 } %109, 0
  store i64 %111, ptr %110, align 8
  %112 = getelementptr inbounds { i64, i64 }, ptr %18, i32 0, i32 1
  %113 = extractvalue { i64, i64 } %109, 1
  store i64 %113, ptr %112, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %156

114:                                              ; preds = %70
  %115 = load ptr, ptr %12, align 8, !tbaa !9
  %116 = load i64, ptr %8, align 8, !tbaa !5
  %117 = add nsw i64 %116, 1
  %118 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef %117) #5
  %119 = load i64, ptr %9, align 8, !tbaa !5
  %120 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %119) #5
  %121 = load i8, ptr %120, align 1, !tbaa !11
  %122 = sext i8 %121 to i32
  %123 = icmp eq i32 %122, 66
  br i1 %123, label %124, label %155

124:                                              ; preds = %114
  %125 = load i64, ptr %8, align 8, !tbaa !5
  %126 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %125) #5
  %127 = load i64, ptr %9, align 8, !tbaa !5
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %127) #5
  %129 = load i64, ptr %128, align 8, !tbaa !5
  %130 = add nsw i64 %129, 1
  %131 = load i64, ptr %8, align 8, !tbaa !5
  %132 = add nsw i64 %131, 1
  %133 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %132) #5
  %134 = load i64, ptr %9, align 8, !tbaa !5
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %134) #5
  store i64 %130, ptr %135, align 8, !tbaa !5
  %136 = load i64, ptr %8, align 8, !tbaa !5
  %137 = load i64, ptr %8, align 8, !tbaa !5
  %138 = add nsw i64 %137, 1
  %139 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %138) #5
  %140 = load i64, ptr %9, align 8, !tbaa !5
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %140) #5
  store i64 %136, ptr %141, align 8, !tbaa !5
  %142 = load i64, ptr %9, align 8, !tbaa !5
  %143 = load i64, ptr %8, align 8, !tbaa !5
  %144 = add nsw i64 %143, 1
  %145 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %144) #5
  %146 = load i64, ptr %9, align 8, !tbaa !5
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %146) #5
  store i64 %142, ptr %147, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str)
  %149 = call i64 @clock() #5
  %150 = sitofp i64 %149 to float
  %151 = fdiv float %150, 1.000000e+06
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %148, float noundef %151)
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef @.str.5)
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %503

155:                                              ; preds = %114
  br label %156

156:                                              ; preds = %155, %72
  br label %157

157:                                              ; preds = %156, %7
  %158 = load i64, ptr %9, align 8, !tbaa !5
  %159 = add nsw i64 %158, 1
  %160 = load i64, ptr %11, align 8, !tbaa !5
  %161 = icmp slt i64 %159, %160
  br i1 %161, label %162, label %273

162:                                              ; preds = %157
  %163 = load ptr, ptr %12, align 8, !tbaa !9
  %164 = load i64, ptr %8, align 8, !tbaa !5
  %165 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %164) #5
  %166 = load i64, ptr %9, align 8, !tbaa !5
  %167 = add nsw i64 %166, 1
  %168 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %167) #5
  %169 = load i8, ptr %168, align 1, !tbaa !11
  %170 = sext i8 %169 to i32
  %171 = icmp eq i32 %170, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  br i1 %171, label %172, label %186

172:                                              ; preds = %162
  %173 = load ptr, ptr %14, align 8, !tbaa !9
  %174 = load i64, ptr %8, align 8, !tbaa !5
  %175 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %174) #5
  %176 = load i64, ptr %9, align 8, !tbaa !5
  %177 = add nsw i64 %176, 1
  %178 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %175, i64 noundef %177)
  %179 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %180 = extractvalue { ptr, i64 } %178, 0
  store ptr %180, ptr %179, align 8
  %181 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %182 = extractvalue { ptr, i64 } %178, 1
  store i64 %182, ptr %181, align 8
  %183 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #5
  %184 = zext i1 %183 to i32
  %185 = icmp eq i32 %184, 0
  br label %186

186:                                              ; preds = %172, %162
  %187 = phi i1 [ false, %162 ], [ %185, %172 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  br i1 %187, label %188, label %230

188:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %189 = load ptr, ptr %14, align 8, !tbaa !9
  %190 = load i64, ptr %8, align 8, !tbaa !5
  %191 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %190) #5
  %192 = load i64, ptr %9, align 8, !tbaa !5
  %193 = add nsw i64 %192, 1
  %194 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %191, i64 noundef %193)
  %195 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %196 = extractvalue { ptr, i64 } %194, 0
  store ptr %196, ptr %195, align 8
  %197 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %198 = extractvalue { ptr, i64 } %194, 1
  store i64 %198, ptr %197, align 8
  %199 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %21, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  %200 = load i64, ptr %8, align 8, !tbaa !5
  %201 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %200) #5
  %202 = load i64, ptr %9, align 8, !tbaa !5
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %201, i64 noundef %202) #5
  %204 = load i64, ptr %203, align 8, !tbaa !5
  %205 = add nsw i64 %204, 1
  %206 = load i64, ptr %8, align 8, !tbaa !5
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %206) #5
  %208 = load i64, ptr %9, align 8, !tbaa !5
  %209 = add nsw i64 %208, 1
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %209) #5
  store i64 %205, ptr %210, align 8, !tbaa !5
  %211 = load i64, ptr %8, align 8, !tbaa !5
  %212 = load i64, ptr %8, align 8, !tbaa !5
  %213 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %212) #5
  %214 = load i64, ptr %9, align 8, !tbaa !5
  %215 = add nsw i64 %214, 1
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %213, i64 noundef %215) #5
  store i64 %211, ptr %216, align 8, !tbaa !5
  %217 = load i64, ptr %9, align 8, !tbaa !5
  %218 = load i64, ptr %8, align 8, !tbaa !5
  %219 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %218) #5
  %220 = load i64, ptr %9, align 8, !tbaa !5
  %221 = add nsw i64 %220, 1
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %219, i64 noundef %221) #5
  store i64 %217, ptr %222, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %223 = load i64, ptr %9, align 8, !tbaa !5
  %224 = add nsw i64 %223, 1
  store i64 %224, ptr %23, align 8, !tbaa !5
  %225 = call { i64, i64 } @_ZSt9make_pairIRxxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %226 = getelementptr inbounds { i64, i64 }, ptr %22, i32 0, i32 0
  %227 = extractvalue { i64, i64 } %225, 0
  store i64 %227, ptr %226, align 8
  %228 = getelementptr inbounds { i64, i64 }, ptr %22, i32 0, i32 1
  %229 = extractvalue { i64, i64 } %225, 1
  store i64 %229, ptr %228, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  br label %272

230:                                              ; preds = %186
  %231 = load ptr, ptr %12, align 8, !tbaa !9
  %232 = load i64, ptr %8, align 8, !tbaa !5
  %233 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef %232) #5
  %234 = load i64, ptr %9, align 8, !tbaa !5
  %235 = add nsw i64 %234, 1
  %236 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %233, i64 noundef %235) #5
  %237 = load i8, ptr %236, align 1, !tbaa !11
  %238 = sext i8 %237 to i32
  %239 = icmp eq i32 %238, 66
  br i1 %239, label %240, label %271

240:                                              ; preds = %230
  %241 = load i64, ptr %8, align 8, !tbaa !5
  %242 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %241) #5
  %243 = load i64, ptr %9, align 8, !tbaa !5
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %243) #5
  %245 = load i64, ptr %244, align 8, !tbaa !5
  %246 = add nsw i64 %245, 1
  %247 = load i64, ptr %8, align 8, !tbaa !5
  %248 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %247) #5
  %249 = load i64, ptr %9, align 8, !tbaa !5
  %250 = add nsw i64 %249, 1
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef %250) #5
  store i64 %246, ptr %251, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %252 = load i64, ptr %8, align 8, !tbaa !5
  %253 = load i64, ptr %8, align 8, !tbaa !5
  %254 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %253) #5
  %255 = load i64, ptr %9, align 8, !tbaa !5
  %256 = add nsw i64 %255, 1
  %257 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %256) #5
  store i64 %252, ptr %257, align 8, !tbaa !5
  %258 = load i64, ptr %9, align 8, !tbaa !5
  %259 = load i64, ptr %8, align 8, !tbaa !5
  %260 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %259) #5
  %261 = load i64, ptr %9, align 8, !tbaa !5
  %262 = add nsw i64 %261, 1
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %260, i64 noundef %262) #5
  store i64 %258, ptr %263, align 8, !tbaa !5
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str)
  %265 = call i64 @clock() #5
  %266 = sitofp i64 %265 to float
  %267 = fdiv float %266, 1.000000e+06
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %264, float noundef %267)
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @.str.5)
  %270 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %269, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %503

271:                                              ; preds = %230
  br label %272

272:                                              ; preds = %271, %188
  br label %273

273:                                              ; preds = %272, %157
  %274 = load i64, ptr %8, align 8, !tbaa !5
  %275 = sub nsw i64 %274, 1
  %276 = icmp sge i64 %275, 0
  br i1 %276, label %277, label %388

277:                                              ; preds = %273
  %278 = load ptr, ptr %12, align 8, !tbaa !9
  %279 = load i64, ptr %8, align 8, !tbaa !5
  %280 = sub nsw i64 %279, 1
  %281 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %278, i64 noundef %280) #5
  %282 = load i64, ptr %9, align 8, !tbaa !5
  %283 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %281, i64 noundef %282) #5
  %284 = load i8, ptr %283, align 1, !tbaa !11
  %285 = sext i8 %284 to i32
  %286 = icmp eq i32 %285, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  br i1 %286, label %287, label %301

287:                                              ; preds = %277
  %288 = load ptr, ptr %14, align 8, !tbaa !9
  %289 = load i64, ptr %8, align 8, !tbaa !5
  %290 = sub nsw i64 %289, 1
  %291 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %288, i64 noundef %290) #5
  %292 = load i64, ptr %9, align 8, !tbaa !5
  %293 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %291, i64 noundef %292)
  %294 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %295 = extractvalue { ptr, i64 } %293, 0
  store ptr %295, ptr %294, align 8
  %296 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %297 = extractvalue { ptr, i64 } %293, 1
  store i64 %297, ptr %296, align 8
  %298 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  %299 = zext i1 %298 to i32
  %300 = icmp eq i32 %299, 0
  br label %301

301:                                              ; preds = %287, %277
  %302 = phi i1 [ false, %277 ], [ %300, %287 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br i1 %302, label %303, label %345

303:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  %304 = load ptr, ptr %14, align 8, !tbaa !9
  %305 = load i64, ptr %8, align 8, !tbaa !5
  %306 = sub nsw i64 %305, 1
  %307 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %304, i64 noundef %306) #5
  %308 = load i64, ptr %9, align 8, !tbaa !5
  %309 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %307, i64 noundef %308)
  %310 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %311 = extractvalue { ptr, i64 } %309, 0
  store ptr %311, ptr %310, align 8
  %312 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %313 = extractvalue { ptr, i64 } %309, 1
  store i64 %313, ptr %312, align 8
  %314 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %25, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  %315 = load i64, ptr %8, align 8, !tbaa !5
  %316 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %315) #5
  %317 = load i64, ptr %9, align 8, !tbaa !5
  %318 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %316, i64 noundef %317) #5
  %319 = load i64, ptr %318, align 8, !tbaa !5
  %320 = add nsw i64 %319, 1
  %321 = load i64, ptr %8, align 8, !tbaa !5
  %322 = sub nsw i64 %321, 1
  %323 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %322) #5
  %324 = load i64, ptr %9, align 8, !tbaa !5
  %325 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %323, i64 noundef %324) #5
  store i64 %320, ptr %325, align 8, !tbaa !5
  %326 = load i64, ptr %8, align 8, !tbaa !5
  %327 = load i64, ptr %8, align 8, !tbaa !5
  %328 = sub nsw i64 %327, 1
  %329 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %328) #5
  %330 = load i64, ptr %9, align 8, !tbaa !5
  %331 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %329, i64 noundef %330) #5
  store i64 %326, ptr %331, align 8, !tbaa !5
  %332 = load i64, ptr %9, align 8, !tbaa !5
  %333 = load i64, ptr %8, align 8, !tbaa !5
  %334 = sub nsw i64 %333, 1
  %335 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %334) #5
  %336 = load i64, ptr %9, align 8, !tbaa !5
  %337 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %335, i64 noundef %336) #5
  store i64 %332, ptr %337, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %338 = load i64, ptr %8, align 8, !tbaa !5
  %339 = sub nsw i64 %338, 1
  store i64 %339, ptr %27, align 8, !tbaa !5
  %340 = call { i64, i64 } @_ZSt9make_pairIxRxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %341 = getelementptr inbounds { i64, i64 }, ptr %26, i32 0, i32 0
  %342 = extractvalue { i64, i64 } %340, 0
  store i64 %342, ptr %341, align 8
  %343 = getelementptr inbounds { i64, i64 }, ptr %26, i32 0, i32 1
  %344 = extractvalue { i64, i64 } %340, 1
  store i64 %344, ptr %343, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  br label %387

345:                                              ; preds = %301
  %346 = load ptr, ptr %12, align 8, !tbaa !9
  %347 = load i64, ptr %8, align 8, !tbaa !5
  %348 = sub nsw i64 %347, 1
  %349 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %346, i64 noundef %348) #5
  %350 = load i64, ptr %9, align 8, !tbaa !5
  %351 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %349, i64 noundef %350) #5
  %352 = load i8, ptr %351, align 1, !tbaa !11
  %353 = sext i8 %352 to i32
  %354 = icmp eq i32 %353, 66
  br i1 %354, label %355, label %386

355:                                              ; preds = %345
  %356 = load i64, ptr %8, align 8, !tbaa !5
  %357 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %356) #5
  %358 = load i64, ptr %9, align 8, !tbaa !5
  %359 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %357, i64 noundef %358) #5
  %360 = load i64, ptr %359, align 8, !tbaa !5
  %361 = add nsw i64 %360, 1
  %362 = load i64, ptr %8, align 8, !tbaa !5
  %363 = sub nsw i64 %362, 1
  %364 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %363) #5
  %365 = load i64, ptr %9, align 8, !tbaa !5
  %366 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %364, i64 noundef %365) #5
  store i64 %361, ptr %366, align 8, !tbaa !5
  %367 = load i64, ptr %8, align 8, !tbaa !5
  %368 = load i64, ptr %8, align 8, !tbaa !5
  %369 = sub nsw i64 %368, 1
  %370 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %369) #5
  %371 = load i64, ptr %9, align 8, !tbaa !5
  %372 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %370, i64 noundef %371) #5
  store i64 %367, ptr %372, align 8, !tbaa !5
  %373 = load i64, ptr %9, align 8, !tbaa !5
  %374 = load i64, ptr %8, align 8, !tbaa !5
  %375 = sub nsw i64 %374, 1
  %376 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %375) #5
  %377 = load i64, ptr %9, align 8, !tbaa !5
  %378 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %376, i64 noundef %377) #5
  store i64 %373, ptr %378, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %379 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str)
  %380 = call i64 @clock() #5
  %381 = sitofp i64 %380 to float
  %382 = fdiv float %381, 1.000000e+06
  %383 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %379, float noundef %382)
  %384 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %383, ptr noundef @.str.5)
  %385 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %384, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %503

386:                                              ; preds = %345
  br label %387

387:                                              ; preds = %386, %303
  br label %388

388:                                              ; preds = %387, %273
  %389 = load i64, ptr %9, align 8, !tbaa !5
  %390 = sub nsw i64 %389, 1
  %391 = icmp sge i64 %390, 0
  br i1 %391, label %392, label %503

392:                                              ; preds = %388
  %393 = load ptr, ptr %12, align 8, !tbaa !9
  %394 = load i64, ptr %8, align 8, !tbaa !5
  %395 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %393, i64 noundef %394) #5
  %396 = load i64, ptr %9, align 8, !tbaa !5
  %397 = sub nsw i64 %396, 1
  %398 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %395, i64 noundef %397) #5
  %399 = load i8, ptr %398, align 1, !tbaa !11
  %400 = sext i8 %399 to i32
  %401 = icmp eq i32 %400, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  br i1 %401, label %402, label %416

402:                                              ; preds = %392
  %403 = load ptr, ptr %14, align 8, !tbaa !9
  %404 = load i64, ptr %8, align 8, !tbaa !5
  %405 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %403, i64 noundef %404) #5
  %406 = load i64, ptr %9, align 8, !tbaa !5
  %407 = sub nsw i64 %406, 1
  %408 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %405, i64 noundef %407)
  %409 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %410 = extractvalue { ptr, i64 } %408, 0
  store ptr %410, ptr %409, align 8
  %411 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %412 = extractvalue { ptr, i64 } %408, 1
  store i64 %412, ptr %411, align 8
  %413 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %28) #5
  %414 = zext i1 %413 to i32
  %415 = icmp eq i32 %414, 0
  br label %416

416:                                              ; preds = %402, %392
  %417 = phi i1 [ false, %392 ], [ %415, %402 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  br i1 %417, label %418, label %460

418:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  %419 = load ptr, ptr %14, align 8, !tbaa !9
  %420 = load i64, ptr %8, align 8, !tbaa !5
  %421 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %419, i64 noundef %420) #5
  %422 = load i64, ptr %9, align 8, !tbaa !5
  %423 = sub nsw i64 %422, 1
  %424 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %421, i64 noundef %423)
  %425 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %426 = extractvalue { ptr, i64 } %424, 0
  store ptr %426, ptr %425, align 8
  %427 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %428 = extractvalue { ptr, i64 } %424, 1
  store i64 %428, ptr %427, align 8
  %429 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %29, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  %430 = load i64, ptr %8, align 8, !tbaa !5
  %431 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %430) #5
  %432 = load i64, ptr %9, align 8, !tbaa !5
  %433 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %431, i64 noundef %432) #5
  %434 = load i64, ptr %433, align 8, !tbaa !5
  %435 = add nsw i64 %434, 1
  %436 = load i64, ptr %8, align 8, !tbaa !5
  %437 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %436) #5
  %438 = load i64, ptr %9, align 8, !tbaa !5
  %439 = sub nsw i64 %438, 1
  %440 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %437, i64 noundef %439) #5
  store i64 %435, ptr %440, align 8, !tbaa !5
  %441 = load i64, ptr %8, align 8, !tbaa !5
  %442 = load i64, ptr %8, align 8, !tbaa !5
  %443 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %442) #5
  %444 = load i64, ptr %9, align 8, !tbaa !5
  %445 = sub nsw i64 %444, 1
  %446 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %443, i64 noundef %445) #5
  store i64 %441, ptr %446, align 8, !tbaa !5
  %447 = load i64, ptr %9, align 8, !tbaa !5
  %448 = load i64, ptr %8, align 8, !tbaa !5
  %449 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %448) #5
  %450 = load i64, ptr %9, align 8, !tbaa !5
  %451 = sub nsw i64 %450, 1
  %452 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %449, i64 noundef %451) #5
  store i64 %447, ptr %452, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %453 = load i64, ptr %9, align 8, !tbaa !5
  %454 = sub nsw i64 %453, 1
  store i64 %454, ptr %31, align 8, !tbaa !5
  %455 = call { i64, i64 } @_ZSt9make_pairIRxxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %456 = getelementptr inbounds { i64, i64 }, ptr %30, i32 0, i32 0
  %457 = extractvalue { i64, i64 } %455, 0
  store i64 %457, ptr %456, align 8
  %458 = getelementptr inbounds { i64, i64 }, ptr %30, i32 0, i32 1
  %459 = extractvalue { i64, i64 } %455, 1
  store i64 %459, ptr %458, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  br label %502

460:                                              ; preds = %416
  %461 = load ptr, ptr %12, align 8, !tbaa !9
  %462 = load i64, ptr %8, align 8, !tbaa !5
  %463 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %461, i64 noundef %462) #5
  %464 = load i64, ptr %9, align 8, !tbaa !5
  %465 = sub nsw i64 %464, 1
  %466 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %463, i64 noundef %465) #5
  %467 = load i8, ptr %466, align 1, !tbaa !11
  %468 = sext i8 %467 to i32
  %469 = icmp eq i32 %468, 66
  br i1 %469, label %470, label %501

470:                                              ; preds = %460
  %471 = load i64, ptr %8, align 8, !tbaa !5
  %472 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %471) #5
  %473 = load i64, ptr %9, align 8, !tbaa !5
  %474 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %472, i64 noundef %473) #5
  %475 = load i64, ptr %474, align 8, !tbaa !5
  %476 = add nsw i64 %475, 1
  %477 = load i64, ptr %8, align 8, !tbaa !5
  %478 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %477) #5
  %479 = load i64, ptr %9, align 8, !tbaa !5
  %480 = sub nsw i64 %479, 1
  %481 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %478, i64 noundef %480) #5
  store i64 %476, ptr %481, align 8, !tbaa !5
  %482 = load i64, ptr %8, align 8, !tbaa !5
  %483 = load i64, ptr %8, align 8, !tbaa !5
  %484 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %483) #5
  %485 = load i64, ptr %9, align 8, !tbaa !5
  %486 = sub nsw i64 %485, 1
  %487 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %484, i64 noundef %486) #5
  store i64 %482, ptr %487, align 8, !tbaa !5
  %488 = load i64, ptr %9, align 8, !tbaa !5
  %489 = load i64, ptr %8, align 8, !tbaa !5
  %490 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %489) #5
  %491 = load i64, ptr %9, align 8, !tbaa !5
  %492 = sub nsw i64 %491, 1
  %493 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %490, i64 noundef %492) #5
  store i64 %488, ptr %493, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %494 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str)
  %495 = call i64 @clock() #5
  %496 = sitofp i64 %495 to float
  %497 = fdiv float %496, 1.000000e+06
  %498 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %494, float noundef %497)
  %499 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %498, ptr noundef @.str.5)
  %500 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %499, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %503

501:                                              ; preds = %460
  br label %502

502:                                              ; preds = %501, %418
  br label %503

503:                                              ; preds = %502, %470, %388, %355, %240, %124
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #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) #2 align 2

; 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 nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #0 align 2

; Function Attrs: nounwind
declare i64 @clock() #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"struct.std::pair" = type { i64, i64 }

@que = external dso_local global %"class.std::queue", align 8
@vx = external dso_local global %"class.std::vector", align 8
@vy = external dso_local global %"class.std::vector", align 8
@dis = external dso_local global %"class.std::vector", align 8
@c = external dso_local local_unnamed_addr global i64, align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3bfsxxxxRSt6vectorIS_IcSaIcEESaIS1_EExRS_IS_IbSaIbEESaIS6_EE(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %5, ptr noundef nonnull align 8 dereferenceable(24) %6) local_unnamed_addr #0 {
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca %"struct.std::_Bit_reference", align 8
  %11 = alloca %"struct.std::_Bit_reference", align 8
  %12 = alloca %"struct.std::_Bit_reference", align 8
  %13 = alloca %"struct.std::pair", align 8
  %14 = alloca i64, align 8
  %15 = alloca %"struct.std::_Bit_reference", align 8
  %16 = alloca %"struct.std::_Bit_reference", align 8
  %17 = alloca %"struct.std::pair", align 8
  %18 = alloca i64, align 8
  %19 = alloca %"struct.std::_Bit_reference", align 8
  %20 = alloca %"struct.std::_Bit_reference", align 8
  %21 = alloca %"struct.std::pair", align 8
  %22 = alloca i64, align 8
  %23 = alloca %"struct.std::_Bit_reference", align 8
  %24 = alloca %"struct.std::_Bit_reference", align 8
  %25 = alloca %"struct.std::pair", align 8
  %26 = alloca i64, align 8
  store i64 %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  %27 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %0) #5
  %28 = tail call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %27, i64 noundef %1)
  %29 = extractvalue { ptr, i64 } %28, 0
  store ptr %29, ptr %10, align 8
  %30 = getelementptr inbounds i8, ptr %10, i64 8
  %31 = extractvalue { ptr, i64 } %28, 1
  store i64 %31, ptr %30, align 8
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %10, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  %33 = add nsw i64 %0, 1
  %34 = icmp slt i64 %33, %2
  br i1 %34, label %35, label %105

35:                                               ; preds = %7
  %36 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %33) #5
  %37 = load i64, ptr %9, align 8, !tbaa !5
  %38 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %37) #5
  %39 = load i8, ptr %38, align 1, !tbaa !9
  %40 = icmp eq i8 %39, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  br i1 %40, label %41, label %.critedge

41:                                               ; preds = %35
  %42 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %33) #5
  %43 = load i64, ptr %9, align 8, !tbaa !5
  %44 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %42, i64 noundef %43)
  %45 = extractvalue { ptr, i64 } %44, 0
  store ptr %45, ptr %11, align 8
  %46 = getelementptr inbounds i8, ptr %11, i64 8
  %47 = extractvalue { ptr, i64 } %44, 1
  store i64 %47, ptr %46, align 8
  %48 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  br i1 %48, label %76, label %49

49:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  %50 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %33) #5
  %51 = load i64, ptr %9, align 8, !tbaa !5
  %52 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %50, i64 noundef %51)
  %53 = extractvalue { ptr, i64 } %52, 0
  store ptr %53, ptr %12, align 8
  %54 = getelementptr inbounds i8, ptr %12, i64 8
  %55 = extractvalue { ptr, i64 } %52, 1
  store i64 %55, ptr %54, align 8
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %12, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  %57 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %0) #5
  %58 = load i64, ptr %9, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %58) #5
  %60 = load i64, ptr %59, align 8, !tbaa !5
  %61 = add nsw i64 %60, 1
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %33) #5
  %63 = load i64, ptr %9, align 8, !tbaa !5
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %63) #5
  store i64 %61, ptr %64, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %33) #5
  %66 = load i64, ptr %9, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %66) #5
  store i64 %0, ptr %67, align 8, !tbaa !5
  %68 = load i64, ptr %9, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %33) #5
  %70 = load i64, ptr %9, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %70) #5
  store i64 %68, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store i64 %33, ptr %14, align 8, !tbaa !5
  %72 = call { i64, i64 } @_ZSt9make_pairIxRxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %73 = extractvalue { i64, i64 } %72, 0
  store i64 %73, ptr %13, align 8
  %74 = getelementptr inbounds i8, ptr %13, i64 8
  %75 = extractvalue { i64, i64 } %72, 1
  store i64 %75, ptr %74, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br label %105

.critedge:                                        ; preds = %35
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  br label %76

76:                                               ; preds = %.critedge, %41
  %77 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %33) #5
  %78 = load i64, ptr %9, align 8, !tbaa !5
  %79 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %78) #5
  %80 = load i8, ptr %79, align 1, !tbaa !9
  %81 = icmp eq i8 %80, 66
  br i1 %81, label %82, label %105

82:                                               ; preds = %76
  %83 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %0) #5
  %84 = load i64, ptr %9, align 8, !tbaa !5
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %84) #5
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = add nsw i64 %86, 1
  %88 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %33) #5
  %89 = load i64, ptr %9, align 8, !tbaa !5
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %89) #5
  store i64 %87, ptr %90, align 8, !tbaa !5
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %33) #5
  %92 = load i64, ptr %9, align 8, !tbaa !5
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %92) #5
  store i64 %0, ptr %93, align 8, !tbaa !5
  %94 = load i64, ptr %9, align 8, !tbaa !5
  %95 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %33) #5
  %96 = load i64, ptr %9, align 8, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %96) #5
  store i64 %94, ptr %97, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %99 = call i64 @clock() #5
  %100 = sitofp i64 %99 to float
  %101 = fdiv float %100, 1.000000e+06
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %98, float noundef %101)
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.5)
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %394

105:                                              ; preds = %49, %76, %7
  %106 = load i64, ptr %9, align 8, !tbaa !5
  %107 = add nsw i64 %106, 1
  %108 = icmp slt i64 %107, %3
  br i1 %108, label %109, label %201

109:                                              ; preds = %105
  %110 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %0) #5
  %111 = load i64, ptr %9, align 8, !tbaa !5
  %112 = add nsw i64 %111, 1
  %113 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112) #5
  %114 = load i8, ptr %113, align 1, !tbaa !9
  %115 = icmp eq i8 %114, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  br i1 %115, label %116, label %.critedge2

116:                                              ; preds = %109
  %117 = load i64, ptr %8, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %117) #5
  %119 = load i64, ptr %9, align 8, !tbaa !5
  %120 = add nsw i64 %119, 1
  %121 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %118, i64 noundef %120)
  %122 = extractvalue { ptr, i64 } %121, 0
  store ptr %122, ptr %15, align 8
  %123 = getelementptr inbounds i8, ptr %15, i64 8
  %124 = extractvalue { ptr, i64 } %121, 1
  store i64 %124, ptr %123, align 8
  %125 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br i1 %125, label %164, label %126

126:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  %127 = load i64, ptr %8, align 8, !tbaa !5
  %128 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %127) #5
  %129 = load i64, ptr %9, align 8, !tbaa !5
  %130 = add nsw i64 %129, 1
  %131 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %128, i64 noundef %130)
  %132 = extractvalue { ptr, i64 } %131, 0
  store ptr %132, ptr %16, align 8
  %133 = getelementptr inbounds i8, ptr %16, i64 8
  %134 = extractvalue { ptr, i64 } %131, 1
  store i64 %134, ptr %133, align 8
  %135 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %16, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  %136 = load i64, ptr %8, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %136) #5
  %138 = load i64, ptr %9, align 8, !tbaa !5
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %138) #5
  %140 = load i64, ptr %139, align 8, !tbaa !5
  %141 = add nsw i64 %140, 1
  %142 = load i64, ptr %8, align 8, !tbaa !5
  %143 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %142) #5
  %144 = load i64, ptr %9, align 8, !tbaa !5
  %145 = add nsw i64 %144, 1
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #5
  store i64 %141, ptr %146, align 8, !tbaa !5
  %147 = load i64, ptr %8, align 8, !tbaa !5
  %148 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %147) #5
  %149 = load i64, ptr %9, align 8, !tbaa !5
  %150 = add nsw i64 %149, 1
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %148, i64 noundef %150) #5
  store i64 %147, ptr %151, align 8, !tbaa !5
  %152 = load i64, ptr %9, align 8, !tbaa !5
  %153 = load i64, ptr %8, align 8, !tbaa !5
  %154 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %153) #5
  %155 = load i64, ptr %9, align 8, !tbaa !5
  %156 = add nsw i64 %155, 1
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #5
  store i64 %152, ptr %157, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %158 = load i64, ptr %9, align 8, !tbaa !5
  %159 = add nsw i64 %158, 1
  store i64 %159, ptr %18, align 8, !tbaa !5
  %160 = call { i64, i64 } @_ZSt9make_pairIRxxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %161 = extractvalue { i64, i64 } %160, 0
  store i64 %161, ptr %17, align 8
  %162 = getelementptr inbounds i8, ptr %17, i64 8
  %163 = extractvalue { i64, i64 } %160, 1
  store i64 %163, ptr %162, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  %.pre = load i64, ptr %8, align 8, !tbaa !5
  br label %201

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

164:                                              ; preds = %.critedge2, %116
  %165 = load i64, ptr %8, align 8, !tbaa !5
  %166 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %165) #5
  %167 = load i64, ptr %9, align 8, !tbaa !5
  %168 = add nsw i64 %167, 1
  %169 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %168) #5
  %170 = load i8, ptr %169, align 1, !tbaa !9
  %171 = icmp eq i8 %170, 66
  %.pre25 = load i64, ptr %8, align 8, !tbaa !5
  br i1 %171, label %172, label %201

172:                                              ; preds = %164
  %173 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %.pre25) #5
  %174 = load i64, ptr %9, align 8, !tbaa !5
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %174) #5
  %176 = load i64, ptr %175, align 8, !tbaa !5
  %177 = add nsw i64 %176, 1
  %178 = load i64, ptr %8, align 8, !tbaa !5
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %178) #5
  %180 = load i64, ptr %9, align 8, !tbaa !5
  %181 = add nsw i64 %180, 1
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %181) #5
  store i64 %177, ptr %182, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %183 = load i64, ptr %8, align 8, !tbaa !5
  %184 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %183) #5
  %185 = load i64, ptr %9, align 8, !tbaa !5
  %186 = add nsw i64 %185, 1
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %186) #5
  store i64 %183, ptr %187, align 8, !tbaa !5
  %188 = load i64, ptr %9, align 8, !tbaa !5
  %189 = load i64, ptr %8, align 8, !tbaa !5
  %190 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %189) #5
  %191 = load i64, ptr %9, align 8, !tbaa !5
  %192 = add nsw i64 %191, 1
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %192) #5
  store i64 %188, ptr %193, align 8, !tbaa !5
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %195 = call i64 @clock() #5
  %196 = sitofp i64 %195 to float
  %197 = fdiv float %196, 1.000000e+06
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %194, float noundef %197)
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %198, ptr noundef nonnull @.str.5)
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %394

201:                                              ; preds = %126, %164, %105
  %202 = phi i64 [ %.pre, %126 ], [ %.pre25, %164 ], [ %0, %105 ]
  %203 = icmp sgt i64 %202, 0
  br i1 %203, label %204, label %297

204:                                              ; preds = %201
  %205 = add nsw i64 %202, -1
  %206 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %205) #5
  %207 = load i64, ptr %9, align 8, !tbaa !5
  %208 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef %207) #5
  %209 = load i8, ptr %208, align 1, !tbaa !9
  %210 = icmp eq i8 %209, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #5
  br i1 %210, label %211, label %.critedge4

211:                                              ; preds = %204
  %212 = load i64, ptr %8, align 8, !tbaa !5
  %213 = add nsw i64 %212, -1
  %214 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %213) #5
  %215 = load i64, ptr %9, align 8, !tbaa !5
  %216 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %214, i64 noundef %215)
  %217 = extractvalue { ptr, i64 } %216, 0
  store ptr %217, ptr %19, align 8
  %218 = getelementptr inbounds i8, ptr %19, i64 8
  %219 = extractvalue { ptr, i64 } %216, 1
  store i64 %219, ptr %218, align 8
  %220 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  br i1 %220, label %259, label %221

221:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %222 = load i64, ptr %8, align 8, !tbaa !5
  %223 = add nsw i64 %222, -1
  %224 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %223) #5
  %225 = load i64, ptr %9, align 8, !tbaa !5
  %226 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %224, i64 noundef %225)
  %227 = extractvalue { ptr, i64 } %226, 0
  store ptr %227, ptr %20, align 8
  %228 = getelementptr inbounds i8, ptr %20, i64 8
  %229 = extractvalue { ptr, i64 } %226, 1
  store i64 %229, ptr %228, align 8
  %230 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %20, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  %231 = load i64, ptr %8, align 8, !tbaa !5
  %232 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %231) #5
  %233 = load i64, ptr %9, align 8, !tbaa !5
  %234 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %232, i64 noundef %233) #5
  %235 = load i64, ptr %234, align 8, !tbaa !5
  %236 = add nsw i64 %235, 1
  %237 = load i64, ptr %8, align 8, !tbaa !5
  %238 = add nsw i64 %237, -1
  %239 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %238) #5
  %240 = load i64, ptr %9, align 8, !tbaa !5
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef %240) #5
  store i64 %236, ptr %241, align 8, !tbaa !5
  %242 = load i64, ptr %8, align 8, !tbaa !5
  %243 = add nsw i64 %242, -1
  %244 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %243) #5
  %245 = load i64, ptr %9, align 8, !tbaa !5
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %244, i64 noundef %245) #5
  store i64 %242, ptr %246, align 8, !tbaa !5
  %247 = load i64, ptr %9, align 8, !tbaa !5
  %248 = load i64, ptr %8, align 8, !tbaa !5
  %249 = add nsw i64 %248, -1
  %250 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %249) #5
  %251 = load i64, ptr %9, align 8, !tbaa !5
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %250, i64 noundef %251) #5
  store i64 %247, ptr %252, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  %253 = load i64, ptr %8, align 8, !tbaa !5
  %254 = add nsw i64 %253, -1
  store i64 %254, ptr %22, align 8, !tbaa !5
  %255 = call { i64, i64 } @_ZSt9make_pairIxRxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %256 = extractvalue { i64, i64 } %255, 0
  store i64 %256, ptr %21, align 8
  %257 = getelementptr inbounds i8, ptr %21, i64 8
  %258 = extractvalue { i64, i64 } %255, 1
  store i64 %258, ptr %257, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  br label %297

.critedge4:                                       ; preds = %204
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #5
  br label %259

259:                                              ; preds = %.critedge4, %211
  %260 = load i64, ptr %8, align 8, !tbaa !5
  %261 = add nsw i64 %260, -1
  %262 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %261) #5
  %263 = load i64, ptr %9, align 8, !tbaa !5
  %264 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %262, i64 noundef %263) #5
  %265 = load i8, ptr %264, align 1, !tbaa !9
  %266 = icmp eq i8 %265, 66
  br i1 %266, label %267, label %297

267:                                              ; preds = %259
  %268 = load i64, ptr %8, align 8, !tbaa !5
  %269 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %268) #5
  %270 = load i64, ptr %9, align 8, !tbaa !5
  %271 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %269, i64 noundef %270) #5
  %272 = load i64, ptr %271, align 8, !tbaa !5
  %273 = add nsw i64 %272, 1
  %274 = load i64, ptr %8, align 8, !tbaa !5
  %275 = add nsw i64 %274, -1
  %276 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %275) #5
  %277 = load i64, ptr %9, align 8, !tbaa !5
  %278 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %276, i64 noundef %277) #5
  store i64 %273, ptr %278, align 8, !tbaa !5
  %279 = load i64, ptr %8, align 8, !tbaa !5
  %280 = add nsw i64 %279, -1
  %281 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %280) #5
  %282 = load i64, ptr %9, align 8, !tbaa !5
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %281, i64 noundef %282) #5
  store i64 %279, ptr %283, align 8, !tbaa !5
  %284 = load i64, ptr %9, align 8, !tbaa !5
  %285 = load i64, ptr %8, align 8, !tbaa !5
  %286 = add nsw i64 %285, -1
  %287 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %286) #5
  %288 = load i64, ptr %9, align 8, !tbaa !5
  %289 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %287, i64 noundef %288) #5
  store i64 %284, ptr %289, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %291 = call i64 @clock() #5
  %292 = sitofp i64 %291 to float
  %293 = fdiv float %292, 1.000000e+06
  %294 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %290, float noundef %293)
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %294, ptr noundef nonnull @.str.5)
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %295, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %394

297:                                              ; preds = %221, %259, %201
  %298 = load i64, ptr %9, align 8, !tbaa !5
  %299 = icmp sgt i64 %298, 0
  br i1 %299, label %300, label %394

300:                                              ; preds = %297
  %301 = load i64, ptr %8, align 8, !tbaa !5
  %302 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %301) #5
  %303 = load i64, ptr %9, align 8, !tbaa !5
  %304 = add nsw i64 %303, -1
  %305 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %302, i64 noundef %304) #5
  %306 = load i8, ptr %305, align 1, !tbaa !9
  %307 = icmp eq i8 %306, 46
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #5
  br i1 %307, label %308, label %.critedge6

308:                                              ; preds = %300
  %309 = load i64, ptr %8, align 8, !tbaa !5
  %310 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %309) #5
  %311 = load i64, ptr %9, align 8, !tbaa !5
  %312 = add nsw i64 %311, -1
  %313 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %310, i64 noundef %312)
  %314 = extractvalue { ptr, i64 } %313, 0
  store ptr %314, ptr %23, align 8
  %315 = getelementptr inbounds i8, ptr %23, i64 8
  %316 = extractvalue { ptr, i64 } %313, 1
  store i64 %316, ptr %315, align 8
  %317 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  br i1 %317, label %356, label %318

318:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #5
  %319 = load i64, ptr %8, align 8, !tbaa !5
  %320 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %319) #5
  %321 = load i64, ptr %9, align 8, !tbaa !5
  %322 = add nsw i64 %321, -1
  %323 = call { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %320, i64 noundef %322)
  %324 = extractvalue { ptr, i64 } %323, 0
  store ptr %324, ptr %24, align 8
  %325 = getelementptr inbounds i8, ptr %24, i64 8
  %326 = extractvalue { ptr, i64 } %323, 1
  store i64 %326, ptr %325, align 8
  %327 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %24, i1 noundef zeroext true) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  %328 = load i64, ptr %8, align 8, !tbaa !5
  %329 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %328) #5
  %330 = load i64, ptr %9, align 8, !tbaa !5
  %331 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %329, i64 noundef %330) #5
  %332 = load i64, ptr %331, align 8, !tbaa !5
  %333 = add nsw i64 %332, 1
  %334 = load i64, ptr %8, align 8, !tbaa !5
  %335 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %334) #5
  %336 = load i64, ptr %9, align 8, !tbaa !5
  %337 = add nsw i64 %336, -1
  %338 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %335, i64 noundef %337) #5
  store i64 %333, ptr %338, align 8, !tbaa !5
  %339 = load i64, ptr %8, align 8, !tbaa !5
  %340 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %339) #5
  %341 = load i64, ptr %9, align 8, !tbaa !5
  %342 = add nsw i64 %341, -1
  %343 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %340, i64 noundef %342) #5
  store i64 %339, ptr %343, align 8, !tbaa !5
  %344 = load i64, ptr %9, align 8, !tbaa !5
  %345 = load i64, ptr %8, align 8, !tbaa !5
  %346 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %345) #5
  %347 = load i64, ptr %9, align 8, !tbaa !5
  %348 = add nsw i64 %347, -1
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %346, i64 noundef %348) #5
  store i64 %344, ptr %349, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #5
  %350 = load i64, ptr %9, align 8, !tbaa !5
  %351 = add nsw i64 %350, -1
  store i64 %351, ptr %26, align 8, !tbaa !5
  %352 = call { i64, i64 } @_ZSt9make_pairIRxxESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %353 = extractvalue { i64, i64 } %352, 0
  store i64 %353, ptr %25, align 8
  %354 = getelementptr inbounds i8, ptr %25, i64 8
  %355 = extractvalue { i64, i64 } %352, 1
  store i64 %355, ptr %354, align 8
  call void @_ZNSt5queueISt4pairIxxESt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) @que, ptr noundef nonnull align 8 dereferenceable(16) %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #5
  br label %394

.critedge6:                                       ; preds = %300
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  br label %356

356:                                              ; preds = %.critedge6, %308
  %357 = load i64, ptr %8, align 8, !tbaa !5
  %358 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %357) #5
  %359 = load i64, ptr %9, align 8, !tbaa !5
  %360 = add nsw i64 %359, -1
  %361 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %358, i64 noundef %360) #5
  %362 = load i8, ptr %361, align 1, !tbaa !9
  %363 = icmp eq i8 %362, 66
  br i1 %363, label %364, label %394

364:                                              ; preds = %356
  %365 = load i64, ptr %8, align 8, !tbaa !5
  %366 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %365) #5
  %367 = load i64, ptr %9, align 8, !tbaa !5
  %368 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %366, i64 noundef %367) #5
  %369 = load i64, ptr %368, align 8, !tbaa !5
  %370 = add nsw i64 %369, 1
  %371 = load i64, ptr %8, align 8, !tbaa !5
  %372 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @dis, i64 noundef %371) #5
  %373 = load i64, ptr %9, align 8, !tbaa !5
  %374 = add nsw i64 %373, -1
  %375 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %372, i64 noundef %374) #5
  store i64 %370, ptr %375, align 8, !tbaa !5
  %376 = load i64, ptr %8, align 8, !tbaa !5
  %377 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vx, i64 noundef %376) #5
  %378 = load i64, ptr %9, align 8, !tbaa !5
  %379 = add nsw i64 %378, -1
  %380 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %377, i64 noundef %379) #5
  store i64 %376, ptr %380, align 8, !tbaa !5
  %381 = load i64, ptr %9, align 8, !tbaa !5
  %382 = load i64, ptr %8, align 8, !tbaa !5
  %383 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @vy, i64 noundef %382) #5
  %384 = load i64, ptr %9, align 8, !tbaa !5
  %385 = add nsw i64 %384, -1
  %386 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %383, i64 noundef %385) #5
  store i64 %381, ptr %386, align 8, !tbaa !5
  store i64 1, ptr @c, align 8, !tbaa !5
  %387 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %388 = call i64 @clock() #5
  %389 = sitofp i64 %388 to float
  %390 = fdiv float %389, 1.000000e+06
  %391 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %387, float noundef %390)
  %392 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %391, ptr noundef nonnull @.str.5)
  %393 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %392, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %394

394:                                              ; preds = %318, %356, %364, %297, %267, %172, %82
  ret void
}

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIS_IbSaIbEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) 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 #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 #2 align 2

; 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 nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass