; LLVM IR from facebook/redex :: opt/builder_pattern (BuilderTransform)

; 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.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.std::vector.801" = type { %"struct.std::_Vector_base.802" }
%"struct.std::_Vector_base.802" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cfg::InstructionIterableImpl" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::map.828" = type { %"class.std::_Rb_tree.829" }
%"class.std::_Rb_tree.829" = type { %"struct.std::_Rb_tree<DexField *, std::pair<DexField *const, unsigned long>, std::_Select1st<std::pair<DexField *const, unsigned long>>, dexfields_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DexField *, std::pair<DexField *const, unsigned long>, std::_Select1st<std::pair<DexField *const, unsigned long>>, dexfields_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.839" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.850" = type { ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.746 }
%"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.746 = type { ptr }
%"struct.std::pair.848" = type { %"class.cfg::InstructionIteratorImpl", ptr }

@.str.12 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod = external hidden unnamed_addr constant [98 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [77 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

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

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

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

; 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: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) #5

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

; 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 uwtable
define dso_local void @_ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod(ptr noundef nonnull align 8 dereferenceable(3280) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef %2) #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::vector.801", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %14 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %15 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca i1, align 1
  %21 = alloca i1, align 1
  %22 = alloca %"class.std::map.828", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.839", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.839", align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca i1, align 1
  %33 = alloca i1, align 1
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.850", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.850", align 8
  %40 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %42)
  store ptr %43, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #9
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = invoke noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %46 unwind label %50

46:                                               ; preds = %3
  br i1 %45, label %47, label %48

47:                                               ; preds = %46
  br label %55

48:                                               ; preds = %46
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.17, ptr noundef @.str.12, i32 noundef 182, ptr noundef @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef @.str.13) #10
          to label %49 unwind label %50

49:                                               ; preds = %48
  unreachable

50:                                               ; preds = %48, %3
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %9, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %10, align 4
  br label %515

54:                                               ; No predecessors!
  br label %55

55:                                               ; preds = %54, %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %58 unwind label %71

58:                                               ; preds = %55
  store ptr %57, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = invoke ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %59)
          to label %61 unwind label %75

61:                                               ; preds = %58
  %62 = getelementptr inbounds %"class.cfg::InstructionIterableImpl", ptr %13, i32 0, i32 0
  store ptr %60, ptr %62, align 8
  store ptr %13, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #9
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %63)
          to label %64 unwind label %79

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %66 unwind label %83

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %476, %66
  %68 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %69 unwind label %83

69:                                               ; preds = %67
  br i1 %68, label %87, label %70

70:                                               ; preds = %69
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %487

71:                                               ; preds = %55
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %9, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %10, align 4
  br label %514

75:                                               ; preds = %58
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  br label %486

79:                                               ; preds = %61
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %9, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %10, align 4
  br label %485

83:                                               ; preds = %474, %67, %64
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %9, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %10, align 4
  br label %484

87:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %88 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %89 unwind label %98

89:                                               ; preds = %87
  store ptr %88, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %90 = load ptr, ptr %17, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.MethodItemEntry, ptr %90, i32 0, i32 2
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  store ptr %92, ptr %18, align 8, !tbaa !5
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = invoke noundef i64 @_ZNK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %93, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %95 unwind label %102

95:                                               ; preds = %89
  %96 = icmp ne i64 %94, 0
  br i1 %96, label %106, label %97

97:                                               ; preds = %95
  store i32 3, ptr %16, align 4
  br label %468

98:                                               ; preds = %87
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  br label %483

102:                                              ; preds = %137, %134, %106, %89
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %9, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %10, align 4
  br label %482

106:                                              ; preds = %95
  %107 = load ptr, ptr %18, align 8, !tbaa !5
  store i1 false, ptr %20, align 1
  store i1 false, ptr %21, align 1
  %108 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %107)
          to label %109 unwind label %102

109:                                              ; preds = %106
  %110 = zext i16 %108 to i32
  %111 = icmp eq i32 %110, 21
  br i1 %111, label %112, label %113

112:                                              ; preds = %109
  br label %128

113:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  store i1 true, ptr %20, align 1
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef %114)
          to label %115 unwind label %118

115:                                              ; preds = %113
  store i1 true, ptr %21, align 1
  %116 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.18, ptr noundef @.str.12, i32 noundef 194, ptr noundef @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef @.str.19, ptr noundef %116) #10
          to label %117 unwind label %122

117:                                              ; preds = %115
  unreachable

118:                                              ; preds = %113
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %9, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %10, align 4
  br label %154

122:                                              ; preds = %115
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %9, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %10, align 4
  %126 = load i1, ptr %21, align 1
  br i1 %126, label %152, label %153

127:                                              ; No predecessors!
  br label %128

128:                                              ; preds = %127, %112
  %129 = load i1, ptr %21, align 1
  br i1 %129, label %130, label %131

130:                                              ; preds = %128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %131

131:                                              ; preds = %130, %128
  %132 = load i1, ptr %20, align 1
  br i1 %132, label %133, label %134

133:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  br label %134

134:                                              ; preds = %133, %131
  %135 = load ptr, ptr %18, align 8, !tbaa !5
  %136 = invoke noundef ptr @_ZN4type16java_lang_ObjectEv()
          to label %137 unwind label %102

137:                                              ; preds = %134
  %138 = invoke noundef ptr @_ZN13IRInstruction8set_typeEP7DexType(ptr noundef nonnull align 8 dereferenceable(32) %135, ptr noundef %136)
          to label %139 unwind label %102

139:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #9
  call void @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE2atERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %140, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %142 unwind label %158

142:                                              ; preds = %139
  store ptr %141, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %143 = load ptr, ptr %23, align 8, !tbaa !5
  %144 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #9
  %145 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.839", ptr %24, i32 0, i32 0
  store ptr %144, ptr %145, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %146 = load ptr, ptr %23, align 8, !tbaa !5
  %147 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #9
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.839", ptr %25, i32 0, i32 0
  store ptr %147, ptr %148, align 8
  br label %149

149:                                              ; preds = %459, %142
  %150 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  br i1 %150, label %162, label %151

151:                                              ; preds = %149
  store i32 4, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %463

152:                                              ; preds = %122
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %153

153:                                              ; preds = %152, %122
  br label %154

154:                                              ; preds = %153, %118
  %155 = load i1, ptr %20, align 1
  br i1 %155, label %156, label %157

156:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  br label %157

157:                                              ; preds = %156, %154
  br label %482

158:                                              ; preds = %139
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %9, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %10, align 4
  br label %462

162:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %163 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  store ptr %163, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %164 = load ptr, ptr %26, align 8, !tbaa !5
  %165 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %164)
          to label %166 unwind label %191

166:                                              ; preds = %162
  %167 = getelementptr inbounds %struct.MethodItemEntry, ptr %165, i32 0, i32 2
  %168 = load ptr, ptr %167, align 8, !tbaa !9
  store ptr %168, ptr %27, align 8, !tbaa !5
  %169 = load ptr, ptr %27, align 8, !tbaa !5
  %170 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %169)
          to label %171 unwind label %191

171:                                              ; preds = %166
  %172 = invoke noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext %170)
          to label %173 unwind label %191

173:                                              ; preds = %171
  br i1 %172, label %180, label %174

174:                                              ; preds = %173
  %175 = load ptr, ptr %27, align 8, !tbaa !5
  %176 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %175)
          to label %177 unwind label %191

177:                                              ; preds = %174
  %178 = invoke noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext %176)
          to label %179 unwind label %191

179:                                              ; preds = %177
  br i1 %178, label %180, label %321

180:                                              ; preds = %179, %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %181 = load ptr, ptr %27, align 8, !tbaa !5
  %182 = invoke noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %181)
          to label %183 unwind label %195

183:                                              ; preds = %180
  %184 = invoke noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef %182, i32 noundef 1)
          to label %185 unwind label %195

185:                                              ; preds = %183
  store ptr %184, ptr %28, align 8, !tbaa !5
  %186 = load ptr, ptr %28, align 8, !tbaa !5
  %187 = icmp ne ptr %186, null
  br i1 %187, label %188, label %189

188:                                              ; preds = %185
  br label %200

189:                                              ; preds = %185
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.20, ptr noundef @.str.12, i32 noundef 207, ptr noundef @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef @.str.13) #10
          to label %190 unwind label %195

190:                                              ; preds = %189
  unreachable

191:                                              ; preds = %374, %346, %340, %336, %333, %327, %321, %177, %174, %171, %166, %162
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %9, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %10, align 4
  br label %461

195:                                              ; preds = %218, %214, %210, %207, %204, %200, %189, %183, %180
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %9, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %10, align 4
  br label %320

199:                                              ; No predecessors!
  br label %200

200:                                              ; preds = %199, %188
  %201 = invoke noundef i64 @_ZNKSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEE5countERS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %202 unwind label %195

202:                                              ; preds = %200
  %203 = icmp eq i64 %201, 0
  br i1 %203, label %204, label %223

204:                                              ; preds = %202
  %205 = load ptr, ptr %28, align 8, !tbaa !5
  %206 = invoke noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %205)
          to label %207 unwind label %195

207:                                              ; preds = %204
  %208 = invoke noundef zeroext i1 @_ZN4type12is_wide_typeEPK7DexType(ptr noundef %206)
          to label %209 unwind label %195

209:                                              ; preds = %207
  br i1 %208, label %210, label %214

210:                                              ; preds = %209
  %211 = load ptr, ptr %11, align 8, !tbaa !5
  %212 = invoke noundef i32 @_ZN3cfg16ControlFlowGraph18allocate_wide_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %211)
          to label %213 unwind label %195

213:                                              ; preds = %210
  br label %218

214:                                              ; preds = %209
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = invoke noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %215)
          to label %217 unwind label %195

217:                                              ; preds = %214
  br label %218

218:                                              ; preds = %217, %213
  %219 = phi i32 [ %212, %213 ], [ %216, %217 ]
  %220 = zext i32 %219 to i64
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %222 unwind label %195

222:                                              ; preds = %218
  store i64 %220, ptr %221, align 8, !tbaa !10
  br label %223

223:                                              ; preds = %222, %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  store ptr null, ptr %29, align 8, !tbaa !5
  %224 = load ptr, ptr %28, align 8, !tbaa !5
  %225 = invoke noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %224)
          to label %226 unwind label %233

226:                                              ; preds = %223
  %227 = invoke noundef zeroext i1 @_ZN4type12is_wide_typeEPK7DexType(ptr noundef %225)
          to label %228 unwind label %233

228:                                              ; preds = %226
  br i1 %227, label %229, label %241

229:                                              ; preds = %228
  %230 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %231 unwind label %233

231:                                              ; preds = %229
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %230, i16 noundef zeroext 2)
          to label %232 unwind label %237

232:                                              ; preds = %231
  store ptr %230, ptr %29, align 8, !tbaa !5
  br label %264

233:                                              ; preds = %315, %281, %277, %273, %270, %267, %264, %255, %247, %244, %241, %229, %226, %223
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %9, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %10, align 4
  br label %319

237:                                              ; preds = %231
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %9, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %230, i64 noundef 32) #12
  br label %319

241:                                              ; preds = %228
  %242 = load ptr, ptr %28, align 8, !tbaa !5
  %243 = invoke noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %242)
          to label %244 unwind label %233

244:                                              ; preds = %241
  %245 = invoke noundef zeroext i1 @_ZN4type12is_primitiveEPK7DexType(ptr noundef %243)
          to label %246 unwind label %233

246:                                              ; preds = %244
  br i1 %245, label %247, label %255

247:                                              ; preds = %246
  %248 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %249 unwind label %233

249:                                              ; preds = %247
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %248, i16 noundef zeroext 1)
          to label %250 unwind label %251

250:                                              ; preds = %249
  store ptr %248, ptr %29, align 8, !tbaa !5
  br label %263

251:                                              ; preds = %249
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %9, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %248, i64 noundef 32) #12
  br label %319

255:                                              ; preds = %246
  %256 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %257 unwind label %233

257:                                              ; preds = %255
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %256, i16 noundef zeroext 3)
          to label %258 unwind label %259

258:                                              ; preds = %257
  store ptr %256, ptr %29, align 8, !tbaa !5
  br label %263

259:                                              ; preds = %257
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %9, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %256, i64 noundef 32) #12
  br label %319

263:                                              ; preds = %258, %250
  br label %264

264:                                              ; preds = %263, %232
  %265 = load ptr, ptr %27, align 8, !tbaa !5
  %266 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %265)
          to label %267 unwind label %233

267:                                              ; preds = %264
  %268 = invoke noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext %266)
          to label %269 unwind label %233

269:                                              ; preds = %267
  br i1 %268, label %270, label %284

270:                                              ; preds = %269
  %271 = load ptr, ptr %29, align 8, !tbaa !5
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %273 unwind label %233

273:                                              ; preds = %270
  %274 = load i64, ptr %272, align 8, !tbaa !10
  %275 = trunc i64 %274 to i32
  %276 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %271, i32 noundef %275)
          to label %277 unwind label %233

277:                                              ; preds = %273
  %278 = load ptr, ptr %29, align 8, !tbaa !5
  %279 = load ptr, ptr %27, align 8, !tbaa !5
  %280 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %279, i16 noundef zeroext 0)
          to label %281 unwind label %233

281:                                              ; preds = %277
  %282 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %278, i16 noundef zeroext 0, i32 noundef %280)
          to label %283 unwind label %233

283:                                              ; preds = %281
  br label %315

284:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #9
  %285 = load ptr, ptr %11, align 8, !tbaa !5
  %286 = load ptr, ptr %26, align 8, !tbaa !5
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %30, ptr noundef nonnull align 8 dereferenceable(160) %285, ptr noundef nonnull align 8 dereferenceable(32) %286)
          to label %287 unwind label %293

287:                                              ; preds = %284
  %288 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %289 unwind label %293

289:                                              ; preds = %287
  br i1 %288, label %291, label %290

290:                                              ; preds = %289
  br label %298

291:                                              ; preds = %289
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.21, ptr noundef @.str.12, i32 noundef 230, ptr noundef @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef @.str.13) #10
          to label %292 unwind label %293

292:                                              ; preds = %291
  unreachable

293:                                              ; preds = %310, %307, %305, %301, %298, %291, %287, %284
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %9, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %319

297:                                              ; No predecessors!
  br label %298

298:                                              ; preds = %297, %290
  %299 = load ptr, ptr %29, align 8, !tbaa !5
  %300 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %301 unwind label %293

301:                                              ; preds = %298
  %302 = getelementptr inbounds %struct.MethodItemEntry, ptr %300, i32 0, i32 2
  %303 = load ptr, ptr %302, align 8, !tbaa !9
  %304 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %303)
          to label %305 unwind label %293

305:                                              ; preds = %301
  %306 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %299, i32 noundef %304)
          to label %307 unwind label %293

307:                                              ; preds = %305
  %308 = load ptr, ptr %29, align 8, !tbaa !5
  %309 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %310 unwind label %293

310:                                              ; preds = %307
  %311 = load i64, ptr %309, align 8, !tbaa !10
  %312 = trunc i64 %311 to i32
  %313 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %308, i16 noundef zeroext 0, i32 noundef %312)
          to label %314 unwind label %293

314:                                              ; preds = %310
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %315

315:                                              ; preds = %314, %283
  %316 = load ptr, ptr %26, align 8, !tbaa !5
  %317 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE12emplace_backIJRKS3_RS5_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(32) %316, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %318 unwind label %233

318:                                              ; preds = %315
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %458

319:                                              ; preds = %293, %259, %251, %237, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %320

320:                                              ; preds = %319, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %461

321:                                              ; preds = %179
  %322 = load ptr, ptr %27, align 8, !tbaa !5
  %323 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %322)
          to label %324 unwind label %191

324:                                              ; preds = %321
  %325 = zext i16 %323 to i32
  %326 = icmp eq i32 %325, 3
  br i1 %326, label %339, label %327

327:                                              ; preds = %324
  %328 = load ptr, ptr %27, align 8, !tbaa !5
  %329 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %328)
          to label %330 unwind label %191

330:                                              ; preds = %327
  %331 = zext i16 %329 to i32
  %332 = icmp eq i32 %331, 164
  br i1 %332, label %339, label %333

333:                                              ; preds = %330
  %334 = load ptr, ptr %27, align 8, !tbaa !5
  %335 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %334)
          to label %336 unwind label %191

336:                                              ; preds = %333
  %337 = invoke noundef zeroext i1 @_ZN6opcode23is_a_conditional_branchE8IROpcode(i16 noundef zeroext %335)
          to label %338 unwind label %191

338:                                              ; preds = %336
  br i1 %337, label %339, label %340

339:                                              ; preds = %338, %330, %324
  br label %457

340:                                              ; preds = %338
  %341 = load ptr, ptr %27, align 8, !tbaa !5
  store i1 false, ptr %32, align 1
  store i1 false, ptr %33, align 1
  %342 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %341)
          to label %343 unwind label %191

343:                                              ; preds = %340
  %344 = zext i16 %342 to i32
  %345 = icmp eq i32 %344, 89
  br i1 %345, label %352, label %346

346:                                              ; preds = %343
  %347 = load ptr, ptr %27, align 8, !tbaa !5
  %348 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %347)
          to label %349 unwind label %191

349:                                              ; preds = %346
  %350 = zext i16 %348 to i32
  %351 = icmp eq i32 %350, 18
  br i1 %351, label %352, label %353

352:                                              ; preds = %349, %343
  br label %368

353:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  store i1 true, ptr %32, align 1
  %354 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %31, ptr noundef %354)
          to label %355 unwind label %358

355:                                              ; preds = %353
  store i1 true, ptr %33, align 1
  %356 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.22, ptr noundef @.str.12, i32 noundef 245, ptr noundef @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef @.str.23, ptr noundef %356) #10
          to label %357 unwind label %362

357:                                              ; preds = %355
  unreachable

358:                                              ; preds = %353
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %9, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %10, align 4
  br label %401

362:                                              ; preds = %355
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %9, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %10, align 4
  %366 = load i1, ptr %33, align 1
  br i1 %366, label %399, label %400

367:                                              ; No predecessors!
  br label %368

368:                                              ; preds = %367, %352
  %369 = load i1, ptr %33, align 1
  br i1 %369, label %370, label %371

370:                                              ; preds = %368
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %371

371:                                              ; preds = %370, %368
  %372 = load i1, ptr %32, align 1
  br i1 %372, label %373, label %374

373:                                              ; preds = %371
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %374

374:                                              ; preds = %373, %371
  %375 = load ptr, ptr %27, align 8, !tbaa !5
  %376 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %375)
          to label %377 unwind label %191

377:                                              ; preds = %374
  %378 = zext i16 %376 to i32
  %379 = icmp eq i32 %378, 89
  br i1 %379, label %380, label %411

380:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %381 = load ptr, ptr %27, align 8, !tbaa !5
  %382 = invoke noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %381)
          to label %383 unwind label %405

383:                                              ; preds = %380
  %384 = invoke noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %382, i32 noundef 0, ptr noundef null)
          to label %385 unwind label %405

385:                                              ; preds = %383
  store ptr %384, ptr %34, align 8, !tbaa !5
  %386 = load ptr, ptr %34, align 8, !tbaa !5
  %387 = invoke noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %386)
          to label %388 unwind label %405

388:                                              ; preds = %385
  %389 = invoke noundef ptr @_ZN4type16java_lang_ObjectEv()
          to label %390 unwind label %405

390:                                              ; preds = %388
  %391 = icmp eq ptr %387, %389
  br i1 %391, label %392, label %397

392:                                              ; preds = %390
  %393 = load ptr, ptr %34, align 8, !tbaa !5
  %394 = invoke noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef %393)
          to label %395 unwind label %405

395:                                              ; preds = %392
  br i1 %394, label %396, label %397

396:                                              ; preds = %395
  br label %410

397:                                              ; preds = %395, %390
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.24, ptr noundef @.str.12, i32 noundef 255, ptr noundef @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef @.str.13) #10
          to label %398 unwind label %405

398:                                              ; preds = %397
  unreachable

399:                                              ; preds = %362
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %400

400:                                              ; preds = %399, %362
  br label %401

401:                                              ; preds = %400, %358
  %402 = load i1, ptr %32, align 1
  br i1 %402, label %403, label %404

403:                                              ; preds = %401
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %404

404:                                              ; preds = %403, %401
  br label %461

405:                                              ; preds = %397, %392, %388, %385, %383, %380
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %9, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %461

409:                                              ; No predecessors!
  br label %410

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

411:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %412 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #11
          to label %413 unwind label %429

413:                                              ; preds = %411
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %412, i16 noundef zeroext 3)
          to label %414 unwind label %433

414:                                              ; preds = %413
  store ptr %412, ptr %35, align 8, !tbaa !5
  %415 = load ptr, ptr %35, align 8, !tbaa !5
  %416 = load ptr, ptr %27, align 8, !tbaa !5
  %417 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %416, i16 noundef zeroext 0)
          to label %418 unwind label %429

418:                                              ; preds = %414
  %419 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %415, i16 noundef zeroext 0, i32 noundef %417)
          to label %420 unwind label %429

420:                                              ; preds = %418
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  %421 = load ptr, ptr %11, align 8, !tbaa !5
  %422 = load ptr, ptr %26, align 8, !tbaa !5
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %36, ptr noundef nonnull align 8 dereferenceable(160) %421, ptr noundef nonnull align 8 dereferenceable(32) %422)
          to label %423 unwind label %437

423:                                              ; preds = %420
  %424 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %425 unwind label %437

425:                                              ; preds = %423
  br i1 %424, label %427, label %426

426:                                              ; preds = %425
  br label %442

427:                                              ; preds = %425
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.21, ptr noundef @.str.12, i32 noundef 261, ptr noundef @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef @.str.13) #10
          to label %428 unwind label %437

428:                                              ; preds = %427
  unreachable

429:                                              ; preds = %418, %414, %411
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %9, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %10, align 4
  br label %455

433:                                              ; preds = %413
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %9, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %412, i64 noundef 32) #12
  br label %455

437:                                              ; preds = %451, %449, %445, %442, %427, %423, %420
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %9, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %455

441:                                              ; No predecessors!
  br label %442

442:                                              ; preds = %441, %426
  %443 = load ptr, ptr %35, align 8, !tbaa !5
  %444 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %445 unwind label %437

445:                                              ; preds = %442
  %446 = getelementptr inbounds %struct.MethodItemEntry, ptr %444, i32 0, i32 2
  %447 = load ptr, ptr %446, align 8, !tbaa !9
  %448 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %447)
          to label %449 unwind label %437

449:                                              ; preds = %445
  %450 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %443, i32 noundef %448)
          to label %451 unwind label %437

451:                                              ; preds = %449
  %452 = load ptr, ptr %26, align 8, !tbaa !5
  %453 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE12emplace_backIJRKS3_RS5_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(32) %452, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %454 unwind label %437

454:                                              ; preds = %451
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %456

455:                                              ; preds = %437, %433, %429
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %461

456:                                              ; preds = %454, %410
  br label %457

457:                                              ; preds = %456, %339
  br label %458

458:                                              ; preds = %457, %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %459

459:                                              ; preds = %458
  %460 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %149

461:                                              ; preds = %455, %405, %404, %320, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %462

462:                                              ; preds = %461, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %481

463:                                              ; preds = %151
  %464 = load ptr, ptr %7, align 8, !tbaa !5
  %465 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %464)
          to label %466 unwind label %477

466:                                              ; preds = %463
  invoke void @_ZN15builder_pattern12_GLOBAL__N_115initialize_regsERKSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS3_mEEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(160) %465)
          to label %467 unwind label %477

467:                                              ; preds = %466
  call void @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #9
  store i32 0, ptr %16, align 4
  br label %468

468:                                              ; preds = %467, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  %469 = load i32, ptr %16, align 4
  switch i32 %469, label %471 [
    i32 0, label %470
  ]

470:                                              ; preds = %468
  store i32 0, ptr %16, align 4
  br label %471

471:                                              ; preds = %470, %468
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  %472 = load i32, ptr %16, align 4
  switch i32 %472, label %521 [
    i32 0, label %473
    i32 3, label %474
  ]

473:                                              ; preds = %471
  br label %474

474:                                              ; preds = %473, %471
  %475 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %476 unwind label %83

476:                                              ; preds = %474
  br label %67

477:                                              ; preds = %466, %463
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %9, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %10, align 4
  br label %481

481:                                              ; preds = %477, %462
  call void @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #9
  br label %482

482:                                              ; preds = %481, %157, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %483

483:                                              ; preds = %482, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %484

484:                                              ; preds = %483, %83
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  br label %485

485:                                              ; preds = %484, %79
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %486

486:                                              ; preds = %485, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %514

487:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  store ptr %8, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %488 = load ptr, ptr %37, align 8, !tbaa !5
  %489 = call ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %488) #9
  %490 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.850", ptr %38, i32 0, i32 0
  store ptr %489, ptr %490, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %491 = load ptr, ptr %37, align 8, !tbaa !5
  %492 = call ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %491) #9
  %493 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.850", ptr %39, i32 0, i32 0
  store ptr %492, ptr %493, align 8
  br label %494

494:                                              ; preds = %507, %487
  %495 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  br i1 %495, label %497, label %496

496:                                              ; preds = %494
  store i32 6, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %513

497:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %498 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #9
  store ptr %498, ptr %40, align 8, !tbaa !5
  %499 = load ptr, ptr %11, align 8, !tbaa !5
  %500 = load ptr, ptr %40, align 8, !tbaa !5
  %501 = getelementptr inbounds %"struct.std::pair.848", ptr %500, i32 0, i32 0
  %502 = load ptr, ptr %40, align 8, !tbaa !5
  %503 = getelementptr inbounds %"struct.std::pair.848", ptr %502, i32 0, i32 1
  %504 = load ptr, ptr %503, align 8, !tbaa !12
  %505 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12replace_insnERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %499, ptr noundef nonnull align 8 dereferenceable(32) %501, ptr noundef %504)
          to label %506 unwind label %509

506:                                              ; preds = %497
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  br label %507

507:                                              ; preds = %506
  %508 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #9
  br label %494

509:                                              ; preds = %497
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %9, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %514

513:                                              ; preds = %496
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  ret void

514:                                              ; preds = %509, %486, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %515

515:                                              ; preds = %514, %50
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %516

516:                                              ; preds = %515
  %517 = load ptr, ptr %9, align 8
  %518 = load i32, ptr %10, align 4
  %519 = insertvalue { ptr, i32 } poison, ptr %517, 0
  %520 = insertvalue { ptr, i32 } %519, i32 %518, 1
  resume { ptr, i32 } %520

521:                                              ; preds = %471
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #6

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() #7

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef, i32 noundef) #5

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

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

declare noundef zeroext i1 @_ZN4type12is_wide_typeEPK7DexType(ptr noundef) #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3cfg16ControlFlowGraph18allocate_wide_tempEv(ptr noundef nonnull align 8 dereferenceable(160)) #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

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

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

declare noundef zeroext i1 @_ZN4type12is_primitiveEPK7DexType(ptr noundef) #7

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode23is_a_conditional_branchE8IROpcode(i16 noundef zeroext) #8

declare noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef) #7

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN15builder_pattern12_GLOBAL__N_115initialize_regsERKSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS3_mEEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(160)) #6

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { "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 = { 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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !6, i64 32}
!13 = !{!"_ZTSSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionE", !14, i64 0, !6, i64 32}
!14 = !{!"_ZTSN3cfg23InstructionIteratorImplILb0EEE", !6, i64 0, !15, i64 8, !16, i64 16}
!15 = !{!"_ZTSSt23_Rb_tree_const_iteratorISt4pairIKmPN3cfg5BlockEEE", !6, i64 0}
!16 = !{!"_ZTSN7ir_list23InstructionIteratorImplILb0EEE", !17, i64 0, !17, i64 8}
!17 = !{!"_ZTSN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEE", !18, i64 0}
!18 = !{!"_ZTSN5boost9intrusive17iiterator_membersIPNS0_9list_nodeIPvEEPKNS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS7_10list_hook_EEEEELb0EEE", !6, 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.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.std::vector.801" = type { %"struct.std::_Vector_base.802" }
%"struct.std::_Vector_base.802" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>, std::allocator<std::pair<cfg::InstructionIteratorImpl<false>, IRInstruction *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.cfg::InstructionIterableImpl" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::map.828" = type { %"class.std::_Rb_tree.829" }
%"class.std::_Rb_tree.829" = type { %"struct.std::_Rb_tree<DexField *, std::pair<DexField *const, unsigned long>, std::_Select1st<std::pair<DexField *const, unsigned long>>, dexfields_comparator>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<DexField *, std::pair<DexField *const, unsigned long>, std::_Select1st<std::pair<DexField *const, unsigned long>>, dexfields_comparator>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.839" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.850" = type { ptr }

@.str.12 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod = external hidden unnamed_addr constant [98 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [77 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

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

; 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

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

; 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: inlinehint mustprogress uwtable
declare dso_local ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind noalias writable sret(%"class.cfg::InstructionIteratorImpl") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod(ptr nocapture noundef nonnull readnone align 8 dereferenceable(3280) %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull %2) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.801", align 8
  %5 = alloca %"class.cfg::InstructionIterableImpl", align 8
  %6 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %7 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::map.828", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.839", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.839", align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.cfg::InstructionIteratorImpl", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.850", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.850", align 8
  %21 = tail call noundef ptr @_ZN9DexMethod8get_codeEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %22 = invoke noundef zeroext i1 @_ZNK6IRCode18editable_cfg_builtEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %23 unwind label %26

23:                                               ; preds = %3
  br i1 %22, label %28, label %24

24:                                               ; preds = %23
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.12, i32 noundef 182, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.13) #10
          to label %25 unwind label %26

25:                                               ; preds = %24
  unreachable

26:                                               ; preds = %24, %3
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %287

28:                                               ; preds = %23
  %29 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %30 = invoke ptr @_Z19InstructionIterableRN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(160) %29)
          to label %31 unwind label %39

31:                                               ; preds = %28
  store ptr %30, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %32 unwind label %41

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  invoke void @_ZN3cfg23InstructionIterableImplILb0EE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %.preheader unwind label %.loopexit.split-lp104

.preheader:                                       ; preds = %32, %270
  %33 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EEneERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %34 unwind label %.loopexit103

34:                                               ; preds = %.preheader
  br i1 %33, label %43, label %35

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %36 = call ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  store ptr %36, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %37 = call ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  store ptr %37, ptr %20, align 8
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  br i1 %38, label %.lr.ph129, label %._crit_edge130

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

41:                                               ; preds = %31
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %277

.loopexit103:                                     ; preds = %.preheader, %270
  %lpad.loopexit105 = landingpad { ptr, i32 }
          cleanup
  br label %276

.loopexit.split-lp104:                            ; preds = %32
  %lpad.loopexit.split-lp106 = landingpad { ptr, i32 }
          cleanup
  br label %276

43:                                               ; preds = %34
  %44 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3cfg23InstructionIteratorImplILb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %45 unwind label %50

45:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %46 = getelementptr inbounds i8, ptr %44, i64 24
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  store ptr %47, ptr %8, align 8, !tbaa !8
  %48 = invoke noundef i64 @_ZNK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %49 unwind label %52

49:                                               ; preds = %45
  %.not = icmp eq i64 %48, 0
  br i1 %.not, label %270, label %54

50:                                               ; preds = %43
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %276

52:                                               ; preds = %70, %67, %45
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %275

54:                                               ; preds = %49
  %55 = load ptr, ptr %8, align 8, !tbaa !8
  %56 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %55)
  %57 = icmp eq i16 %56, 21
  br i1 %57, label %67, label %58

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  %59 = load ptr, ptr %8, align 8, !tbaa !8
  invoke void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef %59)
          to label %60 unwind label %63

60:                                               ; preds = %58
  %61 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.12, i32 noundef 194, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.19, ptr noundef %61) #10
          to label %62 unwind label %65

62:                                               ; preds = %60
  unreachable

63:                                               ; preds = %58
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %79

65:                                               ; preds = %60
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %79

67:                                               ; preds = %54
  %68 = load ptr, ptr %8, align 8, !tbaa !8
  %69 = invoke noundef ptr @_ZN4type16java_lang_ObjectEv()
          to label %70 unwind label %52

70:                                               ; preds = %67
  %71 = invoke noundef ptr @_ZN13IRInstruction8set_typeEP7DexType(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef %69)
          to label %72 unwind label %52

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #9
  call void @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  %73 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS6_EESt4hashIS2_ESt8equal_toIS2_EE2atERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %74 unwind label %80

74:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %75 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #9
  store ptr %75, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %76 = call ptr @_ZNKSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #9
  store ptr %76, ptr %12, align 8
  %77 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br i1 %77, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %265, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  %78 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN6IRCode3cfgEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
  invoke void @_ZN15builder_pattern12_GLOBAL__N_115initialize_regsERKSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS3_mEEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(160) %78)
          to label %269 unwind label %272

79:                                               ; preds = %63, %65
  %.pn = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %275

80:                                               ; preds = %72
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %274

.lr.ph:                                           ; preds = %74, %265
  %82 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %83 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %82)
          to label %84 unwind label %99

84:                                               ; preds = %.lr.ph
  %85 = getelementptr inbounds i8, ptr %83, i64 24
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %88 = call noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext %87)
  br i1 %88, label %92, label %89

89:                                               ; preds = %84
  %90 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %91 = call noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext %90)
  br i1 %91, label %92, label %193

92:                                               ; preds = %89, %84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %93 = invoke noundef ptr @_ZNK13IRInstruction9get_fieldEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
          to label %94 unwind label %.loopexit93

94:                                               ; preds = %92
  %95 = invoke noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef %93, i32 noundef 1)
          to label %96 unwind label %.loopexit93

96:                                               ; preds = %94
  store ptr %95, ptr %13, align 8, !tbaa !8
  %.not74 = icmp eq ptr %95, null
  br i1 %.not74, label %97, label %101

97:                                               ; preds = %96
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.12, i32 noundef 207, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.13) #10
          to label %98 unwind label %.loopexit.split-lp94

98:                                               ; preds = %97
  unreachable

99:                                               ; preds = %.lr.ph
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %268

.loopexit93:                                      ; preds = %92, %94, %101, %105, %114
  %lpad.loopexit95 = landingpad { ptr, i32 }
          cleanup
  br label %192

.loopexit.split-lp94:                             ; preds = %97
  %lpad.loopexit.split-lp96 = landingpad { ptr, i32 }
          cleanup
  br label %192

101:                                              ; preds = %96
  %102 = invoke noundef i64 @_ZNKSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEE5countERS4_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %103 unwind label %.loopexit93

103:                                              ; preds = %101
  %104 = icmp eq i64 %102, 0
  br i1 %104, label %105, label %119

105:                                              ; preds = %103
  %106 = load ptr, ptr %13, align 8, !tbaa !8
  %107 = call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %106)
  %108 = invoke noundef zeroext i1 @_ZN4type12is_wide_typeEPK7DexType(ptr noundef %107)
          to label %109 unwind label %.loopexit93

109:                                              ; preds = %105
  br i1 %108, label %110, label %112

110:                                              ; preds = %109
  %111 = call noundef i32 @_ZN3cfg16ControlFlowGraph18allocate_wide_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %29)
  br label %114

112:                                              ; preds = %109
  %113 = call noundef i32 @_ZN3cfg16ControlFlowGraph13allocate_tempEv(ptr noundef nonnull align 8 dereferenceable(160) %29)
  br label %114

114:                                              ; preds = %112, %110
  %115 = phi i32 [ %111, %110 ], [ %113, %112 ]
  %116 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %117 unwind label %.loopexit93

117:                                              ; preds = %114
  %118 = zext i32 %115 to i64
  store i64 %118, ptr %116, align 8, !tbaa !10
  br label %119

119:                                              ; preds = %117, %103
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  store ptr null, ptr %14, align 8, !tbaa !8
  %120 = load ptr, ptr %13, align 8, !tbaa !8
  %121 = call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %120)
  %122 = invoke noundef zeroext i1 @_ZN4type12is_wide_typeEPK7DexType(ptr noundef %121)
          to label %123 unwind label %128

123:                                              ; preds = %119
  br i1 %122, label %124, label %132

124:                                              ; preds = %123
  %125 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %126 unwind label %128

126:                                              ; preds = %124
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %125, i16 noundef zeroext 2)
          to label %127 unwind label %130

127:                                              ; preds = %126
  store ptr %125, ptr %14, align 8, !tbaa !8
  br label %149

128:                                              ; preds = %188, %162, %159, %155, %152, %143, %137, %132, %124, %119
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %191

130:                                              ; preds = %126
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %125, i64 noundef 32) #12
  br label %191

132:                                              ; preds = %123
  %133 = load ptr, ptr %13, align 8, !tbaa !8
  %134 = call noundef ptr @_ZNK11DexFieldRef8get_typeEv(ptr noundef nonnull align 8 dereferenceable(26) %133)
  %135 = invoke noundef zeroext i1 @_ZN4type12is_primitiveEPK7DexType(ptr noundef %134)
          to label %136 unwind label %128

136:                                              ; preds = %132
  br i1 %135, label %137, label %143

137:                                              ; preds = %136
  %138 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %139 unwind label %128

139:                                              ; preds = %137
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %138, i16 noundef zeroext 1)
          to label %140 unwind label %141

140:                                              ; preds = %139
  store ptr %138, ptr %14, align 8, !tbaa !8
  br label %149

141:                                              ; preds = %139
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %138, i64 noundef 32) #12
  br label %191

143:                                              ; preds = %136
  %144 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %145 unwind label %128

145:                                              ; preds = %143
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %144, i16 noundef zeroext 3)
          to label %146 unwind label %147

146:                                              ; preds = %145
  store ptr %144, ptr %14, align 8, !tbaa !8
  br label %149

147:                                              ; preds = %145
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %144, i64 noundef 32) #12
  br label %191

149:                                              ; preds = %140, %146, %127
  %150 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %151 = call noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext %150)
  br i1 %151, label %152, label %164

152:                                              ; preds = %149
  %153 = load ptr, ptr %14, align 8, !tbaa !8
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %155 unwind label %128

155:                                              ; preds = %152
  %156 = load i64, ptr %154, align 8, !tbaa !10
  %157 = trunc i64 %156 to i32
  %158 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %153, i32 noundef %157)
          to label %159 unwind label %128

159:                                              ; preds = %155
  %160 = load ptr, ptr %14, align 8, !tbaa !8
  %161 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %86, i16 noundef zeroext 0)
          to label %162 unwind label %128

162:                                              ; preds = %159
  %163 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %160, i16 noundef zeroext 0, i32 noundef %161)
          to label %188 unwind label %128

164:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %15, ptr noundef nonnull align 8 dereferenceable(160) %29, ptr noundef nonnull align 8 dereferenceable(32) %82)
          to label %165 unwind label %.loopexit98

165:                                              ; preds = %164
  %166 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %167 unwind label %.loopexit98

167:                                              ; preds = %165
  br i1 %166, label %168, label %171

168:                                              ; preds = %167
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.12, i32 noundef 230, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.13) #10
          to label %169 unwind label %.loopexit.split-lp99

169:                                              ; preds = %168
  unreachable

.loopexit98:                                      ; preds = %164, %165, %171, %174, %178, %180, %183
  %lpad.loopexit100 = landingpad { ptr, i32 }
          cleanup
  br label %170

.loopexit.split-lp99:                             ; preds = %168
  %lpad.loopexit.split-lp101 = landingpad { ptr, i32 }
          cleanup
  br label %170

170:                                              ; preds = %.loopexit.split-lp99, %.loopexit98
  %lpad.phi102 = phi { ptr, i32 } [ %lpad.loopexit100, %.loopexit98 ], [ %lpad.loopexit.split-lp101, %.loopexit.split-lp99 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %191

171:                                              ; preds = %167
  %172 = load ptr, ptr %14, align 8, !tbaa !8
  %173 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %174 unwind label %.loopexit98

174:                                              ; preds = %171
  %175 = getelementptr inbounds i8, ptr %173, i64 24
  %176 = load ptr, ptr %175, align 8, !tbaa !5
  %177 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %176)
          to label %178 unwind label %.loopexit98

178:                                              ; preds = %174
  %179 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %172, i32 noundef %177)
          to label %180 unwind label %.loopexit98

180:                                              ; preds = %178
  %181 = load ptr, ptr %14, align 8, !tbaa !8
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %183 unwind label %.loopexit98

183:                                              ; preds = %180
  %184 = load i64, ptr %182, align 8, !tbaa !10
  %185 = trunc i64 %184 to i32
  %186 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %181, i16 noundef zeroext 0, i32 noundef %185)
          to label %187 unwind label %.loopexit98

187:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %188

188:                                              ; preds = %162, %187
  %189 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE12emplace_backIJRKS3_RS5_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %190 unwind label %128

190:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %265

191:                                              ; preds = %170, %147, %141, %130, %128
  %.pn75 = phi { ptr, i32 } [ %129, %128 ], [ %lpad.phi102, %170 ], [ %131, %130 ], [ %142, %141 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %192

192:                                              ; preds = %.loopexit93, %.loopexit.split-lp94, %191
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %191 ], [ %lpad.loopexit95, %.loopexit93 ], [ %lpad.loopexit.split-lp96, %.loopexit.split-lp94 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %268

193:                                              ; preds = %89
  %194 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %195 = icmp eq i16 %194, 3
  br i1 %195, label %265, label %196

196:                                              ; preds = %193
  %197 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %198 = icmp eq i16 %197, 164
  br i1 %198, label %265, label %199

199:                                              ; preds = %196
  %200 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %201 = call noundef zeroext i1 @_ZN6opcode23is_a_conditional_branchE8IROpcode(i16 noundef zeroext %200)
  br i1 %201, label %265, label %202

202:                                              ; preds = %199
  %203 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %204 = icmp eq i16 %203, 89
  br i1 %204, label %216, label %205

205:                                              ; preds = %202
  %206 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %207 = icmp eq i16 %206, 18
  br i1 %207, label %216, label %208

208:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  invoke void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull %86)
          to label %209 unwind label %212

209:                                              ; preds = %208
  %210 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.12, i32 noundef 245, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.23, ptr noundef %210) #10
          to label %211 unwind label %214

211:                                              ; preds = %209
  unreachable

212:                                              ; preds = %208
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %233

214:                                              ; preds = %209
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %233

216:                                              ; preds = %202, %205
  %217 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
  %218 = icmp eq i16 %217, 89
  br i1 %218, label %219, label %234

219:                                              ; preds = %216
  %220 = invoke noundef ptr @_ZNK13IRInstruction10get_methodEv(ptr noundef nonnull align 8 dereferenceable(32) %86)
          to label %221 unwind label %.loopexit88

221:                                              ; preds = %219
  %222 = invoke noundef ptr @_Z14resolve_methodP12DexMethodRef12MethodSearchPK9DexMethod(ptr noundef %220, i32 noundef 0, ptr noundef null)
          to label %223 unwind label %.loopexit88

223:                                              ; preds = %221
  %224 = call noundef ptr @_ZNK12DexMethodRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %222)
  %225 = invoke noundef ptr @_ZN4type16java_lang_ObjectEv()
          to label %226 unwind label %.loopexit88

226:                                              ; preds = %223
  %227 = icmp eq ptr %224, %225
  br i1 %227, label %228, label %231

228:                                              ; preds = %226
  %229 = invoke noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef nonnull %222)
          to label %230 unwind label %.loopexit88

230:                                              ; preds = %228
  br i1 %229, label %265, label %231

231:                                              ; preds = %230, %226
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.12, i32 noundef 255, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.13) #10
          to label %232 unwind label %.loopexit.split-lp89

232:                                              ; preds = %231
  unreachable

233:                                              ; preds = %212, %214
  %.pn70 = phi { ptr, i32 } [ %215, %214 ], [ %213, %212 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br label %268

.loopexit88:                                      ; preds = %219, %221, %223, %228
  %lpad.loopexit90 = landingpad { ptr, i32 }
          cleanup
  br label %268

.loopexit.split-lp89:                             ; preds = %231
  %lpad.loopexit.split-lp91 = landingpad { ptr, i32 }
          cleanup
  br label %268

234:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %235 = invoke noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #11
          to label %236 unwind label %247

236:                                              ; preds = %234
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %235, i16 noundef zeroext 3)
          to label %237 unwind label %249

237:                                              ; preds = %236
  store ptr %235, ptr %17, align 8, !tbaa !8
  %238 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %86, i16 noundef zeroext 0)
          to label %239 unwind label %247

239:                                              ; preds = %237
  %240 = invoke noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %235, i16 noundef zeroext 0, i32 noundef %238)
          to label %241 unwind label %247

241:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  invoke void @_ZN3cfg16ControlFlowGraph14move_result_ofERKNS_23InstructionIteratorImplILb0EEE(ptr dead_on_unwind nonnull writable sret(%"class.cfg::InstructionIteratorImpl") align 8 %18, ptr noundef nonnull align 8 dereferenceable(160) %29, ptr noundef nonnull align 8 dereferenceable(32) %82)
          to label %242 unwind label %.loopexit

242:                                              ; preds = %241
  %243 = invoke noundef zeroext i1 @_ZNK3cfg23InstructionIteratorImplILb0EE6is_endEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %244 unwind label %.loopexit

244:                                              ; preds = %242
  br i1 %243, label %245, label %252

245:                                              ; preds = %244
  invoke void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.12, i32 noundef 261, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN15builder_pattern16BuilderTransform14replace_fieldsERK12UnorderedMapIPK13IRInstructionSt6vectorIN3cfg23InstructionIteratorImplILb0EEESaIS8_EESt4hashIS4_ESt8equal_toIS4_EEP9DexMethod, i32 noundef 2, ptr noundef nonnull @.str.13) #10
          to label %246 unwind label %.loopexit.split-lp

246:                                              ; preds = %245
  unreachable

247:                                              ; preds = %239, %237, %234
  %248 = landingpad { ptr, i32 }
          cleanup
  br label %264

249:                                              ; preds = %236
  %250 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %235, i64 noundef 32) #12
  br label %264

.loopexit:                                        ; preds = %241, %242, %252, %255, %259, %261
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %251

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

251:                                              ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  br label %264

252:                                              ; preds = %244
  %253 = load ptr, ptr %17, align 8, !tbaa !8
  %254 = invoke noundef ptr @_ZNK3cfg23InstructionIteratorImplILb0EEptEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %255 unwind label %.loopexit

255:                                              ; preds = %252
  %256 = getelementptr inbounds i8, ptr %254, i64 24
  %257 = load ptr, ptr %256, align 8, !tbaa !5
  %258 = invoke noundef i32 @_ZNK13IRInstruction4destEv(ptr noundef nonnull align 8 dereferenceable(32) %257)
          to label %259 unwind label %.loopexit

259:                                              ; preds = %255
  %260 = invoke noundef ptr @_ZN13IRInstruction8set_destEj(ptr noundef nonnull align 8 dereferenceable(32) %253, i32 noundef %258)
          to label %261 unwind label %.loopexit

261:                                              ; preds = %259
  %262 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EE12emplace_backIJRKS3_RS5_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %263 unwind label %.loopexit

263:                                              ; preds = %261
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %265

264:                                              ; preds = %251, %249, %247
  %.pn72 = phi { ptr, i32 } [ %lpad.phi, %251 ], [ %248, %247 ], [ %250, %249 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %268

265:                                              ; preds = %230, %199, %196, %193, %263, %190
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %267 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3cfg23InstructionIteratorImplILb0EEESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br i1 %267, label %.lr.ph, label %._crit_edge

268:                                              ; preds = %.loopexit88, %.loopexit.split-lp89, %233, %264, %192, %99
  %.pn75.pn.pn = phi { ptr, i32 } [ %.pn75.pn, %192 ], [ %.pn72, %264 ], [ %.pn70, %233 ], [ %100, %99 ], [ %lpad.loopexit90, %.loopexit88 ], [ %lpad.loopexit.split-lp91, %.loopexit.split-lp89 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %274

269:                                              ; preds = %._crit_edge
  call void @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #9
  br label %270

270:                                              ; preds = %49, %269
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %271 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN3cfg23InstructionIteratorImplILb0EEppEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %.preheader unwind label %.loopexit103

272:                                              ; preds = %._crit_edge
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %274

274:                                              ; preds = %80, %268, %272
  %.pn75.pn.pn.pn.pn = phi { ptr, i32 } [ %273, %272 ], [ %.pn75.pn.pn, %268 ], [ %81, %80 ]
  call void @_ZNSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS1_mEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #9
  br label %275

275:                                              ; preds = %79, %274, %52
  %.pn75.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn, %274 ], [ %53, %52 ], [ %.pn, %79 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %276

276:                                              ; preds = %.loopexit103, %.loopexit.split-lp104, %50, %275
  %.pn75.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn, %275 ], [ %51, %50 ], [ %lpad.loopexit105, %.loopexit103 ], [ %lpad.loopexit.split-lp106, %.loopexit.split-lp104 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  br label %277

277:                                              ; preds = %276, %41
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn75.pn.pn.pn.pn.pn.pn.pn, %276 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %287

._crit_edge130:                                   ; preds = %282, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  ret void

.lr.ph129:                                        ; preds = %35, %282
  %278 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %279 = getelementptr inbounds i8, ptr %278, i64 32
  %280 = load ptr, ptr %279, align 8, !tbaa !12
  %281 = invoke noundef zeroext i1 @_ZN3cfg16ControlFlowGraph12replace_insnERKNS_23InstructionIteratorImplILb0EEEP13IRInstruction(ptr noundef nonnull align 8 dereferenceable(160) %29, ptr noundef nonnull align 8 dereferenceable(32) %278, ptr noundef %280)
          to label %282 unwind label %285

282:                                              ; preds = %.lr.ph129
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %284 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  br i1 %284, label %.lr.ph129, label %._crit_edge130

285:                                              ; preds = %.lr.ph129
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %287

287:                                              ; preds = %285, %277, %39, %26
  %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %27, %26 ], [ %286, %285 ], [ %.pn75.pn.pn.pn.pn.pn.pn.pn.pn, %277 ], [ %40, %39 ]
  call void @_ZNSt6vectorISt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  resume { ptr, i32 } %.pn75.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4showI13IRInstructionRSoENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #6

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

declare noundef ptr @_ZN4type16java_lang_ObjectEv() local_unnamed_addr #7

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode10is_an_iputE8IROpcode(i16 noundef zeroext) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode10is_an_igetE8IROpcode(i16 noundef zeroext) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z13resolve_fieldPK11DexFieldRef11FieldSearch(ptr noundef, i32 noundef) local_unnamed_addr #5

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

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

declare noundef zeroext i1 @_ZN4type12is_wide_typeEPK7DexType(ptr noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3cfg16ControlFlowGraph18allocate_wide_tempEv(ptr noundef nonnull align 8 dereferenceable(160)) 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

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

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

declare noundef zeroext i1 @_ZN4type12is_primitiveEPK7DexType(ptr 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 #6 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6opcode23is_a_conditional_branchE8IROpcode(i16 noundef zeroext) local_unnamed_addr #8

declare noundef zeroext i1 @_ZN6method7is_initEPK12DexMethodRef(ptr noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN15builder_pattern12_GLOBAL__N_115initialize_regsERKSt3mapIP8DexFieldm20dexfields_comparatorSaISt4pairIKS3_mEEERN3cfg16ControlFlowGraphE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #6

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { "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 = { 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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !6, i64 0}
!12 = !{!13, !9, i64 32}
!13 = !{!"_ZTSSt4pairIN3cfg23InstructionIteratorImplILb0EEEP13IRInstructionE", !14, i64 0, !9, i64 32}
!14 = !{!"_ZTSN3cfg23InstructionIteratorImplILb0EEE", !9, i64 0, !15, i64 8, !16, i64 16}
!15 = !{!"_ZTSSt23_Rb_tree_const_iteratorISt4pairIKmPN3cfg5BlockEEE", !9, i64 0}
!16 = !{!"_ZTSN7ir_list23InstructionIteratorImplILb0EEE", !17, i64 0, !17, i64 8}
!17 = !{!"_ZTSN5boost9intrusive13list_iteratorINS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS3_10list_hook_EEEEELb0EEE", !18, i64 0}
!18 = !{!"_ZTSN5boost9intrusive17iiterator_membersIPNS0_9list_nodeIPvEEPKNS0_8mhtraitsI15MethodItemEntryNS0_16list_member_hookIJEEEXadL_ZNS7_10list_hook_EEEEELb0EEE", !9, i64 0}


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