; LLVM IR from thepowersgang/mrustc :: src/mir (optimise)

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

%"class.std::vector.25" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.190" = type { i8 }
%"class.std::vector.646" = type { %"struct.std::_Vector_base.647" }
%"struct.std::_Vector_base.647" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.648" = type { i8 }
%"class.std::vector.651" = type { %"struct.std::_Vector_base.652" }
%"struct.std::_Vector_base.652" = type { %"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl" }
%"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Todo = type { i64, i32, i32 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"struct.std::pair.400" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.188" = type { ptr }
%"class.std::vector.116" = type { %"struct.std::_Vector_base.117" }
%"struct.std::_Vector_base.117" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.407" = type { ptr }
%class.anon.656 = type { ptr }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.657 = type { ptr }
%"class.std::function.143" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.658 = type { ptr }
%"class.MIR::Function" = type { %"class.std::vector.20", %"class.std::vector.25", %"class.std::vector.29", %"class.MIR::EnumCachePtr" }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeRef, std::allocator<HIR::TypeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::EnumCachePtr" = type { ptr }
%"struct.MIR::BasicBlock" = type { %"class.std::vector.101", %"class.MIR::Terminator" }
%"class.std::vector.101" = type { %"struct.std::_Vector_base.102" }
%"struct.std::_Vector_base.102" = type { %"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Statement, std::allocator<MIR::Statement>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::Terminator" = type { i32, %"union.MIR::Terminator::DataUnion" }
%"union.MIR::Terminator::DataUnion" = type { %"struct.MIR::Terminator::Data_Call" }
%"struct.MIR::Terminator::Data_Call" = type { i32, i32, %"struct.MIR::LValue", %"class.MIR::CallTarget", %"class.std::vector.138" }
%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector.106" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector.106" = type { %"struct.std::_Vector_base.107" }
%"struct.std::_Vector_base.107" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::LValue::Wrapper, std::allocator<MIR::LValue::Wrapper>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MIR::CallTarget" = type { i32, %"union.MIR::CallTarget::DataUnion" }
%"union.MIR::CallTarget::DataUnion" = type { %"class.HIR::Path" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr" }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.133, %class.ThinVector.134, %class.ThinVector.135 }
%class.ThinVector.133 = type { ptr }
%class.ThinVector.134 = type { ptr }
%class.ThinVector.135 = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.137" }
%"struct.std::_Head_base.137" = type { ptr }
%"class.std::vector.138" = type { %"struct.std::_Vector_base.139" }
%"struct.std::_Vector_base.139" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::Param, std::allocator<MIR::Param>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MIR::Terminator::Data_Panic" = type { i32 }
%"struct.MIR::Terminator::Data_If" = type { %"struct.MIR::LValue", i32, i32 }
%"struct.MIR::Terminator::Data_Switch" = type { %"struct.MIR::LValue", %"class.std::vector.111" }
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MIR::Terminator::Data_SwitchValue" = type { %"struct.MIR::LValue", i32, %"class.std::vector.111", %"class.MIR::SwitchValues" }
%"class.MIR::SwitchValues" = type { i32, %"union.MIR::SwitchValues::DataUnion" }
%"union.MIR::SwitchValues::DataUnion" = type { %"class.std::vector.116" }

@g_debug_indent_level = external global i32, align 4
@.str.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE = external hidden unnamed_addr constant [92 x i8], align 1
@__FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE = external hidden unnamed_addr constant [15 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE(ptr noundef nonnull align 8 dereferenceable(424) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(96) %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::vector.25", align 8
  %8 = alloca %"class.std::allocator.190", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector.646", align 8
  %12 = alloca %"class.std::allocator.648", align 1
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.651", align 8
  %15 = alloca %struct.Todo, align 8
  %16 = alloca %struct.Todo, align 8
  %17 = alloca %"struct.std::_Bit_reference", align 8
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::_Bit_reference", align 8
  %20 = alloca %"struct.std::pair.400", align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %struct.Todo, align 8
  %27 = alloca ptr, align 8
  %28 = alloca %struct.Todo, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %struct.Todo, align 8
  %31 = alloca %struct.Todo, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %36 = alloca i32, align 4
  %37 = alloca %struct.Todo, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %42 = alloca i32, align 4
  %43 = alloca %struct.Todo, align 8
  %44 = alloca %struct.Todo, align 8
  %45 = alloca ptr, align 8
  %46 = alloca %struct.Todo, align 8
  %47 = alloca %struct.Todo, align 8
  %48 = alloca %"class.std::vector.116", align 8
  %49 = alloca i64, align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator.407", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator.407", align 8
  %52 = alloca %class.anon.656, align 8
  %53 = alloca %"class.std::vector.29", align 8
  %54 = alloca ptr, align 8
  %55 = alloca %"class.__gnu_cxx::__normal_iterator.407", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.407", align 8
  %57 = alloca i64, align 8
  %58 = alloca %class.anon.657, align 8
  %59 = alloca %"class.std::function.143", align 8
  %60 = alloca %class.anon.658, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #8
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.MIR::Function", ptr %61, i32 0, i32 2
  %63 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #8
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %63, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %64 unwind label %88

64:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %"class.MIR::Function", ptr %65, i32 0, i32 2
  %67 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  call void @_ZNSaISt4pairIjjEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %67, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %68 unwind label %92

68:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %69 = getelementptr inbounds %struct.Todo, ptr %15, i32 0, i32 0
  store i64 0, ptr %69, align 8, !tbaa !11
  %70 = getelementptr inbounds %struct.Todo, ptr %15, i32 0, i32 1
  store i32 0, ptr %70, align 8, !tbaa !14
  %71 = getelementptr inbounds %struct.Todo, ptr %15, i32 0, i32 2
  store i32 0, ptr %71, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %72 unwind label %96

72:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  br label %73

73:                                               ; preds = %425, %423, %72
  %74 = call noundef zeroext i1 @_ZNKSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  %75 = xor i1 %74, true
  br i1 %75, label %76, label %428

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %77, i64 16, i1 false), !tbaa.struct !16
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %78 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 0
  %79 = load i64, ptr %78, align 8, !tbaa !11
  %80 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %79)
          to label %81 unwind label %100

81:                                               ; preds = %76
  %82 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %83 = extractvalue { ptr, i64 } %80, 0
  store ptr %83, ptr %82, align 8
  %84 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %85 = extractvalue { ptr, i64 } %80, 1
  store i64 %85, ptr %84, align 8
  %86 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br i1 %86, label %87, label %104

87:                                               ; preds = %81
  store i32 2, ptr %18, align 4
  br label %423, !llvm.loop !18

88:                                               ; preds = %3
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %9, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  br label %534

92:                                               ; preds = %64
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %9, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %10, align 4
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  br label %533

96:                                               ; preds = %68
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  br label %532

100:                                              ; preds = %76
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %9, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br label %427

104:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %105 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 0
  %106 = load i64, ptr %105, align 8, !tbaa !11
  %107 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %106)
          to label %108 unwind label %131

108:                                              ; preds = %104
  %109 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %110 = extractvalue { ptr, i64 } %107, 0
  store ptr %110, ptr %109, align 8
  %111 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %112 = extractvalue { ptr, i64 } %107, 1
  store i64 %112, ptr %111, align 8
  %113 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %19, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %114 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 1
  %115 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %116 = invoke i64 @_ZSt9make_pairIRjS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %114, ptr noundef nonnull align 4 dereferenceable(4) %115)
          to label %117 unwind label %135

117:                                              ; preds = %108
  store i64 %116, ptr %20, align 4
  %118 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 0
  %119 = load i64, ptr %118, align 8, !tbaa !11
  %120 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIjjESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %119) #8
  %121 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIjjEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %120, ptr noundef nonnull align 4 dereferenceable(8) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %"class.MIR::Function", ptr %122, i32 0, i32 2
  %124 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 0
  %125 = load i64, ptr %124, align 8, !tbaa !11
  %126 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef %125) #8
  store ptr %126, ptr %21, align 8, !tbaa !5
  %127 = load ptr, ptr %21, align 8, !tbaa !5
  %128 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %127, i32 0, i32 1
  %129 = invoke noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %128)
          to label %130 unwind label %139

130:                                              ; preds = %117
  switch i32 %129, label %422 [
    i32 0, label %143
    i32 1, label %144
    i32 2, label %154
    i32 3, label %164
    i32 4, label %174
    i32 5, label %201
    i32 6, label %229
    i32 7, label %274
    i32 8, label %317
    i32 9, label %377
  ]

131:                                              ; preds = %104
  %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 @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %427

135:                                              ; preds = %108
  %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 @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %427

139:                                              ; preds = %117
  %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
  br label %426

143:                                              ; preds = %130
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.8, i32 noundef 6455, ptr noundef @__PRETTY_FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE) #9
  unreachable

144:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %145 = load ptr, ptr %21, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %145, i32 0, i32 1
  %147 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR10Terminator13as_IncompleteEv(ptr noundef nonnull align 8 dereferenceable(168) %146)
          to label %148 unwind label %150

148:                                              ; preds = %144
  store ptr %147, ptr %22, align 8, !tbaa !5
  %149 = load ptr, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %422

150:                                              ; preds = %144
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %9, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %426

154:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %155 = load ptr, ptr %21, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %155, i32 0, i32 1
  %157 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR10Terminator9as_ReturnEv(ptr noundef nonnull align 8 dereferenceable(168) %156)
          to label %158 unwind label %160

158:                                              ; preds = %154
  store ptr %157, ptr %23, align 8, !tbaa !5
  %159 = load ptr, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %422

160:                                              ; preds = %154
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %9, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %426

164:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %165 = load ptr, ptr %21, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %165, i32 0, i32 1
  %167 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR10Terminator10as_DivergeEv(ptr noundef nonnull align 8 dereferenceable(168) %166)
          to label %168 unwind label %170

168:                                              ; preds = %164
  store ptr %167, ptr %24, align 8, !tbaa !5
  %169 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %422

170:                                              ; preds = %164
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %9, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %426

174:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %175 = load ptr, ptr %21, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %175, i32 0, i32 1
  %177 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3MIR10Terminator7as_GotoEv(ptr noundef nonnull align 8 dereferenceable(168) %176)
          to label %178 unwind label %192

178:                                              ; preds = %174
  store ptr %177, ptr %25, align 8, !tbaa !5
  %179 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  %180 = getelementptr inbounds %struct.Todo, ptr %26, i32 0, i32 0
  %181 = load ptr, ptr %25, align 8, !tbaa !5
  %182 = load i32, ptr %181, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  store i64 %183, ptr %180, align 8, !tbaa !11
  %184 = getelementptr inbounds %struct.Todo, ptr %26, i32 0, i32 1
  %185 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 1
  %186 = load i32, ptr %185, align 8, !tbaa !14
  store i32 %186, ptr %184, align 8, !tbaa !14
  %187 = getelementptr inbounds %struct.Todo, ptr %26, i32 0, i32 2
  %188 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %189 = load i32, ptr %188, align 4, !tbaa !15
  %190 = add i32 %189, 1
  store i32 %190, ptr %187, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %191 unwind label %196

191:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %422

192:                                              ; preds = %174
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %9, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %10, align 4
  br label %200

196:                                              ; preds = %178
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %9, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %426

201:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %202 = load ptr, ptr %21, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %202, i32 0, i32 1
  %204 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3MIR10Terminator8as_PanicEv(ptr noundef nonnull align 8 dereferenceable(168) %203)
          to label %205 unwind label %220

205:                                              ; preds = %201
  store ptr %204, ptr %27, align 8, !tbaa !5
  %206 = load ptr, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  %207 = getelementptr inbounds %struct.Todo, ptr %28, i32 0, i32 0
  %208 = load ptr, ptr %27, align 8, !tbaa !5
  %209 = getelementptr inbounds %"struct.MIR::Terminator::Data_Panic", ptr %208, i32 0, i32 0
  %210 = load i32, ptr %209, align 4, !tbaa !20
  %211 = zext i32 %210 to i64
  store i64 %211, ptr %207, align 8, !tbaa !11
  %212 = getelementptr inbounds %struct.Todo, ptr %28, i32 0, i32 1
  %213 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 1
  %214 = load i32, ptr %213, align 8, !tbaa !14
  store i32 %214, ptr %212, align 8, !tbaa !14
  %215 = getelementptr inbounds %struct.Todo, ptr %28, i32 0, i32 2
  %216 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %217 = load i32, ptr %216, align 4, !tbaa !15
  %218 = add i32 %217, 1
  store i32 %218, ptr %215, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %219 unwind label %224

219:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %422

220:                                              ; preds = %201
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %9, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %10, align 4
  br label %228

224:                                              ; preds = %205
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %9, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  br label %228

228:                                              ; preds = %224, %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %426

229:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %230 = load ptr, ptr %21, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %230, i32 0, i32 1
  %232 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3MIR10Terminator5as_IfEv(ptr noundef nonnull align 8 dereferenceable(168) %231)
          to label %233 unwind label %261

233:                                              ; preds = %229
  store ptr %232, ptr %29, align 8, !tbaa !5
  %234 = load ptr, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  %235 = getelementptr inbounds %struct.Todo, ptr %30, i32 0, i32 0
  %236 = load ptr, ptr %29, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %236, i32 0, i32 1
  %238 = load i32, ptr %237, align 8, !tbaa !22
  %239 = zext i32 %238 to i64
  store i64 %239, ptr %235, align 8, !tbaa !11
  %240 = getelementptr inbounds %struct.Todo, ptr %30, i32 0, i32 1
  %241 = load i32, ptr %13, align 4, !tbaa !9
  %242 = add i32 %241, 1
  store i32 %242, ptr %13, align 4, !tbaa !9
  store i32 %242, ptr %240, align 8, !tbaa !14
  %243 = getelementptr inbounds %struct.Todo, ptr %30, i32 0, i32 2
  %244 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %245 = load i32, ptr %244, align 4, !tbaa !15
  %246 = add i32 %245, 1
  store i32 %246, ptr %243, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %247 unwind label %265

247:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  %248 = getelementptr inbounds %struct.Todo, ptr %31, i32 0, i32 0
  %249 = load ptr, ptr %29, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.MIR::Terminator::Data_If", ptr %249, i32 0, i32 2
  %251 = load i32, ptr %250, align 4, !tbaa !30
  %252 = zext i32 %251 to i64
  store i64 %252, ptr %248, align 8, !tbaa !11
  %253 = getelementptr inbounds %struct.Todo, ptr %31, i32 0, i32 1
  %254 = load i32, ptr %13, align 4, !tbaa !9
  %255 = add i32 %254, 1
  store i32 %255, ptr %13, align 4, !tbaa !9
  store i32 %255, ptr %253, align 8, !tbaa !14
  %256 = getelementptr inbounds %struct.Todo, ptr %31, i32 0, i32 2
  %257 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %258 = load i32, ptr %257, align 4, !tbaa !15
  %259 = add i32 %258, 1
  store i32 %259, ptr %256, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %260 unwind label %269

260:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %422

261:                                              ; preds = %229
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %9, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %10, align 4
  br label %273

265:                                              ; preds = %233
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %9, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  br label %273

269:                                              ; preds = %247
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %9, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  br label %273

273:                                              ; preds = %269, %265, %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %426

274:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %275 = load ptr, ptr %21, align 8, !tbaa !5
  %276 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %275, i32 0, i32 1
  %277 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168) %276)
          to label %278 unwind label %291

278:                                              ; preds = %274
  store ptr %277, ptr %32, align 8, !tbaa !5
  %279 = load ptr, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %280 = load ptr, ptr %32, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.MIR::Terminator::Data_Switch", ptr %280, i32 0, i32 1
  store ptr %281, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %282 = load ptr, ptr %33, align 8, !tbaa !5
  %283 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %282) #8
  %284 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.188", ptr %34, i32 0, i32 0
  store ptr %283, ptr %284, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %285 = load ptr, ptr %33, align 8, !tbaa !5
  %286 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %285) #8
  %287 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.188", ptr %35, i32 0, i32 0
  store ptr %286, ptr %287, align 8
  br label %288

288:                                              ; preds = %309, %278
  %289 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br i1 %289, label %295, label %290

290:                                              ; preds = %288
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %315

291:                                              ; preds = %274
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %9, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %10, align 4
  br label %316

295:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  %296 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  %297 = load i32, ptr %296, align 4, !tbaa !9
  store i32 %297, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #8
  %298 = getelementptr inbounds %struct.Todo, ptr %37, i32 0, i32 0
  %299 = load i32, ptr %36, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  store i64 %300, ptr %298, align 8, !tbaa !11
  %301 = getelementptr inbounds %struct.Todo, ptr %37, i32 0, i32 1
  %302 = load i32, ptr %13, align 4, !tbaa !9
  %303 = add i32 %302, 1
  store i32 %303, ptr %13, align 4, !tbaa !9
  store i32 %303, ptr %301, align 8, !tbaa !14
  %304 = getelementptr inbounds %struct.Todo, ptr %37, i32 0, i32 2
  %305 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %306 = load i32, ptr %305, align 4, !tbaa !15
  %307 = add i32 %306, 1
  store i32 %307, ptr %304, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %308 unwind label %311

308:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %309

309:                                              ; preds = %308
  %310 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %288

311:                                              ; preds = %295
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %9, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %316

315:                                              ; preds = %290
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %422

316:                                              ; preds = %311, %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %426

317:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %318 = load ptr, ptr %21, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %318, i32 0, i32 1
  %320 = invoke noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168) %319)
          to label %321 unwind label %334

321:                                              ; preds = %317
  store ptr %320, ptr %38, align 8, !tbaa !5
  %322 = load ptr, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %323 = load ptr, ptr %38, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.MIR::Terminator::Data_SwitchValue", ptr %323, i32 0, i32 2
  store ptr %324, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %325 = load ptr, ptr %39, align 8, !tbaa !5
  %326 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %325) #8
  %327 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.188", ptr %40, i32 0, i32 0
  store ptr %326, ptr %327, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %328 = load ptr, ptr %39, align 8, !tbaa !5
  %329 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %328) #8
  %330 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.188", ptr %41, i32 0, i32 0
  store ptr %329, ptr %330, align 8
  br label %331

331:                                              ; preds = %352, %321
  %332 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  br i1 %332, label %338, label %333

333:                                              ; preds = %331
  store i32 7, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %358

334:                                              ; preds = %317
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %9, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %10, align 4
  br label %376

338:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %340 = load i32, ptr %339, align 4, !tbaa !9
  store i32 %340, ptr %42, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #8
  %341 = getelementptr inbounds %struct.Todo, ptr %43, i32 0, i32 0
  %342 = load i32, ptr %42, align 4, !tbaa !9
  %343 = zext i32 %342 to i64
  store i64 %343, ptr %341, align 8, !tbaa !11
  %344 = getelementptr inbounds %struct.Todo, ptr %43, i32 0, i32 1
  %345 = load i32, ptr %13, align 4, !tbaa !9
  %346 = add i32 %345, 1
  store i32 %346, ptr %13, align 4, !tbaa !9
  store i32 %346, ptr %344, align 8, !tbaa !14
  %347 = getelementptr inbounds %struct.Todo, ptr %43, i32 0, i32 2
  %348 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %349 = load i32, ptr %348, align 4, !tbaa !15
  %350 = add i32 %349, 1
  store i32 %350, ptr %347, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %351 unwind label %354

351:                                              ; preds = %338
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %352

352:                                              ; preds = %351
  %353 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  br label %331

354:                                              ; preds = %338
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %9, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %376

358:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #8
  %359 = getelementptr inbounds %struct.Todo, ptr %44, i32 0, i32 0
  %360 = load ptr, ptr %38, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.MIR::Terminator::Data_SwitchValue", ptr %360, i32 0, i32 1
  %362 = load i32, ptr %361, align 8, !tbaa !31
  %363 = zext i32 %362 to i64
  store i64 %363, ptr %359, align 8, !tbaa !11
  %364 = getelementptr inbounds %struct.Todo, ptr %44, i32 0, i32 1
  %365 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 1
  %366 = load i32, ptr %365, align 8, !tbaa !14
  store i32 %366, ptr %364, align 8, !tbaa !14
  %367 = getelementptr inbounds %struct.Todo, ptr %44, i32 0, i32 2
  %368 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %369 = load i32, ptr %368, align 4, !tbaa !15
  %370 = add i32 %369, 1
  store i32 %370, ptr %367, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %44)
          to label %371 unwind label %372

371:                                              ; preds = %358
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %422

372:                                              ; preds = %358
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %9, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  br label %376

376:                                              ; preds = %372, %354, %334
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %426

377:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %378 = load ptr, ptr %21, align 8, !tbaa !5
  %379 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %378, i32 0, i32 1
  %380 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168) %379)
          to label %381 unwind label %409

381:                                              ; preds = %377
  store ptr %380, ptr %45, align 8, !tbaa !5
  %382 = load ptr, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #8
  %383 = getelementptr inbounds %struct.Todo, ptr %46, i32 0, i32 0
  %384 = load ptr, ptr %45, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %384, i32 0, i32 0
  %386 = load i32, ptr %385, align 8, !tbaa !39
  %387 = zext i32 %386 to i64
  store i64 %387, ptr %383, align 8, !tbaa !11
  %388 = getelementptr inbounds %struct.Todo, ptr %46, i32 0, i32 1
  %389 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 1
  %390 = load i32, ptr %389, align 8, !tbaa !14
  store i32 %390, ptr %388, align 8, !tbaa !14
  %391 = getelementptr inbounds %struct.Todo, ptr %46, i32 0, i32 2
  %392 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %393 = load i32, ptr %392, align 4, !tbaa !15
  %394 = add i32 %393, 1
  store i32 %394, ptr %391, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %395 unwind label %413

395:                                              ; preds = %381
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #8
  %396 = getelementptr inbounds %struct.Todo, ptr %47, i32 0, i32 0
  %397 = load ptr, ptr %45, align 8, !tbaa !5
  %398 = getelementptr inbounds %"struct.MIR::Terminator::Data_Call", ptr %397, i32 0, i32 1
  %399 = load i32, ptr %398, align 4, !tbaa !47
  %400 = zext i32 %399 to i64
  store i64 %400, ptr %396, align 8, !tbaa !11
  %401 = getelementptr inbounds %struct.Todo, ptr %47, i32 0, i32 1
  %402 = load i32, ptr %13, align 4, !tbaa !9
  %403 = add i32 %402, 1
  store i32 %403, ptr %13, align 4, !tbaa !9
  store i32 %403, ptr %401, align 8, !tbaa !14
  %404 = getelementptr inbounds %struct.Todo, ptr %47, i32 0, i32 2
  %405 = getelementptr inbounds %struct.Todo, ptr %16, i32 0, i32 2
  %406 = load i32, ptr %405, align 4, !tbaa !15
  %407 = add i32 %406, 1
  store i32 %407, ptr %404, align 4, !tbaa !15
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %408 unwind label %417

408:                                              ; preds = %395
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %422

409:                                              ; preds = %377
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %9, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %10, align 4
  br label %421

413:                                              ; preds = %381
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %9, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #8
  br label %421

417:                                              ; preds = %395
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %9, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #8
  br label %421

421:                                              ; preds = %417, %413, %409
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %426

422:                                              ; preds = %408, %371, %315, %260, %219, %191, %168, %158, %148, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  store i32 0, ptr %18, align 4
  br label %423

423:                                              ; preds = %422, %87
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  %424 = load i32, ptr %18, align 4
  switch i32 %424, label %540 [
    i32 0, label %425
    i32 2, label %73
  ]

425:                                              ; preds = %423
  br label %73, !llvm.loop !18

426:                                              ; preds = %421, %376, %316, %273, %228, %200, %170, %160, %150, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %427

427:                                              ; preds = %426, %135, %131, %100
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %532

428:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #8
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  %429 = load ptr, ptr %6, align 8, !tbaa !5
  %430 = getelementptr inbounds %"class.MIR::Function", ptr %429, i32 0, i32 2
  %431 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %430) #8
  invoke void @_ZNSt6vectorImSaImEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %431)
          to label %432 unwind label %440

432:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  store i64 0, ptr %49, align 8, !tbaa !17
  br label %433

433:                                              ; preds = %446, %432
  %434 = load i64, ptr %49, align 8, !tbaa !17
  %435 = load ptr, ptr %6, align 8, !tbaa !5
  %436 = getelementptr inbounds %"class.MIR::Function", ptr %435, i32 0, i32 2
  %437 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %436) #8
  %438 = icmp ult i64 %434, %437
  br i1 %438, label %444, label %439

439:                                              ; preds = %433
  store i32 9, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %453

440:                                              ; preds = %476, %474, %472, %469, %466, %453, %428
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %9, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %10, align 4
  br label %531

444:                                              ; preds = %433
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %445 unwind label %449

445:                                              ; preds = %444
  br label %446

446:                                              ; preds = %445
  %447 = load i64, ptr %49, align 8, !tbaa !17
  %448 = add i64 %447, 1
  store i64 %448, ptr %49, align 8, !tbaa !17
  br label %433, !llvm.loop !48

449:                                              ; preds = %444
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %9, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %531

453:                                              ; preds = %439
  %454 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  %455 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.407", ptr %50, i32 0, i32 0
  store ptr %454, ptr %455, align 8
  %456 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  %457 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.407", ptr %51, i32 0, i32 0
  store ptr %456, ptr %457, align 8
  %458 = getelementptr inbounds %class.anon.656, ptr %52, i32 0, i32 0
  store ptr %11, ptr %458, align 8, !tbaa !5
  %459 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.407", ptr %50, i32 0, i32 0
  %460 = load ptr, ptr %459, align 8
  %461 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.407", ptr %51, i32 0, i32 0
  %462 = load ptr, ptr %461, align 8
  %463 = getelementptr inbounds %class.anon.656, ptr %52, i32 0, i32 0
  %464 = load ptr, ptr %463, align 8
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_2EvT_SI_T0_"(ptr %460, ptr %462, ptr %464)
          to label %465 unwind label %440

465:                                              ; preds = %453
  br label %466

466:                                              ; preds = %465
  %467 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %468 unwind label %440

468:                                              ; preds = %466
  br i1 %467, label %469, label %479

469:                                              ; preds = %468
  %470 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %471 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %470, ptr noundef @__FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE)
          to label %472 unwind label %440

472:                                              ; preds = %469
  %473 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsImERSoS0_RKSt6vectorIT_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %471, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %474 unwind label %440

474:                                              ; preds = %472
  %475 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %473, ptr noundef @_ZSt3decRSt8ios_base)
          to label %476 unwind label %440

476:                                              ; preds = %474
  %477 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %475, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %478 unwind label %440

478:                                              ; preds = %476
  br label %479

479:                                              ; preds = %478, %468
  br label %480

480:                                              ; preds = %479
  br label %481

481:                                              ; preds = %480
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #8
  call void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %482 = load ptr, ptr %6, align 8, !tbaa !5
  %483 = getelementptr inbounds %"class.MIR::Function", ptr %482, i32 0, i32 2
  %484 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %483) #8
  invoke void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %484)
          to label %485 unwind label %495

485:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #8
  store ptr %48, ptr %54, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %486 = load ptr, ptr %54, align 8, !tbaa !5
  %487 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %486) #8
  %488 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.407", ptr %55, i32 0, i32 0
  store ptr %487, ptr %488, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #8
  %489 = load ptr, ptr %54, align 8, !tbaa !5
  %490 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %489) #8
  %491 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.407", ptr %56, i32 0, i32 0
  store ptr %490, ptr %491, align 8
  br label %492

492:                                              ; preds = %515, %485
  %493 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %56) #8
  br i1 %493, label %499, label %494

494:                                              ; preds = %492
  store i32 14, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  br label %526

495:                                              ; preds = %481
  %496 = landingpad { ptr, i32 }
          cleanup
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %9, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %10, align 4
  br label %530

499:                                              ; preds = %492
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  %500 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %501 = load i64, ptr %500, align 8, !tbaa !17
  store i64 %501, ptr %57, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  %502 = getelementptr inbounds %class.anon.657, ptr %58, i32 0, i32 0
  store ptr %48, ptr %502, align 8, !tbaa !5
  %503 = load ptr, ptr %6, align 8, !tbaa !5
  %504 = getelementptr inbounds %"class.MIR::Function", ptr %503, i32 0, i32 2
  %505 = load i64, ptr %57, align 8, !tbaa !17
  %506 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %504, i64 noundef %505) #8
  invoke void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(192) %506)
          to label %507 unwind label %517

507:                                              ; preds = %499
  %508 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %509 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %508, i32 0, i32 0
  invoke void @_ZNSt6vectorIN3MIR9StatementESaIS1_EE13shrink_to_fitEv(ptr noundef nonnull align 8 dereferenceable(24) %509)
          to label %510 unwind label %517

510:                                              ; preds = %507
  %511 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %512 = getelementptr inbounds %"struct.MIR::BasicBlock", ptr %511, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #8
  %513 = getelementptr inbounds %class.anon.658, ptr %60, i32 0, i32 0
  store ptr %58, ptr %513, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRjEEC2IZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(8) %60) #8
  invoke void @_ZN12_GLOBAL__N_127visit_terminator_target_mutERN3MIR10TerminatorESt8functionIFvRjEE(ptr noundef nonnull align 8 dereferenceable(168) %512, ptr noundef %59)
          to label %514 unwind label %521

514:                                              ; preds = %510
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  br label %515

515:                                              ; preds = %514
  %516 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  br label %492

517:                                              ; preds = %507, %499
  %518 = landingpad { ptr, i32 }
          cleanup
  %519 = extractvalue { ptr, i32 } %518, 0
  store ptr %519, ptr %9, align 8
  %520 = extractvalue { ptr, i32 } %518, 1
  store i32 %520, ptr %10, align 4
  br label %525

521:                                              ; preds = %510
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %9, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %10, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  br label %525

525:                                              ; preds = %521, %517
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  br label %530

526:                                              ; preds = %494
  %527 = load ptr, ptr %6, align 8, !tbaa !5
  %528 = getelementptr inbounds %"class.MIR::Function", ptr %527, i32 0, i32 2
  %529 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %528, ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #8
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #8
  ret void

530:                                              ; preds = %525, %495
  call void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  br label %531

531:                                              ; preds = %530, %449, %440
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #8
  br label %532

532:                                              ; preds = %531, %427, %96
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %533

533:                                              ; preds = %532, %92
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #8
  br label %534

534:                                              ; preds = %533, %88
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #8
  br label %535

535:                                              ; preds = %534
  %536 = load ptr, ptr %9, align 8
  %537 = load i32, ptr %10, align 4
  %538 = insertvalue { ptr, i32 } poison, ptr %536, 0
  %539 = insertvalue { ptr, i32 } %538, i32 %537, 1
  resume { ptr, i32 } %539

540:                                              ; preds = %423
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_127visit_terminator_target_mutERN3MIR10TerminatorESt8functionIFvRjEE(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #7

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3MIR10Terminator7as_GotoEv(ptr noundef nonnull align 8 dereferenceable(168)) #3 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3MIR10Terminator8as_PanicEv(ptr noundef nonnull align 8 dereferenceable(168)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3MIR10Terminator5as_IfEv(ptr noundef nonnull align 8 dereferenceable(168)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNKSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_2EvT_SI_T0_"(ptr, ptr, ptr) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRjEEC2IZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4Todo", !13, i64 0, !10, i64 8, !10, i64 12}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 12}
!16 = !{i64 0, i64 8, !17, i64 8, i64 4, !9, i64 12, i64 4, !9}
!17 = !{!13, !13, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTSN3MIR10Terminator10Data_PanicE", !10, i64 0}
!22 = !{!23, !10, i64 32}
!23 = !{!"_ZTSN3MIR10Terminator7Data_IfE", !24, i64 0, !10, i64 32, !10, i64 36}
!24 = !{!"_ZTSN3MIR6LValueE", !25, i64 0, !26, i64 8}
!25 = !{!"_ZTSN3MIR6LValue7StorageE", !13, i64 0}
!26 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!23, !10, i64 36}
!31 = !{!32, !10, i64 32}
!32 = !{!"_ZTSN3MIR10Terminator16Data_SwitchValueE", !24, i64 0, !10, i64 32, !33, i64 40, !37, i64 64}
!33 = !{!"_ZTSSt6vectorIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSN3MIR12SwitchValuesE", !38, i64 0, !7, i64 8}
!38 = !{!"_ZTSN3MIR12SwitchValues3TagE", !7, i64 0}
!39 = !{!40, !10, i64 0}
!40 = !{!"_ZTSN3MIR10Terminator9Data_CallE", !10, i64 0, !10, i64 4, !24, i64 8, !41, i64 40, !43, i64 136}
!41 = !{!"_ZTSN3MIR10CallTargetE", !42, i64 0, !7, i64 8}
!42 = !{!"_ZTSN3MIR10CallTarget3TagE", !7, i64 0}
!43 = !{!"_ZTSSt6vectorIN3MIR5ParamESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIN3MIR5ParamESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!47 = !{!40, !10, i64 4}
!48 = distinct !{!48, !19}


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

%"class.std::vector.25" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.190" = type { i8 }
%"class.std::vector.646" = type { %"struct.std::_Vector_base.647" }
%"struct.std::_Vector_base.647" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.648" = type { i8 }
%"class.std::vector.651" = type { %"struct.std::_Vector_base.652" }
%"struct.std::_Vector_base.652" = type { %"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl" }
%"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Todo, std::allocator<Todo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Todo = type { i64, i32, i32 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"struct.std::pair.400" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.188" = type { ptr }
%"class.std::vector.116" = type { %"struct.std::_Vector_base.117" }
%"struct.std::_Vector_base.117" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.29" = type { %"struct.std::_Vector_base.30" }
%"struct.std::_Vector_base.30" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl" = type { %"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MIR::BasicBlock, std::allocator<MIR::BasicBlock>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.407" = type { ptr }
%class.anon.657 = type { ptr }
%"class.std::function.143" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.658 = type { ptr }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE = external hidden unnamed_addr constant [92 x i8], align 1
@__FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE = external hidden unnamed_addr constant [15 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(424) %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(96) %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.25", align 8
  %5 = alloca %"class.std::allocator.190", align 1
  %6 = alloca %"class.std::vector.646", align 8
  %7 = alloca %"class.std::allocator.648", align 1
  %8 = alloca %"class.std::vector.651", align 8
  %9 = alloca %struct.Todo, align 8
  %10 = alloca %struct.Todo, align 8
  %11 = alloca %"struct.std::_Bit_reference", align 8
  %12 = alloca %"struct.std::_Bit_reference", align 8
  %13 = alloca %"struct.std::pair.400", align 8
  %14 = alloca %struct.Todo, align 8
  %15 = alloca %struct.Todo, align 8
  %16 = alloca %struct.Todo, align 8
  %17 = alloca %struct.Todo, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %20 = alloca %struct.Todo, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.188", align 8
  %23 = alloca %struct.Todo, align 8
  %24 = alloca %struct.Todo, align 8
  %25 = alloca %struct.Todo, align 8
  %26 = alloca %struct.Todo, align 8
  %27 = alloca %"class.std::vector.116", align 8
  %28 = alloca i64, align 8
  %29 = alloca %"class.std::vector.29", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.407", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.407", align 8
  %32 = alloca %class.anon.657, align 8
  %33 = alloca %"class.std::function.143", align 8
  %34 = alloca %class.anon.658, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #9
  %35 = getelementptr inbounds i8, ptr %2, i64 64
  %36 = tail call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #9
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %36, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %37 unwind label %72

37:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  %38 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #9
  call void @_ZNSaISt4pairIjjEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  invoke void @_ZNSt6vectorISt4pairIjjESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %38, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %39 unwind label %74

39:                                               ; preds = %37
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %40 unwind label %76

40:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  %41 = call noundef zeroext i1 @_ZNKSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  br i1 %41, label %._crit_edge95, label %.lr.ph94

.lr.ph94:                                         ; preds = %40
  %42 = getelementptr inbounds i8, ptr %11, i64 8
  %43 = getelementptr inbounds i8, ptr %12, i64 8
  %44 = getelementptr inbounds i8, ptr %10, i64 8
  %45 = getelementptr inbounds i8, ptr %10, i64 12
  %46 = getelementptr inbounds i8, ptr %25, i64 8
  %47 = getelementptr inbounds i8, ptr %25, i64 12
  %48 = getelementptr inbounds i8, ptr %26, i64 8
  %49 = getelementptr inbounds i8, ptr %26, i64 12
  %50 = getelementptr inbounds i8, ptr %23, i64 8
  %51 = getelementptr inbounds i8, ptr %23, i64 12
  %52 = getelementptr inbounds i8, ptr %24, i64 8
  %53 = getelementptr inbounds i8, ptr %24, i64 12
  %54 = getelementptr inbounds i8, ptr %20, i64 8
  %55 = getelementptr inbounds i8, ptr %20, i64 12
  %56 = getelementptr inbounds i8, ptr %16, i64 8
  %57 = getelementptr inbounds i8, ptr %16, i64 12
  %58 = getelementptr inbounds i8, ptr %17, i64 8
  %59 = getelementptr inbounds i8, ptr %17, i64 12
  %60 = getelementptr inbounds i8, ptr %15, i64 8
  %61 = getelementptr inbounds i8, ptr %15, i64 12
  %62 = getelementptr inbounds i8, ptr %14, i64 8
  %63 = getelementptr inbounds i8, ptr %14, i64 12
  br label %64

64:                                               ; preds = %.lr.ph94, %209
  %.06492 = phi i32 [ 0, %.lr.ph94 ], [ %.468, %209 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  %65 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %65, i64 16, i1 false), !tbaa.struct !5
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %66 = load i64, ptr %10, align 8, !tbaa !12
  %67 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %66)
          to label %68 unwind label %78

68:                                               ; preds = %64
  %69 = extractvalue { ptr, i64 } %67, 0
  store ptr %69, ptr %11, align 8
  %70 = extractvalue { ptr, i64 } %67, 1
  store i64 %70, ptr %42, align 8
  %71 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br i1 %71, label %209, label %80, !llvm.loop !14

72:                                               ; preds = %3
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  br label %267

74:                                               ; preds = %37
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIjjEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  br label %266

76:                                               ; preds = %39
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  br label %265

78:                                               ; preds = %64
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br label %211

80:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  %81 = load i64, ptr %10, align 8, !tbaa !12
  %82 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %81)
          to label %83 unwind label %96

83:                                               ; preds = %80
  %84 = extractvalue { ptr, i64 } %82, 0
  store ptr %84, ptr %12, align 8
  %85 = extractvalue { ptr, i64 } %82, 1
  store i64 %85, ptr %43, align 8
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %12, i1 noundef zeroext true) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %87 = invoke i64 @_ZSt9make_pairIRjS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %88 unwind label %98

88:                                               ; preds = %83
  store i64 %87, ptr %13, align 8
  %89 = load i64, ptr %10, align 8, !tbaa !12
  %90 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIjjESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %89) #9
  %91 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIjjEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  %92 = load i64, ptr %10, align 8, !tbaa !12
  %93 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %92) #9
  %94 = getelementptr inbounds i8, ptr %93, i64 24
  %95 = call noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  switch i32 %95, label %209 [
    i32 0, label %100
    i32 1, label %101
    i32 2, label %103
    i32 3, label %105
    i32 4, label %107
    i32 5, label %117
    i32 6, label %127
    i32 7, label %147
    i32 8, label %164
    i32 9, label %190
  ]

96:                                               ; preds = %80
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  br label %211

98:                                               ; preds = %83
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %211

100:                                              ; preds = %88
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.8, i32 noundef 6455, ptr noundef nonnull @__PRETTY_FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE) #10
  unreachable

101:                                              ; preds = %88
  %102 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR10Terminator13as_IncompleteEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  br label %209

103:                                              ; preds = %88
  %104 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR10Terminator9as_ReturnEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  br label %209

105:                                              ; preds = %88
  %106 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3MIR10Terminator10as_DivergeEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  br label %209

107:                                              ; preds = %88
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3MIR10Terminator7as_GotoEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #9
  %109 = load i32, ptr %108, align 4, !tbaa !10
  %110 = zext i32 %109 to i64
  store i64 %110, ptr %14, align 8, !tbaa !12
  %111 = load i32, ptr %44, align 8, !tbaa !16
  store i32 %111, ptr %62, align 8, !tbaa !16
  %112 = load i32, ptr %45, align 4, !tbaa !17
  %113 = add i32 %112, 1
  store i32 %113, ptr %63, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %114 unwind label %115

114:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br label %209

115:                                              ; preds = %107
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #9
  br label %211

117:                                              ; preds = %88
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3MIR10Terminator8as_PanicEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #9
  %119 = load i32, ptr %118, align 4, !tbaa !18
  %120 = zext i32 %119 to i64
  store i64 %120, ptr %15, align 8, !tbaa !12
  %121 = load i32, ptr %44, align 8, !tbaa !16
  store i32 %121, ptr %60, align 8, !tbaa !16
  %122 = load i32, ptr %45, align 4, !tbaa !17
  %123 = add i32 %122, 1
  store i32 %123, ptr %61, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %124 unwind label %125

124:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  br label %209

125:                                              ; preds = %117
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  br label %211

127:                                              ; preds = %88
  %128 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3MIR10Terminator5as_IfEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #9
  %129 = getelementptr inbounds i8, ptr %128, i64 32
  %130 = load i32, ptr %129, align 8, !tbaa !20
  %131 = zext i32 %130 to i64
  store i64 %131, ptr %16, align 8, !tbaa !12
  %132 = add i32 %.06492, 1
  store i32 %132, ptr %56, align 8, !tbaa !16
  %133 = load i32, ptr %45, align 4, !tbaa !17
  %134 = add i32 %133, 1
  store i32 %134, ptr %57, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %135 unwind label %143

135:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  %136 = getelementptr inbounds i8, ptr %128, i64 36
  %137 = load i32, ptr %136, align 4, !tbaa !29
  %138 = zext i32 %137 to i64
  store i64 %138, ptr %17, align 8, !tbaa !12
  %139 = add i32 %.06492, 2
  store i32 %139, ptr %58, align 8, !tbaa !16
  %140 = load i32, ptr %45, align 4, !tbaa !17
  %141 = add i32 %140, 1
  store i32 %141, ptr %59, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %142 unwind label %145

142:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %209

143:                                              ; preds = %127
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #9
  br label %211

145:                                              ; preds = %135
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %211

147:                                              ; preds = %88
  %148 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  %149 = getelementptr inbounds i8, ptr %148, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  %150 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #9
  store ptr %150, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %151 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #9
  store ptr %151, ptr %19, align 8
  %152 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br i1 %152, label %.lr.ph89, label %._crit_edge90

._crit_edge90:                                    ; preds = %159, %147
  %.165.lcssa = phi i32 [ %.06492, %147 ], [ %156, %159 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %209

.lr.ph89:                                         ; preds = %147, %159
  %.16587 = phi i32 [ %156, %159 ], [ %.06492, %147 ]
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  %154 = load i32, ptr %153, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #9
  %155 = zext i32 %154 to i64
  store i64 %155, ptr %20, align 8, !tbaa !12
  %156 = add i32 %.16587, 1
  store i32 %156, ptr %54, align 8, !tbaa !16
  %157 = load i32, ptr %45, align 4, !tbaa !17
  %158 = add i32 %157, 1
  store i32 %158, ptr %55, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %159 unwind label %162

159:                                              ; preds = %.lr.ph89
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  %161 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br i1 %161, label %.lr.ph89, label %._crit_edge90

162:                                              ; preds = %.lr.ph89
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %211

164:                                              ; preds = %88
  %165 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  %166 = getelementptr inbounds i8, ptr %165, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %167 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %166) #9
  store ptr %167, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %168 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %166) #9
  store ptr %168, ptr %22, align 8
  %169 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  br i1 %169, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %182, %164
  %.266.lcssa = phi i32 [ %.06492, %164 ], [ %179, %182 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #9
  %170 = getelementptr inbounds i8, ptr %165, i64 32
  %171 = load i32, ptr %170, align 8, !tbaa !30
  %172 = zext i32 %171 to i64
  store i64 %172, ptr %24, align 8, !tbaa !12
  %173 = load i32, ptr %44, align 8, !tbaa !16
  store i32 %173, ptr %52, align 8, !tbaa !16
  %174 = load i32, ptr %45, align 4, !tbaa !17
  %175 = add i32 %174, 1
  store i32 %175, ptr %53, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %187 unwind label %188

.lr.ph:                                           ; preds = %164, %182
  %.26686 = phi i32 [ %179, %182 ], [ %.06492, %164 ]
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %177 = load i32, ptr %176, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #9
  %178 = zext i32 %177 to i64
  store i64 %178, ptr %23, align 8, !tbaa !12
  %179 = add i32 %.26686, 1
  store i32 %179, ptr %50, align 8, !tbaa !16
  %180 = load i32, ptr %45, align 4, !tbaa !17
  %181 = add i32 %180, 1
  store i32 %181, ptr %51, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %182 unwind label %185

182:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #9
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %184 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  br i1 %184, label %.lr.ph, label %._crit_edge

185:                                              ; preds = %.lr.ph
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %211

187:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #9
  br label %209

188:                                              ; preds = %._crit_edge
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #9
  br label %211

190:                                              ; preds = %88
  %191 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168) %94)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #9
  %192 = load i32, ptr %191, align 8, !tbaa !38
  %193 = zext i32 %192 to i64
  store i64 %193, ptr %25, align 8, !tbaa !12
  %194 = load i32, ptr %44, align 8, !tbaa !16
  store i32 %194, ptr %46, align 8, !tbaa !16
  %195 = load i32, ptr %45, align 4, !tbaa !17
  %196 = add i32 %195, 1
  store i32 %196, ptr %47, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %197 unwind label %205

197:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #9
  %198 = getelementptr inbounds i8, ptr %191, i64 4
  %199 = load i32, ptr %198, align 4, !tbaa !46
  %200 = zext i32 %199 to i64
  store i64 %200, ptr %26, align 8, !tbaa !12
  %201 = add i32 %.06492, 1
  store i32 %201, ptr %48, align 8, !tbaa !16
  %202 = load i32, ptr %45, align 4, !tbaa !17
  %203 = add i32 %202, 1
  store i32 %203, ptr %49, align 4, !tbaa !17
  invoke void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %204 unwind label %207

204:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #9
  br label %209

205:                                              ; preds = %190
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #9
  br label %211

207:                                              ; preds = %197
  %208 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #9
  br label %211

209:                                              ; preds = %88, %101, %103, %105, %114, %124, %142, %._crit_edge90, %187, %204, %68
  %.468 = phi i32 [ %.06492, %68 ], [ %.06492, %88 ], [ %201, %204 ], [ %.266.lcssa, %187 ], [ %.165.lcssa, %._crit_edge90 ], [ %139, %142 ], [ %.06492, %124 ], [ %.06492, %114 ], [ %.06492, %105 ], [ %.06492, %103 ], [ %.06492, %101 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  %210 = call noundef zeroext i1 @_ZNKSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  br i1 %210, label %._crit_edge95, label %64

211:                                              ; preds = %115, %125, %162, %145, %143, %188, %185, %207, %205, %98, %96, %78
  %.pn73.pn.pn = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ], [ %79, %78 ], [ %163, %162 ], [ %126, %125 ], [ %116, %115 ], [ %146, %145 ], [ %144, %143 ], [ %186, %185 ], [ %189, %188 ], [ %208, %207 ], [ %206, %205 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  br label %265

._crit_edge95:                                    ; preds = %209, %40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #9
  call void @_ZNSt6vectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %212 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  invoke void @_ZNSt6vectorImSaImEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %212)
          to label %213 unwind label %217

213:                                              ; preds = %._crit_edge95
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  store i64 0, ptr %28, align 8, !tbaa !6
  %214 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  %.not = icmp eq i64 %214, 0
  br i1 %.not, label %._crit_edge98, label %.lr.ph97

._crit_edge98:                                    ; preds = %219, %213
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  %215 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %216 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_2EvT_SI_T0_"(ptr %215, ptr %216, ptr nonnull %6)
          to label %226 unwind label %217

217:                                              ; preds = %236, %234, %232, %229, %226, %._crit_edge98, %._crit_edge95
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %264

.lr.ph97:                                         ; preds = %213, %219
  invoke void @_ZNSt6vectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %219 unwind label %224

219:                                              ; preds = %.lr.ph97
  %220 = load i64, ptr %28, align 8, !tbaa !6
  %221 = add i64 %220, 1
  store i64 %221, ptr %28, align 8, !tbaa !6
  %222 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  %223 = icmp ult i64 %221, %222
  br i1 %223, label %.lr.ph97, label %._crit_edge98, !llvm.loop !47

224:                                              ; preds = %.lr.ph97
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  br label %264

226:                                              ; preds = %._crit_edge98
  %227 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %228 unwind label %217

228:                                              ; preds = %226
  br i1 %227, label %229, label %238

229:                                              ; preds = %228
  %230 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !10
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %230, ptr noundef nonnull @__FUNCTION__._Z14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionE)
          to label %232 unwind label %217

232:                                              ; preds = %229
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsImERSoS0_RKSt6vectorIT_SaIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %234 unwind label %217

234:                                              ; preds = %232
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %236 unwind label %217

236:                                              ; preds = %234
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %238 unwind label %217

238:                                              ; preds = %236, %228
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #9
  call void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  %239 = call noundef i64 @_ZNKSt6vectorIN3MIR10BasicBlockESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  invoke void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %239)
          to label %240 unwind label %245

240:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #9
  %241 = call ptr @_ZNSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  store ptr %241, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #9
  %242 = call ptr @_ZNSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  store ptr %242, ptr %31, align 8
  %243 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  br i1 %243, label %.lr.ph100, label %._crit_edge101

._crit_edge101:                                   ; preds = %255, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  %244 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #9
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #9
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #9
  ret void

245:                                              ; preds = %238
  %246 = landingpad { ptr, i32 }
          cleanup
  br label %263

.lr.ph100:                                        ; preds = %240, %255
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #9
  %248 = load i64, ptr %247, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  store ptr %27, ptr %32, align 8, !tbaa !48
  %249 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %248) #9
  invoke void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(192) %249)
          to label %250 unwind label %258

250:                                              ; preds = %.lr.ph100
  %251 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  invoke void @_ZNSt6vectorIN3MIR9StatementESaIS1_EE13shrink_to_fitEv(ptr noundef nonnull align 8 dereferenceable(24) %251)
          to label %252 unwind label %258

252:                                              ; preds = %250
  %253 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  %254 = getelementptr inbounds i8, ptr %253, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #9
  store ptr %32, ptr %34, align 8, !tbaa !48
  call void @"_ZNSt8functionIFvRjEEC2IZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  invoke void @_ZN12_GLOBAL__N_127visit_terminator_target_mutERN3MIR10TerminatorESt8functionIFvRjEE(ptr noundef nonnull align 8 dereferenceable(168) %254, ptr noundef nonnull %33)
          to label %255 unwind label %260

255:                                              ; preds = %252
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #9
  %257 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  br i1 %257, label %.lr.ph100, label %._crit_edge101

258:                                              ; preds = %250, %.lr.ph100
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %262

260:                                              ; preds = %252
  %261 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #9
  br label %262

262:                                              ; preds = %260, %258
  %.pn = phi { ptr, i32 } [ %261, %260 ], [ %259, %258 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  br label %263

263:                                              ; preds = %262, %245
  %.pn.pn = phi { ptr, i32 } [ %.pn, %262 ], [ %246, %245 ]
  call void @_ZNSt6vectorIN3MIR10BasicBlockESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #9
  br label %264

264:                                              ; preds = %263, %224, %217
  %.pn71 = phi { ptr, i32 } [ %225, %224 ], [ %.pn.pn, %263 ], [ %218, %217 ]
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #9
  br label %265

265:                                              ; preds = %264, %211, %76
  %.pn73.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn, %211 ], [ %.pn71, %264 ], [ %77, %76 ]
  call void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  call void @_ZNSt6vectorISt4pairIjjESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  br label %266

266:                                              ; preds = %265, %74
  %.pn73.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn.pn, %265 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #9
  br label %267

267:                                              ; preds = %266, %72
  %.pn73.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn73.pn.pn.pn.pn, %266 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #9
  resume { ptr, i32 } %.pn73.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_127visit_terminator_target_mutERN3MIR10TerminatorESt8functionIFvRjEE(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3MIR10Terminator3tagEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3MIR10Terminator5as_IfEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK3MIR10Terminator9as_SwitchEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3MIR10Terminator14as_SwitchValueEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3MIR10Terminator7as_CallEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE9push_backEOSA_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNKSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZNSt6vectorIZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4TodoSaISA_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIjjESaIS1_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(8) ptr @_ZNSt4pairIjjEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPmSt6vectorImSaImEEEEZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_2EvT_SI_T0_"(ptr, ptr, ptr) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRjEEC2IZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nounwind }
attributes #10 = { noreturn 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 = !{i64 0, i64 8, !6, i64 8, i64 4, !10, i64 12, i64 4, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"_ZTSZ14MIR_SortBlocksRK18StaticTraitResolveRKN3HIR8ItemPathERN3MIR8FunctionEE4Todo", !7, i64 0, !11, i64 8, !11, i64 12}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!13, !11, i64 8}
!17 = !{!13, !11, i64 12}
!18 = !{!19, !11, i64 0}
!19 = !{!"_ZTSN3MIR10Terminator10Data_PanicE", !11, i64 0}
!20 = !{!21, !11, i64 32}
!21 = !{!"_ZTSN3MIR10Terminator7Data_IfE", !22, i64 0, !11, i64 32, !11, i64 36}
!22 = !{!"_ZTSN3MIR6LValueE", !23, i64 0, !24, i64 8}
!23 = !{!"_ZTSN3MIR6LValue7StorageE", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIN3MIR6LValue7WrapperESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3MIR6LValue7WrapperESaIS2_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!28 = !{!"any pointer", !8, i64 0}
!29 = !{!21, !11, i64 36}
!30 = !{!31, !11, i64 32}
!31 = !{!"_ZTSN3MIR10Terminator16Data_SwitchValueE", !22, i64 0, !11, i64 32, !32, i64 40, !36, i64 64}
!32 = !{!"_ZTSSt6vectorIjSaIjEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!36 = !{!"_ZTSN3MIR12SwitchValuesE", !37, i64 0, !8, i64 8}
!37 = !{!"_ZTSN3MIR12SwitchValues3TagE", !8, i64 0}
!38 = !{!39, !11, i64 0}
!39 = !{!"_ZTSN3MIR10Terminator9Data_CallE", !11, i64 0, !11, i64 4, !22, i64 8, !40, i64 40, !42, i64 136}
!40 = !{!"_ZTSN3MIR10CallTargetE", !41, i64 0, !8, i64 8}
!41 = !{!"_ZTSN3MIR10CallTarget3TagE", !8, i64 0}
!42 = !{!"_ZTSSt6vectorIN3MIR5ParamESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIN3MIR5ParamESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN3MIR5ParamESaIS1_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!46 = !{!39, !11, i64 4}
!47 = distinct !{!47, !15}
!48 = !{!28, !28, i64 0}


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