; LLVM IR from thepowersgang/mrustc :: src/mir/from_hir_match.ll (ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)

; 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.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.18" }
%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.115" }
%"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.23, %class.ThinVector.24, %class.ThinVector.25 }
%class.ThinVector.23 = type { ptr }
%class.ThinVector.24 = type { ptr }
%class.ThinVector.25 = type { ptr }
%"class.std::unique_ptr.115" = type { %"struct.std::__uniq_ptr_data.116" }
%"struct.std::__uniq_ptr_data.116" = type { %"class.std::__uniq_ptr_impl.117" }
%"class.std::__uniq_ptr_impl.117" = type { %"class.std::tuple.118" }
%"class.std::tuple.118" = type { %"struct.std::_Tuple_impl.119" }
%"struct.std::_Tuple_impl.119" = type { %"struct.std::_Head_base.122" }
%"struct.std::_Head_base.122" = type { ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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 }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = 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.522 = type { ptr, ptr, ptr }
%struct.Span = type { ptr }
%class.anon.523 = type { i8 }
%class.anon.525 = type { ptr, ptr, ptr }
%"struct.t_rules_subset::ArmIdxes" = type { i64, i64 }
%class.anon.526 = type { i8 }
%class.anon.528 = type { ptr, ptr }
%class.anon.529 = type { ptr }
%class.anon.530 = type { i8 }
%class.anon.532 = type { i8 }
%"class.std::vector.534" = type { %"struct.std::_Vector_base.535" }
%"struct.std::_Vector_base.535" = type { %"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl" }
%"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl" = type { %"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl_data" }
%"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.t_rules_subset = type { %"class.std::vector.517", i8, %"class.std::vector.146" }
%"class.std::vector.517" = type { %"struct.std::_Vector_base.518" }
%"struct.std::_Vector_base.518" = type { %"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl" }
%"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = 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.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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 }
%"class.__gnu_cxx::__normal_iterator.539" = type { ptr }
%class.anon.540 = type { ptr }
%class.anon.541 = type { ptr, ptr, ptr, ptr }
%class.anon.542 = type { ptr }
%class.anon.543 = type { i8 }
%class.MatchGenGrouped = type { ptr, ptr, ptr, ptr, ptr, i64 }
%struct.ArmCode = type { i8, %"class.std::vector.166" }
%"class.std::vector.166" = type { %"struct.std::_Vector_base.167" }
%"struct.std::_Vector_base.167" = type { %"struct.std::_Vector_base<ArmCode::Pattern, std::allocator<ArmCode::Pattern>>::_Vector_impl" }
%"struct.std::_Vector_base<ArmCode::Pattern, std::allocator<ArmCode::Pattern>>::_Vector_impl" = type { %"struct.std::_Vector_base<ArmCode::Pattern, std::allocator<ArmCode::Pattern>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ArmCode::Pattern, std::allocator<ArmCode::Pattern>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ArmCode::Pattern" = type { i32, i32 }
%class.PatternRule = type { i32, %"union.PatternRule::DataUnion", %struct.field_path_t }
%"union.PatternRule::DataUnion" = type { %"struct.PatternRule::Data_SplitSlice", [32 x i8] }
%"struct.PatternRule::Data_SplitSlice" = type { i32, i32, %"class.std::vector.136", %"class.std::vector.136" }
%"class.std::vector.136" = type { %"struct.std::_Vector_base.137" }
%"struct.std::_Vector_base.137" = type { %"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl" }
%"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl" = type { %"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.field_path_t = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.PatternRule::Data_ValueRange" = type <{ %"class.MIR::Constant", %"class.MIR::Constant", i8, [7 x i8] }>
%"class.MIR::Constant" = type { i32, %"union.MIR::Constant::DataUnion" }
%"union.MIR::Constant::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@g_debug_indent_level = external global i32, align 4
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj = external hidden unnamed_addr constant [14 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj = external hidden unnamed_addr constant [81 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [14 x i8], align 1

; 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

declare i32 @__gxx_personality_v0(...)

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

declare noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440)) #1

declare noundef i32 @_ZN10MirBuilder15pause_cur_blockEv(ptr noundef nonnull align 8 dereferenceable(440)) #1

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

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

declare void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440), i32 noundef) #1

declare void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440), ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind noalias writable sret(%"class.MIR::Terminator") align 8, i32 noundef) #3 align 2

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

declare void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

declare void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10MirBuilder12block_activeEv(ptr noundef nonnull align 8 dereferenceable(440)) #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120)) #4 align 2

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

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11PatternRule13is_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca %class.TraceLog, align 8
  %10 = alloca %"class.std::function", align 8
  %11 = alloca %class.anon.522, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.Span, align 8
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %class.anon.523, align 1
  %17 = alloca i8, align 1
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca %struct.Span, align 8
  %22 = alloca %"class.std::function", align 8
  %23 = alloca %class.anon.525, align 8
  %24 = alloca %"struct.t_rules_subset::ArmIdxes", align 8
  %25 = alloca %struct.Span, align 8
  %26 = alloca %"class.std::function", align 8
  %27 = alloca %class.anon.526, align 1
  %28 = alloca ptr, align 8
  %29 = alloca %struct.Span, align 8
  %30 = alloca %"class.std::function", align 8
  %31 = alloca %class.anon.528, align 8
  %32 = alloca %"class.MIR::Terminator", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %struct.Span, align 8
  %35 = alloca %"class.std::function", align 8
  %36 = alloca %class.anon.529, align 8
  %37 = alloca %struct.Span, align 8
  %38 = alloca %"class.std::function", align 8
  %39 = alloca %class.anon.530, align 1
  %40 = alloca i32, align 4
  %41 = alloca %"class.MIR::Terminator", align 8
  %42 = alloca %struct.Span, align 8
  %43 = alloca %"class.std::function", align 8
  %44 = alloca %class.anon.532, align 1
  %45 = alloca i64, align 8
  %46 = alloca i64, align 8
  %47 = alloca i8, align 1
  %48 = alloca i32, align 4
  %49 = alloca %"class.std::vector.534", align 8
  %50 = alloca i64, align 8
  %51 = alloca i64, align 8
  %52 = alloca %class.t_rules_subset, align 8
  %53 = alloca %class.t_rules_subset, align 8
  %54 = alloca %"class.std::vector.47", align 8
  %55 = alloca i32, align 4
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.539", align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator.539", align 8
  %58 = alloca %class.anon.540, align 8
  %59 = alloca i64, align 8
  %60 = alloca i32, align 4
  %61 = alloca i64, align 8
  %62 = alloca %struct.Span, align 8
  %63 = alloca %"class.std::function", align 8
  %64 = alloca %class.anon.541, align 8
  %65 = alloca %class.t_rules_subset, align 8
  %66 = alloca i8, align 1
  %67 = alloca i32, align 4
  %68 = alloca ptr, align 8
  %69 = alloca ptr, align 8
  %70 = alloca ptr, align 8
  %71 = alloca %struct.Span, align 8
  %72 = alloca %"class.std::function", align 8
  %73 = alloca %class.anon.542, align 8
  %74 = alloca %class.t_rules_subset, align 8
  %75 = alloca %class.t_rules_subset, align 8
  %76 = alloca %struct.Span, align 8
  %77 = alloca %"class.std::function", align 8
  %78 = alloca %class.anon.543, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !11
  %79 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #8
  %80 = call noundef zeroext i1 @_Z13debug_enabledv()
  %81 = zext i1 %80 to i64
  %82 = select i1 %80, ptr @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj, ptr null
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #8
  %83 = getelementptr inbounds %class.anon.522, ptr %11, i32 0, i32 0
  store ptr %1, ptr %83, align 8, !tbaa !5
  %84 = getelementptr inbounds %class.anon.522, ptr %11, i32 0, i32 1
  store ptr %7, ptr %84, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.anon.522, ptr %11, i32 0, i32 2
  store ptr %8, ptr %85, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(24) %11)
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %82, ptr noundef %10)
          to label %86 unwind label %98

86:                                               ; preds = %4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  br label %87

87:                                               ; preds = %86
  %88 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %89 unwind label %102

89:                                               ; preds = %87
  %90 = icmp ugt i64 %88, 0
  br i1 %90, label %119, label %91

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %92 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %93)
          to label %94 unwind label %106

94:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %15)
          to label %95 unwind label %110

95:                                               ; preds = %94
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %96 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef @.str.10)
          to label %97 unwind label %115

97:                                               ; preds = %95
  invoke void @__cxa_throw(ptr %96, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %102

98:                                               ; preds = %4
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %12, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #8
  br label %1120

102:                                              ; preds = %1102, %1091, %97, %87
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %12, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %13, align 4
  br label %1119

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

110:                                              ; preds = %94
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %12, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br label %114

114:                                              ; preds = %110, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %1119

115:                                              ; preds = %95
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %12, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %13, align 4
  call void @__cxa_free_exception(ptr %96) #8
  br label %1119

119:                                              ; preds = %89
  br label %120

120:                                              ; preds = %119
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %192, %121
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  store i8 1, ptr %17, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store i64 0, ptr %18, align 8, !tbaa !9
  br label %123

123:                                              ; preds = %157, %122
  %124 = load i64, ptr %18, align 8, !tbaa !9
  %125 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %126 unwind label %134

126:                                              ; preds = %123
  %127 = icmp ult i64 %124, %125
  br i1 %127, label %128, label %131

128:                                              ; preds = %126
  %129 = load i8, ptr %17, align 1, !tbaa !15, !range !17, !noundef !18
  %130 = trunc i8 %129 to i1
  br label %131

131:                                              ; preds = %128, %126
  %132 = phi i1 [ false, %126 ], [ %130, %128 ]
  br i1 %132, label %138, label %133

133:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %160

134:                                              ; preds = %149, %146, %138, %123
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %12, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %193

138:                                              ; preds = %131
  %139 = load i64, ptr %18, align 8, !tbaa !9
  %140 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %139)
          to label %141 unwind label %134

141:                                              ; preds = %138
  %142 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %140) #8
  %143 = load i64, ptr %7, align 8, !tbaa !9
  %144 = icmp ule i64 %142, %143
  br i1 %144, label %145, label %146

145:                                              ; preds = %141
  store i8 0, ptr %17, align 1, !tbaa !15
  br label %156

146:                                              ; preds = %141
  %147 = load i64, ptr %18, align 8, !tbaa !9
  %148 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %147)
          to label %149 unwind label %134

149:                                              ; preds = %146
  %150 = load i64, ptr %7, align 8, !tbaa !9
  %151 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %148, i64 noundef %150) #8
  %152 = invoke noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %151)
          to label %153 unwind label %134

153:                                              ; preds = %149
  br i1 %152, label %155, label %154

154:                                              ; preds = %153
  store i8 0, ptr %17, align 1, !tbaa !15
  br label %155

155:                                              ; preds = %154, %153
  br label %156

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

157:                                              ; preds = %156
  %158 = load i64, ptr %18, align 8, !tbaa !9
  %159 = add i64 %158, 1
  store i64 %159, ptr %18, align 8, !tbaa !9
  br label %123, !llvm.loop !19

160:                                              ; preds = %133
  %161 = load i8, ptr %17, align 1, !tbaa !15, !range !17, !noundef !18
  %162 = trunc i8 %161 to i1
  br i1 %162, label %164, label %163

163:                                              ; preds = %160
  store i32 4, ptr %19, align 4
  br label %190

164:                                              ; preds = %160
  %165 = load i64, ptr %7, align 8, !tbaa !9
  %166 = add i64 %165, 1
  store i64 %166, ptr %7, align 8, !tbaa !9
  br label %167

167:                                              ; preds = %164
  %168 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %169 unwind label %183

169:                                              ; preds = %167
  br i1 %168, label %170, label %187

170:                                              ; preds = %169
  %171 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %171, ptr noundef @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %173 unwind label %183

173:                                              ; preds = %170
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef @.str.79)
          to label %175 unwind label %183

175:                                              ; preds = %173
  %176 = load i64, ptr %7, align 8, !tbaa !9
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %174, i64 noundef %176)
          to label %178 unwind label %183

178:                                              ; preds = %175
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %177, ptr noundef @_ZSt3decRSt8ios_base)
          to label %180 unwind label %183

180:                                              ; preds = %178
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %182 unwind label %183

182:                                              ; preds = %180
  br label %187

183:                                              ; preds = %180, %178, %175, %173, %170, %167
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %12, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %13, align 4
  br label %193

187:                                              ; preds = %182, %169
  br label %188

188:                                              ; preds = %187
  br label %189

189:                                              ; preds = %188
  store i32 0, ptr %19, align 4
  br label %190

190:                                              ; preds = %189, %163
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  %191 = load i32, ptr %19, align 4
  switch i32 %191, label %1126 [
    i32 0, label %192
    i32 4, label %194
  ]

192:                                              ; preds = %190
  br label %122, !llvm.loop !21

193:                                              ; preds = %183, %134
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  br label %1119

194:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %195

195:                                              ; preds = %1086, %194
  %196 = load i64, ptr %20, align 8, !tbaa !9
  %197 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %198 unwind label %201

198:                                              ; preds = %195
  %199 = icmp ult i64 %196, %197
  br i1 %199, label %205, label %200

200:                                              ; preds = %198
  store i32 11, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %1090

201:                                              ; preds = %278, %273, %271, %269, %266, %263, %260, %238, %221, %211, %206, %195
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %12, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %13, align 4
  br label %1089

205:                                              ; preds = %198
  br label %206

206:                                              ; preds = %517, %205
  %207 = load i64, ptr %20, align 8, !tbaa !9
  %208 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %209 unwind label %201

209:                                              ; preds = %206
  %210 = icmp ult i64 %207, %208
  br i1 %210, label %211, label %218

211:                                              ; preds = %209
  %212 = load i64, ptr %20, align 8, !tbaa !9
  %213 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %212)
          to label %214 unwind label %201

214:                                              ; preds = %211
  %215 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %213) #8
  %216 = load i64, ptr %7, align 8, !tbaa !9
  %217 = icmp ule i64 %215, %216
  br label %218

218:                                              ; preds = %214, %209
  %219 = phi i1 [ false, %209 ], [ %217, %214 ]
  br i1 %219, label %220, label %520

220:                                              ; preds = %218
  br label %221

221:                                              ; preds = %220
  %222 = load i64, ptr %20, align 8, !tbaa !9
  %223 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %222)
          to label %224 unwind label %201

224:                                              ; preds = %221
  %225 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %223) #8
  %226 = load i64, ptr %7, align 8, !tbaa !9
  %227 = icmp eq i64 %225, %226
  br i1 %227, label %257, label %228

228:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %229 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %230)
          to label %231 unwind label %239

231:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #8
  %232 = getelementptr inbounds %class.anon.525, ptr %23, i32 0, i32 0
  store ptr %7, ptr %232, align 8, !tbaa !5
  %233 = getelementptr inbounds %class.anon.525, ptr %23, i32 0, i32 1
  store ptr %1, ptr %233, align 8, !tbaa !5
  %234 = getelementptr inbounds %class.anon.525, ptr %23, i32 0, i32 2
  store ptr %20, ptr %234, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %235 unwind label %243

235:                                              ; preds = %231
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %22)
          to label %236 unwind label %247

236:                                              ; preds = %235
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  %237 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %237, ptr noundef @.str.10)
          to label %238 unwind label %253

238:                                              ; preds = %236
  invoke void @__cxa_throw(ptr %237, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %201

239:                                              ; preds = %228
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %12, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %13, align 4
  br label %252

243:                                              ; preds = %231
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %12, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %13, align 4
  br label %251

247:                                              ; preds = %235
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %12, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %251

251:                                              ; preds = %247, %243
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br label %252

252:                                              ; preds = %251, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %1089

253:                                              ; preds = %236
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %12, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %13, align 4
  call void @__cxa_free_exception(ptr %237) #8
  br label %1089

257:                                              ; preds = %224
  br label %258

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258
  br label %260

260:                                              ; preds = %259
  %261 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %262 unwind label %201

262:                                              ; preds = %260
  br i1 %261, label %263, label %276

263:                                              ; preds = %262
  %264 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %264, ptr noundef @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %266 unwind label %201

266:                                              ; preds = %263
  %267 = load i64, ptr %20, align 8, !tbaa !9
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %265, i64 noundef %267)
          to label %269 unwind label %201

269:                                              ; preds = %266
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @.str.80)
          to label %271 unwind label %201

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef @_ZSt3decRSt8ios_base)
          to label %273 unwind label %201

273:                                              ; preds = %271
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %275 unwind label %201

275:                                              ; preds = %273
  br label %276

276:                                              ; preds = %275, %262
  br label %277

277:                                              ; preds = %276
  br label %278

278:                                              ; preds = %277
  %279 = invoke noundef zeroext i1 @_ZNK14t_rules_subset6is_armEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %280 unwind label %201

280:                                              ; preds = %278
  br i1 %279, label %281, label %445

281:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %282 = load i64, ptr %20, align 8, !tbaa !9
  %283 = invoke { i64, i64 } @_ZNK14t_rules_subset7arm_idxEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %282)
          to label %284 unwind label %301

284:                                              ; preds = %281
  %285 = getelementptr inbounds { i64, i64 }, ptr %24, i32 0, i32 0
  %286 = extractvalue { i64, i64 } %283, 0
  store i64 %286, ptr %285, align 8
  %287 = getelementptr inbounds { i64, i64 }, ptr %24, i32 0, i32 1
  %288 = extractvalue { i64, i64 } %283, 1
  store i64 %288, ptr %287, align 8
  br label %289

289:                                              ; preds = %284
  %290 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 4
  %291 = load ptr, ptr %290, align 8, !tbaa !22
  %292 = call noundef i64 @_ZNKSt6vectorI7ArmCodeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %291) #8
  %293 = icmp ugt i64 %292, 0
  br i1 %293, label %318, label %294

294:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %295 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %296 = load ptr, ptr %295, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %296)
          to label %297 unwind label %305

297:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef %26)
          to label %298 unwind label %309

298:                                              ; preds = %297
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  %299 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %299, ptr noundef @.str.10)
          to label %300 unwind label %314

300:                                              ; preds = %298
  invoke void @__cxa_throw(ptr %299, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %301

301:                                              ; preds = %300, %281
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %12, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %13, align 4
  br label %444

305:                                              ; preds = %294
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %12, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %13, align 4
  br label %313

309:                                              ; preds = %297
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %12, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  br label %313

313:                                              ; preds = %309, %305
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %444

314:                                              ; preds = %298
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %12, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %13, align 4
  call void @__cxa_free_exception(ptr %299) #8
  br label %444

318:                                              ; preds = %289
  br label %319

319:                                              ; preds = %318
  br label %320

320:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %321 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 4
  %322 = load ptr, ptr %321, align 8, !tbaa !22
  %323 = getelementptr inbounds %"struct.t_rules_subset::ArmIdxes", ptr %24, i32 0, i32 0
  %324 = load i64, ptr %323, align 8, !tbaa !23
  %325 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7ArmCodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %322, i64 noundef %324) #8
  store ptr %325, ptr %28, align 8, !tbaa !5
  br label %326

326:                                              ; preds = %320
  %327 = getelementptr inbounds %"struct.t_rules_subset::ArmIdxes", ptr %24, i32 0, i32 1
  %328 = load i64, ptr %327, align 8, !tbaa !25
  %329 = load ptr, ptr %28, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.ArmCode, ptr %329, i32 0, i32 1
  %331 = call noundef i64 @_ZNKSt6vectorIN7ArmCode7PatternESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %330) #8
  %332 = icmp ult i64 %328, %331
  br i1 %332, label %360, label %333

333:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %334 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %335 = load ptr, ptr %334, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %335)
          to label %336 unwind label %343

336:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  %337 = getelementptr inbounds %class.anon.528, ptr %31, i32 0, i32 0
  store ptr %24, ptr %337, align 8, !tbaa !5
  %338 = getelementptr inbounds %class.anon.528, ptr %31, i32 0, i32 1
  %339 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %339, ptr %338, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(16) %31) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef %30)
          to label %340 unwind label %347

340:                                              ; preds = %336
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  %341 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %341, ptr noundef @.str.10)
          to label %342 unwind label %352

342:                                              ; preds = %340
  invoke void @__cxa_throw(ptr %341, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %356

343:                                              ; preds = %333
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %12, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %13, align 4
  br label %351

347:                                              ; preds = %336
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %12, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br label %351

351:                                              ; preds = %347, %343
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %443

352:                                              ; preds = %340
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %12, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %13, align 4
  call void @__cxa_free_exception(ptr %341) #8
  br label %443

356:                                              ; preds = %425, %413, %370, %362, %342
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %12, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %13, align 4
  br label %443

360:                                              ; preds = %326
  br label %361

361:                                              ; preds = %360
  br label %362

362:                                              ; preds = %361
  %363 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %364 = load ptr, ptr %363, align 8, !tbaa !26
  %365 = load ptr, ptr %28, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.ArmCode, ptr %365, i32 0, i32 1
  %367 = getelementptr inbounds %"struct.t_rules_subset::ArmIdxes", ptr %24, i32 0, i32 1
  %368 = load i64, ptr %367, align 8, !tbaa !25
  %369 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorIN7ArmCode7PatternESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %366, i64 noundef %368)
          to label %370 unwind label %356

370:                                              ; preds = %362
  %371 = getelementptr inbounds %"struct.ArmCode::Pattern", ptr %369, i32 0, i32 0
  %372 = load i32, ptr %371, align 4, !tbaa !27
  invoke void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind writable sret(%"class.MIR::Terminator") align 8 %32, i32 noundef %372)
          to label %373 unwind label %356

373:                                              ; preds = %370
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %364, ptr noundef %32)
          to label %374 unwind label %388

374:                                              ; preds = %373
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %32) #8
  %375 = load ptr, ptr %28, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ArmCode, ptr %375, i32 0, i32 0
  %377 = load i8, ptr %376, align 8, !tbaa !29, !range !17, !noundef !18
  %378 = trunc i8 %377 to i1
  br i1 %378, label %379, label %412

379:                                              ; preds = %374
  br label %380

380:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store ptr @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %381 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %382 = load ptr, ptr %381, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %382)
          to label %383 unwind label %392

383:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %384 = getelementptr inbounds %class.anon.529, ptr %36, i32 0, i32 0
  store ptr %33, ptr %384, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef %35)
          to label %385 unwind label %396

385:                                              ; preds = %383
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  %386 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %386, ptr noundef @.str.5)
          to label %387 unwind label %401

387:                                              ; preds = %385
  invoke void @__cxa_throw(ptr %386, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %405

388:                                              ; preds = %373
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %12, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %13, align 4
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %32) #8
  br label %443

392:                                              ; preds = %380
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %12, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %13, align 4
  br label %400

396:                                              ; preds = %383
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %12, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %400

400:                                              ; preds = %396, %392
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %409

401:                                              ; preds = %385
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %12, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %13, align 4
  call void @__cxa_free_exception(ptr %386) #8
  br label %409

405:                                              ; preds = %387
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %12, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %13, align 4
  br label %409

409:                                              ; preds = %405, %401, %400
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %443

410:                                              ; No predecessors!
  br label %411

411:                                              ; preds = %410
  br label %442

412:                                              ; preds = %374
  br label %413

413:                                              ; preds = %412
  %414 = load i64, ptr %20, align 8, !tbaa !9
  %415 = add i64 %414, 1
  %416 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %417 unwind label %356

417:                                              ; preds = %413
  %418 = icmp eq i64 %415, %416
  br i1 %418, label %439, label %419

419:                                              ; preds = %417
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %420 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %421 = load ptr, ptr %420, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %421)
          to label %422 unwind label %426

422:                                              ; preds = %419
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef %38)
          to label %423 unwind label %430

423:                                              ; preds = %422
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  %424 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %424, ptr noundef @.str.10)
          to label %425 unwind label %435

425:                                              ; preds = %423
  invoke void @__cxa_throw(ptr %424, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %356

426:                                              ; preds = %419
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %12, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %13, align 4
  br label %434

430:                                              ; preds = %422
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %12, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  br label %434

434:                                              ; preds = %430, %426
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %443

435:                                              ; preds = %423
  %436 = landingpad { ptr, i32 }
          cleanup
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %12, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %13, align 4
  call void @__cxa_free_exception(ptr %424) #8
  br label %443

439:                                              ; preds = %417
  br label %440

440:                                              ; preds = %439
  br label %441

441:                                              ; preds = %440
  br label %442

442:                                              ; preds = %441, %411
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  br label %517

443:                                              ; preds = %435, %434, %409, %388, %356, %352, %351
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %444

444:                                              ; preds = %443, %314, %313, %301
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  br label %1089

445:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %446 = load i64, ptr %20, align 8, !tbaa !9
  %447 = invoke noundef i32 @_ZNK14t_rules_subset6bb_idxEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %446)
          to label %448 unwind label %478

448:                                              ; preds = %445
  store i32 %447, ptr %40, align 4, !tbaa !11
  %449 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %450 = load ptr, ptr %449, align 8, !tbaa !26
  %451 = load i32, ptr %40, align 4, !tbaa !11
  invoke void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind writable sret(%"class.MIR::Terminator") align 8 %41, i32 noundef %451)
          to label %452 unwind label %478

452:                                              ; preds = %448
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %450, ptr noundef %41)
          to label %453 unwind label %482

453:                                              ; preds = %452
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %41) #8
  br label %454

454:                                              ; preds = %475, %453
  %455 = load i64, ptr %20, align 8, !tbaa !9
  %456 = add i64 %455, 1
  %457 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %458 unwind label %478

458:                                              ; preds = %454
  %459 = icmp ult i64 %456, %457
  br i1 %459, label %460, label %473

460:                                              ; preds = %458
  %461 = load i32, ptr %40, align 4, !tbaa !11
  %462 = load i64, ptr %20, align 8, !tbaa !9
  %463 = invoke noundef i32 @_ZNK14t_rules_subset6bb_idxEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %462)
          to label %464 unwind label %478

464:                                              ; preds = %460
  %465 = icmp eq i32 %461, %463
  br i1 %465, label %466, label %473

466:                                              ; preds = %464
  %467 = load i64, ptr %20, align 8, !tbaa !9
  %468 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %467)
          to label %469 unwind label %478

469:                                              ; preds = %466
  %470 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %468) #8
  %471 = load i64, ptr %7, align 8, !tbaa !9
  %472 = icmp eq i64 %470, %471
  br label %473

473:                                              ; preds = %469, %464, %458
  %474 = phi i1 [ false, %464 ], [ false, %458 ], [ %472, %469 ]
  br i1 %474, label %475, label %486

475:                                              ; preds = %473
  %476 = load i64, ptr %20, align 8, !tbaa !9
  %477 = add i64 %476, 1
  store i64 %477, ptr %20, align 8, !tbaa !9
  br label %454, !llvm.loop !35

478:                                              ; preds = %499, %487, %466, %460, %454, %448, %445
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %12, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %13, align 4
  br label %516

482:                                              ; preds = %452
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %12, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %13, align 4
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %41) #8
  br label %516

486:                                              ; preds = %473
  br label %487

487:                                              ; preds = %486
  %488 = load i64, ptr %20, align 8, !tbaa !9
  %489 = add i64 %488, 1
  %490 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %491 unwind label %478

491:                                              ; preds = %487
  %492 = icmp eq i64 %489, %490
  br i1 %492, label %513, label %493

493:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %494 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %495 = load ptr, ptr %494, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %495)
          to label %496 unwind label %500

496:                                              ; preds = %493
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef %43)
          to label %497 unwind label %504

497:                                              ; preds = %496
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  %498 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %498, ptr noundef @.str.10)
          to label %499 unwind label %509

499:                                              ; preds = %497
  invoke void @__cxa_throw(ptr %498, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %478

500:                                              ; preds = %493
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %12, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %13, align 4
  br label %508

504:                                              ; preds = %496
  %505 = landingpad { ptr, i32 }
          cleanup
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %12, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  br label %508

508:                                              ; preds = %504, %500
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %516

509:                                              ; preds = %497
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %12, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %13, align 4
  call void @__cxa_free_exception(ptr %498) #8
  br label %516

513:                                              ; preds = %491
  br label %514

514:                                              ; preds = %513
  br label %515

515:                                              ; preds = %514
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %517

516:                                              ; preds = %509, %508, %482, %478
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %1089

517:                                              ; preds = %515, %442
  %518 = load i64, ptr %20, align 8, !tbaa !9
  %519 = add i64 %518, 1
  store i64 %519, ptr %20, align 8, !tbaa !9
  br label %206, !llvm.loop !36

520:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %521 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %521, ptr %45, align 8, !tbaa !9
  br label %522

522:                                              ; preds = %567, %520
  %523 = load i64, ptr %20, align 8, !tbaa !9
  %524 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %525 unwind label %535

525:                                              ; preds = %522
  %526 = icmp ult i64 %523, %524
  br i1 %526, label %527, label %570

527:                                              ; preds = %525
  %528 = load i64, ptr %20, align 8, !tbaa !9
  %529 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %528)
          to label %530 unwind label %535

530:                                              ; preds = %527
  %531 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %529) #8
  %532 = load i64, ptr %7, align 8, !tbaa !9
  %533 = icmp ule i64 %531, %532
  br i1 %533, label %534, label %539

534:                                              ; preds = %530
  br label %570

535:                                              ; preds = %560, %557, %551, %548, %542, %539, %527, %522
  %536 = landingpad { ptr, i32 }
          cleanup
  %537 = extractvalue { ptr, i32 } %536, 0
  store ptr %537, ptr %12, align 8
  %538 = extractvalue { ptr, i32 } %536, 1
  store i32 %538, ptr %13, align 4
  br label %1088

539:                                              ; preds = %530
  %540 = load i64, ptr %20, align 8, !tbaa !9
  %541 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %540)
          to label %542 unwind label %535

542:                                              ; preds = %539
  %543 = load i64, ptr %7, align 8, !tbaa !9
  %544 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %541, i64 noundef %543) #8
  %545 = invoke noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %544)
          to label %546 unwind label %535

546:                                              ; preds = %542
  br i1 %545, label %547, label %548

547:                                              ; preds = %546
  br label %570

548:                                              ; preds = %546
  %549 = load i64, ptr %20, align 8, !tbaa !9
  %550 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %549)
          to label %551 unwind label %535

551:                                              ; preds = %548
  %552 = load i64, ptr %7, align 8, !tbaa !9
  %553 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %550, i64 noundef %552) #8
  %554 = invoke noundef zeroext i1 @_ZNK11PatternRule13is_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %553)
          to label %555 unwind label %535

555:                                              ; preds = %551
  br i1 %554, label %556, label %557

556:                                              ; preds = %555
  br label %570

557:                                              ; preds = %555
  %558 = load i64, ptr %20, align 8, !tbaa !9
  %559 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %558)
          to label %560 unwind label %535

560:                                              ; preds = %557
  %561 = load i64, ptr %7, align 8, !tbaa !9
  %562 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %559, i64 noundef %561) #8
  %563 = invoke noundef zeroext i1 @_ZNK11PatternRule13is_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %562)
          to label %564 unwind label %535

564:                                              ; preds = %560
  br i1 %563, label %565, label %566

565:                                              ; preds = %564
  br label %570

566:                                              ; preds = %564
  br label %567

567:                                              ; preds = %566
  %568 = load i64, ptr %20, align 8, !tbaa !9
  %569 = add i64 %568, 1
  store i64 %569, ptr %20, align 8, !tbaa !9
  br label %522, !llvm.loop !37

570:                                              ; preds = %565, %556, %547, %534, %525
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %571 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %571, ptr %46, align 8, !tbaa !9
  %572 = load i64, ptr %45, align 8, !tbaa !9
  %573 = load i64, ptr %46, align 8, !tbaa !9
  %574 = icmp ult i64 %572, %573
  br i1 %574, label %575, label %875

575:                                              ; preds = %570
  br label %576

576:                                              ; preds = %575
  %577 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %578 unwind label %599

578:                                              ; preds = %576
  br i1 %577, label %579, label %603

579:                                              ; preds = %578
  %580 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %581 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %580, ptr noundef @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %582 unwind label %599

582:                                              ; preds = %579
  %583 = load i64, ptr %45, align 8, !tbaa !9
  %584 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %581, i64 noundef %583)
          to label %585 unwind label %599

585:                                              ; preds = %582
  %586 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %584, ptr noundef @.str.81)
          to label %587 unwind label %599

587:                                              ; preds = %585
  %588 = load i64, ptr %46, align 8, !tbaa !9
  %589 = load i64, ptr %45, align 8, !tbaa !9
  %590 = sub i64 %588, %589
  %591 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %586, i64 noundef %590)
          to label %592 unwind label %599

592:                                              ; preds = %587
  %593 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %591, ptr noundef @.str.82)
          to label %594 unwind label %599

594:                                              ; preds = %592
  %595 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %593, ptr noundef @_ZSt3decRSt8ios_base)
          to label %596 unwind label %599

596:                                              ; preds = %594
  %597 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %595, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %598 unwind label %599

598:                                              ; preds = %596
  br label %603

599:                                              ; preds = %937, %935, %933, %930, %928, %925, %922, %919, %908, %903, %900, %895, %887, %882, %596, %594, %592, %587, %585, %582, %579, %576
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %12, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %13, align 4
  br label %1087

603:                                              ; preds = %598, %578
  br label %604

604:                                              ; preds = %603
  br label %605

605:                                              ; preds = %604
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #8
  %606 = load i64, ptr %46, align 8, !tbaa !9
  %607 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %608 unwind label %635

608:                                              ; preds = %605
  %609 = icmp ult i64 %606, %607
  %610 = zext i1 %609 to i8
  store i8 %610, ptr %47, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  %611 = load i8, ptr %47, align 1, !tbaa !15, !range !17, !noundef !18
  %612 = trunc i8 %611 to i1
  br i1 %612, label %613, label %618

613:                                              ; preds = %608
  %614 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %615 = load ptr, ptr %614, align 8, !tbaa !26
  %616 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %615)
          to label %617 unwind label %639

617:                                              ; preds = %613
  br label %620

618:                                              ; preds = %608
  %619 = load i32, ptr %8, align 4, !tbaa !11
  br label %620

620:                                              ; preds = %618, %617
  %621 = phi i32 [ %616, %617 ], [ %619, %618 ]
  store i32 %621, ptr %48, align 4, !tbaa !11
  %622 = load i64, ptr %7, align 8, !tbaa !9
  %623 = load i64, ptr %45, align 8, !tbaa !9
  %624 = load i64, ptr %46, align 8, !tbaa !9
  %625 = load i64, ptr %45, align 8, !tbaa !9
  %626 = sub i64 %624, %625
  invoke void @_ZN14t_rules_subset8sub_sortEmmm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %622, i64 noundef %623, i64 noundef %626)
          to label %627 unwind label %639

627:                                              ; preds = %620
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #8
  call void @_ZNSt6vectorI14t_rules_subsetSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %628 = load i64, ptr %45, align 8, !tbaa !9
  store i64 %628, ptr %50, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %629 = load i64, ptr %45, align 8, !tbaa !9
  store i64 %629, ptr %51, align 8, !tbaa !9
  br label %630

630:                                              ; preds = %678, %627
  %631 = load i64, ptr %51, align 8, !tbaa !9
  %632 = load i64, ptr %46, align 8, !tbaa !9
  %633 = icmp ult i64 %631, %632
  br i1 %633, label %643, label %634

634:                                              ; preds = %630
  store i32 36, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  br label %682

635:                                              ; preds = %605
  %636 = landingpad { ptr, i32 }
          cleanup
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %12, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %13, align 4
  br label %874

639:                                              ; preds = %620, %613
  %640 = landingpad { ptr, i32 }
          cleanup
  %641 = extractvalue { ptr, i32 } %640, 0
  store ptr %641, ptr %12, align 8
  %642 = extractvalue { ptr, i32 } %640, 1
  store i32 %642, ptr %13, align 4
  br label %873

643:                                              ; preds = %630
  %644 = load i64, ptr %51, align 8, !tbaa !9
  %645 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %644)
          to label %646 unwind label %664

646:                                              ; preds = %643
  %647 = load i64, ptr %7, align 8, !tbaa !9
  %648 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %645, i64 noundef %647) #8
  %649 = load i64, ptr %50, align 8, !tbaa !9
  %650 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %649)
          to label %651 unwind label %664

651:                                              ; preds = %646
  %652 = load i64, ptr %7, align 8, !tbaa !9
  %653 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %650, i64 noundef %652) #8
  %654 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115rule_compatibleERK11PatternRuleS2_(ptr noundef nonnull align 8 dereferenceable(120) %648, ptr noundef nonnull align 8 dereferenceable(120) %653)
          to label %655 unwind label %664

655:                                              ; preds = %651
  br i1 %654, label %677, label %656

656:                                              ; preds = %655
  call void @llvm.lifetime.start.p0(i64 56, ptr %52) #8
  %657 = load i64, ptr %50, align 8, !tbaa !9
  %658 = load i64, ptr %51, align 8, !tbaa !9
  %659 = load i64, ptr %50, align 8, !tbaa !9
  %660 = sub i64 %658, %659
  invoke void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind writable sret(%class.t_rules_subset) align 8 %52, ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %657, i64 noundef %660)
          to label %661 unwind label %668

661:                                              ; preds = %656
  invoke void @_ZNSt6vectorI14t_rules_subsetSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(56) %52)
          to label %662 unwind label %672

662:                                              ; preds = %661
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %52) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %52) #8
  %663 = load i64, ptr %51, align 8, !tbaa !9
  store i64 %663, ptr %50, align 8, !tbaa !9
  br label %677

664:                                              ; preds = %651, %646, %643
  %665 = landingpad { ptr, i32 }
          cleanup
  %666 = extractvalue { ptr, i32 } %665, 0
  store ptr %666, ptr %12, align 8
  %667 = extractvalue { ptr, i32 } %665, 1
  store i32 %667, ptr %13, align 4
  br label %681

668:                                              ; preds = %656
  %669 = landingpad { ptr, i32 }
          cleanup
  %670 = extractvalue { ptr, i32 } %669, 0
  store ptr %670, ptr %12, align 8
  %671 = extractvalue { ptr, i32 } %669, 1
  store i32 %671, ptr %13, align 4
  br label %676

672:                                              ; preds = %661
  %673 = landingpad { ptr, i32 }
          cleanup
  %674 = extractvalue { ptr, i32 } %673, 0
  store ptr %674, ptr %12, align 8
  %675 = extractvalue { ptr, i32 } %673, 1
  store i32 %675, ptr %13, align 4
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %52) #8
  br label %676

676:                                              ; preds = %672, %668
  call void @llvm.lifetime.end.p0(i64 56, ptr %52) #8
  br label %681

677:                                              ; preds = %662, %655
  br label %678

678:                                              ; preds = %677
  %679 = load i64, ptr %51, align 8, !tbaa !9
  %680 = add i64 %679, 1
  store i64 %680, ptr %51, align 8, !tbaa !9
  br label %630, !llvm.loop !38

681:                                              ; preds = %676, %664
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  br label %872

682:                                              ; preds = %634
  call void @llvm.lifetime.start.p0(i64 56, ptr %53) #8
  %683 = load i64, ptr %50, align 8, !tbaa !9
  %684 = load i64, ptr %46, align 8, !tbaa !9
  %685 = load i64, ptr %50, align 8, !tbaa !9
  %686 = sub i64 %684, %685
  invoke void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind writable sret(%class.t_rules_subset) align 8 %53, ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %683, i64 noundef %686)
          to label %687 unwind label %707

687:                                              ; preds = %682
  invoke void @_ZNSt6vectorI14t_rules_subsetSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(56) %53)
          to label %688 unwind label %711

688:                                              ; preds = %687
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %53) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %53) #8
  br label %689

689:                                              ; preds = %688
  %690 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %691 unwind label %716

691:                                              ; preds = %689
  br i1 %690, label %692, label %720

692:                                              ; preds = %691
  %693 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %694 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %693, ptr noundef @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %695 unwind label %716

695:                                              ; preds = %692
  %696 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %694, ptr noundef @.str.70)
          to label %697 unwind label %716

697:                                              ; preds = %695
  %698 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  %699 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %696, i64 noundef %698)
          to label %700 unwind label %716

700:                                              ; preds = %697
  %701 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %699, ptr noundef @.str.83)
          to label %702 unwind label %716

702:                                              ; preds = %700
  %703 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %701, ptr noundef @_ZSt3decRSt8ios_base)
          to label %704 unwind label %716

704:                                              ; preds = %702
  %705 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %703, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %706 unwind label %716

706:                                              ; preds = %704
  br label %720

707:                                              ; preds = %682
  %708 = landingpad { ptr, i32 }
          cleanup
  %709 = extractvalue { ptr, i32 } %708, 0
  store ptr %709, ptr %12, align 8
  %710 = extractvalue { ptr, i32 } %708, 1
  store i32 %710, ptr %13, align 4
  br label %715

711:                                              ; preds = %687
  %712 = landingpad { ptr, i32 }
          cleanup
  %713 = extractvalue { ptr, i32 } %712, 0
  store ptr %713, ptr %12, align 8
  %714 = extractvalue { ptr, i32 } %712, 1
  store i32 %714, ptr %13, align 4
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %53) #8
  br label %715

715:                                              ; preds = %711, %707
  call void @llvm.lifetime.end.p0(i64 56, ptr %53) #8
  br label %872

716:                                              ; preds = %704, %702, %700, %697, %695, %692, %689
  %717 = landingpad { ptr, i32 }
          cleanup
  %718 = extractvalue { ptr, i32 } %717, 0
  store ptr %718, ptr %12, align 8
  %719 = extractvalue { ptr, i32 } %717, 1
  store i32 %719, ptr %13, align 4
  br label %872

720:                                              ; preds = %706, %691
  br label %721

721:                                              ; preds = %720
  br label %722

722:                                              ; preds = %721
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #8
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  %723 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  invoke void @_ZNSt6vectorIjSaIjEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %723)
          to label %724 unwind label %746

724:                                              ; preds = %722
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #8
  %725 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %726 = load ptr, ptr %725, align 8, !tbaa !26
  %727 = invoke noundef i32 @_ZN10MirBuilder15pause_cur_blockEv(ptr noundef nonnull align 8 dereferenceable(440) %726)
          to label %728 unwind label %750

728:                                              ; preds = %724
  store i32 %727, ptr %55, align 4, !tbaa !11
  %729 = call ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  %730 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.539", ptr %56, i32 0, i32 0
  store ptr %729, ptr %730, align 8
  %731 = call ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  %732 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.539", ptr %57, i32 0, i32 0
  store ptr %731, ptr %732, align 8
  %733 = getelementptr inbounds %class.anon.540, ptr %58, i32 0, i32 0
  store ptr %7, ptr %733, align 8, !tbaa !5
  %734 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.539", ptr %56, i32 0, i32 0
  %735 = load ptr, ptr %734, align 8
  %736 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.539", ptr %57, i32 0, i32 0
  %737 = load ptr, ptr %736, align 8
  %738 = getelementptr inbounds %class.anon.540, ptr %58, i32 0, i32 0
  %739 = load ptr, ptr %738, align 8
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP14t_rules_subsetSt6vectorIS2_SaIS2_EEEEZN15MatchGenGrouped13gen_for_sliceES2_mjE4$_11EvT_SA_T0_"(ptr %735, ptr %737, ptr %739)
          to label %740 unwind label %750

740:                                              ; preds = %728
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  store i64 0, ptr %59, align 8, !tbaa !9
  br label %741

741:                                              ; preds = %846, %740
  %742 = load i64, ptr %59, align 8, !tbaa !9
  %743 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  %744 = icmp ult i64 %742, %743
  br i1 %744, label %754, label %745

745:                                              ; preds = %741
  store i32 41, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  br label %854

746:                                              ; preds = %722
  %747 = landingpad { ptr, i32 }
          cleanup
  %748 = extractvalue { ptr, i32 } %747, 0
  store ptr %748, ptr %12, align 8
  %749 = extractvalue { ptr, i32 } %747, 1
  store i32 %749, ptr %13, align 4
  br label %871

750:                                              ; preds = %864, %858, %854, %728, %724
  %751 = landingpad { ptr, i32 }
          cleanup
  %752 = extractvalue { ptr, i32 } %751, 0
  store ptr %752, ptr %12, align 8
  %753 = extractvalue { ptr, i32 } %751, 1
  store i32 %753, ptr %13, align 4
  br label %870

754:                                              ; preds = %741
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #8
  %755 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %756 = load ptr, ptr %755, align 8, !tbaa !26
  %757 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %756)
          to label %758 unwind label %771

758:                                              ; preds = %754
  store i32 %757, ptr %60, align 4, !tbaa !11
  %759 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %760 = load ptr, ptr %759, align 8, !tbaa !26
  %761 = load i32, ptr %60, align 4, !tbaa !11
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %760, i32 noundef %761)
          to label %762 unwind label %771

762:                                              ; preds = %758
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #8
  store i64 0, ptr %61, align 8, !tbaa !9
  br label %763

763:                                              ; preds = %834, %762
  %764 = load i64, ptr %61, align 8, !tbaa !9
  %765 = load i64, ptr %59, align 8, !tbaa !9
  %766 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %765) #8
  %767 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %766)
          to label %768 unwind label %775

768:                                              ; preds = %763
  %769 = icmp ult i64 %764, %767
  br i1 %769, label %779, label %770

770:                                              ; preds = %768
  store i32 44, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  br label %838

771:                                              ; preds = %838, %758, %754
  %772 = landingpad { ptr, i32 }
          cleanup
  %773 = extractvalue { ptr, i32 } %772, 0
  store ptr %773, ptr %12, align 8
  %774 = extractvalue { ptr, i32 } %772, 1
  store i32 %774, ptr %13, align 4
  br label %853

775:                                              ; preds = %832, %810, %794, %787, %783, %763
  %776 = landingpad { ptr, i32 }
          cleanup
  %777 = extractvalue { ptr, i32 } %776, 0
  store ptr %777, ptr %12, align 8
  %778 = extractvalue { ptr, i32 } %776, 1
  store i32 %778, ptr %13, align 4
  br label %837

779:                                              ; preds = %768
  %780 = load i64, ptr %61, align 8, !tbaa !9
  %781 = icmp ugt i64 %780, 0
  br i1 %781, label %782, label %832

782:                                              ; preds = %779
  br label %783

783:                                              ; preds = %782
  %784 = load i64, ptr %59, align 8, !tbaa !9
  %785 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %784) #8
  %786 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %785, i64 noundef 0)
          to label %787 unwind label %775

787:                                              ; preds = %783
  %788 = load i64, ptr %7, align 8, !tbaa !9
  %789 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %786, i64 noundef %788) #8
  %790 = load i64, ptr %59, align 8, !tbaa !9
  %791 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %790) #8
  %792 = load i64, ptr %61, align 8, !tbaa !9
  %793 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %791, i64 noundef %792)
          to label %794 unwind label %775

794:                                              ; preds = %787
  %795 = load i64, ptr %7, align 8, !tbaa !9
  %796 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %793, i64 noundef %795) #8
  %797 = invoke noundef zeroext i1 @_ZNK11PatternRuleeqERKS_(ptr noundef nonnull align 8 dereferenceable(120) %789, ptr noundef nonnull align 8 dereferenceable(120) %796)
          to label %798 unwind label %775

798:                                              ; preds = %794
  br i1 %797, label %829, label %799

799:                                              ; preds = %798
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #8
  %800 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %801 = load ptr, ptr %800, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %801)
          to label %802 unwind label %811

802:                                              ; preds = %799
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #8
  %803 = getelementptr inbounds %class.anon.541, ptr %64, i32 0, i32 0
  store ptr %49, ptr %803, align 8, !tbaa !5
  %804 = getelementptr inbounds %class.anon.541, ptr %64, i32 0, i32 1
  store ptr %59, ptr %804, align 8, !tbaa !5
  %805 = getelementptr inbounds %class.anon.541, ptr %64, i32 0, i32 2
  store ptr %7, ptr %805, align 8, !tbaa !5
  %806 = getelementptr inbounds %class.anon.541, ptr %64, i32 0, i32 3
  store ptr %61, ptr %806, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_8vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(32) %64)
          to label %807 unwind label %815

807:                                              ; preds = %802
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef %63)
          to label %808 unwind label %819

808:                                              ; preds = %807
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %62) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  %809 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %809, ptr noundef @.str.10)
          to label %810 unwind label %825

810:                                              ; preds = %808
  invoke void @__cxa_throw(ptr %809, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %775

811:                                              ; preds = %799
  %812 = landingpad { ptr, i32 }
          cleanup
  %813 = extractvalue { ptr, i32 } %812, 0
  store ptr %813, ptr %12, align 8
  %814 = extractvalue { ptr, i32 } %812, 1
  store i32 %814, ptr %13, align 4
  br label %824

815:                                              ; preds = %802
  %816 = landingpad { ptr, i32 }
          cleanup
  %817 = extractvalue { ptr, i32 } %816, 0
  store ptr %817, ptr %12, align 8
  %818 = extractvalue { ptr, i32 } %816, 1
  store i32 %818, ptr %13, align 4
  br label %823

819:                                              ; preds = %807
  %820 = landingpad { ptr, i32 }
          cleanup
  %821 = extractvalue { ptr, i32 } %820, 0
  store ptr %821, ptr %12, align 8
  %822 = extractvalue { ptr, i32 } %820, 1
  store i32 %822, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  br label %823

823:                                              ; preds = %819, %815
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %62) #8
  br label %824

824:                                              ; preds = %823, %811
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  br label %837

825:                                              ; preds = %808
  %826 = landingpad { ptr, i32 }
          cleanup
  %827 = extractvalue { ptr, i32 } %826, 0
  store ptr %827, ptr %12, align 8
  %828 = extractvalue { ptr, i32 } %826, 1
  store i32 %828, ptr %13, align 4
  call void @__cxa_free_exception(ptr %809) #8
  br label %837

829:                                              ; preds = %798
  br label %830

830:                                              ; preds = %829
  br label %831

831:                                              ; preds = %830
  br label %832

832:                                              ; preds = %831, %779
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 4 dereferenceable(4) %60)
          to label %833 unwind label %775

833:                                              ; preds = %832
  br label %834

834:                                              ; preds = %833
  %835 = load i64, ptr %61, align 8, !tbaa !9
  %836 = add i64 %835, 1
  store i64 %836, ptr %61, align 8, !tbaa !9
  br label %763, !llvm.loop !39

837:                                              ; preds = %825, %824, %775
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  br label %853

838:                                              ; preds = %770
  %839 = load i64, ptr %59, align 8, !tbaa !9
  %840 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %839) #8
  invoke void @_ZN14t_rules_subsetC2ERKS_(ptr noundef nonnull align 8 dereferenceable(56) %65, ptr noundef nonnull align 8 dereferenceable(56) %840)
          to label %841 unwind label %771

841:                                              ; preds = %838
  %842 = load i64, ptr %7, align 8, !tbaa !9
  %843 = add i64 %842, 1
  %844 = load i32, ptr %48, align 4, !tbaa !11
  invoke void @_ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef %65, i64 noundef %843, i32 noundef %844)
          to label %845 unwind label %849

845:                                              ; preds = %841
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  br label %846

846:                                              ; preds = %845
  %847 = load i64, ptr %59, align 8, !tbaa !9
  %848 = add i64 %847, 1
  store i64 %848, ptr %59, align 8, !tbaa !9
  br label %741, !llvm.loop !40

849:                                              ; preds = %841
  %850 = landingpad { ptr, i32 }
          cleanup
  %851 = extractvalue { ptr, i32 } %850, 0
  store ptr %851, ptr %12, align 8
  %852 = extractvalue { ptr, i32 } %850, 1
  store i32 %852, ptr %13, align 4
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %65) #8
  br label %853

853:                                              ; preds = %849, %837, %771
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  br label %870

854:                                              ; preds = %745
  %855 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %856 = load ptr, ptr %855, align 8, !tbaa !26
  %857 = load i32, ptr %55, align 4, !tbaa !11
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %856, i32 noundef %857)
          to label %858 unwind label %750

858:                                              ; preds = %854
  %859 = load i64, ptr %7, align 8, !tbaa !9
  %860 = load i32, ptr %48, align 4, !tbaa !11
  invoke void @_ZN15MatchGenGrouped12gen_dispatchERKSt6vectorI14t_rules_subsetSaIS1_EEmRKS0_IjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %859, ptr noundef nonnull align 8 dereferenceable(24) %54, i32 noundef %860)
          to label %861 unwind label %750

861:                                              ; preds = %858
  %862 = load i8, ptr %47, align 1, !tbaa !15, !range !17, !noundef !18
  %863 = trunc i8 %862 to i1
  br i1 %863, label %864, label %869

864:                                              ; preds = %861
  %865 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %866 = load ptr, ptr %865, align 8, !tbaa !26
  %867 = load i32, ptr %48, align 4, !tbaa !11
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %866, i32 noundef %867)
          to label %868 unwind label %750

868:                                              ; preds = %864
  br label %869

869:                                              ; preds = %868, %861
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @_ZNSt6vectorI14t_rules_subsetSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #8
  br label %875

870:                                              ; preds = %853, %750
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %871

871:                                              ; preds = %870, %746
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #8
  br label %872

872:                                              ; preds = %871, %716, %715, %681
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @_ZNSt6vectorI14t_rules_subsetSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #8
  br label %873

873:                                              ; preds = %872, %639
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %874

874:                                              ; preds = %873, %635
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #8
  br label %1087

875:                                              ; preds = %869, %570
  %876 = load i64, ptr %46, align 8, !tbaa !9
  %877 = load i64, ptr %20, align 8, !tbaa !9
  %878 = icmp eq i64 %876, %877
  br i1 %878, label %879, label %880

879:                                              ; preds = %875
  br label %882

880:                                              ; preds = %875
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.17, i32 noundef 3261, ptr noundef @__PRETTY_FUNCTION__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj) #10
  unreachable

881:                                              ; No predecessors!
  br label %882

882:                                              ; preds = %881, %879
  %883 = load i64, ptr %46, align 8, !tbaa !9
  %884 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %885 unwind label %599

885:                                              ; preds = %882
  %886 = icmp ult i64 %883, %884
  br i1 %886, label %887, label %1086

887:                                              ; preds = %885
  %888 = load i64, ptr %20, align 8, !tbaa !9
  %889 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %888)
          to label %890 unwind label %599

890:                                              ; preds = %887
  %891 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %889) #8
  %892 = load i64, ptr %7, align 8, !tbaa !9
  %893 = icmp ugt i64 %891, %892
  br i1 %893, label %894, label %1086

894:                                              ; preds = %890
  br label %895

895:                                              ; preds = %915, %894
  %896 = load i64, ptr %20, align 8, !tbaa !9
  %897 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %898 unwind label %599

898:                                              ; preds = %895
  %899 = icmp ult i64 %896, %897
  br i1 %899, label %900, label %913

900:                                              ; preds = %898
  %901 = load i64, ptr %20, align 8, !tbaa !9
  %902 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %901)
          to label %903 unwind label %599

903:                                              ; preds = %900
  %904 = load i64, ptr %7, align 8, !tbaa !9
  %905 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %902, i64 noundef %904) #8
  %906 = load i64, ptr %46, align 8, !tbaa !9
  %907 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %906)
          to label %908 unwind label %599

908:                                              ; preds = %903
  %909 = load i64, ptr %7, align 8, !tbaa !9
  %910 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %907, i64 noundef %909) #8
  %911 = invoke noundef zeroext i1 @_ZNK11PatternRuleeqERKS_(ptr noundef nonnull align 8 dereferenceable(120) %905, ptr noundef nonnull align 8 dereferenceable(120) %910)
          to label %912 unwind label %599

912:                                              ; preds = %908
  br label %913

913:                                              ; preds = %912, %898
  %914 = phi i1 [ false, %898 ], [ %911, %912 ]
  br i1 %914, label %915, label %918

915:                                              ; preds = %913
  %916 = load i64, ptr %20, align 8, !tbaa !9
  %917 = add i64 %916, 1
  store i64 %917, ptr %20, align 8, !tbaa !9
  br label %895, !llvm.loop !41

918:                                              ; preds = %913
  br label %919

919:                                              ; preds = %918
  %920 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %921 unwind label %599

921:                                              ; preds = %919
  br i1 %920, label %922, label %940

922:                                              ; preds = %921
  %923 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %924 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %923, ptr noundef @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %925 unwind label %599

925:                                              ; preds = %922
  %926 = load i64, ptr %46, align 8, !tbaa !9
  %927 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %924, i64 noundef %926)
          to label %928 unwind label %599

928:                                              ; preds = %925
  %929 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %927, ptr noundef @.str.85)
          to label %930 unwind label %599

930:                                              ; preds = %928
  %931 = load i64, ptr %20, align 8, !tbaa !9
  %932 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %929, i64 noundef %931)
          to label %933 unwind label %599

933:                                              ; preds = %930
  %934 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %932, ptr noundef @.str.86)
          to label %935 unwind label %599

935:                                              ; preds = %933
  %936 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %934, ptr noundef @_ZSt3decRSt8ios_base)
          to label %937 unwind label %599

937:                                              ; preds = %935
  %938 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %936, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %939 unwind label %599

939:                                              ; preds = %937
  br label %940

940:                                              ; preds = %939, %921
  br label %941

941:                                              ; preds = %940
  br label %942

942:                                              ; preds = %941
  call void @llvm.lifetime.start.p0(i64 1, ptr %66) #8
  %943 = load i64, ptr %20, align 8, !tbaa !9
  %944 = invoke noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %945 unwind label %986

945:                                              ; preds = %942
  %946 = icmp ult i64 %943, %944
  %947 = zext i1 %946 to i8
  store i8 %947, ptr %66, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #8
  %948 = load i8, ptr %66, align 1, !tbaa !15, !range !17, !noundef !18
  %949 = trunc i8 %948 to i1
  br i1 %949, label %950, label %955

950:                                              ; preds = %945
  %951 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %952 = load ptr, ptr %951, align 8, !tbaa !26
  %953 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %952)
          to label %954 unwind label %990

954:                                              ; preds = %950
  br label %957

955:                                              ; preds = %945
  %956 = load i32, ptr %8, align 4, !tbaa !11
  br label %957

957:                                              ; preds = %955, %954
  %958 = phi i32 [ %953, %954 ], [ %956, %955 ]
  store i32 %958, ptr %67, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #8
  %959 = load i64, ptr %46, align 8, !tbaa !9
  %960 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %959)
          to label %961 unwind label %994

961:                                              ; preds = %957
  %962 = load i64, ptr %7, align 8, !tbaa !9
  %963 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %960, i64 noundef %962) #8
  store ptr %963, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #8
  %964 = load ptr, ptr %68, align 8, !tbaa !5
  %965 = invoke noundef ptr @_ZNK11PatternRule14opt_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %964)
          to label %966 unwind label %998

966:                                              ; preds = %961
  store ptr %965, ptr %69, align 8, !tbaa !5
  %967 = load ptr, ptr %69, align 8, !tbaa !5
  %968 = icmp ne ptr %967, null
  br i1 %968, label %969, label %1002

969:                                              ; preds = %966
  %970 = load i64, ptr %46, align 8, !tbaa !9
  %971 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %970)
          to label %972 unwind label %998

972:                                              ; preds = %969
  %973 = load i64, ptr %7, align 8, !tbaa !9
  %974 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %971, i64 noundef %973) #8
  %975 = getelementptr inbounds %class.PatternRule, ptr %974, i32 0, i32 2
  %976 = load ptr, ptr %69, align 8, !tbaa !5
  %977 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %976, i32 0, i32 0
  %978 = load ptr, ptr %69, align 8, !tbaa !5
  %979 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %978, i32 0, i32 1
  %980 = load ptr, ptr %69, align 8, !tbaa !5
  %981 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %980, i32 0, i32 2
  %982 = load i8, ptr %981, align 8, !tbaa !42, !range !17, !noundef !18
  %983 = trunc i8 %982 to i1
  %984 = load i32, ptr %67, align 4, !tbaa !11
  invoke void @_ZN15MatchGenGrouped18gen_dispatch_rangeERK12field_path_tRKN3MIR8ConstantES6_bj(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef nonnull align 8 dereferenceable(24) %975, ptr noundef nonnull align 8 dereferenceable(40) %977, ptr noundef nonnull align 8 dereferenceable(40) %979, i1 noundef zeroext %983, i32 noundef %984)
          to label %985 unwind label %998

985:                                              ; preds = %972
  br label %1050

986:                                              ; preds = %942
  %987 = landingpad { ptr, i32 }
          cleanup
  %988 = extractvalue { ptr, i32 } %987, 0
  store ptr %988, ptr %12, align 8
  %989 = extractvalue { ptr, i32 } %987, 1
  store i32 %989, ptr %13, align 4
  br label %1085

990:                                              ; preds = %950
  %991 = landingpad { ptr, i32 }
          cleanup
  %992 = extractvalue { ptr, i32 } %991, 0
  store ptr %992, ptr %12, align 8
  %993 = extractvalue { ptr, i32 } %991, 1
  store i32 %993, ptr %13, align 4
  br label %1084

994:                                              ; preds = %957
  %995 = landingpad { ptr, i32 }
          cleanup
  %996 = extractvalue { ptr, i32 } %995, 0
  store ptr %996, ptr %12, align 8
  %997 = extractvalue { ptr, i32 } %995, 1
  store i32 %997, ptr %13, align 4
  br label %1083

998:                                              ; preds = %972, %969, %961
  %999 = landingpad { ptr, i32 }
          cleanup
  %1000 = extractvalue { ptr, i32 } %999, 0
  store ptr %1000, ptr %12, align 8
  %1001 = extractvalue { ptr, i32 } %999, 1
  store i32 %1001, ptr %13, align 4
  br label %1067

1002:                                             ; preds = %966
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #8
  %1003 = load ptr, ptr %68, align 8, !tbaa !5
  %1004 = invoke noundef ptr @_ZNK11PatternRule14opt_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %1003)
          to label %1005 unwind label %1014

1005:                                             ; preds = %1002
  store ptr %1004, ptr %70, align 8, !tbaa !5
  %1006 = load ptr, ptr %70, align 8, !tbaa !5
  %1007 = icmp ne ptr %1006, null
  br i1 %1007, label %1008, label %1018

1008:                                             ; preds = %1005
  %1009 = load ptr, ptr %68, align 8, !tbaa !5
  %1010 = getelementptr inbounds %class.PatternRule, ptr %1009, i32 0, i32 2
  %1011 = load ptr, ptr %70, align 8, !tbaa !5
  %1012 = load i32, ptr %67, align 4, !tbaa !11
  invoke void @_ZN15MatchGenGrouped23gen_dispatch_splitsliceERK12field_path_tRKN11PatternRule15Data_SplitSliceEj(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef nonnull align 8 dereferenceable(24) %1010, ptr noundef nonnull align 8 dereferenceable(56) %1011, i32 noundef %1012)
          to label %1013 unwind label %1014

1013:                                             ; preds = %1008
  br label %1048

1014:                                             ; preds = %1031, %1019, %1008, %1002
  %1015 = landingpad { ptr, i32 }
          cleanup
  %1016 = extractvalue { ptr, i32 } %1015, 0
  store ptr %1016, ptr %12, align 8
  %1017 = extractvalue { ptr, i32 } %1015, 1
  store i32 %1017, ptr %13, align 4
  br label %1049

1018:                                             ; preds = %1005
  br label %1019

1019:                                             ; preds = %1018
  %1020 = load ptr, ptr %68, align 8, !tbaa !5
  %1021 = invoke noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %1020)
          to label %1022 unwind label %1014

1022:                                             ; preds = %1019
  br i1 %1021, label %1045, label %1023

1023:                                             ; preds = %1022
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #8
  %1024 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %1025 = load ptr, ptr %1024, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %1025)
          to label %1026 unwind label %1032

1026:                                             ; preds = %1023
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #8
  %1027 = getelementptr inbounds %class.anon.542, ptr %73, i32 0, i32 0
  %1028 = load ptr, ptr %68, align 8, !tbaa !5
  store ptr %1028, ptr %1027, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_9vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(8) %73) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef %72)
          to label %1029 unwind label %1036

1029:                                             ; preds = %1026
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #8
  %1030 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %1030, ptr noundef @.str.10)
          to label %1031 unwind label %1041

1031:                                             ; preds = %1029
  invoke void @__cxa_throw(ptr %1030, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %1014

1032:                                             ; preds = %1023
  %1033 = landingpad { ptr, i32 }
          cleanup
  %1034 = extractvalue { ptr, i32 } %1033, 0
  store ptr %1034, ptr %12, align 8
  %1035 = extractvalue { ptr, i32 } %1033, 1
  store i32 %1035, ptr %13, align 4
  br label %1040

1036:                                             ; preds = %1026
  %1037 = landingpad { ptr, i32 }
          cleanup
  %1038 = extractvalue { ptr, i32 } %1037, 0
  store ptr %1038, ptr %12, align 8
  %1039 = extractvalue { ptr, i32 } %1037, 1
  store i32 %1039, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #8
  br label %1040

1040:                                             ; preds = %1036, %1032
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #8
  br label %1049

1041:                                             ; preds = %1029
  %1042 = landingpad { ptr, i32 }
          cleanup
  %1043 = extractvalue { ptr, i32 } %1042, 0
  store ptr %1043, ptr %12, align 8
  %1044 = extractvalue { ptr, i32 } %1042, 1
  store i32 %1044, ptr %13, align 4
  call void @__cxa_free_exception(ptr %1030) #8
  br label %1049

1045:                                             ; preds = %1022
  br label %1046

1046:                                             ; preds = %1045
  br label %1047

1047:                                             ; preds = %1046
  br label %1048

1048:                                             ; preds = %1047, %1013
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  br label %1050

1049:                                             ; preds = %1041, %1040, %1014
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  br label %1067

1050:                                             ; preds = %1048, %985
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %74) #8
  %1051 = load i64, ptr %46, align 8, !tbaa !9
  %1052 = load i64, ptr %20, align 8, !tbaa !9
  %1053 = load i64, ptr %46, align 8, !tbaa !9
  %1054 = sub i64 %1052, %1053
  invoke void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind writable sret(%class.t_rules_subset) align 8 %74, ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %1051, i64 noundef %1054)
          to label %1055 unwind label %1068

1055:                                             ; preds = %1050
  call void @_ZN14t_rules_subsetC2EOS_(ptr noundef nonnull align 8 dereferenceable(56) %75, ptr noundef nonnull align 8 dereferenceable(56) %74) #8
  %1056 = load i64, ptr %7, align 8, !tbaa !9
  %1057 = add i64 %1056, 1
  %1058 = load i32, ptr %67, align 4, !tbaa !11
  invoke void @_ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef %75, i64 noundef %1057, i32 noundef %1058)
          to label %1059 unwind label %1072

1059:                                             ; preds = %1055
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %75) #8
  %1060 = load i8, ptr %66, align 1, !tbaa !15, !range !17, !noundef !18
  %1061 = trunc i8 %1060 to i1
  br i1 %1061, label %1062, label %1080

1062:                                             ; preds = %1059
  %1063 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %1064 = load ptr, ptr %1063, align 8, !tbaa !26
  %1065 = load i32, ptr %67, align 4, !tbaa !11
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %1064, i32 noundef %1065)
          to label %1066 unwind label %1076

1066:                                             ; preds = %1062
  br label %1080

1067:                                             ; preds = %1049, %998
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  br label %1083

1068:                                             ; preds = %1050
  %1069 = landingpad { ptr, i32 }
          cleanup
  %1070 = extractvalue { ptr, i32 } %1069, 0
  store ptr %1070, ptr %12, align 8
  %1071 = extractvalue { ptr, i32 } %1069, 1
  store i32 %1071, ptr %13, align 4
  br label %1082

1072:                                             ; preds = %1055
  %1073 = landingpad { ptr, i32 }
          cleanup
  %1074 = extractvalue { ptr, i32 } %1073, 0
  store ptr %1074, ptr %12, align 8
  %1075 = extractvalue { ptr, i32 } %1073, 1
  store i32 %1075, ptr %13, align 4
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %75) #8
  br label %1081

1076:                                             ; preds = %1062
  %1077 = landingpad { ptr, i32 }
          cleanup
  %1078 = extractvalue { ptr, i32 } %1077, 0
  store ptr %1078, ptr %12, align 8
  %1079 = extractvalue { ptr, i32 } %1077, 1
  store i32 %1079, ptr %13, align 4
  br label %1081

1080:                                             ; preds = %1066, %1059
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %74) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %74) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #8
  br label %1086

1081:                                             ; preds = %1076, %1072
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %74) #8
  br label %1082

1082:                                             ; preds = %1081, %1068
  call void @llvm.lifetime.end.p0(i64 56, ptr %74) #8
  br label %1083

1083:                                             ; preds = %1082, %1067, %994
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #8
  br label %1084

1084:                                             ; preds = %1083, %990
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %1085

1085:                                             ; preds = %1084, %986
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #8
  br label %1087

1086:                                             ; preds = %1080, %890, %885
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %195, !llvm.loop !46

1087:                                             ; preds = %1085, %874, %599
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %1088

1088:                                             ; preds = %1087, %535
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %1089

1089:                                             ; preds = %1088, %516, %444, %253, %252, %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %1119

1090:                                             ; preds = %200
  br label %1091

1091:                                             ; preds = %1090
  %1092 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 1
  %1093 = load ptr, ptr %1092, align 8, !tbaa !26
  %1094 = invoke noundef zeroext i1 @_ZNK10MirBuilder12block_activeEv(ptr noundef nonnull align 8 dereferenceable(440) %1093)
          to label %1095 unwind label %102

1095:                                             ; preds = %1091
  br i1 %1094, label %1096, label %1116

1096:                                             ; preds = %1095
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #8
  %1097 = getelementptr inbounds %class.MatchGenGrouped, ptr %79, i32 0, i32 0
  %1098 = load ptr, ptr %1097, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull align 8 dereferenceable(8) %1098)
          to label %1099 unwind label %1103

1099:                                             ; preds = %1096
  call void @llvm.lifetime.start.p0(i64 1, ptr %78) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE4$_10vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull align 1 dereferenceable(1) %78) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef %77)
          to label %1100 unwind label %1107

1100:                                             ; preds = %1099
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  %1101 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %1101, ptr noundef @.str.10)
          to label %1102 unwind label %1112

1102:                                             ; preds = %1100
  invoke void @__cxa_throw(ptr %1101, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1126 unwind label %102

1103:                                             ; preds = %1096
  %1104 = landingpad { ptr, i32 }
          cleanup
  %1105 = extractvalue { ptr, i32 } %1104, 0
  store ptr %1105, ptr %12, align 8
  %1106 = extractvalue { ptr, i32 } %1104, 1
  store i32 %1106, ptr %13, align 4
  br label %1111

1107:                                             ; preds = %1099
  %1108 = landingpad { ptr, i32 }
          cleanup
  %1109 = extractvalue { ptr, i32 } %1108, 0
  store ptr %1109, ptr %12, align 8
  %1110 = extractvalue { ptr, i32 } %1108, 1
  store i32 %1110, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #8
  br label %1111

1111:                                             ; preds = %1107, %1103
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  br label %1119

1112:                                             ; preds = %1100
  %1113 = landingpad { ptr, i32 }
          cleanup
  %1114 = extractvalue { ptr, i32 } %1113, 0
  store ptr %1114, ptr %12, align 8
  %1115 = extractvalue { ptr, i32 } %1113, 1
  store i32 %1115, ptr %13, align 4
  call void @__cxa_free_exception(ptr %1101) #8
  br label %1119

1116:                                             ; preds = %1095
  br label %1117

1117:                                             ; preds = %1116
  br label %1118

1118:                                             ; preds = %1117
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #8
  ret void

1119:                                             ; preds = %1112, %1111, %1089, %193, %115, %114, %102
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #8
  br label %1120

1120:                                             ; preds = %1119, %98
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #8
  br label %1121

1121:                                             ; preds = %1120
  %1122 = load ptr, ptr %12, align 8
  %1123 = load i32, ptr %13, align 4
  %1124 = insertvalue { ptr, i32 } poison, ptr %1122, 0
  %1125 = insertvalue { ptr, i32 } %1124, i32 %1123, 1
  resume { ptr, i32 } %1125

1126:                                             ; preds = %1102, %1031, %810, %499, %425, %387, %342, %300, %238, %190, %97
  unreachable
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK14t_rules_subset6is_armEv(ptr noundef nonnull align 8 dereferenceable(56)) #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK14t_rules_subset6bb_idxEm(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11PatternRule13is_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115rule_compatibleERK11PatternRuleS2_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind noalias writable sret(%class.t_rules_subset) align 8, ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef) #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP14t_rules_subsetSt6vectorIS2_SaIS2_EEEEZN15MatchGenGrouped13gen_for_sliceES2_mjE4$_11EvT_SA_T0_"(ptr, ptr, ptr) #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MatchGenGrouped18gen_dispatch_rangeERK12field_path_tRKN3MIR8ConstantES6_bj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext, i32 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MatchGenGrouped23gen_dispatch_splitsliceERK12field_path_tRKN11PatternRule15Data_SplitSliceEj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE4$_10vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }
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 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS15MatchGenGrouped", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!14, !6, i64 32}
!23 = !{!24, !10, i64 0}
!24 = !{!"_ZTSN14t_rules_subset8ArmIdxesE", !10, i64 0, !10, i64 8}
!25 = !{!24, !10, i64 8}
!26 = !{!14, !6, i64 8}
!27 = !{!28, !12, i64 0}
!28 = !{!"_ZTSN7ArmCode7PatternE", !12, i64 0, !12, i64 4}
!29 = !{!30, !16, i64 0}
!30 = !{!"_ZTS7ArmCode", !16, i64 0, !31, i64 8}
!31 = !{!"_ZTSSt6vectorIN7ArmCode7PatternESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIN7ArmCode7PatternESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7ArmCode7PatternESaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN7ArmCode7PatternESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = distinct !{!35, !20}
!36 = distinct !{!36, !20}
!37 = distinct !{!37, !20}
!38 = distinct !{!38, !20}
!39 = distinct !{!39, !20}
!40 = distinct !{!40, !20}
!41 = distinct !{!41, !20}
!42 = !{!43, !16, i64 80}
!43 = !{!"_ZTSN11PatternRule15Data_ValueRangeE", !44, i64 0, !44, i64 40, !16, i64 80}
!44 = !{!"_ZTSN3MIR8ConstantE", !45, i64 0, !7, i64 8}
!45 = !{!"_ZTSN3MIR8Constant3TagE", !7, i64 0}
!46 = distinct !{!46, !20}


; 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.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.18" }
%"struct.MIR::LValue" = type { %"class.MIR::LValue::Storage", %"class.std::vector" }
%"class.MIR::LValue::Storage" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.115" }
%"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.23, %class.ThinVector.24, %class.ThinVector.25 }
%class.ThinVector.23 = type { ptr }
%class.ThinVector.24 = type { ptr }
%class.ThinVector.25 = type { ptr }
%"class.std::unique_ptr.115" = type { %"struct.std::__uniq_ptr_data.116" }
%"struct.std::__uniq_ptr_data.116" = type { %"class.std::__uniq_ptr_impl.117" }
%"class.std::__uniq_ptr_impl.117" = type { %"class.std::tuple.118" }
%"class.std::tuple.118" = type { %"struct.std::_Tuple_impl.119" }
%"struct.std::_Tuple_impl.119" = type { %"struct.std::_Head_base.122" }
%"struct.std::_Head_base.122" = type { ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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 }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = 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.522 = type { ptr, ptr, ptr }
%struct.Span = type { ptr }
%class.anon.523 = type { i8 }
%class.anon.525 = type { ptr, ptr, ptr }
%"struct.t_rules_subset::ArmIdxes" = type { i64, i64 }
%class.anon.526 = type { i8 }
%class.anon.528 = type { ptr, ptr }
%class.anon.529 = type { ptr }
%class.anon.530 = type { i8 }
%class.anon.532 = type { i8 }
%"class.std::vector.534" = type { %"struct.std::_Vector_base.535" }
%"struct.std::_Vector_base.535" = type { %"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl" }
%"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl" = type { %"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl_data" }
%"struct.std::_Vector_base<t_rules_subset, std::allocator<t_rules_subset>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.t_rules_subset = type { %"class.std::vector.517", i8, %"class.std::vector.146" }
%"class.std::vector.517" = type { %"struct.std::_Vector_base.518" }
%"struct.std::_Vector_base.518" = type { %"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl" }
%"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const std::vector<PatternRule> *, std::allocator<const std::vector<PatternRule> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.146" = type { %"struct.std::_Vector_base.147" }
%"struct.std::_Vector_base.147" = 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.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = 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 }
%class.anon.541 = type { ptr, ptr, ptr, ptr }
%class.anon.542 = type { ptr }
%class.anon.543 = type { i8 }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj = external hidden unnamed_addr constant [14 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [14 x i8], align 1

; 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

declare i32 @__gxx_personality_v0(...)

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

declare noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440)) local_unnamed_addr #1

declare noundef i32 @_ZN10MirBuilder15pause_cur_blockEv(ptr noundef nonnull align 8 dereferenceable(440)) local_unnamed_addr #1

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

; 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 #3 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)) #2

declare void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440), i32 noundef) local_unnamed_addr #1

declare void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind noalias writable sret(%"class.MIR::Terminator") align 8, i32 noundef) local_unnamed_addr #3 align 2

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

declare void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

declare void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10MirBuilder12block_activeEv(ptr noundef nonnull align 8 dereferenceable(440)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #4 align 2

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

declare void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11PatternRule13is_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca %class.TraceLog, align 8
  %8 = alloca %"class.std::function", align 8
  %9 = alloca %class.anon.522, align 8
  %10 = alloca %struct.Span, align 8
  %11 = alloca %"class.std::function", align 8
  %12 = alloca %class.anon.523, align 1
  %13 = alloca i64, align 8
  %14 = alloca %struct.Span, align 8
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %class.anon.525, align 8
  %17 = alloca %"struct.t_rules_subset::ArmIdxes", align 8
  %18 = alloca %struct.Span, align 8
  %19 = alloca %"class.std::function", align 8
  %20 = alloca %class.anon.526, align 1
  %21 = alloca %struct.Span, align 8
  %22 = alloca %"class.std::function", align 8
  %23 = alloca %class.anon.528, align 8
  %24 = alloca %"class.MIR::Terminator", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %struct.Span, align 8
  %27 = alloca %"class.std::function", align 8
  %28 = alloca %class.anon.529, align 8
  %29 = alloca %struct.Span, align 8
  %30 = alloca %"class.std::function", align 8
  %31 = alloca %class.anon.530, align 1
  %32 = alloca %"class.MIR::Terminator", align 8
  %33 = alloca %struct.Span, align 8
  %34 = alloca %"class.std::function", align 8
  %35 = alloca %class.anon.532, align 1
  %36 = alloca %"class.std::vector.534", align 8
  %37 = alloca %class.t_rules_subset, align 8
  %38 = alloca %class.t_rules_subset, align 8
  %39 = alloca %"class.std::vector.47", align 8
  %40 = alloca i64, align 8
  %41 = alloca i32, align 4
  %42 = alloca i64, align 8
  %43 = alloca %struct.Span, align 8
  %44 = alloca %"class.std::function", align 8
  %45 = alloca %class.anon.541, align 8
  %46 = alloca %class.t_rules_subset, align 8
  %47 = alloca %struct.Span, align 8
  %48 = alloca %"class.std::function", align 8
  %49 = alloca %class.anon.542, align 8
  %50 = alloca %class.t_rules_subset, align 8
  %51 = alloca %class.t_rules_subset, align 8
  %52 = alloca %struct.Span, align 8
  %53 = alloca %"class.std::function", align 8
  %54 = alloca %class.anon.543, align 1
  store i64 %2, ptr %5, align 8, !tbaa !5
  store i32 %3, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #7
  %55 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %56 = select i1 %55, ptr @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj, ptr null
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  store ptr %1, ptr %9, align 8, !tbaa !11
  %57 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %5, ptr %57, align 8, !tbaa !11
  %58 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %6, ptr %58, align 8, !tbaa !11
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %56, ptr noundef nonnull %8)
          to label %59 unwind label %66

59:                                               ; preds = %4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  %60 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %.not = icmp eq i64 %60, 0
  br i1 %.not, label %61, label %.preheader218

61:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %62 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %62)
          to label %63 unwind label %70

63:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(1) %12) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull %11)
          to label %64 unwind label %72

64:                                               ; preds = %63
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  %65 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull @.str.10)
          to label %.invoke unwind label %75

66:                                               ; preds = %4
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  br label %608

68:                                               ; preds = %.invoke
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %607

70:                                               ; preds = %61
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %63
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br label %74

74:                                               ; preds = %72, %70
  %.pn = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %607

75:                                               ; preds = %64
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %65) #7
  br label %607

.preheader218:                                    ; preds = %59, %.preheader218.backedge
  %77 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %.not262 = icmp eq i64 %77, 0
  br i1 %.not262, label %.critedge261, label %.lr.ph

._crit_edge:                                      ; preds = %86
  br i1 %.1111, label %.critedge261, label %109

.lr.ph:                                           ; preds = %.preheader218, %86
  %.0112232 = phi i64 [ %87, %86 ], [ 0, %.preheader218 ]
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %.0112232)
  %79 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #7
  %80 = load i64, ptr %5, align 8, !tbaa !5
  %.not181 = icmp ugt i64 %79, %80
  br i1 %.not181, label %81, label %86

81:                                               ; preds = %.lr.ph
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %.0112232)
  %83 = load i64, ptr %5, align 8, !tbaa !5
  %84 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %83) #7
  %85 = call noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %84)
  br label %86

86:                                               ; preds = %81, %.lr.ph
  %.1111 = phi i1 [ false, %.lr.ph ], [ %85, %81 ]
  %87 = add nuw i64 %.0112232, 1
  %88 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %89 = icmp ult i64 %87, %88
  %90 = and i1 %89, %.1111
  br i1 %90, label %.lr.ph, label %._crit_edge, !llvm.loop !15

.critedge261:                                     ; preds = %.preheader218, %._crit_edge
  %91 = load i64, ptr %5, align 8, !tbaa !5
  %92 = add i64 %91, 1
  store i64 %92, ptr %5, align 8, !tbaa !5
  %93 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %94 unwind label %107

94:                                               ; preds = %.critedge261
  br i1 %93, label %95, label %.preheader218.backedge

.preheader218.backedge:                           ; preds = %94, %105
  br label %.preheader218

95:                                               ; preds = %94
  %96 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %96, ptr noundef nonnull @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %98 unwind label %107

98:                                               ; preds = %95
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull @.str.79)
          to label %100 unwind label %107

100:                                              ; preds = %98
  %101 = load i64, ptr %5, align 8, !tbaa !5
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %99, i64 noundef %101)
          to label %103 unwind label %107

103:                                              ; preds = %100
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %105 unwind label %107

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader218.backedge unwind label %107

107:                                              ; preds = %105, %103, %100, %98, %95, %.critedge261
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %607

109:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store i64 0, ptr %13, align 8, !tbaa !5
  %110 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %.not263 = icmp eq i64 %110, 0
  br i1 %.not263, label %._crit_edge260, label %.preheader194.lr.ph

.preheader194.lr.ph:                              ; preds = %109
  %111 = getelementptr inbounds i8, ptr %0, i64 8
  %112 = getelementptr inbounds i8, ptr %17, i64 8
  %113 = getelementptr inbounds i8, ptr %0, i64 32
  br label %.preheader194

.preheader194:                                    ; preds = %.preheader194.lr.ph, %589
  %114 = phi i64 [ 0, %.preheader194.lr.ph ], [ %590, %589 ]
  %115 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %116 = icmp ult i64 %114, %115
  br i1 %116, label %.lr.ph238, label %.critedge

._crit_edge260:                                   ; preds = %589, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  %117 = getelementptr inbounds i8, ptr %0, i64 8
  %118 = load ptr, ptr %117, align 8, !tbaa !17
  %119 = call noundef zeroext i1 @_ZNK10MirBuilder12block_activeEv(ptr noundef nonnull align 8 dereferenceable(440) %118)
  br i1 %119, label %593, label %606

.loopexit195:                                     ; preds = %148, %151, %154, %156, %158, %160
  %lpad.loopexit197 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

.loopexit.split-lp196:                            ; preds = %137
  %lpad.loopexit.split-lp198 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

.lr.ph238:                                        ; preds = %.preheader194, %290
  %120 = phi i64 [ %.pre-phi, %290 ], [ %114, %.preheader194 ]
  %121 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %120)
  %122 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #7
  %123 = load i64, ptr %5, align 8, !tbaa !5
  %.not125 = icmp ugt i64 %122, %123
  br i1 %.not125, label %.critedge, label %124

124:                                              ; preds = %.lr.ph238
  %125 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %120)
  %126 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %125) #7
  %127 = load i64, ptr %5, align 8, !tbaa !5
  %128 = icmp eq i64 %126, %127
  br i1 %128, label %148, label %129

129:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %130 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %130)
          to label %131 unwind label %138

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  store ptr %5, ptr %16, align 8, !tbaa !11
  %132 = getelementptr inbounds i8, ptr %16, i64 8
  store ptr %1, ptr %132, align 8, !tbaa !11
  %133 = getelementptr inbounds i8, ptr %16, i64 16
  store ptr %13, ptr %133, align 8, !tbaa !11
  invoke void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %134 unwind label %140

134:                                              ; preds = %131
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull %15)
          to label %135 unwind label %142

135:                                              ; preds = %134
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  %136 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %136, ptr noundef nonnull @.str.10)
          to label %137 unwind label %146

137:                                              ; preds = %135
  invoke void @__cxa_throw(ptr nonnull %136, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %609 unwind label %.loopexit.split-lp196

138:                                              ; preds = %129
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %145

140:                                              ; preds = %131
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %144

142:                                              ; preds = %134
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %144

144:                                              ; preds = %142, %140
  %.pn158 = phi { ptr, i32 } [ %143, %142 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %145

145:                                              ; preds = %144, %138
  %.pn158.pn = phi { ptr, i32 } [ %.pn158, %144 ], [ %139, %138 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %.loopexit.split-lp185

146:                                              ; preds = %135
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %136) #7
  br label %.loopexit.split-lp185

148:                                              ; preds = %124
  %149 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %150 unwind label %.loopexit195

150:                                              ; preds = %148
  br i1 %149, label %151, label %162

151:                                              ; preds = %150
  %152 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %152, ptr noundef nonnull @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %154 unwind label %.loopexit195

154:                                              ; preds = %151
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %153, i64 noundef %120)
          to label %156 unwind label %.loopexit195

156:                                              ; preds = %154
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull @.str.80)
          to label %158 unwind label %.loopexit195

158:                                              ; preds = %156
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %157, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %160 unwind label %.loopexit195

160:                                              ; preds = %158
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %162 unwind label %.loopexit195

162:                                              ; preds = %160, %150
  %163 = call noundef zeroext i1 @_ZNK14t_rules_subset6is_armEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  br i1 %163, label %164, label %249

164:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  %165 = invoke { i64, i64 } @_ZNK14t_rules_subset7arm_idxEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %120)
          to label %166 unwind label %.loopexit203

166:                                              ; preds = %164
  %167 = extractvalue { i64, i64 } %165, 0
  store i64 %167, ptr %17, align 8
  %168 = extractvalue { i64, i64 } %165, 1
  store i64 %168, ptr %112, align 8
  %169 = load ptr, ptr %113, align 8, !tbaa !18
  %170 = call noundef i64 @_ZNKSt6vectorI7ArmCodeSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %169) #7
  %.not165 = icmp eq i64 %170, 0
  br i1 %.not165, label %171, label %184

171:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %172 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %172)
          to label %173 unwind label %177

173:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull %19)
          to label %174 unwind label %179

174:                                              ; preds = %173
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  %175 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %175, ptr noundef nonnull @.str.10)
          to label %176 unwind label %182

176:                                              ; preds = %174
  invoke void @__cxa_throw(ptr nonnull %175, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %609 unwind label %.loopexit.split-lp204

.loopexit203:                                     ; preds = %164
  %lpad.loopexit205 = landingpad { ptr, i32 }
          cleanup
  br label %248

.loopexit.split-lp204:                            ; preds = %176
  %lpad.loopexit.split-lp206 = landingpad { ptr, i32 }
          cleanup
  br label %248

177:                                              ; preds = %171
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %181

179:                                              ; preds = %173
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br label %181

181:                                              ; preds = %179, %177
  %.pn166 = phi { ptr, i32 } [ %180, %179 ], [ %178, %177 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %248

182:                                              ; preds = %174
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %175) #7
  br label %248

184:                                              ; preds = %166
  %185 = load ptr, ptr %113, align 8, !tbaa !18
  %186 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7ArmCodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %167) #7
  %187 = getelementptr inbounds i8, ptr %186, i64 8
  %188 = call noundef i64 @_ZNKSt6vectorIN7ArmCode7PatternESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %187) #7
  %189 = icmp ult i64 %168, %188
  br i1 %189, label %204, label %190

190:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %191 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %191)
          to label %192 unwind label %197

192:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  store ptr %17, ptr %23, align 8, !tbaa !11
  %193 = getelementptr inbounds i8, ptr %23, i64 8
  store ptr %186, ptr %193, align 8, !tbaa !11
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull %22)
          to label %194 unwind label %199

194:                                              ; preds = %192
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  %195 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %195, ptr noundef nonnull @.str.10)
          to label %.invoke289 unwind label %202

.invoke289:                                       ; preds = %194, %238
  %196 = phi ptr [ %239, %238 ], [ %195, %194 ]
  invoke void @__cxa_throw(ptr nonnull %196, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %.cont290 unwind label %.loopexit.split-lp209

.cont290:                                         ; preds = %.invoke289
  unreachable

197:                                              ; preds = %190
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %192
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %201

201:                                              ; preds = %199, %197
  %.pn168 = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %248

202:                                              ; preds = %194
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %195) #7
  br label %248

.loopexit208:                                     ; preds = %204, %207
  %lpad.loopexit210 = landingpad { ptr, i32 }
          cleanup
  br label %248

.loopexit.split-lp209:                            ; preds = %.invoke289
  %lpad.loopexit.split-lp211 = landingpad { ptr, i32 }
          cleanup
  br label %248

204:                                              ; preds = %184
  %205 = load ptr, ptr %111, align 8, !tbaa !17
  %206 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorIN7ArmCode7PatternESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %168)
          to label %207 unwind label %.loopexit208

207:                                              ; preds = %204
  %208 = load i32, ptr %206, align 4, !tbaa !19
  invoke void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Terminator") align 8 %24, i32 noundef %208)
          to label %209 unwind label %.loopexit208

209:                                              ; preds = %207
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %205, ptr noundef nonnull %24)
          to label %210 unwind label %219

210:                                              ; preds = %209
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %24) #7
  %211 = load i8, ptr %186, align 8, !tbaa !21, !range !28, !noundef !29
  %212 = trunc nuw i8 %211 to i1
  br i1 %212, label %213, label %231

213:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  store ptr @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %214 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %214)
          to label %215 unwind label %221

215:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  store ptr %25, ptr %28, align 8, !tbaa !11
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_5vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull %27)
          to label %216 unwind label %223

216:                                              ; preds = %215
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  %217 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %217, ptr noundef nonnull @.str.5)
          to label %218 unwind label %226

218:                                              ; preds = %216
  invoke void @__cxa_throw(ptr nonnull %217, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %609 unwind label %228

219:                                              ; preds = %209
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %24) #7
  br label %248

221:                                              ; preds = %213
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %225

223:                                              ; preds = %215
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br label %225

225:                                              ; preds = %223, %221
  %.pn172 = phi { ptr, i32 } [ %224, %223 ], [ %222, %221 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  br label %230

226:                                              ; preds = %216
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %217) #7
  br label %230

228:                                              ; preds = %218
  %229 = landingpad { ptr, i32 }
          cleanup
  br label %230

230:                                              ; preds = %228, %226, %225
  %.pn174 = phi { ptr, i32 } [ %229, %228 ], [ %227, %226 ], [ %.pn172, %225 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %248

231:                                              ; preds = %210
  %232 = add nuw i64 %120, 1
  %233 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %234 = icmp eq i64 %232, %233
  br i1 %234, label %247, label %235

235:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #7
  %236 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %236)
          to label %237 unwind label %240

237:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull %30)
          to label %238 unwind label %242

238:                                              ; preds = %237
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  %239 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %239, ptr noundef nonnull @.str.10)
          to label %.invoke289 unwind label %245

240:                                              ; preds = %235
  %241 = landingpad { ptr, i32 }
          cleanup
  br label %244

242:                                              ; preds = %237
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  br label %244

244:                                              ; preds = %242, %240
  %.pn170 = phi { ptr, i32 } [ %243, %242 ], [ %241, %240 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  br label %248

245:                                              ; preds = %238
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %239) #7
  br label %248

247:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  br label %290

248:                                              ; preds = %.loopexit208, %.loopexit.split-lp209, %.loopexit203, %.loopexit.split-lp204, %201, %202, %219, %230, %244, %245, %182, %181
  %.pn174.pn.pn = phi { ptr, i32 } [ %183, %182 ], [ %.pn166, %181 ], [ %.pn174, %230 ], [ %246, %245 ], [ %.pn170, %244 ], [ %220, %219 ], [ %203, %202 ], [ %.pn168, %201 ], [ %lpad.loopexit205, %.loopexit203 ], [ %lpad.loopexit.split-lp206, %.loopexit.split-lp204 ], [ %lpad.loopexit210, %.loopexit208 ], [ %lpad.loopexit.split-lp211, %.loopexit.split-lp209 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  br label %.loopexit.split-lp185

249:                                              ; preds = %162
  %250 = invoke noundef i32 @_ZNK14t_rules_subset6bb_idxEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %120)
          to label %251 unwind label %.loopexit.split-lp185.loopexit

251:                                              ; preds = %249
  %252 = load ptr, ptr %111, align 8, !tbaa !17
  invoke void @_ZN3MIR10Terminator9make_GotoEj(ptr dead_on_unwind nonnull writable sret(%"class.MIR::Terminator") align 8 %32, i32 noundef %250)
          to label %253 unwind label %.loopexit.split-lp185.loopexit

253:                                              ; preds = %251
  invoke void @_ZN10MirBuilder9end_blockEN3MIR10TerminatorE(ptr noundef nonnull align 8 dereferenceable(440) %252, ptr noundef nonnull %32)
          to label %254 unwind label %272

254:                                              ; preds = %253
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %32) #7
  %255 = add nuw i64 %120, 1
  %256 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %257 = icmp ult i64 %255, %256
  br i1 %257, label %.lr.ph235, label %.critedge2

.lr.ph235:                                        ; preds = %254, %267
  %258 = phi i64 [ %268, %267 ], [ %120, %254 ]
  %259 = invoke noundef i32 @_ZNK14t_rules_subset6bb_idxEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %258)
          to label %260 unwind label %.loopexit184

260:                                              ; preds = %.lr.ph235
  %261 = icmp eq i32 %250, %259
  br i1 %261, label %262, label %.critedge2.loopexit

262:                                              ; preds = %260
  %263 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %258)
  %264 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %263) #7
  %265 = load i64, ptr %5, align 8, !tbaa !5
  %266 = icmp eq i64 %264, %265
  br i1 %266, label %267, label %.critedge2.loopexit

267:                                              ; preds = %262
  %268 = add i64 %258, 1
  store i64 %268, ptr %13, align 8, !tbaa !5
  %269 = add i64 %258, 2
  %270 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %271 = icmp ult i64 %269, %270
  br i1 %271, label %.lr.ph235, label %.critedge2.loopexit, !llvm.loop !30

.loopexit184:                                     ; preds = %.lr.ph235
  %lpad.loopexit186 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

.loopexit.split-lp185.loopexit:                   ; preds = %251, %249
  %lpad.loopexit200 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

.loopexit.split-lp185.loopexit.split-lp:          ; preds = %282
  %lpad.loopexit.split-lp201 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

272:                                              ; preds = %253
  %273 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3MIR10TerminatorD2Ev(ptr noundef nonnull align 8 dereferenceable(168) %32) #7
  br label %.loopexit.split-lp185

.critedge2.loopexit:                              ; preds = %262, %267, %260
  %274 = phi i64 [ %258, %262 ], [ %268, %267 ], [ %258, %260 ]
  %.pre = add i64 %274, 1
  br label %.critedge2

.critedge2:                                       ; preds = %.critedge2.loopexit, %254
  %.pre-phi276 = phi i64 [ %.pre, %.critedge2.loopexit ], [ %255, %254 ]
  %275 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %276 = icmp eq i64 %.pre-phi276, %275
  br i1 %276, label %290, label %277

277:                                              ; preds = %.critedge2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  %278 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %278)
          to label %279 unwind label %283

279:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 1 dereferenceable(1) %35) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull %34)
          to label %280 unwind label %285

280:                                              ; preds = %279
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  %281 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %281, ptr noundef nonnull @.str.10)
          to label %282 unwind label %288

282:                                              ; preds = %280
  invoke void @__cxa_throw(ptr nonnull %281, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %609 unwind label %.loopexit.split-lp185.loopexit.split-lp

283:                                              ; preds = %277
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %287

285:                                              ; preds = %279
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br label %287

287:                                              ; preds = %285, %283
  %.pn161 = phi { ptr, i32 } [ %286, %285 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  br label %.loopexit.split-lp185

288:                                              ; preds = %280
  %289 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %281) #7
  br label %.loopexit.split-lp185

290:                                              ; preds = %.critedge2, %247
  %.pre-phi = phi i64 [ %.pre-phi276, %.critedge2 ], [ %232, %247 ]
  store i64 %.pre-phi, ptr %13, align 8, !tbaa !5
  %291 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %292 = icmp ult i64 %.pre-phi, %291
  br i1 %292, label %.lr.ph238, label %.critedge, !llvm.loop !31

.critedge:                                        ; preds = %.lr.ph238, %290, %.preheader194
  %293 = phi i64 [ %114, %.preheader194 ], [ %120, %.lr.ph238 ], [ %.pre-phi, %290 ]
  %294 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %295 = icmp ult i64 %293, %294
  br i1 %295, label %.lr.ph240, label %._crit_edge241

.lr.ph240:                                        ; preds = %.critedge, %315
  %296 = phi i64 [ %316, %315 ], [ %293, %.critedge ]
  %297 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %296)
  %298 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %297) #7
  %299 = load i64, ptr %5, align 8, !tbaa !5
  %.not126 = icmp ugt i64 %298, %299
  br i1 %.not126, label %300, label %._crit_edge241

300:                                              ; preds = %.lr.ph240
  %301 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %296)
  %302 = load i64, ptr %5, align 8, !tbaa !5
  %303 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %301, i64 noundef %302) #7
  %304 = call noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %303)
  br i1 %304, label %._crit_edge241, label %305

305:                                              ; preds = %300
  %306 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %296)
  %307 = load i64, ptr %5, align 8, !tbaa !5
  %308 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %306, i64 noundef %307) #7
  %309 = call noundef zeroext i1 @_ZNK11PatternRule13is_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %308)
  br i1 %309, label %._crit_edge241, label %310

310:                                              ; preds = %305
  %311 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %296)
  %312 = load i64, ptr %5, align 8, !tbaa !5
  %313 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %311, i64 noundef %312) #7
  %314 = call noundef zeroext i1 @_ZNK11PatternRule13is_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %313)
  br i1 %314, label %._crit_edge241, label %315

315:                                              ; preds = %310
  %316 = add nuw i64 %296, 1
  store i64 %316, ptr %13, align 8, !tbaa !5
  %317 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %318 = icmp ult i64 %316, %317
  br i1 %318, label %.lr.ph240, label %._crit_edge241, !llvm.loop !32

._crit_edge241:                                   ; preds = %315, %.lr.ph240, %300, %305, %310, %.critedge
  %319 = phi i64 [ %293, %.critedge ], [ %316, %315 ], [ %296, %.lr.ph240 ], [ %296, %300 ], [ %296, %305 ], [ %296, %310 ]
  %320 = icmp ult i64 %293, %319
  br i1 %320, label %321, label %485

321:                                              ; preds = %._crit_edge241
  %322 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %323 unwind label %.loopexit.split-lp190

323:                                              ; preds = %321
  br i1 %322, label %324, label %340

324:                                              ; preds = %323
  %325 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %325, ptr noundef nonnull @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %327 unwind label %.loopexit.split-lp190

327:                                              ; preds = %324
  %328 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %326, i64 noundef %293)
          to label %329 unwind label %.loopexit.split-lp190

329:                                              ; preds = %327
  %330 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %328, ptr noundef nonnull @.str.81)
          to label %331 unwind label %.loopexit.split-lp190

331:                                              ; preds = %329
  %332 = sub i64 %319, %293
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %330, i64 noundef %332)
          to label %334 unwind label %.loopexit.split-lp190

334:                                              ; preds = %331
  %335 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %333, ptr noundef nonnull @.str.82)
          to label %336 unwind label %.loopexit.split-lp190

336:                                              ; preds = %334
  %337 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %335, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %338 unwind label %.loopexit.split-lp190

338:                                              ; preds = %336
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %337, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %340 unwind label %.loopexit.split-lp190

.loopexit189:                                     ; preds = %.lr.ph258
  %lpad.loopexit191 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

.loopexit.split-lp190:                            ; preds = %321, %324, %327, %329, %331, %334, %336, %338, %.critedge4, %511, %514, %516, %518, %520, %522, %524
  %lpad.loopexit.split-lp192 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

340:                                              ; preds = %338, %323
  %341 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %342 = icmp ult i64 %319, %341
  br i1 %342, label %343, label %346

343:                                              ; preds = %340
  %344 = load ptr, ptr %111, align 8, !tbaa !17
  %345 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %344)
          to label %348 unwind label %353

346:                                              ; preds = %340
  %347 = load i32, ptr %6, align 4, !tbaa !9
  br label %348

348:                                              ; preds = %343, %346
  %349 = phi i32 [ %347, %346 ], [ %345, %343 ]
  %350 = load i64, ptr %5, align 8, !tbaa !5
  %351 = sub i64 %319, %293
  invoke void @_ZN14t_rules_subset8sub_sortEmmm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %350, i64 noundef %293, i64 noundef %351)
          to label %.lr.ph249.preheader unwind label %353

.lr.ph249.preheader:                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #7
  call void @_ZNSt6vectorI14t_rules_subsetSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  br label %.lr.ph249

._crit_edge250:                                   ; preds = %374
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %38) #7
  %352 = sub i64 %319, %.1115
  invoke void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind nonnull writable sret(%class.t_rules_subset) align 8 %38, ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %.1115, i64 noundef %352)
          to label %376 unwind label %394

353:                                              ; preds = %348, %343
  %354 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

.lr.ph249:                                        ; preds = %.lr.ph249.preheader, %374
  %.0114247 = phi i64 [ %.1115, %374 ], [ %293, %.lr.ph249.preheader ]
  %.0116246 = phi i64 [ %375, %374 ], [ %293, %.lr.ph249.preheader ]
  %355 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %.0116246)
  %356 = load i64, ptr %5, align 8, !tbaa !5
  %357 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %355, i64 noundef %356) #7
  %358 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %.0114247)
  %359 = load i64, ptr %5, align 8, !tbaa !5
  %360 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %358, i64 noundef %359) #7
  %361 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115rule_compatibleERK11PatternRuleS2_(ptr noundef nonnull align 8 dereferenceable(120) %357, ptr noundef nonnull align 8 dereferenceable(120) %360)
          to label %362 unwind label %367

362:                                              ; preds = %.lr.ph249
  br i1 %361, label %374, label %363

363:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %37) #7
  %364 = sub i64 %.0116246, %.0114247
  invoke void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind nonnull writable sret(%class.t_rules_subset) align 8 %37, ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %.0114247, i64 noundef %364)
          to label %365 unwind label %369

365:                                              ; preds = %363
  invoke void @_ZNSt6vectorI14t_rules_subsetSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(56) %37)
          to label %366 unwind label %371

366:                                              ; preds = %365
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %37) #7
  br label %374

367:                                              ; preds = %.lr.ph249
  %368 = landingpad { ptr, i32 }
          cleanup
  br label %484

369:                                              ; preds = %363
  %370 = landingpad { ptr, i32 }
          cleanup
  br label %373

371:                                              ; preds = %365
  %372 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #7
  br label %373

373:                                              ; preds = %371, %369
  %.pn152 = phi { ptr, i32 } [ %372, %371 ], [ %370, %369 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %37) #7
  br label %484

374:                                              ; preds = %362, %366
  %.1115 = phi i64 [ %.0114247, %362 ], [ %.0116246, %366 ]
  %375 = add i64 %.0116246, 1
  %exitcond.not = icmp eq i64 %375, %319
  br i1 %exitcond.not, label %._crit_edge250, label %.lr.ph249, !llvm.loop !33

376:                                              ; preds = %._crit_edge250
  invoke void @_ZNSt6vectorI14t_rules_subsetSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(56) %38)
          to label %377 unwind label %396

377:                                              ; preds = %376
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %38) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %38) #7
  %378 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %379 unwind label %399

379:                                              ; preds = %377
  br i1 %378, label %380, label %401

380:                                              ; preds = %379
  %381 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %382 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %381, ptr noundef nonnull @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %383 unwind label %399

383:                                              ; preds = %380
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %382, ptr noundef nonnull @.str.70)
          to label %385 unwind label %399

385:                                              ; preds = %383
  %386 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %387 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %384, i64 noundef %386)
          to label %388 unwind label %399

388:                                              ; preds = %385
  %389 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %387, ptr noundef nonnull @.str.83)
          to label %390 unwind label %399

390:                                              ; preds = %388
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %389, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %392 unwind label %399

392:                                              ; preds = %390
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %391, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %401 unwind label %399

394:                                              ; preds = %._crit_edge250
  %395 = landingpad { ptr, i32 }
          cleanup
  br label %398

396:                                              ; preds = %376
  %397 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %38) #7
  br label %398

398:                                              ; preds = %396, %394
  %.pn127 = phi { ptr, i32 } [ %397, %396 ], [ %395, %394 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %38) #7
  br label %484

399:                                              ; preds = %392, %390, %388, %385, %383, %380, %377
  %400 = landingpad { ptr, i32 }
          cleanup
  br label %484

401:                                              ; preds = %392, %379
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #7
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  %402 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  invoke void @_ZNSt6vectorIjSaIjEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %402)
          to label %403 unwind label %412

403:                                              ; preds = %401
  %404 = load ptr, ptr %111, align 8, !tbaa !17
  %405 = invoke noundef i32 @_ZN10MirBuilder15pause_cur_blockEv(ptr noundef nonnull align 8 dereferenceable(440) %404)
          to label %406 unwind label %414

406:                                              ; preds = %403
  %407 = call ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %408 = call ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP14t_rules_subsetSt6vectorIS2_SaIS2_EEEEZN15MatchGenGrouped13gen_for_sliceES2_mjE4$_11EvT_SA_T0_"(ptr %407, ptr %408, ptr nonnull %5)
          to label %409 unwind label %414

409:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #7
  store i64 0, ptr %40, align 8, !tbaa !5
  %410 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %.not264 = icmp eq i64 %410, 0
  br i1 %.not264, label %._crit_edge257, label %.lr.ph256

._crit_edge257:                                   ; preds = %470, %409
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  %411 = load ptr, ptr %111, align 8, !tbaa !17
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %411, i32 noundef %405)
          to label %477 unwind label %414

412:                                              ; preds = %401
  %413 = landingpad { ptr, i32 }
          cleanup
  br label %483

414:                                              ; preds = %480, %477, %._crit_edge257, %406, %403
  %415 = landingpad { ptr, i32 }
          cleanup
  br label %483

.lr.ph256:                                        ; preds = %409, %470
  %416 = phi i64 [ %471, %470 ], [ 0, %409 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #7
  %417 = load ptr, ptr %111, align 8, !tbaa !17
  %418 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %417)
          to label %419 unwind label %429

419:                                              ; preds = %.lr.ph256
  store i32 %418, ptr %41, align 4, !tbaa !9
  %420 = load ptr, ptr %111, align 8, !tbaa !17
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %420, i32 noundef %418)
          to label %421 unwind label %429

421:                                              ; preds = %419
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #7
  store i64 0, ptr %42, align 8, !tbaa !5
  %422 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %416) #7
  %423 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %422)
  %.not265 = icmp eq i64 %423, 0
  br i1 %.not265, label %._crit_edge254, label %.lr.ph253.peel

.lr.ph253.peel:                                   ; preds = %421
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %424 unwind label %.loopexit.loopexit.split-lp

424:                                              ; preds = %.lr.ph253.peel
  store i64 1, ptr %42, align 8, !tbaa !5
  %425 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %416) #7
  %426 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %425)
  %427 = icmp ugt i64 %426, 1
  br i1 %427, label %.lr.ph253, label %._crit_edge254

._crit_edge254:                                   ; preds = %424, %462, %421
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #7
  %428 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %416) #7
  invoke void @_ZN14t_rules_subsetC2ERKS_(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 8 dereferenceable(56) %428)
          to label %467 unwind label %429

429:                                              ; preds = %._crit_edge254, %419, %.lr.ph256
  %430 = landingpad { ptr, i32 }
          cleanup
  br label %476

.loopexit.loopexit:                               ; preds = %461, %.lr.ph253
  %lpad.loopexit316 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit.loopexit.split-lp:                      ; preds = %.lr.ph253.peel
  %lpad.loopexit.split-lp317 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit.split-lp:                               ; preds = %450
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.lr.ph253:                                        ; preds = %424, %462
  %431 = phi i64 [ %463, %462 ], [ 1, %424 ]
  %432 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %416) #7
  %433 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %432, i64 noundef 0)
  %434 = load i64, ptr %5, align 8, !tbaa !5
  %435 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %433, i64 noundef %434) #7
  %436 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %416) #7
  %437 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %436, i64 noundef %431)
  %438 = load i64, ptr %5, align 8, !tbaa !5
  %439 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %437, i64 noundef %438) #7
  %440 = invoke noundef zeroext i1 @_ZNK11PatternRuleeqERKS_(ptr noundef nonnull align 8 dereferenceable(120) %435, ptr noundef nonnull align 8 dereferenceable(120) %439)
          to label %441 unwind label %.loopexit.loopexit

441:                                              ; preds = %.lr.ph253
  br i1 %440, label %461, label %.loopexit318

.loopexit318:                                     ; preds = %441
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #7
  %442 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %442)
          to label %443 unwind label %451

443:                                              ; preds = %.loopexit318
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %45) #7
  store ptr %36, ptr %45, align 8, !tbaa !11
  %444 = getelementptr inbounds i8, ptr %45, i64 8
  store ptr %40, ptr %444, align 8, !tbaa !11
  %445 = getelementptr inbounds i8, ptr %45, i64 16
  store ptr %5, ptr %445, align 8, !tbaa !11
  %446 = getelementptr inbounds i8, ptr %45, i64 24
  store ptr %42, ptr %446, align 8, !tbaa !11
  invoke void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_8vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %447 unwind label %453

447:                                              ; preds = %443
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull %44)
          to label %448 unwind label %455

448:                                              ; preds = %447
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  %449 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %449, ptr noundef nonnull @.str.10)
          to label %450 unwind label %459

450:                                              ; preds = %448
  invoke void @__cxa_throw(ptr nonnull %449, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %609 unwind label %.loopexit.split-lp

451:                                              ; preds = %.loopexit318
  %452 = landingpad { ptr, i32 }
          cleanup
  br label %458

453:                                              ; preds = %443
  %454 = landingpad { ptr, i32 }
          cleanup
  br label %457

455:                                              ; preds = %447
  %456 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #7
  br label %457

457:                                              ; preds = %455, %453
  %.pn144 = phi { ptr, i32 } [ %456, %455 ], [ %454, %453 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #7
  br label %458

458:                                              ; preds = %457, %451
  %.pn144.pn = phi { ptr, i32 } [ %.pn144, %457 ], [ %452, %451 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  br label %.loopexit

459:                                              ; preds = %448
  %460 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %449) #7
  br label %.loopexit

461:                                              ; preds = %441
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %462 unwind label %.loopexit.loopexit

462:                                              ; preds = %461
  %463 = add nuw i64 %431, 1
  store i64 %463, ptr %42, align 8, !tbaa !5
  %464 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI14t_rules_subsetSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %416) #7
  %465 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %464)
  %466 = icmp ult i64 %463, %465
  br i1 %466, label %.lr.ph253, label %._crit_edge254, !llvm.loop !34

.loopexit:                                        ; preds = %.loopexit.loopexit, %.loopexit.loopexit.split-lp, %.loopexit.split-lp, %459, %458
  %.pn147 = phi { ptr, i32 } [ %460, %459 ], [ %.pn144.pn, %458 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit316, %.loopexit.loopexit ], [ %lpad.loopexit.split-lp317, %.loopexit.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #7
  br label %476

467:                                              ; preds = %._crit_edge254
  %468 = load i64, ptr %5, align 8, !tbaa !5
  %469 = add i64 %468, 1
  invoke void @_ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %46, i64 noundef %469, i32 noundef %349)
          to label %470 unwind label %474

470:                                              ; preds = %467
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #7
  %471 = add i64 %416, 1
  store i64 %471, ptr %40, align 8, !tbaa !5
  %472 = call noundef i64 @_ZNKSt6vectorI14t_rules_subsetSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %473 = icmp ult i64 %471, %472
  br i1 %473, label %.lr.ph256, label %._crit_edge257, !llvm.loop !36

474:                                              ; preds = %467
  %475 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #7
  br label %476

476:                                              ; preds = %474, %.loopexit, %429
  %.pn147.pn = phi { ptr, i32 } [ %.pn147, %.loopexit ], [ %475, %474 ], [ %430, %429 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  br label %483

477:                                              ; preds = %._crit_edge257
  %478 = load i64, ptr %5, align 8, !tbaa !5
  invoke void @_ZN15MatchGenGrouped12gen_dispatchERKSt6vectorI14t_rules_subsetSaIS1_EEmRKS0_IjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %478, ptr noundef nonnull align 8 dereferenceable(24) %39, i32 noundef %349)
          to label %479 unwind label %414

479:                                              ; preds = %477
  br i1 %342, label %480, label %482

480:                                              ; preds = %479
  %481 = load ptr, ptr %111, align 8, !tbaa !17
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %481, i32 noundef %349)
          to label %482 unwind label %414

482:                                              ; preds = %480, %479
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #7
  call void @_ZNSt6vectorI14t_rules_subsetSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  br label %485

483:                                              ; preds = %414, %476, %412
  %.pn147.pn.pn.pn = phi { ptr, i32 } [ %413, %412 ], [ %.pn147.pn, %476 ], [ %415, %414 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #7
  br label %484

484:                                              ; preds = %367, %373, %483, %399, %398
  %.pn152.pn.pn = phi { ptr, i32 } [ %.pn147.pn.pn.pn, %483 ], [ %400, %399 ], [ %.pn127, %398 ], [ %.pn152, %373 ], [ %368, %367 ]
  call void @_ZNSt6vectorI14t_rules_subsetSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #7
  br label %.loopexit.split-lp185

485:                                              ; preds = %._crit_edge241, %482
  %486 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %487 = icmp ult i64 %319, %486
  br i1 %487, label %488, label %589

488:                                              ; preds = %485
  %489 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %319)
  %490 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %489) #7
  %491 = load i64, ptr %5, align 8, !tbaa !5
  %492 = icmp ugt i64 %490, %491
  br i1 %492, label %.preheader, label %589

.preheader:                                       ; preds = %488
  %493 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %494 = icmp ult i64 %319, %493
  br i1 %494, label %.lr.ph258, label %.critedge4

.lr.ph258:                                        ; preds = %.preheader, %504
  %495 = phi i64 [ %505, %504 ], [ %319, %.preheader ]
  %496 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %495)
  %497 = load i64, ptr %5, align 8, !tbaa !5
  %498 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %496, i64 noundef %497) #7
  %499 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %319)
  %500 = load i64, ptr %5, align 8, !tbaa !5
  %501 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %499, i64 noundef %500) #7
  %502 = invoke noundef zeroext i1 @_ZNK11PatternRuleeqERKS_(ptr noundef nonnull align 8 dereferenceable(120) %498, ptr noundef nonnull align 8 dereferenceable(120) %501)
          to label %503 unwind label %.loopexit189

503:                                              ; preds = %.lr.ph258
  br i1 %502, label %504, label %.critedge4

504:                                              ; preds = %503
  %505 = add i64 %495, 1
  store i64 %505, ptr %13, align 8, !tbaa !5
  %506 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %507 = icmp ult i64 %505, %506
  br i1 %507, label %.lr.ph258, label %.critedge4, !llvm.loop !37

.critedge4:                                       ; preds = %504, %503, %.preheader
  %508 = phi i64 [ %319, %.preheader ], [ %505, %504 ], [ %495, %503 ]
  %509 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %510 unwind label %.loopexit.split-lp190

510:                                              ; preds = %.critedge4
  br i1 %509, label %511, label %526

511:                                              ; preds = %510
  %512 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %513 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %512, ptr noundef nonnull @__func__._ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj)
          to label %514 unwind label %.loopexit.split-lp190

514:                                              ; preds = %511
  %515 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %513, i64 noundef %319)
          to label %516 unwind label %.loopexit.split-lp190

516:                                              ; preds = %514
  %517 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %515, ptr noundef nonnull @.str.85)
          to label %518 unwind label %.loopexit.split-lp190

518:                                              ; preds = %516
  %519 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %517, i64 noundef %508)
          to label %520 unwind label %.loopexit.split-lp190

520:                                              ; preds = %518
  %521 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %519, ptr noundef nonnull @.str.86)
          to label %522 unwind label %.loopexit.split-lp190

522:                                              ; preds = %520
  %523 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %521, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %524 unwind label %.loopexit.split-lp190

524:                                              ; preds = %522
  %525 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %523, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %526 unwind label %.loopexit.split-lp190

526:                                              ; preds = %524, %510
  %527 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %528 = icmp ult i64 %508, %527
  br i1 %528, label %529, label %532

529:                                              ; preds = %526
  %530 = load ptr, ptr %111, align 8, !tbaa !17
  %531 = invoke noundef i32 @_ZN10MirBuilder15new_bb_unlinkedEv(ptr noundef nonnull align 8 dereferenceable(440) %530)
          to label %534 unwind label %549

532:                                              ; preds = %526
  %533 = load i32, ptr %6, align 4, !tbaa !9
  br label %534

534:                                              ; preds = %529, %532
  %535 = phi i32 [ %533, %532 ], [ %531, %529 ]
  %536 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %319)
  %537 = load i64, ptr %5, align 8, !tbaa !5
  %538 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %536, i64 noundef %537) #7
  %539 = call noundef ptr @_ZNK11PatternRule14opt_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %538)
  %.not129 = icmp eq ptr %539, null
  br i1 %.not129, label %553, label %540

540:                                              ; preds = %534
  %541 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK14t_rules_subsetixEm(ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %319)
  %542 = load i64, ptr %5, align 8, !tbaa !5
  %543 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %541, i64 noundef %542) #7
  %544 = getelementptr inbounds i8, ptr %543, i64 96
  %545 = getelementptr inbounds i8, ptr %539, i64 40
  %546 = getelementptr inbounds i8, ptr %539, i64 80
  %547 = load i8, ptr %546, align 8, !tbaa !38, !range !28, !noundef !29
  %548 = trunc nuw i8 %547 to i1
  invoke void @_ZN15MatchGenGrouped18gen_dispatch_rangeERK12field_path_tRKN3MIR8ConstantES6_bj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %544, ptr noundef nonnull align 8 dereferenceable(40) %539, ptr noundef nonnull align 8 dereferenceable(40) %545, i1 noundef zeroext %548, i32 noundef %535)
          to label %572 unwind label %551

549:                                              ; preds = %529
  %550 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

551:                                              ; preds = %540
  %552 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

553:                                              ; preds = %534
  %554 = call noundef ptr @_ZNK11PatternRule14opt_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %538)
  %.not130 = icmp eq ptr %554, null
  br i1 %.not130, label %557, label %555

555:                                              ; preds = %553
  %556 = getelementptr inbounds i8, ptr %538, i64 96
  invoke void @_ZN15MatchGenGrouped23gen_dispatch_splitsliceERK12field_path_tRKN11PatternRule15Data_SplitSliceEj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(24) %556, ptr noundef nonnull align 8 dereferenceable(56) %554, i32 noundef %535)
          to label %572 unwind label %.loopexit213

.loopexit213:                                     ; preds = %555
  %lpad.loopexit215 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

.loopexit.split-lp214:                            ; preds = %564
  %lpad.loopexit.split-lp216 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp185

557:                                              ; preds = %553
  %558 = call noundef zeroext i1 @_ZNK11PatternRule6is_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %538)
  br i1 %558, label %572, label %559

559:                                              ; preds = %557
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #7
  %560 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %560)
          to label %561 unwind label %565

561:                                              ; preds = %559
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #7
  store ptr %538, ptr %49, align 8, !tbaa !11
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_9vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull %48)
          to label %562 unwind label %567

562:                                              ; preds = %561
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #7
  %563 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %563, ptr noundef nonnull @.str.10)
          to label %564 unwind label %570

564:                                              ; preds = %562
  invoke void @__cxa_throw(ptr nonnull %563, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %609 unwind label %.loopexit.split-lp214

565:                                              ; preds = %559
  %566 = landingpad { ptr, i32 }
          cleanup
  br label %569

567:                                              ; preds = %561
  %568 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #7
  br label %569

569:                                              ; preds = %567, %565
  %.pn131 = phi { ptr, i32 } [ %568, %567 ], [ %566, %565 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #7
  br label %.loopexit.split-lp185

570:                                              ; preds = %562
  %571 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %563) #7
  br label %.loopexit.split-lp185

572:                                              ; preds = %555, %557, %540
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %50) #7
  %573 = sub i64 %508, %319
  invoke void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind nonnull writable sret(%class.t_rules_subset) align 8 %50, ptr noundef nonnull align 8 dereferenceable(56) %1, i64 noundef %319, i64 noundef %573)
          to label %574 unwind label %580

574:                                              ; preds = %572
  call void @_ZN14t_rules_subsetC2EOS_(ptr noundef nonnull align 8 dereferenceable(56) %51, ptr noundef nonnull align 8 dereferenceable(56) %50) #7
  %575 = load i64, ptr %5, align 8, !tbaa !5
  %576 = add i64 %575, 1
  invoke void @_ZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmj(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %51, i64 noundef %576, i32 noundef %535)
          to label %577 unwind label %582

577:                                              ; preds = %574
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  br i1 %528, label %578, label %586

578:                                              ; preds = %577
  %579 = load ptr, ptr %111, align 8, !tbaa !17
  invoke void @_ZN10MirBuilder13set_cur_blockEj(ptr noundef nonnull align 8 dereferenceable(440) %579, i32 noundef %535)
          to label %586 unwind label %584

580:                                              ; preds = %572
  %581 = landingpad { ptr, i32 }
          cleanup
  br label %588

582:                                              ; preds = %574
  %583 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %51) #7
  br label %587

584:                                              ; preds = %578
  %585 = landingpad { ptr, i32 }
          cleanup
  br label %587

586:                                              ; preds = %578, %577
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %50) #7
  br label %589

587:                                              ; preds = %584, %582
  %.pn137 = phi { ptr, i32 } [ %585, %584 ], [ %583, %582 ]
  call void @_ZN14t_rules_subsetD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #7
  br label %588

588:                                              ; preds = %587, %580
  %.pn137.pn = phi { ptr, i32 } [ %.pn137, %587 ], [ %581, %580 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %50) #7
  br label %.loopexit.split-lp185

589:                                              ; preds = %586, %488, %485
  %590 = phi i64 [ %508, %586 ], [ %319, %488 ], [ %319, %485 ]
  %591 = call noundef i64 @_ZNK14t_rules_subset4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1)
  %592 = icmp ult i64 %590, %591
  br i1 %592, label %.preheader194, label %._crit_edge260, !llvm.loop !42

.loopexit.split-lp185:                            ; preds = %.loopexit213, %.loopexit.split-lp214, %.loopexit189, %.loopexit.split-lp190, %.loopexit184, %.loopexit.split-lp185.loopexit.split-lp, %.loopexit.split-lp185.loopexit, %.loopexit195, %.loopexit.split-lp196, %484, %353, %588, %569, %570, %551, %549, %272, %287, %288, %248, %146, %145
  %.pn174.pn.pn.pn = phi { ptr, i32 } [ %.pn174.pn.pn, %248 ], [ %147, %146 ], [ %.pn158.pn, %145 ], [ %289, %288 ], [ %.pn161, %287 ], [ %273, %272 ], [ %.pn152.pn.pn, %484 ], [ %354, %353 ], [ %550, %549 ], [ %.pn137.pn, %588 ], [ %552, %551 ], [ %571, %570 ], [ %.pn131, %569 ], [ %lpad.loopexit197, %.loopexit195 ], [ %lpad.loopexit.split-lp198, %.loopexit.split-lp196 ], [ %lpad.loopexit186, %.loopexit184 ], [ %lpad.loopexit200, %.loopexit.split-lp185.loopexit ], [ %lpad.loopexit.split-lp201, %.loopexit.split-lp185.loopexit.split-lp ], [ %lpad.loopexit191, %.loopexit189 ], [ %lpad.loopexit.split-lp192, %.loopexit.split-lp190 ], [ %lpad.loopexit215, %.loopexit213 ], [ %lpad.loopexit.split-lp216, %.loopexit.split-lp214 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %607

593:                                              ; preds = %._crit_edge260
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #7
  %594 = load ptr, ptr %0, align 8, !tbaa !13
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %594)
          to label %595 unwind label %599

595:                                              ; preds = %593
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %54) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE4$_10vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 1 dereferenceable(1) %54) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull %53)
          to label %596 unwind label %601

596:                                              ; preds = %595
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #7
  %597 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %597, ptr noundef nonnull @.str.10)
          to label %.invoke unwind label %604

.invoke:                                          ; preds = %64, %596
  %598 = phi ptr [ %597, %596 ], [ %65, %64 ]
  invoke void @__cxa_throw(ptr nonnull %598, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %.cont unwind label %68

.cont:                                            ; preds = %.invoke
  unreachable

599:                                              ; preds = %593
  %600 = landingpad { ptr, i32 }
          cleanup
  br label %603

601:                                              ; preds = %595
  %602 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #7
  br label %603

603:                                              ; preds = %601, %599
  %.pn123 = phi { ptr, i32 } [ %602, %601 ], [ %600, %599 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #7
  br label %607

604:                                              ; preds = %596
  %605 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %597) #7
  br label %607

606:                                              ; preds = %._crit_edge260
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  ret void

607:                                              ; preds = %604, %603, %.loopexit.split-lp185, %107, %75, %74, %68
  %.pn174.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn174.pn.pn.pn, %.loopexit.split-lp185 ], [ %69, %68 ], [ %605, %604 ], [ %.pn123, %603 ], [ %108, %107 ], [ %76, %75 ], [ %.pn, %74 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  br label %608

608:                                              ; preds = %607, %66
  %.pn174.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn174.pn.pn.pn.pn, %607 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn174.pn.pn.pn.pn.pn

609:                                              ; preds = %564, %450, %282, %218, %176, %137
  unreachable
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK14t_rules_subset6is_armEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_6vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK14t_rules_subset6bb_idxEm(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE3$_7vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11PatternRule13is_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115rule_compatibleERK11PatternRuleS2_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14t_rules_subset9sub_sliceEmm(ptr dead_on_unwind noalias writable sret(%class.t_rules_subset) align 8, ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP14t_rules_subsetSt6vectorIS2_SaIS2_EEEEZN15MatchGenGrouped13gen_for_sliceES2_mjE4$_11EvT_SA_T0_"(ptr, ptr, ptr) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MatchGenGrouped18gen_dispatch_rangeERK12field_path_tRKN3MIR8ConstantES6_bj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext, i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MatchGenGrouped23gen_dispatch_splitsliceERK12field_path_tRKN11PatternRule15Data_SplitSliceEj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoEEC2IZN15MatchGenGrouped13gen_for_sliceE14t_rules_subsetmjE4$_10vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTS15MatchGenGrouped", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !6, i64 40}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!14, !12, i64 8}
!18 = !{!14, !12, i64 32}
!19 = !{!20, !10, i64 0}
!20 = !{!"_ZTSN7ArmCode7PatternE", !10, i64 0, !10, i64 4}
!21 = !{!22, !23, i64 0}
!22 = !{!"_ZTS7ArmCode", !23, i64 0, !24, i64 8}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIN7ArmCode7PatternESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN7ArmCode7PatternESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN7ArmCode7PatternESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN7ArmCode7PatternESaIS1_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = distinct !{!30, !16}
!31 = distinct !{!31, !16}
!32 = distinct !{!32, !16}
!33 = distinct !{!33, !16}
!34 = distinct !{!34, !16, !35}
!35 = !{!"llvm.loop.peeled.count", i32 1}
!36 = distinct !{!36, !16}
!37 = distinct !{!37, !16}
!38 = !{!39, !23, i64 80}
!39 = !{!"_ZTSN11PatternRule15Data_ValueRangeE", !40, i64 0, !40, i64 40, !23, i64 80}
!40 = !{!"_ZTSN3MIR8ConstantE", !41, i64 0, !7, i64 8}
!41 = !{!"_ZTSN3MIR8Constant3TagE", !7, i64 0}
!42 = distinct !{!42, !16}


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