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

; 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.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::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"struct.boost::none_t" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.method_reference::NewCallee" = type { ptr, %"class.boost::optional" }
%"class.boost::optional" = type { %"class.boost::optional_detail::optional_base" }
%"class.boost::optional_detail::optional_base" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage" }
%"class.boost::optional_detail::aligned_storage" = type { %"union.boost::optional_detail::aligned_storage<std::vector<unsigned int>>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<std::vector<unsigned int>>::dummy_u" = type { [24 x i8] }
%"struct.method_reference::CallSite" = type { ptr, ptr, ptr, ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.102 }
%"class.boost::intrusive::list_member_hook" = type { %"class.boost::intrusive::generic_hook" }
%"class.boost::intrusive::generic_hook" = type { %"struct.boost::intrusive::list_node" }
%"struct.boost::intrusive::list_node" = type { ptr, ptr }
%union.anon.102 = type { ptr }

@.str.9 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [95 x i8], align 1
@__PRETTY_FUNCTION__._ZN16method_reference14patch_callsiteERKNS_8CallSiteERKNS_9NewCalleeE = external hidden unnamed_addr constant [75 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [56 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN16method_reference15make_load_constEjm(i32 noundef, i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef) #2

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16method_reference14patch_callsiteERKNS_8CallSiteERKNS_9NewCalleeE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca i1, align 1
  %7 = alloca i1, align 1
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i1, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %17 = alloca %"struct.boost::none_t", align 1
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca %"class.boost::intrusive::list_iterator", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"struct.boost::none_t", align 1
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca ptr, align 8
  %39 = alloca %"class.boost::intrusive::list_iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %40, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = call noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef %42)
  br i1 %43, label %54, label %44

44:                                               ; preds = %2
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  %48 = call noundef zeroext i1 @_ZN6method11is_any_initEPK12DexMethodRef(ptr noundef %47)
  br i1 %48, label %54, label %49

49:                                               ; preds = %44
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  %53 = call noundef zeroext i1 @_ZNK9DexMethod10is_virtualEv(ptr noundef nonnull align 8 dereferenceable(88) %52)
  br i1 %53, label %54, label %58

54:                                               ; preds = %49, %44, %2
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %55, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !9
  call void @_Z10set_publicI9DexMethodEvPT_(ptr noundef %57)
  br label %58

58:                                               ; preds = %54, %49
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  %62 = call noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef %61)
  store i1 false, ptr %6, align 1
  store i1 false, ptr %7, align 1
  store i1 false, ptr %9, align 1
  store i1 false, ptr %12, align 1
  br i1 %62, label %73, label %63

63:                                               ; preds = %58
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  %67 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %66)
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.method_reference::CallSite", ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !15
  %71 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %70)
  %72 = icmp eq ptr %67, %71
  br i1 %72, label %73, label %74

73:                                               ; preds = %63, %58
  br label %95

74:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #7
  store i1 true, ptr %6, align 1
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !9
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef %77)
  store i1 true, ptr %7, align 1
  %78 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  store i1 true, ptr %9, align 1
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.method_reference::CallSite", ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !15
  invoke void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef %81)
          to label %82 unwind label %85

82:                                               ; preds = %74
  store i1 true, ptr %12, align 1
  %83 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.11, ptr noundef @.str.9, i32 noundef 62, ptr noundef @__PRETTY_FUNCTION__._ZN16method_reference14patch_callsiteERKNS_8CallSiteERKNS_9NewCalleeE, i32 noundef 2, ptr noundef @.str.12, ptr noundef %78, ptr noundef %83) #8
          to label %84 unwind label %89

84:                                               ; preds = %82
  unreachable

85:                                               ; preds = %74
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %10, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %11, align 4
  br label %150

89:                                               ; preds = %82
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %10, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %11, align 4
  %93 = load i1, ptr %12, align 1
  br i1 %93, label %148, label %149

94:                                               ; No predecessors!
  br label %95

95:                                               ; preds = %94, %73
  %96 = load i1, ptr %12, align 1
  br i1 %96, label %97, label %98

97:                                               ; preds = %95
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %98

98:                                               ; preds = %97, %95
  %99 = load i1, ptr %9, align 1
  br i1 %99, label %100, label %101

100:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  br label %101

101:                                              ; preds = %100, %98
  %102 = load i1, ptr %7, align 1
  br i1 %102, label %103, label %104

103:                                              ; preds = %101
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %104

104:                                              ; preds = %103, %101
  %105 = load i1, ptr %6, align 1
  br i1 %105, label %106, label %107

106:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #7
  br label %107

107:                                              ; preds = %106, %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.method_reference::CallSite", ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !15
  %111 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %110)
  store ptr %111, ptr %13, align 8, !tbaa !5
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %112)
  br i1 %113, label %114, label %187

114:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %115)
  store ptr %116, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.method_reference::CallSite", ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !17
  store ptr %119, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #7
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  %121 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %16, ptr noundef nonnull align 8 dereferenceable(160) %120, ptr noundef %121, ptr noundef null)
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %122, i32 0, i32 1
  %124 = call noundef zeroext i1 @_ZN5boostneISt6vectorIjSaIjEEEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(32) %123) #7
  br i1 %124, label %125, label %181

125:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %126, i32 0, i32 1
  %128 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5boost8optionalISt6vectorIjSaIjEEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %127)
  store ptr %128, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %129 = load ptr, ptr %15, align 8, !tbaa !5
  %130 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %129)
  store i64 %130, ptr %19, align 8, !tbaa !18
  %131 = load ptr, ptr %15, align 8, !tbaa !5
  %132 = load i64, ptr %19, align 8, !tbaa !18
  %133 = load ptr, ptr %18, align 8, !tbaa !5
  %134 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  %135 = add i64 %132, %134
  %136 = call noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32) %131, i64 noundef %135)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %137 = load i64, ptr %19, align 8, !tbaa !18
  store i64 %137, ptr %20, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %138 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %138, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %139 = load ptr, ptr %21, align 8, !tbaa !5
  %140 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #7
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %140, ptr %141, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %142 = load ptr, ptr %21, align 8, !tbaa !5
  %143 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %142) #7
  %144 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %143, ptr %144, align 8
  br label %145

145:                                              ; preds = %178, %125
  %146 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br i1 %146, label %160, label %147

147:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %180

148:                                              ; preds = %89
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %149

149:                                              ; preds = %148, %89
  br label %150

150:                                              ; preds = %149, %85
  %151 = load i1, ptr %9, align 1
  br i1 %151, label %152, label %153

152:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  br label %153

153:                                              ; preds = %152, %150
  %154 = load i1, ptr %7, align 1
  br i1 %154, label %155, label %156

155:                                              ; preds = %153
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %156

156:                                              ; preds = %155, %153
  %157 = load i1, ptr %6, align 1
  br i1 %157, label %158, label %159

158:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #7
  br label %159

159:                                              ; preds = %158, %156
  br label %249

160:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %162 = load i32, ptr %161, align 4, !tbaa !20
  store i32 %162, ptr %24, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %163 = load ptr, ptr %14, align 8, !tbaa !5
  %164 = call noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %163)
  store i32 %164, ptr %25, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %165 = load i32, ptr %25, align 4, !tbaa !20
  %166 = load i32, ptr %24, align 4, !tbaa !20
  %167 = zext i32 %166 to i64
  %168 = call noundef ptr @_ZN16method_reference15make_load_constEjm(i32 noundef %165, i64 noundef %167)
  store ptr %168, ptr %26, align 8, !tbaa !5
  %169 = load ptr, ptr %14, align 8, !tbaa !5
  %170 = load ptr, ptr %26, align 8, !tbaa !5
  %171 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %169, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef %170)
  %172 = load ptr, ptr %15, align 8, !tbaa !5
  %173 = load i64, ptr %20, align 8, !tbaa !18
  %174 = add i64 %173, 1
  store i64 %174, ptr %20, align 8, !tbaa !18
  %175 = trunc i64 %173 to i16
  %176 = load i32, ptr %25, align 4, !tbaa !20
  %177 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %172, i16 noundef zeroext %175, i32 noundef %176)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %178

178:                                              ; preds = %160
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br label %145

180:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %181

181:                                              ; preds = %180, %114
  %182 = load ptr, ptr %15, align 8, !tbaa !5
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %183, i32 0, i32 0
  %185 = load ptr, ptr %184, align 8, !tbaa !9
  %186 = call noundef ptr @_ZN13IRInstruction10set_methodEP12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(32) %182, ptr noundef %185)
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %248

187:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %188 = load ptr, ptr %13, align 8, !tbaa !5
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.method_reference::CallSite", ptr %189, i32 0, i32 1
  %191 = load ptr, ptr %190, align 8, !tbaa !22
  call void @_ZN6IRCode11iterator_toER15MethodItemEntry(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %188, ptr noundef nonnull align 8 dereferenceable(32) %191)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %192 = load ptr, ptr %3, align 8, !tbaa !5
  %193 = getelementptr inbounds %"struct.method_reference::CallSite", ptr %192, i32 0, i32 1
  %194 = load ptr, ptr %193, align 8, !tbaa !22
  %195 = getelementptr inbounds %struct.MethodItemEntry, ptr %194, i32 0, i32 2
  %196 = load ptr, ptr %195, align 8, !tbaa !23
  store ptr %196, ptr %28, align 8, !tbaa !5
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %197, i32 0, i32 1
  %199 = call noundef zeroext i1 @_ZN5boostneISt6vectorIjSaIjEEEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(32) %198) #7
  br i1 %199, label %200, label %242

200:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %201, i32 0, i32 1
  %203 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5boost8optionalISt6vectorIjSaIjEEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %202)
  store ptr %203, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %204 = load ptr, ptr %28, align 8, !tbaa !5
  %205 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %204)
  store i64 %205, ptr %31, align 8, !tbaa !18
  %206 = load ptr, ptr %28, align 8, !tbaa !5
  %207 = load i64, ptr %31, align 8, !tbaa !18
  %208 = load ptr, ptr %30, align 8, !tbaa !5
  %209 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %208) #7
  %210 = add i64 %207, %209
  %211 = call noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32) %206, i64 noundef %210)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %212 = load i64, ptr %31, align 8, !tbaa !18
  store i64 %212, ptr %32, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %213 = load ptr, ptr %30, align 8, !tbaa !5
  store ptr %213, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %214 = load ptr, ptr %33, align 8, !tbaa !5
  %215 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %214) #7
  %216 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %215, ptr %216, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %217 = load ptr, ptr %33, align 8, !tbaa !5
  %218 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %217) #7
  %219 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  store ptr %218, ptr %219, align 8
  br label %220

220:                                              ; preds = %239, %200
  %221 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br i1 %221, label %223, label %222

222:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  br label %241

223:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  %225 = load i32, ptr %224, align 4, !tbaa !20
  store i32 %225, ptr %36, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %226 = load ptr, ptr %13, align 8, !tbaa !5
  %227 = call noundef i32 @_ZN6IRCode13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(32) %226)
  store i32 %227, ptr %37, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %228 = load i32, ptr %37, align 4, !tbaa !20
  %229 = load i32, ptr %36, align 4, !tbaa !20
  %230 = zext i32 %229 to i64
  %231 = call noundef ptr @_ZN16method_reference15make_load_constEjm(i32 noundef %228, i64 noundef %230)
  store ptr %231, ptr %38, align 8, !tbaa !5
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  call 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 %39, ptr noundef nonnull align 8 dereferenceable(32) %232, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %38)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  %233 = load ptr, ptr %28, align 8, !tbaa !5
  %234 = load i64, ptr %32, align 8, !tbaa !18
  %235 = add i64 %234, 1
  store i64 %235, ptr %32, align 8, !tbaa !18
  %236 = trunc i64 %234 to i16
  %237 = load i32, ptr %37, align 4, !tbaa !20
  %238 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %233, i16 noundef zeroext %236, i32 noundef %237)
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  br label %239

239:                                              ; preds = %223
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  br label %220

241:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %242

242:                                              ; preds = %241, %187
  %243 = load ptr, ptr %28, align 8, !tbaa !5
  %244 = load ptr, ptr %4, align 8, !tbaa !5
  %245 = getelementptr inbounds %"struct.method_reference::NewCallee", ptr %244, i32 0, i32 0
  %246 = load ptr, ptr %245, align 8, !tbaa !9
  %247 = call noundef ptr @_ZN13IRInstruction10set_methodEP12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(32) %243, ptr noundef %246)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %248

248:                                              ; preds = %242, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  ret void

249:                                              ; preds = %159
  %250 = load ptr, ptr %10, align 8
  %251 = load i32, ptr %11, align 4
  %252 = insertvalue { ptr, i32 } poison, ptr %250, 0
  %253 = insertvalue { ptr, i32 } %252, i32 %251, 1
  resume { ptr, i32 } %253
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6method11is_any_initEPK12DexMethodRef(ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z10set_publicI9DexMethodEvPT_(ptr noundef) #2

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

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

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

; 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

declare void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5boostneISt6vectorIjSaIjEEEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(32)) #6

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

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #5

declare noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #5

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

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

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

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

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

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

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

declare noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, i32 noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRCode11iterator_toER15MethodItemEntry(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(32)) #2 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 @_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)) #2 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN16method_reference9NewCalleeE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSN5boost8optionalISt6vectorIjSaIjEEEE", !12, i64 0}
!12 = !{!"_ZTSN5boost15optional_detail13optional_baseISt6vectorIjSaIjEEEE", !13, i64 0, !14, i64 8}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN5boost15optional_detail15aligned_storageISt6vectorIjSaIjEEEE", !7, i64 0}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSN16method_reference8CallSiteE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!16, !6, i64 16}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"int", !7, i64 0}
!22 = !{!16, !6, i64 8}
!23 = !{!7, !7, i64 0}


; 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.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::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [95 x i8], align 1
@__PRETTY_FUNCTION__._ZN16method_reference14patch_callsiteERKNS_8CallSiteERKNS_9NewCalleeE = external hidden unnamed_addr constant [75 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [56 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN16method_reference15make_load_constEjm(i32 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef) local_unnamed_addr #2

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16method_reference14patch_callsiteERKNS_8CallSiteERKNS_9NewCalleeE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.boost::intrusive::list_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.boost::intrusive::list_iterator", align 8
  %13 = load ptr, ptr %1, align 8, !tbaa !5
  %14 = tail call noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef %13)
  br i1 %14, label %21, label %15

15:                                               ; preds = %2
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = tail call noundef zeroext i1 @_ZN6method11is_any_initEPK12DexMethodRef(ptr noundef %16)
  br i1 %17, label %21, label %18

18:                                               ; preds = %15
  %19 = load ptr, ptr %1, align 8, !tbaa !5
  %20 = tail call noundef zeroext i1 @_ZNK9DexMethod10is_virtualEv(ptr noundef nonnull align 8 dereferenceable(88) %19)
  br i1 %20, label %21, label %23

21:                                               ; preds = %18, %15, %2
  %22 = load ptr, ptr %1, align 8, !tbaa !5
  tail call void @_Z10set_publicI9DexMethodEvPT_(ptr noundef %22)
  br label %23

23:                                               ; preds = %21, %18
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = tail call noundef zeroext i1 @_Z9is_publicI9DexMethodEbPT_(ptr noundef %24)
  br i1 %25, label %43, label %26

26:                                               ; preds = %23
  %27 = load ptr, ptr %1, align 8, !tbaa !5
  %28 = tail call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %27)
  %29 = load ptr, ptr %0, align 8, !tbaa !14
  %30 = tail call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %29)
  %31 = icmp eq ptr %28, %30
  br i1 %31, label %43, label %32

32:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  %33 = load ptr, ptr %1, align 8, !tbaa !5
  call void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef %33)
  %34 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  %35 = load ptr, ptr %0, align 8, !tbaa !14
  invoke void @_Z4showB5cxx11PK12DexMethodRef(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef %35)
          to label %36 unwind label %39

36:                                               ; preds = %32
  %37 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.9, i32 noundef 62, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN16method_reference14patch_callsiteERKNS_8CallSiteERKNS_9NewCalleeE, i32 noundef 2, ptr noundef nonnull @.str.12, ptr noundef %34, ptr noundef %37) #8
          to label %38 unwind label %41

38:                                               ; preds = %36
  unreachable

39:                                               ; preds = %32
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %62

41:                                               ; preds = %36
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  br label %62

43:                                               ; preds = %23, %26
  %44 = load ptr, ptr %0, align 8, !tbaa !14
  %45 = tail call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %44)
  %46 = tail call noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  br i1 %46, label %47, label %77

47:                                               ; preds = %43
  %48 = tail call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  %49 = getelementptr inbounds i8, ptr %0, i64 16
  %50 = load ptr, ptr %49, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %5, ptr noundef nonnull align 8 dereferenceable(160) %48, ptr noundef %50, ptr noundef null)
  %51 = getelementptr inbounds i8, ptr %1, i64 8
  %52 = call noundef zeroext i1 @_ZN5boostneISt6vectorIjSaIjEEEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(32) %51) #7
  br i1 %52, label %53, label %74

53:                                               ; preds = %47
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5boost8optionalISt6vectorIjSaIjEEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %51)
  %55 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %50)
  %56 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  %57 = add i64 %56, %55
  %58 = call noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32) %50, i64 noundef %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %59 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  store ptr %59, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %60 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  store ptr %60, ptr %7, align 8
  %61 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %61, label %.lr.ph73, label %._crit_edge74

._crit_edge74:                                    ; preds = %.lr.ph73, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %74

62:                                               ; preds = %39, %41
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn

.lr.ph73:                                         ; preds = %53, %.lr.ph73
  %.06871 = phi i64 [ %69, %.lr.ph73 ], [ %55, %53 ]
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %64 = load i32, ptr %63, align 4, !tbaa !17
  %65 = call noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %48)
  %66 = zext i32 %64 to i64
  %67 = call noundef ptr @_ZN16method_reference15make_load_constEjm(i32 noundef %65, i64 noundef %66)
  %68 = call noundef zeroext i1 @_ZN3cfg16ControlFlowGraph13insert_beforeERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %48, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %67)
  %69 = add i64 %.06871, 1
  %70 = trunc i64 %.06871 to i16
  %71 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %50, i16 noundef zeroext %70, i32 noundef %65)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %73 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %73, label %.lr.ph73, label %._crit_edge74

74:                                               ; preds = %._crit_edge74, %47
  %75 = load ptr, ptr %1, align 8, !tbaa !5
  %76 = call noundef ptr @_ZN13IRInstruction10set_methodEP12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef %75)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %107

77:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %78 = getelementptr inbounds i8, ptr %0, i64 8
  %79 = load ptr, ptr %78, align 8, !tbaa !19
  call void @_ZN6IRCode11iterator_toER15MethodItemEntry(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %79)
  %80 = load ptr, ptr %78, align 8, !tbaa !19
  %81 = getelementptr inbounds i8, ptr %80, i64 24
  %82 = load ptr, ptr %81, align 8, !tbaa !20
  %83 = getelementptr inbounds i8, ptr %1, i64 8
  %84 = call noundef zeroext i1 @_ZN5boostneISt6vectorIjSaIjEEEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(32) %83) #7
  br i1 %84, label %85, label %104

85:                                               ; preds = %77
  %86 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK5boost8optionalISt6vectorIjSaIjEEE3getEv(ptr noundef nonnull align 8 dereferenceable(32) %83)
  %87 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %82)
  %88 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #7
  %89 = add i64 %88, %87
  %90 = call noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32) %82, i64 noundef %89)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %91 = call ptr @_ZNKSt6vectorIjSaIjEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #7
  store ptr %91, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %92 = call ptr @_ZNKSt6vectorIjSaIjEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #7
  store ptr %92, ptr %10, align 8
  %93 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %93, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %104

.lr.ph:                                           ; preds = %85, %.lr.ph
  %.070 = phi i64 [ %99, %.lr.ph ], [ %87, %85 ]
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %95 = load i32, ptr %94, align 4, !tbaa !17
  %96 = call noundef i32 @_ZN6IRCode13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %97 = zext i32 %95 to i64
  %98 = call noundef ptr @_ZN16method_reference15make_load_constEjm(i32 noundef %96, i64 noundef %97)
  store ptr %98, ptr %11, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  call 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 %12, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %99 = add i64 %.070, 1
  %100 = trunc i64 %.070 to i16
  %101 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %82, i16 noundef zeroext %100, i32 noundef %96)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKjSt6vectorIjSaIjEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %103 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %103, label %.lr.ph, label %._crit_edge

104:                                              ; preds = %._crit_edge, %77
  %105 = load ptr, ptr %1, align 8, !tbaa !5
  %106 = call noundef ptr @_ZN13IRInstruction10set_methodEP12DexMethodRef(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef %105)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %107

107:                                              ; preds = %104, %74
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z9is_staticI9DexMethodEbPT_(ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6method11is_any_initEPK12DexMethodRef(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z10set_publicI9DexMethodEvPT_(ptr noundef) local_unnamed_addr #2

; 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

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

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

; 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

declare void @_ZN3cfg16ControlFlowGraph9find_insnEP13IRInstructionPNS_5BlockE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(160), ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5boostneISt6vectorIjSaIjEEEEbRKNS_8optionalIT_EENS_6none_tE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

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

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

declare noundef ptr @_ZN13IRInstruction13set_srcs_sizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIjSaIjEE3endEv(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_cxxneIPKjSt6vectorIjSaIjEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

; 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

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 #5

declare noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, i32 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6IRCode11iterator_toER15MethodItemEntry(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(32)) local_unnamed_addr #2 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 @_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 #2 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN16method_reference9NewCalleeE", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN5boost8optionalISt6vectorIjSaIjEEEE", !11, i64 0}
!11 = !{!"_ZTSN5boost15optional_detail13optional_baseISt6vectorIjSaIjEEEE", !12, i64 0, !13, i64 8}
!12 = !{!"bool", !8, i64 0}
!13 = !{!"_ZTSN5boost15optional_detail15aligned_storageISt6vectorIjSaIjEEEE", !8, i64 0}
!14 = !{!15, !7, i64 0}
!15 = !{!"_ZTSN16method_reference8CallSiteE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!16 = !{!15, !7, i64 16}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !8, i64 0}
!19 = !{!15, !7, i64 8}
!20 = !{!8, !8, i64 0}
!21 = !{!7, !7, i64 0}


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