; 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.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] }
%class.UnorderedMap.180 = type { %"class.std::unordered_map.182" }
%"class.std::unordered_map.182" = type { %"class.std::_Hashtable.183" }
%"class.std::_Hashtable.183" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator.196" = type { ptr }
%"struct.std::pair.68" = type { ptr, ptr }
%struct.DexMethodSpec = type { ptr, ptr, ptr }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::sub_range" = type { %"class.boost::range_detail::sub_range_base" }
%"class.boost::range_detail::sub_range_base" = type { %"class.boost::range_detail::sub_range_base.252" }
%"class.boost::range_detail::sub_range_base.252" = type { %"class.boost::iterator_range" }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.253" }
%"class.boost::iterator_range_detail::iterator_range_base.253" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%class.anon.254 = type { ptr }

@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [59 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: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() #2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14type_reference22fix_colliding_dmethodsERKSt6vectorIP8DexClassSaIS2_EERKS0_ISt4pairIP9DexMethodP8DexProtoESaISC_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.UnorderedMap.180, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.196", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.196", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::pair.68", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca %struct.DexMethodSpec, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.boost::intrusive::list_iterator", align 8
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca %"class.boost::intrusive::list_iterator", align 8
  %26 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %27 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %28 = alloca %"class.boost::intrusive::list_iterator", align 8
  %29 = alloca %"class.boost::intrusive::list_iterator", align 8
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.boost::sub_range", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.boost::intrusive::list_iterator", align 8
  %35 = alloca %"class.boost::intrusive::list_iterator", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %class.anon.254, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  br i1 %39, label %40, label %41

40:                                               ; preds = %2
  br label %322

41:                                               ; preds = %2
  br label %42

42:                                               ; preds = %41
  %43 = call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 110, i32 noundef 9)
  br i1 %43, label %44, label %47

44:                                               ; preds = %42
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = call noundef i64 @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #9
  call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 110, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.17, i64 noundef %46)
  br label %47

47:                                               ; preds = %44, %42
  br label %48

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 56, ptr %5) #9
  call void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %49, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #9
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.196", ptr %7, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #9
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.196", ptr %8, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  br label %56

56:                                               ; preds = %310, %48
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIP9DexMethodP8DexProtoESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br i1 %57, label %59, label %58

58:                                               ; preds = %56
  store i32 4, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %316

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodP8DexProtoESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %60, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %61 = getelementptr inbounds %"struct.std::pair.68", ptr %10, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  store ptr %62, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %63 = getelementptr inbounds %"struct.std::pair.68", ptr %10, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  store ptr %64, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = invoke noundef ptr @_ZNK8DexProto8get_argsEv(ptr noundef nonnull align 8 dereferenceable(24) %65)
          to label %67 unwind label %105

67:                                               ; preds = %59
  %68 = invoke noundef ptr @_ZN4type4_intEv()
          to label %69 unwind label %105

69:                                               ; preds = %67
  %70 = invoke noundef ptr @_ZNK11DexTypeList9push_backEP7DexType(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef %68)
          to label %71 unwind label %105

71:                                               ; preds = %69
  store ptr %70, ptr %13, align 8, !tbaa !5
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = invoke noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %72)
          to label %74 unwind label %105

74:                                               ; preds = %71
  %75 = load ptr, ptr %13, align 8, !tbaa !5
  %76 = invoke noundef ptr @_ZN8DexProto10make_protoEPK7DexTypePK11DexTypeList(ptr noundef %73, ptr noundef %75)
          to label %77 unwind label %105

77:                                               ; preds = %74
  store ptr %76, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  store i64 1, ptr %16, align 8, !tbaa !12
  br label %78

78:                                               ; preds = %102, %77
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %79)
          to label %81 unwind label %109

81:                                               ; preds = %78
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = invoke noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %82)
          to label %84 unwind label %109

84:                                               ; preds = %81
  %85 = load ptr, ptr %12, align 8, !tbaa !5
  %86 = invoke noundef ptr @_ZN9DexMethod10get_methodEPK7DexTypePK9DexStringPK8DexProto(ptr noundef %80, ptr noundef %83, ptr noundef %85)
          to label %87 unwind label %109

87:                                               ; preds = %84
  %88 = icmp ne ptr %86, null
  br i1 %88, label %89, label %113

89:                                               ; preds = %87
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = invoke noundef ptr @_ZNK8DexProto8get_argsEv(ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %92 unwind label %109

92:                                               ; preds = %89
  %93 = invoke noundef ptr @_ZN4type4_intEv()
          to label %94 unwind label %109

94:                                               ; preds = %92
  %95 = invoke noundef ptr @_ZNK11DexTypeList9push_backEP7DexType(ptr noundef nonnull align 8 dereferenceable(24) %91, ptr noundef %93)
          to label %96 unwind label %109

96:                                               ; preds = %94
  store ptr %95, ptr %13, align 8, !tbaa !5
  %97 = load ptr, ptr %12, align 8, !tbaa !5
  %98 = invoke noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %97)
          to label %99 unwind label %109

99:                                               ; preds = %96
  %100 = load ptr, ptr %13, align 8, !tbaa !5
  %101 = invoke noundef ptr @_ZN8DexProto10make_protoEPK7DexTypePK11DexTypeList(ptr noundef %98, ptr noundef %100)
          to label %102 unwind label %109

102:                                              ; preds = %99
  store ptr %101, ptr %12, align 8, !tbaa !5
  %103 = load i64, ptr %16, align 8, !tbaa !12
  %104 = add i64 %103, 1
  store i64 %104, ptr %16, align 8, !tbaa !12
  br label %78, !llvm.loop !14

105:                                              ; preds = %74, %71, %69, %67, %59
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %14, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %15, align 4
  br label %315

109:                                              ; preds = %99, %96, %94, %92, %89, %84, %81, %78
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %14, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %15, align 4
  br label %314

113:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #9
  call void @_ZN13DexMethodSpecC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #9
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.DexMethodSpec, ptr %17, i32 0, i32 2
  store ptr %114, ptr %115, align 8, !tbaa !16
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN12DexMethodRef6changeERK13DexMethodSpecb(ptr noundef nonnull align 8 dereferenceable(26) %116, ptr noundef nonnull align 8 dereferenceable(24) %17, i1 noundef zeroext false)
          to label %117 unwind label %141

117:                                              ; preds = %113
  %118 = load i64, ptr %16, align 8, !tbaa !12
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EEixERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %5, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %120 unwind label %141

120:                                              ; preds = %117
  store i64 %118, ptr %119, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = invoke noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %121)
          to label %123 unwind label %145

123:                                              ; preds = %120
  store ptr %122, ptr %18, align 8, !tbaa !5
  %124 = load ptr, ptr %18, align 8, !tbaa !5
  %125 = invoke noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %124)
          to label %126 unwind label %145

126:                                              ; preds = %123
  br i1 %125, label %127, label %234

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %128 = load ptr, ptr %18, align 8, !tbaa !5
  %129 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %128)
          to label %130 unwind label %149

130:                                              ; preds = %127
  store ptr %129, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %131 = load ptr, ptr %19, align 8, !tbaa !5
  %132 = invoke noundef ptr @_ZNK3cfg16ControlFlowGraph11entry_blockEv(ptr noundef nonnull align 8 dereferenceable(160) %131)
          to label %133 unwind label %153

133:                                              ; preds = %130
  store ptr %132, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %134 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27get_last_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %21, ptr noundef nonnull align 8 dereferenceable(104) %134)
          to label %135 unwind label %157

135:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  store i64 0, ptr %22, align 8, !tbaa !12
  br label %136

136:                                              ; preds = %221, %135
  %137 = load i64, ptr %22, align 8, !tbaa !12
  %138 = load i64, ptr %16, align 8, !tbaa !12
  %139 = icmp ult i64 %137, %138
  br i1 %139, label %161, label %140

140:                                              ; preds = %136
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %230

141:                                              ; preds = %117, %113
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %14, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %15, align 4
  br label %313

145:                                              ; preds = %289, %123, %120
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %14, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %15, align 4
  br label %312

149:                                              ; preds = %127
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %14, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %15, align 4
  br label %233

153:                                              ; preds = %130
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %14, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %15, align 4
  br label %232

157:                                              ; preds = %133
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %14, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %15, align 4
  br label %231

161:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %162 = load ptr, ptr %19, align 8, !tbaa !5
  %163 = invoke noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %162)
          to label %164 unwind label %183

164:                                              ; preds = %161
  store i32 %163, ptr %23, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %165 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #10
          to label %166 unwind label %187

166:                                              ; preds = %164
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %165, i16 noundef zeroext 160)
          to label %167 unwind label %191

167:                                              ; preds = %166
  store ptr %165, ptr %24, align 8, !tbaa !5
  %168 = load ptr, ptr %24, align 8, !tbaa !5
  %169 = load i32, ptr %23, align 4, !tbaa !18
  %170 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %168, i32 noundef %169)
          to label %171 unwind label %187

171:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %172 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(104) %172)
          to label %173 unwind label %195

173:                                              ; preds = %171
  %174 = invoke noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %175 unwind label %195

175:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br i1 %174, label %176, label %203

176:                                              ; preds = %175
  %177 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #9
  %178 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %26, ptr noundef nonnull align 8 dereferenceable(104) %178, ptr noundef nonnull align 8 dereferenceable(8) %21, i1 noundef zeroext false)
          to label %179 unwind label %199

179:                                              ; preds = %176
  %180 = load ptr, ptr %24, align 8, !tbaa !5
  %181 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %177, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %180)
          to label %182 unwind label %199

182:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  br label %216

183:                                              ; preds = %161
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %14, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %15, align 4
  br label %229

187:                                              ; preds = %167, %164
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %14, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %15, align 4
  br label %228

191:                                              ; preds = %166
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %14, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %165, i64 noundef 32) #11
  br label %228

195:                                              ; preds = %173, %171
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %14, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %228

199:                                              ; preds = %179, %176
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %14, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  br label %228

203:                                              ; preds = %175
  %204 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  %205 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %206 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block32get_first_non_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %28, ptr noundef nonnull align 8 dereferenceable(104) %206)
          to label %207 unwind label %212

207:                                              ; preds = %203
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %27, ptr noundef nonnull align 8 dereferenceable(104) %205, ptr noundef nonnull align 8 dereferenceable(8) %28, i1 noundef zeroext false)
          to label %208 unwind label %212

208:                                              ; preds = %207
  %209 = load ptr, ptr %24, align 8, !tbaa !5
  %210 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %204, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef %209)
          to label %211 unwind label %212

211:                                              ; preds = %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %216

212:                                              ; preds = %208, %207, %203
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %14, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %228

216:                                              ; preds = %211, %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %217 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN3cfg5Block27get_last_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %29, ptr noundef nonnull align 8 dereferenceable(104) %217)
          to label %218 unwind label %224

218:                                              ; preds = %216
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEaSERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %220 unwind label %224

220:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %221

221:                                              ; preds = %220
  %222 = load i64, ptr %22, align 8, !tbaa !12
  %223 = add i64 %222, 1
  store i64 %223, ptr %22, align 8, !tbaa !12
  br label %136, !llvm.loop !20

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

228:                                              ; preds = %224, %212, %199, %195, %191, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %229

229:                                              ; preds = %228, %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %231

230:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %288

231:                                              ; preds = %229, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %232

232:                                              ; preds = %231, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %233

233:                                              ; preds = %232, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %312

234:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  store i64 0, ptr %30, align 8, !tbaa !12
  br label %235

235:                                              ; preds = %256, %234
  %236 = load i64, ptr %30, align 8, !tbaa !12
  %237 = load i64, ptr %16, align 8, !tbaa !12
  %238 = icmp ult i64 %236, %237
  br i1 %238, label %240, label %239

239:                                              ; preds = %235
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %287

240:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %241 = load ptr, ptr %18, align 8, !tbaa !5
  %242 = invoke noundef i32 @_ZN6IRCode13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(32) %241)
          to label %243 unwind label %259

243:                                              ; preds = %240
  store i32 %242, ptr %31, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #9
  %244 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZNK6IRCode22get_param_instructionsEv(ptr dead_on_unwind writable sret(%"class.boost::sub_range") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %244)
          to label %245 unwind label %263

245:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %246 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #10
          to label %247 unwind label %267

247:                                              ; preds = %245
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %246, i16 noundef zeroext 160)
          to label %248 unwind label %271

248:                                              ; preds = %247
  store ptr %246, ptr %33, align 8, !tbaa !5
  %249 = load ptr, ptr %33, align 8, !tbaa !5
  %250 = load i32, ptr %31, align 4, !tbaa !18
  %251 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %249, i32 noundef %250)
          to label %252 unwind label %267

252:                                              ; preds = %248
  %253 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  invoke void @_ZN5boost9sub_rangeI6IRListE3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %34, ptr noundef nonnull align 8 dereferenceable(16) %32)
          to label %254 unwind label %275

254:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  invoke void @_ZN6IRCode13insert_beforeIJRP13IRInstructionEEEN5boost9intrusive13list_iteratorINS5_8mhtraitsI15MethodItemEntryNS5_16list_member_hookIJEEEXadL_ZNS8_10list_hook_EEEEELb0EEERKSC_DpOT_(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %253, ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %255 unwind label %279

255:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  br label %256

256:                                              ; preds = %255
  %257 = load i64, ptr %30, align 8, !tbaa !12
  %258 = add i64 %257, 1
  store i64 %258, ptr %30, align 8, !tbaa !12
  br label %235, !llvm.loop !21

259:                                              ; preds = %240
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %14, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %15, align 4
  br label %286

263:                                              ; preds = %243
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %14, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %15, align 4
  br label %285

267:                                              ; preds = %248, %245
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %14, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %15, align 4
  br label %284

271:                                              ; preds = %247
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %14, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %246, i64 noundef 32) #11
  br label %284

275:                                              ; preds = %252
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %14, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %15, align 4
  br label %283

279:                                              ; preds = %254
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %14, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %283

283:                                              ; preds = %279, %275
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %284

284:                                              ; preds = %283, %271, %267
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %285

285:                                              ; preds = %284, %263
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  br label %286

286:                                              ; preds = %285, %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %312

287:                                              ; preds = %239
  br label %288

288:                                              ; preds = %287, %230
  br label %289

289:                                              ; preds = %288
  %290 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 110, i32 noundef 9)
          to label %291 unwind label %145

291:                                              ; preds = %289
  br i1 %290, label %292, label %307

292:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  %293 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef %293)
          to label %294 unwind label %298

294:                                              ; preds = %292
  %295 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  %296 = load i64, ptr %16, align 8, !tbaa !12
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 110, i32 noundef 9, i1 noundef zeroext false, ptr noundef @.str.18, ptr noundef %295, i64 noundef %296)
          to label %297 unwind label %302

297:                                              ; preds = %294
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %307

298:                                              ; preds = %292
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %14, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %15, align 4
  br label %306

302:                                              ; preds = %294
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %14, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %306

306:                                              ; preds = %302, %298
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %312

307:                                              ; preds = %297, %291
  br label %308

308:                                              ; preds = %307
  br label %309

309:                                              ; preds = %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  br label %310

310:                                              ; preds = %309
  %311 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodP8DexProtoESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  br label %56

312:                                              ; preds = %306, %286, %233, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %313

313:                                              ; preds = %312, %141
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #9
  br label %314

314:                                              ; preds = %313, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %315

315:                                              ; preds = %314, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %327

316:                                              ; preds = %58
  %317 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %318 = getelementptr inbounds %class.anon.254, ptr %37, i32 0, i32 0
  store ptr %5, ptr %318, align 8, !tbaa !5
  %319 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %320 unwind label %323

320:                                              ; preds = %316
  invoke void @"_ZN4walk8parallel4codeISt6vectorIP8DexClassSaIS4_EEZN14type_reference22fix_colliding_dmethodsERKS6_RKS2_ISt4pairIP9DexMethodP8DexProtoESaISF_EEE3$_0EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %317, ptr noundef nonnull align 8 dereferenceable(8) %37, i64 noundef %319)
          to label %321 unwind label %323

321:                                              ; preds = %320
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #9
  br label %322

322:                                              ; preds = %321, %40
  ret void

323:                                              ; preds = %320, %316
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %14, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %327

327:                                              ; preds = %323, %315
  call void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #9
  br label %328

328:                                              ; preds = %327
  %329 = load ptr, ptr %14, align 8
  %330 = load i32, ptr %15, align 4
  %331 = insertvalue { ptr, i32 } poison, ptr %329, 0
  %332 = insertvalue { ptr, i32 } %331, i32 %330, 1
  resume { ptr, i32 } %332
}

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

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

declare noundef ptr @_ZN8DexProto10make_protoEPK7DexTypePK11DexTypeList(ptr noundef, ptr noundef) #3

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

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

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

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

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

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

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

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

declare noundef ptr @_ZNK11DexTypeList9push_backEP7DexType(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #3

declare noundef ptr @_ZN4type4_intEv() #3

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

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

declare noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

declare void @_ZN3cfg5Block27get_last_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) #3

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

declare void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

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

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

declare void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) #3

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #3

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

declare void @_ZN3cfg5Block32get_first_non_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6IRCode22get_param_instructionsEv(ptr dead_on_unwind noalias writable sret(%"class.boost::sub_range") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRCode13insert_beforeIJRP13IRInstructionEEEN5boost9intrusive13list_iteratorINS5_8mhtraitsI15MethodItemEntryNS5_16list_member_hookIJEEEXadL_ZNS8_10list_hook_EEEEELb0EEERKSC_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost9sub_rangeI6IRListE3endEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!"_ZTSSt4pairIP9DexMethodP8DexProtoE", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !6, i64 16}
!17 = !{!"_ZTS13DexMethodSpec", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}


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

%"class.std::__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] }
%class.UnorderedMap.180 = type { %"class.std::unordered_map.182" }
%"class.std::unordered_map.182" = type { %"class.std::_Hashtable.183" }
%"class.std::_Hashtable.183" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator.196" = type { ptr }
%struct.DexMethodSpec = type { ptr, ptr, ptr }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.cfg::InstructionIteratorImpl" = type { ptr, %"struct.std::_Rb_tree_const_iterator", %"class.ir_list::InstructionIteratorImpl" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.ir_list::InstructionIteratorImpl" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%"class.boost::sub_range" = type { %"class.boost::range_detail::sub_range_base" }
%"class.boost::range_detail::sub_range_base" = type { %"class.boost::range_detail::sub_range_base.252" }
%"class.boost::range_detail::sub_range_base.252" = type { %"class.boost::iterator_range" }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.253" }
%"class.boost::iterator_range_detail::iterator_range_base.253" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }
%class.anon.254 = type { ptr }

@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [59 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: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZN14redex_parallel19default_num_threadsEv() local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14type_reference22fix_colliding_dmethodsERKSt6vectorIP8DexClassSaIS2_EERKS0_ISt4pairIP9DexMethodP8DexProtoESaISC_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.UnorderedMap.180, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.196", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.196", align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct.DexMethodSpec, align 8
  %8 = alloca %"class.boost::intrusive::list_iterator", align 8
  %9 = alloca %"class.boost::intrusive::list_iterator", align 8
  %10 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %11 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %12 = alloca %"class.boost::intrusive::list_iterator", align 8
  %13 = alloca %"class.boost::intrusive::list_iterator", align 8
  %14 = alloca %"class.boost::sub_range", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.boost::intrusive::list_iterator", align 8
  %17 = alloca %"class.boost::intrusive::list_iterator", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %class.anon.254, align 8
  %20 = tail call noundef zeroext i1 @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  br i1 %20, label %155, label %21

21:                                               ; preds = %2
  %22 = tail call noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 110, i32 noundef 9)
  br i1 %22, label %23, label %25

23:                                               ; preds = %21
  %24 = tail call noundef i64 @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  tail call void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 110, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.17, i64 noundef %24)
  br label %25

25:                                               ; preds = %21, %23
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #8
  call void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %26 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  store ptr %26, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %27 = call ptr @_ZNKSt6vectorISt4pairIP9DexMethodP8DexProtoESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #8
  store ptr %27, ptr %5, align 8
  %28 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIP9DexMethodP8DexProtoESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br i1 %28, label %.lr.ph88, label %._crit_edge89

.lr.ph88:                                         ; preds = %25
  %29 = getelementptr inbounds i8, ptr %7, i64 16
  br label %31

._crit_edge89:                                    ; preds = %148, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  store ptr %3, ptr %19, align 8, !tbaa !5
  %30 = invoke noundef i64 @_ZN14redex_parallel19default_num_threadsEv()
          to label %153 unwind label %156

31:                                               ; preds = %.lr.ph88, %148
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodP8DexProtoESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %.sroa.0.0.copyload = load ptr, ptr %32, align 8
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  %.sroa.5.0.copyload = load ptr, ptr %.sroa.5.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store ptr %.sroa.0.0.copyload, ptr %6, align 8, !tbaa !5
  %33 = call noundef ptr @_ZNK8DexProto8get_argsEv(ptr noundef nonnull align 8 dereferenceable(24) %.sroa.5.0.copyload)
  %34 = invoke noundef ptr @_ZN4type4_intEv()
          to label %35 unwind label %56

35:                                               ; preds = %31
  %36 = invoke noundef ptr @_ZNK11DexTypeList9push_backEP7DexType(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef %34)
          to label %37 unwind label %56

37:                                               ; preds = %35
  %38 = call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %.sroa.5.0.copyload)
  %39 = invoke noundef ptr @_ZN8DexProto10make_protoEPK7DexTypePK11DexTypeList(ptr noundef %38, ptr noundef %36)
          to label %.preheader74 unwind label %56

.preheader74:                                     ; preds = %37, %54
  %.058 = phi i64 [ %55, %54 ], [ 1, %37 ]
  %.044 = phi ptr [ %53, %54 ], [ %39, %37 ]
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %40)
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = call noundef ptr @_ZNK12DexMethodRef8get_nameEv(ptr noundef nonnull align 8 dereferenceable(26) %42)
  %44 = invoke noundef ptr @_ZN9DexMethod10get_methodEPK7DexTypePK9DexStringPK8DexProto(ptr noundef %41, ptr noundef %43, ptr noundef %.044)
          to label %45 unwind label %58

45:                                               ; preds = %.preheader74
  %.not = icmp eq ptr %44, null
  br i1 %.not, label %60, label %46

46:                                               ; preds = %45
  %47 = call noundef ptr @_ZNK8DexProto8get_argsEv(ptr noundef nonnull align 8 dereferenceable(24) %.044)
  %48 = invoke noundef ptr @_ZN4type4_intEv()
          to label %49 unwind label %58

49:                                               ; preds = %46
  %50 = invoke noundef ptr @_ZNK11DexTypeList9push_backEP7DexType(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef %48)
          to label %51 unwind label %58

51:                                               ; preds = %49
  %52 = call noundef ptr @_ZNK8DexProto9get_rtypeEv(ptr noundef nonnull align 8 dereferenceable(24) %.044)
  %53 = invoke noundef ptr @_ZN8DexProto10make_protoEPK7DexTypePK11DexTypeList(ptr noundef %52, ptr noundef %50)
          to label %54 unwind label %58

54:                                               ; preds = %51
  %55 = add i64 %.058, 1
  br label %.preheader74, !llvm.loop !9

56:                                               ; preds = %37, %35, %31
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %152

58:                                               ; preds = %51, %49, %46, %.preheader74
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %152

60:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @_ZN13DexMethodSpecC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  store ptr %.044, ptr %29, align 8, !tbaa !11
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN12DexMethodRef6changeERK13DexMethodSpecb(ptr noundef nonnull align 8 dereferenceable(26) %61, ptr noundef nonnull align 8 dereferenceable(24) %7, i1 noundef zeroext false)
          to label %62 unwind label %72

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EEixERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %64 unwind label %72

64:                                               ; preds = %62
  store i64 %.058, ptr %63, align 8, !tbaa !13
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %65)
  %67 = invoke noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %68 unwind label %74

68:                                               ; preds = %64
  br i1 %67, label %69, label %.preheader73

.preheader73:                                     ; preds = %68
  %.not90 = icmp eq i64 %.058, 0
  br i1 %.not90, label %.loopexit, label %.lr.ph

69:                                               ; preds = %68
  %70 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  %71 = call noundef ptr @_ZNK3cfg16ControlFlowGraph11entry_blockEv(ptr noundef nonnull align 8 dereferenceable(160) %70)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  invoke void @_ZN3cfg5Block27get_last_param_loading_insnEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %8, ptr noundef nonnull align 8 dereferenceable(104) %71)
          to label %.preheader unwind label %76

.preheader:                                       ; preds = %69
  %.not91 = icmp eq i64 %.058, 0
  br i1 %.not91, label %._crit_edge, label %.lr.ph86

._crit_edge:                                      ; preds = %107, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %.loopexit

72:                                               ; preds = %62, %60
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %151

74:                                               ; preds = %.loopexit, %64
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %151

76:                                               ; preds = %69
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %112

.lr.ph86:                                         ; preds = %.preheader, %107
  %.04585 = phi i64 [ %109, %107 ], [ 0, %.preheader ]
  %78 = call noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %70)
  %79 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #9
          to label %80 unwind label %91

80:                                               ; preds = %.lr.ph86
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %79, i16 noundef zeroext 160)
          to label %81 unwind label %93

81:                                               ; preds = %80
  %82 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %79, i32 noundef %78)
          to label %83 unwind label %91

83:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  invoke void @_ZN3cfg5Block3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(104) %71)
          to label %84 unwind label %95

84:                                               ; preds = %83
  %85 = invoke noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %86 unwind label %95

86:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br i1 %85, label %87, label %99

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %10, ptr noundef nonnull align 8 dereferenceable(104) %71, ptr noundef nonnull align 8 dereferenceable(8) %8, i1 noundef zeroext false)
          to label %88 unwind label %97

88:                                               ; preds = %87
  %89 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %70, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %79)
          to label %90 unwind label %97

90:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %106

91:                                               ; preds = %81, %.lr.ph86
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %112

93:                                               ; preds = %80
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %79, i64 noundef 32) #10
  br label %112

95:                                               ; preds = %84, %83
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %112

97:                                               ; preds = %88, %87
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %112

99:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  invoke void @_ZN3cfg5Block32get_first_non_param_loading_insnEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %12, ptr noundef nonnull align 8 dereferenceable(104) %71)
          to label %100 unwind label %104

100:                                              ; preds = %99
  invoke void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %11, ptr noundef nonnull align 8 dereferenceable(104) %71, ptr noundef nonnull align 8 dereferenceable(8) %12, i1 noundef zeroext false)
          to label %101 unwind label %104

101:                                              ; preds = %100
  %102 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %70, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull %79)
          to label %103 unwind label %104

103:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %106

104:                                              ; preds = %101, %100, %99
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %112

106:                                              ; preds = %103, %90
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  invoke void @_ZN3cfg5Block27get_last_param_loading_insnEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %13, ptr noundef nonnull align 8 dereferenceable(104) %71)
          to label %107 unwind label %110

107:                                              ; preds = %106
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEaSERKS7_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %109 = add nuw i64 %.04585, 1
  %exitcond105.not = icmp eq i64 %109, %.058
  br i1 %exitcond105.not, label %._crit_edge, label %.lr.ph86, !llvm.loop !15

110:                                              ; preds = %106
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %112

112:                                              ; preds = %91, %93, %95, %97, %104, %110, %76
  %.pn64.pn = phi { ptr, i32 } [ %77, %76 ], [ %111, %110 ], [ %98, %97 ], [ %105, %104 ], [ %96, %95 ], [ %92, %91 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %151

.lr.ph:                                           ; preds = %.preheader73, %121
  %.084 = phi i64 [ %122, %121 ], [ 0, %.preheader73 ]
  %113 = call noundef i32 @_ZN6IRCode13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  invoke void @_ZNK6IRCode22get_param_instructionsEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::sub_range") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %114 unwind label %123

114:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %115 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #9
          to label %116 unwind label %125

116:                                              ; preds = %114
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %115, i16 noundef zeroext 160)
          to label %117 unwind label %127

117:                                              ; preds = %116
  store ptr %115, ptr %15, align 8, !tbaa !5
  %118 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %115, i32 noundef %113)
          to label %119 unwind label %125

119:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  invoke void @_ZN5boost9sub_rangeI6IRListE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %120 unwind label %129

120:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  invoke void @_ZN6IRCode13insert_beforeIJRP13IRInstructionEEEN5boost9intrusive13list_iteratorINS5_8mhtraitsI15MethodItemEntryNS5_16list_member_hookIJEEEXadL_ZNS8_10list_hook_EEEEELb0EEERKSC_DpOT_(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %121 unwind label %131

121:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  %122 = add nuw i64 %.084, 1
  %exitcond.not = icmp eq i64 %122, %.058
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !16

123:                                              ; preds = %.lr.ph
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %135

125:                                              ; preds = %117, %114
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %134

127:                                              ; preds = %116
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %115, i64 noundef 32) #10
  br label %134

129:                                              ; preds = %119
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %133

131:                                              ; preds = %120
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %133

133:                                              ; preds = %131, %129
  %.pn = phi { ptr, i32 } [ %132, %131 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  br label %134

134:                                              ; preds = %133, %127, %125
  %.pn.pn = phi { ptr, i32 } [ %.pn, %133 ], [ %126, %125 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %135

135:                                              ; preds = %134, %123
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %134 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  br label %151

.loopexit:                                        ; preds = %121, %.preheader73, %._crit_edge
  %136 = invoke noundef zeroext i1 @_Z12traceEnabled11TraceModulei(i32 noundef 110, i32 noundef 9)
          to label %137 unwind label %74

137:                                              ; preds = %.loopexit
  br i1 %136, label %138, label %148

138:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #8
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef %139)
          to label %140 unwind label %143

140:                                              ; preds = %138
  %141 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  invoke void (i32, i32, i1, ptr, ...) @_Z5trace11TraceModuleibPKcz(i32 noundef 110, i32 noundef 9, i1 noundef zeroext false, ptr noundef nonnull @.str.18, ptr noundef %141, i64 noundef %.058)
          to label %142 unwind label %145

142:                                              ; preds = %140
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  br label %148

143:                                              ; preds = %138
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

145:                                              ; preds = %140
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %147

147:                                              ; preds = %145, %143
  %.pn62 = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  br label %151

148:                                              ; preds = %142, %137
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairIP9DexMethodP8DexProtoESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %150 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairIP9DexMethodP8DexProtoESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br i1 %150, label %31, label %._crit_edge89

151:                                              ; preds = %74, %112, %135, %147, %72
  %.pn64.pn.pn.pn = phi { ptr, i32 } [ %73, %72 ], [ %.pn64.pn, %112 ], [ %.pn62, %147 ], [ %75, %74 ], [ %.pn.pn.pn, %135 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %152

152:                                              ; preds = %58, %151, %56
  %.pn69.pn = phi { ptr, i32 } [ %57, %56 ], [ %59, %58 ], [ %.pn64.pn.pn.pn, %151 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %158

153:                                              ; preds = %._crit_edge89
  invoke void @"_ZN4walk8parallel4codeISt6vectorIP8DexClassSaIS4_EEZN14type_reference22fix_colliding_dmethodsERKS6_RKS2_ISt4pairIP9DexMethodP8DexProtoESaISF_EEE3$_0EEvRKT_RKT0_m"(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %19, i64 noundef %30)
          to label %154 unwind label %156

154:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #8
  br label %155

155:                                              ; preds = %2, %154
  ret void

156:                                              ; preds = %153, %._crit_edge89
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br label %158

158:                                              ; preds = %156, %152
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %152 ], [ %157, %156 ]
  call void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn69.pn.pn
}

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

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

declare noundef ptr @_ZN8DexProto10make_protoEPK7DexTypePK11DexTypeList(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

declare noundef ptr @_ZNK11DexTypeList9push_backEP7DexType(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #3

declare noundef ptr @_ZN4type4_intEv() local_unnamed_addr #3

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

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

declare noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

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

declare void @_ZN3cfg5Block27get_last_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #6

declare void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7

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

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

declare void @_ZN3cfg5Block3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12insert_afterERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

declare void @_ZN3cfg5Block27to_cfg_instruction_iteratorERKN5boost9intrusive13list_iteratorINS2_8mhtraitsI15MethodItemEntryNS2_16list_member_hookIJEEEXadL_ZNS5_10list_hook_EEEEELb0EEEb(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

declare void @_ZN3cfg5Block32get_first_non_param_loading_insnEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6IRCode22get_param_instructionsEv(ptr dead_on_unwind noalias writable sret(%"class.boost::sub_range") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRCode13insert_beforeIJRP13IRInstructionEEEN5boost9intrusive13list_iteratorINS5_8mhtraitsI15MethodItemEntryNS5_16list_member_hookIJEEEXadL_ZNS8_10list_hook_EEEEELb0EEERKSC_DpOT_(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5boost9sub_rangeI6IRListE3endEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN12UnorderedMapIP9DexMethodmSt4hashIS1_ESt8equal_toIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTS13DexMethodSpec", !6, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}


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