; LLVM IR from ShahjalalShohag/code-library :: Graph Theory (L R Flow with MCMF)

; 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::basic_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.LR_Flow = type { %struct.MCMF, i32, i64 }
%struct.MCMF = type <{ i32, i32, i32, i32, i64, i64, %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl" }
%"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl" = type { %"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i64, i64 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.LR_Flow, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::pair", align 8
  %20 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %21 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %22 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %23 = getelementptr i8, ptr %22, i64 -24
  %24 = load i64, ptr %23, align 8
  %25 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %24
  %26 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %25, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %32 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %33 unwind label %49

33:                                               ; preds = %0
  %34 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %35 unwind label %49

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %36 = load i32, ptr %2, align 4, !tbaa !8
  %37 = load i32, ptr %3, align 4, !tbaa !8
  %38 = add nsw i32 %36, %37
  %39 = add nsw i32 %38, 10
  store i32 %39, ptr %11, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %40 = load i32, ptr %11, align 4, !tbaa !8
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %12, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 200, ptr %13) #7
  %42 = load i32, ptr %12, align 4, !tbaa !8
  invoke void @_ZN7LR_FlowC2Ei(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %42)
          to label %43 unwind label %53

43:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !8
  br label %44

44:                                               ; preds = %84, %43
  %45 = load i32, ptr %14, align 4, !tbaa !8
  %46 = load i32, ptr %4, align 4, !tbaa !8
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %57, label %48

48:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %91

49:                                               ; preds = %33, %0
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %9, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %10, align 4
  br label %268

53:                                               ; preds = %35
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %9, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %10, align 4
  br label %267

57:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %58 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %59 unwind label %87

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %61 unwind label %87

61:                                               ; preds = %59
  %62 = load i32, ptr %15, align 4, !tbaa !8
  %63 = add nsw i32 %62, -1
  store i32 %63, ptr %15, align 4, !tbaa !8
  %64 = load i32, ptr %16, align 4, !tbaa !8
  %65 = add nsw i32 %64, -1
  store i32 %65, ptr %16, align 4, !tbaa !8
  %66 = load i32, ptr %15, align 4, !tbaa !8
  %67 = load i32, ptr %16, align 4, !tbaa !8
  %68 = load i32, ptr %2, align 4, !tbaa !8
  %69 = add nsw i32 %67, %68
  %70 = load i32, ptr %5, align 4, !tbaa !8
  %71 = sext i32 %70 to i64
  %72 = load i32, ptr %14, align 4, !tbaa !8
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %66, i32 noundef %69, i64 noundef 0, i64 noundef 1, i64 noundef %71, i32 noundef %72, i1 noundef zeroext true)
          to label %73 unwind label %87

73:                                               ; preds = %61
  %74 = load i32, ptr %16, align 4, !tbaa !8
  %75 = load i32, ptr %2, align 4, !tbaa !8
  %76 = add nsw i32 %74, %75
  %77 = load i32, ptr %15, align 4, !tbaa !8
  %78 = load i32, ptr %6, align 4, !tbaa !8
  %79 = sext i32 %78 to i64
  %80 = load i32, ptr %14, align 4, !tbaa !8
  %81 = load i32, ptr %4, align 4, !tbaa !8
  %82 = add nsw i32 %80, %81
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %76, i32 noundef %77, i64 noundef 0, i64 noundef 1, i64 noundef %79, i32 noundef %82, i1 noundef zeroext true)
          to label %83 unwind label %87

83:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %14, align 4, !tbaa !8
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %14, align 4, !tbaa !8
  br label %44, !llvm.loop !11

87:                                               ; preds = %73, %61, %59, %57
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %9, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %266

91:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !8
  br label %92

92:                                               ; preds = %134, %91
  %93 = load i32, ptr %17, align 4, !tbaa !8
  %94 = load i32, ptr %2, align 4, !tbaa !8
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %137

97:                                               ; preds = %92
  %98 = load i32, ptr %17, align 4, !tbaa !8
  %99 = sext i32 %98 to i64
  %100 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %99)
          to label %101 unwind label %109

101:                                              ; preds = %97
  %102 = load i8, ptr %100, align 1, !tbaa !13
  %103 = sext i8 %102 to i32
  %104 = icmp eq i32 %103, 82
  br i1 %104, label %105, label %113

105:                                              ; preds = %101
  %106 = load i32, ptr %11, align 4, !tbaa !8
  %107 = load i32, ptr %17, align 4, !tbaa !8
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %106, i32 noundef %107, i64 noundef 1, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %108 unwind label %109

108:                                              ; preds = %105
  br label %133

109:                                              ; preds = %128, %125, %121, %113, %105, %97
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %266

113:                                              ; preds = %101
  %114 = load i32, ptr %17, align 4, !tbaa !8
  %115 = sext i32 %114 to i64
  %116 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %115)
          to label %117 unwind label %109

117:                                              ; preds = %113
  %118 = load i8, ptr %116, align 1, !tbaa !13
  %119 = sext i8 %118 to i32
  %120 = icmp eq i32 %119, 66
  br i1 %120, label %121, label %125

121:                                              ; preds = %117
  %122 = load i32, ptr %17, align 4, !tbaa !8
  %123 = load i32, ptr %12, align 4, !tbaa !8
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %122, i32 noundef %123, i64 noundef 1, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %124 unwind label %109

124:                                              ; preds = %121
  br label %132

125:                                              ; preds = %117
  %126 = load i32, ptr %11, align 4, !tbaa !8
  %127 = load i32, ptr %17, align 4, !tbaa !8
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %126, i32 noundef %127, i64 noundef 0, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %128 unwind label %109

128:                                              ; preds = %125
  %129 = load i32, ptr %17, align 4, !tbaa !8
  %130 = load i32, ptr %12, align 4, !tbaa !8
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %129, i32 noundef %130, i64 noundef 0, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %131 unwind label %109

131:                                              ; preds = %128
  br label %132

132:                                              ; preds = %131, %124
  br label %133

133:                                              ; preds = %132, %108
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %17, align 4, !tbaa !8
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %17, align 4, !tbaa !8
  br label %92, !llvm.loop !14

137:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !8
  br label %138

138:                                              ; preds = %188, %137
  %139 = load i32, ptr %18, align 4, !tbaa !8
  %140 = load i32, ptr %3, align 4, !tbaa !8
  %141 = icmp slt i32 %139, %140
  br i1 %141, label %143, label %142

142:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %191

143:                                              ; preds = %138
  %144 = load i32, ptr %18, align 4, !tbaa !8
  %145 = sext i32 %144 to i64
  %146 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %145)
          to label %147 unwind label %157

147:                                              ; preds = %143
  %148 = load i8, ptr %146, align 1, !tbaa !13
  %149 = sext i8 %148 to i32
  %150 = icmp eq i32 %149, 66
  br i1 %150, label %151, label %161

151:                                              ; preds = %147
  %152 = load i32, ptr %11, align 4, !tbaa !8
  %153 = load i32, ptr %18, align 4, !tbaa !8
  %154 = load i32, ptr %2, align 4, !tbaa !8
  %155 = add nsw i32 %153, %154
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %152, i32 noundef %155, i64 noundef 1, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %156 unwind label %157

156:                                              ; preds = %151
  br label %187

157:                                              ; preds = %180, %175, %169, %161, %151, %143
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %9, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %266

161:                                              ; preds = %147
  %162 = load i32, ptr %18, align 4, !tbaa !8
  %163 = sext i32 %162 to i64
  %164 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %163)
          to label %165 unwind label %157

165:                                              ; preds = %161
  %166 = load i8, ptr %164, align 1, !tbaa !13
  %167 = sext i8 %166 to i32
  %168 = icmp eq i32 %167, 82
  br i1 %168, label %169, label %175

169:                                              ; preds = %165
  %170 = load i32, ptr %18, align 4, !tbaa !8
  %171 = load i32, ptr %2, align 4, !tbaa !8
  %172 = add nsw i32 %170, %171
  %173 = load i32, ptr %12, align 4, !tbaa !8
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %172, i32 noundef %173, i64 noundef 1, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %174 unwind label %157

174:                                              ; preds = %169
  br label %186

175:                                              ; preds = %165
  %176 = load i32, ptr %11, align 4, !tbaa !8
  %177 = load i32, ptr %18, align 4, !tbaa !8
  %178 = load i32, ptr %2, align 4, !tbaa !8
  %179 = add nsw i32 %177, %178
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %176, i32 noundef %179, i64 noundef 0, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %180 unwind label %157

180:                                              ; preds = %175
  %181 = load i32, ptr %18, align 4, !tbaa !8
  %182 = load i32, ptr %2, align 4, !tbaa !8
  %183 = add nsw i32 %181, %182
  %184 = load i32, ptr %12, align 4, !tbaa !8
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %183, i32 noundef %184, i64 noundef 0, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %185 unwind label %157

185:                                              ; preds = %180
  br label %186

186:                                              ; preds = %185, %174
  br label %187

187:                                              ; preds = %186, %156
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %18, align 4, !tbaa !8
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %18, align 4, !tbaa !8
  br label %138, !llvm.loop !15

191:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  %192 = load i32, ptr %11, align 4, !tbaa !8
  %193 = load i32, ptr %12, align 4, !tbaa !8
  %194 = invoke { i64, i64 } @_ZN7LR_Flow5solveEiix(ptr noundef nonnull align 8 dereferenceable(200) %13, i32 noundef %192, i32 noundef %193, i64 noundef 2305843009213693952)
          to label %195 unwind label %208

195:                                              ; preds = %191
  %196 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 0
  %197 = extractvalue { i64, i64 } %194, 0
  store i64 %197, ptr %196, align 8
  %198 = getelementptr inbounds { i64, i64 }, ptr %19, i32 0, i32 1
  %199 = extractvalue { i64, i64 } %194, 1
  store i64 %199, ptr %198, align 8
  %200 = getelementptr inbounds %"struct.std::pair", ptr %19, i32 0, i32 0
  %201 = load i64, ptr %200, align 8, !tbaa !16
  %202 = icmp eq i64 %201, -1
  br i1 %202, label %203, label %212

203:                                              ; preds = %195
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %205 unwind label %208

205:                                              ; preds = %203
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %204, i8 noundef signext 10)
          to label %207 unwind label %208

207:                                              ; preds = %205
  br label %263

208:                                              ; preds = %260, %216, %212, %205, %203, %191
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %9, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %10, align 4
  br label %265

212:                                              ; preds = %195
  %213 = getelementptr inbounds %"struct.std::pair", ptr %19, i32 0, i32 1
  %214 = load i64, ptr %213, align 8, !tbaa !19
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %214)
          to label %216 unwind label %208

216:                                              ; preds = %212
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %215, i8 noundef signext 10)
          to label %218 unwind label %208

218:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !8
  br label %219

219:                                              ; preds = %257, %218
  %220 = load i32, ptr %20, align 4, !tbaa !8
  %221 = load i32, ptr %4, align 4, !tbaa !8
  %222 = icmp slt i32 %220, %221
  br i1 %222, label %224, label %223

223:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %260

224:                                              ; preds = %219
  %225 = getelementptr inbounds %struct.LR_Flow, ptr %13, i32 0, i32 0
  %226 = getelementptr inbounds %struct.MCMF, ptr %225, i32 0, i32 10
  %227 = load i32, ptr %20, align 4, !tbaa !8
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %226, i64 noundef %228) #7
  %230 = load i64, ptr %229, align 8, !tbaa !20
  %231 = icmp ne i64 %230, 0
  br i1 %231, label %232, label %239

232:                                              ; preds = %224
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %234 unwind label %235

234:                                              ; preds = %232
  br label %256

235:                                              ; preds = %252, %249, %232
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %9, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %265

239:                                              ; preds = %224
  %240 = getelementptr inbounds %struct.LR_Flow, ptr %13, i32 0, i32 0
  %241 = getelementptr inbounds %struct.MCMF, ptr %240, i32 0, i32 10
  %242 = load i32, ptr %20, align 4, !tbaa !8
  %243 = load i32, ptr %4, align 4, !tbaa !8
  %244 = add nsw i32 %242, %243
  %245 = sext i32 %244 to i64
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %241, i64 noundef %245) #7
  %247 = load i64, ptr %246, align 8, !tbaa !20
  %248 = icmp ne i64 %247, 0
  br i1 %248, label %249, label %252

249:                                              ; preds = %239
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %251 unwind label %235

251:                                              ; preds = %249
  br label %255

252:                                              ; preds = %239
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %254 unwind label %235

254:                                              ; preds = %252
  br label %255

255:                                              ; preds = %254, %251
  br label %256

256:                                              ; preds = %255, %234
  br label %257

257:                                              ; preds = %256
  %258 = load i32, ptr %20, align 4, !tbaa !8
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %20, align 4, !tbaa !8
  br label %219, !llvm.loop !21

260:                                              ; preds = %223
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
          to label %262 unwind label %208

262:                                              ; preds = %260
  br label %263

263:                                              ; preds = %262, %207
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  call void @_ZN7LR_FlowD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %13) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %264 = load i32, ptr %1, align 4
  ret i32 %264

265:                                              ; preds = %235, %208
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  br label %266

266:                                              ; preds = %265, %157, %109, %87
  call void @_ZN7LR_FlowD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %13) #7
  br label %267

267:                                              ; preds = %266, %53
  call void @llvm.lifetime.end.p0(i64 200, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %268

268:                                              ; preds = %267, %49
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %269

269:                                              ; preds = %268
  %270 = load ptr, ptr %9, align 8
  %271 = load i32, ptr %10, align 4
  %272 = insertvalue { ptr, i32 } poison, ptr %270, 0
  %273 = insertvalue { ptr, i32 } %272, i32 %271, 1
  resume { ptr, i32 } %273
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7LR_FlowC2Ei(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i1 noundef zeroext) #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #4 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: 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) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7LR_FlowD2Ev(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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


; 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::basic_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.LR_Flow = type { %struct.MCMF, i32, i64 }
%struct.MCMF = type <{ i32, i32, i32, i32, i64, i64, %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl" }
%"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl" = type { %"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MCMF::edge, std::allocator<MCMF::edge>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %struct.LR_Flow, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %12 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %14
  %16 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %15, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  %22 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %23 unwind label %35

23:                                               ; preds = %0
  %24 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %25 unwind label %35

25:                                               ; preds = %23
  %26 = load i32, ptr %1, align 4, !tbaa !8
  %27 = load i32, ptr %2, align 4, !tbaa !8
  %28 = add nsw i32 %27, %26
  %29 = add nsw i32 %28, 10
  %30 = add nsw i32 %28, 11
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %8) #7
  invoke void @_ZN7LR_FlowC2Ei(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %30)
          to label %.preheader54 unwind label %37

.preheader54:                                     ; preds = %25
  %31 = load i32, ptr %3, align 4, !tbaa !8
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph, label %.preheader53

.preheader53:                                     ; preds = %60, %.preheader54
  %33 = load i32, ptr %1, align 4, !tbaa !8
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph57, label %.preheader52

35:                                               ; preds = %23, %0
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %154

37:                                               ; preds = %25
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %153

.lr.ph:                                           ; preds = %.preheader54, %60
  %.04155 = phi i32 [ %61, %60 ], [ 0, %.preheader54 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %39 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %40 unwind label %64

40:                                               ; preds = %.lr.ph
  %41 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %42 unwind label %64

42:                                               ; preds = %40
  %43 = load i32, ptr %9, align 4, !tbaa !8
  %44 = add nsw i32 %43, -1
  store i32 %44, ptr %9, align 4, !tbaa !8
  %45 = load i32, ptr %10, align 4, !tbaa !8
  %46 = add nsw i32 %45, -1
  store i32 %46, ptr %10, align 4, !tbaa !8
  %47 = load i32, ptr %1, align 4, !tbaa !8
  %48 = add nsw i32 %47, %46
  %49 = load i32, ptr %4, align 4, !tbaa !8
  %50 = sext i32 %49 to i64
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %44, i32 noundef %48, i64 noundef 0, i64 noundef 1, i64 noundef %50, i32 noundef %.04155, i1 noundef zeroext true)
          to label %51 unwind label %64

51:                                               ; preds = %42
  %52 = load i32, ptr %10, align 4, !tbaa !8
  %53 = load i32, ptr %1, align 4, !tbaa !8
  %54 = add nsw i32 %53, %52
  %55 = load i32, ptr %9, align 4, !tbaa !8
  %56 = load i32, ptr %5, align 4, !tbaa !8
  %57 = sext i32 %56 to i64
  %58 = load i32, ptr %3, align 4, !tbaa !8
  %59 = add nsw i32 %58, %.04155
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %54, i32 noundef %55, i64 noundef 0, i64 noundef 1, i64 noundef %57, i32 noundef %59, i1 noundef zeroext true)
          to label %60 unwind label %64

60:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %61 = add nuw nsw i32 %.04155, 1
  %62 = load i32, ptr %3, align 4, !tbaa !8
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %.lr.ph, label %.preheader53, !llvm.loop !11

64:                                               ; preds = %51, %42, %40, %.lr.ph
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %152

.preheader52:                                     ; preds = %84, %.preheader53
  %66 = load i32, ptr %2, align 4, !tbaa !8
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph59, label %._crit_edge

.lr.ph57:                                         ; preds = %.preheader53, %84
  %indvars.iv = phi i64 [ %indvars.iv.next, %84 ], [ 0, %.preheader53 ]
  %68 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %indvars.iv)
  %69 = load i8, ptr %68, align 1, !tbaa !13
  %70 = icmp eq i8 %69, 82
  br i1 %70, label %71, label %75

71:                                               ; preds = %.lr.ph57
  %72 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.invoke

73:                                               ; preds = %.invoke, %80
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %152

75:                                               ; preds = %.lr.ph57
  %76 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %indvars.iv)
  %77 = load i8, ptr %76, align 1, !tbaa !13
  %78 = icmp eq i8 %77, 66
  %79 = trunc nuw nsw i64 %indvars.iv to i32
  br i1 %78, label %.invoke, label %80

80:                                               ; preds = %75
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %29, i32 noundef %79, i64 noundef 0, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %.invoke unwind label %73

.invoke:                                          ; preds = %80, %75, %71
  %81 = phi i32 [ %29, %71 ], [ %79, %75 ], [ %79, %80 ]
  %82 = phi i32 [ %72, %71 ], [ %30, %75 ], [ %30, %80 ]
  %83 = phi i64 [ 1, %71 ], [ 1, %75 ], [ 0, %80 ]
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %81, i32 noundef %82, i64 noundef %83, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %84 unwind label %73

84:                                               ; preds = %.invoke
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %85 = load i32, ptr %1, align 4, !tbaa !8
  %86 = sext i32 %85 to i64
  %87 = icmp slt i64 %indvars.iv.next, %86
  br i1 %87, label %.lr.ph57, label %.preheader52, !llvm.loop !14

._crit_edge:                                      ; preds = %112, %.preheader52
  %88 = invoke { i64, i64 } @_ZN7LR_Flow5solveEiix(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %29, i32 noundef %30, i64 noundef 2305843009213693952)
          to label %116 unwind label %121

.lr.ph59:                                         ; preds = %.preheader52, %112
  %indvars.iv64 = phi i64 [ %indvars.iv.next65, %112 ], [ 0, %.preheader52 ]
  %89 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %indvars.iv64)
  %90 = load i8, ptr %89, align 1, !tbaa !13
  %91 = icmp eq i8 %90, 66
  br i1 %91, label %92, label %98

92:                                               ; preds = %.lr.ph59
  %93 = load i32, ptr %1, align 4, !tbaa !8
  %94 = trunc nuw nsw i64 %indvars.iv64 to i32
  %95 = add nsw i32 %93, %94
  br label %.invoke70

96:                                               ; preds = %.invoke70, %105
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %152

98:                                               ; preds = %.lr.ph59
  %99 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %indvars.iv64)
  %100 = load i8, ptr %99, align 1, !tbaa !13
  %101 = icmp eq i8 %100, 82
  %102 = load i32, ptr %1, align 4, !tbaa !8
  %103 = trunc nuw nsw i64 %indvars.iv64 to i32
  %104 = add nsw i32 %102, %103
  br i1 %101, label %.invoke70, label %105

105:                                              ; preds = %98
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %29, i32 noundef %104, i64 noundef 0, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %106 unwind label %96

106:                                              ; preds = %105
  %107 = load i32, ptr %1, align 4, !tbaa !8
  %108 = add nsw i32 %107, %103
  br label %.invoke70

.invoke70:                                        ; preds = %98, %92, %106
  %109 = phi i32 [ %108, %106 ], [ %29, %92 ], [ %104, %98 ]
  %110 = phi i32 [ %30, %106 ], [ %95, %92 ], [ %30, %98 ]
  %111 = phi i64 [ 0, %106 ], [ 1, %92 ], [ 1, %98 ]
  invoke void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200) %8, i32 noundef %109, i32 noundef %110, i64 noundef %111, i64 noundef 2305843009213693952, i64 noundef 0, i32 noundef -1, i1 noundef zeroext true)
          to label %112 unwind label %96

112:                                              ; preds = %.invoke70
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %113 = load i32, ptr %2, align 4, !tbaa !8
  %114 = sext i32 %113 to i64
  %115 = icmp slt i64 %indvars.iv.next65, %114
  br i1 %115, label %.lr.ph59, label %._crit_edge, !llvm.loop !15

116:                                              ; preds = %._crit_edge
  %117 = extractvalue { i64, i64 } %88, 0
  %118 = icmp eq i64 %117, -1
  br i1 %118, label %119, label %123

119:                                              ; preds = %116
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %._crit_edge62.invoke unwind label %121

121:                                              ; preds = %._crit_edge62.invoke, %126, %123, %119, %._crit_edge
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %152

123:                                              ; preds = %116
  %124 = extractvalue { i64, i64 } %88, 1
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %124)
          to label %126 unwind label %121

126:                                              ; preds = %123
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %125, i8 noundef signext 10)
          to label %.preheader unwind label %121

.preheader:                                       ; preds = %126
  %128 = load i32, ptr %3, align 4, !tbaa !8
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %.lr.ph61, label %._crit_edge62.invoke

.lr.ph61:                                         ; preds = %.preheader
  %130 = getelementptr inbounds i8, ptr %8, i64 128
  br label %133

._crit_edge62.invoke:                             ; preds = %147, %119, %.preheader
  %131 = phi ptr [ @_ZSt4cout, %.preheader ], [ %120, %119 ], [ @_ZSt4cout, %147 ]
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %131, i8 noundef signext 10)
          to label %151 unwind label %121

133:                                              ; preds = %.lr.ph61, %147
  %indvars.iv67 = phi i64 [ 0, %.lr.ph61 ], [ %indvars.iv.next68, %147 ]
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %indvars.iv67) #7
  %135 = load i64, ptr %134, align 8, !tbaa !16
  %.not = icmp eq i64 %135, 0
  br i1 %.not, label %138, label %.invoke71

136:                                              ; preds = %.invoke71
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %152

138:                                              ; preds = %133
  %139 = load i32, ptr %3, align 4, !tbaa !8
  %140 = trunc nuw nsw i64 %indvars.iv67 to i32
  %141 = add nsw i32 %139, %140
  %142 = sext i32 %141 to i64
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %142) #7
  %144 = load i64, ptr %143, align 8, !tbaa !16
  %.not46 = icmp eq i64 %144, 0
  %.str.2..str.1 = select i1 %.not46, ptr @.str.2, ptr @.str.1
  br label %.invoke71

.invoke71:                                        ; preds = %133, %138
  %145 = phi ptr [ %.str.2..str.1, %138 ], [ @.str, %133 ]
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %145)
          to label %147 unwind label %136

147:                                              ; preds = %.invoke71
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %148 = load i32, ptr %3, align 4, !tbaa !8
  %149 = sext i32 %148 to i64
  %150 = icmp slt i64 %indvars.iv.next68, %149
  br i1 %150, label %133, label %._crit_edge62.invoke, !llvm.loop !18

151:                                              ; preds = %._crit_edge62.invoke
  call void @_ZN7LR_FlowD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %8) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

152:                                              ; preds = %121, %136, %96, %73, %64
  %.pn48 = phi { ptr, i32 } [ %65, %64 ], [ %74, %73 ], [ %97, %96 ], [ %122, %121 ], [ %137, %136 ]
  call void @_ZN7LR_FlowD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %8) #7
  br label %153

153:                                              ; preds = %152, %37
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %152 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %8) #7
  br label %154

154:                                              ; preds = %153, %35
  %.pn48.pn.pn = phi { ptr, i32 } [ %.pn48.pn, %153 ], [ %36, %35 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn48.pn.pn
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7LR_FlowC2Ei(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7LR_Flow8add_edgeEiixxxib(ptr noundef nonnull align 8 dereferenceable(200), i32 noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #4 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: 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 #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7LR_FlowD2Ev(ptr noundef nonnull align 8 dereferenceable(200)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

attributes #0 = { mustprogress norecurse 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!10, !10, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !10, i64 0}
!18 = distinct !{!18, !12}


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