; LLVM IR from facebook/redex :: service/reference-update (TypeReference)

; 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.anon = type { ptr }
%class.anon.4 = type { ptr }
%class.ConcurrentSet = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic", %"struct.std::atomic.5", %"struct.std::atomic.7", %"struct.std::atomic.9" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }
%"struct.std::atomic.5" = type { %"struct.std::__atomic_base.6" }
%"struct.std::__atomic_base.6" = type { i64 }
%"struct.std::atomic.7" = type { %"struct.std::__atomic_base.8" }
%"struct.std::__atomic_base.8" = type { i8 }
%"struct.std::atomic.9" = type { %"struct.std::__atomic_base.10" }
%"struct.std::__atomic_base.10" = type { ptr }
%class.ConcurrentSet.11 = type { %class.ConcurrentContainer.12 }
%class.ConcurrentContainer.12 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.13"] }
%"class.cc_impl::ConcurrentHashtable.13" = type { %"struct.std::atomic.14", %"struct.std::atomic.5", %"struct.std::atomic.7", %"struct.std::atomic.16" }
%"struct.std::atomic.14" = type { %"struct.std::__atomic_base.15" }
%"struct.std::__atomic_base.15" = type { ptr }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { ptr }
%class.anon.19 = type { ptr, ptr }
%class.anon.20 = type { ptr }
%class.anon.21 = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<DexMethod *, std::pair<DexMethod *const, DexProto *>, std::_Select1st<std::pair<DexMethod *const, DexProto *>>, dexmethods_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DexMethod *, std::pair<DexMethod *const, DexProto *>, std::_Select1st<std::pair<DexMethod *const, DexProto *>>, dexmethods_comparator>::_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 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%struct.DexMethodSpec = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::pair.68" = type { ptr, ptr }
%"class.type_reference::TypeRefUpdater" = type { %class.InsertOnlyConcurrentMap, ptr }
%class.InsertOnlyConcurrentMap = type { %class.ConcurrentContainer.25 }
%class.ConcurrentContainer.25 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.26"] }
%"class.cc_impl::ConcurrentHashtable.26" = type { %"struct.std::atomic.27", %"struct.std::atomic.5", %"struct.std::atomic.7", %"struct.std::atomic.29" }
%"struct.std::atomic.27" = type { %"struct.std::__atomic_base.28" }
%"struct.std::__atomic_base.28" = type { ptr }
%"struct.std::atomic.29" = type { %"struct.std::__atomic_base.30" }
%"struct.std::__atomic_base.30" = type { ptr }
%"struct.std::pair" = type { ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EE(ptr noundef nonnull align 8 dereferenceable(2672) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.anon, align 8
  %6 = alloca %class.anon.4, align 8
  %7 = alloca %class.ConcurrentSet, align 8
  %8 = alloca %class.ConcurrentSet.11, align 8
  %9 = alloca %class.anon.19, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.anon.20, align 8
  %13 = alloca %class.anon.21, align 8
  %14 = alloca %"class.std::map", align 8
  %15 = alloca %"class.std::vector.32", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.DexMethodSpec, align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"struct.std::pair.68", align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %26 = load ptr, ptr %3, align 8
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %28 = getelementptr inbounds %class.anon, ptr %5, i32 0, i32 0
  store ptr %26, ptr %28, align 8, !tbaa !9
  %29 = call noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
  call void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_2EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %31 = getelementptr inbounds %class.anon.4, ptr %6, i32 0, i32 0
  store ptr %26, ptr %31, align 8, !tbaa !11
  %32 = call noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
  call void @"_ZN4walk8parallel6fieldsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_3EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 2664, ptr %7) #5
  call void @_ZN13ConcurrentSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #5
  call void @llvm.lifetime.start.p0(i64 2664, ptr %8) #5
  call void @_ZN13ConcurrentSetIP11DexFieldRefSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %8) #5
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  %34 = getelementptr inbounds %class.anon.19, ptr %9, i32 0, i32 0
  store ptr %8, ptr %34, align 8, !tbaa !5
  %35 = getelementptr inbounds %class.anon.19, ptr %9, i32 0, i32 1
  store ptr %7, ptr %35, align 8, !tbaa !5
  %36 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %37 unwind label %60

37:                                               ; preds = %2
  invoke void @"_ZN4walk8parallel4codeISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_4EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %36)
          to label %38 unwind label %60

38:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %39 = getelementptr inbounds %class.anon.20, ptr %12, i32 0, i32 0
  store ptr %26, ptr %39, align 8, !tbaa !13
  %40 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %41 unwind label %64

41:                                               ; preds = %38
  %42 = trunc i64 %40 to i32
  invoke void @"_Z13workqueue_runIP11DexFieldRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(2664) %8, i32 noundef %42, i1 noundef zeroext false)
          to label %43 unwind label %64

43:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %44 = getelementptr inbounds %class.anon.21, ptr %13, i32 0, i32 0
  store ptr %26, ptr %44, align 8, !tbaa !15
  %45 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %46 unwind label %68

46:                                               ; preds = %43
  %47 = trunc i64 %45 to i32
  invoke void @"_Z13workqueue_runIP12DexMethodRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_113ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(2664) %7, i32 noundef %47, i1 noundef zeroext false)
          to label %48 unwind label %68

48:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #5
  call void @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  %49 = getelementptr inbounds %"class.type_reference::TypeRefUpdater", ptr %26, i32 0, i32 0
  invoke void @_Z25insert_unordered_iterableISt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS2_S4_EEE23InsertOnlyConcurrentMapIS2_S4_St4hashIS2_ESt8equal_toIS2_ELm83EEEvRT_RKT0_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(2664) %49)
          to label %50 unwind label %72

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store ptr %14, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %51 = load ptr, ptr %16, align 8, !tbaa !5
  %52 = call ptr @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %51) #5
  %53 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %17, i32 0, i32 0
  store ptr %52, ptr %53, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %54 = load ptr, ptr %16, align 8, !tbaa !5
  %55 = call ptr @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %54) #5
  %56 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %18, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  br label %57

57:                                               ; preds = %145, %50
  %58 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKP9DexMethodP8DexProtoEES9_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br i1 %58, label %76, label %59

59:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %148

60:                                               ; preds = %37, %2
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %10, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  br label %157

64:                                               ; preds = %41, %38
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %10, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %157

68:                                               ; preds = %46, %43
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %10, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %157

72:                                               ; preds = %48
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %10, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %11, align 4
  br label %156

76:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKP9DexMethodP8DexProtoEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  store ptr %77, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %78 = load ptr, ptr %19, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.std::pair", ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !17
  store ptr %80, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %81 = load ptr, ptr %19, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.std::pair", ptr %81, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !19
  store ptr %83, ptr %21, align 8, !tbaa !5
  %84 = load ptr, ptr %20, align 8, !tbaa !5
  %85 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %84)
          to label %86 unwind label %107

86:                                               ; preds = %76
  %87 = load ptr, ptr %20, align 8, !tbaa !5
  %88 = invoke noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %87)
          to label %89 unwind label %107

89:                                               ; preds = %86
  %90 = load ptr, ptr %21, align 8, !tbaa !5
  %91 = invoke noundef ptr @_ZN9DexMethod10get_methodEPK7DexTypePK9DexStringPK8DexProto(ptr noundef %85, ptr noundef %88, ptr noundef %90)
          to label %92 unwind label %107

92:                                               ; preds = %89
  %93 = icmp ne ptr %91, null
  br i1 %93, label %128, label %94

94:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #5
  call void @_ZN13DexMethodSpecC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %95 = load ptr, ptr %21, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.DexMethodSpec, ptr %22, i32 0, i32 2
  store ptr %95, ptr %96, align 8, !tbaa !20
  %97 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN12DexMethodRef6changeERK13DexMethodSpecb(ptr noundef nonnull align 8 dereferenceable(26) %97, ptr noundef nonnull align 8 dereferenceable(24) %22, i1 noundef zeroext false)
          to label %98 unwind label %111

98:                                               ; preds = %94
  br label %99

99:                                               ; preds = %98
  %100 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 110, i32 noundef 9)
          to label %101 unwind label %111

101:                                              ; preds = %99
  br i1 %100, label %102, label %124

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #5
  %103 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef %103)
          to label %104 unwind label %115

104:                                              ; preds = %102
  %105 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 110, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.8, ptr noundef %105)
          to label %106 unwind label %119

106:                                              ; preds = %104
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  br label %124

107:                                              ; preds = %89, %86, %76
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %10, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %11, align 4
  br label %147

111:                                              ; preds = %99, %94
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %10, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %11, align 4
  br label %127

115:                                              ; preds = %102
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %10, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %11, align 4
  br label %123

119:                                              ; preds = %104
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %10, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #5
  br label %123

123:                                              ; preds = %119, %115
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #5
  br label %127

124:                                              ; preds = %106, %101
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  br label %144

127:                                              ; preds = %123, %111
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  br label %147

128:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %129 = load ptr, ptr %20, align 8, !tbaa !5
  %130 = invoke noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26) %129)
          to label %131 unwind label %140

131:                                              ; preds = %128
  store ptr %130, ptr %25, align 8, !tbaa !5
  %132 = invoke { ptr, ptr } @_ZSt9make_pairIP9DexMethodRP8DexProtoESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %133 unwind label %140

133:                                              ; preds = %131
  %134 = getelementptr inbounds { ptr, ptr }, ptr %24, i32 0, i32 0
  %135 = extractvalue { ptr, ptr } %132, 0
  store ptr %135, ptr %134, align 8
  %136 = getelementptr inbounds { ptr, ptr }, ptr %24, i32 0, i32 1
  %137 = extractvalue { ptr, ptr } %132, 1
  store ptr %137, ptr %136, align 8
  %138 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE12emplace_backIJS5_EEERS5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %139 unwind label %140

139:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %144

140:                                              ; preds = %133, %131, %128
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %10, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %147

144:                                              ; preds = %139, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %145

145:                                              ; preds = %144
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKP9DexMethodP8DexProtoEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br label %57

147:                                              ; preds = %140, %127, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %155

148:                                              ; preds = %59
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN14type_reference22fix_colliding_dmethodsERKSt6vectorIP8DexClassSaIS2_EERKS0_ISt4pairIP9DexMethodP8DexProtoESaISC_EE(ptr noundef nonnull align 8 dereferenceable(24) %149, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %150 unwind label %151

150:                                              ; preds = %148
  call void @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexFieldRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %8) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr %8) #5
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #5
  ret void

151:                                              ; preds = %148
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %10, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %11, align 4
  br label %155

155:                                              ; preds = %151, %147
  call void @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %156

156:                                              ; preds = %155, %72
  call void @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  br label %157

157:                                              ; preds = %156, %68, %64, %60
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexFieldRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %8) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr %8) #5
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %7) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr %7) #5
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %10, align 8
  %160 = load i32, ptr %11, align 4
  %161 = insertvalue { ptr, i32 } poison, ptr %159, 0
  %162 = insertvalue { ptr, i32 } %161, i32 %160, 1
  resume { ptr, i32 } %162
}

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_2EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel6fieldsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_3EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel4codeISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_4EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z13workqueue_runIP11DexFieldRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(2664), i32 noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z13workqueue_runIP12DexMethodRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_113ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(2664), i32 noundef, i1 noundef zeroext) #2

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

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

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

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

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

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

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

declare noundef ptr @_ZN9DexMethod10get_methodEPK7DexTypePK9DexStringPK8DexProto(ptr noundef, ptr noundef, ptr noundef) #4

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

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

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

declare void @_ZN12DexMethodRef6changeERK13DexMethodSpecb(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #4

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) #4

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) #4

declare void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #4

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

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

declare noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26)) #4

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

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

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

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

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

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

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

!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, !6, i64 0}
!10 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_2", !6, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_3", !6, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_0", !6, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_1", !6, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTSSt4pairIKP9DexMethodP8DexProtoE", !6, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = !{!21, !6, i64 16}
!21 = !{!"_ZTS13DexMethodSpec", !6, i64 0, !6, i64 8, !6, i64 16}


; 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.anon = type { ptr }
%class.anon.4 = type { ptr }
%class.ConcurrentSet = type { %class.ConcurrentContainer }
%class.ConcurrentContainer = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable"] }
%"class.cc_impl::ConcurrentHashtable" = type { %"struct.std::atomic", %"struct.std::atomic.5", %"struct.std::atomic.7", %"struct.std::atomic.9" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { ptr }
%"struct.std::atomic.5" = type { %"struct.std::__atomic_base.6" }
%"struct.std::__atomic_base.6" = type { i64 }
%"struct.std::atomic.7" = type { %"struct.std::__atomic_base.8" }
%"struct.std::__atomic_base.8" = type { i8 }
%"struct.std::atomic.9" = type { %"struct.std::__atomic_base.10" }
%"struct.std::__atomic_base.10" = type { ptr }
%class.ConcurrentSet.11 = type { %class.ConcurrentContainer.12 }
%class.ConcurrentContainer.12 = type { ptr, [83 x %"class.cc_impl::ConcurrentHashtable.13"] }
%"class.cc_impl::ConcurrentHashtable.13" = type { %"struct.std::atomic.14", %"struct.std::atomic.5", %"struct.std::atomic.7", %"struct.std::atomic.16" }
%"struct.std::atomic.14" = type { %"struct.std::__atomic_base.15" }
%"struct.std::__atomic_base.15" = type { ptr }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { ptr }
%class.anon.19 = type { ptr, ptr }
%class.anon.20 = type { ptr }
%class.anon.21 = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<DexMethod *, std::pair<DexMethod *const, DexProto *>, std::_Select1st<std::pair<DexMethod *const, DexProto *>>, dexmethods_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DexMethod *, std::pair<DexMethod *const, DexProto *>, std::_Select1st<std::pair<DexMethod *const, DexProto *>>, dexmethods_comparator>::_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 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<DexMethod *, DexProto *>, std::allocator<std::pair<DexMethod *, DexProto *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%struct.DexMethodSpec = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.std::pair.68" = type { ptr, ptr }

@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; 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 nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EE(ptr noundef nonnull align 8 dereferenceable(2672) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.anon, align 8
  %4 = alloca %class.anon.4, align 8
  %5 = alloca %class.ConcurrentSet, align 8
  %6 = alloca %class.ConcurrentSet.11, align 8
  %7 = alloca %class.anon.19, align 8
  %8 = alloca %class.anon.20, align 8
  %9 = alloca %class.anon.21, align 8
  %10 = alloca %"class.std::map", align 8
  %11 = alloca %"class.std::vector.32", align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %struct.DexMethodSpec, align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"struct.std::pair.68", align 8
  %18 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  store ptr %0, ptr %3, align 8, !tbaa !5
  %19 = tail call noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
  call void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_2EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store ptr %0, ptr %4, align 8, !tbaa !10
  %20 = call noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
  call void @"_ZN4walk8parallel6fieldsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_3EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %5) #5
  call void @_ZN13ConcurrentSetIP12DexMethodRefSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %5) #5
  call void @llvm.lifetime.start.p0(i64 2664, ptr nonnull %6) #5
  call void @_ZN13ConcurrentSetIP11DexFieldRefSt4hashIS1_ESt8equal_toIS1_ELm83EEC2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  store ptr %6, ptr %7, align 8, !tbaa !12
  %21 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %5, ptr %21, align 8, !tbaa !12
  %22 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %23 unwind label %39

23:                                               ; preds = %2
  invoke void @"_ZN4walk8parallel4codeISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_4EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %22)
          to label %24 unwind label %39

24:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store ptr %0, ptr %8, align 8, !tbaa !13
  %25 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %26 unwind label %41

26:                                               ; preds = %24
  %27 = trunc i64 %25 to i32
  invoke void @"_Z13workqueue_runIP11DexFieldRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(2664) %6, i32 noundef %27, i1 noundef zeroext false)
          to label %28 unwind label %41

28:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  store ptr %0, ptr %9, align 8, !tbaa !15
  %29 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %30 unwind label %43

30:                                               ; preds = %28
  %31 = trunc i64 %29 to i32
  invoke void @"_Z13workqueue_runIP12DexMethodRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_113ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(2664) %5, i32 noundef %31, i1 noundef zeroext false)
          to label %32 unwind label %43

32:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #5
  call void @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  invoke void @_Z25insert_unordered_iterableISt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS2_S4_EEE23InsertOnlyConcurrentMapIS2_S4_St4hashIS2_ESt8equal_toIS2_ELm83EEEvRT_RKT0_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(2664) %0)
          to label %33 unwind label %45

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %34 = call ptr @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  store ptr %34, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %35 = call ptr @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  store ptr %35, ptr %13, align 8
  %36 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKP9DexMethodP8DexProtoEES9_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %36, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %33
  %37 = getelementptr inbounds i8, ptr %17, i64 8
  %38 = getelementptr inbounds i8, ptr %15, i64 16
  br label %47

._crit_edge:                                      ; preds = %88, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  invoke void @_ZN14type_reference22fix_colliding_dmethodsERKSt6vectorIP8DexClassSaIS2_EERKS0_ISt4pairIP9DexMethodP8DexProtoESaISC_EE(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %92 unwind label %93

39:                                               ; preds = %23, %2
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %97

41:                                               ; preds = %26, %24
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %97

43:                                               ; preds = %30, %28
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %97

45:                                               ; preds = %32
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %96

47:                                               ; preds = %.lr.ph, %88
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKP9DexMethodP8DexProtoEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %49 = load ptr, ptr %48, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %50 = getelementptr inbounds i8, ptr %48, i64 8
  %51 = load ptr, ptr %50, align 8, !tbaa !19
  store ptr %51, ptr %14, align 8, !tbaa !12
  %52 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %49)
  %53 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %49)
  %54 = load ptr, ptr %14, align 8, !tbaa !12
  %55 = invoke noundef ptr @_ZN9DexMethod10get_methodEPK7DexTypePK9DexStringPK8DexProto(ptr noundef %52, ptr noundef %53, ptr noundef %54)
          to label %56 unwind label %66

56:                                               ; preds = %47
  %.not = icmp eq ptr %55, null
  br i1 %.not, label %57, label %77

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #5
  call void @_ZN13DexMethodSpecC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %58 = load ptr, ptr %14, align 8, !tbaa !12
  store ptr %58, ptr %38, align 8, !tbaa !20
  invoke void @_ZN12DexMethodRef6changeERK13DexMethodSpecb(ptr noundef nonnull align 8 dereferenceable(26) %49, ptr noundef nonnull align 8 dereferenceable(24) %15, i1 noundef zeroext false)
          to label %59 unwind label %68

59:                                               ; preds = %57
  %60 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 110, i32 noundef 9)
          to label %61 unwind label %68

61:                                               ; preds = %59
  br i1 %60, label %62, label %75

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #5
  invoke void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull %49)
          to label %63 unwind label %70

63:                                               ; preds = %62
  %64 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 110, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.8, ptr noundef %64)
          to label %65 unwind label %72

65:                                               ; preds = %63
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  br label %75

66:                                               ; preds = %47
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %91

68:                                               ; preds = %59, %57
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %76

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

72:                                               ; preds = %63
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %74

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

75:                                               ; preds = %65, %61
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  br label %88

76:                                               ; preds = %74, %68
  %.pn.pn = phi { ptr, i32 } [ %.pn, %74 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  br label %91

77:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %78 = invoke noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26) %49)
          to label %79 unwind label %86

79:                                               ; preds = %77
  store ptr %78, ptr %18, align 8, !tbaa !12
  %80 = invoke { ptr, ptr } @_ZSt9make_pairIP9DexMethodRP8DexProtoESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %81 unwind label %86

81:                                               ; preds = %79
  %82 = extractvalue { ptr, ptr } %80, 0
  store ptr %82, ptr %17, align 8
  %83 = extractvalue { ptr, ptr } %80, 1
  store ptr %83, ptr %37, align 8
  %84 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE12emplace_backIJS5_EEERS5_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %85 unwind label %86

85:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  br label %88

86:                                               ; preds = %81, %79, %77
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  br label %91

88:                                               ; preds = %85, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKP9DexMethodP8DexProtoEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %90 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKP9DexMethodP8DexProtoEES9_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %90, label %47, label %._crit_edge

91:                                               ; preds = %86, %76, %66
  %.pn23 = phi { ptr, i32 } [ %87, %86 ], [ %.pn.pn, %76 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %95

92:                                               ; preds = %._crit_edge
  call void @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexFieldRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %6) #5
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %5) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %5) #5
  ret void

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

95:                                               ; preds = %93, %91
  %.pn23.pn = phi { ptr, i32 } [ %.pn23, %91 ], [ %94, %93 ]
  call void @_ZNSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  br label %96

96:                                               ; preds = %95, %45
  %.pn23.pn.pn = phi { ptr, i32 } [ %.pn23.pn, %95 ], [ %46, %45 ]
  call void @_ZNSt3mapIP9DexMethodP8DexProto21dexmethods_comparatorSaISt4pairIKS1_S3_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  br label %97

97:                                               ; preds = %96, %43, %41, %39
  %.pn23.pn.pn.pn = phi { ptr, i32 } [ %.pn23.pn.pn, %96 ], [ %44, %43 ], [ %42, %41 ], [ %40, %39 ]
  call void @_ZN19ConcurrentContainerISt13unordered_setIP11DexFieldRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %6) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %6) #5
  call void @_ZN19ConcurrentContainerISt13unordered_setIP12DexMethodRefSt4hashIS2_ESt8equal_toIS2_ESaIS2_EELm83EED2Ev(ptr noundef nonnull align 8 dereferenceable(2664) %5) #5
  call void @llvm.lifetime.end.p0(i64 2664, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn23.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel7methodsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_2EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN4walk8parallel6fieldsISt6vectorIP8DexClassSaIS4_EEZN14type_reference14TypeRefUpdater21update_methods_fieldsERKS6_E3$_3EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z13workqueue_runIP11DexFieldRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_013ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(2664), i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @"_Z13workqueue_runIP12DexMethodRefZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS6_EEE3$_113ConcurrentSetIS1_St4hashIS1_ESt8equal_toIS1_ELm83EETnNSt9enable_ifIXeqsr5ArityIT0_EE5valueLi1EEiE4typeELi0EEvRKSJ_RT1_jb"(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(2664), i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

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

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

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

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

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

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

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

declare noundef ptr @_ZN9DexMethod10get_methodEPK7DexTypePK9DexStringPK8DexProto(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

declare void @_ZN12DexMethodRef6changeERK13DexMethodSpecb(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #4

declare noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @_Z5trace11TraceModuleibPKcz(i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #4

declare void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #4

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

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

declare noundef ptr @_ZN12DexMethodRef6as_defEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #4

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_2", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_3", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_0", !7, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"_ZTSZN14type_reference14TypeRefUpdater21update_methods_fieldsERKSt6vectorIP8DexClassSaIS3_EEE3$_1", !7, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"_ZTSSt4pairIKP9DexMethodP8DexProtoE", !7, i64 0, !7, i64 8}
!19 = !{!18, !7, i64 8}
!20 = !{!21, !7, i64 16}
!21 = !{!"_ZTS13DexMethodSpec", !7, i64 0, !7, i64 8, !7, i64 16}


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