; LLVM IR from facebook/redex :: libredex/IRList.ll (ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry)

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

%"struct.std::pair" = type <{ %"class.UnorderedMap<const MethodItemEntry *, MethodItemEntry *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedMap<const MethodItemEntry *, MethodItemEntry *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator" }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.std::unique_ptr.80" = type { %"struct.std::__uniq_ptr_data.81" }
%"struct.std::__uniq_ptr_data.81" = type { %"class.std::__uniq_ptr_impl.82" }
%"class.std::__uniq_ptr_impl.82" = type { %"class.std::tuple.83" }
%"class.std::tuple.83" = type { %"struct.std::_Tuple_impl.84" }
%"struct.std::_Tuple_impl.84" = type { %"struct.std::_Head_base.87" }
%"struct.std::_Head_base.87" = type { ptr }
%class.MethodItemEntryCloner = type { %class.UnorderedMap, %class.UnorderedMap.51, %"class.std::vector.73" }
%class.UnorderedMap = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.UnorderedMap.51 = type { %"class.std::unordered_map.53" }
%"class.std::unordered_map.53" = type { %"class.std::_Hashtable.54" }
%"class.std::_Hashtable.54" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.73" = type { %"struct.std::_Vector_base.74" }
%"struct.std::_Vector_base.74" = type { %"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexPosition *, std::allocator<DexPosition *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.78" = type { ptr, ptr }
%struct.MethodItemEntry = type { %"class.boost::intrusive::list_member_hook", i32, %union.anon.0 }
%"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.0 = type { ptr }
%struct.TryEntry = type { i32, ptr }
%struct.CatchEntry = type { ptr, ptr }
%struct.BranchTarget = type { ptr, i32, i32 }

@.str.18 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry = external hidden unnamed_addr constant [71 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [34 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

; 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 zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1) #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca ptr, align 8
  %9 = alloca { ptr, i8 }, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca %"class.std::unique_ptr.80", align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  %21 = getelementptr inbounds %class.MethodItemEntryCloner, ptr %20, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store ptr null, ptr %8, align 8, !tbaa !9
  %22 = call { ptr, i8 } @_ZN12UnorderedMapIPK15MethodItemEntryPS0_St4hashIS2_ESt8equal_toIS2_EE7emplaceIJRS2_DnEEESt4pairINS8_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %8)
  store { ptr, i8 } %22, ptr %9, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %9, i64 9, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  store ptr %7, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.std::pair", ptr %23, i32 0, i32 0
  store ptr %24, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.std::pair", ptr %25, i32 0, i32 1
  %27 = load i8, ptr %26, align 8, !tbaa !11, !range !17, !noundef !18
  %28 = trunc i8 %27 to i1
  %29 = xor i1 %28, true
  %30 = zext i1 %29 to i8
  store i8 %30, ptr %11, align 1, !tbaa !19
  %31 = load i8, ptr %11, align 1, !tbaa !19, !range !17, !noundef !18
  %32 = trunc i8 %31 to i1
  br i1 %32, label %33, label %38

33:                                               ; preds = %2
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = call noundef ptr @_ZNK12UnorderedMapIPK15MethodItemEntryPS0_St4hashIS2_ESt8equal_toIS2_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
  %36 = getelementptr inbounds %"struct.std::pair.78", ptr %35, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  store ptr %37, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %200

38:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %39 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN15MethodItemEntryC1ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %41 unwind label %49

41:                                               ; preds = %38
  store ptr %39, ptr %13, align 8, !tbaa !5
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = call noundef ptr @_ZNK12UnorderedMapIPK15MethodItemEntryPS0_St4hashIS2_ESt8equal_toIS2_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %43)
  %45 = getelementptr inbounds %"struct.std::pair.78", ptr %44, i32 0, i32 1
  store ptr %42, ptr %45, align 8, !tbaa !20
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.MethodItemEntry, ptr %46, i32 0, i32 1
  %48 = load i32, ptr %47, align 8, !tbaa !22
  switch i32 %48, label %197 [
    i32 0, label %53
    i32 1, label %71
    i32 2, label %89
    i32 4, label %155
    i32 5, label %173
    i32 6, label %175
    i32 8, label %189
    i32 7, label %191
    i32 3, label %193
  ]

49:                                               ; preds = %38
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %14, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %39, i64 noundef 32) #10
  br label %199

53:                                               ; preds = %41
  %54 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #9
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.MethodItemEntry, ptr %55, i32 0, i32 2
  %57 = load ptr, ptr %56, align 8, !tbaa !28
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 8 %57, i64 16, i1 false), !tbaa.struct !29
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.MethodItemEntry, ptr %58, i32 0, i32 2
  store ptr %54, ptr %59, align 8, !tbaa !28
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.MethodItemEntry, ptr %60, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !28
  %63 = getelementptr inbounds %struct.TryEntry, ptr %62, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !32
  %65 = call noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %20, ptr noundef %64)
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.MethodItemEntry, ptr %66, i32 0, i32 2
  %68 = load ptr, ptr %67, align 8, !tbaa !28
  %69 = getelementptr inbounds %struct.TryEntry, ptr %68, i32 0, i32 1
  store ptr %65, ptr %69, align 8, !tbaa !32
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %70, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

71:                                               ; preds = %41
  %72 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #9
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.MethodItemEntry, ptr %73, i32 0, i32 2
  %75 = load ptr, ptr %74, align 8, !tbaa !28
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %72, ptr align 8 %75, i64 16, i1 false), !tbaa.struct !34
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.MethodItemEntry, ptr %76, i32 0, i32 2
  store ptr %72, ptr %77, align 8, !tbaa !28
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.MethodItemEntry, ptr %78, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !28
  %81 = getelementptr inbounds %struct.CatchEntry, ptr %80, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !35
  %83 = call noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %20, ptr noundef %82)
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.MethodItemEntry, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !28
  %87 = getelementptr inbounds %struct.CatchEntry, ptr %86, i32 0, i32 1
  store ptr %83, ptr %87, align 8, !tbaa !35
  %88 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %88, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

89:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.MethodItemEntry, ptr %90, i32 0, i32 2
  %92 = load ptr, ptr %91, align 8, !tbaa !28
  store ptr %92, ptr %16, align 8, !tbaa !5
  %93 = load ptr, ptr %16, align 8, !tbaa !5
  %94 = call noundef zeroext i1 @_ZNK13IRInstruction8has_dataEv(ptr noundef nonnull align 8 dereferenceable(32) %93)
  br i1 %94, label %95, label %142

95:                                               ; preds = %89
  %96 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = invoke noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %97)
          to label %99 unwind label %107

99:                                               ; preds = %95
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %96, i16 noundef zeroext %98)
          to label %100 unwind label %107

100:                                              ; preds = %99
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.MethodItemEntry, ptr %101, i32 0, i32 2
  store ptr %96, ptr %102, align 8, !tbaa !28
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %103)
  br i1 %104, label %106, label %105

105:                                              ; preds = %100
  br label %112

106:                                              ; preds = %100
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.22, ptr noundef @.str.18, i32 noundef 353, ptr noundef @__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry, i32 noundef 2, ptr noundef @.str.19) #11
  unreachable

107:                                              ; preds = %99, %95
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %14, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %96, i64 noundef 32) #10
  br label %154

111:                                              ; No predecessors!
  br label %112

112:                                              ; preds = %111, %105
  %113 = load ptr, ptr %16, align 8, !tbaa !5
  %114 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %113)
  %115 = icmp ule i64 %114, 1
  br i1 %115, label %116, label %117

116:                                              ; preds = %112
  br label %119

117:                                              ; preds = %112
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.23, ptr noundef @.str.18, i32 noundef 354, ptr noundef @__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry, i32 noundef 2, ptr noundef @.str.19) #11
  unreachable

118:                                              ; No predecessors!
  br label %119

119:                                              ; preds = %118, %116
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %120)
  %122 = icmp eq i64 %121, 1
  br i1 %122, label %123, label %130

123:                                              ; preds = %119
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.MethodItemEntry, ptr %124, i32 0, i32 2
  %126 = load ptr, ptr %125, align 8, !tbaa !28
  %127 = load ptr, ptr %16, align 8, !tbaa !5
  %128 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %127, i16 noundef zeroext 0)
  %129 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %126, i16 noundef zeroext 0, i32 noundef %128)
  br label %130

130:                                              ; preds = %123, %119
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.MethodItemEntry, ptr %131, i32 0, i32 2
  %133 = load ptr, ptr %132, align 8, !tbaa !28
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = call noundef ptr @_ZNK13IRInstruction8get_dataEv(ptr noundef nonnull align 8 dereferenceable(32) %134)
  call void @_ZNK13DexOpcodeData19clone_as_unique_ptrEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.80") align 8 %17, ptr noundef nonnull align 8 dereferenceable(40) %135)
  %136 = invoke noundef ptr @_ZN13IRInstruction8set_dataESt10unique_ptrI13DexOpcodeDataSt14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %133, ptr noundef %17)
          to label %137 unwind label %138

137:                                              ; preds = %130
  call void @_ZNSt10unique_ptrI13DexOpcodeDataSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %152

138:                                              ; preds = %130
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %14, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %15, align 4
  call void @_ZNSt10unique_ptrI13DexOpcodeDataSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %154

142:                                              ; preds = %89
  %143 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #9
  %144 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_ZN13IRInstructionC1ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %143, ptr noundef nonnull align 8 dereferenceable(32) %144)
          to label %145 unwind label %148

145:                                              ; preds = %142
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.MethodItemEntry, ptr %146, i32 0, i32 2
  store ptr %143, ptr %147, align 8, !tbaa !28
  br label %152

148:                                              ; preds = %142
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %14, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %143, i64 noundef 32) #10
  br label %154

152:                                              ; preds = %145, %137
  %153 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %153, ptr %3, align 8
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %198

154:                                              ; preds = %148, %138, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %199

155:                                              ; preds = %41
  %156 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #9
  %157 = load ptr, ptr %13, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.MethodItemEntry, ptr %157, i32 0, i32 2
  %159 = load ptr, ptr %158, align 8, !tbaa !28
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %156, ptr align 8 %159, i64 16, i1 false), !tbaa.struct !37
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.MethodItemEntry, ptr %160, i32 0, i32 2
  store ptr %156, ptr %161, align 8, !tbaa !28
  %162 = load ptr, ptr %13, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.MethodItemEntry, ptr %162, i32 0, i32 2
  %164 = load ptr, ptr %163, align 8, !tbaa !28
  %165 = getelementptr inbounds %struct.BranchTarget, ptr %164, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8, !tbaa !42
  %167 = call noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %20, ptr noundef %166)
  %168 = load ptr, ptr %13, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.MethodItemEntry, ptr %168, i32 0, i32 2
  %170 = load ptr, ptr %169, align 8, !tbaa !28
  %171 = getelementptr inbounds %struct.BranchTarget, ptr %170, i32 0, i32 0
  store ptr %167, ptr %171, align 8, !tbaa !42
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %172, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

173:                                              ; preds = %41
  %174 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %174, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

175:                                              ; preds = %41
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.MethodItemEntry, ptr %176, i32 0, i32 2
  %178 = call noundef ptr @_ZNKSt10unique_ptrI11DexPositionSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %177) #8
  %179 = getelementptr inbounds %class.MethodItemEntryCloner, ptr %20, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.MethodItemEntry, ptr %180, i32 0, i32 2
  %182 = call noundef ptr @_ZNKSt10unique_ptrI11DexPositionSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %181) #8
  store ptr %182, ptr %18, align 8, !tbaa !5
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIP11DexPositionS1_St4hashIS1_ESt8equal_toIS1_EEixEOS1_(ptr noundef nonnull align 8 dereferenceable(56) %179, ptr noundef nonnull align 8 dereferenceable(8) %18)
  store ptr %178, ptr %183, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  %184 = getelementptr inbounds %class.MethodItemEntryCloner, ptr %20, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %185 = load ptr, ptr %13, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.MethodItemEntry, ptr %185, i32 0, i32 2
  %187 = call noundef ptr @_ZNKSt10unique_ptrI11DexPositionSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %186) #8
  store ptr %187, ptr %19, align 8, !tbaa !5
  call void @_ZNSt6vectorIP11DexPositionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %184, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %188 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %188, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

189:                                              ; preds = %41
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %190, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

191:                                              ; preds = %41
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %192, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

193:                                              ; preds = %41
  br label %194

194:                                              ; preds = %195, %193
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.20, ptr noundef @.str.18, i32 noundef 379, ptr noundef @__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry, i32 noundef 2, ptr noundef @.str.24) #11
  unreachable

195:                                              ; No predecessors!
  br i1 true, label %194, label %196, !llvm.loop !44

196:                                              ; preds = %195
  br label %197

197:                                              ; preds = %196, %41
  unreachable

198:                                              ; preds = %191, %189, %175, %173, %155, %152, %71, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %200

199:                                              ; preds = %154, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %202

200:                                              ; preds = %198, %33
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %201 = load ptr, ptr %3, align 8
  ret ptr %201

202:                                              ; preds = %199
  %203 = load ptr, ptr %14, align 8
  %204 = load i32, ptr %15, align 4
  %205 = insertvalue { ptr, i32 } poison, ptr %203, 0
  %206 = insertvalue { ptr, i32 } %205, i32 %204, 1
  resume { ptr, i32 } %206
}

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

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

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

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

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

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

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 noundef ptr @_ZN13IRInstruction8set_dataESt10unique_ptrI13DexOpcodeDataSt14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13DexOpcodeData19clone_as_unique_ptrEv(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.80") align 8, ptr noundef nonnull align 8 dereferenceable(40)) #6 align 2

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

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

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

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

declare void @_ZN15MethodItemEntryC1ERKS_(ptr, ptr)

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"std::nullptr_t", !7, i64 0}
!11 = !{!12, !16, i64 8}
!12 = !{!"_ZTSSt4pairIN12UnorderedMapIPK15MethodItemEntryPS1_St4hashIS3_ESt8equal_toIS3_EE13FixedIteratorEbE", !13, i64 0, !16, i64 8}
!13 = !{!"_ZTSN12UnorderedMapIPK15MethodItemEntryPS0_St4hashIS2_ESt8equal_toIS2_EE13FixedIteratorE", !14, i64 0}
!14 = !{!"_ZTSNSt8__detail14_Node_iteratorISt4pairIKPK15MethodItemEntryPS2_ELb0ELb0EEE", !15, i64 0}
!15 = !{!"_ZTSNSt8__detail19_Node_iterator_baseISt4pairIKPK15MethodItemEntryPS2_ELb0EEE", !6, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!16, !16, i64 0}
!20 = !{!21, !6, i64 8}
!21 = !{!"_ZTSSt4pairIKPK15MethodItemEntryPS0_E", !6, i64 0, !6, i64 8}
!22 = !{!23, !27, i64 16}
!23 = !{!"_ZTS15MethodItemEntry", !24, i64 0, !27, i64 16, !7, i64 24}
!24 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !25, i64 0}
!25 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !26, i64 0}
!26 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!27 = !{!"_ZTS14MethodItemType", !7, i64 0}
!28 = !{!7, !7, i64 0}
!29 = !{i64 0, i64 4, !30, i64 8, i64 8, !5}
!30 = !{!31, !31, i64 0}
!31 = !{!"_ZTS12TryEntryType", !7, i64 0}
!32 = !{!33, !6, i64 8}
!33 = !{!"_ZTS8TryEntry", !31, i64 0, !6, i64 8}
!34 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!35 = !{!36, !6, i64 8}
!36 = !{!"_ZTS10CatchEntry", !6, i64 0, !6, i64 8}
!37 = !{i64 0, i64 8, !5, i64 8, i64 4, !38, i64 12, i64 4, !40}
!38 = !{!39, !39, i64 0}
!39 = !{!"_ZTS16BranchTargetType", !7, i64 0}
!40 = !{!41, !41, i64 0}
!41 = !{!"int", !7, i64 0}
!42 = !{!43, !6, i64 0}
!43 = !{!"_ZTS12BranchTarget", !6, i64 0, !39, i64 8, !41, i64 12}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}


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

%"struct.std::pair" = type <{ %"class.UnorderedMap<const MethodItemEntry *, MethodItemEntry *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedMap<const MethodItemEntry *, MethodItemEntry *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator" }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.std::unique_ptr.80" = type { %"struct.std::__uniq_ptr_data.81" }
%"struct.std::__uniq_ptr_data.81" = type { %"class.std::__uniq_ptr_impl.82" }
%"class.std::__uniq_ptr_impl.82" = type { %"class.std::tuple.83" }
%"class.std::tuple.83" = type { %"struct.std::_Tuple_impl.84" }
%"struct.std::_Tuple_impl.84" = type { %"struct.std::_Head_base.87" }
%"struct.std::_Head_base.87" = type { ptr }

@.str.18 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry = external hidden unnamed_addr constant [71 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [34 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

; 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 zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::unique_ptr.80", align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  store ptr null, ptr %5, align 8, !tbaa !9
  %9 = call { ptr, i8 } @_ZN12UnorderedMapIPK15MethodItemEntryPS0_St4hashIS2_ESt8equal_toIS2_EE7emplaceIJRS2_DnEEESt4pairINS8_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %.fca.0.extract = extractvalue { ptr, i8 } %9, 0
  %.fca.1.extract = extractvalue { ptr, i8 } %9, 1
  store ptr %.fca.0.extract, ptr %4, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store i8 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  %10 = trunc nuw i8 %.fca.1.extract to i1
  br i1 %10, label %15, label %11

11:                                               ; preds = %2
  %12 = call noundef ptr @_ZNK12UnorderedMapIPK15MethodItemEntryPS0_St4hashIS2_ESt8equal_toIS2_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %13 = getelementptr inbounds i8, ptr %12, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  br label %97

15:                                               ; preds = %2
  %16 = call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #9
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN15MethodItemEntryC1ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %18 unwind label %23

18:                                               ; preds = %15
  %19 = call noundef ptr @_ZNK12UnorderedMapIPK15MethodItemEntryPS0_St4hashIS2_ESt8equal_toIS2_EE13FixedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %20 = getelementptr inbounds i8, ptr %19, i64 8
  store ptr %16, ptr %20, align 8, !tbaa !11
  %21 = getelementptr inbounds i8, ptr %16, i64 16
  %22 = load i32, ptr %21, align 8, !tbaa !13
  switch i32 %22, label %95 [
    i32 0, label %25
    i32 1, label %34
    i32 2, label %43
    i32 4, label %77
    i32 5, label %97
    i32 6, label %84
    i32 8, label %97
    i32 7, label %97
    i32 3, label %94
  ]

23:                                               ; preds = %15
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %16, i64 noundef 32) #10
  br label %96

25:                                               ; preds = %18
  %26 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  %27 = getelementptr inbounds i8, ptr %16, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %28, i64 16, i1 false), !tbaa.struct !20
  store ptr %26, ptr %27, align 8, !tbaa !19
  %29 = getelementptr inbounds i8, ptr %26, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !23
  %31 = call noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %30)
  %32 = load ptr, ptr %27, align 8, !tbaa !19
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr %31, ptr %33, align 8, !tbaa !23
  br label %97

34:                                               ; preds = %18
  %35 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  %36 = getelementptr inbounds i8, ptr %16, i64 24
  %37 = load ptr, ptr %36, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %35, ptr noundef nonnull align 8 dereferenceable(16) %37, i64 16, i1 false), !tbaa.struct !25
  store ptr %35, ptr %36, align 8, !tbaa !19
  %38 = getelementptr inbounds i8, ptr %35, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !26
  %40 = call noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %39)
  %41 = load ptr, ptr %36, align 8, !tbaa !19
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  store ptr %40, ptr %42, align 8, !tbaa !26
  br label %97

43:                                               ; preds = %18
  %44 = getelementptr inbounds i8, ptr %16, i64 24
  %45 = load ptr, ptr %44, align 8, !tbaa !19
  %46 = call noundef zeroext i1 @_ZNK13IRInstruction8has_dataEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  %47 = call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #9
  br i1 %46, label %48, label %73

48:                                               ; preds = %43
  %49 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  invoke void @_ZN13IRInstructionC1E8IROpcode(ptr noundef nonnull align 8 dereferenceable(32) %47, i16 noundef zeroext %49)
          to label %50 unwind label %53

50:                                               ; preds = %48
  store ptr %47, ptr %44, align 8, !tbaa !19
  %51 = call noundef zeroext i1 @_ZNK13IRInstruction8has_destEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  br i1 %51, label %52, label %55

52:                                               ; preds = %50
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.18, i32 noundef 353, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry, i32 noundef 2, ptr noundef nonnull @.str.19) #11
  unreachable

53:                                               ; preds = %48
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %47, i64 noundef 32) #10
  br label %96

55:                                               ; preds = %50
  %56 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  %57 = icmp ult i64 %56, 2
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.18, i32 noundef 354, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry, i32 noundef 2, ptr noundef nonnull @.str.19) #11
  unreachable

59:                                               ; preds = %55
  %60 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  %61 = icmp eq i64 %60, 1
  br i1 %61, label %62, label %66

62:                                               ; preds = %59
  %63 = load ptr, ptr %44, align 8, !tbaa !19
  %64 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %45, i16 noundef zeroext 0)
  %65 = call noundef ptr @_ZN13IRInstruction7set_srcEtj(ptr noundef nonnull align 8 dereferenceable(32) %63, i16 noundef zeroext 0, i32 noundef %64)
  br label %66

66:                                               ; preds = %62, %59
  %67 = load ptr, ptr %44, align 8, !tbaa !19
  %68 = call noundef ptr @_ZNK13IRInstruction8get_dataEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
  call void @_ZNK13DexOpcodeData19clone_as_unique_ptrEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.80") align 8 %6, ptr noundef nonnull align 8 dereferenceable(40) %68)
  %69 = invoke noundef ptr @_ZN13IRInstruction8set_dataESt10unique_ptrI13DexOpcodeDataSt14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull %6)
          to label %70 unwind label %71

70:                                               ; preds = %66
  call void @_ZNSt10unique_ptrI13DexOpcodeDataSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br label %97

71:                                               ; preds = %66
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrI13DexOpcodeDataSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br label %96

73:                                               ; preds = %43
  invoke void @_ZN13IRInstructionC1ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %74 unwind label %75

74:                                               ; preds = %73
  store ptr %47, ptr %44, align 8, !tbaa !19
  br label %97

75:                                               ; preds = %73
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %47, i64 noundef 32) #10
  br label %96

77:                                               ; preds = %18
  %78 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  %79 = getelementptr inbounds i8, ptr %16, i64 24
  %80 = load ptr, ptr %79, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %78, ptr noundef nonnull align 8 dereferenceable(16) %80, i64 16, i1 false), !tbaa.struct !28
  store ptr %78, ptr %79, align 8, !tbaa !19
  %81 = load ptr, ptr %78, align 8, !tbaa !33
  %82 = call noundef ptr @_ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %81)
  %83 = load ptr, ptr %79, align 8, !tbaa !19
  store ptr %82, ptr %83, align 8, !tbaa !33
  br label %97

84:                                               ; preds = %18
  %85 = getelementptr inbounds i8, ptr %16, i64 24
  %86 = call noundef ptr @_ZNKSt10unique_ptrI11DexPositionSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %85) #8
  %87 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds i8, ptr %88, i64 24
  %90 = call noundef ptr @_ZNKSt10unique_ptrI11DexPositionSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %89) #8
  store ptr %90, ptr %7, align 8, !tbaa !5
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN12UnorderedMapIP11DexPositionS1_St4hashIS1_ESt8equal_toIS1_EEixEOS1_(ptr noundef nonnull align 8 dereferenceable(56) %87, ptr noundef nonnull align 8 dereferenceable(8) %7)
  store ptr %86, ptr %91, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %92 = getelementptr inbounds i8, ptr %0, i64 112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %93 = call noundef ptr @_ZNKSt10unique_ptrI11DexPositionSt14default_deleteIS0_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %85) #8
  store ptr %93, ptr %8, align 8, !tbaa !5
  call void @_ZNSt6vectorIP11DexPositionSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %97

94:                                               ; preds = %18
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.18, i32 noundef 379, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21MethodItemEntryCloner5cloneEPK15MethodItemEntry, i32 noundef 2, ptr noundef nonnull @.str.24) #11
  unreachable

95:                                               ; preds = %18
  unreachable

96:                                               ; preds = %53, %71, %75, %23
  %.pn.pn = phi { ptr, i32 } [ %24, %23 ], [ %72, %71 ], [ %54, %53 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn.pn

97:                                               ; preds = %25, %34, %77, %84, %74, %70, %18, %18, %18, %11
  %.1 = phi ptr [ %14, %11 ], [ %16, %18 ], [ %16, %18 ], [ %16, %18 ], [ %16, %70 ], [ %16, %74 ], [ %16, %84 ], [ %16, %77 ], [ %16, %34 ], [ %16, %25 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  ret ptr %.1
}

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

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

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

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

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

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

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 noundef ptr @_ZN13IRInstruction8set_dataESt10unique_ptrI13DexOpcodeDataSt14default_deleteIS1_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13DexOpcodeData19clone_as_unique_ptrEv(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.80") align 8, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #6 align 2

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

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

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

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

declare void @_ZN15MethodItemEntryC1ERKS_(ptr, ptr) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"std::nullptr_t", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTSSt4pairIKPK15MethodItemEntryPS0_E", !6, i64 0, !6, i64 8}
!13 = !{!14, !18, i64 16}
!14 = !{!"_ZTS15MethodItemEntry", !15, i64 0, !18, i64 16, !7, i64 24}
!15 = !{!"_ZTSN5boost9intrusive16list_member_hookIJEEE", !16, i64 0}
!16 = !{!"_ZTSN5boost9intrusive12generic_hookILNS0_10algo_typesE0ENS0_16list_node_traitsIPvEENS0_10member_tagELNS0_14link_mode_typeE1ELNS0_14base_hook_typeE0EEE", !17, i64 0}
!17 = !{!"_ZTSN5boost9intrusive9list_nodeIPvEE", !6, i64 0, !6, i64 8}
!18 = !{!"_ZTS14MethodItemType", !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{i64 0, i64 4, !21, i64 8, i64 8, !5}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS12TryEntryType", !7, i64 0}
!23 = !{!24, !6, i64 8}
!24 = !{!"_ZTS8TryEntry", !22, i64 0, !6, i64 8}
!25 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}
!26 = !{!27, !6, i64 8}
!27 = !{!"_ZTS10CatchEntry", !6, i64 0, !6, i64 8}
!28 = !{i64 0, i64 8, !5, i64 8, i64 4, !29, i64 12, i64 4, !31}
!29 = !{!30, !30, i64 0}
!30 = !{!"_ZTS16BranchTargetType", !7, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"int", !7, i64 0}
!33 = !{!34, !6, i64 0}
!34 = !{!"_ZTS12BranchTarget", !6, i64 0, !30, i64 8, !32, i64 12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass