; LLVM IR from RoboJackets/hungarian :: hungarian.ll (ZN9Hungarian5SolveERKSt6vectorIS0_IiSaIiEESaIS2_EENS_4MODEE)

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

%"struct.Hungarian::Result" = type <{ i8, [7 x i8], %"class.std::vector", %"class.std::vector", i32, [4 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Hungarian5SolveERKSt6vectorIS0_IiSaIiEESaIS2_EENS_4MODEE(ptr dead_on_unwind noalias writable sret(%"struct.Hungarian::Result") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.Hungarian::Result", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::allocator.2", align 1
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::vector.0", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::allocator.2", align 1
  %27 = alloca %"class.std::vector.0", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::allocator.2", align 1
  %30 = alloca %"class.std::vector.0", align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::allocator.2", align 1
  %33 = alloca %"class.std::vector.0", align 8
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::allocator.2", align 1
  %36 = alloca %"class.std::vector.0", align 8
  %37 = alloca i32, align 4
  %38 = alloca %"class.std::allocator.2", align 1
  %39 = alloca %"class.std::vector.0", align 8
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::allocator.2", align 1
  %42 = alloca %"class.std::vector.0", align 8
  %43 = alloca i32, align 4
  %44 = alloca %"class.std::allocator.2", align 1
  %45 = alloca %"class.std::vector.0", align 8
  %46 = alloca i32, align 4
  %47 = alloca %"class.std::allocator.2", align 1
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #5
  call void @_ZN9Hungarian6ResultC2Ev(ptr noundef nonnull align 8 dereferenceable(60) %7) #5
  %57 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 0
  store i8 1, ptr %57, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_ZN9Hungarian12_GLOBAL__N_114normalizeInputERKSt6vectorIS1_IiSaIiEESaIS3_EENS_4MODEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef %59)
          to label %60 unwind label %102

60:                                               ; preds = %3
  %61 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 2147483647, ptr %11, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %63 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %64 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %63) #5
  %65 = trunc i64 %64 to i32
  store i32 %65, ptr %12, align 4, !tbaa !19
  %66 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 2
  %67 = load i32, ptr %12, align 4, !tbaa !19
  %68 = sext i32 %67 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  %69 = load i32, ptr %12, align 4, !tbaa !19
  %70 = sext i32 %69 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %70, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %71 unwind label %106

71:                                               ; preds = %60
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %68, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %72 unwind label %110

72:                                               ; preds = %71
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #5
  %73 = load i32, ptr %12, align 4, !tbaa !19
  %74 = sext i32 %73 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %74, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %75 unwind label %115

75:                                               ; preds = %72
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #5
  %76 = load i32, ptr %12, align 4, !tbaa !19
  %77 = sext i32 %76 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %77, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %78 unwind label %119

78:                                               ; preds = %75
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #5
  %79 = load i32, ptr %12, align 4, !tbaa !19
  %80 = sext i32 %79 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %80, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %81 unwind label %123

81:                                               ; preds = %78
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #5
  %82 = load i32, ptr %12, align 4, !tbaa !19
  %83 = sext i32 %82 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 0, ptr %34, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %83, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %84 unwind label %127

84:                                               ; preds = %81
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #5
  %85 = load i32, ptr %12, align 4, !tbaa !19
  %86 = sext i32 %85 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %86, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %87 unwind label %131

87:                                               ; preds = %84
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #5
  %88 = load i32, ptr %12, align 4, !tbaa !19
  %89 = sext i32 %88 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  store i32 0, ptr %40, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %89, ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %90 unwind label %135

90:                                               ; preds = %87
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #5
  %91 = load i32, ptr %12, align 4, !tbaa !19
  %92 = sext i32 %91 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #5
  store i32 0, ptr %43, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %92, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %93 unwind label %139

93:                                               ; preds = %90
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #5
  %94 = load i32, ptr %12, align 4, !tbaa !19
  %95 = sext i32 %94 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #5
  store i32 0, ptr %46, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %95, ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %96 unwind label %143

96:                                               ; preds = %93
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #5
  store i32 0, ptr %48, align 4, !tbaa !19
  br label %97

97:                                               ; preds = %165, %96
  %98 = load i32, ptr %48, align 4, !tbaa !19
  %99 = load i32, ptr %12, align 4, !tbaa !19
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %147, label %101

101:                                              ; preds = %97
  store i32 2, ptr %49, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #5
  br label %168

102:                                              ; preds = %3
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %9, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  br label %869

106:                                              ; preds = %60
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %9, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %10, align 4
  br label %114

110:                                              ; preds = %71
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %9, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %10, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  br label %114

114:                                              ; preds = %110, %106
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  br label %868

115:                                              ; preds = %72
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %9, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %867

119:                                              ; preds = %75
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %9, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %866

123:                                              ; preds = %78
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %9, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %865

127:                                              ; preds = %81
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %9, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %864

131:                                              ; preds = %84
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %9, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br label %863

135:                                              ; preds = %87
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %9, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  br label %862

139:                                              ; preds = %90
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %9, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #5
  br label %861

143:                                              ; preds = %93
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  br label %861

147:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #5
  store i32 0, ptr %50, align 4, !tbaa !19
  br label %148

148:                                              ; preds = %161, %147
  %149 = load i32, ptr %50, align 4, !tbaa !19
  %150 = load i32, ptr %12, align 4, !tbaa !19
  %151 = icmp slt i32 %149, %150
  br i1 %151, label %153, label %152

152:                                              ; preds = %148
  store i32 5, ptr %49, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #5
  br label %164

153:                                              ; preds = %148
  %154 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 2
  %155 = load i32, ptr %48, align 4, !tbaa !19
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #5
  %158 = load i32, ptr %50, align 4, !tbaa !19
  %159 = sext i32 %158 to i64
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %157, i64 noundef %159) #5
  store i32 0, ptr %160, align 4, !tbaa !19
  br label %161

161:                                              ; preds = %153
  %162 = load i32, ptr %50, align 4, !tbaa !19
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %50, align 4, !tbaa !19
  br label %148, !llvm.loop !20

164:                                              ; preds = %152
  br label %165

165:                                              ; preds = %164
  %166 = load i32, ptr %48, align 4, !tbaa !19
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %48, align 4, !tbaa !19
  br label %97, !llvm.loop !22

168:                                              ; preds = %101
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %169

169:                                              ; preds = %235, %168
  %170 = load i32, ptr %18, align 4, !tbaa !19
  %171 = load i32, ptr %12, align 4, !tbaa !19
  %172 = icmp slt i32 %170, %171
  br i1 %172, label %173, label %238

173:                                              ; preds = %169
  %174 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %175 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef 0) #5
  %176 = load i32, ptr %18, align 4, !tbaa !19
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %177) #5
  %179 = load i32, ptr %178, align 4, !tbaa !19
  store i32 %179, ptr %19, align 4, !tbaa !19
  store i32 1, ptr %17, align 4, !tbaa !19
  br label %180

180:                                              ; preds = %205, %173
  %181 = load i32, ptr %17, align 4, !tbaa !19
  %182 = load i32, ptr %12, align 4, !tbaa !19
  %183 = icmp slt i32 %181, %182
  br i1 %183, label %184, label %208

184:                                              ; preds = %180
  %185 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %186 = load i32, ptr %17, align 4, !tbaa !19
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %187) #5
  %189 = load i32, ptr %18, align 4, !tbaa !19
  %190 = sext i32 %189 to i64
  %191 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %188, i64 noundef %190) #5
  %192 = load i32, ptr %191, align 4, !tbaa !19
  %193 = load i32, ptr %19, align 4, !tbaa !19
  %194 = icmp slt i32 %192, %193
  br i1 %194, label %195, label %204

195:                                              ; preds = %184
  %196 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %197 = load i32, ptr %17, align 4, !tbaa !19
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %198) #5
  %200 = load i32, ptr %18, align 4, !tbaa !19
  %201 = sext i32 %200 to i64
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #5
  %203 = load i32, ptr %202, align 4, !tbaa !19
  store i32 %203, ptr %19, align 4, !tbaa !19
  br label %204

204:                                              ; preds = %195, %184
  br label %205

205:                                              ; preds = %204
  %206 = load i32, ptr %17, align 4, !tbaa !19
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %17, align 4, !tbaa !19
  br label %180, !llvm.loop !23

208:                                              ; preds = %180
  %209 = load i32, ptr %19, align 4, !tbaa !19
  %210 = load i32, ptr %23, align 4, !tbaa !19
  %211 = add nsw i32 %210, %209
  store i32 %211, ptr %23, align 4, !tbaa !19
  %212 = load i32, ptr %19, align 4, !tbaa !19
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %234

214:                                              ; preds = %208
  store i32 0, ptr %17, align 4, !tbaa !19
  br label %215

215:                                              ; preds = %230, %214
  %216 = load i32, ptr %17, align 4, !tbaa !19
  %217 = load i32, ptr %12, align 4, !tbaa !19
  %218 = icmp slt i32 %216, %217
  br i1 %218, label %219, label %233

219:                                              ; preds = %215
  %220 = load i32, ptr %19, align 4, !tbaa !19
  %221 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %222 = load i32, ptr %17, align 4, !tbaa !19
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %221, i64 noundef %223) #5
  %225 = load i32, ptr %18, align 4, !tbaa !19
  %226 = sext i32 %225 to i64
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %224, i64 noundef %226) #5
  %228 = load i32, ptr %227, align 4, !tbaa !19
  %229 = sub nsw i32 %228, %220
  store i32 %229, ptr %227, align 4, !tbaa !19
  br label %230

230:                                              ; preds = %219
  %231 = load i32, ptr %17, align 4, !tbaa !19
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %17, align 4, !tbaa !19
  br label %215, !llvm.loop !24

233:                                              ; preds = %215
  br label %234

234:                                              ; preds = %233, %208
  br label %235

235:                                              ; preds = %234
  %236 = load i32, ptr %18, align 4, !tbaa !19
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr %18, align 4, !tbaa !19
  br label %169, !llvm.loop !25

238:                                              ; preds = %169
  store i32 0, ptr %20, align 4, !tbaa !19
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %239

239:                                              ; preds = %256, %238
  %240 = load i32, ptr %18, align 4, !tbaa !19
  %241 = load i32, ptr %12, align 4, !tbaa !19
  %242 = icmp slt i32 %240, %241
  br i1 %242, label %243, label %259

243:                                              ; preds = %239
  %244 = load i32, ptr %18, align 4, !tbaa !19
  %245 = sext i32 %244 to i64
  %246 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %245) #5
  store i32 -1, ptr %246, align 4, !tbaa !19
  %247 = load i32, ptr %18, align 4, !tbaa !19
  %248 = sext i32 %247 to i64
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %248) #5
  store i32 -1, ptr %249, align 4, !tbaa !19
  %250 = load i32, ptr %18, align 4, !tbaa !19
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %251) #5
  store i32 0, ptr %252, align 4, !tbaa !19
  %253 = load i32, ptr %18, align 4, !tbaa !19
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %254) #5
  store i32 2147483647, ptr %255, align 4, !tbaa !19
  br label %256

256:                                              ; preds = %243
  %257 = load i32, ptr %18, align 4, !tbaa !19
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %18, align 4, !tbaa !19
  br label %239, !llvm.loop !26

259:                                              ; preds = %239
  store i32 0, ptr %17, align 4, !tbaa !19
  br label %260

260:                                              ; preds = %348, %259
  %261 = load i32, ptr %17, align 4, !tbaa !19
  %262 = load i32, ptr %12, align 4, !tbaa !19
  %263 = icmp slt i32 %261, %262
  br i1 %263, label %264, label %351

264:                                              ; preds = %260
  %265 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %266 = load i32, ptr %17, align 4, !tbaa !19
  %267 = sext i32 %266 to i64
  %268 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %265, i64 noundef %267) #5
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef 0) #5
  %270 = load i32, ptr %269, align 4, !tbaa !19
  store i32 %270, ptr %19, align 4, !tbaa !19
  store i32 1, ptr %18, align 4, !tbaa !19
  br label %271

271:                                              ; preds = %296, %264
  %272 = load i32, ptr %18, align 4, !tbaa !19
  %273 = load i32, ptr %12, align 4, !tbaa !19
  %274 = icmp slt i32 %272, %273
  br i1 %274, label %275, label %299

275:                                              ; preds = %271
  %276 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %277 = load i32, ptr %17, align 4, !tbaa !19
  %278 = sext i32 %277 to i64
  %279 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %276, i64 noundef %278) #5
  %280 = load i32, ptr %18, align 4, !tbaa !19
  %281 = sext i32 %280 to i64
  %282 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %279, i64 noundef %281) #5
  %283 = load i32, ptr %282, align 4, !tbaa !19
  %284 = load i32, ptr %19, align 4, !tbaa !19
  %285 = icmp slt i32 %283, %284
  br i1 %285, label %286, label %295

286:                                              ; preds = %275
  %287 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %288 = load i32, ptr %17, align 4, !tbaa !19
  %289 = sext i32 %288 to i64
  %290 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %287, i64 noundef %289) #5
  %291 = load i32, ptr %18, align 4, !tbaa !19
  %292 = sext i32 %291 to i64
  %293 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %290, i64 noundef %292) #5
  %294 = load i32, ptr %293, align 4, !tbaa !19
  store i32 %294, ptr %19, align 4, !tbaa !19
  br label %295

295:                                              ; preds = %286, %275
  br label %296

296:                                              ; preds = %295
  %297 = load i32, ptr %18, align 4, !tbaa !19
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %18, align 4, !tbaa !19
  br label %271, !llvm.loop !27

299:                                              ; preds = %271
  %300 = load i32, ptr %19, align 4, !tbaa !19
  %301 = load i32, ptr %17, align 4, !tbaa !19
  %302 = sext i32 %301 to i64
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %302) #5
  store i32 %300, ptr %303, align 4, !tbaa !19
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %304

304:                                              ; preds = %335, %299
  %305 = load i32, ptr %18, align 4, !tbaa !19
  %306 = load i32, ptr %12, align 4, !tbaa !19
  %307 = icmp slt i32 %305, %306
  br i1 %307, label %308, label %338

308:                                              ; preds = %304
  %309 = load i32, ptr %19, align 4, !tbaa !19
  %310 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %311 = load i32, ptr %17, align 4, !tbaa !19
  %312 = sext i32 %311 to i64
  %313 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %310, i64 noundef %312) #5
  %314 = load i32, ptr %18, align 4, !tbaa !19
  %315 = sext i32 %314 to i64
  %316 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %313, i64 noundef %315) #5
  %317 = load i32, ptr %316, align 4, !tbaa !19
  %318 = icmp eq i32 %309, %317
  br i1 %318, label %319, label %334

319:                                              ; preds = %308
  %320 = load i32, ptr %18, align 4, !tbaa !19
  %321 = sext i32 %320 to i64
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %321) #5
  %323 = load i32, ptr %322, align 4, !tbaa !19
  %324 = icmp slt i32 %323, 0
  br i1 %324, label %325, label %334

325:                                              ; preds = %319
  %326 = load i32, ptr %18, align 4, !tbaa !19
  %327 = load i32, ptr %17, align 4, !tbaa !19
  %328 = sext i32 %327 to i64
  %329 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %328) #5
  store i32 %326, ptr %329, align 4, !tbaa !19
  %330 = load i32, ptr %17, align 4, !tbaa !19
  %331 = load i32, ptr %18, align 4, !tbaa !19
  %332 = sext i32 %331 to i64
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %332) #5
  store i32 %330, ptr %333, align 4, !tbaa !19
  br label %347

334:                                              ; preds = %319, %308
  br label %335

335:                                              ; preds = %334
  %336 = load i32, ptr %18, align 4, !tbaa !19
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %18, align 4, !tbaa !19
  br label %304, !llvm.loop !28

338:                                              ; preds = %304
  %339 = load i32, ptr %17, align 4, !tbaa !19
  %340 = sext i32 %339 to i64
  %341 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %340) #5
  store i32 -1, ptr %341, align 4, !tbaa !19
  %342 = load i32, ptr %17, align 4, !tbaa !19
  %343 = load i32, ptr %20, align 4, !tbaa !19
  %344 = add nsw i32 %343, 1
  store i32 %344, ptr %20, align 4, !tbaa !19
  %345 = sext i32 %343 to i64
  %346 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %345) #5
  store i32 %342, ptr %346, align 4, !tbaa !19
  br label %347

347:                                              ; preds = %338, %325
  br label %348

348:                                              ; preds = %347
  %349 = load i32, ptr %17, align 4, !tbaa !19
  %350 = add nsw i32 %349, 1
  store i32 %350, ptr %17, align 4, !tbaa !19
  br label %260, !llvm.loop !29

351:                                              ; preds = %260
  %352 = load i32, ptr %20, align 4, !tbaa !19
  %353 = icmp eq i32 %352, 0
  br i1 %353, label %354, label %355

354:                                              ; preds = %351
  br label %653

355:                                              ; preds = %351
  %356 = load i32, ptr %20, align 4, !tbaa !19
  store i32 %356, ptr %22, align 4, !tbaa !19
  br label %357

357:                                              ; preds = %652, %355
  br label %358

358:                                              ; preds = %357
  store i32 0, ptr %21, align 4, !tbaa !19
  br label %359

359:                                              ; preds = %583, %358
  br label %360

360:                                              ; preds = %359
  br label %361

361:                                              ; preds = %450, %360
  %362 = load i32, ptr %21, align 4, !tbaa !19
  %363 = load i32, ptr %20, align 4, !tbaa !19
  %364 = icmp slt i32 %362, %363
  br i1 %364, label %365, label %453

365:                                              ; preds = %361
  %366 = load i32, ptr %21, align 4, !tbaa !19
  %367 = sext i32 %366 to i64
  %368 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %367) #5
  %369 = load i32, ptr %368, align 4, !tbaa !19
  store i32 %369, ptr %17, align 4, !tbaa !19
  %370 = load i32, ptr %17, align 4, !tbaa !19
  %371 = sext i32 %370 to i64
  %372 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %371) #5
  %373 = load i32, ptr %372, align 4, !tbaa !19
  store i32 %373, ptr %19, align 4, !tbaa !19
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %374

374:                                              ; preds = %447, %365
  %375 = load i32, ptr %18, align 4, !tbaa !19
  %376 = load i32, ptr %12, align 4, !tbaa !19
  %377 = icmp slt i32 %375, %376
  br i1 %377, label %378, label %450

378:                                              ; preds = %374
  %379 = load i32, ptr %18, align 4, !tbaa !19
  %380 = sext i32 %379 to i64
  %381 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %380) #5
  %382 = load i32, ptr %381, align 4, !tbaa !19
  %383 = icmp ne i32 %382, 0
  br i1 %383, label %384, label %446

384:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #5
  %385 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %386 = load i32, ptr %17, align 4, !tbaa !19
  %387 = sext i32 %386 to i64
  %388 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %385, i64 noundef %387) #5
  %389 = load i32, ptr %18, align 4, !tbaa !19
  %390 = sext i32 %389 to i64
  %391 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %388, i64 noundef %390) #5
  %392 = load i32, ptr %391, align 4, !tbaa !19
  %393 = load i32, ptr %19, align 4, !tbaa !19
  %394 = sub nsw i32 %392, %393
  %395 = load i32, ptr %18, align 4, !tbaa !19
  %396 = sext i32 %395 to i64
  %397 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %396) #5
  %398 = load i32, ptr %397, align 4, !tbaa !19
  %399 = add nsw i32 %394, %398
  store i32 %399, ptr %51, align 4, !tbaa !19
  %400 = load i32, ptr %51, align 4, !tbaa !19
  %401 = load i32, ptr %18, align 4, !tbaa !19
  %402 = sext i32 %401 to i64
  %403 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %402) #5
  %404 = load i32, ptr %403, align 4, !tbaa !19
  %405 = icmp slt i32 %400, %404
  br i1 %405, label %406, label %442

406:                                              ; preds = %384
  %407 = load i32, ptr %51, align 4, !tbaa !19
  %408 = icmp eq i32 %407, 0
  br i1 %408, label %409, label %432

409:                                              ; preds = %406
  %410 = load i32, ptr %18, align 4, !tbaa !19
  %411 = sext i32 %410 to i64
  %412 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %411) #5
  %413 = load i32, ptr %412, align 4, !tbaa !19
  %414 = icmp slt i32 %413, 0
  br i1 %414, label %415, label %416

415:                                              ; preds = %409
  store i32 40, ptr %49, align 4
  br label %443

416:                                              ; preds = %409
  %417 = load i32, ptr %18, align 4, !tbaa !19
  %418 = sext i32 %417 to i64
  %419 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %418) #5
  store i32 0, ptr %419, align 4, !tbaa !19
  %420 = load i32, ptr %17, align 4, !tbaa !19
  %421 = load i32, ptr %18, align 4, !tbaa !19
  %422 = sext i32 %421 to i64
  %423 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %422) #5
  store i32 %420, ptr %423, align 4, !tbaa !19
  %424 = load i32, ptr %18, align 4, !tbaa !19
  %425 = sext i32 %424 to i64
  %426 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %425) #5
  %427 = load i32, ptr %426, align 4, !tbaa !19
  %428 = load i32, ptr %20, align 4, !tbaa !19
  %429 = add nsw i32 %428, 1
  store i32 %429, ptr %20, align 4, !tbaa !19
  %430 = sext i32 %428 to i64
  %431 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %430) #5
  store i32 %427, ptr %431, align 4, !tbaa !19
  br label %441

432:                                              ; preds = %406
  %433 = load i32, ptr %51, align 4, !tbaa !19
  %434 = load i32, ptr %18, align 4, !tbaa !19
  %435 = sext i32 %434 to i64
  %436 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %435) #5
  store i32 %433, ptr %436, align 4, !tbaa !19
  %437 = load i32, ptr %17, align 4, !tbaa !19
  %438 = load i32, ptr %18, align 4, !tbaa !19
  %439 = sext i32 %438 to i64
  %440 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %439) #5
  store i32 %437, ptr %440, align 4, !tbaa !19
  br label %441

441:                                              ; preds = %432, %416
  br label %442

442:                                              ; preds = %441, %384
  store i32 0, ptr %49, align 4
  br label %443

443:                                              ; preds = %442, %415
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #5
  %444 = load i32, ptr %49, align 4
  switch i32 %444, label %860 [
    i32 0, label %445
    i32 40, label %584
  ]

445:                                              ; preds = %443
  br label %446

446:                                              ; preds = %445, %378
  br label %447

447:                                              ; preds = %446
  %448 = load i32, ptr %18, align 4, !tbaa !19
  %449 = add nsw i32 %448, 1
  store i32 %449, ptr %18, align 4, !tbaa !19
  br label %374, !llvm.loop !30

450:                                              ; preds = %374
  %451 = load i32, ptr %21, align 4, !tbaa !19
  %452 = add nsw i32 %451, 1
  store i32 %452, ptr %21, align 4, !tbaa !19
  br label %361, !llvm.loop !31

453:                                              ; preds = %361
  store i32 2147483647, ptr %19, align 4, !tbaa !19
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %454

454:                                              ; preds = %477, %453
  %455 = load i32, ptr %18, align 4, !tbaa !19
  %456 = load i32, ptr %12, align 4, !tbaa !19
  %457 = icmp slt i32 %455, %456
  br i1 %457, label %458, label %480

458:                                              ; preds = %454
  %459 = load i32, ptr %18, align 4, !tbaa !19
  %460 = sext i32 %459 to i64
  %461 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %460) #5
  %462 = load i32, ptr %461, align 4, !tbaa !19
  %463 = icmp ne i32 %462, 0
  br i1 %463, label %464, label %476

464:                                              ; preds = %458
  %465 = load i32, ptr %18, align 4, !tbaa !19
  %466 = sext i32 %465 to i64
  %467 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %466) #5
  %468 = load i32, ptr %467, align 4, !tbaa !19
  %469 = load i32, ptr %19, align 4, !tbaa !19
  %470 = icmp slt i32 %468, %469
  br i1 %470, label %471, label %476

471:                                              ; preds = %464
  %472 = load i32, ptr %18, align 4, !tbaa !19
  %473 = sext i32 %472 to i64
  %474 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %473) #5
  %475 = load i32, ptr %474, align 4, !tbaa !19
  store i32 %475, ptr %19, align 4, !tbaa !19
  br label %476

476:                                              ; preds = %471, %464, %458
  br label %477

477:                                              ; preds = %476
  %478 = load i32, ptr %18, align 4, !tbaa !19
  %479 = add nsw i32 %478, 1
  store i32 %479, ptr %18, align 4, !tbaa !19
  br label %454, !llvm.loop !32

480:                                              ; preds = %454
  store i32 0, ptr %21, align 4, !tbaa !19
  br label %481

481:                                              ; preds = %495, %480
  %482 = load i32, ptr %21, align 4, !tbaa !19
  %483 = load i32, ptr %20, align 4, !tbaa !19
  %484 = icmp slt i32 %482, %483
  br i1 %484, label %485, label %498

485:                                              ; preds = %481
  %486 = load i32, ptr %19, align 4, !tbaa !19
  %487 = load i32, ptr %21, align 4, !tbaa !19
  %488 = sext i32 %487 to i64
  %489 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %488) #5
  %490 = load i32, ptr %489, align 4, !tbaa !19
  %491 = sext i32 %490 to i64
  %492 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %491) #5
  %493 = load i32, ptr %492, align 4, !tbaa !19
  %494 = add nsw i32 %493, %486
  store i32 %494, ptr %492, align 4, !tbaa !19
  br label %495

495:                                              ; preds = %485
  %496 = load i32, ptr %21, align 4, !tbaa !19
  %497 = add nsw i32 %496, 1
  store i32 %497, ptr %21, align 4, !tbaa !19
  br label %481, !llvm.loop !33

498:                                              ; preds = %481
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %499

499:                                              ; preds = %580, %498
  %500 = load i32, ptr %18, align 4, !tbaa !19
  %501 = load i32, ptr %12, align 4, !tbaa !19
  %502 = icmp slt i32 %500, %501
  br i1 %502, label %503, label %583

503:                                              ; preds = %499
  %504 = load i32, ptr %18, align 4, !tbaa !19
  %505 = sext i32 %504 to i64
  %506 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %505) #5
  %507 = load i32, ptr %506, align 4, !tbaa !19
  %508 = icmp ne i32 %507, 0
  br i1 %508, label %509, label %572

509:                                              ; preds = %503
  %510 = load i32, ptr %19, align 4, !tbaa !19
  %511 = load i32, ptr %18, align 4, !tbaa !19
  %512 = sext i32 %511 to i64
  %513 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %512) #5
  %514 = load i32, ptr %513, align 4, !tbaa !19
  %515 = sub nsw i32 %514, %510
  store i32 %515, ptr %513, align 4, !tbaa !19
  %516 = load i32, ptr %18, align 4, !tbaa !19
  %517 = sext i32 %516 to i64
  %518 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %517) #5
  %519 = load i32, ptr %518, align 4, !tbaa !19
  %520 = icmp eq i32 %519, 0
  br i1 %520, label %521, label %571

521:                                              ; preds = %509
  %522 = load i32, ptr %18, align 4, !tbaa !19
  %523 = sext i32 %522 to i64
  %524 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %523) #5
  %525 = load i32, ptr %524, align 4, !tbaa !19
  store i32 %525, ptr %17, align 4, !tbaa !19
  %526 = load i32, ptr %18, align 4, !tbaa !19
  %527 = sext i32 %526 to i64
  %528 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %527) #5
  %529 = load i32, ptr %528, align 4, !tbaa !19
  %530 = icmp slt i32 %529, 0
  br i1 %530, label %531, label %557

531:                                              ; preds = %521
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #5
  %532 = load i32, ptr %18, align 4, !tbaa !19
  %533 = add nsw i32 %532, 1
  store i32 %533, ptr %52, align 4, !tbaa !19
  br label %534

534:                                              ; preds = %553, %531
  %535 = load i32, ptr %52, align 4, !tbaa !19
  %536 = load i32, ptr %12, align 4, !tbaa !19
  %537 = icmp slt i32 %535, %536
  br i1 %537, label %539, label %538

538:                                              ; preds = %534
  store i32 50, ptr %49, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #5
  br label %556

539:                                              ; preds = %534
  %540 = load i32, ptr %52, align 4, !tbaa !19
  %541 = sext i32 %540 to i64
  %542 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %541) #5
  %543 = load i32, ptr %542, align 4, !tbaa !19
  %544 = icmp eq i32 %543, 0
  br i1 %544, label %545, label %552

545:                                              ; preds = %539
  %546 = load i32, ptr %19, align 4, !tbaa !19
  %547 = load i32, ptr %52, align 4, !tbaa !19
  %548 = sext i32 %547 to i64
  %549 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %548) #5
  %550 = load i32, ptr %549, align 4, !tbaa !19
  %551 = add nsw i32 %550, %546
  store i32 %551, ptr %549, align 4, !tbaa !19
  br label %552

552:                                              ; preds = %545, %539
  br label %553

553:                                              ; preds = %552
  %554 = load i32, ptr %52, align 4, !tbaa !19
  %555 = add nsw i32 %554, 1
  store i32 %555, ptr %52, align 4, !tbaa !19
  br label %534, !llvm.loop !34

556:                                              ; preds = %538
  br label %584

557:                                              ; preds = %521
  %558 = load i32, ptr %17, align 4, !tbaa !19
  %559 = load i32, ptr %18, align 4, !tbaa !19
  %560 = sext i32 %559 to i64
  %561 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %560) #5
  store i32 %558, ptr %561, align 4, !tbaa !19
  %562 = load i32, ptr %18, align 4, !tbaa !19
  %563 = sext i32 %562 to i64
  %564 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %563) #5
  %565 = load i32, ptr %564, align 4, !tbaa !19
  %566 = load i32, ptr %20, align 4, !tbaa !19
  %567 = add nsw i32 %566, 1
  store i32 %567, ptr %20, align 4, !tbaa !19
  %568 = sext i32 %566 to i64
  %569 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %568) #5
  store i32 %565, ptr %569, align 4, !tbaa !19
  br label %570

570:                                              ; preds = %557
  br label %571

571:                                              ; preds = %570, %509
  br label %579

572:                                              ; preds = %503
  %573 = load i32, ptr %19, align 4, !tbaa !19
  %574 = load i32, ptr %18, align 4, !tbaa !19
  %575 = sext i32 %574 to i64
  %576 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %575) #5
  %577 = load i32, ptr %576, align 4, !tbaa !19
  %578 = add nsw i32 %577, %573
  store i32 %578, ptr %576, align 4, !tbaa !19
  br label %579

579:                                              ; preds = %572, %571
  br label %580

580:                                              ; preds = %579
  %581 = load i32, ptr %18, align 4, !tbaa !19
  %582 = add nsw i32 %581, 1
  store i32 %582, ptr %18, align 4, !tbaa !19
  br label %499, !llvm.loop !35

583:                                              ; preds = %499
  br label %359, !llvm.loop !36

584:                                              ; preds = %556, %443
  br label %585

585:                                              ; preds = %610, %584
  br label %586

586:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #5
  %587 = load i32, ptr %17, align 4, !tbaa !19
  %588 = sext i32 %587 to i64
  %589 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %588) #5
  %590 = load i32, ptr %589, align 4, !tbaa !19
  store i32 %590, ptr %53, align 4, !tbaa !19
  %591 = load i32, ptr %18, align 4, !tbaa !19
  %592 = load i32, ptr %17, align 4, !tbaa !19
  %593 = sext i32 %592 to i64
  %594 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %593) #5
  store i32 %591, ptr %594, align 4, !tbaa !19
  %595 = load i32, ptr %17, align 4, !tbaa !19
  %596 = load i32, ptr %18, align 4, !tbaa !19
  %597 = sext i32 %596 to i64
  %598 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %597) #5
  store i32 %595, ptr %598, align 4, !tbaa !19
  %599 = load i32, ptr %53, align 4, !tbaa !19
  %600 = icmp slt i32 %599, 0
  br i1 %600, label %601, label %602

601:                                              ; preds = %586
  store i32 54, ptr %49, align 4
  br label %608

602:                                              ; preds = %586
  %603 = load i32, ptr %53, align 4, !tbaa !19
  %604 = sext i32 %603 to i64
  %605 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %604) #5
  %606 = load i32, ptr %605, align 4, !tbaa !19
  store i32 %606, ptr %17, align 4, !tbaa !19
  %607 = load i32, ptr %53, align 4, !tbaa !19
  store i32 %607, ptr %18, align 4, !tbaa !19
  store i32 0, ptr %49, align 4
  br label %608

608:                                              ; preds = %602, %601
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #5
  %609 = load i32, ptr %49, align 4
  switch i32 %609, label %875 [
    i32 0, label %610
    i32 54, label %611
  ]

610:                                              ; preds = %608
  br label %585, !llvm.loop !37

611:                                              ; preds = %608
  %612 = load i32, ptr %22, align 4, !tbaa !19
  %613 = add nsw i32 %612, -1
  store i32 %613, ptr %22, align 4, !tbaa !19
  %614 = icmp eq i32 %613, 0
  br i1 %614, label %615, label %616

615:                                              ; preds = %611
  br label %653

616:                                              ; preds = %611
  store i32 0, ptr %20, align 4, !tbaa !19
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %617

617:                                              ; preds = %628, %616
  %618 = load i32, ptr %18, align 4, !tbaa !19
  %619 = load i32, ptr %12, align 4, !tbaa !19
  %620 = icmp slt i32 %618, %619
  br i1 %620, label %621, label %631

621:                                              ; preds = %617
  %622 = load i32, ptr %18, align 4, !tbaa !19
  %623 = sext i32 %622 to i64
  %624 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %623) #5
  store i32 -1, ptr %624, align 4, !tbaa !19
  %625 = load i32, ptr %18, align 4, !tbaa !19
  %626 = sext i32 %625 to i64
  %627 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %626) #5
  store i32 2147483647, ptr %627, align 4, !tbaa !19
  br label %628

628:                                              ; preds = %621
  %629 = load i32, ptr %18, align 4, !tbaa !19
  %630 = add nsw i32 %629, 1
  store i32 %630, ptr %18, align 4, !tbaa !19
  br label %617, !llvm.loop !38

631:                                              ; preds = %617
  store i32 0, ptr %17, align 4, !tbaa !19
  br label %632

632:                                              ; preds = %649, %631
  %633 = load i32, ptr %17, align 4, !tbaa !19
  %634 = load i32, ptr %12, align 4, !tbaa !19
  %635 = icmp slt i32 %633, %634
  br i1 %635, label %636, label %652

636:                                              ; preds = %632
  %637 = load i32, ptr %17, align 4, !tbaa !19
  %638 = sext i32 %637 to i64
  %639 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %638) #5
  %640 = load i32, ptr %639, align 4, !tbaa !19
  %641 = icmp slt i32 %640, 0
  br i1 %641, label %642, label %648

642:                                              ; preds = %636
  %643 = load i32, ptr %17, align 4, !tbaa !19
  %644 = load i32, ptr %20, align 4, !tbaa !19
  %645 = add nsw i32 %644, 1
  store i32 %645, ptr %20, align 4, !tbaa !19
  %646 = sext i32 %644 to i64
  %647 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %646) #5
  store i32 %643, ptr %647, align 4, !tbaa !19
  br label %648

648:                                              ; preds = %642, %636
  br label %649

649:                                              ; preds = %648
  %650 = load i32, ptr %17, align 4, !tbaa !19
  %651 = add nsw i32 %650, 1
  store i32 %651, ptr %17, align 4, !tbaa !19
  br label %632, !llvm.loop !39

652:                                              ; preds = %632
  br label %357, !llvm.loop !40

653:                                              ; preds = %615, %354
  store i32 0, ptr %17, align 4, !tbaa !19
  br label %654

654:                                              ; preds = %692, %653
  %655 = load i32, ptr %17, align 4, !tbaa !19
  %656 = load i32, ptr %12, align 4, !tbaa !19
  %657 = icmp slt i32 %655, %656
  br i1 %657, label %658, label %695

658:                                              ; preds = %654
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %659

659:                                              ; preds = %688, %658
  %660 = load i32, ptr %18, align 4, !tbaa !19
  %661 = load i32, ptr %12, align 4, !tbaa !19
  %662 = icmp slt i32 %660, %661
  br i1 %662, label %663, label %691

663:                                              ; preds = %659
  %664 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %665 = load i32, ptr %17, align 4, !tbaa !19
  %666 = sext i32 %665 to i64
  %667 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %664, i64 noundef %666) #5
  %668 = load i32, ptr %18, align 4, !tbaa !19
  %669 = sext i32 %668 to i64
  %670 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %667, i64 noundef %669) #5
  %671 = load i32, ptr %670, align 4, !tbaa !19
  %672 = load i32, ptr %17, align 4, !tbaa !19
  %673 = sext i32 %672 to i64
  %674 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %673) #5
  %675 = load i32, ptr %674, align 4, !tbaa !19
  %676 = load i32, ptr %18, align 4, !tbaa !19
  %677 = sext i32 %676 to i64
  %678 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %677) #5
  %679 = load i32, ptr %678, align 4, !tbaa !19
  %680 = sub nsw i32 %675, %679
  %681 = icmp slt i32 %671, %680
  br i1 %681, label %682, label %687

682:                                              ; preds = %663
  %683 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 0
  store i8 0, ptr %683, align 8, !tbaa !11
  %684 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %684, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %684) #5
  %685 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %685, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %685) #5
  %686 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 4
  store i32 0, ptr %686, align 8, !tbaa !41
  store i32 1, ptr %49, align 4
  br label %860

687:                                              ; preds = %663
  br label %688

688:                                              ; preds = %687
  %689 = load i32, ptr %18, align 4, !tbaa !19
  %690 = add nsw i32 %689, 1
  store i32 %690, ptr %18, align 4, !tbaa !19
  br label %659, !llvm.loop !42

691:                                              ; preds = %659
  br label %692

692:                                              ; preds = %691
  %693 = load i32, ptr %17, align 4, !tbaa !19
  %694 = add nsw i32 %693, 1
  store i32 %694, ptr %17, align 4, !tbaa !19
  br label %654, !llvm.loop !43

695:                                              ; preds = %654
  store i32 0, ptr %17, align 4, !tbaa !19
  br label %696

696:                                              ; preds = %732, %695
  %697 = load i32, ptr %17, align 4, !tbaa !19
  %698 = load i32, ptr %12, align 4, !tbaa !19
  %699 = icmp slt i32 %697, %698
  br i1 %699, label %700, label %735

700:                                              ; preds = %696
  %701 = load i32, ptr %17, align 4, !tbaa !19
  %702 = sext i32 %701 to i64
  %703 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %702) #5
  %704 = load i32, ptr %703, align 4, !tbaa !19
  store i32 %704, ptr %18, align 4, !tbaa !19
  %705 = load i32, ptr %18, align 4, !tbaa !19
  %706 = icmp slt i32 %705, 0
  br i1 %706, label %726, label %707

707:                                              ; preds = %700
  %708 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %709 = load i32, ptr %17, align 4, !tbaa !19
  %710 = sext i32 %709 to i64
  %711 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %708, i64 noundef %710) #5
  %712 = load i32, ptr %18, align 4, !tbaa !19
  %713 = sext i32 %712 to i64
  %714 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %711, i64 noundef %713) #5
  %715 = load i32, ptr %714, align 4, !tbaa !19
  %716 = load i32, ptr %17, align 4, !tbaa !19
  %717 = sext i32 %716 to i64
  %718 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %717) #5
  %719 = load i32, ptr %718, align 4, !tbaa !19
  %720 = load i32, ptr %18, align 4, !tbaa !19
  %721 = sext i32 %720 to i64
  %722 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %721) #5
  %723 = load i32, ptr %722, align 4, !tbaa !19
  %724 = sub nsw i32 %719, %723
  %725 = icmp ne i32 %715, %724
  br i1 %725, label %726, label %731

726:                                              ; preds = %707, %700
  %727 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 0
  store i8 0, ptr %727, align 8, !tbaa !11
  %728 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %728, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %728) #5
  %729 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %729, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %729) #5
  %730 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 4
  store i32 0, ptr %730, align 8, !tbaa !41
  store i32 1, ptr %49, align 4
  br label %860

731:                                              ; preds = %707
  br label %732

732:                                              ; preds = %731
  %733 = load i32, ptr %17, align 4, !tbaa !19
  %734 = add nsw i32 %733, 1
  store i32 %734, ptr %17, align 4, !tbaa !19
  br label %696, !llvm.loop !44

735:                                              ; preds = %696
  store i32 0, ptr %17, align 4, !tbaa !19
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %736

736:                                              ; preds = %750, %735
  %737 = load i32, ptr %18, align 4, !tbaa !19
  %738 = load i32, ptr %12, align 4, !tbaa !19
  %739 = icmp slt i32 %737, %738
  br i1 %739, label %740, label %753

740:                                              ; preds = %736
  %741 = load i32, ptr %18, align 4, !tbaa !19
  %742 = sext i32 %741 to i64
  %743 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %742) #5
  %744 = load i32, ptr %743, align 4, !tbaa !19
  %745 = icmp ne i32 %744, 0
  br i1 %745, label %746, label %749

746:                                              ; preds = %740
  %747 = load i32, ptr %17, align 4, !tbaa !19
  %748 = add nsw i32 %747, 1
  store i32 %748, ptr %17, align 4, !tbaa !19
  br label %749

749:                                              ; preds = %746, %740
  br label %750

750:                                              ; preds = %749
  %751 = load i32, ptr %18, align 4, !tbaa !19
  %752 = add nsw i32 %751, 1
  store i32 %752, ptr %18, align 4, !tbaa !19
  br label %736, !llvm.loop !45

753:                                              ; preds = %736
  %754 = load i32, ptr %17, align 4, !tbaa !19
  %755 = load i32, ptr %12, align 4, !tbaa !19
  %756 = icmp sgt i32 %754, %755
  br i1 %756, label %757, label %762

757:                                              ; preds = %753
  %758 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 0
  store i8 0, ptr %758, align 8, !tbaa !11
  %759 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %759, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %759) #5
  %760 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %760, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %760) #5
  %761 = getelementptr inbounds %"struct.Hungarian::Result", ptr %0, i32 0, i32 4
  store i32 0, ptr %761, align 8, !tbaa !41
  store i32 1, ptr %49, align 4
  br label %860

762:                                              ; preds = %753
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #5
  store i32 0, ptr %54, align 4, !tbaa !19
  br label %763

763:                                              ; preds = %779, %762
  %764 = load i32, ptr %54, align 4, !tbaa !19
  %765 = load i32, ptr %12, align 4, !tbaa !19
  %766 = icmp slt i32 %764, %765
  br i1 %766, label %768, label %767

767:                                              ; preds = %763
  store i32 73, ptr %49, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #5
  br label %782

768:                                              ; preds = %763
  %769 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 2
  %770 = load i32, ptr %54, align 4, !tbaa !19
  %771 = sext i32 %770 to i64
  %772 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %769, i64 noundef %771) #5
  %773 = load i32, ptr %54, align 4, !tbaa !19
  %774 = sext i32 %773 to i64
  %775 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %774) #5
  %776 = load i32, ptr %775, align 4, !tbaa !19
  %777 = sext i32 %776 to i64
  %778 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %772, i64 noundef %777) #5
  store i32 1, ptr %778, align 4, !tbaa !19
  br label %779

779:                                              ; preds = %768
  %780 = load i32, ptr %54, align 4, !tbaa !19
  %781 = add nsw i32 %780, 1
  store i32 %781, ptr %54, align 4, !tbaa !19
  br label %763, !llvm.loop !46

782:                                              ; preds = %767
  store i32 0, ptr %17, align 4, !tbaa !19
  br label %783

783:                                              ; preds = %822, %782
  %784 = load i32, ptr %17, align 4, !tbaa !19
  %785 = load i32, ptr %12, align 4, !tbaa !19
  %786 = icmp slt i32 %784, %785
  br i1 %786, label %787, label %825

787:                                              ; preds = %783
  store i32 0, ptr %18, align 4, !tbaa !19
  br label %788

788:                                              ; preds = %818, %787
  %789 = load i32, ptr %18, align 4, !tbaa !19
  %790 = load i32, ptr %12, align 4, !tbaa !19
  %791 = icmp slt i32 %789, %790
  br i1 %791, label %792, label %821

792:                                              ; preds = %788
  %793 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %794 = load i32, ptr %17, align 4, !tbaa !19
  %795 = sext i32 %794 to i64
  %796 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %793, i64 noundef %795) #5
  %797 = load i32, ptr %18, align 4, !tbaa !19
  %798 = sext i32 %797 to i64
  %799 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %796, i64 noundef %798) #5
  %800 = load i32, ptr %799, align 4, !tbaa !19
  %801 = load i32, ptr %17, align 4, !tbaa !19
  %802 = sext i32 %801 to i64
  %803 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %802) #5
  %804 = load i32, ptr %803, align 4, !tbaa !19
  %805 = sub nsw i32 %800, %804
  %806 = load i32, ptr %18, align 4, !tbaa !19
  %807 = sext i32 %806 to i64
  %808 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %807) #5
  %809 = load i32, ptr %808, align 4, !tbaa !19
  %810 = add nsw i32 %805, %809
  %811 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 3
  %812 = load i32, ptr %17, align 4, !tbaa !19
  %813 = sext i32 %812 to i64
  %814 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %811, i64 noundef %813) #5
  %815 = load i32, ptr %18, align 4, !tbaa !19
  %816 = sext i32 %815 to i64
  %817 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %814, i64 noundef %816) #5
  store i32 %810, ptr %817, align 4, !tbaa !19
  br label %818

818:                                              ; preds = %792
  %819 = load i32, ptr %18, align 4, !tbaa !19
  %820 = add nsw i32 %819, 1
  store i32 %820, ptr %18, align 4, !tbaa !19
  br label %788, !llvm.loop !47

821:                                              ; preds = %788
  br label %822

822:                                              ; preds = %821
  %823 = load i32, ptr %17, align 4, !tbaa !19
  %824 = add nsw i32 %823, 1
  store i32 %824, ptr %17, align 4, !tbaa !19
  br label %783, !llvm.loop !48

825:                                              ; preds = %783
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #5
  store i32 0, ptr %55, align 4, !tbaa !19
  br label %826

826:                                              ; preds = %838, %825
  %827 = load i32, ptr %55, align 4, !tbaa !19
  %828 = load i32, ptr %12, align 4, !tbaa !19
  %829 = icmp slt i32 %827, %828
  br i1 %829, label %831, label %830

830:                                              ; preds = %826
  store i32 82, ptr %49, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  br label %841

831:                                              ; preds = %826
  %832 = load i32, ptr %55, align 4, !tbaa !19
  %833 = sext i32 %832 to i64
  %834 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %833) #5
  %835 = load i32, ptr %834, align 4, !tbaa !19
  %836 = load i32, ptr %23, align 4, !tbaa !19
  %837 = add nsw i32 %836, %835
  store i32 %837, ptr %23, align 4, !tbaa !19
  br label %838

838:                                              ; preds = %831
  %839 = load i32, ptr %55, align 4, !tbaa !19
  %840 = add nsw i32 %839, 1
  store i32 %840, ptr %55, align 4, !tbaa !19
  br label %826, !llvm.loop !49

841:                                              ; preds = %830
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #5
  store i32 0, ptr %56, align 4, !tbaa !19
  br label %842

842:                                              ; preds = %854, %841
  %843 = load i32, ptr %56, align 4, !tbaa !19
  %844 = load i32, ptr %12, align 4, !tbaa !19
  %845 = icmp slt i32 %843, %844
  br i1 %845, label %847, label %846

846:                                              ; preds = %842
  store i32 85, ptr %49, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #5
  br label %857

847:                                              ; preds = %842
  %848 = load i32, ptr %56, align 4, !tbaa !19
  %849 = sext i32 %848 to i64
  %850 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %849) #5
  %851 = load i32, ptr %850, align 4, !tbaa !19
  %852 = load i32, ptr %23, align 4, !tbaa !19
  %853 = sub nsw i32 %852, %851
  store i32 %853, ptr %23, align 4, !tbaa !19
  br label %854

854:                                              ; preds = %847
  %855 = load i32, ptr %56, align 4, !tbaa !19
  %856 = add nsw i32 %855, 1
  store i32 %856, ptr %56, align 4, !tbaa !19
  br label %842, !llvm.loop !50

857:                                              ; preds = %846
  %858 = load i32, ptr %23, align 4, !tbaa !19
  %859 = getelementptr inbounds %"struct.Hungarian::Result", ptr %7, i32 0, i32 4
  store i32 %858, ptr %859, align 8, !tbaa !41
  call void @_ZN9Hungarian6ResultC2EOS0_(ptr noundef nonnull align 8 dereferenceable(60) %0, ptr noundef nonnull align 8 dereferenceable(60) %7) #5
  store i32 1, ptr %49, align 4
  br label %860

860:                                              ; preds = %857, %757, %726, %682, %443
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZN9Hungarian6ResultD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %7) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #5
  ret void

861:                                              ; preds = %143, %139
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  br label %862

862:                                              ; preds = %861, %135
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  br label %863

863:                                              ; preds = %862, %131
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  br label %864

864:                                              ; preds = %863, %127
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  br label %865

865:                                              ; preds = %864, %123
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  br label %866

866:                                              ; preds = %865, %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br label %867

867:                                              ; preds = %866, %115
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %868

868:                                              ; preds = %867, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %869

869:                                              ; preds = %868, %102
  call void @_ZN9Hungarian6ResultD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %7) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #5
  br label %870

870:                                              ; preds = %869
  %871 = load ptr, ptr %9, align 8
  %872 = load i32, ptr %10, align 4
  %873 = insertvalue { ptr, i32 } poison, ptr %871, 0
  %874 = insertvalue { ptr, i32 } %873, i32 %872, 1
  resume { ptr, i32 } %874

875:                                              ; preds = %608
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN9Hungarian12_GLOBAL__N_114normalizeInputERKSt6vectorIS1_IiSaIiEESaIS3_EENS_4MODEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #0

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9Hungarian6ResultC2EOS0_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #2 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN9Hungarian4MODEE", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN9Hungarian6ResultE", !13, i64 0, !14, i64 8, !14, i64 32, !18, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIS_IiSaIiEESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"int", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}
!27 = distinct !{!27, !21}
!28 = distinct !{!28, !21}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}
!33 = distinct !{!33, !21}
!34 = distinct !{!34, !21}
!35 = distinct !{!35, !21}
!36 = distinct !{!36, !21}
!37 = distinct !{!37, !21}
!38 = distinct !{!38, !21}
!39 = distinct !{!39, !21}
!40 = distinct !{!40, !21}
!41 = !{!12, !18, i64 56}
!42 = distinct !{!42, !21}
!43 = distinct !{!43, !21}
!44 = distinct !{!44, !21}
!45 = distinct !{!45, !21}
!46 = distinct !{!46, !21}
!47 = distinct !{!47, !21}
!48 = distinct !{!48, !21}
!49 = distinct !{!49, !21}
!50 = distinct !{!50, !21}


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

%"struct.Hungarian::Result" = type <{ i8, [7 x i8], %"class.std::vector", %"class.std::vector", i32, [4 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Hungarian5SolveERKSt6vectorIS0_IiSaIiEESaIS2_EENS_4MODEE(ptr dead_on_unwind noalias writable sret(%"struct.Hungarian::Result") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.Hungarian::Result", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::allocator.2", align 1
  %12 = alloca %"class.std::vector.0", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::vector.0", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::allocator.2", align 1
  %18 = alloca %"class.std::vector.0", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::allocator.2", align 1
  %21 = alloca %"class.std::vector.0", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::allocator.2", align 1
  %24 = alloca %"class.std::vector.0", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::allocator.2", align 1
  %27 = alloca %"class.std::vector.0", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::allocator.2", align 1
  %30 = alloca %"class.std::vector.0", align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::allocator.2", align 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #5
  call void @_ZN9Hungarian6ResultC2Ev(ptr noundef nonnull align 8 dereferenceable(60) %4) #5
  store i8 1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  invoke void @_ZN9Hungarian12_GLOBAL__N_114normalizeInputERKSt6vectorIS1_IiSaIiEESaIS3_EENS_4MODEE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2)
          to label %33 unwind label %54

33:                                               ; preds = %3
  %34 = getelementptr inbounds i8, ptr %4, i64 32
  %35 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  %36 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  %37 = trunc i64 %36 to i32
  %38 = getelementptr inbounds i8, ptr %4, i64 8
  %sext = shl i64 %36, 32
  %39 = ashr exact i64 %sext, 32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 0, ptr %7, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %40 unwind label %56

40:                                               ; preds = %33
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE6resizeEmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %39, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %41 unwind label %58

41:                                               ; preds = %40
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store i32 0, ptr %10, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %42 unwind label %61

42:                                               ; preds = %41
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store i32 0, ptr %13, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %43 unwind label %63

43:                                               ; preds = %42
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  store i32 0, ptr %16, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %44 unwind label %65

44:                                               ; preds = %43
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  store i32 0, ptr %19, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %45 unwind label %67

45:                                               ; preds = %44
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #5
  store i32 0, ptr %22, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %46 unwind label %69

46:                                               ; preds = %45
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #5
  store i32 0, ptr %25, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %47 unwind label %71

47:                                               ; preds = %46
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #5
  store i32 0, ptr %28, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %48 unwind label %73

48:                                               ; preds = %47
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %30) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #5
  store i32 0, ptr %31, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #5
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %49 unwind label %75

49:                                               ; preds = %48
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #5
  %50 = icmp sgt i32 %37, 0
  br i1 %50, label %.preheader333.us.preheader, label %._crit_edge415

.preheader333.us.preheader:                       ; preds = %49
  %wide.trip.count452 = and i64 %36, 2147483647
  br label %.preheader333.us

.preheader333.us:                                 ; preds = %.preheader333.us.preheader, %._crit_edge.us
  %indvars.iv449 = phi i64 [ 0, %.preheader333.us.preheader ], [ %indvars.iv.next450, %._crit_edge.us ]
  br label %51

51:                                               ; preds = %.preheader333.us, %51
  %indvars.iv = phi i64 [ 0, %.preheader333.us ], [ %indvars.iv.next, %51 ]
  %52 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %indvars.iv449) #5
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %indvars.iv) #5
  store i32 0, ptr %53, align 4, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count452
  br i1 %exitcond.not, label %._crit_edge.us, label %51, !llvm.loop !17

._crit_edge.us:                                   ; preds = %51
  %indvars.iv.next450 = add nuw nsw i64 %indvars.iv449, 1
  %exitcond453.not = icmp eq i64 %indvars.iv.next450, %wide.trip.count452
  br i1 %exitcond453.not, label %.preheader332, label %.preheader333.us, !llvm.loop !19

.preheader332:                                    ; preds = %._crit_edge.us
  br i1 %50, label %.lr.ph350, label %._crit_edge415

.lr.ph350:                                        ; preds = %.preheader332
  %.not433 = icmp eq i32 %37, 1
  %wide.trip.count467 = and i64 %36, 2147483647
  br label %77

54:                                               ; preds = %3
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %336

56:                                               ; preds = %33
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %60

58:                                               ; preds = %40
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %60

60:                                               ; preds = %58, %56
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %57, %56 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %336

61:                                               ; preds = %41
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %335

63:                                               ; preds = %42
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  br label %334

65:                                               ; preds = %43
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  br label %333

67:                                               ; preds = %44
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  br label %332

69:                                               ; preds = %45
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #5
  br label %331

71:                                               ; preds = %46
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #5
  br label %330

73:                                               ; preds = %47
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #5
  br label %329

75:                                               ; preds = %48
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  br label %329

.preheader329:                                    ; preds = %.loopexit331
  br i1 %50, label %.lr.ph353.preheader, label %._crit_edge415

.lr.ph353.preheader:                              ; preds = %.preheader329
  %wide.trip.count472 = and i64 %36, 2147483647
  br label %.lr.ph353

77:                                               ; preds = %.lr.ph350, %.loopexit331
  %indvars.iv464 = phi i64 [ 0, %.lr.ph350 ], [ %indvars.iv.next465, %.loopexit331 ]
  %.0233349 = phi i32 [ 0, %.lr.ph350 ], [ %90, %.loopexit331 ]
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef 0) #5
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %indvars.iv464) #5
  %80 = load i32, ptr %79, align 4, !tbaa !16
  br i1 %.not433, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %77, %89
  %indvars.iv454 = phi i64 [ %indvars.iv.next455, %89 ], [ 1, %77 ]
  %.0250345 = phi i32 [ %.1251, %89 ], [ %80, %77 ]
  %81 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv454) #5
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %indvars.iv464) #5
  %83 = load i32, ptr %82, align 4, !tbaa !16
  %84 = icmp slt i32 %83, %.0250345
  br i1 %84, label %85, label %89

85:                                               ; preds = %.lr.ph
  %86 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv454) #5
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %indvars.iv464) #5
  %88 = load i32, ptr %87, align 4, !tbaa !16
  br label %89

89:                                               ; preds = %.lr.ph, %85
  %.1251 = phi i32 [ %88, %85 ], [ %.0250345, %.lr.ph ]
  %indvars.iv.next455 = add nuw nsw i64 %indvars.iv454, 1
  %exitcond458.not = icmp eq i64 %indvars.iv.next455, %wide.trip.count467
  br i1 %exitcond458.not, label %._crit_edge, label %.lr.ph, !llvm.loop !20

._crit_edge:                                      ; preds = %89, %77
  %.0250.lcssa = phi i32 [ %80, %77 ], [ %.1251, %89 ]
  %90 = add nsw i32 %.0250.lcssa, %.0233349
  %.not302 = icmp eq i32 %.0250.lcssa, 0
  br i1 %.not302, label %.loopexit331, label %.lr.ph347

.lr.ph347:                                        ; preds = %._crit_edge, %.lr.ph347
  %indvars.iv459 = phi i64 [ %indvars.iv.next460, %.lr.ph347 ], [ 0, %._crit_edge ]
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv459) #5
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %indvars.iv464) #5
  %93 = load i32, ptr %92, align 4, !tbaa !16
  %94 = sub nsw i32 %93, %.0250.lcssa
  store i32 %94, ptr %92, align 4, !tbaa !16
  %indvars.iv.next460 = add nuw nsw i64 %indvars.iv459, 1
  %exitcond463.not = icmp eq i64 %indvars.iv.next460, %wide.trip.count467
  br i1 %exitcond463.not, label %.loopexit331, label %.lr.ph347, !llvm.loop !21

.loopexit331:                                     ; preds = %.lr.ph347, %._crit_edge
  %indvars.iv.next465 = add nuw nsw i64 %indvars.iv464, 1
  %exitcond468.not = icmp eq i64 %indvars.iv.next465, %wide.trip.count467
  br i1 %exitcond468.not, label %.preheader329, label %77, !llvm.loop !22

.preheader328:                                    ; preds = %.lr.ph353
  br i1 %50, label %.lr.ph367, label %._crit_edge415

.lr.ph367:                                        ; preds = %.preheader328
  %.not434 = icmp eq i32 %37, 1
  %wide.trip.count487 = and i64 %36, 2147483647
  br label %99

.lr.ph353:                                        ; preds = %.lr.ph353.preheader, %.lr.ph353
  %indvars.iv469 = phi i64 [ 0, %.lr.ph353.preheader ], [ %indvars.iv.next470, %.lr.ph353 ]
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv469) #5
  store i32 -1, ptr %95, align 4, !tbaa !16
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv469) #5
  store i32 -1, ptr %96, align 4, !tbaa !16
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv469) #5
  store i32 0, ptr %97, align 4, !tbaa !16
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv469) #5
  store i32 2147483647, ptr %98, align 4, !tbaa !16
  %indvars.iv.next470 = add nuw nsw i64 %indvars.iv469, 1
  %exitcond473.not = icmp eq i64 %indvars.iv.next470, %wide.trip.count472
  br i1 %exitcond473.not, label %.preheader328, label %.lr.ph353, !llvm.loop !23

99:                                               ; preds = %.lr.ph367, %130
  %indvars.iv484 = phi i64 [ 0, %.lr.ph367 ], [ %indvars.iv.next485, %130 ]
  %.0240366 = phi i32 [ 0, %.lr.ph367 ], [ %.1241, %130 ]
  %100 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv484) #5
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef 0) #5
  %102 = load i32, ptr %101, align 4, !tbaa !16
  br i1 %.not434, label %.lr.ph362.preheader, label %.lr.ph357

.lr.ph357:                                        ; preds = %99, %111
  %indvars.iv474 = phi i64 [ %indvars.iv.next475, %111 ], [ 1, %99 ]
  %.2252355 = phi i32 [ %.3253, %111 ], [ %102, %99 ]
  %103 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv484) #5
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %indvars.iv474) #5
  %105 = load i32, ptr %104, align 4, !tbaa !16
  %106 = icmp slt i32 %105, %.2252355
  br i1 %106, label %107, label %111

107:                                              ; preds = %.lr.ph357
  %108 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv484) #5
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %indvars.iv474) #5
  %110 = load i32, ptr %109, align 4, !tbaa !16
  br label %111

111:                                              ; preds = %.lr.ph357, %107
  %.3253 = phi i32 [ %110, %107 ], [ %.2252355, %.lr.ph357 ]
  %indvars.iv.next475 = add nuw nsw i64 %indvars.iv474, 1
  %exitcond478.not = icmp eq i64 %indvars.iv.next475, %wide.trip.count487
  br i1 %exitcond478.not, label %.lr.ph362.preheader, label %.lr.ph357, !llvm.loop !24

.lr.ph362.preheader:                              ; preds = %111, %99
  %.2252.lcssa = phi i32 [ %102, %99 ], [ %.3253, %111 ]
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv484) #5
  store i32 %.2252.lcssa, ptr %112, align 4, !tbaa !16
  br label %.lr.ph362

.lr.ph362:                                        ; preds = %.lr.ph362.preheader, %125
  %indvars.iv479 = phi i64 [ 0, %.lr.ph362.preheader ], [ %indvars.iv.next480, %125 ]
  %113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv484) #5
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %indvars.iv479) #5
  %115 = load i32, ptr %114, align 4, !tbaa !16
  %116 = icmp eq i32 %.2252.lcssa, %115
  br i1 %116, label %117, label %125

117:                                              ; preds = %.lr.ph362
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv479) #5
  %119 = load i32, ptr %118, align 4, !tbaa !16
  %120 = icmp slt i32 %119, 0
  br i1 %120, label %121, label %125

121:                                              ; preds = %117
  %122 = trunc nuw nsw i64 %indvars.iv479 to i32
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv484) #5
  store i32 %122, ptr %123, align 4, !tbaa !16
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv479) #5
  br label %130

125:                                              ; preds = %.lr.ph362, %117
  %indvars.iv.next480 = add nuw nsw i64 %indvars.iv479, 1
  %exitcond483.not = icmp eq i64 %indvars.iv.next480, %wide.trip.count487
  br i1 %exitcond483.not, label %._crit_edge363, label %.lr.ph362, !llvm.loop !25

._crit_edge363:                                   ; preds = %125
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv484) #5
  store i32 -1, ptr %126, align 4, !tbaa !16
  %127 = add nsw i32 %.0240366, 1
  %128 = sext i32 %.0240366 to i64
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %128) #5
  br label %130

130:                                              ; preds = %121, %._crit_edge363
  %.sink606 = phi ptr [ %124, %121 ], [ %129, %._crit_edge363 ]
  %.1241 = phi i32 [ %.0240366, %121 ], [ %127, %._crit_edge363 ]
  %131 = trunc nuw nsw i64 %indvars.iv484 to i32
  store i32 %131, ptr %.sink606, align 4, !tbaa !16
  %indvars.iv.next485 = add nuw nsw i64 %indvars.iv484, 1
  %exitcond488.not = icmp eq i64 %indvars.iv.next485, %wide.trip.count487
  br i1 %exitcond488.not, label %._crit_edge368, label %99, !llvm.loop !26

._crit_edge368:                                   ; preds = %130
  %132 = icmp eq i32 %.1241, 0
  br i1 %132, label %.loopexit327, label %.preheader326

.preheader326:                                    ; preds = %._crit_edge368
  %wide.trip.count498 = and i64 %36, 2147483647
  %wide.trip.count506 = and i64 %36, 2147483647
  %wide.trip.count516 = and i64 %36, 2147483647
  %wide.trip.count529 = and i64 %36, 2147483647
  %wide.trip.count534 = and i64 %36, 2147483647
  br label %133

.loopexit323:                                     ; preds = %263, %.preheader324, %.preheader322
  %.11.lcssa = phi i32 [ 0, %.preheader322 ], [ 0, %.preheader324 ], [ %.12, %263 ]
  br label %133, !llvm.loop !27

133:                                              ; preds = %.preheader326, %.loopexit323
  %.2242 = phi i32 [ %.11.lcssa, %.loopexit323 ], [ %.1241, %.preheader326 ]
  %.0236 = phi i32 [ %251, %.loopexit323 ], [ %.1241, %.preheader326 ]
  br label %134

.loopexit318:                                     ; preds = %232, %.preheader317
  %.9249.lcssa = phi i32 [ %.4244.lcssa, %.preheader317 ], [ %.10, %232 ]
  br label %134, !llvm.loop !28

134:                                              ; preds = %.loopexit318, %133
  %.3243 = phi i32 [ %.2242, %133 ], [ %.9249.lcssa, %.loopexit318 ]
  %.0237 = phi i32 [ 0, %133 ], [ %.2239.lcssa, %.loopexit318 ]
  %135 = icmp slt i32 %.0237, %.3243
  br i1 %135, label %.lr.ph379, label %.preheader321

.lr.ph379:                                        ; preds = %134
  %136 = zext nneg i32 %.0237 to i64
  br i1 %50, label %.lr.ph373.us, label %.lr.ph379.split.preheader

.lr.ph379.split.preheader:                        ; preds = %.lr.ph379
  %wide.trip.count493 = zext i32 %.3243 to i64
  br label %.lr.ph379.split

.lr.ph373.us:                                     ; preds = %.lr.ph379, %._crit_edge374.us
  %indvars.iv500 = phi i64 [ %indvars.iv.next501, %._crit_edge374.us ], [ %136, %.lr.ph379 ]
  %.4244376.us = phi i32 [ %.8248.us, %._crit_edge374.us ], [ %.3243, %.lr.ph379 ]
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv500) #5
  %138 = load i32, ptr %137, align 4, !tbaa !16
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %139) #5
  %141 = load i32, ptr %140, align 4, !tbaa !16
  br label %142

142:                                              ; preds = %.lr.ph373.us, %.thread.us
  %indvars.iv495 = phi i64 [ 0, %.lr.ph373.us ], [ %indvars.iv.next496, %.thread.us ]
  %.5245371.us = phi i32 [ %.4244376.us, %.lr.ph373.us ], [ %.8248.us, %.thread.us ]
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv495) #5
  %144 = load i32, ptr %143, align 4, !tbaa !16
  %.not299.us = icmp eq i32 %144, 0
  br i1 %.not299.us, label %.thread.us, label %145

145:                                              ; preds = %142
  %146 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %139) #5
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %indvars.iv495) #5
  %148 = load i32, ptr %147, align 4, !tbaa !16
  %149 = sub nsw i32 %148, %141
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv495) #5
  %151 = load i32, ptr %150, align 4, !tbaa !16
  %152 = add nsw i32 %151, %149
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv495) #5
  %154 = load i32, ptr %153, align 4, !tbaa !16
  %155 = icmp slt i32 %152, %154
  br i1 %155, label %156, label %.thread.us

156:                                              ; preds = %145
  %157 = icmp eq i32 %152, 0
  br i1 %157, label %161, label %158

158:                                              ; preds = %156
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv495) #5
  store i32 %152, ptr %159, align 4, !tbaa !16
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv495) #5
  store i32 %138, ptr %160, align 4, !tbaa !16
  br label %.thread.us

161:                                              ; preds = %156
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv495) #5
  %163 = load i32, ptr %162, align 4, !tbaa !16
  %164 = icmp slt i32 %163, 0
  br i1 %164, label %.loopexit.split.us.loopexit, label %165

165:                                              ; preds = %161
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv495) #5
  store i32 0, ptr %166, align 4, !tbaa !16
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv495) #5
  store i32 %138, ptr %167, align 4, !tbaa !16
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv495) #5
  %169 = load i32, ptr %168, align 4, !tbaa !16
  %170 = add nsw i32 %.5245371.us, 1
  %171 = sext i32 %.5245371.us to i64
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %171) #5
  store i32 %169, ptr %172, align 4, !tbaa !16
  br label %.thread.us

.thread.us:                                       ; preds = %165, %158, %145, %142
  %.8248.us = phi i32 [ %.5245371.us, %142 ], [ %.5245371.us, %145 ], [ %.5245371.us, %158 ], [ %170, %165 ]
  %indvars.iv.next496 = add nuw nsw i64 %indvars.iv495, 1
  %exitcond499.not = icmp eq i64 %indvars.iv.next496, %wide.trip.count498
  br i1 %exitcond499.not, label %._crit_edge374.us, label %142, !llvm.loop !29

._crit_edge374.us:                                ; preds = %.thread.us
  %indvars.iv.next501 = add nuw nsw i64 %indvars.iv500, 1
  %173 = trunc nuw i64 %indvars.iv.next501 to i32
  %174 = icmp sgt i32 %.8248.us, %173
  br i1 %174, label %.lr.ph373.us, label %.preheader321, !llvm.loop !30

.preheader321:                                    ; preds = %.lr.ph379.split, %._crit_edge374.us, %134
  %.4244.lcssa = phi i32 [ %.3243, %134 ], [ %.8248.us, %._crit_edge374.us ], [ %.3243, %.lr.ph379.split ]
  br i1 %50, label %.lr.ph385, label %.preheader320

.lr.ph379.split:                                  ; preds = %.lr.ph379.split.preheader, %.lr.ph379.split
  %indvars.iv489 = phi i64 [ %136, %.lr.ph379.split.preheader ], [ %indvars.iv.next490, %.lr.ph379.split ]
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv489) #5
  %176 = load i32, ptr %175, align 4, !tbaa !16
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %177) #5
  %indvars.iv.next490 = add nuw nsw i64 %indvars.iv489, 1
  %exitcond494.not = icmp eq i64 %indvars.iv.next490, %wide.trip.count493
  br i1 %exitcond494.not, label %.preheader321, label %.lr.ph379.split, !llvm.loop !30

.preheader320:                                    ; preds = %189, %.preheader321
  %.4254.lcssa = phi i32 [ 2147483647, %.preheader321 ], [ %.5255, %189 ]
  %179 = icmp sgt i32 %.4244.lcssa, 0
  br i1 %179, label %.lr.ph388.preheader, label %.preheader317

.lr.ph388.preheader:                              ; preds = %.preheader320
  %wide.trip.count511 = zext nneg i32 %.4244.lcssa to i64
  br label %.lr.ph388

.lr.ph385:                                        ; preds = %.preheader321, %189
  %indvars.iv503 = phi i64 [ %indvars.iv.next504, %189 ], [ 0, %.preheader321 ]
  %.4254384 = phi i32 [ %.5255, %189 ], [ 2147483647, %.preheader321 ]
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv503) #5
  %181 = load i32, ptr %180, align 4, !tbaa !16
  %.not298 = icmp eq i32 %181, 0
  br i1 %.not298, label %189, label %182

182:                                              ; preds = %.lr.ph385
  %183 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv503) #5
  %184 = load i32, ptr %183, align 4, !tbaa !16
  %185 = icmp slt i32 %184, %.4254384
  br i1 %185, label %186, label %189

186:                                              ; preds = %182
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv503) #5
  %188 = load i32, ptr %187, align 4, !tbaa !16
  br label %189

189:                                              ; preds = %.lr.ph385, %182, %186
  %.5255 = phi i32 [ %188, %186 ], [ %.4254384, %182 ], [ %.4254384, %.lr.ph385 ]
  %indvars.iv.next504 = add nuw nsw i64 %indvars.iv503, 1
  %exitcond507.not = icmp eq i64 %indvars.iv.next504, %wide.trip.count506
  br i1 %exitcond507.not, label %.preheader320, label %.lr.ph385, !llvm.loop !31

.preheader317:                                    ; preds = %.lr.ph388, %.preheader320
  %.2239.lcssa = phi i32 [ 0, %.preheader320 ], [ %.4244.lcssa, %.lr.ph388 ]
  br i1 %50, label %.lr.ph392, label %.loopexit318

.lr.ph388:                                        ; preds = %.lr.ph388.preheader, %.lr.ph388
  %indvars.iv508 = phi i64 [ 0, %.lr.ph388.preheader ], [ %indvars.iv.next509, %.lr.ph388 ]
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv508) #5
  %191 = load i32, ptr %190, align 4, !tbaa !16
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %192) #5
  %194 = load i32, ptr %193, align 4, !tbaa !16
  %195 = add nsw i32 %194, %.4254.lcssa
  store i32 %195, ptr %193, align 4, !tbaa !16
  %indvars.iv.next509 = add nuw nsw i64 %indvars.iv508, 1
  %exitcond512.not = icmp eq i64 %indvars.iv.next509, %wide.trip.count511
  br i1 %exitcond512.not, label %.preheader317, label %.lr.ph388, !llvm.loop !32

.lr.ph392:                                        ; preds = %.preheader317, %232
  %indvars.iv518 = phi i64 [ %indvars.iv.next519, %232 ], [ 1, %.preheader317 ]
  %indvars.iv513 = phi i64 [ %indvars.iv.next514, %232 ], [ 0, %.preheader317 ]
  %.9249391 = phi i32 [ %.10, %232 ], [ %.4244.lcssa, %.preheader317 ]
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv513) #5
  %197 = load i32, ptr %196, align 4, !tbaa !16
  %.not = icmp eq i32 %197, 0
  br i1 %.not, label %228, label %198

198:                                              ; preds = %.lr.ph392
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv513) #5
  %200 = load i32, ptr %199, align 4, !tbaa !16
  %201 = sub nsw i32 %200, %.4254.lcssa
  store i32 %201, ptr %199, align 4, !tbaa !16
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv513) #5
  %203 = load i32, ptr %202, align 4, !tbaa !16
  %204 = icmp eq i32 %203, 0
  br i1 %204, label %205, label %232

205:                                              ; preds = %198
  %206 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv513) #5
  %207 = load i32, ptr %206, align 4, !tbaa !16
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv513) #5
  %209 = load i32, ptr %208, align 4, !tbaa !16
  %210 = icmp slt i32 %209, 0
  br i1 %210, label %.loopexit319, label %221

.loopexit319:                                     ; preds = %205
  %211 = trunc nuw nsw i64 %indvars.iv513 to i32
  %.0218394 = add nuw nsw i32 %211, 1
  %212 = icmp slt i32 %.0218394, %37
  br i1 %212, label %.lr.ph396, label %.loopexit.split.us

.lr.ph396:                                        ; preds = %.loopexit319, %220
  %indvars.iv521 = phi i64 [ %indvars.iv.next522, %220 ], [ %indvars.iv518, %.loopexit319 ]
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv521) #5
  %214 = load i32, ptr %213, align 4, !tbaa !16
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %220

216:                                              ; preds = %.lr.ph396
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv521) #5
  %218 = load i32, ptr %217, align 4, !tbaa !16
  %219 = add nsw i32 %218, %.4254.lcssa
  store i32 %219, ptr %217, align 4, !tbaa !16
  br label %220

220:                                              ; preds = %.lr.ph396, %216
  %indvars.iv.next522 = add nuw nsw i64 %indvars.iv521, 1
  %exitcond525.not = icmp eq i64 %indvars.iv.next522, %wide.trip.count516
  br i1 %exitcond525.not, label %.loopexit.split.us, label %.lr.ph396, !llvm.loop !33

221:                                              ; preds = %205
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv513) #5
  store i32 %207, ptr %222, align 4, !tbaa !16
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv513) #5
  %224 = load i32, ptr %223, align 4, !tbaa !16
  %225 = add nsw i32 %.9249391, 1
  %226 = sext i32 %.9249391 to i64
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %226) #5
  store i32 %224, ptr %227, align 4, !tbaa !16
  br label %232

228:                                              ; preds = %.lr.ph392
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv513) #5
  %230 = load i32, ptr %229, align 4, !tbaa !16
  %231 = add nsw i32 %230, %.4254.lcssa
  store i32 %231, ptr %229, align 4, !tbaa !16
  br label %232

232:                                              ; preds = %228, %221, %198
  %.10 = phi i32 [ %225, %221 ], [ %.9249391, %198 ], [ %.9249391, %228 ]
  %indvars.iv.next514 = add nuw nsw i64 %indvars.iv513, 1
  %exitcond517.not = icmp eq i64 %indvars.iv.next514, %wide.trip.count516
  %indvars.iv.next519 = add nuw nsw i64 %indvars.iv518, 1
  br i1 %exitcond517.not, label %.loopexit318, label %.lr.ph392, !llvm.loop !34

.loopexit.split.us.loopexit:                      ; preds = %161
  %233 = trunc nuw nsw i64 %indvars.iv495 to i32
  br label %.loopexit.split.us

.loopexit.split.us:                               ; preds = %220, %.loopexit.split.us.loopexit, %.loopexit319
  %.3272 = phi i32 [ %207, %.loopexit319 ], [ %138, %.loopexit.split.us.loopexit ], [ %207, %220 ]
  %.7263 = phi i32 [ %211, %.loopexit319 ], [ %233, %.loopexit.split.us.loopexit ], [ %211, %220 ]
  %234 = sext i32 %.3272 to i64
  %235 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %234) #5
  %236 = load i32, ptr %235, align 4, !tbaa !16
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %234) #5
  store i32 %.7263, ptr %237, align 4, !tbaa !16
  %238 = zext nneg i32 %.7263 to i64
  %239 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %238) #5
  store i32 %.3272, ptr %239, align 4, !tbaa !16
  %240 = icmp slt i32 %236, 0
  br i1 %240, label %._crit_edge399, label %.lr.ph398

.lr.ph398:                                        ; preds = %.loopexit.split.us, %.lr.ph398
  %241 = phi i32 [ %247, %.lr.ph398 ], [ %236, %.loopexit.split.us ]
  %242 = zext nneg i32 %241 to i64
  %243 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %242) #5
  %244 = load i32, ptr %243, align 4, !tbaa !16
  %245 = sext i32 %244 to i64
  %246 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %245) #5
  %247 = load i32, ptr %246, align 4, !tbaa !16
  %248 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %245) #5
  store i32 %241, ptr %248, align 4, !tbaa !16
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %242) #5
  store i32 %244, ptr %249, align 4, !tbaa !16
  %250 = icmp slt i32 %247, 0
  br i1 %250, label %._crit_edge399, label %.lr.ph398

._crit_edge399:                                   ; preds = %.lr.ph398, %.loopexit.split.us
  %251 = add nsw i32 %.0236, -1
  %252 = icmp eq i32 %251, 0
  br i1 %252, label %.loopexit327, label %.preheader324

.preheader324:                                    ; preds = %._crit_edge399
  br i1 %50, label %.lr.ph401, label %.loopexit323

.preheader322:                                    ; preds = %.lr.ph401
  br i1 %50, label %.lr.ph404, label %.loopexit323

.lr.ph401:                                        ; preds = %.preheader324, %.lr.ph401
  %indvars.iv526 = phi i64 [ %indvars.iv.next527, %.lr.ph401 ], [ 0, %.preheader324 ]
  %253 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv526) #5
  store i32 -1, ptr %253, align 4, !tbaa !16
  %254 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv526) #5
  store i32 2147483647, ptr %254, align 4, !tbaa !16
  %indvars.iv.next527 = add nuw nsw i64 %indvars.iv526, 1
  %exitcond530.not = icmp eq i64 %indvars.iv.next527, %wide.trip.count529
  br i1 %exitcond530.not, label %.preheader322, label %.lr.ph401, !llvm.loop !35

.lr.ph404:                                        ; preds = %.preheader322, %263
  %indvars.iv531 = phi i64 [ %indvars.iv.next532, %263 ], [ 0, %.preheader322 ]
  %.11403 = phi i32 [ %.12, %263 ], [ 0, %.preheader322 ]
  %255 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv531) #5
  %256 = load i32, ptr %255, align 4, !tbaa !16
  %257 = icmp slt i32 %256, 0
  br i1 %257, label %258, label %263

258:                                              ; preds = %.lr.ph404
  %259 = add nsw i32 %.11403, 1
  %260 = sext i32 %.11403 to i64
  %261 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %260) #5
  %262 = trunc nuw nsw i64 %indvars.iv531 to i32
  store i32 %262, ptr %261, align 4, !tbaa !16
  br label %263

263:                                              ; preds = %.lr.ph404, %258
  %.12 = phi i32 [ %259, %258 ], [ %.11403, %.lr.ph404 ]
  %indvars.iv.next532 = add nuw nsw i64 %indvars.iv531, 1
  %exitcond535.not = icmp eq i64 %indvars.iv.next532, %wide.trip.count534
  br i1 %exitcond535.not, label %.loopexit323, label %.lr.ph404, !llvm.loop !36

.loopexit327:                                     ; preds = %._crit_edge399, %._crit_edge368
  br i1 %50, label %.preheader316.us.preheader, label %._crit_edge415

.preheader316.us.preheader:                       ; preds = %.loopexit327
  %wide.trip.count544 = and i64 %36, 2147483647
  br label %.preheader316.us

.preheader316.us:                                 ; preds = %.preheader316.us.preheader, %._crit_edge408.us
  %indvars.iv541 = phi i64 [ 0, %.preheader316.us.preheader ], [ %indvars.iv.next542, %._crit_edge408.us ]
  br label %265

264:                                              ; preds = %265
  %indvars.iv.next537 = add nuw nsw i64 %indvars.iv536, 1
  %exitcond540.not = icmp eq i64 %indvars.iv.next537, %wide.trip.count544
  br i1 %exitcond540.not, label %._crit_edge408.us, label %265, !llvm.loop !37

265:                                              ; preds = %.preheader316.us, %264
  %indvars.iv536 = phi i64 [ 0, %.preheader316.us ], [ %indvars.iv.next537, %264 ]
  %266 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv541) #5
  %267 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %266, i64 noundef %indvars.iv536) #5
  %268 = load i32, ptr %267, align 4, !tbaa !16
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv541) #5
  %270 = load i32, ptr %269, align 4, !tbaa !16
  %271 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv536) #5
  %272 = load i32, ptr %271, align 4, !tbaa !16
  %273 = sub nsw i32 %270, %272
  %274 = icmp slt i32 %268, %273
  br i1 %274, label %.split.us, label %264

._crit_edge408.us:                                ; preds = %264
  %indvars.iv.next542 = add nuw nsw i64 %indvars.iv541, 1
  %exitcond545.not = icmp eq i64 %indvars.iv.next542, %wide.trip.count544
  br i1 %exitcond545.not, label %.preheader315, label %.preheader316.us, !llvm.loop !38

.preheader315:                                    ; preds = %._crit_edge408.us
  br i1 %50, label %.lr.ph411.preheader, label %._crit_edge415

.lr.ph411.preheader:                              ; preds = %.preheader315
  %wide.trip.count549 = and i64 %36, 2147483647
  br label %.lr.ph411

.split.us:                                        ; preds = %265
  store i8 0, ptr %0, align 8, !tbaa !5
  %275 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %275, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %275) #5
  %276 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %276, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %276) #5
  %277 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %277, align 8, !tbaa !39
  br label %328

278:                                              ; preds = %282
  %indvars.iv.next547 = add nuw nsw i64 %indvars.iv546, 1
  %exitcond550.not = icmp eq i64 %indvars.iv.next547, %wide.trip.count549
  br i1 %exitcond550.not, label %.preheader314, label %.lr.ph411, !llvm.loop !40

.preheader314:                                    ; preds = %278
  br i1 %50, label %.lr.ph414.preheader, label %._crit_edge415

.lr.ph414.preheader:                              ; preds = %.preheader314
  %wide.trip.count554 = and i64 %36, 2147483647
  br label %.lr.ph414

.lr.ph411:                                        ; preds = %.lr.ph411.preheader, %278
  %indvars.iv546 = phi i64 [ 0, %.lr.ph411.preheader ], [ %indvars.iv.next547, %278 ]
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv546) #5
  %280 = load i32, ptr %279, align 4, !tbaa !16
  %281 = icmp slt i32 %280, 0
  br i1 %281, label %292, label %282

282:                                              ; preds = %.lr.ph411
  %283 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv546) #5
  %284 = zext nneg i32 %280 to i64
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %283, i64 noundef %284) #5
  %286 = load i32, ptr %285, align 4, !tbaa !16
  %287 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv546) #5
  %288 = load i32, ptr %287, align 4, !tbaa !16
  %289 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %284) #5
  %290 = load i32, ptr %289, align 4, !tbaa !16
  %291 = sub nsw i32 %288, %290
  %.not301 = icmp eq i32 %286, %291
  br i1 %.not301, label %278, label %292

292:                                              ; preds = %282, %.lr.ph411
  store i8 0, ptr %0, align 8, !tbaa !5
  %293 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %293, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %293) #5
  %294 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %294, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %294) #5
  %295 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %295, align 8, !tbaa !39
  br label %328

.lr.ph414:                                        ; preds = %.lr.ph414.preheader, %.lr.ph414
  %indvars.iv551 = phi i64 [ 0, %.lr.ph414.preheader ], [ %indvars.iv.next552, %.lr.ph414 ]
  %.9278412 = phi i32 [ 0, %.lr.ph414.preheader ], [ %spec.select, %.lr.ph414 ]
  %296 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv551) #5
  %297 = load i32, ptr %296, align 4, !tbaa !16
  %.not300 = icmp ne i32 %297, 0
  %298 = zext i1 %.not300 to i32
  %spec.select = add nuw nsw i32 %.9278412, %298
  %indvars.iv.next552 = add nuw nsw i64 %indvars.iv551, 1
  %exitcond555.not = icmp eq i64 %indvars.iv.next552, %wide.trip.count554
  br i1 %exitcond555.not, label %._crit_edge415, label %.lr.ph414, !llvm.loop !41

._crit_edge415:                                   ; preds = %.lr.ph414, %.preheader328, %.preheader329, %.preheader332, %49, %.loopexit327, %.preheader315, %.preheader314
  %.0233.lcssa582584587589591593 = phi i32 [ %90, %.preheader314 ], [ %90, %.preheader315 ], [ %90, %.loopexit327 ], [ %90, %.preheader328 ], [ %90, %.preheader329 ], [ 0, %.preheader332 ], [ 0, %49 ], [ %90, %.lr.ph414 ]
  %.9278.lcssa = phi i32 [ 0, %.preheader314 ], [ 0, %.preheader315 ], [ 0, %.loopexit327 ], [ 0, %.preheader328 ], [ 0, %.preheader329 ], [ 0, %.preheader332 ], [ 0, %49 ], [ %spec.select, %.lr.ph414 ]
  %299 = icmp sgt i32 %.9278.lcssa, %37
  br i1 %299, label %300, label %.preheader313

.preheader313:                                    ; preds = %._crit_edge415
  br i1 %50, label %.lr.ph418.preheader, label %._crit_edge430

.lr.ph418.preheader:                              ; preds = %.preheader313
  %wide.trip.count559 = and i64 %36, 2147483647
  br label %.lr.ph418

300:                                              ; preds = %._crit_edge415
  store i8 0, ptr %0, align 8, !tbaa !5
  %301 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %301, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %301) #5
  %302 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %302, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %302) #5
  %303 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 0, ptr %303, align 8, !tbaa !39
  br label %328

.preheader312:                                    ; preds = %.lr.ph418
  br i1 %50, label %.preheader311.us.preheader, label %._crit_edge430

.preheader311.us.preheader:                       ; preds = %.preheader312
  %wide.trip.count569 = and i64 %36, 2147483647
  br label %.preheader311.us

.preheader311.us:                                 ; preds = %.preheader311.us.preheader, %._crit_edge421.us
  %indvars.iv566 = phi i64 [ 0, %.preheader311.us.preheader ], [ %indvars.iv.next567, %._crit_edge421.us ]
  br label %304

304:                                              ; preds = %.preheader311.us, %304
  %indvars.iv561 = phi i64 [ 0, %.preheader311.us ], [ %indvars.iv.next562, %304 ]
  %305 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv566) #5
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %305, i64 noundef %indvars.iv561) #5
  %307 = load i32, ptr %306, align 4, !tbaa !16
  %308 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv566) #5
  %309 = load i32, ptr %308, align 4, !tbaa !16
  %310 = sub i32 %307, %309
  %311 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv561) #5
  %312 = load i32, ptr %311, align 4, !tbaa !16
  %313 = add nsw i32 %310, %312
  %314 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv566) #5
  %315 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %314, i64 noundef %indvars.iv561) #5
  store i32 %313, ptr %315, align 4, !tbaa !16
  %indvars.iv.next562 = add nuw nsw i64 %indvars.iv561, 1
  %exitcond565.not = icmp eq i64 %indvars.iv.next562, %wide.trip.count569
  br i1 %exitcond565.not, label %._crit_edge421.us, label %304, !llvm.loop !42

._crit_edge421.us:                                ; preds = %304
  %indvars.iv.next567 = add nuw nsw i64 %indvars.iv566, 1
  %exitcond570.not = icmp eq i64 %indvars.iv.next567, %wide.trip.count569
  br i1 %exitcond570.not, label %.preheader310, label %.preheader311.us, !llvm.loop !43

.lr.ph418:                                        ; preds = %.lr.ph418.preheader, %.lr.ph418
  %indvars.iv556 = phi i64 [ 0, %.lr.ph418.preheader ], [ %indvars.iv.next557, %.lr.ph418 ]
  %316 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %indvars.iv556) #5
  %317 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv556) #5
  %318 = load i32, ptr %317, align 4, !tbaa !16
  %319 = sext i32 %318 to i64
  %320 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %316, i64 noundef %319) #5
  store i32 1, ptr %320, align 4, !tbaa !16
  %indvars.iv.next557 = add nuw nsw i64 %indvars.iv556, 1
  %exitcond560.not = icmp eq i64 %indvars.iv.next557, %wide.trip.count559
  br i1 %exitcond560.not, label %.preheader312, label %.lr.ph418, !llvm.loop !44

.preheader310:                                    ; preds = %._crit_edge421.us
  br i1 %50, label %.lr.ph425.preheader, label %._crit_edge430

.lr.ph425.preheader:                              ; preds = %.preheader310
  %wide.trip.count574 = and i64 %36, 2147483647
  br label %.lr.ph425

.preheader:                                       ; preds = %.lr.ph425
  br i1 %50, label %.lr.ph429.preheader, label %._crit_edge430

.lr.ph429.preheader:                              ; preds = %.preheader
  %wide.trip.count579 = and i64 %36, 2147483647
  br label %.lr.ph429

.lr.ph425:                                        ; preds = %.lr.ph425.preheader, %.lr.ph425
  %indvars.iv571 = phi i64 [ 0, %.lr.ph425.preheader ], [ %indvars.iv.next572, %.lr.ph425 ]
  %.1234423 = phi i32 [ %.0233.lcssa582584587589591593, %.lr.ph425.preheader ], [ %323, %.lr.ph425 ]
  %321 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv571) #5
  %322 = load i32, ptr %321, align 4, !tbaa !16
  %323 = add nsw i32 %322, %.1234423
  %indvars.iv.next572 = add nuw nsw i64 %indvars.iv571, 1
  %exitcond575.not = icmp eq i64 %indvars.iv.next572, %wide.trip.count574
  br i1 %exitcond575.not, label %.preheader, label %.lr.ph425, !llvm.loop !45

._crit_edge430:                                   ; preds = %.lr.ph429, %.preheader313, %.preheader312, %.preheader310, %.preheader
  %.2235.lcssa = phi i32 [ %323, %.preheader ], [ %.0233.lcssa582584587589591593, %.preheader310 ], [ %.0233.lcssa582584587589591593, %.preheader312 ], [ %.0233.lcssa582584587589591593, %.preheader313 ], [ %327, %.lr.ph429 ]
  %324 = getelementptr inbounds i8, ptr %4, i64 56
  store i32 %.2235.lcssa, ptr %324, align 8, !tbaa !39
  call void @_ZN9Hungarian6ResultC2EOS0_(ptr noundef nonnull align 8 dereferenceable(60) %0, ptr noundef nonnull align 8 dereferenceable(60) %4) #5
  br label %328

.lr.ph429:                                        ; preds = %.lr.ph429.preheader, %.lr.ph429
  %indvars.iv576 = phi i64 [ 0, %.lr.ph429.preheader ], [ %indvars.iv.next577, %.lr.ph429 ]
  %.2235427 = phi i32 [ %323, %.lr.ph429.preheader ], [ %327, %.lr.ph429 ]
  %325 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv576) #5
  %326 = load i32, ptr %325, align 4, !tbaa !16
  %327 = sub nsw i32 %.2235427, %326
  %indvars.iv.next577 = add nuw nsw i64 %indvars.iv576, 1
  %exitcond580.not = icmp eq i64 %indvars.iv.next577, %wide.trip.count579
  br i1 %exitcond580.not, label %._crit_edge430, label %.lr.ph429, !llvm.loop !46

328:                                              ; preds = %._crit_edge430, %300, %292, %.split.us
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %30) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN9Hungarian6ResultD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %4) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #5
  ret void

329:                                              ; preds = %75, %73
  %.pn288 = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br label %330

330:                                              ; preds = %329, %71
  %.pn288.pn = phi { ptr, i32 } [ %.pn288, %329 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  br label %331

331:                                              ; preds = %330, %69
  %.pn288.pn.pn = phi { ptr, i32 } [ %.pn288.pn, %330 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %332

332:                                              ; preds = %331, %67
  %.pn288.pn.pn.pn = phi { ptr, i32 } [ %.pn288.pn.pn, %331 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %333

333:                                              ; preds = %332, %65
  %.pn288.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn288.pn.pn.pn, %332 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %334

334:                                              ; preds = %333, %63
  %.pn288.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn288.pn.pn.pn.pn, %333 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %335

335:                                              ; preds = %334, %61
  %.pn288.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn288.pn.pn.pn.pn.pn, %334 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br label %336

336:                                              ; preds = %60, %335, %54
  %.pn288.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %55, %54 ], [ %.pn288.pn.pn.pn.pn.pn.pn, %335 ], [ %.pn, %60 ]
  call void @_ZN9Hungarian6ResultD2Ev(ptr noundef nonnull align 8 dereferenceable(60) %4) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn288.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN9Hungarian12_GLOBAL__N_114normalizeInputERKSt6vectorIS1_IiSaIiEESaIS3_EENS_4MODEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 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 i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9Hungarian6ResultC2EOS0_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #2 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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, !7, i64 0}
!6 = !{!"_ZTSN9Hungarian6ResultE", !7, i64 0, !10, i64 8, !10, i64 32, !15, i64 56}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIS_IiSaIiEESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!15, !15, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}
!32 = distinct !{!32, !18}
!33 = distinct !{!33, !18}
!34 = distinct !{!34, !18}
!35 = distinct !{!35, !18}
!36 = distinct !{!36, !18}
!37 = distinct !{!37, !18}
!38 = distinct !{!38, !18}
!39 = !{!6, !15, i64 56}
!40 = distinct !{!40, !18}
!41 = distinct !{!41, !18}
!42 = distinct !{!42, !18}
!43 = distinct !{!43, !18}
!44 = distinct !{!44, !18}
!45 = distinct !{!45, !18}
!46 = distinct !{!46, !18}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass