; LLVM IR from facebook/redex :: service/switch-dispatch (SwitchDispatch)

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

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%struct.MethodCreator = type <{ ptr, ptr, %"class.std::vector.11", %"class.std::vector.16", ptr, i8, [7 x i8] }>
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl" }
%"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl" = type { %"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.29" }
%"struct.std::_Head_base.29" = type { ptr }
%struct.Location = type <{ ptr, i32, [4 x i8] }>
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::map.21" = type { %"class.std::_Rb_tree.22" }
%"class.std::_Rb_tree.22" = type { %"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, MethodBlock *>, std::_Select1st<std::pair<const std::set<int>, MethodBlock *>>, std::less<std::set<int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, MethodBlock *>, std::_Select1st<std::pair<const std::set<int>, MethodBlock *>>, std::less<std::set<int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair" = type { %"class.std::set", ptr }
%"class.std::set" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.26" = type { %"class.std::set", ptr }
%class.DexMethod = type { %class.DexMethodRef.base, i8, i32, %"class.std::unique_ptr", %"class.std::unique_ptr.30", %"class.std::unique_ptr.38", %"class.std::unique_ptr.46", ptr, %class.ReferencedState }
%class.DexMethodRef.base = type <{ %struct.DexMethodSpec, i8, i8 }>
%struct.DexMethodSpec = type { ptr, ptr, ptr }
%"class.std::unique_ptr.30" = type { %"struct.std::__uniq_ptr_data.31" }
%"struct.std::__uniq_ptr_data.31" = type { %"class.std::__uniq_ptr_impl.32" }
%"class.std::__uniq_ptr_impl.32" = type { %"class.std::tuple.33" }
%"class.std::tuple.33" = type { %"struct.std::_Tuple_impl.34" }
%"struct.std::_Tuple_impl.34" = type { %"struct.std::_Head_base.37" }
%"struct.std::_Head_base.37" = type { ptr }
%"class.std::unique_ptr.38" = type { %"struct.std::__uniq_ptr_data.39" }
%"struct.std::__uniq_ptr_data.39" = type { %"class.std::__uniq_ptr_impl.40" }
%"class.std::__uniq_ptr_impl.40" = type { %"class.std::tuple.41" }
%"class.std::tuple.41" = type { %"struct.std::_Tuple_impl.42" }
%"struct.std::_Tuple_impl.42" = type { %"struct.std::_Head_base.45" }
%"struct.std::_Head_base.45" = type { ptr }
%"class.std::unique_ptr.46" = type { %"struct.std::__uniq_ptr_data.47" }
%"struct.std::__uniq_ptr_data.47" = type { %"class.std::__uniq_ptr_impl.48" }
%"class.std::__uniq_ptr_impl.48" = type { %"class.std::tuple.49" }
%"class.std::tuple.49" = type { %"struct.std::_Tuple_impl.50" }
%"struct.std::_Tuple_impl.50" = type { %"struct.std::_Head_base.53" }
%"struct.std::_Head_base.53" = type { ptr }
%class.ReferencedState = type { %"struct.ReferencedState::InnerStruct", i32, %"struct.std::atomic" }
%"struct.ReferencedState::InnerStruct" = type <{ i8, i16, %union.anon.54 }>
%union.anon.54 = type { %struct.anon }
%struct.anon = type { i8 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

declare noundef ptr @_ZN11MethodBlock9switch_opE8LocationRSt3mapISt3setIiSt4lessIiESaIiEEPS_S3_IS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i32, ptr noundef nonnull align 8 dereferenceable(48)) #3

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN8dispatch22create_simple_dispatchERKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS2_IS5_ESaISt4pairIKS5_S7_EEEP16DexAnnotationSetb(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, i1 noundef zeroext %2) #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.MethodCreator, align 8
  %15 = alloca %"class.std::unique_ptr", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::vector.11", align 8
  %19 = alloca %struct.Location, align 8
  %20 = alloca %"class.std::reverse_iterator", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.std::map.21", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %struct.Location, align 8
  %28 = alloca i8, align 1
  %29 = alloca %struct.Location, align 8
  %30 = alloca { ptr, i32 }, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %33 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca %struct.Location, align 8
  %38 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %39 = zext i1 %2 to i8
  store i8 %39, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = call noundef ptr @_ZN12_GLOBAL__N_126create_dispatch_method_refERKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS2_IS5_ESaISt4pairIKS5_S7_EEE(ptr noundef nonnull align 8 dereferenceable(48) %40)
  store ptr %41, ptr %8, align 8, !tbaa !5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %45, label %44

44:                                               ; preds = %3
  store ptr null, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %204

45:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %46)
  %48 = call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %47)
  store ptr %48, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = call ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %49) #6
  %51 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %12, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  %52 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %53 = getelementptr inbounds %"struct.std::pair", ptr %52, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  store ptr %54, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = call noundef i32 @_ZN12_GLOBAL__N_119get_dispatch_accessEP9DexMethod(ptr noundef %55)
  store i32 %56, ptr %13, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 80, ptr %14) #6
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = load i32, ptr %13, align 4, !tbaa !22
  call void @_ZNSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS0_EEC2IS2_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr null) #6
  invoke void @_ZN13MethodCreatorC1EP12DexMethodRef14DexAccessFlagsSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS4_EEb(ptr noundef nonnull align 8 dereferenceable(73) %14, ptr noundef %57, i32 noundef %58, ptr noundef %15, i1 noundef zeroext true)
          to label %59 unwind label %75

59:                                               ; preds = %45
  call void @_ZNSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  invoke void @_ZN13MethodCreator12get_reg_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.11") align 8 %18, ptr noundef nonnull align 8 dereferenceable(73) %14)
          to label %60 unwind label %79

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %61 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIP8LocationSt6vectorIS2_SaIS2_EEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %62 unwind label %83

62:                                               ; preds = %60
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %61, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %63 = invoke noundef ptr @_ZNK13MethodCreator14get_main_blockEv(ptr noundef nonnull align 8 dereferenceable(73) %14)
          to label %64 unwind label %87

64:                                               ; preds = %62
  store ptr %63, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %65, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %66 = load ptr, ptr %23, align 8, !tbaa !5
  %67 = call ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %66) #6
  %68 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %24, i32 0, i32 0
  store ptr %67, ptr %68, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %69 = load ptr, ptr %23, align 8, !tbaa !5
  %70 = call ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %69) #6
  %71 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %25, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  br label %72

72:                                               ; preds = %97, %64
  %73 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEESC_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br i1 %73, label %91, label %74

74:                                               ; preds = %72
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %103

75:                                               ; preds = %45
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %16, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %17, align 4
  call void @_ZNSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %203

79:                                               ; preds = %59
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %16, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %17, align 4
  br label %202

83:                                               ; preds = %60
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %16, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %201

87:                                               ; preds = %62
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %16, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %17, align 4
  br label %200

91:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %92 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  store ptr %92, ptr %26, align 8, !tbaa !5
  %93 = load ptr, ptr %26, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.std::pair", ptr %93, i32 0, i32 0
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(48) %94)
          to label %96 unwind label %99

96:                                               ; preds = %91
  store ptr null, ptr %95, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %97

97:                                               ; preds = %96
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br label %72

99:                                               ; preds = %91
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %16, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %199

103:                                              ; preds = %74
  %104 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !24
  %105 = getelementptr inbounds { ptr, i32 }, ptr %27, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8
  %107 = getelementptr inbounds { ptr, i32 }, ptr %27, i32 0, i32 1
  %108 = load i32, ptr %107, align 8
  %109 = invoke noundef ptr @_ZN11MethodBlock9switch_opE8LocationRSt3mapISt3setIiSt4lessIiESaIiEEPS_S3_IS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(16) %104, ptr %106, i32 %108, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %110 unwind label %135

110:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #6
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = invoke noundef ptr @_ZN4type5_voidEv()
          to label %113 unwind label %139

113:                                              ; preds = %110
  %114 = icmp ne ptr %111, %112
  %115 = zext i1 %114 to i8
  store i8 %115, ptr %28, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %116 = load i8, ptr %28, align 1, !tbaa !9, !range !27, !noundef !28
  %117 = trunc i8 %116 to i1
  br i1 %117, label %118, label %122

118:                                              ; preds = %113
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = invoke { ptr, i32 } @_ZN13MethodCreator10make_localEP7DexType(ptr noundef nonnull align 8 dereferenceable(73) %14, ptr noundef %119)
          to label %121 unwind label %143

121:                                              ; preds = %118
  store { ptr, i32 } %120, ptr %30, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %30, i64 12, i1 false)
  br label %125

122:                                              ; preds = %113
  %123 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN8Location5emptyEv()
          to label %124 unwind label %143

124:                                              ; preds = %122
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %123, i64 16, i1 false), !tbaa.struct !24
  br label %125

125:                                              ; preds = %124, %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  store ptr %22, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %126 = load ptr, ptr %31, align 8, !tbaa !5
  %127 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %126) #6
  %128 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %32, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %129 = load ptr, ptr %31, align 8, !tbaa !5
  %130 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %129) #6
  %131 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %33, i32 0, i32 0
  store ptr %130, ptr %131, align 8
  br label %132

132:                                              ; preds = %181, %125
  %133 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEESC_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  br i1 %133, label %147, label %134

134:                                              ; preds = %132
  store i32 4, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %183

135:                                              ; preds = %103
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %16, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %17, align 4
  br label %199

139:                                              ; preds = %110
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %16, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %17, align 4
  br label %198

143:                                              ; preds = %122, %118
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %16, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %17, align 4
  br label %197

147:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %148 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  store ptr %148, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %149 = load ptr, ptr %34, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.std::pair.26", ptr %149, i32 0, i32 1
  %151 = load ptr, ptr %150, align 8, !tbaa !29
  store ptr %151, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = load ptr, ptr %34, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.std::pair.26", ptr %153, i32 0, i32 0
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE2atERS9_(ptr noundef nonnull align 8 dereferenceable(48) %152, ptr noundef nonnull align 8 dereferenceable(48) %154)
          to label %156 unwind label %173

156:                                              ; preds = %147
  %157 = load ptr, ptr %155, align 8, !tbaa !5
  store ptr %157, ptr %36, align 8, !tbaa !5
  %158 = load ptr, ptr %35, align 8, !tbaa !5
  %159 = load ptr, ptr %36, align 8, !tbaa !5
  invoke void @_ZN11MethodBlock6invokeEP9DexMethodRKSt6vectorI8LocationSaIS3_EE(ptr noundef nonnull align 8 dereferenceable(16) %158, ptr noundef %159, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %160 unwind label %173

160:                                              ; preds = %156
  %161 = load i8, ptr %28, align 1, !tbaa !9, !range !27, !noundef !28
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %177

163:                                              ; preds = %160
  %164 = load ptr, ptr %35, align 8, !tbaa !5
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN11MethodBlock11move_resultER8LocationP7DexType(ptr noundef nonnull align 8 dereferenceable(16) %164, ptr noundef nonnull align 8 dereferenceable(12) %29, ptr noundef %165)
          to label %166 unwind label %173

166:                                              ; preds = %163
  %167 = load ptr, ptr %35, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %29, i64 16, i1 false), !tbaa.struct !24
  %168 = getelementptr inbounds { ptr, i32 }, ptr %37, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8
  %170 = getelementptr inbounds { ptr, i32 }, ptr %37, i32 0, i32 1
  %171 = load i32, ptr %170, align 8
  invoke void @_ZN11MethodBlock3retE8Location(ptr noundef nonnull align 8 dereferenceable(16) %167, ptr %169, i32 %171)
          to label %172 unwind label %173

172:                                              ; preds = %166
  br label %180

173:                                              ; preds = %177, %166, %163, %156, %147
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %16, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %197

177:                                              ; preds = %160
  %178 = load ptr, ptr %35, align 8, !tbaa !5
  invoke void @_ZN11MethodBlock8ret_voidEv(ptr noundef nonnull align 8 dereferenceable(16) %178)
          to label %179 unwind label %173

179:                                              ; preds = %177
  br label %180

180:                                              ; preds = %179, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %181

181:                                              ; preds = %180
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  br label %132

183:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %184 = invoke noundef ptr @_ZN13MethodCreator6createEv(ptr noundef nonnull align 8 dereferenceable(73) %14)
          to label %185 unwind label %193

185:                                              ; preds = %183
  store ptr %184, ptr %38, align 8, !tbaa !5
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %class.DexMethod, ptr %186, i32 0, i32 8
  %188 = load ptr, ptr %38, align 8, !tbaa !5
  %189 = getelementptr inbounds %class.DexMethod, ptr %188, i32 0, i32 8
  %190 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN15ReferencedStateaSERKS_(ptr noundef nonnull align 8 dereferenceable(16) %189, ptr noundef nonnull align 8 dereferenceable(16) %187)
          to label %191 unwind label %193

191:                                              ; preds = %185
  %192 = load ptr, ptr %38, align 8, !tbaa !5
  store ptr %192, ptr %4, align 8
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @_ZN13MethodCreatorD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %14) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %204

193:                                              ; preds = %185, %183
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %16, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %197

197:                                              ; preds = %193, %173, %143
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  br label %198

198:                                              ; preds = %197, %139
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %199

199:                                              ; preds = %198, %135, %99
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  br label %200

200:                                              ; preds = %199, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %201

201:                                              ; preds = %200, %83
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %202

202:                                              ; preds = %201, %79
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @_ZN13MethodCreatorD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %14) #6
  br label %203

203:                                              ; preds = %202, %75
  call void @llvm.lifetime.end.p0(i64 80, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %206

204:                                              ; preds = %191, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %205 = load ptr, ptr %4, align 8
  ret ptr %205

206:                                              ; preds = %203
  %207 = load ptr, ptr %16, align 8
  %208 = load i32, ptr %17, align 4
  %209 = insertvalue { ptr, i32 } poison, ptr %207, 0
  %210 = insertvalue { ptr, i32 } %209, i32 %208, 1
  resume { ptr, i32 } %210
}

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN12_GLOBAL__N_126create_dispatch_method_refERKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS2_IS5_ESaISt4pairIKS5_S7_EEE(ptr noundef nonnull align 8 dereferenceable(48)) #4

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_119get_dispatch_accessEP9DexMethod(ptr noundef) #4

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

declare void @_ZN13MethodCreatorC1EP12DexMethodRef14DexAccessFlagsSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS4_EEb(ptr noundef nonnull align 8 dereferenceable(73), ptr noundef, i32 noundef, ptr noundef, i1 noundef zeroext) unnamed_addr #3

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

declare void @_ZN13MethodCreator12get_reg_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.11") align 8, ptr noundef nonnull align 8 dereferenceable(73)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI8LocationSaIS0_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

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

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

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

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

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

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

declare noundef ptr @_ZN4type5_voidEv() #3

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

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

declare void @_ZN11MethodBlock6invokeEP9DexMethodRKSt6vectorI8LocationSaIS3_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3

declare void @_ZN11MethodBlock11move_resultER8LocationP7DexType(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) #3

declare void @_ZN11MethodBlock3retE8Location(ptr noundef nonnull align 8 dereferenceable(16), ptr, i32) #3

declare void @_ZN11MethodBlock8ret_voidEv(ptr noundef nonnull align 8 dereferenceable(16)) #3

declare noundef ptr @_ZN13MethodCreator6createEv(ptr noundef nonnull align 8 dereferenceable(73)) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 48}
!12 = !{!"_ZTSSt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodE", !13, i64 0, !6, i64 48}
!13 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIiE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"_ZTS14DexAccessFlags", !7, i64 0}
!24 = !{i64 0, i64 8, !5, i64 8, i64 4, !25}
!25 = !{!26, !26, i64 0}
!26 = !{!"int", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30, !6, i64 48}
!30 = !{!"_ZTSSt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockE", !13, i64 0, !6, i64 48}


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

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%struct.MethodCreator = type <{ ptr, ptr, %"class.std::vector.11", %"class.std::vector.16", ptr, i8, [7 x i8] }>
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl" }
%"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl" = type { %"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Location, std::allocator<Location>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<MethodBlock>, std::allocator<std::unique_ptr<MethodBlock>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.29" }
%"struct.std::_Head_base.29" = type { ptr }
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::map.21" = type { %"class.std::_Rb_tree.22" }
%"class.std::_Rb_tree.22" = type { %"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, MethodBlock *>, std::_Select1st<std::pair<const std::set<int>, MethodBlock *>>, std::less<std::set<int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, MethodBlock *>, std::_Select1st<std::pair<const std::set<int>, MethodBlock *>>, std::less<std::set<int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.Location = type <{ ptr, i32, [4 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

declare noundef ptr @_ZN11MethodBlock9switch_opE8LocationRSt3mapISt3setIiSt4lessIiESaIiEEPS_S3_IS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i32, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN8dispatch22create_simple_dispatchERKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS2_IS5_ESaISt4pairIKS5_S7_EEEP16DexAnnotationSetb(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr nocapture noundef readnone %1, i1 noundef zeroext %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %5 = alloca %struct.MethodCreator, align 8
  %6 = alloca %"class.std::unique_ptr", align 8
  %7 = alloca %"class.std::vector.11", align 8
  %8 = alloca %"class.std::reverse_iterator", align 8
  %9 = alloca %"class.std::map.21", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca %struct.Location, align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = tail call noundef ptr @_ZN12_GLOBAL__N_126create_dispatch_method_refERKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS2_IS5_ESaISt4pairIKS5_S7_EEE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  %.not = icmp eq ptr %15, null
  br i1 %.not, label %98, label %16

16:                                               ; preds = %3
  %17 = tail call noundef ptr @_ZNK12DexMethodRef9get_protoEv(ptr noundef nonnull align 8 dereferenceable(26) %15)
  %18 = tail call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %19 = tail call ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #6
  store ptr %19, ptr %4, align 8
  %20 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %21 = getelementptr inbounds i8, ptr %20, i64 48
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %23 = call noundef i32 @_ZN12_GLOBAL__N_119get_dispatch_accessEP9DexMethod(ptr noundef %22)
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #6
  call void @_ZNSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS0_EEC2IS2_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr null) #6
  invoke void @_ZN13MethodCreatorC1EP12DexMethodRef14DexAccessFlagsSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS4_EEb(ptr noundef nonnull align 8 dereferenceable(73) %5, ptr noundef nonnull %15, i32 noundef %23, ptr noundef nonnull %6, i1 noundef zeroext true)
          to label %24 unwind label %32

24:                                               ; preds = %16
  call void @_ZNSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  invoke void @_ZN13MethodCreator12get_reg_argsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.11") align 8 %7, ptr noundef nonnull align 8 dereferenceable(73) %5)
          to label %25 unwind label %34

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %26 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIP8LocationSt6vectorIS2_SaIS2_EEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %.sroa.021.0.copyload = load ptr, ptr %26, align 8, !tbaa !19
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  %.sroa.5.0.copyload = load i32, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %27 = call noundef ptr @_ZNK13MethodCreator14get_main_blockEv(ptr noundef nonnull align 8 dereferenceable(73) %5)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #6
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %28 = call ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #6
  store ptr %28, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %29 = call ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #6
  store ptr %29, ptr %11, align 8
  %30 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %30, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %38, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %31 = invoke noundef ptr @_ZN11MethodBlock9switch_opE8LocationRSt3mapISt3setIiSt4lessIiESaIiEEPS_S3_IS6_ESaISt4pairIKS6_S7_EEE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr %.sroa.021.0.copyload, i32 %.sroa.5.0.copyload, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %43 unwind label %68

32:                                               ; preds = %16
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %97

34:                                               ; preds = %24
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %96

.lr.ph:                                           ; preds = %25, %38
  %36 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %38 unwind label %41

38:                                               ; preds = %.lr.ph
  store ptr null, ptr %37, align 8, !tbaa !19
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %40 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodEESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %40, label %.lr.ph, label %._crit_edge

41:                                               ; preds = %.lr.ph
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %95

43:                                               ; preds = %._crit_edge
  %44 = invoke noundef ptr @_ZN4type5_voidEv()
          to label %45 unwind label %70

45:                                               ; preds = %43
  %.not47 = icmp eq ptr %18, %44
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  br i1 %.not47, label %49, label %46

46:                                               ; preds = %45
  %47 = invoke { ptr, i32 } @_ZN13MethodCreator10make_localEP7DexType(ptr noundef nonnull align 8 dereferenceable(73) %5, ptr noundef %18)
          to label %48 unwind label %72

48:                                               ; preds = %46
  %.fca.0.extract = extractvalue { ptr, i32 } %47, 0
  %.fca.1.extract = extractvalue { ptr, i32 } %47, 1
  store ptr %.fca.0.extract, ptr %12, align 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  store i32 %.fca.1.extract, ptr %.sroa.212.0..sroa_idx, align 8
  br label %52

49:                                               ; preds = %45
  %50 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZN8Location5emptyEv()
          to label %51 unwind label %72

51:                                               ; preds = %49
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %50, i64 16, i1 false), !tbaa.struct !22
  br label %52

52:                                               ; preds = %51, %48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %53 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  store ptr %53, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %54 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  store ptr %54, ptr %14, align 8
  %55 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %55, label %.lr.ph55, label %._crit_edge56

.lr.ph55:                                         ; preds = %52
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  br i1 %.not47, label %.lr.ph55.split.us, label %.lr.ph55.split

.lr.ph55.split.us:                                ; preds = %.lr.ph55, %63
  %56 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %57 = getelementptr inbounds i8, ptr %56, i64 48
  %58 = load ptr, ptr %57, align 8, !tbaa !23
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE2atERS9_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %56)
          to label %60 unwind label %.split.us

60:                                               ; preds = %.lr.ph55.split.us
  %61 = load ptr, ptr %59, align 8, !tbaa !19
  invoke void @_ZN11MethodBlock6invokeEP9DexMethodRKSt6vectorI8LocationSaIS3_EE(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef %61, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %62 unwind label %.split.us

62:                                               ; preds = %60
  invoke void @_ZN11MethodBlock8ret_voidEv(ptr noundef nonnull align 8 dereferenceable(16) %58)
          to label %63 unwind label %.split.us

63:                                               ; preds = %62
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %65 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %65, label %.lr.ph55.split.us, label %._crit_edge56

.split.us:                                        ; preds = %62, %60, %.lr.ph55.split.us
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %83

._crit_edge56:                                    ; preds = %84, %63, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  %67 = invoke noundef ptr @_ZN13MethodCreator6createEv(ptr noundef nonnull align 8 dereferenceable(73) %5)
          to label %87 unwind label %92

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

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

72:                                               ; preds = %49, %46
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %94

.lr.ph55.split:                                   ; preds = %.lr.ph55, %84
  %74 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %75 = getelementptr inbounds i8, ptr %74, i64 48
  %76 = load ptr, ptr %75, align 8, !tbaa !23
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS1_IS4_ESaISt4pairIKS4_S6_EEE2atERS9_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %74)
          to label %78 unwind label %.split

78:                                               ; preds = %.lr.ph55.split
  %79 = load ptr, ptr %77, align 8, !tbaa !19
  invoke void @_ZN11MethodBlock6invokeEP9DexMethodRKSt6vectorI8LocationSaIS3_EE(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef %79, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %80 unwind label %.split

80:                                               ; preds = %78
  invoke void @_ZN11MethodBlock11move_resultER8LocationP7DexType(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 8 dereferenceable(12) %12, ptr noundef %18)
          to label %81 unwind label %.split

81:                                               ; preds = %80
  %.sroa.0.0.copyload = load ptr, ptr %12, align 8, !tbaa !19
  %.sroa.2.0.copyload = load i32, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !20
  invoke void @_ZN11MethodBlock3retE8Location(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr %.sroa.0.0.copyload, i32 %.sroa.2.0.copyload)
          to label %84 unwind label %.split

.split:                                           ; preds = %81, %80, %78, %.lr.ph55.split
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %83

83:                                               ; preds = %.split.us, %.split
  %.us-phi = phi { ptr, i32 } [ %82, %.split ], [ %66, %.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %94

84:                                               ; preds = %81
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %86 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockEESC_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %86, label %.lr.ph55.split, label %._crit_edge56

87:                                               ; preds = %._crit_edge56
  %88 = getelementptr inbounds i8, ptr %22, i64 72
  %89 = getelementptr inbounds i8, ptr %67, i64 72
  %90 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN15ReferencedStateaSERKS_(ptr noundef nonnull align 8 dereferenceable(16) %89, ptr noundef nonnull align 8 dereferenceable(16) %88)
          to label %91 unwind label %92

91:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN13MethodCreatorD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #6
  br label %98

92:                                               ; preds = %87, %._crit_edge56
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %94

94:                                               ; preds = %92, %83, %72
  %.pn = phi { ptr, i32 } [ %.us-phi, %83 ], [ %93, %92 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %95

95:                                               ; preds = %70, %94, %68, %41
  %.pn50 = phi { ptr, i32 } [ %42, %41 ], [ %69, %68 ], [ %.pn, %94 ], [ %71, %70 ]
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEP11MethodBlockS1_IS4_ESaISt4pairIKS4_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  call void @_ZNSt6vectorI8LocationSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %96

96:                                               ; preds = %95, %34
  %.pn50.pn = phi { ptr, i32 } [ %.pn50, %95 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN13MethodCreatorD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %5) #6
  br label %97

97:                                               ; preds = %96, %32
  %.pn50.pn.pn = phi { ptr, i32 } [ %.pn50.pn, %96 ], [ %33, %32 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn50.pn.pn

98:                                               ; preds = %3, %91
  %.0 = phi ptr [ %67, %91 ], [ null, %3 ]
  ret ptr %.0
}

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN12_GLOBAL__N_126create_dispatch_method_refERKSt3mapISt3setIiSt4lessIiESaIiEEP9DexMethodS2_IS5_ESaISt4pairIKS5_S7_EEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_119get_dispatch_accessEP9DexMethod(ptr noundef) local_unnamed_addr #4

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

declare void @_ZN13MethodCreatorC1EP12DexMethodRef14DexAccessFlagsSt10unique_ptrI16DexAnnotationSetSt14default_deleteIS4_EEb(ptr noundef nonnull align 8 dereferenceable(73), ptr noundef, i32 noundef, ptr noundef, i1 noundef zeroext) unnamed_addr #3

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

declare void @_ZN13MethodCreator12get_reg_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.11") align 8, ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI8LocationSaIS0_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

declare noundef ptr @_ZN4type5_voidEv() local_unnamed_addr #3

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

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

declare void @_ZN11MethodBlock6invokeEP9DexMethodRKSt6vectorI8LocationSaIS3_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare void @_ZN11MethodBlock11move_resultER8LocationP7DexType(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) local_unnamed_addr #3

declare void @_ZN11MethodBlock3retE8Location(ptr noundef nonnull align 8 dereferenceable(16), ptr, i32) local_unnamed_addr #3

declare void @_ZN11MethodBlock8ret_voidEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

declare noundef ptr @_ZN13MethodCreator6createEv(ptr noundef nonnull align 8 dereferenceable(73)) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !17, i64 48}
!6 = !{!"_ZTSSt4pairIKSt3setIiSt4lessIiESaIiEEP9DexMethodE", !7, i64 0, !17, i64 48}
!7 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !8, i64 0}
!8 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !9, i64 0}
!9 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !10, i64 0, !12, i64 8}
!10 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !11, i64 0}
!11 = !{!"_ZTSSt4lessIiE"}
!12 = !{!"_ZTSSt15_Rb_tree_header", !13, i64 0, !18, i64 32}
!13 = !{!"_ZTSSt18_Rb_tree_node_base", !14, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!14 = !{!"_ZTSSt14_Rb_tree_color", !15, i64 0}
!15 = !{!"omnipotent char", !16, i64 0}
!16 = !{!"Simple C++ TBAA"}
!17 = !{!"any pointer", !15, i64 0}
!18 = !{!"long", !15, i64 0}
!19 = !{!17, !17, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"int", !15, i64 0}
!22 = !{i64 0, i64 8, !19, i64 8, i64 4, !20}
!23 = !{!24, !17, i64 48}
!24 = !{!"_ZTSSt4pairIKSt3setIiSt4lessIiESaIiEEP11MethodBlockE", !7, i64 0, !17, i64 48}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass